ingred-ui 27.4.1 → 27.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -753,7 +753,7 @@ var _n=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
753
753
  animation: ${ws} 1.5s ease-in-out infinite;
754
754
  stroke-linecap: round;
755
755
  stroke-miterlimit: 10;
756
- `,Ms=e.forwardRef((function({width:t="50px"},n){const r=j();return e.createElement(Cs,{ref:n,width:t},e.createElement(Es,{viewBox:"25 25 50 50"},e.createElement(Is,{cx:"50",cy:"50",r:"20",stroke:r.palette.neutral.softLight}),e.createElement(ks,{cx:"50",cy:"50",r:"20",stroke:r.palette.primary.base})))})),As={small:"28px",medium:"32px",large:"40px"},Ls={small:`${le.xs}px`,medium:`${le.sm}px`,large:`${le.md}px`},$s={small:"4px",medium:"6px",large:"6px"},Ds={small:"6px",medium:"8px",large:"10px"},Ss=e.forwardRef((function(t,n){var{component:r,children:i,color:o="primary",textColor:a,inline:l=!0,size:s="medium",icon:c,loading:d}=t,u=$(t,["component","children","color","textColor","inline","size","icon","loading"]);const p=(e=>({primary:{normal:{background:e.palette.primary.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowPrimary"],border:`1px solid ${e.palette.primary.dark}`},hover:{background:e.palette.primary.dark,border:"none"},active:{background:e.palette.primary.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},secondaryLight:{normal:{background:e.palette.background.default,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.highlight,border:`1px solid ${e.palette.divider}`},active:{background:e.palette.neutral.highlight,boxShadow:e.shadow["3dShadowActive"],border:`1px solid ${e.palette.divider}`}},secondaryDark:{normal:{background:e.palette.neutral.highlight,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.softLight,boxShadow:e.shadow["3dShadowBasicActive"],border:"none"}},danger:{normal:{background:e.palette.danger.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowDanger"],border:`1px solid ${e.palette.danger.dark}`},hover:{background:e.palette.danger.dark,border:"none"},active:{background:e.palette.danger.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},clear:{normal:{background:"none",color:e.palette.black,boxShadow:"none",border:"none"},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.lighter,boxShadow:"none",border:"none"}},primarySubtle:{normal:{background:e.palette.primary.ultraLight,color:e.palette.primary.dark,boxShadow:e.shadow["3dShadowPrimarySubtle"],border:`1px solid ${e.palette.primary.softLight}`},hover:{background:e.palette.primary.highlight,border:"none"},active:{background:e.palette.primary.highlight,boxShadow:e.shadow["3dShadowPrimarySubtleActive"],border:"none"}}}))(j())[o],m=!!d,h="string"==typeof d?d:d?"Loading...":void 0,g=e.useMemo((()=>({small:"16px",medium:"18px",large:"20px"}[s])),[s]),f=e.useMemo((()=>m?e.createElement(Ms,{width:g}):null),[m,g]),b=!!c,v=!!i,x=m?b?f:void 0:c,y=m?!b&&v||b&&v?h:void 0:i,w=(()=>{if("string"==typeof u.href){const{href:e,target:t,rel:n}=u;return{as:r||"a",href:e,target:t,rel:n}}return{}})();return e.createElement(bs,Object.assign({ref:n},u,{as:r||"button"},w,{size:s,inline:l,paddingInline:Ds[s],normal:p.normal,hover:p.hover,active:p.active,borderRadius:$s[s],fontSize:Ls[s],height:As[s],color:o,disabled:u.disabled||m}),x,x&&y&&e.createElement(xs,{pr:.5}),y&&e.createElement(fs,{$textColor:a},y))})),Os={1955:"国民の祝日・休日月日,国民の祝日・休日名称\n1955/1/1,元日\n1955/1/15,成人の日\n1955/3/21,春分の日\n1955/4/29,天皇誕生日\n1955/5/3,憲法記念日\n1955/5/5,こどもの日\n1955/9/24,秋分の日\n1955/11/3,文化の日\n1955/11/23,勤労感謝の日",1956:"国民の祝日・休日月日,国民の祝日・休日名称\n1956/1/1,元日\n1956/1/15,成人の日\n1956/3/21,春分の日\n1956/4/29,天皇誕生日\n1956/5/3,憲法記念日\n1956/5/5,こどもの日\n1956/9/23,秋分の日\n1956/11/3,文化の日\n1956/11/23,勤労感謝の日",1957:"国民の祝日・休日月日,国民の祝日・休日名称\n1957/1/1,元日\n1957/1/15,成人の日\n1957/3/21,春分の日\n1957/4/29,天皇誕生日\n1957/5/3,憲法記念日\n1957/5/5,こどもの日\n1957/9/23,秋分の日\n1957/11/3,文化の日\n1957/11/23,勤労感謝の日",1958:"国民の祝日・休日月日,国民の祝日・休日名称\n1958/1/1,元日\n1958/1/15,成人の日\n1958/3/21,春分の日\n1958/4/29,天皇誕生日\n1958/5/3,憲法記念日\n1958/5/5,こどもの日\n1958/9/23,秋分の日\n1958/11/3,文化の日\n1958/11/23,勤労感謝の日",1959:"国民の祝日・休日月日,国民の祝日・休日名称\n1959/1/1,元日\n1959/1/15,成人の日\n1959/3/21,春分の日\n1959/4/10,結婚の儀\n1959/4/29,天皇誕生日\n1959/5/3,憲法記念日\n1959/5/5,こどもの日\n1959/9/24,秋分の日\n1959/11/3,文化の日\n1959/11/23,勤労感謝の日",1960:"国民の祝日・休日月日,国民の祝日・休日名称\n1960/1/1,元日\n1960/1/15,成人の日\n1960/3/20,春分の日\n1960/4/29,天皇誕生日\n1960/5/3,憲法記念日\n1960/5/5,こどもの日\n1960/9/23,秋分の日\n1960/11/3,文化の日\n1960/11/23,勤労感謝の日",1961:"国民の祝日・休日月日,国民の祝日・休日名称\n1961/1/1,元日\n1961/1/15,成人の日\n1961/3/21,春分の日\n1961/4/29,天皇誕生日\n1961/5/3,憲法記念日\n1961/5/5,こどもの日\n1961/9/23,秋分の日\n1961/11/3,文化の日\n1961/11/23,勤労感謝の日",1962:"国民の祝日・休日月日,国民の祝日・休日名称\n1962/1/1,元日\n1962/1/15,成人の日\n1962/3/21,春分の日\n1962/4/29,天皇誕生日\n1962/5/3,憲法記念日\n1962/5/5,こどもの日\n1962/9/23,秋分の日\n1962/11/3,文化の日\n1962/11/23,勤労感謝の日",1963:"国民の祝日・休日月日,国民の祝日・休日名称\n1963/1/1,元日\n1963/1/15,成人の日\n1963/3/21,春分の日\n1963/4/29,天皇誕生日\n1963/5/3,憲法記念日\n1963/5/5,こどもの日\n1963/9/24,秋分の日\n1963/11/3,文化の日\n1963/11/23,勤労感謝の日",1964:"国民の祝日・休日月日,国民の祝日・休日名称\n1964/1/1,元日\n1964/1/15,成人の日\n1964/3/20,春分の日\n1964/4/29,天皇誕生日\n1964/5/3,憲法記念日\n1964/5/5,こどもの日\n1964/9/23,秋分の日\n1964/11/3,文化の日\n1964/11/23,勤労感謝の日",1965:"国民の祝日・休日月日,国民の祝日・休日名称\n1965/1/1,元日\n1965/1/15,成人の日\n1965/3/21,春分の日\n1965/4/29,天皇誕生日\n1965/5/3,憲法記念日\n1965/5/5,こどもの日\n1965/9/23,秋分の日\n1965/11/3,文化の日\n1965/11/23,勤労感謝の日",1966:"国民の祝日・休日月日,国民の祝日・休日名称\n1966/1/1,元日\n1966/1/15,成人の日\n1966/3/21,春分の日\n1966/4/29,天皇誕生日\n1966/5/3,憲法記念日\n1966/5/5,こどもの日\n1966/9/15,敬老の日\n1966/9/23,秋分の日\n1966/10/10,体育の日\n1966/11/3,文化の日\n1966/11/23,勤労感謝の日",1967:"国民の祝日・休日月日,国民の祝日・休日名称\n1967/1/1,元日\n1967/1/15,成人の日\n1967/2/11,建国記念の日\n1967/3/21,春分の日\n1967/4/29,天皇誕生日\n1967/5/3,憲法記念日\n1967/5/5,こどもの日\n1967/9/15,敬老の日\n1967/9/24,秋分の日\n1967/10/10,体育の日\n1967/11/3,文化の日\n1967/11/23,勤労感謝の日",1968:"国民の祝日・休日月日,国民の祝日・休日名称\n1968/1/1,元日\n1968/1/15,成人の日\n1968/2/11,建国記念の日\n1968/3/20,春分の日\n1968/4/29,天皇誕生日\n1968/5/3,憲法記念日\n1968/5/5,こどもの日\n1968/9/15,敬老の日\n1968/9/23,秋分の日\n1968/10/10,体育の日\n1968/11/3,文化の日\n1968/11/23,勤労感謝の日",1969:"国民の祝日・休日月日,国民の祝日・休日名称\n1969/1/1,元日\n1969/1/15,成人の日\n1969/2/11,建国記念の日\n1969/3/21,春分の日\n1969/4/29,天皇誕生日\n1969/5/3,憲法記念日\n1969/5/5,こどもの日\n1969/9/15,敬老の日\n1969/9/23,秋分の日\n1969/10/10,体育の日\n1969/11/3,文化の日\n1969/11/23,勤労感謝の日",1970:"国民の祝日・休日月日,国民の祝日・休日名称\n1970/1/1,元日\n1970/1/15,成人の日\n1970/2/11,建国記念の日\n1970/3/21,春分の日\n1970/4/29,天皇誕生日\n1970/5/3,憲法記念日\n1970/5/5,こどもの日\n1970/9/15,敬老の日\n1970/9/23,秋分の日\n1970/10/10,体育の日\n1970/11/3,文化の日\n1970/11/23,勤労感謝の日",1971:"国民の祝日・休日月日,国民の祝日・休日名称\n1971/1/1,元日\n1971/1/15,成人の日\n1971/2/11,建国記念の日\n1971/3/21,春分の日\n1971/4/29,天皇誕生日\n1971/5/3,憲法記念日\n1971/5/5,こどもの日\n1971/9/15,敬老の日\n1971/9/24,秋分の日\n1971/10/10,体育の日\n1971/11/3,文化の日\n1971/11/23,勤労感謝の日",1972:"国民の祝日・休日月日,国民の祝日・休日名称\n1972/1/1,元日\n1972/1/15,成人の日\n1972/2/11,建国記念の日\n1972/3/20,春分の日\n1972/4/29,天皇誕生日\n1972/5/3,憲法記念日\n1972/5/5,こどもの日\n1972/9/15,敬老の日\n1972/9/23,秋分の日\n1972/10/10,体育の日\n1972/11/3,文化の日\n1972/11/23,勤労感謝の日",1973:"国民の祝日・休日月日,国民の祝日・休日名称\n1973/1/1,元日\n1973/1/15,成人の日\n1973/2/11,建国記念の日\n1973/3/21,春分の日\n1973/4/29,天皇誕生日\n1973/4/30,休日\n1973/5/3,憲法記念日\n1973/5/5,こどもの日\n1973/9/15,敬老の日\n1973/9/23,秋分の日\n1973/9/24,休日\n1973/10/10,体育の日\n1973/11/3,文化の日\n1973/11/23,勤労感謝の日",1974:"国民の祝日・休日月日,国民の祝日・休日名称\n1974/1/1,元日\n1974/1/15,成人の日\n1974/2/11,建国記念の日\n1974/3/21,春分の日\n1974/4/29,天皇誕生日\n1974/5/3,憲法記念日\n1974/5/5,こどもの日\n1974/5/6,休日\n1974/9/15,敬老の日\n1974/9/16,休日\n1974/9/23,秋分の日\n1974/10/10,体育の日\n1974/11/3,文化の日\n1974/11/4,休日\n1974/11/23,勤労感謝の日",1975:"国民の祝日・休日月日,国民の祝日・休日名称\n1975/1/1,元日\n1975/1/15,成人の日\n1975/2/11,建国記念の日\n1975/3/21,春分の日\n1975/4/29,天皇誕生日\n1975/5/3,憲法記念日\n1975/5/5,こどもの日\n1975/9/15,敬老の日\n1975/9/24,秋分の日\n1975/10/10,体育の日\n1975/11/3,文化の日\n1975/11/23,勤労感謝の日\n1975/11/24,休日",1976:"国民の祝日・休日月日,国民の祝日・休日名称\n1976/1/1,元日\n1976/1/15,成人の日\n1976/2/11,建国記念の日\n1976/3/20,春分の日\n1976/4/29,天皇誕生日\n1976/5/3,憲法記念日\n1976/5/5,こどもの日\n1976/9/15,敬老の日\n1976/9/23,秋分の日\n1976/10/10,体育の日\n1976/10/11,休日\n1976/11/3,文化の日\n1976/11/23,勤労感謝の日",1977:"国民の祝日・休日月日,国民の祝日・休日名称\n1977/1/1,元日\n1977/1/15,成人の日\n1977/2/11,建国記念の日\n1977/3/21,春分の日\n1977/4/29,天皇誕生日\n1977/5/3,憲法記念日\n1977/5/5,こどもの日\n1977/9/15,敬老の日\n1977/9/23,秋分の日\n1977/10/10,体育の日\n1977/11/3,文化の日\n1977/11/23,勤労感謝の日",1978:"国民の祝日・休日月日,国民の祝日・休日名称\n1978/1/1,元日\n1978/1/2,休日\n1978/1/15,成人の日\n1978/1/16,休日\n1978/2/11,建国記念の日\n1978/3/21,春分の日\n1978/4/29,天皇誕生日\n1978/5/3,憲法記念日\n1978/5/5,こどもの日\n1978/9/15,敬老の日\n1978/9/23,秋分の日\n1978/10/10,体育の日\n1978/11/3,文化の日\n1978/11/23,勤労感謝の日",1979:"国民の祝日・休日月日,国民の祝日・休日名称\n1979/1/1,元日\n1979/1/15,成人の日\n1979/2/11,建国記念の日\n1979/2/12,休日\n1979/3/21,春分の日\n1979/4/29,天皇誕生日\n1979/4/30,休日\n1979/5/3,憲法記念日\n1979/5/5,こどもの日\n1979/9/15,敬老の日\n1979/9/24,秋分の日\n1979/10/10,体育の日\n1979/11/3,文化の日\n1979/11/23,勤労感謝の日",1980:"国民の祝日・休日月日,国民の祝日・休日名称\n1980/1/1,元日\n1980/1/15,成人の日\n1980/2/11,建国記念の日\n1980/3/20,春分の日\n1980/4/29,天皇誕生日\n1980/5/3,憲法記念日\n1980/5/5,こどもの日\n1980/9/15,敬老の日\n1980/9/23,秋分の日\n1980/10/10,体育の日\n1980/11/3,文化の日\n1980/11/23,勤労感謝の日\n1980/11/24,休日",1981:"国民の祝日・休日月日,国民の祝日・休日名称\n1981/1/1,元日\n1981/1/15,成人の日\n1981/2/11,建国記念の日\n1981/3/21,春分の日\n1981/4/29,天皇誕生日\n1981/5/3,憲法記念日\n1981/5/4,休日\n1981/5/5,こどもの日\n1981/9/15,敬老の日\n1981/9/23,秋分の日\n1981/10/10,体育の日\n1981/11/3,文化の日\n1981/11/23,勤労感謝の日",1982:"国民の祝日・休日月日,国民の祝日・休日名称\n1982/1/1,元日\n1982/1/15,成人の日\n1982/2/11,建国記念の日\n1982/3/21,春分の日\n1982/3/22,休日\n1982/4/29,天皇誕生日\n1982/5/3,憲法記念日\n1982/5/5,こどもの日\n1982/9/15,敬老の日\n1982/9/23,秋分の日\n1982/10/10,体育の日\n1982/10/11,休日\n1982/11/3,文化の日\n1982/11/23,勤労感謝の日",1983:"国民の祝日・休日月日,国民の祝日・休日名称\n1983/1/1,元日\n1983/1/15,成人の日\n1983/2/11,建国記念の日\n1983/3/21,春分の日\n1983/4/29,天皇誕生日\n1983/5/3,憲法記念日\n1983/5/5,こどもの日\n1983/9/15,敬老の日\n1983/9/23,秋分の日\n1983/10/10,体育の日\n1983/11/3,文化の日\n1983/11/23,勤労感謝の日",1984:"国民の祝日・休日月日,国民の祝日・休日名称\n1984/1/1,元日\n1984/1/2,休日\n1984/1/15,成人の日\n1984/1/16,休日\n1984/2/11,建国記念の日\n1984/3/20,春分の日\n1984/4/29,天皇誕生日\n1984/4/30,休日\n1984/5/3,憲法記念日\n1984/5/5,こどもの日\n1984/9/15,敬老の日\n1984/9/23,秋分の日\n1984/9/24,休日\n1984/10/10,体育の日\n1984/11/3,文化の日\n1984/11/23,勤労感謝の日",1985:"国民の祝日・休日月日,国民の祝日・休日名称\n1985/1/1,元日\n1985/1/15,成人の日\n1985/2/11,建国記念の日\n1985/3/21,春分の日\n1985/4/29,天皇誕生日\n1985/5/3,憲法記念日\n1985/5/5,こどもの日\n1985/5/6,休日\n1985/9/15,敬老の日\n1985/9/16,休日\n1985/9/23,秋分の日\n1985/10/10,体育の日\n1985/11/3,文化の日\n1985/11/4,休日\n1985/11/23,勤労感謝の日",1986:"国民の祝日・休日月日,国民の祝日・休日名称\n1986/1/1,元日\n1986/1/15,成人の日\n1986/2/11,建国記念の日\n1986/3/21,春分の日\n1986/4/29,天皇誕生日\n1986/5/3,憲法記念日\n1986/5/5,こどもの日\n1986/9/15,敬老の日\n1986/9/23,秋分の日\n1986/10/10,体育の日\n1986/11/3,文化の日\n1986/11/23,勤労感謝の日\n1986/11/24,休日",1987:"国民の祝日・休日月日,国民の祝日・休日名称\n1987/1/1,元日\n1987/1/15,成人の日\n1987/2/11,建国記念の日\n1987/3/21,春分の日\n1987/4/29,天皇誕生日\n1987/5/3,憲法記念日\n1987/5/4,休日\n1987/5/5,こどもの日\n1987/9/15,敬老の日\n1987/9/23,秋分の日\n1987/10/10,体育の日\n1987/11/3,文化の日\n1987/11/23,勤労感謝の日",1988:"国民の祝日・休日月日,国民の祝日・休日名称\n1988/1/1,元日\n1988/1/15,成人の日\n1988/2/11,建国記念の日\n1988/3/20,春分の日\n1988/3/21,休日\n1988/4/29,天皇誕生日\n1988/5/3,憲法記念日\n1988/5/4,休日\n1988/5/5,こどもの日\n1988/9/15,敬老の日\n1988/9/23,秋分の日\n1988/10/10,体育の日\n1988/11/3,文化の日\n1988/11/23,勤労感謝の日",1989:"国民の祝日・休日月日,国民の祝日・休日名称\n1989/1/1,元日\n1989/1/2,休日\n1989/1/15,成人の日\n1989/1/16,休日\n1989/2/11,建国記念の日\n1989/2/24,大喪の礼\n1989/3/21,春分の日\n1989/4/29,みどりの日\n1989/5/3,憲法記念日\n1989/5/4,休日\n1989/5/5,こどもの日\n1989/9/15,敬老の日\n1989/9/23,秋分の日\n1989/10/10,体育の日\n1989/11/3,文化の日\n1989/11/23,勤労感謝の日\n1989/12/23,天皇誕生日",1990:"国民の祝日・休日月日,国民の祝日・休日名称\n1990/1/1,元日\n1990/1/15,成人の日\n1990/2/11,建国記念の日\n1990/2/12,休日\n1990/3/21,春分の日\n1990/4/29,みどりの日\n1990/4/30,休日\n1990/5/3,憲法記念日\n1990/5/4,休日\n1990/5/5,こどもの日\n1990/9/15,敬老の日\n1990/9/23,秋分の日\n1990/9/24,休日\n1990/10/10,体育の日\n1990/11/3,文化の日\n1990/11/12,即位礼正殿の儀\n1990/11/23,勤労感謝の日\n1990/12/23,天皇誕生日\n1990/12/24,休日",1991:"国民の祝日・休日月日,国民の祝日・休日名称\n1991/1/1,元日\n1991/1/15,成人の日\n1991/2/11,建国記念の日\n1991/3/21,春分の日\n1991/4/29,みどりの日\n1991/5/3,憲法記念日\n1991/5/4,休日\n1991/5/5,こどもの日\n1991/5/6,休日\n1991/9/15,敬老の日\n1991/9/16,休日\n1991/9/23,秋分の日\n1991/10/10,体育の日\n1991/11/3,文化の日\n1991/11/4,休日\n1991/11/23,勤労感謝の日\n1991/12/23,天皇誕生日",1992:"国民の祝日・休日月日,国民の祝日・休日名称\n1992/1/1,元日\n1992/1/15,成人の日\n1992/2/11,建国記念の日\n1992/3/20,春分の日\n1992/4/29,みどりの日\n1992/5/3,憲法記念日\n1992/5/4,休日\n1992/5/5,こどもの日\n1992/9/15,敬老の日\n1992/9/23,秋分の日\n1992/10/10,体育の日\n1992/11/3,文化の日\n1992/11/23,勤労感謝の日\n1992/12/23,天皇誕生日",1993:"国民の祝日・休日月日,国民の祝日・休日名称\n1993/1/1,元日\n1993/1/15,成人の日\n1993/2/11,建国記念の日\n1993/3/20,春分の日\n1993/4/29,みどりの日\n1993/5/3,憲法記念日\n1993/5/4,休日\n1993/5/5,こどもの日\n1993/6/9,結婚の儀\n1993/9/15,敬老の日\n1993/9/23,秋分の日\n1993/10/10,体育の日\n1993/10/11,休日\n1993/11/3,文化の日\n1993/11/23,勤労感謝の日\n1993/12/23,天皇誕生日",1994:"国民の祝日・休日月日,国民の祝日・休日名称\n1994/1/1,元日\n1994/1/15,成人の日\n1994/2/11,建国記念の日\n1994/3/21,春分の日\n1994/4/29,みどりの日\n1994/5/3,憲法記念日\n1994/5/4,休日\n1994/5/5,こどもの日\n1994/9/15,敬老の日\n1994/9/23,秋分の日\n1994/10/10,体育の日\n1994/11/3,文化の日\n1994/11/23,勤労感謝の日\n1994/12/23,天皇誕生日",1995:"国民の祝日・休日月日,国民の祝日・休日名称\n1995/1/1,元日\n1995/1/2,休日\n1995/1/15,成人の日\n1995/1/16,休日\n1995/2/11,建国記念の日\n1995/3/21,春分の日\n1995/4/29,みどりの日\n1995/5/3,憲法記念日\n1995/5/4,休日\n1995/5/5,こどもの日\n1995/9/15,敬老の日\n1995/9/23,秋分の日\n1995/10/10,体育の日\n1995/11/3,文化の日\n1995/11/23,勤労感謝の日\n1995/12/23,天皇誕生日",1996:"国民の祝日・休日月日,国民の祝日・休日名称\n1996/1/1,元日\n1996/1/15,成人の日\n1996/2/11,建国記念の日\n1996/2/12,休日\n1996/3/20,春分の日\n1996/4/29,みどりの日\n1996/5/3,憲法記念日\n1996/5/4,休日\n1996/5/5,こどもの日\n1996/5/6,休日\n1996/7/20,海の日\n1996/9/15,敬老の日\n1996/9/16,休日\n1996/9/23,秋分の日\n1996/10/10,体育の日\n1996/11/3,文化の日\n1996/11/4,休日\n1996/11/23,勤労感謝の日\n1996/12/23,天皇誕生日",1997:"国民の祝日・休日月日,国民の祝日・休日名称\n1997/1/1,元日\n1997/1/15,成人の日\n1997/2/11,建国記念の日\n1997/3/20,春分の日\n1997/4/29,みどりの日\n1997/5/3,憲法記念日\n1997/5/5,こどもの日\n1997/7/20,海の日\n1997/7/21,休日\n1997/9/15,敬老の日\n1997/9/23,秋分の日\n1997/10/10,体育の日\n1997/11/3,文化の日\n1997/11/23,勤労感謝の日\n1997/11/24,休日\n1997/12/23,天皇誕生日",1998:"国民の祝日・休日月日,国民の祝日・休日名称\n1998/1/1,元日\n1998/1/15,成人の日\n1998/2/11,建国記念の日\n1998/3/21,春分の日\n1998/4/29,みどりの日\n1998/5/3,憲法記念日\n1998/5/4,休日\n1998/5/5,こどもの日\n1998/7/20,海の日\n1998/9/15,敬老の日\n1998/9/23,秋分の日\n1998/10/10,体育の日\n1998/11/3,文化の日\n1998/11/23,勤労感謝の日\n1998/12/23,天皇誕生日",1999:"国民の祝日・休日月日,国民の祝日・休日名称\n1999/1/1,元日\n1999/1/15,成人の日\n1999/2/11,建国記念の日\n1999/3/21,春分の日\n1999/3/22,休日\n1999/4/29,みどりの日\n1999/5/3,憲法記念日\n1999/5/4,休日\n1999/5/5,こどもの日\n1999/7/20,海の日\n1999/9/15,敬老の日\n1999/9/23,秋分の日\n1999/10/10,体育の日\n1999/10/11,休日\n1999/11/3,文化の日\n1999/11/23,勤労感謝の日\n1999/12/23,天皇誕生日",2e3:"国民の祝日・休日月日,国民の祝日・休日名称\n2000/1/1,元日\n2000/1/10,成人の日\n2000/2/11,建国記念の日\n2000/3/20,春分の日\n2000/4/29,みどりの日\n2000/5/3,憲法記念日\n2000/5/4,休日\n2000/5/5,こどもの日\n2000/7/20,海の日\n2000/9/15,敬老の日\n2000/9/23,秋分の日\n2000/10/9,体育の日\n2000/11/3,文化の日\n2000/11/23,勤労感謝の日\n2000/12/23,天皇誕生日",2001:"国民の祝日・休日月日,国民の祝日・休日名称\n2001/1/1,元日\n2001/1/8,成人の日\n2001/2/11,建国記念の日\n2001/2/12,休日\n2001/3/20,春分の日\n2001/4/29,みどりの日\n2001/4/30,休日\n2001/5/3,憲法記念日\n2001/5/4,休日\n2001/5/5,こどもの日\n2001/7/20,海の日\n2001/9/15,敬老の日\n2001/9/23,秋分の日\n2001/9/24,休日\n2001/10/8,体育の日\n2001/11/3,文化の日\n2001/11/23,勤労感謝の日\n2001/12/23,天皇誕生日\n2001/12/24,休日",2002:"国民の祝日・休日月日,国民の祝日・休日名称\n2002/1/1,元日\n2002/1/14,成人の日\n2002/2/11,建国記念の日\n2002/3/21,春分の日\n2002/4/29,みどりの日\n2002/5/3,憲法記念日\n2002/5/4,休日\n2002/5/5,こどもの日\n2002/5/6,休日\n2002/7/20,海の日\n2002/9/15,敬老の日\n2002/9/16,休日\n2002/9/23,秋分の日\n2002/10/14,体育の日\n2002/11/3,文化の日\n2002/11/4,休日\n2002/11/23,勤労感謝の日\n2002/12/23,天皇誕生日",2003:"国民の祝日・休日月日,国民の祝日・休日名称\n2003/1/1,元日\n2003/1/13,成人の日\n2003/2/11,建国記念の日\n2003/3/21,春分の日\n2003/4/29,みどりの日\n2003/5/3,憲法記念日\n2003/5/5,こどもの日\n2003/7/21,海の日\n2003/9/15,敬老の日\n2003/9/23,秋分の日\n2003/10/13,体育の日\n2003/11/3,文化の日\n2003/11/23,勤労感謝の日\n2003/11/24,休日\n2003/12/23,天皇誕生日",2004:"国民の祝日・休日月日,国民の祝日・休日名称\n2004/1/1,元日\n2004/1/12,成人の日\n2004/2/11,建国記念の日\n2004/3/20,春分の日\n2004/4/29,みどりの日\n2004/5/3,憲法記念日\n2004/5/4,休日\n2004/5/5,こどもの日\n2004/7/19,海の日\n2004/9/20,敬老の日\n2004/9/23,秋分の日\n2004/10/11,体育の日\n2004/11/3,文化の日\n2004/11/23,勤労感謝の日\n2004/12/23,天皇誕生日",2005:"国民の祝日・休日月日,国民の祝日・休日名称\n2005/1/1,元日\n2005/1/10,成人の日\n2005/2/11,建国記念の日\n2005/3/20,春分の日\n2005/3/21,休日\n2005/4/29,みどりの日\n2005/5/3,憲法記念日\n2005/5/4,休日\n2005/5/5,こどもの日\n2005/7/18,海の日\n2005/9/19,敬老の日\n2005/9/23,秋分の日\n2005/10/10,体育の日\n2005/11/3,文化の日\n2005/11/23,勤労感謝の日\n2005/12/23,天皇誕生日",2006:"国民の祝日・休日月日,国民の祝日・休日名称\n2006/1/1,元日\n2006/1/2,休日\n2006/1/9,成人の日\n2006/2/11,建国記念の日\n2006/3/21,春分の日\n2006/4/29,みどりの日\n2006/5/3,憲法記念日\n2006/5/4,休日\n2006/5/5,こどもの日\n2006/7/17,海の日\n2006/9/18,敬老の日\n2006/9/23,秋分の日\n2006/10/9,体育の日\n2006/11/3,文化の日\n2006/11/23,勤労感謝の日\n2006/12/23,天皇誕生日",2007:"国民の祝日・休日月日,国民の祝日・休日名称\n2007/1/1,元日\n2007/1/8,成人の日\n2007/2/11,建国記念の日\n2007/2/12,休日\n2007/3/21,春分の日\n2007/4/29,昭和の日\n2007/4/30,休日\n2007/5/3,憲法記念日\n2007/5/4,みどりの日\n2007/5/5,こどもの日\n2007/7/16,海の日\n2007/9/17,敬老の日\n2007/9/23,秋分の日\n2007/9/24,休日\n2007/10/8,体育の日\n2007/11/3,文化の日\n2007/11/23,勤労感謝の日\n2007/12/23,天皇誕生日\n2007/12/24,休日",2008:"国民の祝日・休日月日,国民の祝日・休日名称\n2008/1/1,元日\n2008/1/14,成人の日\n2008/2/11,建国記念の日\n2008/3/20,春分の日\n2008/4/29,昭和の日\n2008/5/3,憲法記念日\n2008/5/4,みどりの日\n2008/5/5,こどもの日\n2008/5/6,休日\n2008/7/21,海の日\n2008/9/15,敬老の日\n2008/9/23,秋分の日\n2008/10/13,体育の日\n2008/11/3,文化の日\n2008/11/23,勤労感謝の日\n2008/11/24,休日\n2008/12/23,天皇誕生日",2009:"国民の祝日・休日月日,国民の祝日・休日名称\n2009/1/1,元日\n2009/1/12,成人の日\n2009/2/11,建国記念の日\n2009/3/20,春分の日\n2009/4/29,昭和の日\n2009/5/3,憲法記念日\n2009/5/4,みどりの日\n2009/5/5,こどもの日\n2009/5/6,休日\n2009/7/20,海の日\n2009/9/21,敬老の日\n2009/9/22,休日\n2009/9/23,秋分の日\n2009/10/12,体育の日\n2009/11/3,文化の日\n2009/11/23,勤労感謝の日\n2009/12/23,天皇誕生日",2010:"国民の祝日・休日月日,国民の祝日・休日名称\n2010/1/1,元日\n2010/1/11,成人の日\n2010/2/11,建国記念の日\n2010/3/21,春分の日\n2010/3/22,休日\n2010/4/29,昭和の日\n2010/5/3,憲法記念日\n2010/5/4,みどりの日\n2010/5/5,こどもの日\n2010/7/19,海の日\n2010/9/20,敬老の日\n2010/9/23,秋分の日\n2010/10/11,体育の日\n2010/11/3,文化の日\n2010/11/23,勤労感謝の日\n2010/12/23,天皇誕生日",2011:"国民の祝日・休日月日,国民の祝日・休日名称\n2011/1/1,元日\n2011/1/10,成人の日\n2011/2/11,建国記念の日\n2011/3/21,春分の日\n2011/4/29,昭和の日\n2011/5/3,憲法記念日\n2011/5/4,みどりの日\n2011/5/5,こどもの日\n2011/7/18,海の日\n2011/9/19,敬老の日\n2011/9/23,秋分の日\n2011/10/10,体育の日\n2011/11/3,文化の日\n2011/11/23,勤労感謝の日\n2011/12/23,天皇誕生日",2012:"国民の祝日・休日月日,国民の祝日・休日名称\n2012/1/1,元日\n2012/1/2,休日\n2012/1/9,成人の日\n2012/2/11,建国記念の日\n2012/3/20,春分の日\n2012/4/29,昭和の日\n2012/4/30,休日\n2012/5/3,憲法記念日\n2012/5/4,みどりの日\n2012/5/5,こどもの日\n2012/7/16,海の日\n2012/9/17,敬老の日\n2012/9/22,秋分の日\n2012/10/8,体育の日\n2012/11/3,文化の日\n2012/11/23,勤労感謝の日\n2012/12/23,天皇誕生日\n2012/12/24,休日",2013:"国民の祝日・休日月日,国民の祝日・休日名称\n2013/1/1,元日\n2013/1/14,成人の日\n2013/2/11,建国記念の日\n2013/3/20,春分の日\n2013/4/29,昭和の日\n2013/5/3,憲法記念日\n2013/5/4,みどりの日\n2013/5/5,こどもの日\n2013/5/6,休日\n2013/7/15,海の日\n2013/9/16,敬老の日\n2013/9/23,秋分の日\n2013/10/14,体育の日\n2013/11/3,文化の日\n2013/11/4,休日\n2013/11/23,勤労感謝の日\n2013/12/23,天皇誕生日",2014:"国民の祝日・休日月日,国民の祝日・休日名称\n2014/1/1,元日\n2014/1/13,成人の日\n2014/2/11,建国記念の日\n2014/3/21,春分の日\n2014/4/29,昭和の日\n2014/5/3,憲法記念日\n2014/5/4,みどりの日\n2014/5/5,こどもの日\n2014/5/6,休日\n2014/7/21,海の日\n2014/9/15,敬老の日\n2014/9/23,秋分の日\n2014/10/13,体育の日\n2014/11/3,文化の日\n2014/11/23,勤労感謝の日\n2014/11/24,休日\n2014/12/23,天皇誕生日",2015:"国民の祝日・休日月日,国民の祝日・休日名称\n2015/1/1,元日\n2015/1/12,成人の日\n2015/2/11,建国記念の日\n2015/3/21,春分の日\n2015/4/29,昭和の日\n2015/5/3,憲法記念日\n2015/5/4,みどりの日\n2015/5/5,こどもの日\n2015/5/6,休日\n2015/7/20,海の日\n2015/9/21,敬老の日\n2015/9/22,休日\n2015/9/23,秋分の日\n2015/10/12,体育の日\n2015/11/3,文化の日\n2015/11/23,勤労感謝の日\n2015/12/23,天皇誕生日",2016:"国民の祝日・休日月日,国民の祝日・休日名称\n2016/1/1,元日\n2016/1/11,成人の日\n2016/2/11,建国記念の日\n2016/3/20,春分の日\n2016/3/21,休日\n2016/4/29,昭和の日\n2016/5/3,憲法記念日\n2016/5/4,みどりの日\n2016/5/5,こどもの日\n2016/7/18,海の日\n2016/8/11,山の日\n2016/9/19,敬老の日\n2016/9/22,秋分の日\n2016/10/10,体育の日\n2016/11/3,文化の日\n2016/11/23,勤労感謝の日\n2016/12/23,天皇誕生日",2017:"国民の祝日・休日月日,国民の祝日・休日名称\n2017/1/1,元日\n2017/1/2,休日\n2017/1/9,成人の日\n2017/2/11,建国記念の日\n2017/3/20,春分の日\n2017/4/29,昭和の日\n2017/5/3,憲法記念日\n2017/5/4,みどりの日\n2017/5/5,こどもの日\n2017/7/17,海の日\n2017/8/11,山の日\n2017/9/18,敬老の日\n2017/9/23,秋分の日\n2017/10/9,体育の日\n2017/11/3,文化の日\n2017/11/23,勤労感謝の日\n2017/12/23,天皇誕生日",2018:"国民の祝日・休日月日,国民の祝日・休日名称\n2018/1/1,元日\n2018/1/8,成人の日\n2018/2/11,建国記念の日\n2018/2/12,休日\n2018/3/21,春分の日\n2018/4/29,昭和の日\n2018/4/30,休日\n2018/5/3,憲法記念日\n2018/5/4,みどりの日\n2018/5/5,こどもの日\n2018/7/16,海の日\n2018/8/11,山の日\n2018/9/17,敬老の日\n2018/9/23,秋分の日\n2018/9/24,休日\n2018/10/8,体育の日\n2018/11/3,文化の日\n2018/11/23,勤労感謝の日\n2018/12/23,天皇誕生日\n2018/12/24,休日",2019:"国民の祝日・休日月日,国民の祝日・休日名称\n2019/1/1,元日\n2019/1/14,成人の日\n2019/2/11,建国記念の日\n2019/3/21,春分の日\n2019/4/29,昭和の日\n2019/4/30,休日\n2019/5/1,休日(祝日扱い)\n2019/5/2,休日\n2019/5/3,憲法記念日\n2019/5/4,みどりの日\n2019/5/5,こどもの日\n2019/5/6,休日\n2019/7/15,海の日\n2019/8/11,山の日\n2019/8/12,休日\n2019/9/16,敬老の日\n2019/9/23,秋分の日\n2019/10/14,体育の日(スポーツの日)\n2019/10/22,休日(祝日扱い)\n2019/11/3,文化の日\n2019/11/4,休日\n2019/11/23,勤労感謝の日",2020:"国民の祝日・休日月日,国民の祝日・休日名称\n2020/1/1,元日\n2020/1/13,成人の日\n2020/2/11,建国記念の日\n2020/2/23,天皇誕生日\n2020/2/24,休日\n2020/3/20,春分の日\n2020/4/29,昭和の日\n2020/5/3,憲法記念日\n2020/5/4,みどりの日\n2020/5/5,こどもの日\n2020/5/6,休日\n2020/7/23,海の日\n2020/7/24,スポーツの日\n2020/8/10,山の日\n2020/9/21,敬老の日\n2020/9/22,秋分の日\n2020/11/3,文化の日\n2020/11/23,勤労感謝の日",2021:"国民の祝日・休日月日,国民の祝日・休日名称\n2021/1/1,元日\n2021/1/11,成人の日\n2021/2/11,建国記念の日\n2021/2/23,天皇誕生日\n2021/3/20,春分の日\n2021/4/29,昭和の日\n2021/5/3,憲法記念日\n2021/5/4,みどりの日\n2021/5/5,こどもの日\n2021/7/22,海の日\n2021/7/23,スポーツの日\n2021/8/8,山の日\n2021/8/9,休日\n2021/9/20,敬老の日\n2021/9/23,秋分の日\n2021/11/3,文化の日\n2021/11/23,勤労感謝の日",2022:"国民の祝日・休日月日,国民の祝日・休日名称\n2022/1/1,元日\n2022/1/10,成人の日\n2022/2/11,建国記念の日\n2022/2/23,天皇誕生日\n2022/3/21,春分の日\n2022/4/29,昭和の日\n2022/5/3,憲法記念日\n2022/5/4,みどりの日\n2022/5/5,こどもの日\n2022/7/18,海の日\n2022/8/11,山の日\n2022/9/19,敬老の日\n2022/9/23,秋分の日\n2022/10/10,スポーツの日\n2022/11/3,文化の日\n2022/11/23,勤労感謝の日",2023:"国民の祝日・休日月日,国民の祝日・休日名称\n2023/1/1,元日\n2023/1/2,休日\n2023/1/9,成人の日\n2023/2/11,建国記念の日\n2023/2/23,天皇誕生日\n2023/3/21,春分の日\n2023/4/29,昭和の日\n2023/5/3,憲法記念日\n2023/5/4,みどりの日\n2023/5/5,こどもの日\n2023/7/17,海の日\n2023/8/11,山の日\n2023/9/18,敬老の日\n2023/9/23,秋分の日\n2023/10/9,スポーツの日\n2023/11/3,文化の日\n2023/11/23,勤労感謝の日",2024:"国民の祝日・休日月日,国民の祝日・休日名称\n2024/1/1,元日\n2024/1/8,成人の日\n2024/2/11,建国記念の日\n2024/2/12,休日\n2024/2/23,天皇誕生日\n2024/3/20,春分の日\n2024/4/29,昭和の日\n2024/5/3,憲法記念日\n2024/5/4,みどりの日\n2024/5/5,こどもの日\n2024/5/6,休日\n2024/7/15,海の日\n2024/8/11,山の日\n2024/8/12,休日\n2024/9/16,敬老の日\n2024/9/22,秋分の日\n2024/9/23,休日\n2024/10/14,スポーツの日\n2024/11/3,文化の日\n2024/11/4,休日\n2024/11/23,勤労感謝の日",2025:"国民の祝日・休日月日,国民の祝日・休日名称\n2025/1/1,元日\n2025/1/13,成人の日\n2025/2/11,建国記念の日\n2025/2/23,天皇誕生日\n2025/2/24,休日\n2025/3/20,春分の日\n2025/4/29,昭和の日\n2025/5/3,憲法記念日\n2025/5/4,みどりの日\n2025/5/5,こどもの日\n2025/5/6,休日\n2025/7/21,海の日\n2025/8/11,山の日\n2025/9/15,敬老の日\n2025/9/23,秋分の日\n2025/10/13,スポーツの日\n2025/11/3,文化の日\n2025/11/23,勤労感謝の日\n2025/11/24,休日",2026:"国民の祝日・休日月日,国民の祝日・休日名称\n2026/1/1,元日\n2026/1/12,成人の日\n2026/2/11,建国記念の日\n2026/2/23,天皇誕生日\n2026/3/20,春分の日\n2026/4/29,昭和の日\n2026/5/3,憲法記念日\n2026/5/4,みどりの日\n2026/5/5,こどもの日\n2026/5/6,休日\n2026/7/20,海の日\n2026/8/11,山の日\n2026/9/21,敬老の日\n2026/9/22,休日\n2026/9/23,秋分の日\n2026/10/12,スポーツの日\n2026/11/3,文化の日\n2026/11/23,勤労感謝の日",2027:"国民の祝日・休日月日,国民の祝日・休日名称\n2027/1/1,元日\n2027/1/11,成人の日\n2027/2/11,建国記念の日\n2027/2/23,天皇誕生日\n2027/3/21,春分の日\n2027/3/22,休日\n2027/4/29,昭和の日\n2027/5/3,憲法記念日\n2027/5/4,みどりの日\n2027/5/5,こどもの日\n2027/7/19,海の日\n2027/8/11,山の日\n2027/9/20,敬老の日\n2027/9/23,秋分の日\n2027/10/11,スポーツの日\n2027/11/3,文化の日\n2027/11/23,勤労感謝の日"},Vs={},Hs=e=>{const t=e||(new Date).getFullYear(),n=t.toString();if(Vs[n])return Vs[n];const r=(e=>{const t=(e||(new Date).getFullYear()).toString();return Os[t]?Os[t]:"国民の祝日・休日月日,国民の祝日・休日名称"})(t),i=r.split("\n"),o=[];for(let e=1;e<i.length;e++){const t=i[e].trim();if(t){const[e,n]=t.split(",");e&&n&&o.push({date:e.trim(),name:n.trim()})}}return Vs[n]=o,o};var Ns="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Rs=[],Ts=[],Zs="undefined"!=typeof Uint8Array?Uint8Array:Array,zs=!1;function Bs(){zs=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Rs[t]=e[t],Ts[e.charCodeAt(t)]=t;Ts["-".charCodeAt(0)]=62,Ts["_".charCodeAt(0)]=63}function _s(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Rs[(i=r)>>18&63]+Rs[i>>12&63]+Rs[i>>6&63]+Rs[63&i]);return o.join("")}function Ps(e){var t;zs||Bs();for(var n=e.length,r=n%3,i="",o=[],a=16383,l=0,s=n-r;l<s;l+=a)o.push(_s(e,l,l+a>s?s:l+a));return 1===r?(t=e[n-1],i+=Rs[t>>2],i+=Rs[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Rs[t>>10],i+=Rs[t>>4&63],i+=Rs[t<<2&63],i+="="),o.push(i),o.join("")}function Fs(e,t,n,r,i){var o,a,l=8*i-r-1,s=(1<<l)-1,c=s>>1,d=-7,u=n?i-1:0,p=n?-1:1,m=e[t+u];for(u+=p,o=m&(1<<-d)-1,m>>=-d,d+=l;d>0;o=256*o+e[t+u],u+=p,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=r;d>0;a=256*a+e[t+u],u+=p,d-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,r),o-=c}return(m?-1:1)*a*Math.pow(2,o-r)}function Gs(e,t,n,r,i,o){var a,l,s,c=8*o-i-1,d=(1<<c)-1,u=d>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,m=r?0:o-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+u>=1?p/s:p*Math.pow(2,1-u))*s>=2&&(a++,s/=2),a+u>=d?(l=0,a=d):a+u>=1?(l=(t*s-1)*Math.pow(2,i),a+=u):(l=t*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;e[n+m]=255&l,m+=h,l/=256,i-=8);for(a=a<<i|l,c+=i;c>0;e[n+m]=255&a,m+=h,a/=256,c-=8);e[n+m-h]|=128*g}var js={}.toString,Ws=Array.isArray||function(e){return"[object Array]"==js.call(e)};function Ys(){return Js.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Xs(e,t){if(Ys()<t)throw new RangeError("Invalid typed array length");return Js.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Js.prototype:(null===e&&(e=new Js(t)),e.length=t),e}function Js(e,t,n){if(!(Js.TYPED_ARRAY_SUPPORT||this instanceof Js))return new Js(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return qs(this,e)}return Us(this,e,t,n)}function Us(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);Js.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Js.prototype:e=Ks(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!Js.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|nc(t,n);e=Xs(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(tc(t)){var n=0|ec(t.length);return 0===(e=Xs(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Xs(e,0):Ks(e,t);if("Buffer"===t.type&&Ws(t.data))return Ks(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Qs(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function qs(e,t){if(Qs(t),e=Xs(e,t<0?0:0|ec(t)),!Js.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Ks(e,t){var n=t.length<0?0:0|ec(t.length);e=Xs(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function ec(e){if(e>=Ys())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ys().toString(16)+" bytes");return 0|e}function tc(e){return!(null==e||!e._isBuffer)}function nc(e,t){if(tc(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $c(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Dc(e).length;default:if(r)return $c(e).length;t=(""+t).toLowerCase(),r=!0}}function rc(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return vc(this,t,n);case"utf8":case"utf-8":return hc(this,t,n);case"ascii":return fc(this,t,n);case"latin1":case"binary":return bc(this,t,n);case"base64":return mc(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xc(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function ic(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function oc(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Js.from(t,r)),tc(t))return 0===t.length?-1:ac(e,t,n,r,i);if("number"==typeof t)return t&=255,Js.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):ac(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function ac(e,t,n,r,i){var o,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var d=-1;for(o=n;o<l;o++)if(c(e,o)===c(t,-1===d?0:o-d)){if(-1===d&&(d=o),o-d+1===s)return d*a}else-1!==d&&(o-=o-d),d=-1}else for(n+s>l&&(n=l-s),o=n;o>=0;o--){for(var u=!0,p=0;p<s;p++)if(c(e,o+p)!==c(t,p)){u=!1;break}if(u)return o}return-1}function lc(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var l=parseInt(t.substr(2*a,2),16);if(isNaN(l))return a;e[n+a]=l}return a}function sc(e,t,n,r){return Sc($c(t,e.length-n),e,n,r)}function cc(e,t,n,r){return Sc(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function dc(e,t,n,r){return cc(e,t,n,r)}function uc(e,t,n,r){return Sc(Dc(t),e,n,r)}function pc(e,t,n,r){return Sc(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function mc(e,t,n){return 0===t&&n===e.length?Ps(e):Ps(e.slice(t,n))}function hc(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,l,s,c=e[i],d=null,u=c>239?4:c>223?3:c>191?2:1;if(i+u<=n)switch(u){case 1:c<128&&(d=c);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&c)<<6|63&o)>127&&(d=s);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(d=s);break;case 4:o=e[i+1],a=e[i+2],l=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&l)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(d=s)}null===d?(d=65533,u=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),i+=u}return function(e){var t=e.length;if(t<=gc)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=gc));return n}(r)}Js.TYPED_ARRAY_SUPPORT=void 0===Ns.TYPED_ARRAY_SUPPORT||Ns.TYPED_ARRAY_SUPPORT,Ys(),Js.poolSize=8192,Js._augment=function(e){return e.__proto__=Js.prototype,e},Js.from=function(e,t,n){return Us(null,e,t,n)},Js.TYPED_ARRAY_SUPPORT&&(Js.prototype.__proto__=Uint8Array.prototype,Js.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Js[Symbol.species]),Js.alloc=function(e,t,n){return function(e,t,n,r){return Qs(t),t<=0?Xs(e,t):void 0!==n?"string"==typeof r?Xs(e,t).fill(n,r):Xs(e,t).fill(n):Xs(e,t)}(null,e,t,n)},Js.allocUnsafe=function(e){return qs(null,e)},Js.allocUnsafeSlow=function(e){return qs(null,e)},Js.isBuffer=Oc,Js.compare=function(e,t){if(!tc(e)||!tc(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},Js.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Js.concat=function(e,t){if(!Ws(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Js.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Js.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!tc(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},Js.byteLength=nc,Js.prototype._isBuffer=!0,Js.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ic(this,t,t+1);return this},Js.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ic(this,t,t+3),ic(this,t+1,t+2);return this},Js.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ic(this,t,t+7),ic(this,t+1,t+6),ic(this,t+2,t+5),ic(this,t+3,t+4);return this},Js.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?hc(this,0,e):rc.apply(this,arguments)},Js.prototype.equals=function(e){if(!tc(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Js.compare(this,e)},Js.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Js.prototype.compare=function(e,t,n,r,i){if(!tc(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(o,a),s=this.slice(r,i),c=e.slice(t,n),d=0;d<l;++d)if(s[d]!==c[d]){o=s[d],a=c[d];break}return o<a?-1:a<o?1:0},Js.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Js.prototype.indexOf=function(e,t,n){return oc(this,e,t,n,!0)},Js.prototype.lastIndexOf=function(e,t,n){return oc(this,e,t,n,!1)},Js.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return lc(this,e,t,n);case"utf8":case"utf-8":return sc(this,e,t,n);case"ascii":return cc(this,e,t,n);case"latin1":case"binary":return dc(this,e,t,n);case"base64":return uc(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pc(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Js.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var gc=4096;function fc(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function bc(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function vc(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=Lc(e[o]);return i}function xc(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function yc(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function wc(e,t,n,r,i,o){if(!tc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Cc(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Ec(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function Ic(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function kc(e,t,n,r,i){return i||Ic(e,0,n,4),Gs(e,t,n,r,23,4),n+4}function Mc(e,t,n,r,i){return i||Ic(e,0,n,8),Gs(e,t,n,r,52,8),n+8}Js.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),Js.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Js.prototype;else{var i=t-e;n=new Js(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},Js.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},Js.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},Js.prototype.readUInt8=function(e,t){return t||yc(e,1,this.length),this[e]},Js.prototype.readUInt16LE=function(e,t){return t||yc(e,2,this.length),this[e]|this[e+1]<<8},Js.prototype.readUInt16BE=function(e,t){return t||yc(e,2,this.length),this[e]<<8|this[e+1]},Js.prototype.readUInt32LE=function(e,t){return t||yc(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Js.prototype.readUInt32BE=function(e,t){return t||yc(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Js.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},Js.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Js.prototype.readInt8=function(e,t){return t||yc(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Js.prototype.readInt16LE=function(e,t){t||yc(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Js.prototype.readInt16BE=function(e,t){t||yc(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Js.prototype.readInt32LE=function(e,t){return t||yc(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Js.prototype.readInt32BE=function(e,t){return t||yc(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Js.prototype.readFloatLE=function(e,t){return t||yc(e,4,this.length),Fs(this,e,!0,23,4)},Js.prototype.readFloatBE=function(e,t){return t||yc(e,4,this.length),Fs(this,e,!1,23,4)},Js.prototype.readDoubleLE=function(e,t){return t||yc(e,8,this.length),Fs(this,e,!0,52,8)},Js.prototype.readDoubleBE=function(e,t){return t||yc(e,8,this.length),Fs(this,e,!1,52,8)},Js.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||wc(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},Js.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||wc(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Js.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,1,255,0),Js.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Js.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,65535,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Cc(this,e,t,!0),t+2},Js.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,65535,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Cc(this,e,t,!1),t+2},Js.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,4294967295,0),Js.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ec(this,e,t,!0),t+4},Js.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,4294967295,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ec(this,e,t,!1),t+4},Js.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);wc(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===l&&0!==this[t+o-1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},Js.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);wc(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},Js.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,1,127,-128),Js.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Js.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,32767,-32768),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Cc(this,e,t,!0),t+2},Js.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,32767,-32768),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Cc(this,e,t,!1),t+2},Js.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,2147483647,-2147483648),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ec(this,e,t,!0),t+4},Js.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ec(this,e,t,!1),t+4},Js.prototype.writeFloatLE=function(e,t,n){return kc(this,e,t,!0,n)},Js.prototype.writeFloatBE=function(e,t,n){return kc(this,e,t,!1,n)},Js.prototype.writeDoubleLE=function(e,t,n){return Mc(this,e,t,!0,n)},Js.prototype.writeDoubleBE=function(e,t,n){return Mc(this,e,t,!1,n)},Js.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Js.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},Js.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Js.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=tc(e)?e:$c(new Js(e,r).toString()),l=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%l]}return this};var Ac=/[^+\/0-9A-Za-z-_]/g;function Lc(e){return e<16?"0"+e.toString(16):e.toString(16)}function $c(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Dc(e){return function(e){var t,n,r,i,o,a;zs||Bs();var l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[l-2]?2:"="===e[l-1]?1:0,a=new Zs(3*l/4-o),r=o>0?l-4:l;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Ts[e.charCodeAt(t)]<<18|Ts[e.charCodeAt(t+1)]<<12|Ts[e.charCodeAt(t+2)]<<6|Ts[e.charCodeAt(t+3)],a[s++]=i>>16&255,a[s++]=i>>8&255,a[s++]=255&i;return 2===o?(i=Ts[e.charCodeAt(t)]<<2|Ts[e.charCodeAt(t+1)]>>4,a[s++]=255&i):1===o&&(i=Ts[e.charCodeAt(t)]<<10|Ts[e.charCodeAt(t+1)]<<4|Ts[e.charCodeAt(t+2)]>>2,a[s++]=i>>8&255,a[s++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ac,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Sc(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Oc(e){return null!=e&&(!!e._isBuffer||Vc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Vc(e.slice(0,0))}(e))}function Vc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}class Hc extends Error{constructor(e,t,n,...r){Array.isArray(t)&&(t=t.join(" ").trim()),super(t),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,Hc),this.code=e;for(const e of r)for(const t in e){const r=e[t];this[t]=Oc(r)?r.toString(n.encoding):null==r?r:JSON.parse(JSON.stringify(r))}}}const Nc=function(e){const t=[];for(let r=0,i=e.length;r<i;r++){const i=e[r];if(null==i||!1===i)t[r]={disabled:!0};else if("string"==typeof i)t[r]={name:i};else{if("object"!=typeof(n=i)||null===n||Array.isArray(n))throw new Hc("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(i)} at position ${r}`]);if("string"!=typeof i.name)throw new Hc("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=i}}var n;return t};class Rc{constructor(e=100){this.size=e,this.length=0,this.buf=Js.allocUnsafe(e)}prepend(e){if(Oc(e)){const t=this.length+e.length;if(t>=this.size&&(this.resize(),t>=this.size))throw Error("INVALID_BUFFER_STATE");const n=this.buf;this.buf=Js.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{const t=this.length++;t===this.size&&this.resize();const n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,t)}}append(e){const t=this.length++;t===this.size&&this.resize(),this.buf[t]=e}clone(){return Js.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=2*this.size;const t=Js.allocUnsafe(this.size);this.buf.copy(t,0,0,e),this.buf=t}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const Tc=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:Oc(e.escape)&&Oc(e.quote)&&0===Js.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new Rc(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map((e=>e.length)),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Rc(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map((e=>e.length))),trimChars:[Js.from(" ",e.encoding)[0],Js.from("\t",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Js.from(Js.from([13],"utf8").toString(),e.encoding),Js.from(Js.from([10],"utf8").toString(),e.encoding),Js.from(Js.from([12],"utf8").toString(),e.encoding),Js.from(Js.from([32],"utf8").toString(),e.encoding),Js.from(Js.from([9],"utf8").toString(),e.encoding)]}},Zc=function(e){const t={};for(const r in e)t[(n=r,n.replace(/([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})))]=e[r];var n;if(void 0===t.encoding||!0===t.encoding)t.encoding="utf8";else if(null===t.encoding||!1===t.encoding)t.encoding=null;else if("string"!=typeof t.encoding&&null!==t.encoding)throw new Hc("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(void 0===t.bom||null===t.bom||!1===t.bom)t.bom=!1;else if(!0!==t.bom)throw new Hc("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,void 0===t.cast||null===t.cast||!1===t.cast||""===t.cast)t.cast=void 0;else if("function"==typeof t.cast)t.cast_function=t.cast,t.cast=!0;else if(!0!==t.cast)throw new Hc("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(void 0===t.cast_date||null===t.cast_date||!1===t.cast_date||""===t.cast_date)t.cast_date=!1;else if(!0===t.cast_date)t.cast_date=function(e){const t=Date.parse(e);return isNaN(t)?e:new Date(t)};else if("function"!=typeof t.cast_date)throw new Hc("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=void 0,!0===t.columns)t.cast_first_line_to_header=void 0;else if("function"==typeof t.columns)t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=Nc(t.columns);else{if(void 0!==t.columns&&null!==t.columns&&!1!==t.columns)throw new Hc("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);t.columns=!1}if(void 0===t.group_columns_by_name||null===t.group_columns_by_name||!1===t.group_columns_by_name)t.group_columns_by_name=!1;else{if(!0!==t.group_columns_by_name)throw new Hc("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(!1===t.columns)throw new Hc("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(void 0===t.comment||null===t.comment||!1===t.comment||""===t.comment)t.comment=null;else if("string"==typeof t.comment&&(t.comment=Js.from(t.comment,t.encoding)),!Oc(t.comment))throw new Hc("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(void 0===t.comment_no_infix||null===t.comment_no_infix||!1===t.comment_no_infix)t.comment_no_infix=!1;else if(!0!==t.comment_no_infix)throw new Hc("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);const r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),0===t.delimiter.length)throw new Hc("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map((function(e){if(null==e||!1===e)return Js.from(",",t.encoding);if("string"==typeof e&&(e=Js.from(e,t.encoding)),!Oc(e)||0===e.length)throw new Hc("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return e})),void 0===t.escape||!0===t.escape?t.escape=Js.from('"',t.encoding):"string"==typeof t.escape?t.escape=Js.from(t.escape,t.encoding):null!==t.escape&&!1!==t.escape||(t.escape=null),null!==t.escape&&!Oc(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(void 0===t.from||null===t.from)t.from=1;else{if("string"==typeof t.from&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),!Number.isInteger(t.from))throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}if(void 0===t.from_line||null===t.from_line)t.from_line=1;else{if("string"==typeof t.from_line&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),!Number.isInteger(t.from_line))throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}if(void 0===t.ignore_last_delimiters||null===t.ignore_last_delimiters)t.ignore_last_delimiters=!1;else if("number"==typeof t.ignore_last_delimiters)t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),0===t.ignore_last_delimiters&&(t.ignore_last_delimiters=!1);else if("boolean"!=typeof t.ignore_last_delimiters)throw new Hc("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(!0===t.ignore_last_delimiters&&!1===t.columns)throw new Hc("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(void 0===t.info||null===t.info||!1===t.info)t.info=!1;else if(!0!==t.info)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(void 0===t.max_record_size||null===t.max_record_size||!1===t.max_record_size)t.max_record_size=0;else if(Number.isInteger(t.max_record_size)&&t.max_record_size>=0);else{if("string"!=typeof t.max_record_size||!/\d+/.test(t.max_record_size))throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);t.max_record_size=parseInt(t.max_record_size)}if(void 0===t.objname||null===t.objname||!1===t.objname)t.objname=void 0;else if(Oc(t.objname)){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty buffer");null===t.encoding||(t.objname=t.objname.toString(t.encoding))}else if("string"==typeof t.objname){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty string")}else if("number"!=typeof t.objname)throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(void 0!==t.objname)if("number"==typeof t.objname){if(!1!==t.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===t.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index");if(void 0===t.on_record||null===t.on_record)t.on_record=void 0;else if("function"!=typeof t.on_record)throw new Hc("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(void 0!==t.on_skip&&null!==t.on_skip&&"function"!=typeof t.on_skip)throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(null===t.quote||!1===t.quote||""===t.quote)t.quote=null;else if(void 0===t.quote||!0===t.quote?t.quote=Js.from('"',t.encoding):"string"==typeof t.quote&&(t.quote=Js.from(t.quote,t.encoding)),!Oc(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(void 0===t.raw||null===t.raw||!1===t.raw)t.raw=!1;else if(!0!==t.raw)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(void 0===t.record_delimiter)t.record_delimiter=[];else if("string"==typeof t.record_delimiter||Oc(t.record_delimiter)){if(0===t.record_delimiter.length)throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map((function(e,n){if("string"!=typeof e&&!Oc(e))throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);if(0===e.length)throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);return"string"==typeof e&&(e=Js.from(e,t.encoding)),e})),"boolean"==typeof t.relax_column_count);else{if(void 0!==t.relax_column_count&&null!==t.relax_column_count)throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);t.relax_column_count=!1}if("boolean"==typeof t.relax_column_count_less);else{if(void 0!==t.relax_column_count_less&&null!==t.relax_column_count_less)throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);t.relax_column_count_less=!1}if("boolean"==typeof t.relax_column_count_more);else{if(void 0!==t.relax_column_count_more&&null!==t.relax_column_count_more)throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);t.relax_column_count_more=!1}if("boolean"==typeof t.relax_quotes);else{if(void 0!==t.relax_quotes&&null!==t.relax_quotes)throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);t.relax_quotes=!1}if("boolean"==typeof t.skip_empty_lines);else{if(void 0!==t.skip_empty_lines&&null!==t.skip_empty_lines)throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);t.skip_empty_lines=!1}if("boolean"==typeof t.skip_records_with_empty_values);else{if(void 0!==t.skip_records_with_empty_values&&null!==t.skip_records_with_empty_values)throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);t.skip_records_with_empty_values=!1}if("boolean"==typeof t.skip_records_with_error);else{if(void 0!==t.skip_records_with_error&&null!==t.skip_records_with_error)throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);t.skip_records_with_error=!1}if(void 0===t.rtrim||null===t.rtrim||!1===t.rtrim)t.rtrim=!1;else if(!0!==t.rtrim)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(void 0===t.ltrim||null===t.ltrim||!1===t.ltrim)t.ltrim=!1;else if(!0!==t.ltrim)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(void 0===t.trim||null===t.trim||!1===t.trim)t.trim=!1;else if(!0!==t.trim)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(!0===t.trim&&!1!==e.ltrim?t.ltrim=!0:!0!==t.ltrim&&(t.ltrim=!1),!0===t.trim&&!1!==e.rtrim?t.rtrim=!0:!0!==t.rtrim&&(t.rtrim=!1),void 0===t.to||null===t.to)t.to=-1;else if(-1!==t.to){if("string"==typeof t.to&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),!Number.isInteger(t.to))throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}if(void 0===t.to_line||null===t.to_line)t.to_line=-1;else if(-1!==t.to_line){if("string"==typeof t.to_line&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),!Number.isInteger(t.to_line))throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}return t},zc=function(e){return e.every((e=>null==e||e.toString&&""===e.toString().trim()))},Bc={utf8:Js.from([239,187,191]),utf16le:Js.from([255,254])},_c=function(e,t={}){"string"==typeof e&&(e=Js.from(e));const n=t&&t.objname?{}:[],r=function(e={}){const t=Zc(e);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:e,options:t,state:Tc(t),__needMoreData:function(e,t,n){if(n)return!1;const{encoding:r,escape:i,quote:o}=this.options,{quoting:a,needMoreDataSize:l,recordDelimiterMaxLength:s}=this.state;return t-e-1<Math.max(l,0===s?Js.from("\r\n",r).length:s,a?(null===i?0:i.length)+o.length:0,a?o.length+s:0)},parse:function(e,t,n,r){const{bom:i,comment_no_infix:o,encoding:a,from_line:l,ltrim:s,max_record_size:c,raw:d,relax_quotes:u,rtrim:p,skip_empty_lines:m,to:h,to_line:g}=this.options;let{comment:f,escape:b,quote:v,record_delimiter:x}=this.options;const{bomSkipped:y,previousBuf:w,rawBuffer:C,escapeIsQuote:E}=this.state;let I;if(void 0===w){if(void 0===e)return void r();I=e}else I=void 0!==w&&void 0===e?w:Js.concat([w,e]);if(!1===y)if(!1===i)this.state.bomSkipped=!0;else if(I.length<3){if(!1===t)return void(this.state.previousBuf=I)}else{for(const e in Bc)if(0===Bc[e].compare(I,0,Bc[e].length)){const t=Bc[e].length;this.state.bufBytesStart+=t,I=I.slice(t);const n=Zc({...this.original_options,encoding:e});for(const e in n)this.options[e]=n[e];({comment:f,escape:b,quote:v}=this.options);break}this.state.bomSkipped=!0}const k=I.length;let M;for(M=0;M<k&&!this.__needMoreData(M,k,t);M++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==g&&this.info.lines>g)return this.state.stop=!0,void r();!1===this.state.quoting&&0===x.length&&this.__autoDiscoverRecordDelimiter(I,M)&&(x=this.options.record_delimiter);const e=I[M];if(!0===d&&C.append(e),13!==e&&10!==e||!1!==this.state.wasRowDelimiter||(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==b&&!0===this.state.quoting&&this.__isEscape(I,M,e)&&M+b.length<k){if(!E){this.state.escaping=!0,M+=b.length-1;continue}if(this.__isQuote(I,M+b.length)){this.state.escaping=!0,M+=b.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(I,M))if(!0===this.state.quoting){const t=I[M+v.length],n=p&&this.__isCharTrimable(I,M+v.length),r=null!==f&&this.__compareBytes(f,I,M+v.length,t),i=this.__isDelimiter(I,M+v.length,t),o=0===x.length?this.__autoDiscoverRecordDelimiter(I,M+v.length):this.__isRecordDelimiter(t,I,M+v.length);if(null!==b&&this.__isEscape(I,M,e)&&this.__isQuote(I,M+b.length))M+=b.length-1;else{if(!t||i||o||r||n){this.state.quoting=!1,this.state.wasQuoting=!0,M+=v.length-1;continue}if(!1===u){const e=this.__error(new Hc("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(t)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==e)return e}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(v),M+=v.length-1}}else{if(0===this.state.field.length){this.state.quoting=!0,M+=v.length-1;continue}if(!1===u){const e=this.__infoField(),t=Object.keys(Bc).map((e=>!!Bc[e].equals(this.state.field.toString())&&e)).filter(Boolean)[0],n=this.__error(new Hc("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(a))}`,t?`(${t} bom)`:void 0],this.options,e,{field:this.state.field}));if(void 0!==n)return n}}if(!1===this.state.quoting){const t=this.__isRecordDelimiter(e,I,M);if(0!==t){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),M+=t-1;continue}if(!0===m&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,M+=t-1;continue}this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;this.info.bytes=this.state.bufBytesStart+M+t;const i=this.__onRecord(n);if(void 0!==i)return i;if(-1!==h&&this.info.records>=h)return this.state.stop=!0,void r()}this.state.commenting=!1,M+=t-1;continue}if(this.state.commenting)continue;if(null!==f&&(!1===o||0===this.state.record.length&&0===this.state.field.length)&&0!==this.__compareBytes(f,I,M,e)){this.state.commenting=!0;continue}const i=this.__isDelimiter(I,M,e);if(0!==i){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;M+=i-1;continue}}}if(!1===this.state.commenting&&0!==c&&this.state.record_length+this.state.field.length>c)return this.__error(new Hc("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${c}`,`at line ${this.info.lines}`],this.options,this.__infoField()));const t=!1===s||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(I,M),i=!1===p||!1===this.state.wasQuoting;if(!0!==t||!0!==i){if(!0!==p||this.__isCharTrimable(I,M)){!1===t&&(M+=this.__isCharTrimable(I,M)-1);continue}return this.__error(new Hc("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}this.state.field.append(e)}if(!0===t)if(!0===this.state.quoting){const e=this.__error(new Hc("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==e)return e}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;const t=this.__onRecord(n);if(void 0!==t)return t}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++;else this.state.bufBytesStart+=M,this.state.previousBuf=I.slice(M);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(e){const{columns:t,group_columns_by_name:n,encoding:r,info:i,from:o,relax_column_count:a,relax_column_count_less:l,relax_column_count_more:s,raw:c,skip_records_with_empty_values:d}=this.options,{enabled:u,record:p}=this.state;if(!1===u)return this.__resetRecord();const m=p.length;if(!0===t)return!0===d&&zc(p)?void this.__resetRecord():this.__firstLineToColumns(p);if(!1===t&&0===this.info.records&&(this.state.expectedRecordLength=m),m!==this.state.expectedRecordLength){const e=!1===t?new Hc("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p}):new Hc("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${t.length},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p});if(!0===a||!0===l&&m<this.state.expectedRecordLength||!0===s&&m>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=e;else{const t=this.__error(e);if(t)return t}}if(!0===d&&zc(p))this.__resetRecord();else{if(!0===this.state.recordHasError)return this.__resetRecord(),void(this.state.recordHasError=!1);if(this.info.records++,1===o||this.info.records>=o){const{objname:o}=this.options;if(!1!==t){const a={};for(let e=0,r=p.length;e<r;e++)void 0===t[e]||t[e].disabled||(!0===n&&void 0!==a[t[e].name]?Array.isArray(a[t[e].name])?a[t[e].name]=a[t[e].name].concat(p[e]):a[t[e].name]=[a[t[e].name],p[e]]:a[t[e].name]=p[e]);if(!0===c||!0===i){const t=Object.assign({record:a},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===i?{info:this.__infoRecord()}:{}),n=this.__push(void 0===o?t:[a[o],t],e);if(n)return n}else{const t=this.__push(void 0===o?a:[a[o],a],e);if(t)return t}}else if(!0===c||!0===i){const t=Object.assign({record:p},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===i?{info:this.__infoRecord()}:{}),n=this.__push(void 0===o?t:[p[o],t],e);if(n)return n}else{const t=this.__push(void 0===o?p:[p[o],p],e);if(t)return t}}this.__resetRecord()}},__firstLineToColumns:function(e){const{firstLineToHeaders:t}=this.state;try{const n=void 0===t?e:t.call(null,e);if(!Array.isArray(n))return this.__error(new Hc("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(n)}`],this.options,this.__infoField(),{headers:n}));const r=Nc(n);return this.state.expectedRecordLength=r.length,this.options.columns=r,void this.__resetRecord()}catch(e){return e}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){const{cast:e,encoding:t,rtrim:n,max_record_size:r}=this.options,{enabled:i,wasQuoting:o}=this.state;if(!1===i)return this.__resetField();let a=this.state.field.toString(t);if(!0===n&&!1===o&&(a=a.trimRight()),!0===e){const[e,t]=this.__cast(a);if(void 0!==e)return e;a=t}this.state.record.push(a),0!==r&&"string"==typeof a&&(this.state.record_length+=a.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(e,t){const{on_record:n}=this.options;if(void 0!==n){const t=this.__infoRecord();try{e=n.call(null,e,t)}catch(e){return e}if(null==e)return}t(e)},__cast:function(e){const{columns:t,relax_column_count:n}=this.options;if(!0===Array.isArray(t)&&n&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{const t=this.__infoField();return[void 0,this.state.castField.call(null,e,t)]}catch(e){return[e]}if(this.__isFloat(e))return[void 0,parseFloat(e)];if(!1!==this.options.cast_date){const t=this.__infoField();return[void 0,this.options.cast_date.call(null,e,t)]}return[void 0,e]},__isCharTrimable:function(e,t){return((e,t)=>{const{timchars:n}=this.state;e:for(let r=0;r<n.length;r++){const i=n[r];for(let n=0;n<i.length;n++)if(i[n]!==e[t+n])continue e;return i.length}return 0})(e,t)},__isFloat:function(e){return e-parseFloat(e)+1>=0},__compareBytes:function(e,t,n,r){if(e[0]!==r)return 0;const i=e.length;for(let r=1;r<i;r++)if(e[r]!==t[n+r])return 0;return i},__isDelimiter:function(e,t,n){const{delimiter:r,ignore_last_delimiters:i}=this.options;if(!0===i&&this.state.record.length===this.options.columns.length-1)return 0;if(!1!==i&&"number"==typeof i&&this.state.record.length===i-1)return 0;e:for(let i=0;i<r.length;i++){const o=r[i];if(o[0]===n){for(let n=1;n<o.length;n++)if(o[n]!==e[t+n])continue e;return o.length}}return 0},__isRecordDelimiter:function(e,t,n){const{record_delimiter:r}=this.options,i=r.length;e:for(let o=0;o<i;o++){const i=r[o],a=i.length;if(i[0]===e){for(let e=1;e<a;e++)if(i[e]!==t[n+e])continue e;return i.length}}return 0},__isEscape:function(e,t,n){const{escape:r}=this.options;if(null===r)return!1;const i=r.length;if(r[0]===n){for(let n=0;n<i;n++)if(r[n]!==e[t+n])return!1;return!0}return!1},__isQuote:function(e,t){const{quote:n}=this.options;if(null===n)return!1;const r=n.length;for(let i=0;i<r;i++)if(n[i]!==e[t+i])return!1;return!0},__autoDiscoverRecordDelimiter:function(e,t){const{encoding:n}=this.options,r=[Js.from("\r\n",n),Js.from("\n",n),Js.from("\r",n)];e:for(let n=0;n<r.length;n++){const i=r[n].length;for(let o=0;o<i;o++)if(r[n][o]!==e[t+o])continue e;return this.options.record_delimiter.push(r[n]),this.state.recordDelimiterMaxLength=r[n].length,r[n].length}return 0},__error:function(e){const{encoding:t,raw:n,skip_records_with_error:r}=this.options,i="string"==typeof e?new Error(e):e;if(!r)return i;if(this.state.recordHasError=!0,void 0!==this.options.on_skip)try{this.options.on_skip(i,n?this.state.rawBuffer.toString(t):void 0)}catch(i){return i}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:e,raw:t,encoding:n}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===e,index:this.state.record.length,raw:t?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){const{columns:e}=this.options,t=Array.isArray(e);return{...this.__infoRecord(),column:!0===t?e.length>this.state.record.length?e[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}}(t),i=r.parse(e,!0,(e=>{void 0===r.options.objname?n.push(e):n[e[0]]=e[1]}),(()=>{}));if(void 0!==i)throw i;return n},Pc=e=>{var t;const n=e.trim();if(!n)return[];let r;const i=n.includes(","),o=n.startsWith('"')&&n.endsWith('"');if(i||o)try{r=null!==(t=_c(n,{columns:!1})[0])&&void 0!==t?t:[]}catch(e){r=n.split(",")}else r=[n];return r.filter((e=>e&&"string"==typeof e)).map((e=>e.trim())).filter((e=>e))},Fc=x.div`
756
+ `,Ms=e.forwardRef((function({width:t="50px"},n){const r=j();return e.createElement(Cs,{ref:n,width:t},e.createElement(Es,{viewBox:"25 25 50 50"},e.createElement(Is,{cx:"50",cy:"50",r:"20",stroke:r.palette.neutral.softLight}),e.createElement(ks,{cx:"50",cy:"50",r:"20",stroke:r.palette.primary.base})))})),As={small:"28px",medium:"32px",large:"40px"},Ls={small:`${le.sm}px`,medium:`${le.md}px`,large:`${le.xl}px`},$s={small:"4px",medium:"6px",large:"6px"},Ds={small:"6px",medium:"8px",large:"10px"},Ss=e.forwardRef((function(t,n){var{component:r,children:i,color:o="primary",textColor:a,inline:l=!0,size:s="medium",icon:c,loading:d}=t,u=$(t,["component","children","color","textColor","inline","size","icon","loading"]);const p=(e=>({primary:{normal:{background:e.palette.primary.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowPrimary"],border:`1px solid ${e.palette.primary.dark}`},hover:{background:e.palette.primary.dark,border:"none"},active:{background:e.palette.primary.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},secondaryLight:{normal:{background:e.palette.background.default,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.highlight,border:`1px solid ${e.palette.divider}`},active:{background:e.palette.neutral.highlight,boxShadow:e.shadow["3dShadowActive"],border:`1px solid ${e.palette.divider}`}},secondaryDark:{normal:{background:e.palette.neutral.highlight,color:e.palette.black,boxShadow:e.shadow["3dShadowBasic"],border:`1px solid ${e.palette.divider}`},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.softLight,boxShadow:e.shadow["3dShadowBasicActive"],border:"none"}},danger:{normal:{background:e.palette.danger.base,color:e.palette.text.white,boxShadow:e.shadow["3dShadowDanger"],border:`1px solid ${e.palette.danger.dark}`},hover:{background:e.palette.danger.dark,border:"none"},active:{background:e.palette.danger.dark,boxShadow:e.shadow["3dShadowActive"],border:"none"}},clear:{normal:{background:"none",color:e.palette.black,boxShadow:"none",border:"none"},hover:{background:e.palette.neutral.softLight,border:"none"},active:{background:e.palette.neutral.lighter,boxShadow:"none",border:"none"}},primarySubtle:{normal:{background:e.palette.primary.ultraLight,color:e.palette.primary.dark,boxShadow:e.shadow["3dShadowPrimarySubtle"],border:`1px solid ${e.palette.primary.softLight}`},hover:{background:e.palette.primary.highlight,border:"none"},active:{background:e.palette.primary.highlight,boxShadow:e.shadow["3dShadowPrimarySubtleActive"],border:"none"}}}))(j())[o],m=!!d,h="string"==typeof d?d:d?"Loading...":void 0,g=e.useMemo((()=>({small:"16px",medium:"18px",large:"20px"}[s])),[s]),f=e.useMemo((()=>m?e.createElement(Ms,{width:g}):null),[m,g]),b=!!c,v=!!i,x=m?b?f:void 0:c,y=m?!b&&v||b&&v?h:void 0:i,w=(()=>{if("string"==typeof u.href){const{href:e,target:t,rel:n}=u;return{as:r||"a",href:e,target:t,rel:n}}return{}})();return e.createElement(bs,Object.assign({ref:n},u,{as:r||"button"},w,{size:s,inline:l,paddingInline:Ds[s],normal:p.normal,hover:p.hover,active:p.active,borderRadius:$s[s],fontSize:Ls[s],height:As[s],color:o,disabled:u.disabled||m}),x,x&&y&&e.createElement(xs,{pr:.5}),y&&e.createElement(fs,{$textColor:a},y))})),Os={1955:"国民の祝日・休日月日,国民の祝日・休日名称\n1955/1/1,元日\n1955/1/15,成人の日\n1955/3/21,春分の日\n1955/4/29,天皇誕生日\n1955/5/3,憲法記念日\n1955/5/5,こどもの日\n1955/9/24,秋分の日\n1955/11/3,文化の日\n1955/11/23,勤労感謝の日",1956:"国民の祝日・休日月日,国民の祝日・休日名称\n1956/1/1,元日\n1956/1/15,成人の日\n1956/3/21,春分の日\n1956/4/29,天皇誕生日\n1956/5/3,憲法記念日\n1956/5/5,こどもの日\n1956/9/23,秋分の日\n1956/11/3,文化の日\n1956/11/23,勤労感謝の日",1957:"国民の祝日・休日月日,国民の祝日・休日名称\n1957/1/1,元日\n1957/1/15,成人の日\n1957/3/21,春分の日\n1957/4/29,天皇誕生日\n1957/5/3,憲法記念日\n1957/5/5,こどもの日\n1957/9/23,秋分の日\n1957/11/3,文化の日\n1957/11/23,勤労感謝の日",1958:"国民の祝日・休日月日,国民の祝日・休日名称\n1958/1/1,元日\n1958/1/15,成人の日\n1958/3/21,春分の日\n1958/4/29,天皇誕生日\n1958/5/3,憲法記念日\n1958/5/5,こどもの日\n1958/9/23,秋分の日\n1958/11/3,文化の日\n1958/11/23,勤労感謝の日",1959:"国民の祝日・休日月日,国民の祝日・休日名称\n1959/1/1,元日\n1959/1/15,成人の日\n1959/3/21,春分の日\n1959/4/10,結婚の儀\n1959/4/29,天皇誕生日\n1959/5/3,憲法記念日\n1959/5/5,こどもの日\n1959/9/24,秋分の日\n1959/11/3,文化の日\n1959/11/23,勤労感謝の日",1960:"国民の祝日・休日月日,国民の祝日・休日名称\n1960/1/1,元日\n1960/1/15,成人の日\n1960/3/20,春分の日\n1960/4/29,天皇誕生日\n1960/5/3,憲法記念日\n1960/5/5,こどもの日\n1960/9/23,秋分の日\n1960/11/3,文化の日\n1960/11/23,勤労感謝の日",1961:"国民の祝日・休日月日,国民の祝日・休日名称\n1961/1/1,元日\n1961/1/15,成人の日\n1961/3/21,春分の日\n1961/4/29,天皇誕生日\n1961/5/3,憲法記念日\n1961/5/5,こどもの日\n1961/9/23,秋分の日\n1961/11/3,文化の日\n1961/11/23,勤労感謝の日",1962:"国民の祝日・休日月日,国民の祝日・休日名称\n1962/1/1,元日\n1962/1/15,成人の日\n1962/3/21,春分の日\n1962/4/29,天皇誕生日\n1962/5/3,憲法記念日\n1962/5/5,こどもの日\n1962/9/23,秋分の日\n1962/11/3,文化の日\n1962/11/23,勤労感謝の日",1963:"国民の祝日・休日月日,国民の祝日・休日名称\n1963/1/1,元日\n1963/1/15,成人の日\n1963/3/21,春分の日\n1963/4/29,天皇誕生日\n1963/5/3,憲法記念日\n1963/5/5,こどもの日\n1963/9/24,秋分の日\n1963/11/3,文化の日\n1963/11/23,勤労感謝の日",1964:"国民の祝日・休日月日,国民の祝日・休日名称\n1964/1/1,元日\n1964/1/15,成人の日\n1964/3/20,春分の日\n1964/4/29,天皇誕生日\n1964/5/3,憲法記念日\n1964/5/5,こどもの日\n1964/9/23,秋分の日\n1964/11/3,文化の日\n1964/11/23,勤労感謝の日",1965:"国民の祝日・休日月日,国民の祝日・休日名称\n1965/1/1,元日\n1965/1/15,成人の日\n1965/3/21,春分の日\n1965/4/29,天皇誕生日\n1965/5/3,憲法記念日\n1965/5/5,こどもの日\n1965/9/23,秋分の日\n1965/11/3,文化の日\n1965/11/23,勤労感謝の日",1966:"国民の祝日・休日月日,国民の祝日・休日名称\n1966/1/1,元日\n1966/1/15,成人の日\n1966/3/21,春分の日\n1966/4/29,天皇誕生日\n1966/5/3,憲法記念日\n1966/5/5,こどもの日\n1966/9/15,敬老の日\n1966/9/23,秋分の日\n1966/10/10,体育の日\n1966/11/3,文化の日\n1966/11/23,勤労感謝の日",1967:"国民の祝日・休日月日,国民の祝日・休日名称\n1967/1/1,元日\n1967/1/15,成人の日\n1967/2/11,建国記念の日\n1967/3/21,春分の日\n1967/4/29,天皇誕生日\n1967/5/3,憲法記念日\n1967/5/5,こどもの日\n1967/9/15,敬老の日\n1967/9/24,秋分の日\n1967/10/10,体育の日\n1967/11/3,文化の日\n1967/11/23,勤労感謝の日",1968:"国民の祝日・休日月日,国民の祝日・休日名称\n1968/1/1,元日\n1968/1/15,成人の日\n1968/2/11,建国記念の日\n1968/3/20,春分の日\n1968/4/29,天皇誕生日\n1968/5/3,憲法記念日\n1968/5/5,こどもの日\n1968/9/15,敬老の日\n1968/9/23,秋分の日\n1968/10/10,体育の日\n1968/11/3,文化の日\n1968/11/23,勤労感謝の日",1969:"国民の祝日・休日月日,国民の祝日・休日名称\n1969/1/1,元日\n1969/1/15,成人の日\n1969/2/11,建国記念の日\n1969/3/21,春分の日\n1969/4/29,天皇誕生日\n1969/5/3,憲法記念日\n1969/5/5,こどもの日\n1969/9/15,敬老の日\n1969/9/23,秋分の日\n1969/10/10,体育の日\n1969/11/3,文化の日\n1969/11/23,勤労感謝の日",1970:"国民の祝日・休日月日,国民の祝日・休日名称\n1970/1/1,元日\n1970/1/15,成人の日\n1970/2/11,建国記念の日\n1970/3/21,春分の日\n1970/4/29,天皇誕生日\n1970/5/3,憲法記念日\n1970/5/5,こどもの日\n1970/9/15,敬老の日\n1970/9/23,秋分の日\n1970/10/10,体育の日\n1970/11/3,文化の日\n1970/11/23,勤労感謝の日",1971:"国民の祝日・休日月日,国民の祝日・休日名称\n1971/1/1,元日\n1971/1/15,成人の日\n1971/2/11,建国記念の日\n1971/3/21,春分の日\n1971/4/29,天皇誕生日\n1971/5/3,憲法記念日\n1971/5/5,こどもの日\n1971/9/15,敬老の日\n1971/9/24,秋分の日\n1971/10/10,体育の日\n1971/11/3,文化の日\n1971/11/23,勤労感謝の日",1972:"国民の祝日・休日月日,国民の祝日・休日名称\n1972/1/1,元日\n1972/1/15,成人の日\n1972/2/11,建国記念の日\n1972/3/20,春分の日\n1972/4/29,天皇誕生日\n1972/5/3,憲法記念日\n1972/5/5,こどもの日\n1972/9/15,敬老の日\n1972/9/23,秋分の日\n1972/10/10,体育の日\n1972/11/3,文化の日\n1972/11/23,勤労感謝の日",1973:"国民の祝日・休日月日,国民の祝日・休日名称\n1973/1/1,元日\n1973/1/15,成人の日\n1973/2/11,建国記念の日\n1973/3/21,春分の日\n1973/4/29,天皇誕生日\n1973/4/30,休日\n1973/5/3,憲法記念日\n1973/5/5,こどもの日\n1973/9/15,敬老の日\n1973/9/23,秋分の日\n1973/9/24,休日\n1973/10/10,体育の日\n1973/11/3,文化の日\n1973/11/23,勤労感謝の日",1974:"国民の祝日・休日月日,国民の祝日・休日名称\n1974/1/1,元日\n1974/1/15,成人の日\n1974/2/11,建国記念の日\n1974/3/21,春分の日\n1974/4/29,天皇誕生日\n1974/5/3,憲法記念日\n1974/5/5,こどもの日\n1974/5/6,休日\n1974/9/15,敬老の日\n1974/9/16,休日\n1974/9/23,秋分の日\n1974/10/10,体育の日\n1974/11/3,文化の日\n1974/11/4,休日\n1974/11/23,勤労感謝の日",1975:"国民の祝日・休日月日,国民の祝日・休日名称\n1975/1/1,元日\n1975/1/15,成人の日\n1975/2/11,建国記念の日\n1975/3/21,春分の日\n1975/4/29,天皇誕生日\n1975/5/3,憲法記念日\n1975/5/5,こどもの日\n1975/9/15,敬老の日\n1975/9/24,秋分の日\n1975/10/10,体育の日\n1975/11/3,文化の日\n1975/11/23,勤労感謝の日\n1975/11/24,休日",1976:"国民の祝日・休日月日,国民の祝日・休日名称\n1976/1/1,元日\n1976/1/15,成人の日\n1976/2/11,建国記念の日\n1976/3/20,春分の日\n1976/4/29,天皇誕生日\n1976/5/3,憲法記念日\n1976/5/5,こどもの日\n1976/9/15,敬老の日\n1976/9/23,秋分の日\n1976/10/10,体育の日\n1976/10/11,休日\n1976/11/3,文化の日\n1976/11/23,勤労感謝の日",1977:"国民の祝日・休日月日,国民の祝日・休日名称\n1977/1/1,元日\n1977/1/15,成人の日\n1977/2/11,建国記念の日\n1977/3/21,春分の日\n1977/4/29,天皇誕生日\n1977/5/3,憲法記念日\n1977/5/5,こどもの日\n1977/9/15,敬老の日\n1977/9/23,秋分の日\n1977/10/10,体育の日\n1977/11/3,文化の日\n1977/11/23,勤労感謝の日",1978:"国民の祝日・休日月日,国民の祝日・休日名称\n1978/1/1,元日\n1978/1/2,休日\n1978/1/15,成人の日\n1978/1/16,休日\n1978/2/11,建国記念の日\n1978/3/21,春分の日\n1978/4/29,天皇誕生日\n1978/5/3,憲法記念日\n1978/5/5,こどもの日\n1978/9/15,敬老の日\n1978/9/23,秋分の日\n1978/10/10,体育の日\n1978/11/3,文化の日\n1978/11/23,勤労感謝の日",1979:"国民の祝日・休日月日,国民の祝日・休日名称\n1979/1/1,元日\n1979/1/15,成人の日\n1979/2/11,建国記念の日\n1979/2/12,休日\n1979/3/21,春分の日\n1979/4/29,天皇誕生日\n1979/4/30,休日\n1979/5/3,憲法記念日\n1979/5/5,こどもの日\n1979/9/15,敬老の日\n1979/9/24,秋分の日\n1979/10/10,体育の日\n1979/11/3,文化の日\n1979/11/23,勤労感謝の日",1980:"国民の祝日・休日月日,国民の祝日・休日名称\n1980/1/1,元日\n1980/1/15,成人の日\n1980/2/11,建国記念の日\n1980/3/20,春分の日\n1980/4/29,天皇誕生日\n1980/5/3,憲法記念日\n1980/5/5,こどもの日\n1980/9/15,敬老の日\n1980/9/23,秋分の日\n1980/10/10,体育の日\n1980/11/3,文化の日\n1980/11/23,勤労感謝の日\n1980/11/24,休日",1981:"国民の祝日・休日月日,国民の祝日・休日名称\n1981/1/1,元日\n1981/1/15,成人の日\n1981/2/11,建国記念の日\n1981/3/21,春分の日\n1981/4/29,天皇誕生日\n1981/5/3,憲法記念日\n1981/5/4,休日\n1981/5/5,こどもの日\n1981/9/15,敬老の日\n1981/9/23,秋分の日\n1981/10/10,体育の日\n1981/11/3,文化の日\n1981/11/23,勤労感謝の日",1982:"国民の祝日・休日月日,国民の祝日・休日名称\n1982/1/1,元日\n1982/1/15,成人の日\n1982/2/11,建国記念の日\n1982/3/21,春分の日\n1982/3/22,休日\n1982/4/29,天皇誕生日\n1982/5/3,憲法記念日\n1982/5/5,こどもの日\n1982/9/15,敬老の日\n1982/9/23,秋分の日\n1982/10/10,体育の日\n1982/10/11,休日\n1982/11/3,文化の日\n1982/11/23,勤労感謝の日",1983:"国民の祝日・休日月日,国民の祝日・休日名称\n1983/1/1,元日\n1983/1/15,成人の日\n1983/2/11,建国記念の日\n1983/3/21,春分の日\n1983/4/29,天皇誕生日\n1983/5/3,憲法記念日\n1983/5/5,こどもの日\n1983/9/15,敬老の日\n1983/9/23,秋分の日\n1983/10/10,体育の日\n1983/11/3,文化の日\n1983/11/23,勤労感謝の日",1984:"国民の祝日・休日月日,国民の祝日・休日名称\n1984/1/1,元日\n1984/1/2,休日\n1984/1/15,成人の日\n1984/1/16,休日\n1984/2/11,建国記念の日\n1984/3/20,春分の日\n1984/4/29,天皇誕生日\n1984/4/30,休日\n1984/5/3,憲法記念日\n1984/5/5,こどもの日\n1984/9/15,敬老の日\n1984/9/23,秋分の日\n1984/9/24,休日\n1984/10/10,体育の日\n1984/11/3,文化の日\n1984/11/23,勤労感謝の日",1985:"国民の祝日・休日月日,国民の祝日・休日名称\n1985/1/1,元日\n1985/1/15,成人の日\n1985/2/11,建国記念の日\n1985/3/21,春分の日\n1985/4/29,天皇誕生日\n1985/5/3,憲法記念日\n1985/5/5,こどもの日\n1985/5/6,休日\n1985/9/15,敬老の日\n1985/9/16,休日\n1985/9/23,秋分の日\n1985/10/10,体育の日\n1985/11/3,文化の日\n1985/11/4,休日\n1985/11/23,勤労感謝の日",1986:"国民の祝日・休日月日,国民の祝日・休日名称\n1986/1/1,元日\n1986/1/15,成人の日\n1986/2/11,建国記念の日\n1986/3/21,春分の日\n1986/4/29,天皇誕生日\n1986/5/3,憲法記念日\n1986/5/5,こどもの日\n1986/9/15,敬老の日\n1986/9/23,秋分の日\n1986/10/10,体育の日\n1986/11/3,文化の日\n1986/11/23,勤労感謝の日\n1986/11/24,休日",1987:"国民の祝日・休日月日,国民の祝日・休日名称\n1987/1/1,元日\n1987/1/15,成人の日\n1987/2/11,建国記念の日\n1987/3/21,春分の日\n1987/4/29,天皇誕生日\n1987/5/3,憲法記念日\n1987/5/4,休日\n1987/5/5,こどもの日\n1987/9/15,敬老の日\n1987/9/23,秋分の日\n1987/10/10,体育の日\n1987/11/3,文化の日\n1987/11/23,勤労感謝の日",1988:"国民の祝日・休日月日,国民の祝日・休日名称\n1988/1/1,元日\n1988/1/15,成人の日\n1988/2/11,建国記念の日\n1988/3/20,春分の日\n1988/3/21,休日\n1988/4/29,天皇誕生日\n1988/5/3,憲法記念日\n1988/5/4,休日\n1988/5/5,こどもの日\n1988/9/15,敬老の日\n1988/9/23,秋分の日\n1988/10/10,体育の日\n1988/11/3,文化の日\n1988/11/23,勤労感謝の日",1989:"国民の祝日・休日月日,国民の祝日・休日名称\n1989/1/1,元日\n1989/1/2,休日\n1989/1/15,成人の日\n1989/1/16,休日\n1989/2/11,建国記念の日\n1989/2/24,大喪の礼\n1989/3/21,春分の日\n1989/4/29,みどりの日\n1989/5/3,憲法記念日\n1989/5/4,休日\n1989/5/5,こどもの日\n1989/9/15,敬老の日\n1989/9/23,秋分の日\n1989/10/10,体育の日\n1989/11/3,文化の日\n1989/11/23,勤労感謝の日\n1989/12/23,天皇誕生日",1990:"国民の祝日・休日月日,国民の祝日・休日名称\n1990/1/1,元日\n1990/1/15,成人の日\n1990/2/11,建国記念の日\n1990/2/12,休日\n1990/3/21,春分の日\n1990/4/29,みどりの日\n1990/4/30,休日\n1990/5/3,憲法記念日\n1990/5/4,休日\n1990/5/5,こどもの日\n1990/9/15,敬老の日\n1990/9/23,秋分の日\n1990/9/24,休日\n1990/10/10,体育の日\n1990/11/3,文化の日\n1990/11/12,即位礼正殿の儀\n1990/11/23,勤労感謝の日\n1990/12/23,天皇誕生日\n1990/12/24,休日",1991:"国民の祝日・休日月日,国民の祝日・休日名称\n1991/1/1,元日\n1991/1/15,成人の日\n1991/2/11,建国記念の日\n1991/3/21,春分の日\n1991/4/29,みどりの日\n1991/5/3,憲法記念日\n1991/5/4,休日\n1991/5/5,こどもの日\n1991/5/6,休日\n1991/9/15,敬老の日\n1991/9/16,休日\n1991/9/23,秋分の日\n1991/10/10,体育の日\n1991/11/3,文化の日\n1991/11/4,休日\n1991/11/23,勤労感謝の日\n1991/12/23,天皇誕生日",1992:"国民の祝日・休日月日,国民の祝日・休日名称\n1992/1/1,元日\n1992/1/15,成人の日\n1992/2/11,建国記念の日\n1992/3/20,春分の日\n1992/4/29,みどりの日\n1992/5/3,憲法記念日\n1992/5/4,休日\n1992/5/5,こどもの日\n1992/9/15,敬老の日\n1992/9/23,秋分の日\n1992/10/10,体育の日\n1992/11/3,文化の日\n1992/11/23,勤労感謝の日\n1992/12/23,天皇誕生日",1993:"国民の祝日・休日月日,国民の祝日・休日名称\n1993/1/1,元日\n1993/1/15,成人の日\n1993/2/11,建国記念の日\n1993/3/20,春分の日\n1993/4/29,みどりの日\n1993/5/3,憲法記念日\n1993/5/4,休日\n1993/5/5,こどもの日\n1993/6/9,結婚の儀\n1993/9/15,敬老の日\n1993/9/23,秋分の日\n1993/10/10,体育の日\n1993/10/11,休日\n1993/11/3,文化の日\n1993/11/23,勤労感謝の日\n1993/12/23,天皇誕生日",1994:"国民の祝日・休日月日,国民の祝日・休日名称\n1994/1/1,元日\n1994/1/15,成人の日\n1994/2/11,建国記念の日\n1994/3/21,春分の日\n1994/4/29,みどりの日\n1994/5/3,憲法記念日\n1994/5/4,休日\n1994/5/5,こどもの日\n1994/9/15,敬老の日\n1994/9/23,秋分の日\n1994/10/10,体育の日\n1994/11/3,文化の日\n1994/11/23,勤労感謝の日\n1994/12/23,天皇誕生日",1995:"国民の祝日・休日月日,国民の祝日・休日名称\n1995/1/1,元日\n1995/1/2,休日\n1995/1/15,成人の日\n1995/1/16,休日\n1995/2/11,建国記念の日\n1995/3/21,春分の日\n1995/4/29,みどりの日\n1995/5/3,憲法記念日\n1995/5/4,休日\n1995/5/5,こどもの日\n1995/9/15,敬老の日\n1995/9/23,秋分の日\n1995/10/10,体育の日\n1995/11/3,文化の日\n1995/11/23,勤労感謝の日\n1995/12/23,天皇誕生日",1996:"国民の祝日・休日月日,国民の祝日・休日名称\n1996/1/1,元日\n1996/1/15,成人の日\n1996/2/11,建国記念の日\n1996/2/12,休日\n1996/3/20,春分の日\n1996/4/29,みどりの日\n1996/5/3,憲法記念日\n1996/5/4,休日\n1996/5/5,こどもの日\n1996/5/6,休日\n1996/7/20,海の日\n1996/9/15,敬老の日\n1996/9/16,休日\n1996/9/23,秋分の日\n1996/10/10,体育の日\n1996/11/3,文化の日\n1996/11/4,休日\n1996/11/23,勤労感謝の日\n1996/12/23,天皇誕生日",1997:"国民の祝日・休日月日,国民の祝日・休日名称\n1997/1/1,元日\n1997/1/15,成人の日\n1997/2/11,建国記念の日\n1997/3/20,春分の日\n1997/4/29,みどりの日\n1997/5/3,憲法記念日\n1997/5/5,こどもの日\n1997/7/20,海の日\n1997/7/21,休日\n1997/9/15,敬老の日\n1997/9/23,秋分の日\n1997/10/10,体育の日\n1997/11/3,文化の日\n1997/11/23,勤労感謝の日\n1997/11/24,休日\n1997/12/23,天皇誕生日",1998:"国民の祝日・休日月日,国民の祝日・休日名称\n1998/1/1,元日\n1998/1/15,成人の日\n1998/2/11,建国記念の日\n1998/3/21,春分の日\n1998/4/29,みどりの日\n1998/5/3,憲法記念日\n1998/5/4,休日\n1998/5/5,こどもの日\n1998/7/20,海の日\n1998/9/15,敬老の日\n1998/9/23,秋分の日\n1998/10/10,体育の日\n1998/11/3,文化の日\n1998/11/23,勤労感謝の日\n1998/12/23,天皇誕生日",1999:"国民の祝日・休日月日,国民の祝日・休日名称\n1999/1/1,元日\n1999/1/15,成人の日\n1999/2/11,建国記念の日\n1999/3/21,春分の日\n1999/3/22,休日\n1999/4/29,みどりの日\n1999/5/3,憲法記念日\n1999/5/4,休日\n1999/5/5,こどもの日\n1999/7/20,海の日\n1999/9/15,敬老の日\n1999/9/23,秋分の日\n1999/10/10,体育の日\n1999/10/11,休日\n1999/11/3,文化の日\n1999/11/23,勤労感謝の日\n1999/12/23,天皇誕生日",2e3:"国民の祝日・休日月日,国民の祝日・休日名称\n2000/1/1,元日\n2000/1/10,成人の日\n2000/2/11,建国記念の日\n2000/3/20,春分の日\n2000/4/29,みどりの日\n2000/5/3,憲法記念日\n2000/5/4,休日\n2000/5/5,こどもの日\n2000/7/20,海の日\n2000/9/15,敬老の日\n2000/9/23,秋分の日\n2000/10/9,体育の日\n2000/11/3,文化の日\n2000/11/23,勤労感謝の日\n2000/12/23,天皇誕生日",2001:"国民の祝日・休日月日,国民の祝日・休日名称\n2001/1/1,元日\n2001/1/8,成人の日\n2001/2/11,建国記念の日\n2001/2/12,休日\n2001/3/20,春分の日\n2001/4/29,みどりの日\n2001/4/30,休日\n2001/5/3,憲法記念日\n2001/5/4,休日\n2001/5/5,こどもの日\n2001/7/20,海の日\n2001/9/15,敬老の日\n2001/9/23,秋分の日\n2001/9/24,休日\n2001/10/8,体育の日\n2001/11/3,文化の日\n2001/11/23,勤労感謝の日\n2001/12/23,天皇誕生日\n2001/12/24,休日",2002:"国民の祝日・休日月日,国民の祝日・休日名称\n2002/1/1,元日\n2002/1/14,成人の日\n2002/2/11,建国記念の日\n2002/3/21,春分の日\n2002/4/29,みどりの日\n2002/5/3,憲法記念日\n2002/5/4,休日\n2002/5/5,こどもの日\n2002/5/6,休日\n2002/7/20,海の日\n2002/9/15,敬老の日\n2002/9/16,休日\n2002/9/23,秋分の日\n2002/10/14,体育の日\n2002/11/3,文化の日\n2002/11/4,休日\n2002/11/23,勤労感謝の日\n2002/12/23,天皇誕生日",2003:"国民の祝日・休日月日,国民の祝日・休日名称\n2003/1/1,元日\n2003/1/13,成人の日\n2003/2/11,建国記念の日\n2003/3/21,春分の日\n2003/4/29,みどりの日\n2003/5/3,憲法記念日\n2003/5/5,こどもの日\n2003/7/21,海の日\n2003/9/15,敬老の日\n2003/9/23,秋分の日\n2003/10/13,体育の日\n2003/11/3,文化の日\n2003/11/23,勤労感謝の日\n2003/11/24,休日\n2003/12/23,天皇誕生日",2004:"国民の祝日・休日月日,国民の祝日・休日名称\n2004/1/1,元日\n2004/1/12,成人の日\n2004/2/11,建国記念の日\n2004/3/20,春分の日\n2004/4/29,みどりの日\n2004/5/3,憲法記念日\n2004/5/4,休日\n2004/5/5,こどもの日\n2004/7/19,海の日\n2004/9/20,敬老の日\n2004/9/23,秋分の日\n2004/10/11,体育の日\n2004/11/3,文化の日\n2004/11/23,勤労感謝の日\n2004/12/23,天皇誕生日",2005:"国民の祝日・休日月日,国民の祝日・休日名称\n2005/1/1,元日\n2005/1/10,成人の日\n2005/2/11,建国記念の日\n2005/3/20,春分の日\n2005/3/21,休日\n2005/4/29,みどりの日\n2005/5/3,憲法記念日\n2005/5/4,休日\n2005/5/5,こどもの日\n2005/7/18,海の日\n2005/9/19,敬老の日\n2005/9/23,秋分の日\n2005/10/10,体育の日\n2005/11/3,文化の日\n2005/11/23,勤労感謝の日\n2005/12/23,天皇誕生日",2006:"国民の祝日・休日月日,国民の祝日・休日名称\n2006/1/1,元日\n2006/1/2,休日\n2006/1/9,成人の日\n2006/2/11,建国記念の日\n2006/3/21,春分の日\n2006/4/29,みどりの日\n2006/5/3,憲法記念日\n2006/5/4,休日\n2006/5/5,こどもの日\n2006/7/17,海の日\n2006/9/18,敬老の日\n2006/9/23,秋分の日\n2006/10/9,体育の日\n2006/11/3,文化の日\n2006/11/23,勤労感謝の日\n2006/12/23,天皇誕生日",2007:"国民の祝日・休日月日,国民の祝日・休日名称\n2007/1/1,元日\n2007/1/8,成人の日\n2007/2/11,建国記念の日\n2007/2/12,休日\n2007/3/21,春分の日\n2007/4/29,昭和の日\n2007/4/30,休日\n2007/5/3,憲法記念日\n2007/5/4,みどりの日\n2007/5/5,こどもの日\n2007/7/16,海の日\n2007/9/17,敬老の日\n2007/9/23,秋分の日\n2007/9/24,休日\n2007/10/8,体育の日\n2007/11/3,文化の日\n2007/11/23,勤労感謝の日\n2007/12/23,天皇誕生日\n2007/12/24,休日",2008:"国民の祝日・休日月日,国民の祝日・休日名称\n2008/1/1,元日\n2008/1/14,成人の日\n2008/2/11,建国記念の日\n2008/3/20,春分の日\n2008/4/29,昭和の日\n2008/5/3,憲法記念日\n2008/5/4,みどりの日\n2008/5/5,こどもの日\n2008/5/6,休日\n2008/7/21,海の日\n2008/9/15,敬老の日\n2008/9/23,秋分の日\n2008/10/13,体育の日\n2008/11/3,文化の日\n2008/11/23,勤労感謝の日\n2008/11/24,休日\n2008/12/23,天皇誕生日",2009:"国民の祝日・休日月日,国民の祝日・休日名称\n2009/1/1,元日\n2009/1/12,成人の日\n2009/2/11,建国記念の日\n2009/3/20,春分の日\n2009/4/29,昭和の日\n2009/5/3,憲法記念日\n2009/5/4,みどりの日\n2009/5/5,こどもの日\n2009/5/6,休日\n2009/7/20,海の日\n2009/9/21,敬老の日\n2009/9/22,休日\n2009/9/23,秋分の日\n2009/10/12,体育の日\n2009/11/3,文化の日\n2009/11/23,勤労感謝の日\n2009/12/23,天皇誕生日",2010:"国民の祝日・休日月日,国民の祝日・休日名称\n2010/1/1,元日\n2010/1/11,成人の日\n2010/2/11,建国記念の日\n2010/3/21,春分の日\n2010/3/22,休日\n2010/4/29,昭和の日\n2010/5/3,憲法記念日\n2010/5/4,みどりの日\n2010/5/5,こどもの日\n2010/7/19,海の日\n2010/9/20,敬老の日\n2010/9/23,秋分の日\n2010/10/11,体育の日\n2010/11/3,文化の日\n2010/11/23,勤労感謝の日\n2010/12/23,天皇誕生日",2011:"国民の祝日・休日月日,国民の祝日・休日名称\n2011/1/1,元日\n2011/1/10,成人の日\n2011/2/11,建国記念の日\n2011/3/21,春分の日\n2011/4/29,昭和の日\n2011/5/3,憲法記念日\n2011/5/4,みどりの日\n2011/5/5,こどもの日\n2011/7/18,海の日\n2011/9/19,敬老の日\n2011/9/23,秋分の日\n2011/10/10,体育の日\n2011/11/3,文化の日\n2011/11/23,勤労感謝の日\n2011/12/23,天皇誕生日",2012:"国民の祝日・休日月日,国民の祝日・休日名称\n2012/1/1,元日\n2012/1/2,休日\n2012/1/9,成人の日\n2012/2/11,建国記念の日\n2012/3/20,春分の日\n2012/4/29,昭和の日\n2012/4/30,休日\n2012/5/3,憲法記念日\n2012/5/4,みどりの日\n2012/5/5,こどもの日\n2012/7/16,海の日\n2012/9/17,敬老の日\n2012/9/22,秋分の日\n2012/10/8,体育の日\n2012/11/3,文化の日\n2012/11/23,勤労感謝の日\n2012/12/23,天皇誕生日\n2012/12/24,休日",2013:"国民の祝日・休日月日,国民の祝日・休日名称\n2013/1/1,元日\n2013/1/14,成人の日\n2013/2/11,建国記念の日\n2013/3/20,春分の日\n2013/4/29,昭和の日\n2013/5/3,憲法記念日\n2013/5/4,みどりの日\n2013/5/5,こどもの日\n2013/5/6,休日\n2013/7/15,海の日\n2013/9/16,敬老の日\n2013/9/23,秋分の日\n2013/10/14,体育の日\n2013/11/3,文化の日\n2013/11/4,休日\n2013/11/23,勤労感謝の日\n2013/12/23,天皇誕生日",2014:"国民の祝日・休日月日,国民の祝日・休日名称\n2014/1/1,元日\n2014/1/13,成人の日\n2014/2/11,建国記念の日\n2014/3/21,春分の日\n2014/4/29,昭和の日\n2014/5/3,憲法記念日\n2014/5/4,みどりの日\n2014/5/5,こどもの日\n2014/5/6,休日\n2014/7/21,海の日\n2014/9/15,敬老の日\n2014/9/23,秋分の日\n2014/10/13,体育の日\n2014/11/3,文化の日\n2014/11/23,勤労感謝の日\n2014/11/24,休日\n2014/12/23,天皇誕生日",2015:"国民の祝日・休日月日,国民の祝日・休日名称\n2015/1/1,元日\n2015/1/12,成人の日\n2015/2/11,建国記念の日\n2015/3/21,春分の日\n2015/4/29,昭和の日\n2015/5/3,憲法記念日\n2015/5/4,みどりの日\n2015/5/5,こどもの日\n2015/5/6,休日\n2015/7/20,海の日\n2015/9/21,敬老の日\n2015/9/22,休日\n2015/9/23,秋分の日\n2015/10/12,体育の日\n2015/11/3,文化の日\n2015/11/23,勤労感謝の日\n2015/12/23,天皇誕生日",2016:"国民の祝日・休日月日,国民の祝日・休日名称\n2016/1/1,元日\n2016/1/11,成人の日\n2016/2/11,建国記念の日\n2016/3/20,春分の日\n2016/3/21,休日\n2016/4/29,昭和の日\n2016/5/3,憲法記念日\n2016/5/4,みどりの日\n2016/5/5,こどもの日\n2016/7/18,海の日\n2016/8/11,山の日\n2016/9/19,敬老の日\n2016/9/22,秋分の日\n2016/10/10,体育の日\n2016/11/3,文化の日\n2016/11/23,勤労感謝の日\n2016/12/23,天皇誕生日",2017:"国民の祝日・休日月日,国民の祝日・休日名称\n2017/1/1,元日\n2017/1/2,休日\n2017/1/9,成人の日\n2017/2/11,建国記念の日\n2017/3/20,春分の日\n2017/4/29,昭和の日\n2017/5/3,憲法記念日\n2017/5/4,みどりの日\n2017/5/5,こどもの日\n2017/7/17,海の日\n2017/8/11,山の日\n2017/9/18,敬老の日\n2017/9/23,秋分の日\n2017/10/9,体育の日\n2017/11/3,文化の日\n2017/11/23,勤労感謝の日\n2017/12/23,天皇誕生日",2018:"国民の祝日・休日月日,国民の祝日・休日名称\n2018/1/1,元日\n2018/1/8,成人の日\n2018/2/11,建国記念の日\n2018/2/12,休日\n2018/3/21,春分の日\n2018/4/29,昭和の日\n2018/4/30,休日\n2018/5/3,憲法記念日\n2018/5/4,みどりの日\n2018/5/5,こどもの日\n2018/7/16,海の日\n2018/8/11,山の日\n2018/9/17,敬老の日\n2018/9/23,秋分の日\n2018/9/24,休日\n2018/10/8,体育の日\n2018/11/3,文化の日\n2018/11/23,勤労感謝の日\n2018/12/23,天皇誕生日\n2018/12/24,休日",2019:"国民の祝日・休日月日,国民の祝日・休日名称\n2019/1/1,元日\n2019/1/14,成人の日\n2019/2/11,建国記念の日\n2019/3/21,春分の日\n2019/4/29,昭和の日\n2019/4/30,休日\n2019/5/1,休日(祝日扱い)\n2019/5/2,休日\n2019/5/3,憲法記念日\n2019/5/4,みどりの日\n2019/5/5,こどもの日\n2019/5/6,休日\n2019/7/15,海の日\n2019/8/11,山の日\n2019/8/12,休日\n2019/9/16,敬老の日\n2019/9/23,秋分の日\n2019/10/14,体育の日(スポーツの日)\n2019/10/22,休日(祝日扱い)\n2019/11/3,文化の日\n2019/11/4,休日\n2019/11/23,勤労感謝の日",2020:"国民の祝日・休日月日,国民の祝日・休日名称\n2020/1/1,元日\n2020/1/13,成人の日\n2020/2/11,建国記念の日\n2020/2/23,天皇誕生日\n2020/2/24,休日\n2020/3/20,春分の日\n2020/4/29,昭和の日\n2020/5/3,憲法記念日\n2020/5/4,みどりの日\n2020/5/5,こどもの日\n2020/5/6,休日\n2020/7/23,海の日\n2020/7/24,スポーツの日\n2020/8/10,山の日\n2020/9/21,敬老の日\n2020/9/22,秋分の日\n2020/11/3,文化の日\n2020/11/23,勤労感謝の日",2021:"国民の祝日・休日月日,国民の祝日・休日名称\n2021/1/1,元日\n2021/1/11,成人の日\n2021/2/11,建国記念の日\n2021/2/23,天皇誕生日\n2021/3/20,春分の日\n2021/4/29,昭和の日\n2021/5/3,憲法記念日\n2021/5/4,みどりの日\n2021/5/5,こどもの日\n2021/7/22,海の日\n2021/7/23,スポーツの日\n2021/8/8,山の日\n2021/8/9,休日\n2021/9/20,敬老の日\n2021/9/23,秋分の日\n2021/11/3,文化の日\n2021/11/23,勤労感謝の日",2022:"国民の祝日・休日月日,国民の祝日・休日名称\n2022/1/1,元日\n2022/1/10,成人の日\n2022/2/11,建国記念の日\n2022/2/23,天皇誕生日\n2022/3/21,春分の日\n2022/4/29,昭和の日\n2022/5/3,憲法記念日\n2022/5/4,みどりの日\n2022/5/5,こどもの日\n2022/7/18,海の日\n2022/8/11,山の日\n2022/9/19,敬老の日\n2022/9/23,秋分の日\n2022/10/10,スポーツの日\n2022/11/3,文化の日\n2022/11/23,勤労感謝の日",2023:"国民の祝日・休日月日,国民の祝日・休日名称\n2023/1/1,元日\n2023/1/2,休日\n2023/1/9,成人の日\n2023/2/11,建国記念の日\n2023/2/23,天皇誕生日\n2023/3/21,春分の日\n2023/4/29,昭和の日\n2023/5/3,憲法記念日\n2023/5/4,みどりの日\n2023/5/5,こどもの日\n2023/7/17,海の日\n2023/8/11,山の日\n2023/9/18,敬老の日\n2023/9/23,秋分の日\n2023/10/9,スポーツの日\n2023/11/3,文化の日\n2023/11/23,勤労感謝の日",2024:"国民の祝日・休日月日,国民の祝日・休日名称\n2024/1/1,元日\n2024/1/8,成人の日\n2024/2/11,建国記念の日\n2024/2/12,休日\n2024/2/23,天皇誕生日\n2024/3/20,春分の日\n2024/4/29,昭和の日\n2024/5/3,憲法記念日\n2024/5/4,みどりの日\n2024/5/5,こどもの日\n2024/5/6,休日\n2024/7/15,海の日\n2024/8/11,山の日\n2024/8/12,休日\n2024/9/16,敬老の日\n2024/9/22,秋分の日\n2024/9/23,休日\n2024/10/14,スポーツの日\n2024/11/3,文化の日\n2024/11/4,休日\n2024/11/23,勤労感謝の日",2025:"国民の祝日・休日月日,国民の祝日・休日名称\n2025/1/1,元日\n2025/1/13,成人の日\n2025/2/11,建国記念の日\n2025/2/23,天皇誕生日\n2025/2/24,休日\n2025/3/20,春分の日\n2025/4/29,昭和の日\n2025/5/3,憲法記念日\n2025/5/4,みどりの日\n2025/5/5,こどもの日\n2025/5/6,休日\n2025/7/21,海の日\n2025/8/11,山の日\n2025/9/15,敬老の日\n2025/9/23,秋分の日\n2025/10/13,スポーツの日\n2025/11/3,文化の日\n2025/11/23,勤労感謝の日\n2025/11/24,休日",2026:"国民の祝日・休日月日,国民の祝日・休日名称\n2026/1/1,元日\n2026/1/12,成人の日\n2026/2/11,建国記念の日\n2026/2/23,天皇誕生日\n2026/3/20,春分の日\n2026/4/29,昭和の日\n2026/5/3,憲法記念日\n2026/5/4,みどりの日\n2026/5/5,こどもの日\n2026/5/6,休日\n2026/7/20,海の日\n2026/8/11,山の日\n2026/9/21,敬老の日\n2026/9/22,休日\n2026/9/23,秋分の日\n2026/10/12,スポーツの日\n2026/11/3,文化の日\n2026/11/23,勤労感謝の日",2027:"国民の祝日・休日月日,国民の祝日・休日名称\n2027/1/1,元日\n2027/1/11,成人の日\n2027/2/11,建国記念の日\n2027/2/23,天皇誕生日\n2027/3/21,春分の日\n2027/3/22,休日\n2027/4/29,昭和の日\n2027/5/3,憲法記念日\n2027/5/4,みどりの日\n2027/5/5,こどもの日\n2027/7/19,海の日\n2027/8/11,山の日\n2027/9/20,敬老の日\n2027/9/23,秋分の日\n2027/10/11,スポーツの日\n2027/11/3,文化の日\n2027/11/23,勤労感謝の日"},Vs={},Hs=e=>{const t=e||(new Date).getFullYear(),n=t.toString();if(Vs[n])return Vs[n];const r=(e=>{const t=(e||(new Date).getFullYear()).toString();return Os[t]?Os[t]:"国民の祝日・休日月日,国民の祝日・休日名称"})(t),i=r.split("\n"),o=[];for(let e=1;e<i.length;e++){const t=i[e].trim();if(t){const[e,n]=t.split(",");e&&n&&o.push({date:e.trim(),name:n.trim()})}}return Vs[n]=o,o};var Ns="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Rs=[],Ts=[],Zs="undefined"!=typeof Uint8Array?Uint8Array:Array,zs=!1;function Bs(){zs=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Rs[t]=e[t],Ts[e.charCodeAt(t)]=t;Ts["-".charCodeAt(0)]=62,Ts["_".charCodeAt(0)]=63}function _s(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Rs[(i=r)>>18&63]+Rs[i>>12&63]+Rs[i>>6&63]+Rs[63&i]);return o.join("")}function Ps(e){var t;zs||Bs();for(var n=e.length,r=n%3,i="",o=[],a=16383,l=0,s=n-r;l<s;l+=a)o.push(_s(e,l,l+a>s?s:l+a));return 1===r?(t=e[n-1],i+=Rs[t>>2],i+=Rs[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Rs[t>>10],i+=Rs[t>>4&63],i+=Rs[t<<2&63],i+="="),o.push(i),o.join("")}function Fs(e,t,n,r,i){var o,a,l=8*i-r-1,s=(1<<l)-1,c=s>>1,d=-7,u=n?i-1:0,p=n?-1:1,m=e[t+u];for(u+=p,o=m&(1<<-d)-1,m>>=-d,d+=l;d>0;o=256*o+e[t+u],u+=p,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=r;d>0;a=256*a+e[t+u],u+=p,d-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,r),o-=c}return(m?-1:1)*a*Math.pow(2,o-r)}function Gs(e,t,n,r,i,o){var a,l,s,c=8*o-i-1,d=(1<<c)-1,u=d>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,m=r?0:o-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+u>=1?p/s:p*Math.pow(2,1-u))*s>=2&&(a++,s/=2),a+u>=d?(l=0,a=d):a+u>=1?(l=(t*s-1)*Math.pow(2,i),a+=u):(l=t*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;e[n+m]=255&l,m+=h,l/=256,i-=8);for(a=a<<i|l,c+=i;c>0;e[n+m]=255&a,m+=h,a/=256,c-=8);e[n+m-h]|=128*g}var js={}.toString,Ws=Array.isArray||function(e){return"[object Array]"==js.call(e)};function Ys(){return Js.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Xs(e,t){if(Ys()<t)throw new RangeError("Invalid typed array length");return Js.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Js.prototype:(null===e&&(e=new Js(t)),e.length=t),e}function Js(e,t,n){if(!(Js.TYPED_ARRAY_SUPPORT||this instanceof Js))return new Js(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return qs(this,e)}return Us(this,e,t,n)}function Us(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);Js.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Js.prototype:e=Ks(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!Js.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|nc(t,n);e=Xs(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(tc(t)){var n=0|ec(t.length);return 0===(e=Xs(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Xs(e,0):Ks(e,t);if("Buffer"===t.type&&Ws(t.data))return Ks(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Qs(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function qs(e,t){if(Qs(t),e=Xs(e,t<0?0:0|ec(t)),!Js.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Ks(e,t){var n=t.length<0?0:0|ec(t.length);e=Xs(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function ec(e){if(e>=Ys())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ys().toString(16)+" bytes");return 0|e}function tc(e){return!(null==e||!e._isBuffer)}function nc(e,t){if(tc(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $c(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Dc(e).length;default:if(r)return $c(e).length;t=(""+t).toLowerCase(),r=!0}}function rc(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return vc(this,t,n);case"utf8":case"utf-8":return hc(this,t,n);case"ascii":return fc(this,t,n);case"latin1":case"binary":return bc(this,t,n);case"base64":return mc(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xc(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function ic(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function oc(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Js.from(t,r)),tc(t))return 0===t.length?-1:ac(e,t,n,r,i);if("number"==typeof t)return t&=255,Js.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):ac(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function ac(e,t,n,r,i){var o,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var d=-1;for(o=n;o<l;o++)if(c(e,o)===c(t,-1===d?0:o-d)){if(-1===d&&(d=o),o-d+1===s)return d*a}else-1!==d&&(o-=o-d),d=-1}else for(n+s>l&&(n=l-s),o=n;o>=0;o--){for(var u=!0,p=0;p<s;p++)if(c(e,o+p)!==c(t,p)){u=!1;break}if(u)return o}return-1}function lc(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var l=parseInt(t.substr(2*a,2),16);if(isNaN(l))return a;e[n+a]=l}return a}function sc(e,t,n,r){return Sc($c(t,e.length-n),e,n,r)}function cc(e,t,n,r){return Sc(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function dc(e,t,n,r){return cc(e,t,n,r)}function uc(e,t,n,r){return Sc(Dc(t),e,n,r)}function pc(e,t,n,r){return Sc(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function mc(e,t,n){return 0===t&&n===e.length?Ps(e):Ps(e.slice(t,n))}function hc(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,l,s,c=e[i],d=null,u=c>239?4:c>223?3:c>191?2:1;if(i+u<=n)switch(u){case 1:c<128&&(d=c);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&c)<<6|63&o)>127&&(d=s);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(d=s);break;case 4:o=e[i+1],a=e[i+2],l=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&l)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(d=s)}null===d?(d=65533,u=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),i+=u}return function(e){var t=e.length;if(t<=gc)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=gc));return n}(r)}Js.TYPED_ARRAY_SUPPORT=void 0===Ns.TYPED_ARRAY_SUPPORT||Ns.TYPED_ARRAY_SUPPORT,Ys(),Js.poolSize=8192,Js._augment=function(e){return e.__proto__=Js.prototype,e},Js.from=function(e,t,n){return Us(null,e,t,n)},Js.TYPED_ARRAY_SUPPORT&&(Js.prototype.__proto__=Uint8Array.prototype,Js.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Js[Symbol.species]),Js.alloc=function(e,t,n){return function(e,t,n,r){return Qs(t),t<=0?Xs(e,t):void 0!==n?"string"==typeof r?Xs(e,t).fill(n,r):Xs(e,t).fill(n):Xs(e,t)}(null,e,t,n)},Js.allocUnsafe=function(e){return qs(null,e)},Js.allocUnsafeSlow=function(e){return qs(null,e)},Js.isBuffer=Oc,Js.compare=function(e,t){if(!tc(e)||!tc(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},Js.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Js.concat=function(e,t){if(!Ws(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Js.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Js.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!tc(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},Js.byteLength=nc,Js.prototype._isBuffer=!0,Js.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ic(this,t,t+1);return this},Js.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ic(this,t,t+3),ic(this,t+1,t+2);return this},Js.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ic(this,t,t+7),ic(this,t+1,t+6),ic(this,t+2,t+5),ic(this,t+3,t+4);return this},Js.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?hc(this,0,e):rc.apply(this,arguments)},Js.prototype.equals=function(e){if(!tc(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Js.compare(this,e)},Js.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Js.prototype.compare=function(e,t,n,r,i){if(!tc(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(o,a),s=this.slice(r,i),c=e.slice(t,n),d=0;d<l;++d)if(s[d]!==c[d]){o=s[d],a=c[d];break}return o<a?-1:a<o?1:0},Js.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Js.prototype.indexOf=function(e,t,n){return oc(this,e,t,n,!0)},Js.prototype.lastIndexOf=function(e,t,n){return oc(this,e,t,n,!1)},Js.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return lc(this,e,t,n);case"utf8":case"utf-8":return sc(this,e,t,n);case"ascii":return cc(this,e,t,n);case"latin1":case"binary":return dc(this,e,t,n);case"base64":return uc(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pc(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Js.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var gc=4096;function fc(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function bc(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function vc(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=Lc(e[o]);return i}function xc(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function yc(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function wc(e,t,n,r,i,o){if(!tc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Cc(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Ec(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function Ic(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function kc(e,t,n,r,i){return i||Ic(e,0,n,4),Gs(e,t,n,r,23,4),n+4}function Mc(e,t,n,r,i){return i||Ic(e,0,n,8),Gs(e,t,n,r,52,8),n+8}Js.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),Js.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Js.prototype;else{var i=t-e;n=new Js(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},Js.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},Js.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},Js.prototype.readUInt8=function(e,t){return t||yc(e,1,this.length),this[e]},Js.prototype.readUInt16LE=function(e,t){return t||yc(e,2,this.length),this[e]|this[e+1]<<8},Js.prototype.readUInt16BE=function(e,t){return t||yc(e,2,this.length),this[e]<<8|this[e+1]},Js.prototype.readUInt32LE=function(e,t){return t||yc(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Js.prototype.readUInt32BE=function(e,t){return t||yc(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Js.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},Js.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||yc(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Js.prototype.readInt8=function(e,t){return t||yc(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Js.prototype.readInt16LE=function(e,t){t||yc(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Js.prototype.readInt16BE=function(e,t){t||yc(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Js.prototype.readInt32LE=function(e,t){return t||yc(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Js.prototype.readInt32BE=function(e,t){return t||yc(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Js.prototype.readFloatLE=function(e,t){return t||yc(e,4,this.length),Fs(this,e,!0,23,4)},Js.prototype.readFloatBE=function(e,t){return t||yc(e,4,this.length),Fs(this,e,!1,23,4)},Js.prototype.readDoubleLE=function(e,t){return t||yc(e,8,this.length),Fs(this,e,!0,52,8)},Js.prototype.readDoubleBE=function(e,t){return t||yc(e,8,this.length),Fs(this,e,!1,52,8)},Js.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||wc(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},Js.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||wc(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Js.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,1,255,0),Js.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Js.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,65535,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Cc(this,e,t,!0),t+2},Js.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,65535,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Cc(this,e,t,!1),t+2},Js.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,4294967295,0),Js.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ec(this,e,t,!0),t+4},Js.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,4294967295,0),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ec(this,e,t,!1),t+4},Js.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);wc(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===l&&0!==this[t+o-1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},Js.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);wc(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},Js.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,1,127,-128),Js.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Js.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,32767,-32768),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Cc(this,e,t,!0),t+2},Js.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,2,32767,-32768),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Cc(this,e,t,!1),t+2},Js.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,2147483647,-2147483648),Js.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ec(this,e,t,!0),t+4},Js.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||wc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Js.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ec(this,e,t,!1),t+4},Js.prototype.writeFloatLE=function(e,t,n){return kc(this,e,t,!0,n)},Js.prototype.writeFloatBE=function(e,t,n){return kc(this,e,t,!1,n)},Js.prototype.writeDoubleLE=function(e,t,n){return Mc(this,e,t,!0,n)},Js.prototype.writeDoubleBE=function(e,t,n){return Mc(this,e,t,!1,n)},Js.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Js.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},Js.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Js.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=tc(e)?e:$c(new Js(e,r).toString()),l=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%l]}return this};var Ac=/[^+\/0-9A-Za-z-_]/g;function Lc(e){return e<16?"0"+e.toString(16):e.toString(16)}function $c(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Dc(e){return function(e){var t,n,r,i,o,a;zs||Bs();var l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[l-2]?2:"="===e[l-1]?1:0,a=new Zs(3*l/4-o),r=o>0?l-4:l;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Ts[e.charCodeAt(t)]<<18|Ts[e.charCodeAt(t+1)]<<12|Ts[e.charCodeAt(t+2)]<<6|Ts[e.charCodeAt(t+3)],a[s++]=i>>16&255,a[s++]=i>>8&255,a[s++]=255&i;return 2===o?(i=Ts[e.charCodeAt(t)]<<2|Ts[e.charCodeAt(t+1)]>>4,a[s++]=255&i):1===o&&(i=Ts[e.charCodeAt(t)]<<10|Ts[e.charCodeAt(t+1)]<<4|Ts[e.charCodeAt(t+2)]>>2,a[s++]=i>>8&255,a[s++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ac,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Sc(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Oc(e){return null!=e&&(!!e._isBuffer||Vc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Vc(e.slice(0,0))}(e))}function Vc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}class Hc extends Error{constructor(e,t,n,...r){Array.isArray(t)&&(t=t.join(" ").trim()),super(t),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,Hc),this.code=e;for(const e of r)for(const t in e){const r=e[t];this[t]=Oc(r)?r.toString(n.encoding):null==r?r:JSON.parse(JSON.stringify(r))}}}const Nc=function(e){const t=[];for(let r=0,i=e.length;r<i;r++){const i=e[r];if(null==i||!1===i)t[r]={disabled:!0};else if("string"==typeof i)t[r]={name:i};else{if("object"!=typeof(n=i)||null===n||Array.isArray(n))throw new Hc("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(i)} at position ${r}`]);if("string"!=typeof i.name)throw new Hc("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=i}}var n;return t};class Rc{constructor(e=100){this.size=e,this.length=0,this.buf=Js.allocUnsafe(e)}prepend(e){if(Oc(e)){const t=this.length+e.length;if(t>=this.size&&(this.resize(),t>=this.size))throw Error("INVALID_BUFFER_STATE");const n=this.buf;this.buf=Js.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{const t=this.length++;t===this.size&&this.resize();const n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,t)}}append(e){const t=this.length++;t===this.size&&this.resize(),this.buf[t]=e}clone(){return Js.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=2*this.size;const t=Js.allocUnsafe(this.size);this.buf.copy(t,0,0,e),this.buf=t}toString(e){return e?this.buf.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const Tc=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:Oc(e.escape)&&Oc(e.quote)&&0===Js.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new Rc(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map((e=>e.length)),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Rc(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map((e=>e.length))),trimChars:[Js.from(" ",e.encoding)[0],Js.from("\t",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Js.from(Js.from([13],"utf8").toString(),e.encoding),Js.from(Js.from([10],"utf8").toString(),e.encoding),Js.from(Js.from([12],"utf8").toString(),e.encoding),Js.from(Js.from([32],"utf8").toString(),e.encoding),Js.from(Js.from([9],"utf8").toString(),e.encoding)]}},Zc=function(e){const t={};for(const r in e)t[(n=r,n.replace(/([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})))]=e[r];var n;if(void 0===t.encoding||!0===t.encoding)t.encoding="utf8";else if(null===t.encoding||!1===t.encoding)t.encoding=null;else if("string"!=typeof t.encoding&&null!==t.encoding)throw new Hc("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(void 0===t.bom||null===t.bom||!1===t.bom)t.bom=!1;else if(!0!==t.bom)throw new Hc("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,void 0===t.cast||null===t.cast||!1===t.cast||""===t.cast)t.cast=void 0;else if("function"==typeof t.cast)t.cast_function=t.cast,t.cast=!0;else if(!0!==t.cast)throw new Hc("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(void 0===t.cast_date||null===t.cast_date||!1===t.cast_date||""===t.cast_date)t.cast_date=!1;else if(!0===t.cast_date)t.cast_date=function(e){const t=Date.parse(e);return isNaN(t)?e:new Date(t)};else if("function"!=typeof t.cast_date)throw new Hc("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=void 0,!0===t.columns)t.cast_first_line_to_header=void 0;else if("function"==typeof t.columns)t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=Nc(t.columns);else{if(void 0!==t.columns&&null!==t.columns&&!1!==t.columns)throw new Hc("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);t.columns=!1}if(void 0===t.group_columns_by_name||null===t.group_columns_by_name||!1===t.group_columns_by_name)t.group_columns_by_name=!1;else{if(!0!==t.group_columns_by_name)throw new Hc("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(!1===t.columns)throw new Hc("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(void 0===t.comment||null===t.comment||!1===t.comment||""===t.comment)t.comment=null;else if("string"==typeof t.comment&&(t.comment=Js.from(t.comment,t.encoding)),!Oc(t.comment))throw new Hc("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(void 0===t.comment_no_infix||null===t.comment_no_infix||!1===t.comment_no_infix)t.comment_no_infix=!1;else if(!0!==t.comment_no_infix)throw new Hc("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);const r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),0===t.delimiter.length)throw new Hc("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map((function(e){if(null==e||!1===e)return Js.from(",",t.encoding);if("string"==typeof e&&(e=Js.from(e,t.encoding)),!Oc(e)||0===e.length)throw new Hc("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return e})),void 0===t.escape||!0===t.escape?t.escape=Js.from('"',t.encoding):"string"==typeof t.escape?t.escape=Js.from(t.escape,t.encoding):null!==t.escape&&!1!==t.escape||(t.escape=null),null!==t.escape&&!Oc(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(void 0===t.from||null===t.from)t.from=1;else{if("string"==typeof t.from&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),!Number.isInteger(t.from))throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}if(void 0===t.from_line||null===t.from_line)t.from_line=1;else{if("string"==typeof t.from_line&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),!Number.isInteger(t.from_line))throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}if(void 0===t.ignore_last_delimiters||null===t.ignore_last_delimiters)t.ignore_last_delimiters=!1;else if("number"==typeof t.ignore_last_delimiters)t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),0===t.ignore_last_delimiters&&(t.ignore_last_delimiters=!1);else if("boolean"!=typeof t.ignore_last_delimiters)throw new Hc("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(!0===t.ignore_last_delimiters&&!1===t.columns)throw new Hc("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(void 0===t.info||null===t.info||!1===t.info)t.info=!1;else if(!0!==t.info)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(void 0===t.max_record_size||null===t.max_record_size||!1===t.max_record_size)t.max_record_size=0;else if(Number.isInteger(t.max_record_size)&&t.max_record_size>=0);else{if("string"!=typeof t.max_record_size||!/\d+/.test(t.max_record_size))throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);t.max_record_size=parseInt(t.max_record_size)}if(void 0===t.objname||null===t.objname||!1===t.objname)t.objname=void 0;else if(Oc(t.objname)){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty buffer");null===t.encoding||(t.objname=t.objname.toString(t.encoding))}else if("string"==typeof t.objname){if(0===t.objname.length)throw new Error("Invalid Option: objname must be a non empty string")}else if("number"!=typeof t.objname)throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(void 0!==t.objname)if("number"==typeof t.objname){if(!1!==t.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===t.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index");if(void 0===t.on_record||null===t.on_record)t.on_record=void 0;else if("function"!=typeof t.on_record)throw new Hc("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(void 0!==t.on_skip&&null!==t.on_skip&&"function"!=typeof t.on_skip)throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(null===t.quote||!1===t.quote||""===t.quote)t.quote=null;else if(void 0===t.quote||!0===t.quote?t.quote=Js.from('"',t.encoding):"string"==typeof t.quote&&(t.quote=Js.from(t.quote,t.encoding)),!Oc(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(void 0===t.raw||null===t.raw||!1===t.raw)t.raw=!1;else if(!0!==t.raw)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(void 0===t.record_delimiter)t.record_delimiter=[];else if("string"==typeof t.record_delimiter||Oc(t.record_delimiter)){if(0===t.record_delimiter.length)throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map((function(e,n){if("string"!=typeof e&&!Oc(e))throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);if(0===e.length)throw new Hc("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(e)}`],t);return"string"==typeof e&&(e=Js.from(e,t.encoding)),e})),"boolean"==typeof t.relax_column_count);else{if(void 0!==t.relax_column_count&&null!==t.relax_column_count)throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);t.relax_column_count=!1}if("boolean"==typeof t.relax_column_count_less);else{if(void 0!==t.relax_column_count_less&&null!==t.relax_column_count_less)throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);t.relax_column_count_less=!1}if("boolean"==typeof t.relax_column_count_more);else{if(void 0!==t.relax_column_count_more&&null!==t.relax_column_count_more)throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);t.relax_column_count_more=!1}if("boolean"==typeof t.relax_quotes);else{if(void 0!==t.relax_quotes&&null!==t.relax_quotes)throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);t.relax_quotes=!1}if("boolean"==typeof t.skip_empty_lines);else{if(void 0!==t.skip_empty_lines&&null!==t.skip_empty_lines)throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);t.skip_empty_lines=!1}if("boolean"==typeof t.skip_records_with_empty_values);else{if(void 0!==t.skip_records_with_empty_values&&null!==t.skip_records_with_empty_values)throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);t.skip_records_with_empty_values=!1}if("boolean"==typeof t.skip_records_with_error);else{if(void 0!==t.skip_records_with_error&&null!==t.skip_records_with_error)throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);t.skip_records_with_error=!1}if(void 0===t.rtrim||null===t.rtrim||!1===t.rtrim)t.rtrim=!1;else if(!0!==t.rtrim)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(void 0===t.ltrim||null===t.ltrim||!1===t.ltrim)t.ltrim=!1;else if(!0!==t.ltrim)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(void 0===t.trim||null===t.trim||!1===t.trim)t.trim=!1;else if(!0!==t.trim)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(!0===t.trim&&!1!==e.ltrim?t.ltrim=!0:!0!==t.ltrim&&(t.ltrim=!1),!0===t.trim&&!1!==e.rtrim?t.rtrim=!0:!0!==t.rtrim&&(t.rtrim=!1),void 0===t.to||null===t.to)t.to=-1;else if(-1!==t.to){if("string"==typeof t.to&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),!Number.isInteger(t.to))throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}if(void 0===t.to_line||null===t.to_line)t.to_line=-1;else if(-1!==t.to_line){if("string"==typeof t.to_line&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),!Number.isInteger(t.to_line))throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}return t},zc=function(e){return e.every((e=>null==e||e.toString&&""===e.toString().trim()))},Bc={utf8:Js.from([239,187,191]),utf16le:Js.from([255,254])},_c=function(e,t={}){"string"==typeof e&&(e=Js.from(e));const n=t&&t.objname?{}:[],r=function(e={}){const t=Zc(e);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:e,options:t,state:Tc(t),__needMoreData:function(e,t,n){if(n)return!1;const{encoding:r,escape:i,quote:o}=this.options,{quoting:a,needMoreDataSize:l,recordDelimiterMaxLength:s}=this.state;return t-e-1<Math.max(l,0===s?Js.from("\r\n",r).length:s,a?(null===i?0:i.length)+o.length:0,a?o.length+s:0)},parse:function(e,t,n,r){const{bom:i,comment_no_infix:o,encoding:a,from_line:l,ltrim:s,max_record_size:c,raw:d,relax_quotes:u,rtrim:p,skip_empty_lines:m,to:h,to_line:g}=this.options;let{comment:f,escape:b,quote:v,record_delimiter:x}=this.options;const{bomSkipped:y,previousBuf:w,rawBuffer:C,escapeIsQuote:E}=this.state;let I;if(void 0===w){if(void 0===e)return void r();I=e}else I=void 0!==w&&void 0===e?w:Js.concat([w,e]);if(!1===y)if(!1===i)this.state.bomSkipped=!0;else if(I.length<3){if(!1===t)return void(this.state.previousBuf=I)}else{for(const e in Bc)if(0===Bc[e].compare(I,0,Bc[e].length)){const t=Bc[e].length;this.state.bufBytesStart+=t,I=I.slice(t);const n=Zc({...this.original_options,encoding:e});for(const e in n)this.options[e]=n[e];({comment:f,escape:b,quote:v}=this.options);break}this.state.bomSkipped=!0}const k=I.length;let M;for(M=0;M<k&&!this.__needMoreData(M,k,t);M++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==g&&this.info.lines>g)return this.state.stop=!0,void r();!1===this.state.quoting&&0===x.length&&this.__autoDiscoverRecordDelimiter(I,M)&&(x=this.options.record_delimiter);const e=I[M];if(!0===d&&C.append(e),13!==e&&10!==e||!1!==this.state.wasRowDelimiter||(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==b&&!0===this.state.quoting&&this.__isEscape(I,M,e)&&M+b.length<k){if(!E){this.state.escaping=!0,M+=b.length-1;continue}if(this.__isQuote(I,M+b.length)){this.state.escaping=!0,M+=b.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(I,M))if(!0===this.state.quoting){const t=I[M+v.length],n=p&&this.__isCharTrimable(I,M+v.length),r=null!==f&&this.__compareBytes(f,I,M+v.length,t),i=this.__isDelimiter(I,M+v.length,t),o=0===x.length?this.__autoDiscoverRecordDelimiter(I,M+v.length):this.__isRecordDelimiter(t,I,M+v.length);if(null!==b&&this.__isEscape(I,M,e)&&this.__isQuote(I,M+b.length))M+=b.length-1;else{if(!t||i||o||r||n){this.state.quoting=!1,this.state.wasQuoting=!0,M+=v.length-1;continue}if(!1===u){const e=this.__error(new Hc("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(t)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==e)return e}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(v),M+=v.length-1}}else{if(0===this.state.field.length){this.state.quoting=!0,M+=v.length-1;continue}if(!1===u){const e=this.__infoField(),t=Object.keys(Bc).map((e=>!!Bc[e].equals(this.state.field.toString())&&e)).filter(Boolean)[0],n=this.__error(new Hc("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(a))}`,t?`(${t} bom)`:void 0],this.options,e,{field:this.state.field}));if(void 0!==n)return n}}if(!1===this.state.quoting){const t=this.__isRecordDelimiter(e,I,M);if(0!==t){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),M+=t-1;continue}if(!0===m&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,M+=t-1;continue}this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;this.info.bytes=this.state.bufBytesStart+M+t;const i=this.__onRecord(n);if(void 0!==i)return i;if(-1!==h&&this.info.records>=h)return this.state.stop=!0,void r()}this.state.commenting=!1,M+=t-1;continue}if(this.state.commenting)continue;if(null!==f&&(!1===o||0===this.state.record.length&&0===this.state.field.length)&&0!==this.__compareBytes(f,I,M,e)){this.state.commenting=!0;continue}const i=this.__isDelimiter(I,M,e);if(0!==i){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;M+=i-1;continue}}}if(!1===this.state.commenting&&0!==c&&this.state.record_length+this.state.field.length>c)return this.__error(new Hc("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${c}`,`at line ${this.info.lines}`],this.options,this.__infoField()));const t=!1===s||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(I,M),i=!1===p||!1===this.state.wasQuoting;if(!0!==t||!0!==i){if(!0!==p||this.__isCharTrimable(I,M)){!1===t&&(M+=this.__isCharTrimable(I,M)-1);continue}return this.__error(new Hc("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}this.state.field.append(e)}if(!0===t)if(!0===this.state.quoting){const e=this.__error(new Hc("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==e)return e}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+M;const e=this.__onField();if(void 0!==e)return e;const t=this.__onRecord(n);if(void 0!==t)return t}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++;else this.state.bufBytesStart+=M,this.state.previousBuf=I.slice(M);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(e){const{columns:t,group_columns_by_name:n,encoding:r,info:i,from:o,relax_column_count:a,relax_column_count_less:l,relax_column_count_more:s,raw:c,skip_records_with_empty_values:d}=this.options,{enabled:u,record:p}=this.state;if(!1===u)return this.__resetRecord();const m=p.length;if(!0===t)return!0===d&&zc(p)?void this.__resetRecord():this.__firstLineToColumns(p);if(!1===t&&0===this.info.records&&(this.state.expectedRecordLength=m),m!==this.state.expectedRecordLength){const e=!1===t?new Hc("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p}):new Hc("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${t.length},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:p});if(!0===a||!0===l&&m<this.state.expectedRecordLength||!0===s&&m>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=e;else{const t=this.__error(e);if(t)return t}}if(!0===d&&zc(p))this.__resetRecord();else{if(!0===this.state.recordHasError)return this.__resetRecord(),void(this.state.recordHasError=!1);if(this.info.records++,1===o||this.info.records>=o){const{objname:o}=this.options;if(!1!==t){const a={};for(let e=0,r=p.length;e<r;e++)void 0===t[e]||t[e].disabled||(!0===n&&void 0!==a[t[e].name]?Array.isArray(a[t[e].name])?a[t[e].name]=a[t[e].name].concat(p[e]):a[t[e].name]=[a[t[e].name],p[e]]:a[t[e].name]=p[e]);if(!0===c||!0===i){const t=Object.assign({record:a},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===i?{info:this.__infoRecord()}:{}),n=this.__push(void 0===o?t:[a[o],t],e);if(n)return n}else{const t=this.__push(void 0===o?a:[a[o],a],e);if(t)return t}}else if(!0===c||!0===i){const t=Object.assign({record:p},!0===c?{raw:this.state.rawBuffer.toString(r)}:{},!0===i?{info:this.__infoRecord()}:{}),n=this.__push(void 0===o?t:[p[o],t],e);if(n)return n}else{const t=this.__push(void 0===o?p:[p[o],p],e);if(t)return t}}this.__resetRecord()}},__firstLineToColumns:function(e){const{firstLineToHeaders:t}=this.state;try{const n=void 0===t?e:t.call(null,e);if(!Array.isArray(n))return this.__error(new Hc("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(n)}`],this.options,this.__infoField(),{headers:n}));const r=Nc(n);return this.state.expectedRecordLength=r.length,this.options.columns=r,void this.__resetRecord()}catch(e){return e}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){const{cast:e,encoding:t,rtrim:n,max_record_size:r}=this.options,{enabled:i,wasQuoting:o}=this.state;if(!1===i)return this.__resetField();let a=this.state.field.toString(t);if(!0===n&&!1===o&&(a=a.trimRight()),!0===e){const[e,t]=this.__cast(a);if(void 0!==e)return e;a=t}this.state.record.push(a),0!==r&&"string"==typeof a&&(this.state.record_length+=a.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(e,t){const{on_record:n}=this.options;if(void 0!==n){const t=this.__infoRecord();try{e=n.call(null,e,t)}catch(e){return e}if(null==e)return}t(e)},__cast:function(e){const{columns:t,relax_column_count:n}=this.options;if(!0===Array.isArray(t)&&n&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{const t=this.__infoField();return[void 0,this.state.castField.call(null,e,t)]}catch(e){return[e]}if(this.__isFloat(e))return[void 0,parseFloat(e)];if(!1!==this.options.cast_date){const t=this.__infoField();return[void 0,this.options.cast_date.call(null,e,t)]}return[void 0,e]},__isCharTrimable:function(e,t){return((e,t)=>{const{timchars:n}=this.state;e:for(let r=0;r<n.length;r++){const i=n[r];for(let n=0;n<i.length;n++)if(i[n]!==e[t+n])continue e;return i.length}return 0})(e,t)},__isFloat:function(e){return e-parseFloat(e)+1>=0},__compareBytes:function(e,t,n,r){if(e[0]!==r)return 0;const i=e.length;for(let r=1;r<i;r++)if(e[r]!==t[n+r])return 0;return i},__isDelimiter:function(e,t,n){const{delimiter:r,ignore_last_delimiters:i}=this.options;if(!0===i&&this.state.record.length===this.options.columns.length-1)return 0;if(!1!==i&&"number"==typeof i&&this.state.record.length===i-1)return 0;e:for(let i=0;i<r.length;i++){const o=r[i];if(o[0]===n){for(let n=1;n<o.length;n++)if(o[n]!==e[t+n])continue e;return o.length}}return 0},__isRecordDelimiter:function(e,t,n){const{record_delimiter:r}=this.options,i=r.length;e:for(let o=0;o<i;o++){const i=r[o],a=i.length;if(i[0]===e){for(let e=1;e<a;e++)if(i[e]!==t[n+e])continue e;return i.length}}return 0},__isEscape:function(e,t,n){const{escape:r}=this.options;if(null===r)return!1;const i=r.length;if(r[0]===n){for(let n=0;n<i;n++)if(r[n]!==e[t+n])return!1;return!0}return!1},__isQuote:function(e,t){const{quote:n}=this.options;if(null===n)return!1;const r=n.length;for(let i=0;i<r;i++)if(n[i]!==e[t+i])return!1;return!0},__autoDiscoverRecordDelimiter:function(e,t){const{encoding:n}=this.options,r=[Js.from("\r\n",n),Js.from("\n",n),Js.from("\r",n)];e:for(let n=0;n<r.length;n++){const i=r[n].length;for(let o=0;o<i;o++)if(r[n][o]!==e[t+o])continue e;return this.options.record_delimiter.push(r[n]),this.state.recordDelimiterMaxLength=r[n].length,r[n].length}return 0},__error:function(e){const{encoding:t,raw:n,skip_records_with_error:r}=this.options,i="string"==typeof e?new Error(e):e;if(!r)return i;if(this.state.recordHasError=!0,void 0!==this.options.on_skip)try{this.options.on_skip(i,n?this.state.rawBuffer.toString(t):void 0)}catch(i){return i}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:e,raw:t,encoding:n}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===e,index:this.state.record.length,raw:t?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){const{columns:e}=this.options,t=Array.isArray(e);return{...this.__infoRecord(),column:!0===t?e.length>this.state.record.length?e[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}}(t),i=r.parse(e,!0,(e=>{void 0===r.options.objname?n.push(e):n[e[0]]=e[1]}),(()=>{}));if(void 0!==i)throw i;return n},Pc=e=>{var t;const n=e.trim();if(!n)return[];let r;const i=n.includes(","),o=n.startsWith('"')&&n.endsWith('"');if(i||o)try{r=null!==(t=_c(n,{columns:!1})[0])&&void 0!==t?t:[]}catch(e){r=n.split(",")}else r=[n];return r.filter((e=>e&&"string"==typeof e)).map((e=>e.trim())).filter((e=>e))},Fc=x.div`
757
757
  display: flex;
758
758
  align-items: center;
759
759
  align-content: center;