diff --git a/CNAME b/CNAME deleted file mode 100644 index 750c611..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -nav.qiuyedx.com \ No newline at end of file diff --git a/bundle.js b/bundle.js index dbd5f50..83406db 100644 --- a/bundle.js +++ b/bundle.js @@ -169,4 +169,4 @@ to { > * { pointer-events: auto; } -`,zg=({reverseOrder:t,position:n="top-center",toastOptions:r,gutter:a,children:o,containerStyle:i,containerClassName:s})=>{let{toasts:l,handlers:c}=(t=>{let{toasts:n,pausedAt:r}=((t={})=>{let[n,r]=(0,e.useState)(cg);(0,e.useEffect)((()=>(lg.push(r),()=>{let e=lg.indexOf(r);e>-1&&lg.splice(e,1)})),[n]);let a=n.toasts.map((e=>{var n,r;return{...t,...t[e.type],...e,duration:e.duration||(null==(n=t[e.type])?void 0:n.duration)||(null==t?void 0:t.duration)||fg[e.type],style:{...t.style,...null==(r=t[e.type])?void 0:r.style,...e.style}}}));return{...n,toasts:a}})(t);(0,e.useEffect)((()=>{if(r)return;let e=Date.now(),t=n.map((t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((()=>pg.dismiss(t.id)),n);t.visible&&pg.dismiss(t.id)}));return()=>{t.forEach((e=>e&&clearTimeout(e)))}}),[n,r]);let a=(0,e.useCallback)((()=>{r&&ug({type:6,time:Date.now()})}),[r]),o=(0,e.useCallback)(((e,t)=>{let{reverseOrder:r=!1,gutter:a=8,defaultPosition:o}=t||{},i=n.filter((t=>(t.position||o)===(e.position||o)&&t.height)),s=i.findIndex((t=>t.id===e.id)),l=i.filter(((e,t)=>te.visible)).slice(...r?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+a),0)}),[n]);return{toasts:n,handlers:{updateHeight:mg,startPause:gg,endPause:a,calculateOffset:o}}})(r);return e.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...i},className:s,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((r=>{let i=r.position||n,s=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},a=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:ag()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...a}})(i,c.calculateOffset(r,{reverseOrder:t,gutter:a,defaultPosition:n}));return e.createElement(Mg,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?Fg:"",style:s},"custom"===r.type?ng(r.message,r):o?o(r):e.createElement(Dg,{toast:r,position:i}))})))},jg=pg,Bg=function(t,n){return jg.error((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_error",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"#ed5563",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Ug=function(t,n){return jg.success((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_success",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"rgb(52, 211, 153)",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Hg=function(t,n){return jg.loading((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_loading",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"rgb(96, 165, 250)",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Wg=bn.div.withConfig({displayName:"Styledtwin__Wrap",componentId:"sc-n0oh9w-0"})(["",";"],(function(e){return e.isRotated?"transform: rotate(180deg)":""})),Vg=bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-n0oh9w-1"})(["display:flex;flex-direction:column;gap:3px;transition:all 0.25s ease;",";&.active .line:nth-child(1){transform:rotate(45deg) translate(4px,",");width:21px;}&.active .line:nth-child(2){opacity:0;}&.active .line:nth-child(3){transform:rotate(-45deg) translate(4px,",");width:21px;}",";"],{".group:active &":{opacity:"0.6"},"@media (min-width: 768px)":{":hover":{cursor:"pointer"},".group:hover &":{opacity:"0.6"},".group:active &":{opacity:"0.8"}}},(function(e){return e.isRotated?"4.6px":"4.3px"}),(function(e){return e.isRotated?"-4.6px":"-4.3px"}),(function(e){return e._tw})),Yg=bn.div.withConfig({displayName:"Styledtwin__Line",componentId:"sc-n0oh9w-2"})(["",";width:20px;height:3px;transition:all 0.25s ease;",";"],{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},(function(e){return e.rounded?"border-radius: 9999px":""}));function Gg(t){return e.createElement(Wg,{isRotated:t.isRotated},e.createElement(Vg,{className:t.active?"active":"",isRotated:t.isRotated,_tw:t._tw},e.createElement(Yg,{className:"line",rounded:t.rounded}),e.createElement(Yg,{className:"line",rounded:t.rounded}),e.createElement(Yg,{className:"line",rounded:t.rounded})))}bn.div.withConfig({displayName:"Styledtwin__BaseButton",componentId:"sc-a63f0f-0"})([""," "," height:",";width:",";",""],{borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},(function(e){return e.hasBorder?{borderWidth:"4px","--tw-border-opacity":"1",borderColor:"rgb(244 114 182 / var(--tw-border-opacity))"}:""}),(function(e){return e.h||"40px"}),(function(e){return e.w||"120px"}),(function(e){return e._tw}));var Xg=bn.button.withConfig({displayName:"Styledtwin__MButton",componentId:"sc-a63f0f-1"})(["",";"," height:",";line-height:",";width:",";",";"],{cursor:"default",userSelect:"none",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"},":disabled":{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(156 163 175 / var(--tw-bg-opacity))"},":disabled:hover":{"--tw-scale-x":"1","--tw-scale-y":"1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},"@media (min-width: 768px)":{cursor:"pointer"}},(function(e){return e._tw}),(function(e){return e.h||"32px"}),(function(e){return e.h||"32px"}),(function(e){return e.w||"86px"}),(function(e){return e._tw_user})),$g=bn.div.withConfig({displayName:"Styledtwin__BackButton",componentId:"sc-a63f0f-2"})(["margin:0 0 0 0;height:50px;width:50px;flex-shrink:0;line-height:50px;transition:all 0.2s ease;font-size:20px;",";@media (min-width:","px){&::",'{content:"','";}}'],{"@keyframes fade_in_up":{"0%":{opacity:"0",transform:"translateY(15px)"},"100%":{opacity:"1",transform:"translateY(0)"}},animation:"fade_in_up .4s ease-out forwards",userSelect:"none",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontWeight:"600","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{width:"12rem",cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}},An,(function(e){return e.content_direction||"after"}),(function(e){return e.content||"返 回"})),qg=bn.div.withConfig({displayName:"Styledtwin__PageButton",componentId:"sc-a63f0f-3"})(["margin:0 0 0 0;height:50px;width:50px;flex-shrink:0;line-height:50px;transition:all 0.2s ease;font-size:20px;z-index:10;position:relative;",";",";"],{display:"flex","@keyframes fade_in_up":{"0%":{opacity:"0",transform:"translateY(15px)"},"100%":{opacity:"1",transform:"translateY(0)"}},animation:"fade_in_up .4s ease-out forwards",userSelect:"none",alignItems:"center",justifyContent:"center",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontWeight:"600","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}},(function(e){return e.active?{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(59 130 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"},"@media (min-width: 768px)":{":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(147 197 253 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}}}:""})),Kg=bn(qg).withConfig({displayName:"Styledtwin__UniButton",componentId:"sc-a63f0f-4"})(["animation:none;",";",";"],(function(e){return e.hasShadow?{"--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{":hover":{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}}:{"--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":hover":{"--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}}),(function(e){return e._tw||""})),Qg=bn.button.withConfig({displayName:"Styledtwin__SwitchWrapper",componentId:"sc-a63f0f-5"})(["width:",";height:",";padding:0 ",";background-color:",";transition:background-color "," ",";",";&:disabled{cursor:not-allowed;opacity:0.6;}&::before{content:'';flex-grow:",";transition:all "," ",";}"],(function(e){var t=e.size;return t?t.wrapperWidth:"3rem"}),(function(e){var t=e.size;return t?t.wrapperHeight:"1.5rem"}),(function(e){var t=e.size;return t?t.px:"0.15rem"}),(function(e){return e.bgColor||"rgb(215, 218, 226)"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"}),{position:"relative",display:"flex",flexShrink:"0",userSelect:"none",alignItems:"center",borderRadius:"9999px","@media (min-width: 768px)":{cursor:"pointer"}},(function(e){return e.isOn?"1":"0"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"})),Jg=bn.div.withConfig({displayName:"Styledtwin__SwitchCircle",componentId:"sc-a63f0f-6"})(["z-index:300;width:",";height:",";justify-content:",";color:",";transition:color "," ",";& .svg-inline--fa{width:85%;height:85%;}& *{max-width:",";}",";"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.isOn?"end":"start"}),(function(e){return e.color||"rgb(215, 218, 226)"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"}),(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)}),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}),Zg=bn.div.withConfig({displayName:"Styledtwin__LeftBackgroundIcon",componentId:"sc-a63f0f-7"})(["z-index:200;width:",";height:",";opacity:0.8;color:white;left:",";& .svg-inline--fa{width:85%;height:85%;}",";& > * *{max-width:",";}"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.lx||"2px"}),{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)})),ev=bn.div.withConfig({displayName:"Styledtwin__RightBackgroundIcon",componentId:"sc-a63f0f-8"})(["z-index:200;width:",";height:",";opacity:0.8;color:white;right:",";& .svg-inline--fa{width:85%;height:85%;}",";& > * *{max-width:",";}"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.rx||"2px"}),{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)})),tv=function(t){var n=t.isOn,r=void 0!==n&&n,a=t.onChange,o=t.hasShadow,i=void 0===o||o,s=t.onContent,l=void 0===s?e.createElement(nv,{icon:Cm.en,spin:!0}):s,c=t.offContent,u=void 0===c?e.createElement(mi,{icon:Tm.DB}):c,f=t.fadeStyle,d=void 0===f?"scale":f,p=t.offset,h=void 0===p?"15px":p,m=t._tw;return(0,e.useRef)(null),(0,e.useRef)(null),e.createElement("div",{tw:""},e.createElement(rv,{_tw:m,onClick:function(){a(!r)},hasShadow:i},e.createElement(od,{isOn:r,fadeStyle:d,offset:h,duration:"0.2s",className:"moon-sun",onContent:l,offContent:u})))},nv=bn(mi).withConfig({displayName:"SwitchButton___StyledFontAwesomeIcon",componentId:"sc-h2o6ru-0"})({"--tw-text-opacity":"1",color:"rgb(251 191 36 / var(--tw-text-opacity))"}),rv=bn(Kg).withConfig({displayName:"SwitchButton___StyledUniButton",componentId:"sc-h2o6ru-1"})({height:"2.5rem",width:"2.5rem",lineHeight:"2.5rem","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))","@media (min-width: 768px)":{":hover":{"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}}}),av=i(2228);function ov(e,t){if(e){if("string"==typeof e)return iv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iv(e,t):void 0}}function iv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;s(r.contentRect.height)}}catch(e){n.e(e)}finally{n.f()}})),t=document.querySelector("#rootWrapper");return t&&e.observe(t),function(){e.disconnect()}}),[a.pathname,i]),e.createElement(lv,{id:"ScrollToTopButton"},e.createElement(qg,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})}},e.createElement(mi,{icon:av.mT})))},lv=bn("div").withConfig({displayName:"ScrollToTopButton___StyledDiv",componentId:"sc-1ducqzc-0"})({position:"fixed",bottom:"7rem",right:"0.75rem",zIndex:"40","@media (min-width: 768px)":{bottom:"3rem",right:"3rem"}});function cv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function hv(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function mv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nh-v?e>h+b?(r=n,requestAnimationFrame((function(){c(r)}))):(r=(e-(h-v))/(b+v)*n*2-n,requestAnimationFrame((function(){c(r)}))):requestAnimationFrame((function(){c(r)}))}},C=(n=function(){i(!o)},100,!0,function(){var e=this,t=arguments;r&&clearTimeout(r);var a=!r;r=setTimeout((function(){r=null}),100),a&&n.apply(e,t)}),T=t.theme&&Yv[t.theme]?Yv[t.theme]:Yv.default;return(0,e.useEffect)((function(){return m(vi(u.current)),y(wi()),x(u.current.clientHeight),E(f.current.clientHeight),k(),window.addEventListener("scroll",k),window.addEventListener("resize",C),function(){window.removeEventListener("scroll",k),window.removeEventListener("resize",C)}}),[h,v,o]),e.createElement(Mv,{className:"group group"+d,h:t.h||"400px",_tw:T.styleAppleCard,_tw_user:t.tw_card||{}},e.createElement(Hv,{hasMask:t.hasMask,_tw:T.styleTopTextA,_tw_user:t.tw_topTextA||{}},t.topTextA||""),e.createElement(Wv,{hasMask:t.hasMask,_tw:T.styleTopTextB,_tw_user:t.tw_topTextB||{}},t.topTextB||""),e.createElement(Vv,{hasSubBar:t.hasSubBar,hasMask:t.hasMask,_tw:T.styleSubTextA,_tw_user:t.tw_subTextA||{}},t.subTextA||""),e.createElement(Fv,{ref:u,hasSubBar:t.hasSubBar,onClick:t.onClick},e.createElement(zv,{ref:f,_Y:l,_tw:T.styleBackground,_tw_user:t.tw_background||{},_hover:".group"+d+T.hoverBackground,_active:".group"+d+T.activeBackground},t.icon||e.createElement(qv,{icon:Dv.kZ})),e.createElement(jv,{style:{transition:"scale 0.3s ease"},hasMask:t.hasMask,_tw:T.styleContent,_tw_user:t.tw_content||{},_hover:".group"+d+T.hoverContent,_active:".group"+d+T.activeContent},t.children)),t.hasSubBar&&e.createElement(Bv,{_tw:T.styleSubBar,_tw_user:t.tw_subbar||{}},e.createElement(Uv,{url:t.logo_url}),e.createElement(Kv,null,e.createElement(Qv,null,t._sub_h3||""),e.createElement(Jv,null,t._sub_h4||"")),e.createElement(Xg,{_tw:T.styleSubButton,_tw_user:t.tw_subButton||{},onClick:function(){window.location=t.goto||"javascript:;"}},"打开")))}$v.propTypes={h:ri().string,k:ri().number,theme:ri().oneOf(["default","white","black","green","purple","pink","gradient_blue"]),logo_url:ri().string,goto:ri().string,icon:ri().element,topTextA:ri().string,topTextB:ri().string,subTextA:ri().node,hasMask:ri().bool,hasSubBar:ri().bool,_sub_h3:ri().string,_sub_h4:ri().string,onClick:ri().func,tw_card:ri().object,tw_background:ri().object,tw_content:ri().object,tw_subbar:ri().object,tw_topTextA:ri().object,tw_topTextB:ri().object,tw_subTextA:ri().object,tw_subButton:ri().object};var qv=bn(mi).withConfig({displayName:"AppleCard___StyledFontAwesomeIcon",componentId:"sc-137yem4-0"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Kv=bn("div").withConfig({displayName:"AppleCard___StyledDiv",componentId:"sc-137yem4-1"})({height:"3rem",flexShrink:"1",flexGrow:"1",flexDirection:"column",alignItems:"flex-start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingLeft:"1rem",textAlign:"left"}),Qv=bn(kf).withConfig({displayName:"AppleCard___StyledH",componentId:"sc-137yem4-2"})({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",letterSpacing:"0.025em"}),Jv=bn(Cf).withConfig({displayName:"AppleCard___StyledH2",componentId:"sc-137yem4-3"})({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",letterSpacing:"0.1em"});function Zv(e){return Zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zv(e)}function ey(){ey=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,a){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),s=new k(a||[]);return r(i,"_invoke",{value:x(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=h.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function a(r,o,i,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==Zv(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,i,s)}),(function(e){a("throw",e,i,s)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return a("throw",e,i,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return{value:void 0,done:!0}}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=_(i,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function _(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=u(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function ty(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ry(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ry(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{}}const{id:a,observer:o,elements:i}=function(e){let t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(ew.has(n)||(nw+=1,ew.set(n,nw.toString())),ew.get(n)):"0"):e[t]}`;var n})).toString()}(e),n=Zy.get(t);if(!n){const r=new Map;let a;const o=new IntersectionObserver((t=>{t.forEach((t=>{var n;const o=t.isIntersecting&&a.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((e=>{e(o,t)}))}))}),e);a=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},Zy.set(t,n)}return n}(n);let s=i.get(e)||[];return i.has(e)||i.set(e,s),s.push(t),o.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(i.delete(e),o.unobserve(e)),0===i.size&&(o.disconnect(),Zy.delete(a))}}class aw extends e.Component{constructor(e){super(e),this.node=null,this._unobserveCb=null,this.handleNode=e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()},this.handleChange=(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),isPlainChildren(this.props)||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)},this.state={inView:!!e.initialInView,entry:void 0}}componentDidUpdate(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve(),this.node=null}observeNode(){if(!this.node||this.props.skip)return;const{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:a,fallbackInView:o}=this.props;this._unobserveCb=rw(this.node,this.handleChange,{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:a},o)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){if(!isPlainChildren(this.props)){const{inView:e,entry:t}=this.state;return this.props.children({inView:e,entry:t,ref:this.handleNode})}const e=this.props,{children:t,as:n}=e,r=function(e,t){if(null==e)return{};for(var n,r,a={},o=Object.keys(e);r=0||(a[n]=e[n]);return a}(e);return React.createElement(n||"div",react_intersection_observer_modern_extends({ref:this.handleNode},r),t)}}function ow({threshold:t,delay:n,trackVisibility:r,rootMargin:a,root:o,triggerOnce:i,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var f;const[d,p]=e.useState(null),h=e.useRef(),[m,g]=e.useState({inView:!!l,entry:void 0});h.current=u,e.useEffect((()=>{if(s||!d)return;let e;return e=rw(d,((t,n)=>{g({inView:t,entry:n}),h.current&&h.current(t,n),n.isIntersecting&&i&&e&&(e(),e=void 0)}),{root:o,rootMargin:a,threshold:t,trackVisibility:r,delay:n},c),()=>{e&&e()}}),[Array.isArray(t)?t.toString():t,d,o,a,i,s,r,c,n]);const v=null==(f=m.entry)?void 0:f.target,y=e.useRef();d||!v||i||s||y.current===v||(y.current=v,g({inView:!!l,entry:void 0}));const w=[p,m.inView,m.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}function iw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function fw(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function dw(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){fw(o,r,a,i,s,"next",e)}function s(e){fw(o,r,a,i,s,"throw",e)}i(void 0)}))}}function pw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.concat(t,t+"-start",t+"-end")),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function tb(e){return e.replace(/left|right|bottom|top/g,(e=>eb[e]))}const nb={start:"end",end:"start"};function rb(e){return e.replace(/start|end/g,(e=>nb[e]))}const ab=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:a,rects:o,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...m}=e,g=Yw(r),v=Yw(i)===i,y=await(null==s.isRTL?void 0:s.isRTL(l.floating)),w=f||(v||!h?[tb(i)]:function(e){const t=tb(e);return[rb(e),t,rb(t)]}(i));f||"none"===p||w.push(...function(e,t,n,r){const a=Ww(e);let o=function(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}(Yw(e),"start"===n,r);return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map(rb)))),o}(i,h,p,y));const b=[i,...w],x=await Kw(t,m),_=[];let S=(null==(n=a.flip)?void 0:n.overflows)||[];if(c&&_.push(x[g]),u){const{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);const r=Ww(e),a=Gw(e),o=Vw(a);let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=tb(i)),{main:i,cross:tb(i)}}(r,o,y);_.push(x[e],x[t])}if(S=[...S,{placement:r,overflows:_}],!_.every((e=>e<=0))){var E,k;const e=((null==(E=a.flip)?void 0:E.index)||0)+1,t=b[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(k=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(d){case"bestFit":{var C;const e=null==(C=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=i}if(r!==n)return{reset:{placement:n}}}return{}}}},ob=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,a=await async function(e,t){const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=Yw(n),s=Ww(n),l="x"===Gw(n),c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e);return{x:n+a.x,y:r+a.y,data:a}}}};const ib=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,c={x:n,y:r},u=await Kw(t,l),f=Gw(Yw(a)),d=function(e){return"x"===e?"y":"x"}(f);let p=c[f],h=c[d];if(o){const e="y"===f?"bottom":"right";p=Zw(p+u["y"===f?"top":"left"],p,p-u[e])}if(i){const e="y"===d?"bottom":"right";h=Zw(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}};function sb(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function lb(e){return sb(e).getComputedStyle(e)}function cb(e){return e instanceof sb(e).Node}function ub(e){return cb(e)?(e.nodeName||"").toLowerCase():""}function fb(e){return e instanceof sb(e).HTMLElement}function db(e){return e instanceof sb(e).Element}function pb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sb(e).ShadowRoot||e instanceof ShadowRoot)}function hb(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=lb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function mb(e){return["table","td","th"].includes(ub(e))}function gb(e){const t=vb(),n=lb(e);return"none"!==n.transform||"none"!==n.perspective||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function vb(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function yb(e){return["html","body","#document"].includes(ub(e))}const wb=Math.min,bb=Math.max,xb=Math.round;function _b(e){const t=lb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=fb(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=xb(n)!==o||xb(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Sb(e){return db(e)?e:e.contextElement}const Eb={x:1,y:1};function kb(e){const t=Sb(e);if(!fb(t))return Eb;const n=t.getBoundingClientRect(),{width:r,height:a,fallback:o}=_b(t);let i=(o?xb(n.width):n.width)/r,s=(o?xb(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Cb={x:0,y:0};function Tb(e,t,n){var r,a;if(void 0===t&&(t=!0),!vb())return Cb;const o=e?sb(e):window;return!n||t&&n!==o?Cb:{x:(null==(r=o.visualViewport)?void 0:r.offsetLeft)||0,y:(null==(a=o.visualViewport)?void 0:a.offsetTop)||0}}function Ab(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),o=Sb(e);let i=Eb;t&&(r?db(r)&&(i=kb(r)):i=kb(e));const s=Tb(o,n,r);let l=(a.left+s.x)/i.x,c=(a.top+s.y)/i.y,u=a.width/i.x,f=a.height/i.y;if(o){const e=sb(o),t=r&&db(r)?sb(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=kb(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=t.x,c+=t.y,n=sb(n).frameElement}}return qw({width:u,height:f,x:l,y:c})}function Ib(e){return((cb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nb(e){return db(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ob(e){return Ab(Ib(e)).left+Nb(e).scrollLeft}function Rb(e){if("html"===ub(e))return e;const t=e.assignedSlot||e.parentNode||pb(e)&&e.host||Ib(e);return pb(t)?t.host:t}function Lb(e){const t=Rb(e);return yb(t)?t.ownerDocument.body:fb(t)&&hb(t)?t:Lb(t)}function Pb(e,t){var n;void 0===t&&(t=[]);const r=Lb(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=sb(r);return a?t.concat(o,o.visualViewport||[],hb(r)?r:[]):t.concat(r,Pb(r))}function Db(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=sb(e),r=Ib(e),a=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const e=vb();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Ib(e),n=Nb(e),r=e.ownerDocument.body,a=bb(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=bb(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ob(e);const s=-n.scrollTop;return"rtl"===lb(r).direction&&(i+=bb(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:s}}(Ib(e));else if(db(t))r=function(e,t){const n=Ab(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=fb(e)?kb(e):{x:1,y:1};return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}}(t,n);else{const n=Tb(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return qw(r)}function Mb(e,t){const n=Rb(e);return!(n===t||!db(n)||yb(n))&&("fixed"===lb(n).position||Mb(n,t))}function Fb(e,t){return fb(e)&&"fixed"!==lb(e).position?t?t(e):e.offsetParent:null}function zb(e,t){const n=sb(e);if(!fb(e))return n;let r=Fb(e,t);for(;r&&mb(r)&&"static"===lb(r).position;)r=Fb(r,t);return r&&("html"===ub(r)||"body"===ub(r)&&"static"===lb(r).position&&!gb(r))?n:r||function(e){let t=Rb(e);for(;fb(t)&&!yb(t);){if(gb(t))return t;t=Rb(t)}return null}(e)||n}function jb(e,t,n){const r=fb(t),a=Ib(t),o="fixed"===n,i=Ab(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&!o)if(("body"!==ub(t)||hb(a))&&(s=Nb(t)),fb(t)){const e=Ab(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=Ob(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const Bb={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Pb(e).filter((e=>db(e)&&"body"!==ub(e))),a=null;const o="fixed"===lb(e).position;let i=o?Rb(e):e;for(;db(i)&&!yb(i);){const t=lb(i),n=gb(i);n||"fixed"!==t.position||(a=null),(o?!n&&!a:!n&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||hb(i)&&!n&&Mb(e,i))?r=r.filter((e=>e!==i)):a=t,i=Rb(i)}return t.set(e,r),r}(t,this._c):[].concat(n),i=[...o,r],s=i[0],l=i.reduce(((e,n)=>{const r=Db(t,n,a);return e.top=bb(r.top,e.top),e.right=wb(r.right,e.right),e.bottom=wb(r.bottom,e.bottom),e.left=bb(r.left,e.left),e}),Db(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const a=fb(n),o=Ib(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==ub(n)||hb(o))&&(i=Nb(n)),fb(n))){const e=Ab(n);s=kb(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:db,getDimensions:function(e){return _b(e)},getOffsetParent:zb,getDocumentElement:Ib,getScale:kb,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const a=this.getOffsetParent||zb,o=this.getDimensions;return{reference:jb(t,await a(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===lb(e).direction},Ub=(e,t,n)=>{const r=new Map,a={platform:Bb,...n},o={...a.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:f}=Xw(c,r,l),d=r,p={},h=0;for(let n=0;n{let r=null;return function(...a){const o=()=>{r=null,n||e.apply(this,a)};n&&!r&&(e.apply(this,a),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))}},Vb={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Yb=(0,e.createContext)({getTooltipData:()=>Vb});function Gb(t="DEFAULT_TOOLTIP_ID"){return(0,e.useContext)(Yb).getTooltipData(t)}const Xb="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,$b=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},qb=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if($b(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Kb=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:a=10,strategy:o="absolute",middlewares:i=[ob(Number(a)),ab(),ib({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=i;return n?(l.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e||{},{x:a,y:o,placement:i,rects:s,platform:l,elements:c}=t;if(null==n)return{};const u=$w(r),f={x:a,y:o},d=Gw(i),p=Vw(d),h=await l.getDimensions(n),m="y"===d,g=m?"top":"left",v=m?"bottom":"right",y=m?"clientHeight":"clientWidth",w=s.reference[p]+s.reference[d]-f[d]-s.floating[p],b=f[d]-s.reference[d],x=await(null==l.getOffsetParent?void 0:l.getOffsetParent(n));let _=x?x[y]:0;_&&await(null==l.isElement?void 0:l.isElement(x))||(_=c.floating[y]||s.floating[p]);const S=w/2-b/2,E=u[g],k=_-h[p]-u[v],C=_/2-h[p]/2+S,T=Zw(E,C,k),A=null!=Ww(i)&&C!=T&&s.reference[p]/2-(C{var a,o;const i={left:`${e}px`,top:`${t}px`,border:s},{x:l,y:c}=null!==(a=r.arrow)&&void 0!==a?a:{x:0,y:0},u=null!==(o={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==o?o:"bottom",f=s&&{top:{borderBottom:s,borderRight:s},right:{borderBottom:s,borderLeft:s},bottom:{borderTop:s,borderLeft:s},left:{borderTop:s,borderRight:s}}[n.split("-")[0]];let d=0;if(s){const e=`${s}`.match(/(\d+)px/);d=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:i,tooltipArrowStyles:{left:null!=l?`${l}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...f,[u]:`-${4+d}px`},place:n}}))):Ub(e,t,{placement:"bottom",strategy:o,middleware:l}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))};var Qb={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Jb=({id:t,className:n,classNameArrow:r,variant:a="dark",anchorId:o,anchorSelect:i,place:s="top",offset:l=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:f="absolute",middlewares:d,wrapper:p,delayShow:h=0,delayHide:m=0,float:g=!1,hidden:v=!1,noArrow:y=!1,clickable:w=!1,closeOnEsc:b=!1,closeOnScroll:x=!1,closeOnResize:_=!1,style:S,position:E,afterShow:k,afterHide:C,content:T,contentWrapperRef:A,isOpen:I,setIsOpen:N,activeAnchor:O,setActiveAnchor:R,border:L,opacity:P})=>{const D=(0,e.useRef)(null),M=(0,e.useRef)(null),F=(0,e.useRef)(null),z=(0,e.useRef)(null),[j,B]=(0,e.useState)(s),[U,H]=(0,e.useState)({}),[W,V]=(0,e.useState)({}),[Y,G]=(0,e.useState)(!1),[X,$]=(0,e.useState)(!1),q=(0,e.useRef)(!1),K=(0,e.useRef)(null),{anchorRefs:Q,setActiveAnchor:J}=Gb(t),Z=(0,e.useRef)(!1),[ee,te]=(0,e.useState)([]),ne=(0,e.useRef)(!1),re=u||c.includes("click");Xb((()=>(ne.current=!0,()=>{ne.current=!1})),[]),(0,e.useEffect)((()=>{if(!Y){const e=setTimeout((()=>{$(!1)}),150);return()=>{clearTimeout(e)}}return()=>null}),[Y]);const ae=e=>{ne.current&&(e&&$(!0),setTimeout((()=>{ne.current&&(null==N||N(e),void 0===I&&G(e))}),10))};(0,e.useEffect)((()=>{if(void 0===I)return()=>null;I&&$(!0);const e=setTimeout((()=>{G(I)}),10);return()=>{clearTimeout(e)}}),[I]),(0,e.useEffect)((()=>{Y!==q.current&&(q.current=Y,Y?null==k||k():null==C||C())}),[Y]);const oe=(e=m)=>{z.current&&clearTimeout(z.current),z.current=setTimeout((()=>{Z.current||ae(!1)}),e)},ie=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return R(null),void J({current:null});h?(F.current&&clearTimeout(F.current),F.current=setTimeout((()=>{ae(!0)}),h)):ae(!0),R(n),J({current:n}),z.current&&clearTimeout(z.current)},se=()=>{w?oe(m||100):m?oe():ae(!1),F.current&&clearTimeout(F.current)},le=({x:e,y:t})=>{Kb({place:s,offset:l,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:D.current,tooltipArrowReference:M.current,strategy:f,middlewares:d,border:L}).then((e=>{Object.keys(e.tooltipStyles).length&&H(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),B(e.place)}))},ce=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};le(n),K.current=n},ue=e=>{ie(e),m&&oe()},fe=e=>{var t;[document.querySelector(`[id='${o}']`),...ee].some((t=>null==t?void 0:t.contains(e.target)))||(null===(t=D.current)||void 0===t?void 0:t.contains(e.target))||(ae(!1),F.current&&clearTimeout(F.current))},de=Wb(ie,50,!0),pe=Wb(se,50,!0);(0,e.useEffect)((()=>{var e,t;const n=new Set(Q);ee.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${o}']`);r&&n.add({current:r});const a=()=>{ae(!1)},i=qb(O),s=qb(D.current);x&&(window.addEventListener("scroll",a),null==i||i.addEventListener("scroll",a),null==s||s.addEventListener("scroll",a)),_&&window.addEventListener("resize",a);const l=e=>{"Escape"===e.key&&ae(!1)};b&&window.addEventListener("keydown",l);const c=[];re?(window.addEventListener("click",fe),c.push({event:"click",listener:ue})):(c.push({event:"mouseenter",listener:de},{event:"mouseleave",listener:pe},{event:"focus",listener:de},{event:"blur",listener:pe}),g&&c.push({event:"mousemove",listener:ce}));const u=()=>{Z.current=!0},f=()=>{Z.current=!1,se()};return w&&!re&&(null===(e=D.current)||void 0===e||e.addEventListener("mouseenter",u),null===(t=D.current)||void 0===t||t.addEventListener("mouseleave",f)),c.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;x&&(window.removeEventListener("scroll",a),null==i||i.removeEventListener("scroll",a),null==s||s.removeEventListener("scroll",a)),_&&window.removeEventListener("resize",a),re&&window.removeEventListener("click",fe),b&&window.removeEventListener("keydown",l),w&&!re&&(null===(e=D.current)||void 0===e||e.removeEventListener("mouseenter",u),null===(t=D.current)||void 0===t||t.removeEventListener("mouseleave",f)),c.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[X,Q,ee,b,c]),(0,e.useEffect)((()=>{let e=null!=i?i:"";!e&&t&&(e=`[data-tooltip-id='${t}']`);const n=new MutationObserver((n=>{const r=[];n.forEach((n=>{if("attributes"===n.type&&"data-tooltip-id"===n.attributeName&&n.target.getAttribute("data-tooltip-id")===t&&r.push(n.target),"childList"===n.type&&(O&&[...n.removedNodes].some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,O))&&($(!1),ae(!1),R(null),F.current&&clearTimeout(F.current),z.current&&clearTimeout(z.current),!0)})),e))try{const t=[...n.addedNodes].filter((e=>1===e.nodeType));r.push(...t.filter((t=>t.matches(e)))),r.push(...t.flatMap((t=>[...t.querySelectorAll(e)])))}catch(e){}})),r.length&&te((e=>[...e,...r]))}));return n.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{n.disconnect()}}),[t,i,O]);const he=()=>{E?le(E):g?K.current&&le(K.current):Kb({place:s,offset:l,elementReference:O,tooltipReference:D.current,tooltipArrowReference:M.current,strategy:f,middlewares:d,border:L}).then((e=>{ne.current&&(Object.keys(e.tooltipStyles).length&&H(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),B(e.place))}))};(0,e.useEffect)((()=>{he()}),[Y,O,T,S,s,l,f,E]),(0,e.useEffect)((()=>{if(!(null==A?void 0:A.current))return()=>null;const e=new ResizeObserver((()=>{he()}));return e.observe(A.current),()=>{e.disconnect()}}),[T,null==A?void 0:A.current]),(0,e.useEffect)((()=>{var e;const t=document.querySelector(`[id='${o}']`),n=[...ee,t];O&&n.includes(O)||R(null!==(e=ee[0])&&void 0!==e?e:t)}),[o,ee,O]),(0,e.useEffect)((()=>()=>{F.current&&clearTimeout(F.current),z.current&&clearTimeout(z.current)}),[]),(0,e.useEffect)((()=>{let e=i;if(!e&&t&&(e=`[data-tooltip-id='${t}']`),e)try{const t=Array.from(document.querySelectorAll(e));te(t)}catch(e){te([])}}),[t,i]);const me=!v&&T&&Y&&Object.keys(U).length>0;return X?e.createElement(p,{id:t,role:"tooltip",className:Hw("react-tooltip","core-styles-module_tooltip__3vRRp",Qb.tooltip,Qb[a],n,`react-tooltip__place-${j}`,{"core-styles-module_show__Nt9eE":me,"core-styles-module_fixed__pcSol":"fixed"===f,"core-styles-module_clickable__ZuTTB":w}),style:{...S,...U,opacity:void 0!==P&&me?P:void 0},ref:D},T,e.createElement(p,{className:Hw("react-tooltip-arrow","core-styles-module_arrow__cvMwQ",Qb.arrow,r,{"core-styles-module_noArrow__xock6":y}),style:W,ref:M})):null},Zb=({content:t})=>e.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),ex=({id:t,anchorId:n,anchorSelect:r,content:a,html:o,render:i,className:s,classNameArrow:l,variant:c="dark",place:u="top",offset:f=10,wrapper:d="div",children:p=null,events:h=["hover"],openOnClick:m=!1,positionStrategy:g="absolute",middlewares:v,delayShow:y=0,delayHide:w=0,float:b=!1,hidden:x=!1,noArrow:_=!1,clickable:S=!1,closeOnEsc:E=!1,closeOnScroll:k=!1,closeOnResize:C=!1,style:T,position:A,isOpen:I,border:N,opacity:O,setIsOpen:R,afterShow:L,afterHide:P})=>{const[D,M]=(0,e.useState)(a),[F,z]=(0,e.useState)(o),[j,B]=(0,e.useState)(u),[U,H]=(0,e.useState)(c),[W,V]=(0,e.useState)(f),[Y,G]=(0,e.useState)(y),[X,$]=(0,e.useState)(w),[q,K]=(0,e.useState)(b),[Q,J]=(0,e.useState)(x),[Z,ee]=(0,e.useState)(d),[te,ne]=(0,e.useState)(h),[re,ae]=(0,e.useState)(g),[oe,ie]=(0,e.useState)(null),{anchorRefs:se,activeAnchor:le}=Gb(t),ce=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),ue=e=>{const t={place:e=>{var t;B(null!==(t=e)&&void 0!==t?t:u)},content:e=>{M(null!=e?e:a)},html:e=>{z(null!=e?e:o)},variant:e=>{var t;H(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{V(null===e?f:Number(e))},wrapper:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:d)},events:e=>{const t=null==e?void 0:e.split(" ");ne(null!=t?t:h)},"position-strategy":e=>{var t;ae(null!==(t=e)&&void 0!==t?t:g)},"delay-show":e=>{G(null===e?y:Number(e))},"delay-hide":e=>{$(null===e?w:Number(e))},float:e=>{K(null===e?b:"true"===e)},hidden:e=>{J(null===e?x:"true"===e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,e.useEffect)((()=>{M(a)}),[a]),(0,e.useEffect)((()=>{z(o)}),[o]),(0,e.useEffect)((()=>{B(u)}),[u]),(0,e.useEffect)((()=>{H(c)}),[c]),(0,e.useEffect)((()=>{V(f)}),[f]),(0,e.useEffect)((()=>{G(y)}),[y]),(0,e.useEffect)((()=>{$(w)}),[w]),(0,e.useEffect)((()=>{K(b)}),[b]),(0,e.useEffect)((()=>{J(x)}),[x]),(0,e.useEffect)((()=>{ae(g)}),[g]),(0,e.useEffect)((()=>{var e;const a=new Set(se);let o=r;if(!o&&t&&(o=`[data-tooltip-id='${t}']`),o)try{document.querySelectorAll(o).forEach((e=>{a.add({current:e})}))}catch(e){console.warn(`[react-tooltip] "${o}" is not a valid CSS selector`)}const i=document.querySelector(`[id='${n}']`);if(i&&a.add({current:i}),!a.size)return()=>null;const s=null!==(e=null!=oe?oe:i)&&void 0!==e?e:le.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=ce(s);ue(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=ce(s);ue(e),l.observe(s,c)}return()=>{l.disconnect()}}),[se,le,oe,n,r]),(0,e.useEffect)((()=>{(null==T?void 0:T.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),N&&!CSS.supports("border",`${N}`)&&console.warn(`[react-tooltip] "${N}" is not a valid \`border\`.`),(null==T?void 0:T.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),O&&!CSS.supports("opacity",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`opacity\`.`)}),[]);let fe=p;const de=(0,e.useRef)(null);if(i){const t=i({content:null!=D?D:null,activeAnchor:oe});fe=t?e.createElement("div",{ref:de,className:"react-tooltip-content-wrapper"},t):null}else D&&(fe=D);F&&(fe=e.createElement(Zb,{content:F}));const pe={id:t,anchorId:n,anchorSelect:r,className:s,classNameArrow:l,content:fe,contentWrapperRef:de,place:j,variant:U,offset:W,wrapper:Z,events:te,openOnClick:m,positionStrategy:re,middlewares:v,delayShow:Y,delayHide:X,float:q,hidden:Q,noArrow:_,clickable:S,closeOnEsc:E,closeOnScroll:k,closeOnResize:C,style:T,position:A,isOpen:I,border:N,opacity:O,setIsOpen:R,afterShow:L,afterHide:P,activeAnchor:oe,setActiveAnchor:e=>ie(e)};return e.createElement(Jb,{...pe})};Hb({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),Hb({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}"});var tx=function(t){var n=t.title,r=t.data,a=t.headers,o=t.keys,i=t.h,s=t.td_max_width,l=t.isError,c=void 0!==l&&l;return e.createElement(e.Fragment,null,n&&e.createElement(ax,null,n),e.createElement(Dw,{h:i||""},e.createElement(Mw,null,e.createElement(zw,null,e.createElement(Fw,null,Array.from(a,(function(t,n){return e.createElement(Bw,{key:n},a[n])})))),e.createElement(jw,null,function(){if(!r)return e.createElement(Fw,null,e.createElement(nx,{colSpan:a.length,max_width:s||""}));if("[object Array]"===Object.prototype.toString.call(r[0]))return Array.from(r,(function(t,n){return e.createElement(Fw,{key:n},Array.from(r[n],(function(t,a){return e.createElement(Uw,{max_width:s||"",key:a},r[n][a])})))}));if("[object Object]"===Object.prototype.toString.call(r[0])){var t=r.map((function(e){return o.map((function(t){return e[t]}))}));return Array.from(t,(function(n,r){return e.createElement(Fw,{key:r},Array.from(t[r],(function(n,a){return e.createElement(Uw,{max_width:s||"",key:a},t[r][a])})))}))}return e.createElement(Fw,null,e.createElement(rx,{colSpan:a.length,max_width:s||""}))}())),!c&&!r&&e.createElement(Fh,{url:e.createElement(ox,{icon:_f.LM,spin:!0}),h:"80%",w:"100%"}),!c&&r&&0===r.length&&e.createElement(Fh,{url:e.createElement(ix,{icon:Pw.Aq,fade:!0}),h:"80%",w:"100%"}),c&&e.createElement(Fh,{errorFlag:!0,h:"80%",w:"100%"})))},nx=bn(Uw).withConfig({displayName:"Table___StyledTd",componentId:"sc-1fjwvc9-0"})({lineHeight:"2.5rem"}),rx=bn(Uw).withConfig({displayName:"Table___StyledTd2",componentId:"sc-1fjwvc9-1"})({lineHeight:"2.5rem"}),ax=bn(Af).withConfig({displayName:"Table___StyledInLineTitle",componentId:"sc-1fjwvc9-2"})({marginBottom:"1rem",marginTop:"0.5rem"}),ox=bn(mi).withConfig({displayName:"Table___StyledFontAwesomeIcon",componentId:"sc-1fjwvc9-3"})({"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}),ix=bn(mi).withConfig({displayName:"Table___StyledFontAwesomeIcon2",componentId:"sc-1fjwvc9-4"})({"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}),sx=bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-fjf4t8-0"})(["margin:20px 0 0 0;padding:20px 12px;background-color:white;text-align:center;z-index:500;gap:10px;&::-webkit-scrollbar{display:none;}"]),lx=bn.div.withConfig({displayName:"Styledtwin__LineWrapper",componentId:"sc-fjf4t8-1"})(["display:flex;flex-direction:row;justify-content:space-around;gap:18px;flex-grow:1;flex-shrink:1;min-width:60%;&>*{margin-left:auto;margin-right:auto;}"]),cx=["data_tooltip_id","text","setText","invalid","data_tooltip_content","data_tooltip_variant","desc","icon","id","onChange","onKeyPress","placeholder","iconOnClick","maxLength"];function ux(){return ux=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,cx),g=(0,e.useRef)(),v=(0,e.useRef)();return(0,e.useEffect)((function(){v.current=yf.to(g.current,{y:-24,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",paused:""===r,yoyo:!0})}),[r]),e.createElement(Sh,{"data-tooltip-id":n||"","data-tooltip-content":o||"","data-tooltip-variant":i||"",onFocus:function(){v.current&&(v.current.kill(),v.current=yf.to(g.current,{y:-24,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",yoyo:!0}))},onBlur:function(){""===r&&v.current&&(v.current.kill(),v.current=yf.to(g.current,{y:0,scale:1,duration:.3,backgroundColor:"rgba(255 255 255 0)",ease:"power2.out"}))}},e.createElement(yh,ux({placeholder:d||"",className:"peer",id:c||"",maxLength:h||2e3,value:r||"",onChange:u||function(){},onKeyPress:f||function(){},invalid:a||""},m)),e.createElement(bh,{for:c||"",ref:g},s||""),e.createElement(xh,{for:c,onClick:p,tw:""},l||""))}var dx=i(6284),px=["data_tooltip_id","text","setText","invalid","data_tooltip_content","data_tooltip_variant","desc","icon","id","onChange","onKeyPress","placeholder","iconOnClick","maxLength","selectList","closeClassName","animate","_t","_l","_r","h"];function hx(){return hx=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,px),E=(0,e.useRef)(),k=(0,e.useRef)(),C=(0,e.useRef)(r),T=mx((0,e.useState)(!1),2),A=T[0],I=T[1],N=mx((0,e.useState)(!1),2),O=N[0],R=N[1],L=(0,e.useRef)(null),P={"t-in.3":{"@keyframes popup_t":{"0%":{transformOrigin:"top",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"top",opacity:"1",transform:"scale(1)"}},animation:"popup_t .3s ease forwards"},"tr-in.3":{"@keyframes popup_tr":{"0%":{transformOrigin:"top right",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"top right",opacity:"1",transform:"scale(1)"}},animation:"popup_tr .3s ease forwards"},"b-in.3":{"@keyframes popup_b":{"0%":{transformOrigin:"bottom",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"bottom",opacity:"1",transform:"scale(1)"}},animation:"popup_b .3s ease forwards"},"t-out.3":{"@keyframes popout_t":{"100%":{transformOrigin:"top",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"top",opacity:"1",transform:"scale(1)"}},animation:"popout_t .3s ease forwards"},"tr-out.3":{"@keyframes popout_tr":{"100%":{transformOrigin:"top right",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"top right",opacity:"1",transform:"scale(1)"}},animation:"popout_tr .3s ease forwards"},"b-out.3":{"@keyframes popout_b":{"100%":{transformOrigin:"bottom",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"bottom",opacity:"1",transform:"scale(1)"}},animation:"popout_b .3s ease forwards"}};return(0,e.useEffect)((function(){var e=function(e){(L.current&&!L.current.contains(e.target)||L.current&&L.current.contains(e.target)&&"string"==typeof e.target.className&&e.target.className.split(" ").includes(v||"closeClassName"))&&R(!0)};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}}),[]),(0,e.useEffect)((function(){""===r?(C.current="",k.current&&k.current.kill(),yf.to(E.current,{y:0,scale:1,duration:.3,backgroundColor:"white",ease:"power2.out"})):(k.current&&k.current.kill(),k.current=yf.to(E.current,{y:-21,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out"}),k.current.restart())}),[r]),e.createElement(Sh,{ref:L,"data-tooltip-id":n||"","data-tooltip-content":i||"","data-tooltip-variant":s||"",onBlur:function(){setTimeout((function(){""===C.current&&k.current&&(k.current.kill(),k.current=yf.to(E.current,{y:0,scale:1,duration:.3,backgroundColor:"rgba(255 255 255 0)",ease:"power2.out"}))}),100)},onFocus:function(){k.current&&(k.current.kill(),k.current=yf.to(E.current,{y:-21,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",yoyo:!0}))}},e.createElement(yx,hx({onClick:function(){I(!0),R(A)},placeholder:p||"",className:"peer",id:u||"",maxLength:m||2e3,value:r||"",onChange:f||function(){},onKeyPress:d||function(){},invalid:o||"",readOnly:!0},S)),e.createElement(Oh,{_tw:{cursor:"default"},isHidden:!A,animate:y&&(O?P[y.split(".").join("-out.")]:P[y.split(".").join("-in.")]),validText:r,h:_||"302px",_t:w||"36px",_l:b||"auto",_r:x||"10px",closeClassName:v?v+" closeClassName":"closeClassName",list:g||["jump","wait","click","input"],onAnimationEnd:function(){O&&I(!1)},onClick:function(e){if(e.target.id.includes("pageLi_")){var t=parseInt(e.target.id.slice(7),10)-1;a(g[t]),C.current=g[t]}}}),e.createElement(bh,{for:u||"",ref:E},l||""),e.createElement(_h,{for:u,tw:""},e.createElement(mi,{icon:dx.S6,fade:!0})),e.createElement(xh,{for:u,onClick:h,tw:""},c||""))}var yx=bn(yh).withConfig({displayName:"SelectInput___StyledTextInputLine",componentId:"sc-v3s3oz-0"})({cursor:"default","@media (min-width: 768px)":{cursor:"pointer"}});function wx(e){return wx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wx(e)}function bx(){bx=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,a){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),s=new k(a||[]);return r(i,"_invoke",{value:x(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=h.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function a(r,o,i,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==wx(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,i,s)}),(function(e){a("throw",e,i,s)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return a("throw",e,i,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return{value:void 0,done:!0}}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=_(i,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function _(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=u(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function xx(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function _x(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){xx(o,r,a,i,s,"next",e)}function s(e){xx(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Sx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ex(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ex(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==a[0]?a[0]:parseInt(h,10)?parseInt(h,10):30,n=a.length>1&&void 0!==a[1]?a[1]:parseInt(v,10)?parseInt(v,10):1,e.prev=2,e.next=5,$p.awaitLogsAPI("GET",t,n);case 5:return r=e.sent,i(r.data),e.abrupt("return","Succeed to updateLogData");case 10:throw e.prev=10,e.t0=e.catch(2),E(!0),new Error("Failed to updateLogData");case 14:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=_x(bx().mark((function e(){var t;return bx().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$p.awaitUrlCountAPI("GET");case 3:return t=e.sent,r(t.data),e.abrupt("return","Succeed to updateVisitData");case 8:throw e.prev=8,e.t0=e.catch(0),x(!0),new Error("Failed to updateVisitData");case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),M=function(e){"Enter"===e.key&&(L.current.click(),L.current.focus())};return(0,e.useEffect)((function(){D().then((function(e){return console.log(e)})).catch((function(e){return console.warn(e)})),P().then((function(e){return console.log(e)})).catch((function(e){return console.warn(e)}))}),[]),(0,e.useEffect)((function(){y("")}),[h]),e.createElement(Pn,null,e.createElement(wf,null),e.createElement(Nn,null,e.createElement(Rn,null),e.createElement(Cx,null,e.createElement($v,{theme:"defaults",h:"360px",k:.5,topTextA:"统计",topTextB:"当前访问量",subTextA:"全站访问次数",tw_card:{"@media (min-width: 768px)":{gridColumn:"span 2 / span 2"}},tw_content:{letterSpacing:"0.025em"},icon:e.createElement(Tx,{icon:Lw.Md}),onClick:function(){D().then((function(e){return Ug("已更新当前访问量 !","update_visit_count_1")})).catch((function(e){return Bg("更新当前访问量失败 !","error_update_visit_count_1")})),c(!l)}},n?e.createElement(lw,{freshFlag:l,fromValue:0,toValue:n[0].sum_count,duration:2,step:1}):b?e.createElement(mi,{icon:my.WV,shake:!0}):e.createElement(mi,{icon:_f.LM,spin:!0})),e.createElement(Ax,null,e.createElement(tx,{h:"360px",headers:["URL","Count","Last Time"],data:n&&n.map((function(e){return e.ltime=Ei(e.ltime),e})),keys:["url","count","ltime"],isError:b})),e.createElement($v,{theme:"defaults",h:"360px",k:.5,topTextA:"统计",topTextB:"日志总数量",subTextA:"后台API日志",tw_card:{"@media (min-width: 768px)":{gridColumn:"span 2 / span 2"}},tw_content:{letterSpacing:"0.025em"},icon:e.createElement(Ix,{icon:Rw.FQ}),onClick:function(){P().then((function(e){return Ug("已更新日志总数量 !","update_log_count_1")})).catch((function(e){return Bg("更新日志总数量失败 !","error_update_log_count_1")})),d(!f)}},o&&o[0]?e.createElement(lw,{freshFlag:f,fromValue:0,toValue:o[0].total_count,duration:2,step:1}):S?e.createElement(mi,{icon:my.WV,shake:!0}):e.createElement(mi,{icon:_f.LM,spin:!0})),e.createElement(Nx,null,e.createElement(lx,null,e.createElement(Af,null,"查询",e.createElement(Ox,{icon:Ow.Kr}),"日志")),e.createElement(lx,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择每页显示几条日志, 默认30",id:"input_text",onChange:function(e){m(e.target.value),I(!1)},onKeyPress:M,invalid:A,text:h,setText:m,iconOnClick:function(){m&&m("30")},selectList:["10","20","30","50","100","150","200"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(lx,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择显示第几页, 默认1",id:"input_text2",onChange:function(e){y(e.target.value),R(!1)},onKeyPress:M,invalid:O,text:v,setText:y,iconOnClick:function(){y&&y("1")},selectList:o&&o[0]?Array.from({length:o&&o[0]?parseInt(h,10)?Math.ceil(o[0].total_count/parseInt(h,10)):Math.ceil(o[0].total_count/30):1},(function(e,t){return t+1})):["1"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(Rx,null,e.createElement(Lx,{disabled:C,h:"36px",w:"140px",onClick:function(){P().then((function(e){d(!f),Ug("日志查询成功 !","search_log_1")})).catch((function(e){return console.error(e)}))},ref:L},C?e.createElement(e.Fragment,null,"查询中",e.createElement(Px,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"查询日志",e.createElement(Dx,{icon:Sn.Y$,fade:!0}))))),e.createElement(Mx,null,e.createElement(tx,{h:"360px",headers:["ID","Time","API","Method","Log"],data:o&&o.map((function(e){return e.time=Ei(e.time),e})),keys:["id","time","api","method","log"],isError:S}))),e.createElement(Ln,null)),e.createElement(rh,null))}var Cx=bn(On).withConfig({displayName:"Dashboard___StyledWrapperMain",componentId:"sc-1b6n5hf-0"})({gridTemplateColumns:"repeat(5, minmax(0, 1fr))"}),Tx=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon",componentId:"sc-1b6n5hf-1"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Ax=bn("div").withConfig({displayName:"Dashboard___StyledDiv",componentId:"sc-1b6n5hf-2"})({gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 3 / span 3"}}),Ix=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon2",componentId:"sc-1b6n5hf-3"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Nx=bn(sx).withConfig({displayName:"Dashboard___StyledContentWrapper",componentId:"sc-1b6n5hf-4"})({position:"relative",gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 3 / span 3"}}),Ox=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon3",componentId:"sc-1b6n5hf-5"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),Rx=bn(lx).withConfig({displayName:"Dashboard___StyledLineWrapper",componentId:"sc-1b6n5hf-6"})({marginTop:"0.5rem"}),Lx=bn(Xg).withConfig({displayName:"Dashboard___StyledMButton",componentId:"sc-1b6n5hf-7"})({borderRadius:"9999px"}),Px=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon4",componentId:"sc-1b6n5hf-8"})({marginLeft:"0.25rem"}),Dx=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon5",componentId:"sc-1b6n5hf-9"})({marginLeft:"0.25rem"}),Mx=bn("div").withConfig({displayName:"Dashboard___StyledDiv2",componentId:"sc-1b6n5hf-10"})({gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 5 / span 5"}}),Fx=i(767),zx=i(8371),jx=i(5346),Bx=i(3726),Ux=bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-nzmynd-0"})(["margin:0 auto 0 auto;max-width:1000px;display:flex;flex-direction:column;padding:0 5px 0 5px;",";"],{marginTop:"0.5rem","@media (min-width: 768px)":{marginTop:"0px"}}),Hx=bn.div.withConfig({displayName:"Styledtwin__ButtonWrapper",componentId:"sc-nzmynd-1"})([""]),Wx=bn.div.withConfig({displayName:"Styledtwin__HeaderWrapper",componentId:"sc-nzmynd-2"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Vx=bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-nzmynd-3"})(["margin:20px 0 0 0;padding:20px 12px;background-color:white;text-align:center;gap:10px;"]),Yx=bn.div.withConfig({displayName:"Styledtwin__LineWrapper",componentId:"sc-nzmynd-4"})(["display:flex;flex-direction:row;justify-content:center;gap:18px;flex-grow:1;min-width:60%;&>*{margin-left:auto;margin-right:auto;}"]);function Gx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xx(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]),b_=e.createContext(1),x_=i(906),__=i(6529),S_=i(2679);function E_(e,t){for(var n=0;ns?(a=r,r=e,i=o,o=l):n?r+=e:r=a+(e-a)/(l-i)*(o-i)};return{update:c,reset:function(){a=r=n?0:r,i=o=0},getVelocity:function(e){var t=i,s=a,u=W_();return(e||0===e)&&e!==r&&c(e),o===i||u-i>l?0:(r+(n?s:-s))/((n?u:o)-t)*1e3}}},aS=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},oS=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},iS=function(){var e,t,n,r;(L_=k_.core.globals().ScrollTrigger)&&L_.core&&(e=L_.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,U_),r.push.apply(r,H_),U_=n,H_=r,V_=function(e,n){return t[e](n)})},sS=function(e){return(k_=e||z_())&&"undefined"!=typeof document&&document.body&&(T_=window,A_=document,I_=A_.documentElement,N_=A_.body,P_=[T_,A_,I_,N_],k_.utils.clamp,F_=k_.core.context||function(){},R_="onpointerenter"in N_?"pointer":"mouse",O_=lS.isTouch=T_.matchMedia&&T_.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in T_||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,M_=lS.eventTypes=("ontouchstart"in I_?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in I_?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return j_=0}),500),iS(),C_=1),C_};Z_.op=eS,U_.cache=0;var lS=function(){function e(e){this.init(e)}var t,n;return e.prototype.init=function(e){C_||sS(k_)||console.warn("Please gsap.registerPlugin(Observer)"),L_||iS();var t=e.tolerance,n=e.dragMinimum,r=e.type,a=e.target,o=e.lineHeight,i=e.debounce,s=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,d=e.event,p=e.onDragStart,h=e.onDragEnd,m=e.onDrag,g=e.onPress,v=e.onRelease,y=e.onRight,w=e.onLeft,b=e.onUp,x=e.onDown,_=e.onChangeX,S=e.onChangeY,E=e.onChange,k=e.onToggleX,C=e.onToggleY,T=e.onHover,A=e.onHoverEnd,I=e.onMove,N=e.ignoreCheck,O=e.isNormalizer,R=e.onGestureStart,L=e.onGestureEnd,P=e.onWheel,D=e.onEnable,M=e.onDisable,F=e.onClick,z=e.scrollSpeed,j=e.capture,B=e.allowClicks,U=e.lockAxis,H=e.onLockAxis;this.target=a=tS(a)||I_,this.vars=e,u&&(u=k_.utils.toArray(u)),t=t||1e-9,n=n||0,f=f||1,z=z||1,r=r||"wheel,touch,pointer",i=!1!==i,o||(o=parseFloat(T_.getComputedStyle(N_).lineHeight)||22);var W,V,Y,G,X,$,q,K=this,Q=0,J=0,Z=nS(a,Z_),ee=nS(a,eS),te=Z(),ne=ee(),re=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===M_[0],ae=G_(a),oe=a.ownerDocument||A_,ie=[0,0,0],se=[0,0,0],le=0,ce=function(){return le=W_()},ue=function(e,t){return(K.event=e)&&u&&~u.indexOf(e.target)||t&&re&&"touch"!==e.pointerType||N&&N(e,t)},fe=function(){var e=K.deltaX=oS(ie),n=K.deltaY=oS(se),r=Math.abs(e)>=t,a=Math.abs(n)>=t;E&&(r||a)&&E(K,e,n,ie,se),r&&(y&&K.deltaX>0&&y(K),w&&K.deltaX<0&&w(K),_&&_(K),k&&K.deltaX<0!=Q<0&&k(K),Q=K.deltaX,ie[0]=ie[1]=ie[2]=0),a&&(x&&K.deltaY>0&&x(K),b&&K.deltaY<0&&b(K),S&&S(K),C&&K.deltaY<0!=J<0&&C(K),J=K.deltaY,se[0]=se[1]=se[2]=0),(G||Y)&&(I&&I(K),Y&&(m(K),Y=!1),G=!1),$&&!($=!1)&&H&&H(K),X&&(P(K),X=!1),W=0},de=function(e,t,n){ie[n]+=e,se[n]+=t,K._vx.update(e),K._vy.update(t),i?W||(W=requestAnimationFrame(fe)):fe()},pe=function(e,t){U&&!q&&(K.axis=q=Math.abs(e)>Math.abs(t)?"x":"y",$=!0),"y"!==q&&(ie[2]+=e,K._vx.update(e,!0)),"x"!==q&&(se[2]+=t,K._vy.update(t,!0)),i?W||(W=requestAnimationFrame(fe)):fe()},he=function(e){if(!ue(e,1)){var t=(e=aS(e,s)).clientX,r=e.clientY,a=t-K.x,o=r-K.y,i=K.isDragging;K.x=t,K.y=r,(i||Math.abs(K.startX-t)>=n||Math.abs(K.startY-r)>=n)&&(m&&(Y=!0),i||(K.isDragging=!0),pe(a,o),i||p&&p(K))}},me=K.onPress=function(e){ue(e,1)||e&&e.button||(K.axis=q=null,V.pause(),K.isPressed=!0,e=aS(e),Q=J=0,K.startX=K.x=e.clientX,K.startY=K.y=e.clientY,K._vx.reset(),K._vy.reset(),X_(O?a:oe,M_[1],he,s,!0),K.deltaX=K.deltaY=0,g&&g(K))},ge=K.onRelease=function(e){if(!ue(e,1)){$_(O?a:oe,M_[1],he,!0);var t=!isNaN(K.y-K.startY),n=K.isDragging&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),r=aS(e);!n&&t&&(K._vx.reset(),K._vy.reset(),s&&B&&k_.delayedCall(.08,(function(){if(W_()-le>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(oe.createEvent){var t=oe.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,T_,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&!O&&V.restart(!0),h&&n&&h(K),v&&v(K,n)}},ve=function(e){return e.touches&&e.touches.length>1&&(K.isGesturing=!0)&&R(e,K.isDragging)},ye=function(){return(K.isGesturing=!1)||L(K)},we=function(e){if(!ue(e)){var t=Z(),n=ee();de((t-te)*z,(n-ne)*z,1),te=t,ne=n,l&&V.restart(!0)}},be=function(e){if(!ue(e)){e=aS(e,s),P&&(X=!0);var t=(1===e.deltaMode?o:2===e.deltaMode?T_.innerHeight:1)*f;de(e.deltaX*t,e.deltaY*t,0),l&&!O&&V.restart(!0)}},xe=function(e){if(!ue(e)){var t=e.clientX,n=e.clientY,r=t-K.x,a=n-K.y;K.x=t,K.y=n,G=!0,(r||a)&&pe(r,a)}},_e=function(e){K.event=e,T(K)},Se=function(e){K.event=e,A(K)},Ee=function(e){return ue(e)||aS(e,s)&&F(K)};V=K._dc=k_.delayedCall(c||.25,(function(){K._vx.reset(),K._vy.reset(),V.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=rS(0,50,!0),K._vy=rS(0,50,!0),K.scrollX=Z,K.scrollY=ee,K.isDragging=K.isGesturing=K.isPressed=!1,F_(this),K.enable=function(e){return K.isEnabled||(X_(ae?oe:a,"scroll",Q_),r.indexOf("scroll")>=0&&X_(ae?oe:a,"scroll",we,s,j),r.indexOf("wheel")>=0&&X_(a,"wheel",be,s,j),(r.indexOf("touch")>=0&&O_||r.indexOf("pointer")>=0)&&(X_(a,M_[0],me,s,j),X_(oe,M_[2],ge),X_(oe,M_[3],ge),B&&X_(a,"click",ce,!1,!0),F&&X_(a,"click",Ee),R&&X_(oe,"gesturestart",ve),L&&X_(oe,"gestureend",ye),T&&X_(a,R_+"enter",_e),A&&X_(a,R_+"leave",Se),I&&X_(a,R_+"move",xe)),K.isEnabled=!0,e&&e.type&&me(e),D&&D(K)),K},K.disable=function(){K.isEnabled&&(B_.filter((function(e){return e!==K&&G_(e.target)})).length||$_(ae?oe:a,"scroll",Q_),K.isPressed&&(K._vx.reset(),K._vy.reset(),$_(O?a:oe,M_[1],he,!0)),$_(ae?oe:a,"scroll",we,j),$_(a,"wheel",be,j),$_(a,M_[0],me,j),$_(oe,M_[2],ge),$_(oe,M_[3],ge),$_(a,"click",ce,!0),$_(a,"click",Ee),$_(oe,"gesturestart",ve),$_(oe,"gestureend",ye),$_(a,R_+"enter",_e),$_(a,R_+"leave",Se),$_(a,R_+"move",xe),K.isEnabled=K.isPressed=K.isDragging=!1,M&&M(K))},K.kill=K.revert=function(){K.disable();var e=B_.indexOf(K);e>=0&&B_.splice(e,1),D_===K&&(D_=0)},B_.push(K),O&&G_(a)&&(D_=K),K.enable(d)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&E_(t.prototype,n),e}();lS.version="3.12.2",lS.create=function(e){return new lS(e)},lS.register=sS,lS.getAll=function(){return B_.slice()},lS.getById=function(e){return B_.filter((function(t){return t.vars.id===e}))[0]},z_()&&k_.registerPlugin(lS);var cS,uS,fS,dS,pS,hS,mS,gS,vS,yS,wS,bS,xS,_S,SS,ES,kS,CS,TS,AS,IS,NS,OS,RS,LS,PS,DS,MS,FS,zS,jS,BS,US,HS,WS,VS,YS=1,GS=Date.now,XS=GS(),$S=0,qS=0,KS=function(e,t,n){var r=uE(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},QS=function(e,t){return!t||uE(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},JS=function e(){return qS&&requestAnimationFrame(e)},ZS=function(){return _S=1},eE=function(){return _S=0},tE=function(e){return e},nE=function(e){return Math.round(1e5*e)/1e5||0},rE=function(){return"undefined"!=typeof window},aE=function(){return cS||rE()&&(cS=window.gsap)&&cS.registerPlugin&&cS},oE=function(e){return!!~mS.indexOf(e)},iE=function(e){return("Height"===e?jS:fS["inner"+e])||pS["client"+e]||hS["client"+e]},sE=function(e){return Y_(e,"getBoundingClientRect")||(oE(e)?function(){return wk.width=fS.innerWidth,wk.height=jS,wk}:function(){return LE(e)})},lE=function(e,t){var n=t.s,r=t.d2,a=t.d,o=t.a;return Math.max(0,(n="scroll"+r)&&(o=Y_(e,n))?o()-sE(e)()[a]:oE(e)?(pS[n]||hS[n])-iE(r):e[n]-e["offset"+r])},cE=function(e,t){for(var n=0;n0){for(e-=a,o=0;o=e)return n[o];return n[o-1]}for(o=n.length,e+=a;o--;)if(n[o]<=e)return n[o];return n[0]}:function(n,r,a){void 0===a&&(a=.001);var o=t(n);return!r||Math.abs(o-n)n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in WE?WE[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},YE=function(e,t,n,r,a,o,i,s){var l=a.startColor,c=a.endColor,u=a.fontSize,f=a.indent,d=a.fontWeight,p=dS.createElement("div"),h=oE(n)||"fixed"===Y_(n,"pinType"),m=-1!==e.indexOf("scroller"),g=h?hS:n,v=-1!==e.indexOf("start"),y=v?l:c,w="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((m||s)&&h?"fixed;":"absolute;"),(m||s||!h)&&(w+=(r===eS?yE:wE)+":"+(o+parseFloat(f))+"px;"),i&&(w+="box-sizing:border-box;text-align:left;width:"+i.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=w,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+r.op.d2],GE(p,0,r,v),p},GE=function(e,t,n,r){var a={display:"block"},o=n[r?"os2":"p2"],i=n[r?"p2":"os2"];e._isFlipped=r,a[n.a+"Percent"]=r?-100:0,a[n.a]=r?"1px":0,a["border"+o+AE]=1,a["border"+i+AE]=0,a[n.p]=t+"px",cS.set(e,a)},XE=[],$E={},qE=function(){return GS()-$S>34&&(US||(US=requestAnimationFrame(dk)))},KE=function(){(!OS||!OS.isPressed||OS.startX>hS.clientWidth)&&(U_.cache++,OS?US||(US=requestAnimationFrame(dk)):dk(),$S||nk("scrollStart"),$S=GS())},QE=function(){PS=fS.innerWidth,LS=fS.innerHeight},JE=function(){U_.cache++,!xS&&!NS&&!dS.fullscreenElement&&!dS.webkitFullscreenElement&&(!RS||PS!==fS.innerWidth||Math.abs(fS.innerHeight-LS)>.25*fS.innerHeight)&&gS.restart(!0)},ZE={},ek=[],tk=function e(){return jE(Ck,"scrollEnd",e)||ck(!0)},nk=function(e){return ZE[e]&&ZE[e].map((function(e){return e()}))||ek},rk=[],ak=function(e){for(var t=0;tt)&&e.setPositions(e.start,Math.max(e.start+1,t),!0)})),n.forEach((function(e){return e&&e.render&&e.render(-1)})),U_.forEach((function(e){fE(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),ik(FS,1),gS.pause(),sk++,HS=2,dk(2),XE.forEach((function(e){return fE(e.vars.onRefresh)&&e.vars.onRefresh(e)})),HS=Ck.isRefreshing=!1,nk("refresh")}else zE(Ck,"scrollEnd",tk)},uk=0,fk=1,dk=function(e){if(!HS||2===e){Ck.isUpdating=!0,VS&&VS.update(0);var t=XE.length,n=GS(),r=n-XS>=50,a=t&&XE[0].scroll();if(fk=uk>a?-1:1,HS||(uk=a),r&&($S&&!_S&&n-$S>200&&($S=0,nk("scrollEnd")),wS=XS,XS=n),fk<0){for(ES=t;ES-- >0;)XE[ES]&&XE[ES].update(0,r);fk=1}else for(ES=0;ES20),n-=n-b}if(p&&(s[p]=e||-.001,e<0&&(e=0)),o){var S=e+n,E=o._isStart;h="scroll"+r.d2,GE(o,S,r,E&&S>20||!E&&(u?Math.max(hS[h],pS[h]):o.parentNode[h])<=S+1),u&&(l=LE(i),u&&(o.style[r.op.p]=l[r.op.p]-r.op.m-o._offset+NE))}return d&&g&&(h=LE(g),d.seek(f),m=LE(g),d._caScrollDist=h[r.p]-m[r.p],e=e/d._caScrollDist*f),d&&d.seek(v),d?e:Math.round(e)},xk=/(webkit|moz|length|cssText|inset)/i,_k=function(e,t,n,r){if(e.parentNode!==t){var a,o,i=e.style;if(t===hS){for(a in e._stOrig=i.cssText,o=OE(e))+a||xk.test(a)||!o[a]||"string"!=typeof i[a]||"0"===a||(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;cS.core.getCache(e).uncache=1,t.appendChild(e)}},Sk=function(e,t,n){var r=t,a=r;return function(t){var o=Math.round(e());return o!==r&&o!==a&&Math.abs(o-r)>3&&Math.abs(o-a)>3&&(t=o,n&&n()),a=r,r=t,t}},Ek=function(e,t,n){var r={};r[t.p]="+="+n,cS.set(e,r)},kk=function(e,t){var n=nS(e,t),r="_scroll"+t.p2,a=function t(a,o,i,s,l){var c=t.tween,u=o.onComplete,f={};i=i||n();var d=Sk(n,i,(function(){c.kill(),t.tween=0}));return l=s&&l||0,s=s||a-i,c&&c.kill(),o[r]=a,o.modifiers=f,f[r]=function(){return d(i+s*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){U_.cache++,dk()},o.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=cS.to(e,o)};return e[r]=n,n.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},zE(e,"wheel",n.wheelHandler),Ck.isTouch&&zE(e,"touchmove",n.wheelHandler),a},Ck=function(){function e(t,n){uS||e.register(cS)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),MS(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),qS){var r,a,o,i,s,l,c,u,f,d,p,h,m,g,v,y,w,b,x,_,S,E,k,C,T,A,I,N,O,R,L,P,D,M,F,z,j,B,U,H,W,V,Y=t=RE(uE(t)||dE(t)||t.nodeType?{trigger:t}:t,HE),G=Y.onUpdate,X=Y.toggleClass,$=Y.id,q=Y.onToggle,K=Y.onRefresh,Q=Y.scrub,J=Y.trigger,Z=Y.pin,ee=Y.pinSpacing,te=Y.invalidateOnRefresh,ne=Y.anticipatePin,re=Y.onScrubComplete,ae=Y.onSnapComplete,oe=Y.once,ie=Y.snap,se=Y.pinReparent,le=Y.pinSpacer,ce=Y.containerAnimation,ue=Y.fastScrollEnd,fe=Y.preventOverlaps,de=t.horizontal||t.containerAnimation&&!1!==t.horizontal?Z_:eS,pe=!Q&&0!==Q,he=tS(t.scroller||fS),me=cS.core.getCache(he),ge=oE(he),ve="fixed"===("pinType"in t?t.pinType:Y_(he,"pinType")||ge&&"fixed"),ye=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],we=pe&&t.toggleActions.split(" "),be="markers"in t?t.markers:HE.markers,xe=ge?0:parseFloat(OE(he)["border"+de.p2+AE])||0,_e=this,Se=t.onRefreshInit&&function(){return t.onRefreshInit(_e)},Ee=function(e,t,n){var r=n.d,a=n.d2,o=n.a;return(o=Y_(e,"getBoundingClientRect"))?function(){return o()[r]}:function(){return(t?iE(a):e["client"+a])||0}}(he,ge,de),ke=function(e,t){return!t||~H_.indexOf(e)?sE(e):function(){return wk}}(he,ge),Ce=0,Te=0,Ae=0,Ie=nS(he,de);if(_e._startClamp=_e._endClamp=!1,_e._dir=de,ne*=45,_e.scroller=he,_e.scroll=ce?ce.time.bind(ce):Ie,i=Ie(),_e.vars=t,n=n||t.animation,"refreshPriority"in t&&(AS=1,-9999===t.refreshPriority&&(VS=_e)),me.tweenScroll=me.tweenScroll||{top:kk(he,eS),left:kk(he,Z_)},_e.tweenTo=r=me.tweenScroll[de.p],_e.scrubDuration=function(e){(D=dE(e)&&e)?P?P.duration(e):P=cS.to(n,{ease:"expo",totalProgress:"+=0",duration:D,paused:!0,onComplete:function(){return re&&re(_e)}}):(P&&P.progress(1).kill(),P=0)},n&&(n.vars.lazy=!1,n._initted&&!_e.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),_e.animation=n.pause(),n.scrollTrigger=_e,_e.scrubDuration(Q),R=0,$||($=n.vars.id)),ie&&(pE(ie)&&!ie.push||(ie={snapTo:ie}),"scrollBehavior"in hS.style&&cS.set(ge?[hS,pS]:he,{scrollBehavior:"auto"}),U_.forEach((function(e){return fE(e)&&e.target===(ge?dS.scrollingElement||pS:he)&&(e.smooth=!1)})),o=fE(ie.snapTo)?ie.snapTo:"labels"===ie.snapTo?function(e){return function(t){return cS.utils.snap(DE(e),t)}}(n):"labelsDirectional"===ie.snapTo?(H=n,function(e,t){return ME(DE(H))(e,t.direction)}):!1!==ie.directional?function(e,t){return ME(ie.snapTo)(e,GS()-Te<500?0:t.direction)}:cS.utils.snap(ie.snapTo),M=ie.duration||{min:.1,max:2},M=pE(M)?yS(M.min,M.max):yS(M,M),F=cS.delayedCall(ie.delay||D/2||.1,(function(){var e=Ie(),t=GS()-Te<500,a=r.tween;if(!(t||Math.abs(_e.getVelocity())<10)||a||_S||Ce===e)_e.isActive&&Ce!==e&&F.restart(!0);else{var i=(e-l)/g,s=n&&!pe?n.totalProgress():i,u=t?0:(s-L)/(GS()-wS)*1e3||0,f=cS.utils.clamp(-i,1-i,gE(u/2)*u/.185),d=i+(!1===ie.inertia?0:f),p=yS(0,1,o(d,_e)),h=Math.round(l+p*g),m=ie,v=m.onStart,y=m.onInterrupt,w=m.onComplete;if(e<=c&&e>=l&&h!==e){if(a&&!a._initted&&a.data<=gE(h-e))return;!1===ie.inertia&&(f=p-i),r(h,{duration:M(gE(.185*Math.max(gE(d-s),gE(p-s))/u/.05||0)),ease:ie.ease||"power3",data:gE(h-e),onInterrupt:function(){return F.restart(!0)&&y&&y(_e)},onComplete:function(){_e.update(),Ce=Ie(),R=L=n&&!pe?n.totalProgress():_e.progress,ae&&ae(_e),w&&w(_e)}},e,f*g,h-e-f*g),v&&v(_e,r.tween)}}})).pause()),$&&($E[$]=_e),(U=(J=_e.trigger=tS(J||!0!==Z&&Z))&&J._gsap&&J._gsap.stRevert)&&(U=U(_e)),Z=!0===Z?J:tS(Z),uE(X)&&(X={targets:J,className:X}),Z&&(!1===ee||ee===TE||(ee=!(!ee&&Z.parentNode&&Z.parentNode.style&&"flex"===OE(Z.parentNode).display)&&CE),_e.pin=Z,(a=cS.core.getCache(Z)).spacer?v=a.pinState:(le&&((le=tS(le))&&!le.nodeType&&(le=le.current||le.nativeElement),a.spacerIsNative=!!le,le&&(a.spacerState=yk(le))),a.spacer=b=le||dS.createElement("div"),b.classList.add("pin-spacer"),$&&b.classList.add("pin-spacer-"+$),a.pinState=v=yk(Z)),!1!==t.force3D&&cS.set(Z,{force3D:!0}),_e.spacer=b=a.spacer,O=OE(Z),C=O[ee+de.os2],_=cS.getProperty(Z),S=cS.quickSetter(Z,de.a,NE),mk(Z,b,O),w=yk(Z)),be){h=pE(be)?RE(be,UE):UE,d=YE("scroller-start",$,he,de,h,0),p=YE("scroller-end",$,he,de,h,0,d),x=d["offset"+de.op.d2];var Ne=tS(Y_(he,"content")||he);u=this.markerStart=YE("start",$,Ne,de,h,x,0,ce),f=this.markerEnd=YE("end",$,Ne,de,h,x,0,ce),ce&&(B=cS.quickSetter([u,f],de.a,NE)),ve||H_.length&&!0===Y_(he,"fixedMarkers")||(V=OE(W=ge?hS:he).position,W.style.position="absolute"===V||"fixed"===V?V:"relative",cS.set([d,p],{force3D:!0}),A=cS.quickSetter(d,de.a,NE),N=cS.quickSetter(p,de.a,NE))}if(ce){var Oe=ce.vars.onUpdate,Re=ce.vars.onUpdateParams;ce.eventCallback("onUpdate",(function(){_e.update(0,0,1),Oe&&Oe.apply(ce,Re||[])}))}if(_e.previous=function(){return XE[XE.indexOf(_e)-1]},_e.next=function(){return XE[XE.indexOf(_e)+1]},_e.revert=function(e,t){if(!t)return _e.kill(!0);var r=!1!==e||!_e.enabled,a=xS;r!==_e.isReverted&&(r&&(z=Math.max(Ie(),_e.scroll.rec||0),Ae=_e.progress,j=n&&n.progress()),u&&[u,f,d,p].forEach((function(e){return e.style.display=r?"none":"block"})),r&&(xS=_e,_e.update(r)),!Z||se&&_e.isActive||(r?function(e,t,n){vk(n);var r=e._gsap;if(r.spacerIsNative)vk(r.spacerState);else if(e._gsap.swappedIn){var a=t.parentNode;a&&(a.insertBefore(e,t),a.removeChild(t))}e._gsap.swappedIn=!1}(Z,b,v):mk(Z,b,OE(Z),T)),r||_e.update(r),xS=a,_e.isReverted=r)},_e.refresh=function(a,o,h,x){if(!xS&&_e.enabled||o)if(Z&&a&&$S)zE(e,"scrollEnd",tk);else{!HS&&Se&&Se(_e),xS=_e,r.tween&&!h&&(r.tween.kill(),r.tween=0),P&&P.pause(),te&&n&&n.revert({kill:!1}).invalidate(),_e.isReverted||_e.revert(!0,!0),_e._subPinOffset=!1;var S,C,A,N,O,R,L,D,M,B,U,H,W,V=Ee(),Y=ke(),G=ce?ce.duration():lE(he,de),X=g<=.01,$=0,q=x||0,Q=pE(h)?h.end:t.end,ne=t.endTrigger||J,re=pE(h)?h.start:t.start||(0!==t.start&&J?Z?"0 0":"0 100%":0),ae=_e.pinnedContainer=t.pinnedContainer&&tS(t.pinnedContainer,_e),oe=J&&Math.max(0,XE.indexOf(_e))||0,ie=oe;for(be&&pE(h)&&(H=cS.getProperty(d,de.p),W=cS.getProperty(p,de.p));ie--;)(R=XE[ie]).end||R.refresh(0,1)||(xS=_e),!(L=R.pin)||L!==J&&L!==Z&&L!==ae||R.isReverted||(B||(B=[]),B.unshift(R),R.revert(!0,!0)),R!==XE[ie]&&(oe--,ie--);for(fE(re)&&(re=re(_e)),re=KS(re,"start",_e),l=bk(re,J,V,de,Ie(),u,d,_e,Y,xe,ve,G,ce,_e._startClamp&&"_startClamp")||(Z?-.001:0),fE(Q)&&(Q=Q(_e)),uE(Q)&&!Q.indexOf("+=")&&(~Q.indexOf(" ")?Q=(uE(re)?re.split(" ")[0]:"")+Q:($=VE(Q.substr(2),V),Q=uE(re)?re:(ce?cS.utils.mapRange(0,ce.duration(),ce.scrollTrigger.start,ce.scrollTrigger.end,l):l)+$,ne=J)),Q=KS(Q,"end",_e),c=Math.max(l,bk(Q||(ne?"100% 0":G),ne,V,de,Ie()+$,f,p,_e,Y,xe,ve,G,ce,_e._endClamp&&"_endClamp"))||-.001,$=0,ie=oe;ie--;)(L=(R=XE[ie]).pin)&&R.start-R._pinPush<=l&&!ce&&R.end>0&&(S=R.end-(_e._startClamp?Math.max(0,R.start):R.start),(L===J&&R.start-R._pinPush1&&(U={style:U=(ge?dS.scrollingElement||pS:he).style,value:U["overflow"+de.a.toUpperCase()]},ge&&"scroll"!==OE(hS)["overflow"+de.a.toUpperCase()]&&(U.style["overflow"+de.a.toUpperCase()]="scroll")),mk(Z,b,S),w=yk(Z),C=LE(Z,!0),D=ve&&nS(he,N?Z_:eS)(),ee&&((T=[ee+de.os2,g+q+NE]).t=b,(ie=ee===CE?PE(Z,de)+g+q:0)&&T.push(de.d,ie+NE),vk(T),ae&&XE.forEach((function(e){e.pin===ae&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),ve&&Ie(z)),ve&&((O={top:C.top+(N?A-l:D)+NE,left:C.left+(N?D:A-l)+NE,boxSizing:"border-box",position:"fixed"})[bE]=O["max"+AE]=Math.ceil(C.width)+NE,O[xE]=O["max"+IE]=Math.ceil(C.height)+NE,O[TE]=O[TE+EE]=O[TE+_E]=O[TE+kE]=O[TE+SE]="0",O[CE]=S[CE],O[CE+EE]=S[CE+EE],O[CE+_E]=S[CE+_E],O[CE+kE]=S[CE+kE],O[CE+SE]=S[CE+SE],y=function(e,t,n){for(var r,a=[],o=e.length,i=n?8:0;i1,ve&&I&&y.splice(y.length-2,2),n.render(0,!0,!0),M||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),IS(0)):k=g,U&&(U.value?U.style["overflow"+de.a.toUpperCase()]=U.value:U.style.removeProperty("overflow-"+de.a));else if(J&&Ie()&&!ce)for(C=J.parentNode;C&&C!==hS;)C._pinOffset&&(l-=C._pinOffset,c-=C._pinOffset),C=C.parentNode;B&&B.forEach((function(e){return e.revert(!1,!0)})),_e.start=l,_e.end=c,i=s=HS?z:Ie(),ce||HS||(i0?XE.slice(0,t).reverse():XE.slice(t+1);return(uE(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return _e.direction>0?e.end<=l:e.start>=c}))},_e.update=function(e,t,a){if(!ce||a||e){var o,u,f,p,h,m,v,x=!0===HS?z:_e.scroll(),_=e?0:(x-l)/g,T=_<0?0:_>1?1:_||0,O=_e.progress;if(t&&(s=i,i=ce?Ie():x,ie&&(L=R,R=n&&!pe?n.totalProgress():T)),ne&&!T&&Z&&!xS&&!YS&&$S&&lO?1:-1,_e.progress=T,p&&!xS&&(u=T&&!O?0:1===T?1:1===O?2:3,pe&&(f=!h&&"none"!==we[u+1]&&we[u+1]||we[u],v=n&&("complete"===f||"reset"===f||f in n))),fe&&(h||v)&&(v||Q||!n)&&(fE(fe)?fe(_e):_e.getTrailing(fe).forEach((function(e){return e.endAnimation()}))),pe||(!P||xS||YS?n&&n.totalProgress(T,!(!xS||!Te&&!e)):(P._dp._time-P._start!==P._time&&P.render(P._dp._time-P._start),P.resetTo?P.resetTo("totalProgress",T,n._tTime/n._tDur):(P.vars.totalProgress=T,P.invalidate().restart()))),Z)if(e&&ee&&(b.style[ee+de.os2]=C),ve){if(p){if(m=!e&&T>O&&c+1>x&&x+1>=lE(he,de),se)if(e||!o&&!m)_k(Z,b);else{var D=LE(Z,!0),M=x-l;_k(Z,hS,D.top+(de===eS?M:0)+NE,D.left+(de===eS?0:M)+NE)}vk(o||m?y:w),I&&T<1&&o||S(E+(1!==T||m?0:k))}}else S(nE(E+k*T));ie&&!r.tween&&!xS&&!YS&&F.restart(!0),X&&(h||oe&&T&&(T<1||!BS))&&vS(X.targets).forEach((function(e){return e.classList[o||oe?"add":"remove"](X.className)})),G&&!pe&&!e&&G(_e),p&&!xS?(pe&&(v&&("complete"===f?n.pause().totalProgress(1):"reset"===f?n.restart(!0).pause():"restart"===f?n.restart(!0):n[f]()),G&&G(_e)),!h&&BS||(q&&h&&mE(_e,q),ye[u]&&mE(_e,ye[u]),oe&&(1===T?_e.kill(!1,1):ye[u]=0),h||ye[u=1===T?1:3]&&mE(_e,ye[u])),ue&&!o&&Math.abs(_e.getVelocity())>(dE(ue)?ue:2500)&&(hE(_e.callbackAnimation),P?P.progress(1):hE(n,"reverse"===f?1:!T,1))):pe&&G&&!xS&&G(_e)}if(N){var j=ce?x/ce.duration()*(ce._caScrollDist||0):x;A(j+(d._isFlipped?1:0)),N(j)}B&&B(-x/ce.duration()*(ce._caScrollDist||0))}},_e.enable=function(t,n){_e.enabled||(_e.enabled=!0,zE(he,"resize",JE),ge||zE(he,"scroll",KE),Se&&zE(e,"refreshInit",Se),!1!==t&&(_e.progress=Ae=0,i=s=Ce=Ie()),!1!==n&&_e.refresh())},_e.getTween=function(e){return e&&r?r.tween:P},_e.setPositions=function(e,t,n,r){if(ce){var a=ce.scrollTrigger,o=ce.duration(),i=a.end-a.start;e=a.start+i*e/o,t=a.start+i*t/o}_e.refresh(!1,!1,{start:QS(e,n&&!!_e._startClamp),end:QS(t,n&&!!_e._endClamp)},r),_e.update()},_e.adjustPinSpacing=function(e){if(T&&e){var t=T.indexOf(de.d)+1;T[t]=parseFloat(T[t])+e+NE,T[1]=parseFloat(T[1])+e+NE,vk(T)}},_e.disable=function(t,n){if(_e.enabled&&(!1!==t&&_e.revert(!0,!0),_e.enabled=_e.isActive=!1,n||P&&P.pause(),z=0,a&&(a.uncache=1),Se&&jE(e,"refreshInit",Se),F&&(F.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!ge)){for(var o=XE.length;o--;)if(XE[o].scroller===he&&XE[o]!==_e)return;jE(he,"resize",JE),ge||jE(he,"scroll",KE)}},_e.kill=function(e,r){_e.disable(e,r),P&&!r&&P.kill(),$&&delete $E[$];var o=XE.indexOf(_e);o>=0&&XE.splice(o,1),o===ES&&fk>0&&ES--,o=0,XE.forEach((function(e){return e.scroller===_e.scroller&&(o=1)})),o||HS||(_e.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),u&&[u,f,d,p].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),VS===_e&&(VS=0),Z&&(a&&(a.uncache=1),o=0,XE.forEach((function(e){return e.pin===Z&&o++})),o||(a.spacer=0)),t.onKill&&t.onKill(_e)},XE.push(_e),_e.enable(!1,!1),U&&U(_e),n&&n.add&&!g){var Le=_e.update;_e.update=function(){_e.update=Le,l||c||_e.refresh()},cS.delayedCall(.01,_e.update),g=.01,l=c=0}else _e.refresh();Z&&function(){if(WS!==sk){var e=WS=sk;requestAnimationFrame((function(){return e===sk&&ck(!0)}))}}()}else this.update=this.refresh=this.kill=tE},e.register=function(t){return uS||(cS=t||aE(),rE()&&window.document&&e.enable(),uS=qS),uS},e.defaults=function(e){if(e)for(var t in e)HE[t]=e[t];return HE},e.disable=function(e,t){qS=0,XE.forEach((function(n){return n[t?"kill":"disable"](e)})),jE(fS,"wheel",KE),jE(dS,"scroll",KE),clearInterval(bS),jE(dS,"touchcancel",tE),jE(hS,"touchstart",tE),FE(jE,dS,"pointerdown,touchstart,mousedown",ZS),FE(jE,dS,"pointerup,touchend,mouseup",eE),gS.kill(),cE(jE);for(var n=0;n0&&r.left+a0&&r.top+a=0&&rk.splice(t,5),rk.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),cS.core.getCache(e),MS())}})):rk},Ck.revert=function(e,t){return ok(!e,t)},Ck.create=function(e,t){return new Ck(e,t)},Ck.refresh=function(e){return e?JE():(uS||Ck.register())&&ck(!0)},Ck.update=function(e){return++U_.cache&&dk(!0===e?2:0)},Ck.clearScrollMemory=ik,Ck.maxScroll=function(e,t){return lE(e,t?Z_:eS)},Ck.getScrollFunc=function(e,t){return nS(tS(e),t?Z_:eS)},Ck.getById=function(e){return $E[e]},Ck.getAll=function(){return XE.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Ck.isScrolling=function(){return!!$S},Ck.snapDirectional=ME,Ck.addEventListener=function(e,t){var n=ZE[e]||(ZE[e]=[]);~n.indexOf(t)||n.push(t)},Ck.removeEventListener=function(e,t){var n=ZE[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Ck.batch=function(e,t){var n,r=[],a={},o=t.interval||.016,i=t.batchMax||1e9,s=function(e,t){var n=[],r=[],a=cS.delayedCall(o,(function(){t(n,r),n=[],r=[]})).pause();return function(e){n.length||a.restart(!0),n.push(e.trigger),r.push(e),i<=n.length&&a.progress(1)}};for(n in t)a[n]="on"===n.substr(0,2)&&fE(t[n])&&"onRefreshInit"!==n?s(0,t[n]):t[n];return fE(i)&&(i=i(),zE(Ck,"refresh",(function(){return i=t.batchMax()}))),vS(e).forEach((function(e){var t={};for(n in a)t[n]=a[n];t.trigger=e,r.push(Ck.create(t))})),r};var Tk,Ak=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ik=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(lS.isTouch?" pinch-zoom":""):"none",t===pS&&e(hS,n)},Nk={auto:1,scroll:1},Ok=function(e){var t,n=e.event,r=e.target,a=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,i=o._gsap||cS.core.getCache(o),s=GS();if(!i._isScrollT||s-i._isScrollT>2e3){for(;o&&o!==hS&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Nk[(t=OE(o)).overflowY]&&!Nk[t.overflowX]);)o=o.parentNode;i._isScroll=o&&o!==r&&!oE(o)&&(Nk[(t=OE(o)).overflowY]||Nk[t.overflowX]),i._isScrollT=s}(i._isScroll||"x"===a)&&(n.stopPropagation(),n._gsapAllow=!0)},Rk=function(e,t,n,r){return lS.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Ok,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&zE(dS,lS.eventTypes[0],Pk,!1,!0)},onDisable:function(){return jE(dS,lS.eventTypes[0],Pk,!0)}})},Lk=/(input|label|select|textarea)/i,Pk=function(e){var t=Lk.test(e.target.tagName);(t||Tk)&&(e._gsapAllow=!0,Tk=t)};function Dk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn&&(y()>n?o.progress(1)&&y(n):o.resetTo("scrollY",n))};return v&&cS.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return DS&&"touchmove"===e.type&&function(){if(a){requestAnimationFrame(k);var e=nE(t.deltaY/2),n=T(y.v-e);if(v&&n!==y.v+y.offset){y.offset=n-y.v;var r=nE((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",y.cacheID=U_.cache,dk()}return!0}y.offset&&I(),a=!0}()||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){a=!1;var e=b;b=nE((fS.visualViewport&&fS.visualViewport.scale||1)/x),o.pause(),e!==b&&Ik(h,b>1.01||!u&&"x"),i=w(),s=y(),A(),r=sk},e.onRelease=e.onGestureStart=function(e,t){if(y.offset&&I(),t){U_.cache++;var r,a,i=S();u&&(a=(r=w())+.05*i*-e.velocityX/.227,i*=Ak(w,r,a,lE(h,Z_)),o.vars.scrollX=C(a)),a=(r=y())+.05*i*-e.velocityY/.227,i*=Ak(y,r,a,lE(h,eS)),o.vars.scrollY=T(a),o.invalidate().duration(i).play(.01),(DS&&o.vars.scrollY>=n||r>=n-1)&&cS.to({},{onUpdate:N,duration:i})}else l.restart(!0);p&&p(e)},e.onWheel=function(){o._ts&&o.pause(),GS()-_>1e3&&(r=0,_=GS())},e.onChange=function(e,t,n,a,o){if(sk!==r&&A(),t&&u&&w(C(a[2]===t?i+(e.startX-e.x):w()+t-a[1])),n){y.offset&&I();var l=o[2]===n,c=l?s+e.startY-e.y:y()+n-o[1],f=T(c);l&&c!==f&&(s+=f-c),y(f)}(n||t)&&dk()},e.onEnable=function(){Ik(h,!u&&"x"),Ck.addEventListener("refresh",N),zE(fS,"resize",N),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=w.smooth=!1),E.enable()},e.onDisable=function(){Ik(h,!0),jE(fS,"resize",N),Ck.removeEventListener("refresh",N),E.kill()},e.lockAxis=!1!==e.lockAxis,(t=new lS(e)).iOS=DS,DS&&!y()&&y(1),DS&&cS.ticker.add(tE),l=t._dc,o=cS.to(t,{ease:"power4",paused:!0,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Sk(y,y(),(function(){return o.pause()}))},onUpdate:dk,onComplete:l.vars.onComplete}),t}(e);return OS&&OS.target===t.target&&OS.kill(),oE(t.target)&&(OS=t),t},Ck.core={_getVelocityProp:rS,_inputObserver:Rk,_scrollers:U_,_proxies:H_,bridge:{ss:function(){$S||nk("scrollStart"),$S=GS()},ref:function(){return xS}}},aE()&&cS.registerPlugin(Ck),yf.registerPlugin(Ck);var Mk=function(t){var n,r,a=t.data,o=(0,e.useRef)(),i=(0,e.useContext)(b_),s=i.finished,l=i.a_ref,c=i.downloadState,u=i.setDownloadState,f=i.iosIsDownloading,d=i.setIosIsDownloading,p=(0,hh.useClipboard)(),h=(n=(0,e.useState)(1),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Dk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dk(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=h[0],g=h[1],v=function(t,n){Hg(e.createElement("span",null,"正在下载视频",n,": ",e.createElement("span",{style:{color:"rgb(96, 165, 250)",width:"66px",display:"inline-block",textAlign:"right"}},t,"%")),"downloading_video"+n)},y=function(e){jg.dismiss("downloading_video"+e),Ug("视频"+e+"下载完毕 !","finished_video"+e)},w=a?Math.ceil(a.length/10):0;m>w&&g(1);var b=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=function(){if(!a)return console.error("[Error] data is null."),[];var e=10*(m-1),t=e+10;return t>a.length&&(t=a.length),t-e}();b&&null===b.current?b.current=yf.fromTo(".gsap_popup_a",{y:e>3?240:e>2?160:80,opacity:0},{scrollTrigger:{trigger:"#rootWrapper",start:"top+=920 bottom",end:"top+=".concat(e>4?1860:e>3?1760:e>2?1660:2===e?1460:1260," bottom"),scrub:1.5},y:0,opacity:1,duration:e>1?1.5:1,ease:"power1.out",repeat:0}):b&&(b.current.kill(),b.current=yf.fromTo(".gsap_popup_a",{y:e>3?240:e>2?160:80,opacity:0},{scrollTrigger:{trigger:"#rootWrapper",start:"top+=920 bottom",end:"top+=".concat(e>4?1860:e>3?1760:e>2?1660:2===e?1460:1260," bottom"),scrub:1.5},y:0,opacity:1,duration:e>1?1.5:1,ease:"power1.out",repeat:0}))}),[m,a.length]),e.createElement("div",null,e.createElement(zk,{ref:o},"锚点"),e.createElement(jk,{id:"dataContainer",className:"gsap_popup_a"},e.createElement(Bk,null,"共 ",e.createElement(Uk,null,a?a.length:" - ")," 个分P"),function(){if(!a)return console.error("[Error] data is null."),[];var e=10*(m-1),t=e+10;return a.slice(e,t)}().map((function(t,n){return e.createElement(Hk,{key:n,className:"gsap_popup_a"},e.createElement(Wk,null,e.createElement(w_,null,e.createElement(Vk,null,"P",e.createElement(Yk,null,t.index+1)))),e.createElement(w_,null,e.createElement(Gk,null,e.createElement(Xk,null,e.createElement("span",null,"时"),e.createElement("span",null,"长")),e.createElement($k,null,t.durationFormat))),e.createElement(w_,null,e.createElement(qk,null,e.createElement("span",null,"原尺寸"),e.createElement("span",null,e.createElement(Kk,null,t.width),e.createElement(mi,{icon:Cn.g8}),e.createElement(Qk,null,t.height)))),e.createElement(w_,null,e.createElement(fx,{icon:e.createElement(Jk,{icon:d_.kZ}),placeholder:"无分P标题",desc:"分P视频标题",id:"input_title_sub"+n,text:t.title||"",iconOnClick:function(){t?(p.copy(t.title),Ug("P"+(t.index+1)+" 视频标题Copied !","sub_title_"+(t.index+1)+"_copy")):Bg("P"+(t.index+1)+" 视频标题 Copy失败 !","sub_title_"+(t.index+1)+"_copy_error")},data_tooltip_id:"p_title_tooltip"+n,data_tooltip_content:t?t.title:"",data_tooltip_variant:"info",readOnly:!0}),e.createElement(Zk,{id:"p_title_tooltip"+n,place:"top"})),e.createElement(eC,null,e.createElement(tC,{disabled:!s,h:"36px",w:"140px",onClick:function(){p.copy(t.url),Ug("P"+(t.index+1)+" 视频URL Copied !","video_url_copy")}},s?e.createElement(e.Fragment,null,"视频URL",e.createElement(rC,{icon:d_.kZ,beat:!0})):e.createElement(e.Fragment,null,"暂无解析",e.createElement(nC,{icon:d_.kZ,fade:!0}))),e.createElement(aC,{disabled:!s||c.get(t.index)||f,h:"36px",w:"140px",onClick:function(){if(t){var e=l.current;u((function(e){var n=new Map(e);return n.set(t.index,!0),n})),_i()&&d((function(e){return!0})),xi(t.url,v,y,t.index+1).then((function(n){e.href=URL.createObjectURL(n),e.download="P"+(t.index+1)+" - "+t.title+".mp4",e.click();var r=JSON.parse(decodeURIComponent(sessionStorage.getItem("bilibili_states"))),a=new Map(r.downloadStateArray);a.set(t.index,!1),r.downloadStateArray=Array.from(a),sessionStorage.setItem("bilibili_states",encodeURIComponent(JSON.stringify(r))),u((function(e){var n=new Map(e);return n.set(t.index,!1),n})),_i()&&d((function(e){return!1}))})).catch((function(e){console.log(e),Bg("视频".concat(t.index+1,"下载被中断,请重试 !"),"download_video_error"+(t.index+1));var n=JSON.parse(decodeURIComponent(sessionStorage.getItem("bilibili_states"))),r=new Map(n.downloadStateArray);r.set(t.index,!1),n.downloadStateArray=Array.from(r),sessionStorage.setItem("bilibili_states",encodeURIComponent(JSON.stringify(n))),u((function(e){var n=new Map(e);return n.set(t.index,!1),n})),_i()&&d((function(e){return!1}))}))}}},s?c.get(t.index)?e.createElement(e.Fragment,null,"下载中",e.createElement(iC,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"下载视频",e.createElement(sC,{icon:Fx.q7,beat:!0})):e.createElement(e.Fragment,null,"暂无解析",e.createElement(oC,{icon:__.Cj,fade:!0})))))}))),w>1?e.createElement(lC,null,e.createElement($g,{content:"Last",onClick:function(){m>1&&g(m-1),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},e.createElement(cC,{icon:jx.ac})),e.createElement("div",{id:"paginationContainer"},e.createElement(w_,{className:"pagination"},function(){var t=[];if(w<=3)for(var n=function(n){t.push(e.createElement(qg,{key:n,active:m===n,onClick:function(){g(n),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},n))},r=1;r<=w;r++)n(r);else t.push(e.createElement(w_,null,e.createElement(qg,{key:m,active:!0,onClick:function(){setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},m),e.createElement(Fk,null,"/"),e.createElement(qg,{key:"totalPages",onClick:function(){g(w),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},w))),t.push(e.createElement(Ih,{closeClassName:"closeClassName",animate:"b.3",button:e.createElement(qg,{key:"morePage"},e.createElement(mi,{icon:S_.gf})),menu:e.createElement(Oh,{closeClassName:"closeClassName",_b:"12px",_l:"-35px",validText:"第 ".concat(m," 页"),list:Array.from({length:w},(function(e,t){return"第 "+(t+1)+" 页"})),onClick:function(e){e.target.id.includes("pageLi_")&&(g(parseInt(e.target.id.slice(7),10)),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100))}})}));return t}())),e.createElement($g,{content_direction:"before",content:"Next",onClick:function(){m=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function hC(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function mC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]);function GC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return XC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function XC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function ZC(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function eT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tT(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]),QT=i(3162),JT={version:"0.18.5"},ZT=1200,eA=1252,tA=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],nA={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},rA=function(e){-1!=tA.indexOf(e)&&(eA=nA[0]=e)},aA=function(e){ZT=e,rA(e)};var oA,iA=function(e){return String.fromCharCode(e)},sA=function(e){return String.fromCharCode(e)},lA=null,cA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function uA(e){for(var t="",n=0,r=0,a=0,o=0,i=0,s=0,l=0,c=0;c>2,i=(3&n)<<4|(r=e.charCodeAt(c++))>>4,s=(15&r)<<2|(a=e.charCodeAt(c++))>>6,l=63&a,isNaN(r)?s=l=64:isNaN(a)&&(l=64),t+=cA.charAt(o)+cA.charAt(i)+cA.charAt(s)+cA.charAt(l);return t}function fA(e){var t="",n=0,r=0,a=0,o=0,i=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l>4,t+=String.fromCharCode(n),r=(15&o)<<4|(i=cA.indexOf(e.charAt(l++)))>>2,64!==i&&(t+=String.fromCharCode(r)),a=(3&i)<<6|(s=cA.indexOf(e.charAt(l++))),64!==s&&(t+=String.fromCharCode(a));return t}var dA=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),pA=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function hA(e){return dA?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function mA(e){return dA?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var gA=function(e){return dA?pA(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function vA(e){if("undefined"==typeof ArrayBuffer)return gA(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function yA(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n=0;)t+=e.charAt(n--);return t}function SA(e,t){var n=""+e;return n.length>=t?n:LI("0",t-n.length)+n}function EA(e,t){var n=""+e;return n.length>=t?n:LI(" ",t-n.length)+n}function kA(e,t){var n=""+e;return n.length>=t?n:n+LI(" ",t-n.length)}var CA=Math.pow(2,32);function TA(e,t){return e>CA||e<-CA?function(e,t){var n=""+Math.round(e);return n.length>=t?n:LI("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:LI("0",t-n.length)+n}(Math.round(e),t)}function AA(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var IA=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],NA=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],OA={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},RA={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},LA={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function PA(e,t,n){for(var r=e<0?-1:1,a=e*r,o=0,i=1,s=0,l=1,c=0,u=0,f=Math.floor(a);ct&&(c>t?(u=l,s=o):(u=c,s=i)),!n)return[0,r*s,u];var d=Math.floor(r*s/u);return[d,r*s-d*u,u]}function DA(e,t,n){if(e>2958465||e<0)return null;var r=0|e,a=Math.floor(86400*(e-r)),o=0,i=[],s={D:r,T:a,u:86400*(e-r)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++r,++s.D)),60===r)i=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)i=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),i=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=function(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}(l,i))}return s.y=i[0],s.m=i[1],s.d=i[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=o,s}var MA=new Date(1899,11,31,0,0,0),FA=MA.getTime(),zA=new Date(1900,2,1,0,0,0);function jA(e,t){var n=e.getTime();return t?n-=1262304e5:e>=zA&&(n+=864e5),(n-(FA+6e4*(e.getTimezoneOffset()-MA.getTimezoneOffset())))/864e5}function BA(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function UA(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):function(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=BA(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=BA(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),BA(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return sI(14,jA(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function HA(e,t,n,r){var a,o="",i=0,s=0,l=n.y,c=0;switch(e){case 98:l=n.y+543;case 121:switch(t.length){case 1:case 2:a=l%100,c=2;break;default:a=l%1e4,c=4}break;case 109:switch(t.length){case 1:case 2:a=n.m,c=t.length;break;case 3:return NA[n.m-1][1];case 5:return NA[n.m-1][0];default:return NA[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=n.d,c=t.length;break;case 3:return IA[n.q][0];default:return IA[n.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(s=r>=2?3===r?1e3:100:1===r?10:1,(i=Math.round(s*(n.S+n.u)))>=60*s&&(i=0),"s"===t?0===i?"0":""+i/s:(o=SA(i,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):SA(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*n.D+n.H;break;case"[m]":case"[mm]":a=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":a=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:a=l,c=1}return c>0?SA(a,c):""}function WA(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var VA=/%/g;function YA(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+YA(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),-1===(n=(t/Math.pow(10,o)).toPrecision(r+1+(a+o)%a)).indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(i-n.length+o):n+="E+"+(i-o);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,a)+"."+n.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var GA=/# (\?+)( ?)\/( ?)(\d+)/,XA=/^#*0*\.([0#]+)/,$A=/\).*[0#]/,qA=/\(###\) ###\\?-####/;function KA(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function QA(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function JA(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function ZA(e,t,n){if(40===e.charCodeAt(0)&&!t.match($A)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?ZA("n",r,n):"("+ZA("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return nI(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(VA,""),a=t.length-r.length;return nI(e,r,n*Math.pow(10,2*a))+LI("%",a)}(e,t,n);if(-1!==t.indexOf("E"))return YA(t,n);if(36===t.charCodeAt(0))return"$"+ZA(e,t.substr(" "==t.charAt(1)?2:1),n);var a,o,i,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+TA(l,t.length);if(t.match(/^[#?]+$/))return"0"===(a=TA(n,0))&&(a=""),a.length>t.length?a:KA(t.substr(0,t.length-a.length))+a;if(o=t.match(GA))return function(e,t,n){var r=parseInt(e[4],10),a=Math.round(t*r),o=Math.floor(a/r),i=a-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===i?LI(" ",e[1].length+1+e[4].length):EA(i,e[1].length)+e[2]+"/"+e[3]+SA(s,e[4].length))}(o,l,c);if(t.match(/^#+0+$/))return c+TA(l,t.length-t.indexOf("0"));if(o=t.match(XA))return a=QA(n,o[1].length).replace(/^([^\.]+)$/,"$1."+KA(o[1])).replace(/\.$/,"."+KA(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+LI("0",KA(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+QA(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+WA(TA(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+ZA(e,t,-n):WA(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,o[1].length)))+"."+SA(JA(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return ZA(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=_A(ZA(e,t.replace(/[\\-]/g,""),n)),i=0,_A(_A(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?SA(0,3-e.length):"")+e}))+"."+SA(i,o[1].length);switch(t){case"###,##0.00":return ZA(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var p=WA(TA(l,0));return"0"!==p?c+p:"";case"###,###.00":return ZA(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return ZA(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function eI(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+eI(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),!(n=(t/Math.pow(10,o)).toPrecision(r+1+(a+o)%a)).match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(i-n.length+o):n+="E+"+(i-o),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function tI(e,t,n){if(40===e.charCodeAt(0)&&!t.match($A)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?tI("n",r,n):"("+tI("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return nI(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(VA,""),a=t.length-r.length;return nI(e,r,n*Math.pow(10,2*a))+LI("%",a)}(e,t,n);if(-1!==t.indexOf("E"))return eI(t,n);if(36===t.charCodeAt(0))return"$"+tI(e,t.substr(" "==t.charAt(1)?2:1),n);var a,o,i,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+SA(l,t.length);if(t.match(/^[#?]+$/))return a=""+n,0===n&&(a=""),a.length>t.length?a:KA(t.substr(0,t.length-a.length))+a;if(o=t.match(GA))return function(e,t,n){return n+(0===t?"":""+t)+LI(" ",e[1].length+2+e[4].length)}(o,l,c);if(t.match(/^#+0+$/))return c+SA(l,t.length-t.indexOf("0"));if(o=t.match(XA))return a=(a=(""+n).replace(/^([^\.]+)$/,"$1."+KA(o[1])).replace(/\.$/,"."+KA(o[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+LI("0",KA(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+WA(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+tI(e,t,-n):WA(""+n)+"."+LI("0",o[1].length);if(o=t.match(/^#,#*,#0/))return tI(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=_A(tI(e,t.replace(/[\\-]/g,""),n)),i=0,_A(_A(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;default:++t}return!1}var oI=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function iI(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function sI(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:OA)[e])&&(r=n.table&&n.table[RA[e]]||OA[RA[e]]),null==r&&(r=LA[e]||"General")}if(AA(r,0))return UA(t,n);t instanceof Date&&(t=jA(t,n.date1904));var a=function(e,t){var n=function(e){for(var t=[],n=!1,r=0,a=0;r-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||a>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=a>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=a>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=a>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var i=n[0].match(oI),s=n[1].match(oI);return iI(t,i)?[r,n[0]]:iI(t,s)?[r,n[1]]:[r,n[null!=i&&null!=s?2:1]]}return[r,o]}(r,t);if(AA(a[1]))return UA(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,r){for(var a,o,i,s=[],l="",c=0,u="",f="t",d="H";c=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";s[s.length]=m,f=u;break;case"[":for(l=u;"]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",aI(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=u;++c-1;)l+=u;s[s.length]={t:"n",v:l};break;case"?":for(l=u;e.charAt(++c)===u;)l+=u;s[s.length]={t:u,v:l},f=u;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=u;c-1;)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++c}var g,v=0,y=0;for(c=s.length-1,f="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,f="h",v<1&&(v=1);break;case"s":(g=s[c].v.match(/\.0+$/))&&(y=Math.max(y,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[c].t;break;case"m":"s"===f&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var w,b="";for(c=0;c0){40==b.charCodeAt(0)?(x=t<0&&45===b.charCodeAt(0)?-t:t,_=nI("n",b,x)):(_=nI("n",b,x=t<0&&r>1?-t:t),x<0&&s[0]&&"t"==s[0].t&&(_=_.substr(1),s[0].v="-"+s[0].v)),w=_.length-1;var E=s.length;for(c=0;c-1){E=c;break}var k=s.length;if(E===s.length&&-1===_.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(w>=s[c].v.length-1?(w-=s[c].v.length,s[c].v=_.substr(w+1,s[c].v.length)):w<0?s[c].v="":(s[c].v=_.substr(0,w+1),w=-1),s[c].t="t",k=c);w>=0&&k=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===E?s[c].v.indexOf(".")-1:s[c].v.length-1,S=s[c].v.substr(o+1);o>=0;--o)w>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(S=_.charAt(w--)+S);s[c].v=S,s[c].t="t",k=c}for(w>=0&&k-1&&c===E?s[c].v.indexOf(".")+1:0,S=s[c].v.substr(0,o);o-1&&(x=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=nI(s[c].t,s[c].v,x),s[c].t="t");var C="";for(c=0;c!==s.length;++c)null!=s[c]&&(C+=s[c].v);return C}(a[1],t,n,a[0])}function lI(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=OA[n]){if(OA[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return OA[t]=e,t}function cI(e){for(var t=0;392!=t;++t)void 0!==e[t]&&lI(e[t],t)}function uI(){OA=function(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}()}var fI=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,dI=function(){var e={version:"1.2.0"},t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),n=function(e){var t=0,n=0,r=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)a[r]=e[r];for(r=0;256!=r;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=a[t]=n>>>8^e[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!=typeof Int32Array?a.subarray(256*r,256*r+256):a.slice(256*r,256*r+256);return o}(t),r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],u=n[7],f=n[8],d=n[9],p=n[10],h=n[11],m=n[12],g=n[13],v=n[14];return e.table=t,e.bstr=function(e,n){for(var r=-1^n,a=0,o=e.length;a>>8^t[255&(r^e.charCodeAt(a++))];return~r},e.buf=function(e,n){for(var y=-1^n,w=e.length-15,b=0;b>8&255]^m[e[b++]^y>>16&255]^h[e[b++]^y>>>24]^p[e[b++]]^d[e[b++]]^f[e[b++]]^u[e[b++]]^c[e[b++]]^l[e[b++]]^s[e[b++]]^i[e[b++]]^o[e[b++]]^a[e[b++]]^r[e[b++]]^t[e[b++]];for(w+=15;b>>8^t[255&(y^e[b++])];return~y},e.str=function(e,n){for(var r=-1^n,a=0,o=e.length,i=0,s=0;a>>8^t[255&(r^i)]:i<2048?r=(r=r>>>8^t[255&(r^(192|i>>6&31))])>>>8^t[255&(r^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),s=1023&e.charCodeAt(a++),r=(r=(r=(r=r>>>8^t[255&(r^(240|i>>8&7))])>>>8^t[255&(r^(128|i>>2&63))])>>>8^t[255&(r^(128|s>>6&15|(3&i)<<4))])>>>8^t[255&(r^(128|63&s))]):r=(r=(r=r>>>8^t[255&(r^(224|i>>12&15))])>>>8^t[255&(r^(128|i>>6&63))])>>>8^t[255&(r^(128|63&i))];return~r},e}(),pI=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function r(e){if("/"==e.charAt(e.length-1))return r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,r)}function o(e){BN(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),a=e.read_shift(2),o=e.l+a,i={};21589===r&&(1&(n=e.read_shift(1))&&(i.mtime=e.read_shift(4)),a>5&&(2&n&&(i.atime=e.read_shift(4)),4&n&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime))),e.l=o,t[r]=i}return t}function i(){return e||(e={})}function s(e,t){if(80==e[0]&&75==e[1])return ne(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=_(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",r=(dA&&Buffer.isBuffer(e)?e.toString("binary"):_(e)).split("\r\n"),a=0,o="";for(a=0;a0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),o.slice(0,n.length)!=n););var i=(r[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var s="--"+(i[1]||""),l={FileIndex:[],FullPaths:[]};d(l);var c,u=0;for(a=0;a=a&&(d-=a),!i[d]){l=[];var h=[];for(f=d;f>=0;){h[f]=!0,i[f]=!0,s[s.length]=f,l.push(e[f]);var m=n[Math.floor(4*f/r)];if(r<4+(p=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[m])break;if(h[f=RN(e[m],p)])break}o[d]={nodes:s,data:lN([l])}}return o}(E,o,h,p);k[o].name="!Directory",r>0&&i!==v&&(k[i].name="!MiniFAT"),k[h[0]].name="!FAT",k.fat_addrs=h,k.ssz=p;var C=[],T=[],A=[];!function(e,t,n,r,a,o,i,s){for(var c,d=0,p=r.length?2:0,h=t[e].data,m=0,g=0;m0&&d!==v&&(t[d].name="!StreamData")):w.size>=4096?(w.storage="fat",void 0===t[w.start]&&(t[w.start]=u(n,w.start,t.fat_addrs,t.ssz)),t[w.start].name=w.name,w.content=t[w.start].data.slice(0,w.size)):(w.storage="minifat",w.size<0?w.size=0:d!==v&&w.start!==v&&t[d]&&(w.content=l(w,t[d].data,(t[s]||{}).data))),w.content&&BN(w.content,0),o[c]=w,i.push(w)}}(o,k,E,C,r,{},T,i),function(e,t,n){for(var r=0,a=0,o=0,i=0,s=0,l=n.length,c=[],u=[];r0&&i>=0;)o.push(t.slice(i*g,i*g+g)),a-=g,i=RN(n,4*i);return 0===o.length?HN(0):wA(o).slice(0,e.size)}function c(e,t,n,r,a){var o=v;if(e===v){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=n[e],s=(r>>>2)-1;if(!i)return;for(var l=0;l=0;){a[l]=!0,o[o.length]=l,i.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=RN(e[u],c)}return{nodes:o,data:lN([i])}}function f(e,t){return new Date(1e3*(ON(e,t+4)/1e7*Math.pow(2,32)+ON(e,t)/1e7-11644473600))}function d(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(!pI.find(e,"/"+t)){var n=HN(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),p(e)}}(e)}function p(e,t){d(e);for(var a=!1,o=!1,i=e.FullPaths.length-1;i>=0;--i){var s=e.FileIndex[i];switch(s.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var l=new Date(1987,1,19),c=0,u=Object.create?Object.create(null):{},f=[];for(i=0;i1?1:-1,h.size=0,h.type=5;else if("/"==m.slice(-1)){for(c=i+1;c=f.length?-1:c,c=i+1;c=f.length?-1:c,h.type=1}else n(e.FullPaths[i+1]||"")==n(m)&&(h.R=i+1),h.type=2}}}function h(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},r=n.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(r="------="+r).slice(2)+'"',"","",""],o=e.FullPaths[0],i=o,s=e.FileIndex[0],l=1;l=32&&p<128&&++f;var m=f>=4*d/5;a.push(r),a.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),a.push("Content-Type: "+oe(s,i)),a.push(""),a.push(m?se(u):ie(u))}return a.push(r+"--\r\n"),a.join("\r\n")}(e,n);if(p(e),"zip"===n.fileType)return function(e,t){var n,r=t||{},o=[],i=[],s=HN(1),l=r.compression?8:0,c=0,u=0,f=0,d=0,p=e.FullPaths[0],h=p,g=e.FileIndex[0],v=[],y=0;for(c=1;c0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}for(var i=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+i+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var f=[1,u,c,s,i,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),o=HN(r[7]<<9),i=0,s=0;for(i=0;i<8;++i)o.write_shift(1,w[i]);for(i=0;i<8;++i)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),i=0;i<3;++i)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,r[2]),o.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:v),o.write_shift(4,r[3]),o.write_shift(-4,r[1]?r[0]-1:v),o.write_shift(4,r[1]),i=0;i<109;++i)o.write_shift(-4,i>9)));for(l(r[6]+7>>3);511&o.l;)o.write_shift(-4,x.ENDOFCHAIN);for(s=i=0,c=0;c=4096||(f.start=s,l(u+63>>6)));for(;511&o.l;)o.write_shift(-4,x.ENDOFCHAIN);for(i=0;i=4096)if(o.l=f.start+1<<9,dA&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+511&-512;else{for(c=0;c0&&f.size<4096)if(dA&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+63&-64;else{for(c=0;c>16|t>>8|t)}for(var T="undefined"!=typeof Uint8Array,A=T?new Uint8Array(256):[],I=0;I<256;++I)A[I]=C(I);function N(e,t){var n=A[255&e];return t<=8?n>>>8-t:(n=n<<8|A[e>>8&255],t<=16?n>>>16-t:(n=n<<8|A[e>>16&255])>>>24-t)}function O(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function R(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function L(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function P(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function D(e,t,n){var r=7&t,a=t>>>3,o=(1<>>r;return n<8-r?i&o:(i|=e[a+1]<<8-r,n<16-r?i&o:(i|=e[a+2]<<16-r,n<24-r?i&o:(i|=e[a+3]<<24-r)&o))}function M(e,t,n){var r=7&t,a=t>>>3;return r<=5?e[a]|=(7&n)<>8-r),t+3}function F(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function z(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=n,t+8}function j(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=255&n,e[r+2]=n>>>8,t+16}function B(e,t){var n=e.length,r=2*n>t?2*n:t+5,a=0;if(n>=t)return e;if(dA){var o=mA(r);if(e.copy)e.copy(o);else for(;a>r-f,i=(1<=0;--i)t[s|i<0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var a=0,o=0,i=T?new Uint16Array(32768):[];o0;)n[n.l++]=t[o++];a=8*n.l}else{a=M(n,a,+!(o+s!=t.length)+2);for(var l=0;s-- >0;){var c=t[o],u=-1,f=0;if((u=i[l=32767&(l<<5^c)])&&((u|=-32768&o)>o&&(u-=32768),u2){(c=r[f])<=22?a=z(n,a,A[c+1]>>1)-1:(z(n,a,3),z(n,a+=5,A[c-23]>>5),a+=3);var d=c<8?0:c-4>>2;d>0&&(j(n,a,f-E[c]),a+=d),c=e[o-u],a=z(n,a,A[c]>>3),a-=3;var p=c<4?0:c-2>>1;p>0&&(j(n,a,o-u-k[c]),a+=p);for(var h=0;h>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var o=0,i=T?new Uint8Array(19):U(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=T?new Uint8Array(8):U(8),u=T?new Uint8Array(8):U(8),f=i.length,d=0;d>8-h;for(var m=(1<<7-h)-1;m>=0;--m)K[p|m<>>=3){case 16:for(o=3+O(e,t),t+=2,p=g[g.length-1];o-- >0;)g.push(p);break;case 17:for(o=3+R(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+P(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(p),l>>0,s=0,l=0;0==(1&r);)if(r=R(e,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=Z(e,n),s=Q,l=J);;){!t&&i>>1==1?W[c]:$[c];if(n+=15&u,0==((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var d=o+E[u];f>0&&(d+=D(e,n,f),n+=f),c=D(e,n,l),n+=15&(u=r>>>1==1?V[c]:q[c]);var p=(u>>>=4)<4?0:u-2>>1,h=k[u];for(p>0&&(h+=D(e,n,p),n+=p),!t&&i>>3]|e[1+(n>>>3)]<<8;if(n+=32,m>0)for(!t&&i0;)a[o++]=e[n>>>3],n+=8}return t?[a,n+7>>>3]:[a.slice(0,o),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function te(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function ne(e,t){var n=e;BN(n,0);var r={FileIndex:[],FullPaths:[]};d(r,{root:t.root});for(var a=n.length-4;(80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0;)--a;n.l=a+4,n.l+=4;var i=n.read_shift(2);n.l+=6;var s=n.read_shift(4);for(n.l=s,a=0;a>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(i<<1),r}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var c=e.read_shift(4),u=e.read_shift(4),f=e.read_shift(2),d=e.read_shift(2),p="",h=0;h0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==AI.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function OI(e,t){if(dA&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return QI(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return QI(function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return QI(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return QI(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return n[e]||e}))}catch(e){}for(var r=[],a=0;a!=e.length;++a)r.push(String.fromCharCode(e[a]));return r.join("")}function RI(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=RI(e[n]));return t}function LI(e,t){for(var n="";n.length3&&-1==DI.indexOf(i))return n}else if(i.match(/[a-z]/))return n;return r<0||r>8099?n:(a>0||o>1)&&101!=r?t:e.match(/[^-0-9:,\/\\]/)?n:t}function FI(e,t,n){if(e.FullPaths){var r;if("string"==typeof n)return r=dA?pA(n):function(e){for(var t=[],n=0,r=e.length+250,a=hA(e.length+255),o=0;o>6&31,a[n++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var s=1023&e.charCodeAt(++o);a[n++]=240|i>>8&7,a[n++]=128|i>>2&63,a[n++]=128|s>>6&15|(3&i)<<4,a[n++]=128|63&s}else a[n++]=224|i>>12&15,a[n++]=128|i>>6&63,a[n++]=128|63&i;n>r&&(t.push(a.slice(0,n)),n=0,a=hA(65535),r=65530)}return t.push(a.slice(0,n)),wA(t)}(n),pI.utils.cfb_add(e,t,r);pI.utils.cfb_add(e,t,n)}else e.file(t,n)}function zI(){return pI.utils.cfb_new()}var jI='\r\n',BI=wI({""":'"',"'":"'",">":">","<":"<","&":"&"}),UI=/[&<>'"]/g,HI=/[\u0000-\u0008\u000b-\u001f]/g;function WI(e){return(e+"").replace(UI,(function(e){return BI[e]})).replace(HI,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function VI(e){return WI(e).replace(/ /g,"_x0020_")}var YI=/[\u0000-\u001f]/g;function GI(e){for(var t="",n=0,r=0,a=0,o=0,i=0,s=0;n191&&r<224?(i=(31&r)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&a)<<6|63&o):(s=((7&r)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function XI(e){var t,n,r,a=hA(2*e.length),o=1,i=0,s=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==s&&(a[i++]=255&s,a[i++]=s>>>8,s=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function $I(e){return pA(e,"binary").toString("utf8")}var qI="foo bar baz☃🍣",KI=dA&&($I(qI)==GI(qI)&&$I||XI(qI)==GI(qI)&&XI)||GI,QI=dA?function(e){return pA(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,r=0,a=0;n>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,a=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")},JI=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r"+t+""}function tN(e){return vI(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function nN(e,t,n){return"<"+e+(null!=n?tN(n):"")+(null!=t?(t.match(ZI)?' xml:space="preserve"':"")+">"+t+""}function rN(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}var aN={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},oN=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],iN={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},sN=function(e){for(var t=[],n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:pA(e)}))):sN(e)}:sN,cN=function(e,t,n){for(var r=[],a=t;a0?hN(e,t+4,t+4+n-1):""},gN=mN,vN=function(e,t){var n=ON(e,t);return n>0?hN(e,t+4,t+4+n-1):""},yN=vN,wN=function(e,t){var n=2*ON(e,t);return n>0?hN(e,t+4,t+4+n-1):""},bN=wN,xN=function(e,t){var n=ON(e,t);return n>0?uN(e,t+4,t+4+n):""},_N=xN,SN=function(e,t){var n=ON(e,t);return n>0?hN(e,t+4,t+4+n):""},EN=SN,kN=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==r?0==a?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,a+=Math.pow(2,52)),n*Math.pow(2,r-52)*a)}(e,t)},CN=kN,TN=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};dA&&(gN=function(e,t){if(!Buffer.isBuffer(e))return mN(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},yN=function(e,t){if(!Buffer.isBuffer(e))return vN(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},bN=function(e,t){if(!Buffer.isBuffer(e))return wN(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},_N=function(e,t){if(!Buffer.isBuffer(e))return xN(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},EN=function(e,t){if(!Buffer.isBuffer(e))return SN(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},CN=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):kN(e,t)},TN=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array}),void 0!==oA&&(uN=function(e,t,n){return oA.utils.decode(1200,e.slice(t,n)).replace(bA,"")},hN=function(e,t,n){return oA.utils.decode(65001,e.slice(t,n))},gN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(eA,e.slice(t+4,t+4+n-1)):""},yN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(ZT,e.slice(t+4,t+4+n-1)):""},bN=function(e,t){var n=2*ON(e,t);return n>0?oA.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},_N=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(1200,e.slice(t+4,t+4+n)):""},EN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(65001,e.slice(t+4,t+4+n)):""});var AN=function(e,t){return e[t]},IN=function(e,t){return 256*e[t+1]+e[t]},NN=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},ON=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},RN=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},LN=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function PN(e,t){var n,r,a,o,i,s,l="",c=[];switch(t){case"dbcs":if(s=this.l,dA&&Buffer.isBuffer(this))l=this.slice(this.l,this.l+2*e).toString("utf16le");else for(i=0;i0?RN:LN)(this,this.l),this.l+=4,n):(r=ON(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?CN(this,this.l):CN([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:l=dN(this,this.l,e)}}return this.l+=e,l}var DN=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},MN=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},FN=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function zN(e,t,n){var r=0,a=0;if("dbcs"===n){for(a=0;a!=t.length;++a)FN(this,t.charCodeAt(a),this.l+2*a);r=2*t.length}else if("sbcs"===n){if(void 0!==oA&&874==eA)for(a=0;a!=t.length;++a){var o=oA.utils.encode(eA,t.charAt(a));this[this.l+a]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);r=t.length}else{if("hex"===n){for(;a>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,DN(this,t,this.l);break;case 8:if(r=8,"f"===n){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=r?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o>4|r}(this,t,this.l);break}case 16:break;case-4:r=4,MN(this,t,this.l)}}return this.l+=r,this}function jN(e,t){var n=dN(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function BN(e,t){e.l=t,e.read_shift=PN,e.chk=jN,e.write_shift=zN}function UN(e,t){e.l+=t}function HN(e){var t=hA(e);return BN(t,0),t}function WN(){var e=[],t=dA?256:2048,n=function(e){var t=HN(e);return BN(t,0),t},r=n(t),a=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e=128?1:0)+1,r>=128&&++a,r>=16384&&++a,r>=2097152&&++a;var i=e.next(a);o<=127?i.write_shift(1,o):(i.write_shift(1,128+(127&o)),i.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){i.write_shift(1,r);break}i.write_shift(1,128+(127&r)),r>>=7}r>0&&TN(n)&&e.push(n)}}function YN(e,t,n){var r=RI(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function GN(e,t,n){var r=RI(e);return r.s=YN(r.s,t.s,n),r.e=YN(r.e,t.s,n),r}function XN(e,t){if(e.cRel&&e.c<0)for(e=RI(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=RI(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=eO(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=n.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")),n}function $N(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?XN(e.s,t.biff)+":"+XN(e.e,t.biff):(e.s.rRel?"":"$")+KN(e.s.r)+":"+(e.e.rRel?"":"$")+KN(e.e.r):(e.s.cRel?"":"$")+JN(e.s.c)+":"+(e.e.cRel?"":"$")+JN(e.e.c)}function qN(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function KN(e){return""+(e+1)}function QN(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function JN(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ZN(e){for(var t=0,n=0,r=0;r=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(n=26*n+(a-64))}return{c:n-1,r:t-1}}function eO(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function tO(e){var t=e.indexOf(":");return-1==t?{s:ZN(e),e:ZN(e)}:{s:ZN(e.slice(0,t)),e:ZN(e.slice(t+1))}}function nO(e,t){return void 0===t||"number"==typeof t?nO(e.s,e.e):("string"!=typeof e&&(e=eO(e)),"string"!=typeof t&&(t=eO(t)),e==t?e:e+":"+t)}function rO(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,a=0,o=e.length;for(n=0;r26);++r)n=26*n+a;for(t.s.c=--n,n=0;r9);++r)n=10*n+a;if(t.s.r=--n,r===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o&&!((a=e.charCodeAt(r)-64)<1||a>26);++r)n=26*n+a;for(t.e.c=--n,n=0;r!=o&&!((a=e.charCodeAt(r)-48)<0||a>9);++r)n=10*n+a;return t.e.r=--n,t}function aO(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?zO[e.v]||e.v:function(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=sI(e.z,n?_I(t):t)}catch(e){}try{return e.w=sI((e.XF||{}).numFmtId||(n?14:0),n?_I(t):t)}catch(e){return""+t}}(e,null==t?e.v:t))}function oO(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function iO(e,t,n){var r=n||{},a=e?Array.isArray(e):r.dense;null!=lA&&null==a&&(a=lA);var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)i=r.origin;else{var l="string"==typeof r.origin?ZN(r.origin):r.origin;i=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=rO(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==i&&(c.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=t[f].length;++d)if(void 0!==t[f][d]){var p={v:t[f][d]},h=i+f,m=s+d;if(c.s.r>h&&(c.s.r=h),c.s.c>m&&(c.s.c=m),c.e.r0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function fO(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function dO(e,t){var n=e.l,r=e.read_shift(1),a=cO(e),o=[],i={t:a,h:a};if(0!=(1&r)){for(var s=e.read_shift(4),l=0;l!=s;++l)o.push(fO(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=n+t,i}var pO=dO;function hO(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function mO(e,t){return null==t&&(t=HN(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function gO(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function vO(e,t){return null==t&&(t=HN(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var yO=cO,wO=uO;function bO(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function xO(e,t){var n=!1;return null==t&&(n=!0,t=HN(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var _O=cO,SO=bO,EO=xO;function kO(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4;var a=0===r?CN([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):RN(t,0)>>2;return n?a/100:a}function CO(e,t){null==t&&(t=HN(4));var n=0,r=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?a:e)<<2)+(n+2))}function TO(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var AO=TO,IO=function(e,t){return t||(t=HN(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function NO(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function OO(e,t){return(t||HN(8)).write_shift(8,e,"f")}function RO(e,t){if(t||(t=HN(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}var LO=80,PO={1:{n:"CodePage",t:2},2:{n:"Category",t:LO},3:{n:"PresentationFormat",t:LO},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:LO},15:{n:"Company",t:LO},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:LO},27:{n:"ContentStatus",t:LO},28:{n:"Language",t:LO},29:{n:"Version",t:LO},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},DO={1:{n:"CodePage",t:2},2:{n:"Title",t:LO},3:{n:"Subject",t:LO},4:{n:"Author",t:LO},5:{n:"Keywords",t:LO},6:{n:"Comments",t:LO},7:{n:"Template",t:LO},8:{n:"LastAuthor",t:LO},9:{n:"RevNumber",t:LO},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:LO},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function MO(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var FO=RI(MO([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),zO={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},jO={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},BO={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function UO(e,t){var n,r=function(e){for(var t=[],n=vI(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(jO),a=[];a[a.length]=jI,a[a.length]=nN("Types",null,{xmlns:aN.CT,"xmlns:xsd":aN.xsd,"xmlns:xsi":aN.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return nN("Default",null,{Extension:e[0],ContentType:e[1]})})));var o=function(r){e[r]&&e[r].length>0&&(n=e[r][0],a[a.length]=nN("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:BO[r][t.bookType]||BO[r].xlsx}))},i=function(n){(e[n]||[]).forEach((function(e){a[a.length]=nN("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:BO[n][t.bookType]||BO[n].xlsx})}))},s=function(t){(e[t]||[]).forEach((function(e){a[a.length]=nN("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:r[t][0]})}))};return o("workbooks"),i("sheets"),i("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),i("metadata"),s("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var HO={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function WO(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function VO(e){var t=[jI,nN("Relationships",null,{xmlns:aN.RELS})];return vI(e["!id"]).forEach((function(n){t[t.length]=nN("Relationship",null,e["!id"][n])})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function YO(e,t,n,r,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=r,a.Target=n,o?a.TargetMode=o:[HO.HLINK,HO.XPATH,HO.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function GO(e,t,n){return[' \n',' \n'," \n"].join("")}function XO(){return'SheetJS '+JT.version+""}var $O=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function qO(e,t,n,r,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=WI(t),r[r.length]=n?nN(e,t,n):eN(e,t))}function KO(e,t){var n=t||{},r=[jI,nN("cp:coreProperties",null,{"xmlns:cp":aN.CORE_PROPS,"xmlns:dc":aN.dc,"xmlns:dcterms":aN.dcterms,"xmlns:dcmitype":aN.dcmitype,"xmlns:xsi":aN.xsi})],a={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&qO("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:rN(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a),null!=e.ModifiedDate&&qO("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:rN(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a));for(var o=0;o!=$O.length;++o){var i=$O[o],s=n.Props&&null!=n.Props[i[1]]?n.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&qO(i[0],s,null,r,a)}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var QO=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],JO=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ZO(e){var t=[],n=nN;return e||(e={}),e.Application="SheetJS",t[t.length]=jI,t[t.length]=nN("Properties",null,{xmlns:aN.EXT_PROPS,"xmlns:vt":aN.vt}),QO.forEach((function(r){if(void 0!==e[r[1]]){var a;switch(r[2]){case"string":a=WI(String(e[r[1]]));break;case"bool":a=e[r[1]]?"true":"false"}void 0!==a&&(t[t.length]=n(r[0],a))}})),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map((function(e){return""+WI(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function eR(e){var t=[jI,nN("Properties",null,{xmlns:aN.CUST_PROPS,"xmlns:vt":aN.vt})];if(!e)return t.join("");var n=1;return vI(e).forEach((function(r){++n,t[t.length]=nN("property",function(e,t){switch(typeof e){case"string":var n=nN("vt:lpwstr",WI(e));return n=n.replace(/"/g,"_x0022_");case"number":return nN((0|e)==e?"vt:i4":"vt:r8",WI(String(e)));case"boolean":return nN("vt:bool",e?"true":"false")}if(e instanceof Date)return nN("vt:filetime",rN(e));throw new Error("Unable to serialize "+e)}(e[r]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:WI(r)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var tR={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function nR(e,t){var n=HN(4),r=HN(4);switch(n.write_shift(4,80==e?31:e),e){case 3:r.write_shift(-4,t);break;case 5:(r=HN(8)).write_shift(8,t,"f");break;case 11:r.write_shift(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var a=(n*=1e7)/Math.pow(2,32)|0;a>0&&(n%=Math.pow(2,32),r+=a);var o=HN(8);return o.write_shift(4,n),o.write_shift(4,r),o}(t);break;case 31:case 80:for((r=HN(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return wA([n,r])}var rR=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function aR(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function oR(e,t,n){var r=HN(8),a=[],o=[],i=8,s=0,l=HN(8),c=HN(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),o.push(l),a.push(c),i+=8+l.length,!t){(c=HN(8)).write_shift(4,0),a.unshift(c);var u=[HN(4)];for(u[0].write_shift(4,e.length),s=0;s-1||JO.indexOf(e[s][0])>-1)&&null!=e[s][1]){var d=e[s][1],p=0;if(t){var h=n[p=+t[e[s][0]]];if("version"==h.p&&"string"==typeof d){var m=d.split(".");d=(+m[0]<<16)+(+m[1]||0)}l=nR(h.t,d)}else{var g=aR(d);-1==g&&(g=31,d=String(d)),l=nR(g,d)}o.push(l),(c=HN(8)).write_shift(4,t?p:2+s),a.push(c),i+=8+l.length}var v=8*(o.length+1);for(s=0;s=12?2:1),a="sbcs-cont",o=ZT;n&&n.biff>=8&&(ZT=1200),n&&8!=n.biff?12==n.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont"),n.biff>=2&&n.biff<=5&&(a="cpstr");var i=r?e.read_shift(r,a):"";return ZT=o,i}function dR(e){var t=e.t||"",n=HN(3);n.write_shift(2,t.length),n.write_shift(1,1);var r=HN(2*t.length);return r.write_shift(2*t.length,t,"utf16le"),wA([n,r])}function pR(e,t,n){return n||(n=HN(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function hR(e,t){t||(t=HN(6+2*e.length)),t.write_shift(4,1+e.length);for(var n=0;n-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3}t.write_shift(4,2),t.write_shift(4,o);var i=[8,6815827,6619237,4849780,83];for(n=0;n-1?r.slice(0,a):r;for(t.write_shift(4,2*(s.length+1)),n=0;n-1?r.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n8?4:2;return[e.read_shift(r),e.read_shift(r,"i"),e.read_shift(r,"i")]}function yR(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function wR(e,t){return t||(t=HN(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function bR(e,t,n){var r=1536,a=16;switch(n.bookType){case"biff8":case"xla":break;case"biff5":r=1280,a=8;break;case"biff4":r=4,a=6;break;case"biff3":r=3,a=6;break;case"biff2":r=2,a=4;break;default:throw new Error("unsupported BIFF version")}var o=HN(a);return o.write_shift(2,r),o.write_shift(2,t),a>4&&o.write_shift(2,29282),a>6&&o.write_shift(2,1997),a>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function xR(e,t){var n=!t||t.biff>=8?2:1,r=HN(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=r.slice(0,r.l);return a.l=r.l,a}function _R(e,t,n,r){var a=n&&5==n.biff;r||(r=HN(a?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(a?1:2,t.length),a||r.write_shift(1,1),r.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}function SR(e,t,n,r){var a=n&&5==n.biff;r||(r=HN(a?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),a||r.write_shift(4,0),r.write_shift(2,0),r}function ER(e){var t=HN(24),n=ZN(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(r[a],16));return wA([t,mR(e[1])])}function kR(e){var t=e[1].Tooltip,n=HN(10+2*(t.length+1));n.write_shift(2,2048);var r=ZN(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var a=0;a1048576&&(c=1e6),2!=o&&(u=a.read_shift(2));var f=a.read_shift(2),d=n.codepage||1252;2!=o&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(d=e[a[a.l]]),a.l+=1,a.l+=2),l&&(a.l+=36);for(var p=[],h={},m=Math.min(a.length,2==o?521:u-10-(s?264:0)),g=l?32:11;a.l0;)if(42!==a[a.l])for(++a.l,r[++v]=[],y=0,y=0;y!=p.length;++y){var w=a.slice(a.l,a.l+p[y].len);a.l+=p[y].len,BN(w,0);var b=oA.utils.decode(d,w);switch(p[y].type){case"C":b.trim().length&&(r[v][y]=b.replace(/\s+$/,""));break;case"D":8===b.length?r[v][y]=new Date(+b.slice(0,4),+b.slice(4,6)-1,+b.slice(6,8)):r[v][y]=b;break;case"F":r[v][y]=parseFloat(b.trim());break;case"+":case"I":r[v][y]=l?2147483648^w.read_shift(-4,"i"):w.read_shift(4,"i");break;case"L":switch(b.trim().toUpperCase()){case"Y":case"T":r[v][y]=!0;break;case"N":case"F":r[v][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+b+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[v][y]="##MEMO##"+(l?parseInt(b.trim(),10):w.read_shift(4));break;case"N":(b=b.replace(/\u0000/g,"").trim())&&"."!=b&&(r[v][y]=+b||0);break;case"@":r[v][y]=new Date(w.read_shift(-8,"f")-621356832e5);break;case"T":r[v][y]=new Date(864e5*(w.read_shift(4)-2440588)+w.read_shift(4));break;case"Y":r[v][y]=w.read_shift(4,"i")/1e4+w.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[v][y]=-w.read_shift(-8,"f");break;case"B":if(s&&8==p[y].len){r[v][y]=w.read_shift(8,"f");break}case"G":case"P":w.l+=p[y].len;break;case"0":if("_NullFlags"===p[y].name)break;default:throw new Error("DBF Unsupported data type "+p[y].type)}}else a.l+=f;if(2!=o&&a.l=0&&aA(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=WN(),i=gD(e,{header:1,raw:!0,cellDates:!0}),s=i[0],l=i.slice(1),c=e["!cols"]||[],u=0,f=0,d=0,p=1;for(u=0;u250&&(b=250),"C"==(w=((c[u]||{}).DBF||{}).type)&&c[u].DBF.len>b&&(b=c[u].DBF.len),"B"==y&&"N"==w&&(y="N",v[u]=c[u].DBF.dec,b=c[u].DBF.len),g[u]="C"==y||"N"==w?b:r[y]||0,p+=g[u],m[u]=y}else m[u]="?"}var _=o.next(32);for(_.write_shift(4,318902576),_.write_shift(4,l.length),_.write_shift(2,296+32*d),_.write_shift(2,p),u=0;u<4;++u)_.write_shift(4,0);for(_.write_shift(4,0|(+t[eA]||3)<<8),u=0,f=0;u":190,"?":191,"{":223},t=new RegExp("N("+vI(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?sA(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:sA(r)};function a(e,a){var o,i=e.split(/[\n\r]+/),s=-1,l=-1,c=0,u=0,f=[],d=[],p=null,h={},m=[],g=[],v=[],y=0;for(+a.codepage>=0&&aA(+a.codepage);c!==i.length;++c){y=0;var w,b=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),x=b.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),_=x[0];if(b.length>0)switch(_){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==x[1].charAt(0)&&d.push(b.slice(3).replace(/;;/g,";"));break;case"C":var S=!1,E=!1,k=!1,C=!1,T=-1,A=-1;for(u=1;u-1&&f[T][A];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");f[s][l][1]=gL(N[1],{r:s-T,c:l-A})}break;case"F":var O=0;for(u=1;u0?(m[s].hpt=y,m[s].hpx=GR(y)):0===y&&(m[s].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+b)}O<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+b)}}return m.length>0&&(h["!rows"]=m),g.length>0&&(h["!cols"]=g),a&&a.sheetRows&&(f=f.slice(0,a.sheetRows)),[f,h]}function o(e,t){var n=function(e,t){switch(t.type){case"base64":return a(fA(e),t);case"binary":return a(e,t);case"buffer":return a(dA&&Buffer.isBuffer(e)?e.toString("binary"):yA(e),t);case"array":return a(OI(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),r=n[0],o=n[1],i=sO(r,t);return vI(o).forEach((function(e){i[e]=o[e]})),i}function i(e,t,n,r){var a="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+mL(e.f,{r:n,c:r}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return oO(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r,a=["ID;PWXL;N;E"],o=[],s=rO(e["!ref"]),l=Array.isArray(e),c="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(r=a,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=BR(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=UR(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&r.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*YR(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}(a,e["!rows"]),a.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var u=s.s.r;u<=s.e.r;++u)for(var f=s.s.c;f<=s.e.c;++f){var d=eO({r:u,c:f});(n=l?(e[u]||[])[f]:e[d])&&(null!=n.v||n.f&&!n.F)&&o.push(i(n,0,u,f))}return a.join(c)+c+o.join(c)+c+"E"+c}}}(),AR=function(){function e(e,t){for(var n=e.split("\n"),r=-1,a=-1,o=0,i=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){for(var s=n[o].trim().split(","),l=s[0],c=s[1],u=n[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=c:a=c}})),l>=0&&-1==s&&a>=0&&(s=a,a=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==i&&-1==s&&-1==l?c:-1==r&&-1==a&&-1==o?u:c+"T"+u}(0,n.dateNF,t.match(y)||[]),a=1),n.cellDates?(r.t="d",r.v=NI(t,a)):(r.t="n",r.v=_I(NI(t,a))),!1!==n.cellText&&(r.w=sI(r.z,r.v instanceof Date?_I(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=c;if("z"==r.t||(n.dense?(o[s]||(o[s]=[]),o[s][l]=r):o[eO({c:l,r:s})]=r),u=f+1,m=e.charCodeAt(u),i.e.c0&&w(),o["!ref"]=nO(i),o}function o(t,n){var r="",o="string"==n.type?[0,0,0,0]:function(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=fA(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}(t,n);switch(n.type){case"base64":r=fA(t);break;case"binary":case"string":r=t;break;case"buffer":r=65001==n.codepage?t.toString("utf8"):n.codepage&&void 0!==oA?oA.utils.decode(n.codepage,t):dA&&Buffer.isBuffer(t)?t.toString("binary"):yA(t);break;case"array":r=OI(t);break;default:throw new Error("Unrecognized type "+n.type)}return 239==o[0]&&187==o[1]&&191==o[2]?r=KI(r.slice(3)):"string"!=n.type&&"buffer"!=n.type&&65001==n.codepage?r=KI(r):"binary"==n.type&&void 0!==oA&&n.codepage&&(r=oA.utils.decode(n.codepage,oA.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?IR.to_sheet("string"==n.type?r:KI(r),n):function(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?a(t,n):sO(function(t,n){var r=n||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,l=0,c=0;c<=i;++c)-1==(l=o[c].indexOf(" "))?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=i;++c){a[c]=[];var u=0;for(e(o[c].slice(0,s).trim(),a,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)e(o[c].slice(s+10*(u-1),s+10*u).trim(),a,c,u,r)}return r.sheetRows&&(a=a.slice(0,r.sheetRows)),a}(t,n),n):a(t,n)}(r,n)}return{to_workbook:function(e,t){return oO(o(e,t),t)},to_sheet:o,from_sheet:function(e){for(var t,n=[],r=rO(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var i=[],s=r.s.c;s<=r.e.c;++s){var l=eO({r:o,c:s});if((t=a?(e[o]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(aO(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";i.push(c+(0===s?" ":""))}else i.push(" ")}n.push(i.join(""))}return n.join("\n")}}}(),OR=function(){function e(e,t,n){if(e){BN(e,e.l||0);for(var r=n.Enum||v;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=v,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||OA[14],r.cellDates&&(e[1].t="d",e[1].v=CI(e[1].v))),r.qpro&&e[3]>s&&(a["!ref"]=nO(f),l[o]=a,c.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=r.dense?(a[e[0].r]||[])[e[0].c]:a[eO(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[eO(e[0])]=e[1]}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=y,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=nO(f),l[o]=a,c.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),d>0&&e[0].r>=d)break;r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[eO(e[0])]=e[1],f.e.c=128?95:o)}return r.write_shift(1,0),r}function o(e,t,n){var r=HN(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function i(e,t,n){var r=HN(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function s(e,t,n){var r=32768&t;return t=(r?e:0)+((t&=-32769)>=8192?t-16384:t),(r?"":"$")+(n?JN(t):KN(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},c=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function u(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function f(e,t,n,r){var a=HN(6+r.length);a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),a.write_shift(1,39);for(var o=0;o=128?95:i)}return a.write_shift(1,0),a}function d(e,t){var n=u(e),r=e.read_shift(4),a=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===a?(n[1].t="e",n[1].v=15):0===r&&3489660928===a?(n[1].t="e",n[1].v=42):n[1].v=0,n;var i=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*i)*(a*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function p(e,t,n,r){var a=HN(14);if(a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),0==r)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var o,i=0,s=0,l=0;return r<0&&(i=1,r=-r),s=0|Math.log2(r),0==(2147483648&(l=(r/=Math.pow(2,s-31))>>>0))&&(++s,l=(r/=2)>>>0),r-=l,l|=2147483648,l>>>=0,o=(r*=Math.pow(2,32))>>>0,a.write_shift(4,o),a.write_shift(4,l),s+=16383+(i?32768:0),a.write_shift(2,s),a}function h(e,t){var n=u(e),r=e.read_shift(8,"f");return n[1].v=r,n}function m(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function g(e,t){var n=HN(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r127?95:a}return n[n.l++]=0,n}var v={0:{n:"BOF",f:lR},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,t,r){var a=e.l+t,o=n(e,0,r);if(o[1].v=e.read_shift(8,"f"),r.qpro)e.l=a;else{var i=e.read_shift(2);!function(e,t){BN(e,0);for(var n=[],r=0,a="",o="",i="",u="";e.ln.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+n.join("|")+"|");var m=n.slice(-r);n.length-=r,n.push(l[f][0]+"("+m.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:m},222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var r="";r.length>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(e,t){var n=d(e);return e.l+=t-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var n={},r=e.l+t;e.l>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:h},40:{n:"FORMULA28",f:function(e,t){var n=h(e);return e.l+=t-10,n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:m},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var r=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[r,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&aA(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r,s=WN(),l=rO(e["!ref"]),c=Array.isArray(e),u=[];IP(s,0,((r=HN(2)).write_shift(2,1030),r)),IP(s,6,function(e){var t=HN(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(l));for(var f=Math.min(l.e.r,8191),d=l.s.r;d<=f;++d)for(var p=KN(d),h=l.s.c;h<=l.e.c;++h){d===l.s.r&&(u[h]=JN(h));var m=u[h]+p,g=c?(e[d]||[])[h]:e[m];g&&"z"!=g.t&&("n"==g.t?(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?IP(s,13,o(d,h,g.v)):IP(s,14,i(d,h,g.v)):IP(s,15,a(d,h,aO(g).slice(0,239))))}return IP(s,1),s.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&aA(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=WN();IP(r,0,function(e){var t=HN(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,a=0,o=0;o8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,a),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var a=0,o=0;a";a.r?o+=a.r:(o+=""),o+="",n[n.length]=o}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var PR=function(e,t){var n=!1;return null==t&&(n=!0,t=HN(15+4*e.t.length)),t.write_shift(1,0),uO(e.t,t),n?t.slice(0,t.l):t};function DR(e){var t=WN();VN(t,159,function(e,t){return t||(t=HN(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var n=0;n=0;--n)r=((0==(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var FR=function(){function e(e,n){switch(n.type){case"base64":return t(fA(e),n);case"binary":return t(e,n);case"buffer":return t(dA&&Buffer.isBuffer(e)?e.toString("binary"):yA(e),n);case"array":return t(OI(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,o=/\\\w+\b/g,i=0,s=-1;r=o.exec(e);){if("\\cell"===r[0]){var l=e.slice(i,o.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[t][s]=c:n[eO({r:t,c:s})]=c}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),n["!ref"]=nO(a),n}return{to_workbook:function(t,n){return oO(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=rO(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var i=r.s.c;i<=r.e.c;++i)n.push("\\cellx"+(i+1));for(n.push("\\pard\\intbl"),i=r.s.c;i<=r.e.c;++i){var s=eO({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(aO(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function zR(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}var jR=6;function BR(e){return Math.floor((e+Math.round(128/jR)/256)*jR)}function UR(e){return Math.floor((e-5)/jR*100+.5)/100}function HR(e){return Math.round((e*jR+5)/jR*256)/256}function WR(e){e.width?(e.wpx=BR(e.width),e.wch=UR(e.wpx),e.MDW=jR):e.wpx?(e.wch=UR(e.wpx),e.width=HR(e.wch),e.MDW=jR):"number"==typeof e.wch&&(e.width=HR(e.wch),e.wpx=BR(e.width),e.MDW=jR),e.customWidth&&delete e.customWidth}var VR=96;function YR(e){return 96*e/VR}function GR(e){return e*VR/96}function XR(e,t){var n,r=[jI,nN("styleSheet",null,{xmlns:oN[0],"xmlns:vt":aN.vt})];return e.SSF&&null!=(n=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=nN("numFmt",null,{numFmtId:r,formatCode:WI(e[r])}))})),1===t.length?"":(t[t.length]="",t[0]=nN("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=function(e){var t=[];return t[t.length]=nN("cellXfs",null),e.forEach((function(e){t[t.length]=nN("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=nN("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function $R(e,t,n){n||(n=HN(6+4*t.length)),n.write_shift(2,e),uO(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}var qR,KR=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],QR=UN;function JR(e,t){t||(t=HN(84)),qR||(qR=wI(KR));var n=qR[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(RO({auto:1},t),RO({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function ZR(e,t,n){return n||(n=HN(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function eL(e,t){return t||(t=HN(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var tL=UN;function nL(e,t){var n=WN();return VN(n,278),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n})),0!=n&&(VN(e,615,lO(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&VN(e,44,$R(r,t[r]))})),VN(e,616))}}(n,e.SSF),function(e){VN(e,611,lO(1)),VN(e,43,function(e,t){t||(t=HN(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=HN(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,n),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),RO(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),uO(e.name,t),t.length>t.l?t.slice(0,t.l):t}({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),VN(e,612)}(n),function(e){VN(e,603,lO(2)),VN(e,45,JR({patternType:"none"})),VN(e,45,JR({patternType:"gray125"})),VN(e,604)}(n),function(e){var t;VN(e,613,lO(1)),VN(e,46,(t||(t=HN(51)),t.write_shift(1,0),eL(0,t),eL(0,t),eL(0,t),eL(0,t),eL(0,t),t.length>t.l?t.slice(0,t.l):t)),VN(e,614)}(n),function(e){VN(e,626,lO(1)),VN(e,47,ZR({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),VN(e,627)}(n),function(e,t){VN(e,617,lO(t.length)),t.forEach((function(t){VN(e,47,ZR(t,0))})),VN(e,618)}(n,t.cellXfs),function(e){var t,n;VN(e,619,lO(1)),VN(e,48,(t={xfId:0,builtinId:0,name:"Normal"},n||(n=HN(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),xO(t.name||"",n),n.length>n.l?n.slice(0,n.l):n)),VN(e,620)}(n),function(e){VN(e,505,lO(0)),VN(e,506)}(n),function(e){var t;VN(e,508,((t=HN(2052)).write_shift(4,0),xO("TableStyleMedium9",t),xO("PivotStyleMedium4",t),t.length>t.l?t.slice(0,t.l):t)),VN(e,509)}(n),VN(n,279),n.end()}function rL(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[jI];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function aL(){var e,t,n=WN();return VN(n,332),VN(n,334,lO(1)),VN(n,335,((t=HN(12+2*(e={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,e.flags),t.write_shift(4,e.version),uO(e.name,t),t.slice(0,t.l))),VN(n,336),VN(n,339,function(e,t){var n=HN(8+2*t.length);return n.write_shift(4,1),uO(t,n),n.slice(0,n.l)}(0,"XLDAPR")),VN(n,52),VN(n,35,lO(514)),VN(n,4096,lO(0)),VN(n,4097,cR(1)),VN(n,36),VN(n,53),VN(n,340),VN(n,337,function(e,t){var n=HN(8);return n.write_shift(4,1),n.write_shift(4,1),n}()),VN(n,51,function(e){var t=HN(4+8*e.length);t.write_shift(4,e.length);for(var n=0;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var iL=1024;function sL(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),a=[nN("xml",null,{"xmlns:v":iN.v,"xmlns:o":iN.o,"xmlns:x":iN.x,"xmlns:mv":iN.mv}).replace(/\/>/,">"),nN("o:shapelayout",nN("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),nN("v:shapetype",[nN("v:stroke",null,{joinstyle:"miter"}),nN("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];iL<1e3*e;)iL+=1e3;return t.forEach((function(e){var t=ZN(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?nN("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=nN("v:fill",r,n);++iL,a=a.concat(["",o,nN("v:shadow",null,{on:"t",obscured:"t"}),nN("v:path",null,{"o:connecttype":"none"}),'
','',"","",eN("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),eN("x:AutoFill","False"),eN("x:Row",String(t.r)),eN("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}function lL(e){var t=[jI,nN("comments",null,{xmlns:oN[0]})],n=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var r=WI(e.a);-1==n.indexOf(r)&&(n.push(r),t.push(""+r+"")),e.T&&e.ID&&-1==n.indexOf("tc="+e.ID)&&(n.push("tc="+e.ID),t.push("tc="+e.ID+""))}))})),0==n.length&&(n.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach((function(e){var r=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?r=n.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(r=n.indexOf(WI(e.a))),a.push(e.t||"")})),t.push(''),a.length<=1)t.push(eN("t",WI(a[0]||"")));else{for(var o="Comment:\n "+a[0]+"\n",i=1;i")})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function cL(e,t,n){var r=[jI,nN("ThreadedComments",null,{xmlns:aN.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(o,i){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+n.tcid++).slice(-12)+"}"};0==i?a=s.id:s.parentId=a,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),r.push(nN("threadedComment",eN("text",o.t||""),s))}else delete o.ID}))})),r.push(""),r.join("")}var uL=cO;function fL(e){var t=WN(),n=[];return VN(t,628),VN(t,630),e.forEach((function(e){e[1].forEach((function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),VN(t,632,function(e){return uO(e.slice(0,54))}(e.a)))}))})),VN(t,631),VN(t,633),e.forEach((function(e){e[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var a,o,i,s={s:ZN(e[0]),e:ZN(e[0])};VN(t,635,function(e,t){return null==t&&(t=HN(36)),t.write_shift(4,e[1].iauthor),IO(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([s,r])),r.t&&r.t.length>0&&VN(t,637,(a=r,i=!1,null==o&&(i=!0,o=HN(23+4*a.t.length)),o.write_shift(1,1),uO(a.t,o),o.write_shift(4,1),function(e,t){t||(t=HN(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},o),i?o.slice(0,o.l):o)),VN(t,636),delete r.iauthor}))})),VN(t,634),VN(t,629),t.end()}var dL=["xlsb","xlsm","xlam","biff8","xla"],pL=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,a){var o=!1,i=!1;0==r.length?i=!0:"["==r.charAt(0)&&(i=!0,r=r.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=a.length>0?0|parseInt(a,10):0;return o?l+=t.c:--l,i?s+=t.r:--s,n+(o?"":"$")+JN(l)+(i?"":"$")+KN(s)}return function(r,a){return t=a,r.replace(e,n)}}(),hL=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,mL=function(){return function(e,t){return e.replace(hL,(function(e,n,r,a,o,i){var s=QN(a)-(r?0:t.c),l=qN(i)-(o?0:t.r);return n+"R"+(0==l?"":o?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")}))}}();function gL(e,t){return e.replace(hL,(function(e,n,r,a,o,i){return n+("$"==r?r+a:JN(QN(a)+t.c))+("$"==o?o+i:KN(qN(i)+t.r))}))}function vL(e){e.l+=1}function yL(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function wL(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return bL(e);12==n.biff&&(r=4)}var a=e.read_shift(r),o=e.read_shift(r),i=yL(e,2),s=yL(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function bL(e){var t=yL(e,2),n=yL(e,2),r=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:a,cRel:n[1],rRel:n[2]}}}function xL(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=yL(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e.read_shift(n&&12==n.biff?4:2),a=yL(e,2);return{r:r,c:a[0],cRel:a[1],rRel:a[2]}}function _L(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function SL(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function EL(e){return[e.read_shift(1),e.read_shift(1)]}function kL(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=function(e,t){return 1===e.read_shift(t)}(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=zO[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=NO(e);break;case 2:n[1]=function(e,t,n){if(n.biff>5)return function(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):function(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}(e,r,n)}(e,0,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function CL(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),a=[],o=0;o!=r;++o)a.push((12==n.biff?AO:yR)(e,8));return a}function TL(e,t,n){var r=0,a=0;12==n.biff?(r=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--a&&(a=256));for(var o=0,i=[];o!=r&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=kL(e,n.biff);return i}function AL(e,t,n){return e.l+=2,[_L(e)]}function IL(e){return e.l+=6,[]}function NL(e){return e.l+=2,[lR(e),1&e.read_shift(2)]}var OL=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],RL={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:UN},3:{n:"PtgAdd",f:vL},4:{n:"PtgSub",f:vL},5:{n:"PtgMul",f:vL},6:{n:"PtgDiv",f:vL},7:{n:"PtgPower",f:vL},8:{n:"PtgConcat",f:vL},9:{n:"PtgLt",f:vL},10:{n:"PtgLe",f:vL},11:{n:"PtgEq",f:vL},12:{n:"PtgGe",f:vL},13:{n:"PtgGt",f:vL},14:{n:"PtgNe",f:vL},15:{n:"PtgIsect",f:vL},16:{n:"PtgUnion",f:vL},17:{n:"PtgRange",f:vL},18:{n:"PtgUplus",f:vL},19:{n:"PtgUminus",f:vL},20:{n:"PtgPercent",f:vL},21:{n:"PtgParen",f:vL},22:{n:"PtgMissArg",f:vL},23:{n:"PtgStr",f:function(e,t,n){return e.l++,fR(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,zO[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,NO(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(n&&n.biff<=3?1:2);return[qL[a],$L[a],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],a=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===o[0]?$L:XL)[o[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e.read_shift(1)>>>5&3,a=!n||n.biff>=8?4:2,o=e.read_shift(a);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,xL(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,wL(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:UN},40:{n:"PtgMemNoMem",f:UN},41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==a&&n>=128&&(n-=256),{r:t,c:n,cRel:a,rRel:r}}(e);var a=e.read_shift(r>=12?4:2),o=e.read_shift(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,n);return[r,a]}},45:{n:"PtgAreaN",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=function(e,t,n){if(n.biff<8)return bL(e);var r=e.read_shift(12==n.biff?4:2),a=e.read_shift(12==n.biff?4:2),o=yL(e,2),i=yL(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,n);return[r,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[r,a,xL(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(n&&5===n.biff)e.l+=12;return[r,a,wL(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[r,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[r,a]}},255:{}},LL={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},PL={1:{n:"PtgElfLel",f:NL},2:{n:"PtgElfRw",f:AL},3:{n:"PtgElfCol",f:AL},6:{n:"PtgElfRwV",f:AL},7:{n:"PtgElfColV",f:AL},10:{n:"PtgElfRadical",f:AL},11:{n:"PtgElfRadicalS",f:IL},13:{n:"PtgElfColS",f:IL},15:{n:"PtgElfColSV",f:IL},16:{n:"PtgElfRadicalLel",f:NL},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),a=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&n,rt:OL[n>>2&31],idx:r,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},DL={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),a=[],o=0;o<=r;++o)a.push(e.read_shift(n&&2==n.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:SL},33:{n:"PtgAttrBaxcel",f:SL},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),EL(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),EL(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function ML(e,t,n,r){if(r.biff<8)return UN(e,t);for(var a=e.l+t,o=[],i=0;i!==n.length;++i)switch(n[i][0]){case"PtgArray":n[i][1]=TL(e,0,r),o.push(n[i][1]);break;case"PtgMemArea":n[i][2]=CL(e,n[i][1],r),o.push(n[i][2]);break;case"PtgExp":r&&12==r.biff&&(n[i][1][1]=e.read_shift(4),o.push(n[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[i][0]}return 0!=(t=a-e.l)&&o.push(UN(e,t)),o}function FL(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function jL(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var a="";if(n.biff>8)switch(e[r[0]][0]){case 357:return a=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return a=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(a=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?a:a+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function BL(e,t,n){var r=jL(e,t,n);return"#REF"==r?r:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(r,n)}function UL(e,t,n,r,a){var o,i,s,l,c=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],d=0,p=0,h="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,y=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=LI(" ",e[0][m][1][1]);break;case 1:g=LI("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}f.push(i+zL[w[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=YN(w[1][1],u,a),f.push(XN(s,c));break;case"PtgRefN":s=n?YN(w[1][1],n,a):w[1][1],f.push(XN(s,c));break;case"PtgRef3d":d=w[1][1],s=YN(w[1][2],u,a),h=BL(r,d,a),f.push(h+"!"+XN(s,c));break;case"PtgFunc":case"PtgFuncVar":var b=w[1][0],x=w[1][1];b||(b=0);var _=0==(b&=127)?[]:f.slice(-b);f.length-=b,"User"===x&&(x=_.shift()),f.push(x+"("+_.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":l=GN(w[1][1],n?{s:n}:u,a),f.push($N(l,a));break;case"PtgArea":l=GN(w[1][1],u,a),f.push($N(l,a));break;case"PtgArea3d":d=w[1][1],l=w[1][2],h=BL(r,d,a),f.push(h+"!"+$N(l,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":p=w[1][2];var S=(r.names||[])[p-1]||(r[0]||[])[p],E=S?S.Name:"SH33TJSNAME"+String(p);E&&"_xlfn."==E.slice(0,6)&&!a.xlfn&&(E=E.slice(6)),f.push(E);break;case"PtgNameX":var k,C=w[1][1];if(p=w[1][2],!(a.biff<=5)){var T="";if(14849==((r[C]||[])[0]||[])[0]||(1025==((r[C]||[])[0]||[])[0]?r[C][p]&&r[C][p].itab>0&&(T=r.SheetNames[r[C][p].itab-1]+"!"):T=r.SheetNames[p-1]+"!"),r[C]&&r[C][p])T+=r[C][p].Name;else if(r[0]&&r[0][p])T+=r[0][p].Name;else{var A=(jL(r,C,a)||"").split(";;");A[p-1]?T=A[p-1]:T+="SH33TJSERRX"}f.push(T);break}C<0&&(C=-C),r[C]&&(k=r[C][p]),k||(k={Name:"SH33TJSERRY"}),f.push(k.Name);break;case"PtgParen":var I="(",N=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:I=LI(" ",e[0][m][1][1])+I;break;case 3:I=LI("\r",e[0][m][1][1])+I;break;case 4:N=LI(" ",e[0][m][1][1])+N;break;case 5:N=LI("\r",e[0][m][1][1])+N;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(I+f.pop()+N);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":s={c:w[1][1],r:w[1][0]};var O={c:n.c,r:n.r};if(r.sharedf[eO(s)]){var R=r.sharedf[eO(s)];f.push(UL(R,0,O,r,a))}else{var L=!1;for(o=0;o!=r.arrayf.length;++o)if(i=r.arrayf[o],!(s.ci[0].e.c||s.ri[0].e.r)){f.push(UL(i[1],0,O,r,a)),L=!0;break}L||f.push(w[1])}break;case"PtgArray":f.push("{"+FL(w[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(w))}if(3!=a.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var P=!0;switch((w=e[0][m])[1][0]){case 4:P=!1;case 0:g=LI(" ",w[1][1]);break;case 5:P=!1;case 1:g=LI("\r",w[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0])}f.push((P?g:"")+f.pop()+(P?"":g)),m=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function HL(e,t,n){var r=e.read_shift(4),a=function(e,t,n){for(var r,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],r=RL[a]||RL[LL[a]],24!==a&&25!==a||(r=(24===a?PL:DL)[e[e.l+1]]),r&&r.f?i.push([r.n,r.f(e,t,n)]):UN(e,t);return i}(e,r,n),o=e.read_shift(4);return[a,o>0?ML(e,o,a,n):null]}var WL=HL,VL=HL,YL=HL,GL=HL,XL={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},$L={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},qL={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function KL(e){return("of:="+e.replace(hL,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}var QL="undefined"!=typeof Map;function JL(e,t,n){var r=0,a=e.length;if(n){if(QL?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=QL?n.get(t):n[t];r-1?(n.width=HR(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function eP(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function tP(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==r&&n.ssf)for(;a<392;++a)if(null==n.ssf[a]){lI(t.z,a),n.ssf[a]=t.z,n.revssf[t.z]=r=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===r)return a;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function nP(e,t,n){if(e&&e["!ref"]){var r=rO(e["!ref"]);if(r.e.c32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=eN("v",""+JL(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=nN("f",WI(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.D&&(l.cm=1),nN("c",s,l)}function iP(e,t,n,r){var a,o=[jI,nN("worksheet",null,{xmlns:oN[0],"xmlns:r":aN.r})],i=n.SheetNames[e],s="",l=n.Sheets[i];null==l&&(l={});var c=l["!ref"]||"A1",u=rO(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=nO(u)}r||(r={}),l["!comments"]=[];var f=[];!function(e,t,n,r,a){var o=!1,i={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(e){}o=!0,i.codeName=QI(WI(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+nN("outlinePr",null,c)}(o||s)&&(a[a.length]=nN("sheetPr",s,i))}(l,n,e,t,o),o[o.length]=nN("dimension",null,{ref:c}),o[o.length]=function(e,t,n,r){var a={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),nN("sheetViews",nN("sheetView",null,a),{})}(0,0,0,n),t.sheetFormat&&(o[o.length]=nN("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(o[o.length]=function(e,t){for(var n,r=[""],a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=nN("col",null,ZL(a,n)));return r[r.length]="",r.join("")}(0,l["!cols"])),o[a=o.length]="",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var a,o,i=[],s=[],l=rO(e["!ref"]),c="",u="",f=[],d=0,p=0,h=e["!rows"],m=Array.isArray(e),g={r:u},v=-1;for(p=l.s.c;p<=l.e.c;++p)f[p]=JN(p);for(d=l.s.r;d<=l.e.r;++d){for(s=[],u=KN(d),p=l.s.c;p<=l.e.c;++p){a=f[p]+u;var y=m?(e[d]||[])[p]:e[a];void 0!==y&&null!=(c=oP(y,a,e,t))&&s.push(c)}(s.length>0||h&&h[d])&&(g={r:u},h&&h[d]&&((o=h[d]).hidden&&(g.hidden=1),v=-1,o.hpx?v=YR(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),i[i.length]=nN("row",s.join(""),g))}if(h)for(;d-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level),i[i.length]=nN("row","",g));return i.join("")}(l,t),s.length>0&&(o[o.length]=s)),o.length>a+1&&(o[o.length]="",o[a]=o[a].replace("/>",">")),l["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return rP.forEach((function(n){null!=e[n]&&e[n]&&(t[n]="1")})),aP.forEach((function(n){null==e[n]||e[n]||(t[n]="0")})),e.password&&(t.password=MR(e.password).toString(16).toUpperCase()),nN("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(o[o.length]=function(e,t,n,r){var a="string"==typeof e.ref?e.ref:nO(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,i=tO(a);i.s.r==i.e.r&&(i.e.r=tO(t["!ref"]).e.r,a=nO(i));for(var s=0;s0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='',n=0;n!=e.length;++n)t+='';return t+""}(l["!merges"]));var d,p,h=-1,m=-1;return l["!links"].length>0&&(o[o.length]="",l["!links"].forEach((function(e){e[1].Target&&(d={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=YO(r,-1,WI(e[1].Target).replace(/#.*$/,""),HO.HLINK),d["r:id"]="rId"+m),(h=e[1].Target.indexOf("#"))>-1&&(d.location=WI(e[1].Target.slice(h+1))),e[1].Tooltip&&(d.tooltip=WI(e[1].Tooltip)),o[o.length]=nN("hyperlink",null,d))})),o[o.length]=""),delete l["!links"],null!=l["!margins"]&&(o[o.length]=(eP(p=l["!margins"]),nN("pageMargins",null,p))),t&&!t.ignoreEC&&null!=t.ignoreEC||(o[o.length]=eN("ignoredErrors",nN("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(m=YO(r,-1,"../drawings/drawing"+(e+1)+".xml",HO.DRAW),o[o.length]=nN("drawing",null,{"r:id":"rId"+m}),l["!drawing"]=f),l["!comments"].length>0&&(m=YO(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",HO.VML),o[o.length]=nN("legacyDrawing",null,{"r:id":"rId"+m}),l["!legacy"]=m),o.length>1&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join("")}function sP(e,t,n,r){var a=function(e,t,n){var r=HN(145),a=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;a.hpx?o=20*YR(a.hpx):a.hpt&&(o=20*a.hpt),r.write_shift(2,o),r.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),r.write_shift(1,i),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.cr.l?r.slice(0,r.l):r}(r,n,t);(a.length>17||(t["!rows"]||[])[r])&&VN(e,0,a)}var lP=AO,cP=IO;var uP=AO,fP=IO,dP=["left","right","top","bottom","header","footer"];function pP(e,t,n,r,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=RI(t)).z=t.z||OA[14],t.v=_I(NI(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var l={r:n,c:r};switch(l.s=tP(a.cellXfs,t,a),t.l&&o["!links"].push([eO(l),t.l]),t.c&&o["!comments"].push([eO(l),t.c]),t.t){case"s":case"str":return a.bookSST?(s=JL(a.Strings,t.v,a.revStrings),l.t="s",l.v=s,i?VN(e,18,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),n.write_shift(4,t.v),n}(0,l)):VN(e,7,function(e,t,n){return null==n&&(n=HN(12)),mO(t,n),n.write_shift(4,t.v),n}(0,l))):(l.t="str",i?VN(e,17,function(e,t,n){return null==n&&(n=HN(8+4*e.v.length)),vO(t,n),uO(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l)):VN(e,6,function(e,t,n){return null==n&&(n=HN(12+4*e.v.length)),mO(t,n),uO(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?VN(e,13,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),CO(e.v,n),n}(t,l)):VN(e,2,function(e,t,n){return null==n&&(n=HN(12)),mO(t,n),CO(e.v,n),n}(t,l)):i?VN(e,16,function(e,t,n){return null==n&&(n=HN(12)),vO(t,n),OO(e.v,n),n}(t,l)):VN(e,5,function(e,t,n){return null==n&&(n=HN(16)),mO(t,n),OO(e.v,n),n}(t,l)),!0;case"b":return l.t="b",i?VN(e,15,function(e,t,n){return null==n&&(n=HN(5)),vO(t,n),n.write_shift(1,e.v?1:0),n}(t,l)):VN(e,4,function(e,t,n){return null==n&&(n=HN(9)),mO(t,n),n.write_shift(1,e.v?1:0),n}(t,l)),!0;case"e":return l.t="e",i?VN(e,14,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),n.write_shift(1,e.v),n.write_shift(2,0),n.write_shift(1,0),n}(t,l)):VN(e,3,function(e,t,n){return null==n&&(n=HN(9)),mO(t,n),n.write_shift(1,e.v),n}(t,l)),!0}return i?VN(e,12,function(e,t,n){return null==n&&(n=HN(4)),vO(t,n)}(0,l)):VN(e,1,function(e,t,n){return null==n&&(n=HN(8)),mO(t,n)}(0,l)),!0}function hP(e,t,n,r){var a=WN(),o=n.SheetNames[e],i=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l,c,u=rO(i["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],VN(a,129),(n.vbaraw||i["!outline"])&&VN(a,147,function(e,t,n){null==n&&(n=HN(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n.write_shift(1,r);for(var a=1;a<3;++a)n.write_shift(1,0);return RO({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),wO(e,n),n.slice(0,n.l)}(s,i["!outline"])),VN(a,148,cP(u)),function(e,t,n){VN(e,133),VN(e,137,function(e,t,n){null==n&&(n=HN(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),VN(e,138),VN(e,134)}(a,0,n.Workbook),function(e,t){t&&t["!cols"]&&(VN(e,390),t["!cols"].forEach((function(t,n){t&&VN(e,60,function(e,t,n){null==n&&(n=HN(18));var r=ZL(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof r.width&&(a|=2),t.level&&(a|=t.level<<8),n.write_shift(2,a),n}(n,t))})),VN(e,391))}(a,i),function(e,t,n,r){var a,o=rO(t["!ref"]||"A1"),i="",s=[];VN(e,145);var l=Array.isArray(t),c=o.e.r;t["!rows"]&&(c=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=c;++u){i=KN(u),sP(e,t,o,u);var f=!1;if(u<=o.e.r)for(var d=o.s.c;d<=o.e.c;++d){u===o.s.r&&(s[d]=JN(d)),a=s[d]+i;var p=l?(t[u]||[])[d]:t[a];f=!!p&&pP(e,p,u,d,r,t,f)}}VN(e,146)}(a,i,0,t),function(e,t){var n,r;t["!protect"]&&VN(e,535,(n=t["!protect"],null==r&&(r=HN(66)),r.write_shift(2,n.password?MR(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(e){e[1]?r.write_shift(4,null==n[e[0]]||n[e[0]]?0:1):r.write_shift(4,null!=n[e[0]]&&n[e[0]]?0:1)})),r))}(a,i),function(e,t,n,r){if(t["!autofilter"]){var a=t["!autofilter"],o="string"==typeof a.ref?a.ref:nO(a.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var i=n.Workbook.Names,s=tO(o);s.s.r==s.e.r&&(s.e.r=tO(t["!ref"]).e.r,o=nO(s));for(var l=0;l0){var a=YO(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",HO.VML);VN(e,551,EO("rId"+a)),t["!legacy"]=a}}(a,i,e,r),VN(a,130),a.end()}var mP=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],gP="][*?/\\".split("");function vP(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return gP.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function yP(e){var t=[jI];t[t.length]=nN("workbook",null,{xmlns:oN[0],"xmlns:r":aN.r});var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(mP.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=nN("workbookPr",null,r);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",o=0;o!=e.SheetNames.length;++o){var i={name:WI(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=nN("sheet",null,i)}return t[t.length]="",n&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=nN("definedName",WI(e.Ref),n))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function wP(e,t){var n=WN();return VN(n,131),VN(n,128,function(e,t){t||(t=HN(127));for(var n=0;4!=n;++n)t.write_shift(4,0);return uO("SheetJS",t),uO(JT.version,t),uO(JT.version,t),uO("7262",t),t.length>t.l?t.slice(0,t.l):t}()),VN(n,153,function(e,t){t||(t=HN(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),wO(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),function(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,a=-1,o=-1;ra||(VN(e,135),VN(e,158,(i=a,s||(s=HN(29)),s.write_shift(-4,0),s.write_shift(-4,460),s.write_shift(4,28800),s.write_shift(4,17600),s.write_shift(4,500),s.write_shift(4,i),s.write_shift(4,i),s.write_shift(1,120),s.length>s.l?s.slice(0,s.l):s)),VN(e,136))}var i,s}(n,e),function(e,t){VN(e,143);for(var n=0;n!=t.SheetNames.length;++n)VN(e,156,(r={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]},(a=void 0)||(a=HN(127)),a.write_shift(4,r.Hidden),a.write_shift(4,r.iTabID),EO(r.strRelID,a),uO(r.name.slice(0,31),a),a.length>a.l?a.slice(0,a.l):a));var r,a;VN(e,144)}(n,e),VN(n,132),n.end()}function bP(e,t,n,r,a){return(".bin"===t.slice(-4)?hP:iP)(e,n,r,a)}function xP(e,t,n){return(".bin"===t.slice(-4)?fL:lL)(e,n)}function _P(e){return nN("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+mL(e.Ref,{r:0,c:0})})}function SP(e,t,n,r,a,o,i){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+WI(mL(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var l=ZN(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==i.r?"":"["+(l.r-i.r)+"]")+"C"+(l.c==i.c?"":"["+(l.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=WI(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=WI(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==i.c&&c[u].s.r==i.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",d="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",d=String(e.v);break;case"b":f="Boolean",d=e.v?"1":"0";break;case"e":f="Error",d=zO[e.v];break;case"d":f="DateTime",d=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||OA[14]);break;case"s":f="String",d=((e.v||"")+"").replace(UI,(function(e){return BI[e]})).replace(YI,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var p=tP(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+p),s["ss:Index"]=i.c+1;var h=null!=e.v?d:"",m="z"==e.t?"":''+h+"";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=nN("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"});return nN("Comment",t,{"ss:Author":e.a})})).join("")),nN("Cell",m,s)}function EP(e,t){var n='"}function kP(e,t,n){var r=[],a=n.SheetNames[e],o=n.Sheets[a],i=o?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var a=r.Workbook.Names,o=[],i=0;i0&&r.push(""+i+""),i=o?function(e,t,n,r){if(!e["!ref"])return"";var a=rO(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){WR(e);var n=!!e.width,r=ZL(t,e),a={"ss:Index":t+1};n&&(a["ss:Width"]=BR(r.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(nN("Column",null,a))}));for(var l=Array.isArray(e),c=a.s.r;c<=a.e.r;++c){for(var u=[EP(c,(e["!rows"]||[])[c])],f=a.s.c;f<=a.e.c;++f){var d=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f||o[i].s.r>c||o[i].e.c"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"",i.length>0&&r.push(""+i+"
"),r.push(function(e,t,n,r){if(!e)return"";var a=[];if(e["!margins"]&&(a.push(""),e["!margins"].header&&a.push(nN("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(nN("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(nN("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)a.push(nN("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(eN("ProtectContents","True")),e["!protect"].objects&&a.push(eN("ProtectObjects","True")),e["!protect"].scenarios&&a.push(eN("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(eN("EnableSelection","UnlockedCells")):a.push(eN("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":nN("WorksheetOptions",a.join(""),{xmlns:iN.x})}(o,0,e,n)),r.join("")}function CP(e,t){t||(t={}),e.SSF||(e.SSF=RI(OA)),e.SSF&&(uI(),cI(e.SSF),t.revssf=bI(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(function(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return vI(tR).map((function(e){for(var t=0;t<$O.length;++t)if($O[t][1]==e)return $O[t];for(t=0;t'+a.join("")+""}(e.Props,e.Custprops)),n.join("")}(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r'];return t.cellXfs.forEach((function(e,t){var r=[];r.push(nN("NumberFormat",null,{"ss:Format":WI(OA[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};n.push(nN("Style",r.join(""),a))})),nN("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r0&&(r.family=i);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),a=e.read_shift(2,"i"),o=e.read_shift(1),i=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=FO[r];l&&(t.rgb=zR(l));break;case 2:t.rgb=zR([o,i,s]);break;case 3:t.theme=r}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=cO(e),r}},44:{f:function(e,t){return[e.read_shift(2),cO(e)]}},45:{f:QR},46:{f:tL},47:{f:function(e,t){var n=e.l+t,r=e.read_shift(2),a=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:a}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:function(e,t,n){if(!n.cellStyles)return UN(e,t);var r=n&&n.biff>=12?4:2,a=e.read_shift(r),o=e.read_shift(r),i=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:a,e:o,w:i,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}},62:{f:function(e){return[hO(e),dO(e),"is"]}},63:{f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=eO(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:UN,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=yO(e,t-19),n}},148:{f:lP,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var a=t>8?cO(e):"";return a.length>0&&(n.CodeName=a),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{},155:{},156:{f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=SO(e,t-8),n.name=cO(e),n}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:AO},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:uP},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:cO(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:SO},357:{},358:{},359:{},360:{T:1},361:{},362:{f:function(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=fR(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],a=e.l+t,o=e.read_shift(n.biff>8?4:2);0!=o--;)r.push(vR(e,n.biff,n));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return r}},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,n){var r=e.l+t,a=TO(e),o=e.read_shift(1),i=[a];if(i[2]=o,n.cellFormula){var s=WL(e,r-e.l,n);i[1]=s}else e.l=r;return i}},427:{f:function(e,t,n){var r=e.l+t,a=[AO(e,16)];if(n.cellFormula){var o=GL(e,r-e.l,n);a[1]=o,e.l=r}else e.l=r;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return dP.forEach((function(n){t[n]=NO(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var n=e.l+t,r=AO(e,16),a=bO(e),o=cO(e),i=cO(e),s=cO(e);e.l=n;var l={rfx:r,relId:a,loc:o,display:s};return i&&(l.Tooltip=i),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:SO},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:uL},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=AO(e,16);return t.rfx=n.s,t.ref=eO(n.s),e.l+=16,t}},636:{T:-1},637:{f:pO},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:cO(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function IP(e,t,n,r){var a=t;if(!isNaN(a)){var o=r||(n||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,o),o>0&&TN(n)&&e.push(n)}}function NP(e,t,n){return e||(e=HN(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function OP(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?_I(NI(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?IP(e,2,function(e,t,n){var r=HN(9);return NP(r,e,t),r.write_shift(2,n),r}(n,r,a)):IP(e,3,function(e,t,n){var r=HN(15);return NP(r,e,t),r.write_shift(8,n,"f"),r}(n,r,a)));case"b":case"e":return void IP(e,5,function(e,t,n,r){var a=HN(9);return NP(a,e,t),uR(n,r||"b",a),a}(n,r,t.v,t.t));case"s":case"str":return void IP(e,4,function(e,t,n){var r=HN(8+2*n.length);return NP(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l255||m.e.r>=g){if(t.WTF)throw new Error("Range "+(l["!ref"]||"A1")+" exceeds format limit A1:IV16384");m.e.c=Math.min(m.e.c,255),m.e.r=Math.min(m.e.c,g-1)}IP(i,2057,bR(0,16,t)),IP(i,13,cR(1)),IP(i,12,cR(100)),IP(i,15,sR(!0)),IP(i,17,sR(!1)),IP(i,16,OO(.001)),IP(i,95,sR(!0)),IP(i,42,sR(!1)),IP(i,43,sR(!1)),IP(i,130,cR(1)),IP(i,128,(a=[0,0],(o=HN(8)).write_shift(4,0),o.write_shift(2,a[0]?a[0]+1:0),o.write_shift(2,a[1]?a[1]+1:0),o)),IP(i,131,sR(!1)),IP(i,132,sR(!1)),d&&function(e,t){if(t){var n=0;t.forEach((function(t,r){++n<=256&&t&&IP(e,125,function(e,t){var n=HN(12);n.write_shift(2,t),n.write_shift(2,t),n.write_shift(2,256*e.width),n.write_shift(2,0);var r=0;return e.hidden&&(r|=1),n.write_shift(1,r),r=e.level||0,n.write_shift(1,r),n.write_shift(2,0),n}(ZL(r,t),r))}))}}(i,l["!cols"]),IP(i,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=HN(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}(m,t)),d&&(l["!links"]=[]);for(var v=m.s.r;v<=m.e.r;++v){p=KN(v);for(var y=m.s.c;y<=m.e.c;++y){v===m.s.r&&(h[y]=JN(y)),r=h[y]+p;var w=f?(l[v]||[])[y]:l[r];w&&(RP(i,w,v,y,t),d&&w.l&&l["!links"].push([r,w.l]))}}var b=u.CodeName||u.name||s;return d&&IP(i,574,function(e){var t=HN(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((c.Views||[])[0])),d&&(l["!merges"]||[]).length&&IP(i,229,function(e){var t=HN(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=RI(OA)),e&&e.SSF&&(uI(),cI(e.SSF),n.revssf=bI(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,cD(n),n.cellXfs=[],tP(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a255||i.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=nO(i)}for(var c=i.s.r;c<=i.e.r;++c){s=KN(c);for(var u=i.s.c;u<=i.e.c;++u){c===i.s.r&&(l[u]=JN(u)),a=l[u]+s;var f=o?(t[c]||[])[u]:t[a];f&&OP(e,f,c,u)}}}(r,e.Sheets[e.SheetNames[a]],0,n),IP(r,10),r.end()}(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function MP(e,t,n,r){for(var a=e["!merges"]||[],o=[],i=t.s.c;i<=t.e.c;++i){for(var s=0,l=0,c=0;cn||a[c].s.c>i||a[c].e.r").replace(YI,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})))||"",p={};s>1&&(p.rowspan=s),l>1&&(p.colspan=l),r.editable?d=''+d+"":f&&(p["data-t"]=f&&f.t||"z",null!=f.v&&(p["data-v"]=f.v),null!=f.z&&(p["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(d=''+d+"")),p.id=(r.id||"sjs")+"-"+u,o.push(nN("td",d,p))}}return""+o.join("")+""}var FP='SheetJS Table Export',zP="";function jP(e,t){var n=t||{},r=null!=n.header?n.header:FP,a=null!=n.footer?n.footer:zP,o=[r],i=tO(e["!ref"]);n.dense=Array.isArray(e),o.push(function(e,t,n){return[].join("")+""}(0,0,n));for(var s=i.s.r;s<=i.e.r;++s)o.push(MP(e,i,s,n));return o.push(""+a),o.join("")}function BP(e,t,n){var r=n||{};null!=lA&&(r.dense=lA);var a=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)a=r.origin;else{var i="string"==typeof r.origin?ZN(r.origin):r.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=tO(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==a&&(c.e.r=a=u.e.r+1)}var f=[],d=0,p=e["!rows"]||(e["!rows"]=[]),h=0,m=0,g=0,v=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);h1||w>1)&&f.push({s:{r:m+a,c:v+o},e:{r:m+a+(y||1)-1,c:v+o+(w||1)-1}});var C={t:"s",v:S},T=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=S&&(0==S.length?C.t=T||"z":r.raw||0==S.trim().length||"s"==T||("TRUE"===S?C={t:"b",v:!0}:"FALSE"===S?C={t:"b",v:!1}:isNaN(PI(S))?isNaN(MI(S).getDate())||(C={t:"d",v:NI(S)},r.cellDates||(C={t:"n",v:_I(C.v)}),C.z=r.dateNF||OA[14]):C={t:"n",v:PI(S)})),void 0===C.z&&null!=E&&(C.z=E);var A="",I=_.getElementsByTagName("A");if(I&&I.length)for(var N=0;N=l&&(e["!fullref"]=nO((c.e.r=s.length-h+m-1+a,c))),e}function UP(e,t){return BP((t||{}).dense?[]:{},e,t)}function HP(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var WP=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return jI+t}}(),VP=function(){var e=" \n",t=function(t,n,r){var a=[];a.push(' \n');var o=0,i=0,s=tO(t["!ref"]||"A1"),l=t["!merges"]||[],c=0,u=Array.isArray(t);if(t["!cols"])for(i=0;i<=s.e.c;++i)a.push(" \n");var f,d="",p=t["!rows"]||[];for(o=0;o\n");for(;o<=s.e.r;++o){for(d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",a.push(" \n"),i=0;ii||l[c].s.r>o||l[c].e.c\n");else{var v=eO({r:o,c:i}),y=u?(t[o]||[])[i]:t[v];if(y&&y.f&&(m["table:formula"]=WI(KL(y.f)),y.F&&y.F.slice(0,v.length)==v)){var w=tO(y.F);m["table:number-matrix-columns-spanned"]=w.e.c-w.s.c+1,m["table:number-matrix-rows-spanned"]=w.e.r-w.s.r+1}if(y){switch(y.t){case"b":g=y.v?"TRUE":"FALSE",m["office:value-type"]="boolean",m["office:boolean-value"]=y.v?"true":"false";break;case"n":g=y.w||String(y.v||0),m["office:value-type"]="float",m["office:value"]=y.v||0;break;case"s":case"str":g=null==y.v?"":y.v,m["office:value-type"]="string";break;case"d":g=y.w||NI(y.v).toISOString(),m["office:value-type"]="date",m["office:date-value"]=NI(y.v).toISOString(),m["table:style-name"]="ce1";break;default:a.push(e);continue}var b=WI(g).replace(/ +/g,(function(e){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(y.l&&y.l.Target){var x=y.l.Target;"#"==(x="#"==x.charAt(0)?"#"+(f=x.slice(1),f.replace(/\./,"!")):x).charAt(0)||x.match(/^\w+:/)||(x="../"+x),b=nN("text:a",b,{"xlink:href":x.replace(/&/g,"&")})}a.push(" "+nN("table:table-cell",nN("text:p",b,{}),m)+"\n")}else a.push(e)}}a.push(" \n")}return a.push(" \n"),a.join("")};return function(e,n){var r=[jI],a=tN({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=tN({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?(r.push("\n"),r.push(XO().replace(/office:document-meta/g,"office:meta"))):r.push("\n"),function(e,t){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n");var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var r=0;r\n'),e.push(' \n'),e.push(" \n"),++n}}));var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var n=0;n\n'),e.push(' \n'),e.push(" \n"),++r}})),e.push(' \n'),e.push(' \n'),e.push(" \n"),e.push(' \n'),e.push(" \n")}(r,e),r.push(" \n"),r.push(" \n");for(var i=0;i!=e.SheetNames.length;++i)r.push(t(e.Sheets[e.SheetNames[i]],e,i));return r.push(" \n"),r.push(" \n"),"fods"==n.bookType?r.push(""):r.push(""),r.join("")}}();function YP(e,t){if("fods"==t.bookType)return VP(e,t);var n=zI(),r="",a=[],o=[];return FI(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),FI(n,r="content.xml",VP(e,t)),a.push([r,"text/xml"]),o.push([r,"ContentFile"]),FI(n,r="styles.xml",WP(e,t)),a.push([r,"text/xml"]),o.push([r,"StylesFile"]),FI(n,r="meta.xml",jI+XO()),a.push([r,"text/xml"]),o.push([r,"MetadataFile"]),FI(n,r="manifest.rdf",function(e){var t=[jI];t.push('\n');for(var n=0;n!=e.length;++n)t.push(GO(e[n][0],e[n][1])),t.push(("",[' \n',' \n'," \n"].join("")));return t.push(GO("","Document","pkg")),t.push(""),t.join("")}(o)),a.push([r,"application/rdf+xml"]),FI(n,r="META-INF/manifest.xml",function(e){var t=[jI];t.push('\n'),t.push(' \n');for(var n=0;n\n');return t.push(""),t.join("")}(a)),n}function GP(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function XP(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):gA(QI(e))}function $P(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),r=0;return e.forEach((function(e){n.set(e,r),r+=e.length})),n}function qP(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function KP(e){var t=new Uint8Array(7);t[0]=127&e;var n=1;e:if(e>127){if(t[n-1]|=128,t[n]=e>>7&127,++n,e<=16383)break e;if(t[n-1]|=128,t[n]=e>>14&127,++n,e<=2097151)break e;if(t[n-1]|=128,t[n]=e>>21&127,++n,e<=268435455)break e;if(t[n-1]|=128,t[n]=e/256>>>21&127,++n,e<=34359738367)break e;if(t[n-1]|=128,t[n]=e/65536>>>21&127,++n,e<=4398046511103)break e;t[n-1]|=128,t[n]=e/16777216>>>21&127,++n}return t.slice(0,n)}function QP(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function JP(e){for(var t=[],n=[0];n[0]=128;);r=e.slice(l,n[0]);break;case 5:s=4,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=qP(e,n),r=e.slice(n[0],n[0]+s),n[0]+=s;break;default:throw new Error("PB Type ".concat(i," for Field ").concat(o," at offset ").concat(a))}var c={data:r,type:i};null==t[o]?t[o]=[c]:t[o].push(c)}return t}function ZP(e){var t=[];return e.forEach((function(e,n){e.forEach((function(e){e.data&&(t.push(KP(8*n+e.type)),2==e.type&&t.push(KP(e.data.length)),t.push(e.data))}))})),$P(t)}function eD(e){for(var t,n=[],r=[0];r[0]>>0>0),n.push(i)}return n}function tD(e){var t=[];return e.forEach((function(e){var n=[];n[1]=[{data:KP(e.id),type:0}],n[2]=[],null!=e.merge&&(n[3]=[{data:KP(+!!e.merge),type:0}]);var r=[];e.messages.forEach((function(e){r.push(e.data),e.meta[3]=[{type:0,data:KP(e.data.length)}],n[2].push({data:ZP(e.meta),type:2})}));var a=ZP(n);t.push(KP(a.length)),t.push(a),r.forEach((function(e){return t.push(e)}))})),$P(t)}function nD(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],r=qP(t,n),a=[];n[0]>2&7),i=(224&t[n[0]++])<<3,i|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(i=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(i=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),a=[$P(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(s>=i)for(a.push(a[0].slice(-i)),s-=i;s>=a[a.length-1].length;)a.push(a[a.length-1]),s-=a[a.length-1].length;a.push(a[0].slice(-i,-i+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}a.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=$P(a);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function rD(e){for(var t=[],n=0;n>8&255]))):r<=16777216?(i+=4,t.push(new Uint8Array([248,r-1&255,r-1>>8&255,r-1>>16&255]))):r<=4294967296&&(i+=5,t.push(new Uint8Array([252,r-1&255,r-1>>8&255,r-1>>16&255,r-1>>>24&255]))),t.push(e.slice(n,n+r)),i+=r,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,n+=r}return $P(t)}function oD(e,t){var n=new Uint8Array(32),r=GP(n),a=12,o=0;switch(n[0]=5,e.t){case"n":n[1]=2,function(e,t,n){var r=Math.floor(0==n?0:Math.LOG10E*Math.log(Math.abs(n)))+6176-20,a=n/Math.pow(10,r-6176);e[t+15]|=r>>7,e[t+14]|=(127&r)<<1;for(var o=0;a>=1;++o,a/=256)e[t+o]=255&a;e[t+15]|=n>=0?0:128}(n,a,e.v),o|=1,a+=16;break;case"b":n[1]=6,r.setFloat64(a,e.v?1:0,!0),o|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[1]=3,r.setUint32(a,t.indexOf(e.v),!0),o|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(8,o,!0),n.slice(0,a)}function iD(e,t){var n=new Uint8Array(32),r=GP(n),a=12,o=0;switch(n[0]=3,e.t){case"n":n[2]=2,r.setFloat64(a,e.v,!0),o|=32,a+=8;break;case"b":n[2]=6,r.setFloat64(a,e.v?1:0,!0),o|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[2]=3,r.setUint32(a,t.indexOf(e.v),!0),o|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(4,o,!0),n.slice(0,a)}function sD(e){return qP(JP(e)[1][0].data)}function lD(e,t,n){var r,a,o,i;if(!(null==(r=e[6])?void 0:r[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(i=null==(o=e[8])?void 0:o[0])?void 0:i.data)&&QP(e[8][0].data)>0)throw"Math only works with normal offsets";for(var s=0,l=GP(e[7][0].data),c=0,u=[],f=GP(e[4][0].data),d=0,p=[],h=0;h1&&console.error("The Numbers writer currently writes only the first table");var r=tO(n["!ref"]);r.s.r=r.s.c=0;var a=!1;r.e.c>9&&(a=!0,r.e.c=9),r.e.r>49&&(a=!0,r.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(nO(r)));var o=gD(n,{range:r,header:1}),i=["~Sh33tJ5~"];o.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var s={},l=[],c=pI.read(t.numbers,{type:"base64"});c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0],n=e[1];2==t.type&&t.name.match(/\.iwa/)&&eD(rD(t.content)).forEach((function(e){l.push(e.id),s[e.id]={deps:[],location:n,type:QP(e.messages[0].meta[1][0].data)}}))})),l.sort((function(e,t){return e-t}));var u=l.filter((function(e){return e>1})).map((function(e){return[e,KP(e)]}));c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&eD(rD(t.content)).forEach((function(e){e.messages.forEach((function(t){u.forEach((function(t){e.messages.some((function(e){return 11006!=QP(e.meta[1][0].data)&&function(e,t){e:for(var n=0;n<=e.length-t.length;++n){for(var r=0;r-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};cD(t=t||{});var o=zI(),i="",s=0;if(t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),FI(o,i="docProps/core.xml",KO(e.Props,t)),a.coreprops.push(i),YO(t.rels,2,i,HO.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c0&&(FI(o,i="docProps/custom.xml",eR(e.Custprops)),a.custprops.push(i),YO(t.rels,4,i,HO.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];if((f||{})["!type"],FI(o,i="xl/worksheets/sheet"+s+"."+n,bP(s-1,i,t,e,u)),a.sheets.push(i),YO(t.wbrels,-1,"worksheets/sheet"+s+"."+n,HO.WS[0]),f){var d=f["!comments"],p=!1,h="";d&&d.length>0&&(FI(o,h="xl/comments"+s+"."+n,xP(d,h,t)),a.comments.push(h),YO(u,-1,"../comments"+s+"."+n,HO.CMNT),p=!0),f["!legacy"]&&p&&FI(o,"xl/drawings/vmlDrawing"+s+".vml",sL(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&FI(o,WO(i),VO(u))}return null!=t.Strings&&t.Strings.length>0&&(FI(o,i="xl/sharedStrings."+n,function(e,t,n){return(".bin"===t.slice(-4)?DR:LR)(e,n)}(t.Strings,i,t)),a.strs.push(i),YO(t.wbrels,-1,"sharedStrings."+n,HO.SST)),FI(o,i="xl/workbook."+n,function(e,t,n){return(".bin"===t.slice(-4)?wP:yP)(e,n)}(e,i,t)),a.workbooks.push(i),YO(t.rels,1,i,HO.WB),FI(o,i="xl/theme/theme1.xml",rL(e.Themes,t)),a.themes.push(i),YO(t.wbrels,-1,"theme/theme1.xml",HO.THEME),FI(o,i="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?nL:XR)(e,n)}(e,i,t)),a.styles.push(i),YO(t.wbrels,-1,"styles."+n,HO.STY),e.vbaraw&&r&&(FI(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),YO(t.wbrels,-1,"vbaProject.bin",HO.VBA)),FI(o,i="xl/metadata."+n,(".bin"===i.slice(-4)?aL:oL)()),a.metadata.push(i),YO(t.wbrels,-1,"metadata."+n,HO.XLMETA),FI(o,"[Content_Types].xml",UO(a,t)),FI(o,"_rels/.rels",VO(t.rels)),FI(o,"xl/_rels/workbook."+n+".rels",VO(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t):function(e,t){iL=1024,e&&!e.SSF&&(e.SSF=RI(OA)),e&&e.SSF&&(uI(),cI(e.SSF),t.revssf=bI(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,QL?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xml",r=dL.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};cD(t=t||{});var o=zI(),i="",s=0;if(t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),FI(o,i="docProps/core.xml",KO(e.Props,t)),a.coreprops.push(i),YO(t.rels,2,i,HO.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c0&&(FI(o,i="docProps/custom.xml",eR(e.Custprops)),a.custprops.push(i),YO(t.rels,4,i,HO.CUST_PROPS));var u=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},d=e.Sheets[e.SheetNames[s-1]];if((d||{})["!type"],FI(o,i="xl/worksheets/sheet"+s+"."+n,iP(s-1,t,e,f)),a.sheets.push(i),YO(t.wbrels,-1,"worksheets/sheet"+s+"."+n,HO.WS[0]),d){var p=d["!comments"],h=!1,m="";if(p&&p.length>0){var g=!1;p.forEach((function(e){e[1].forEach((function(e){1==e.T&&(g=!0)}))})),g&&(FI(o,m="xl/threadedComments/threadedComment"+s+"."+n,cL(p,u,t)),a.threadedcomments.push(m),YO(f,-1,"../threadedComments/threadedComment"+s+"."+n,HO.TCMNT)),FI(o,m="xl/comments"+s+"."+n,lL(p)),a.comments.push(m),YO(f,-1,"../comments"+s+"."+n,HO.CMNT),h=!0}d["!legacy"]&&h&&FI(o,"xl/drawings/vmlDrawing"+s+".vml",sL(s,d["!comments"])),delete d["!comments"],delete d["!legacy"]}f["!id"].rId1&&FI(o,WO(i),VO(f))}return null!=t.Strings&&t.Strings.length>0&&(FI(o,i="xl/sharedStrings."+n,LR(t.Strings,t)),a.strs.push(i),YO(t.wbrels,-1,"sharedStrings."+n,HO.SST)),FI(o,i="xl/workbook."+n,yP(e)),a.workbooks.push(i),YO(t.rels,1,i,HO.WB),FI(o,i="xl/theme/theme1.xml",rL(e.Themes,t)),a.themes.push(i),YO(t.wbrels,-1,"theme/theme1.xml",HO.THEME),FI(o,i="xl/styles."+n,XR(e,t)),a.styles.push(i),YO(t.wbrels,-1,"styles."+n,HO.STY),e.vbaraw&&r&&(FI(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),YO(t.wbrels,-1,"vbaProject.bin",HO.VBA)),FI(o,i="xl/metadata."+n,oL()),a.metadata.push(i),YO(t.wbrels,-1,"metadata."+n,HO.XLMETA),u.length>1&&(FI(o,i="xl/persons/person.xml",function(e){var t=[jI,nN("personList",null,{xmlns:aN.TCMNT,"xmlns:x":oN[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,n){t.push(nN("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push(""),t.join("")}(u)),a.people.push(i),YO(t.wbrels,-1,"persons/person.xml",HO.PEOPLE)),FI(o,"[Content_Types].xml",UO(a,t)),FI(o,"_rels/.rels",VO(t.rels)),FI(o,"xl/_rels/workbook.xml.rels",VO(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t)}function fD(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return gI(t.file,pI.write(e,{type:dA?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return pI.write(e,t)}function dD(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return uA(QI(r));case"binary":return QI(r);case"string":return e;case"file":return gI(t.file,r,"utf8");case"buffer":return dA?pA(r,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(r):dD(r,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function pD(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r22)throw new Error("Bad Code Name: Worksheet"+i)}}))}(e.SheetNames,t,!!e.vbaraw);for(var n=0;n-1||JO.indexOf(o[i][0])>-1||null!=o[i][1]&&c.push(o[i]);a.length&&pI.utils.cfb_add(t,"/SummaryInformation",iR(a,TP.SI,l,DO)),(r.length||c.length)&&pI.utils.cfb_add(t,"/DocumentSummaryInformation",iR(r,TP.DSI,s,PO,c.length?c:null,TP.UDI))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(n,r){if(0!=r){var a=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&pI.utils.cfb_add(e,a,t.FileIndex[r].content)}}))}(r,pI.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}(e,n),n)}(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(e,t){var n=RI(t||{});return function(e,t){var n={},r=dA?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(t.compression&&(n.compression="DEFLATE"),t.password)n.type=r;else switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":n.type=r;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?pI.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[n.type]||n.type,compression:!!t.compression}):e.generate(n);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(vA(a))}return t.password&&"undefined"!=typeof encrypt_agile?fD(encrypt_agile(a,t.password),t):"file"===t.type?gI(t.file,a):"string"==t.type?KI(a):a}(uD(e,n),n)}(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function mD(e,t,n,r,a,o,i,s){var l=KN(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,d=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(e){d.__rowNum__=n}else d.__rowNum__=n;if(!i||e[n])for(var p=t.s.c;p<=t.e.c;++p){var h=i?e[n][p]:e[r[p]+l];if(void 0!==h&&void 0!==h.t){var m=h.v;switch(h.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+h.t)}if(null!=o[p]){if(null==m)if("e"==h.t&&null===m)d[o[p]]=null;else if(void 0!==c)d[o[p]]=c;else{if(!u||null!==m)continue;d[o[p]]=null}else d[o[p]]=u&&("n"!==h.t||"n"===h.t&&!1!==s.rawNumbers)?m:aO(h,m,s);null!=m&&(f=!1)}}else{if(void 0===c)continue;null!=o[p]&&(d[o[p]]=c)}}return{row:d,isempty:f}}function gD(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,a=1,o=[],i=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=rO(u);break;case"number":(l=rO(e["!ref"])).s.r=u;break;default:l=u}r>0&&(a=0);var f=KN(l.s.r),d=[],p=[],h=0,m=0,g=Array.isArray(e),v=l.s.r,y=0,w={};g&&!e[v]&&(e[v]=[]);var b=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(y=l.s.c;y<=l.e.c;++y)if(!(b[y]||{}).hidden)switch(d[y]=JN(y),n=g?e[v][y]:e[d[y]+f],r){case 1:o[y]=y-l.s.c;break;case 2:o[y]=d[y];break;case 3:o[y]=c.header[y-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=i=aO(n,null,c),m=w[i]||0){do{s=i+"_"+m++}while(w[s]);w[i]=m,w[s]=1}else w[i]=1;o[y]=s}for(v=l.s.r+a;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var _=mD(e,l,v,d,r,o,g,c);(!1===_.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(p[h++]=_.row)}return p.length=h,p}var vD=/"/g;function yD(e,t,n,r,a,o,i,s){for(var l=!0,c=[],u="",f=KN(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var p=s.dense?(e[n]||[])[d]:e[r[d]+f];if(null==p)u="";else if(null!=p.v){l=!1,u=""+(s.rawNumbers&&"n"==p.t?p.v:aO(p,null,s));for(var h=0,m=0;h!==u.length;++h)if((m=u.charCodeAt(h))===a||m===o||34===m||s.forceQuotes){u='"'+u.replace(vD,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==p.f||p.F?u="":(l=!1,(u="="+p.f).indexOf(",")>=0&&(u='"'+u.replace(vD,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(i)}function wD(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=rO(e["!ref"]),o=void 0!==r.FS?r.FS:",",i=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],p=r.skipHidden&&e["!rows"]||[],h=a.s.c;h<=a.e.c;++h)(d[h]||{}).hidden||(f[h]=JN(h));for(var m=0,g=a.s.r;g<=a.e.r;++g)(p[g]||{}).hidden||null!=(u=yD(e,a,g,f,i,l,o,r))&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u));return delete r.dense,n.join("")}function bD(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=wD(e,t);if(void 0===oA||"string"==t.type)return n;var r=oA.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function xD(e,t,n){var r,a=n||{},o=+!a.skipHeader,i=e||{},s=0,l=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var c="string"==typeof a.origin?ZN(a.origin):a.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(i["!ref"]){var f=rO(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var d=a.header||[],p=0;t.forEach((function(e,t){vI(e).forEach((function(n){-1==(p=d.indexOf(n))&&(d[p=d.length]=n);var c=e[n],u="z",f="",h=eO({c:l+p,r:s+t+o});r=_D(i,h),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",a.cellDates||(u="n",c=_I(c)),f=a.dateNF||OA[14]):null===c&&a.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,f&&(r.z=f)):i[h]=r={t:u,v:c},f&&(r.z=f)):i[h]=c}))})),u.e.c=Math.max(u.e.c,l+d.length-1);var h=KN(s);if(o)for(p=0;p=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);a=o&&+o[2]||0;var i=o&&o[1]||n;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(n=i+a);++a);}if(vP(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n},book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:SD,cell_set_internal_link:function(e,t,n){return SD(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,r){for(var a="string"!=typeof t?t:rO(t),o="string"==typeof t?t:nO(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var l=_D(e,i,s);l.t="n",l.F=o,delete l.v,i==a.s.r&&s==a.s.c&&(l.f=n,r&&(l.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};JT.version;var kD=function(e,t){var n=ED.book_new(),r=ED.json_to_sheet(e);ED.book_append_sheet(n,r,"Sheet1");var a=hD(n,{bookType:"xlsx",type:"array"}),o=new Blob([a],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});(0,QT.saveAs)(o,t||"table.xlsx")};function CD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return TD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TD(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function TD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?e.createElement(LD,{icon:YT.t5}):e.createElement(PD,{icon:YT.t5}):e.createElement(DD,{icon:YT.t5}),"数据库")),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入服务端根地址",id:"input_text",onChange:xe,onKeyPress:Ce,invalid:Z,text:h,setText:m,iconOnClick:function(){m&&m("")},data_tooltip_id:"url_tooltip",data_tooltip_content:"e.g. https://api.qiuyedx.com:8085",data_tooltip_variant:"info"})),e.createElement(MD,{id:"url_tooltip",offset:20,openOnClick:!0,place:"top",hidden:!!h}),e.createElement(FD,null,e.createElement(zD,{disabled:I,h:"36px",w:"140px",onClick:function(e){if(!h)return ee(!0),void Bg("请输入服务端根地址 !","init_error");if(!h.match(/https?:\/\/[^\s/$.?#]*[^\s/$.$].[^\s]*/gi))return ee(!0),void Bg("请输入有效的URL !","init_error_2");var t=h;"/"===t[t.length-1]&&t.slice(0,-1),d(t),N(!0);var n=t+"/initialTable";Up.post(n,{params:{}}).then((function(e){"0"!==e.data.code?(Ug("数据库初始化成功 !","init_success"),Ie(),Ne(),$p.awaitCountAPI("PUT","selenium").then((function(e){c(e.data[0].count)})).catch((function(e){return console.warn("Failed to put selenium count")}))):Bg("服务器内部错误,请练习管理员 !","insert_backend_error")})).catch((function(e){console.error("Error: ",e),Bg("数据库初始化失败,请重试 !","init_error")})).finally((function(){N(!1)}))},ref:r},I?e.createElement(e.Fragment,null,"执行中",e.createElement(jD,{icon:VT.gr,spin:!0})):e.createElement(e.Fragment,null,"初始化",e.createElement(BD,{icon:VT.gr,fade:!0}))),e.createElement(UD,{disabled:U,h:"36px",w:"140px",onClick:function(){if(!h)return ee(!0),void Bg("请输入服务端根地址 !","init_error");if(!h.match(/https?:\/\/[^\s/$.?#]*[^\s/$.$].[^\s]*/gi))return ee(!0),void Bg("请输入有效的URL !","init_error_2");var e=h;"/"===e[e.length-1]&&(e=e.slice(0,-1)),d(e),H(!0);var t=e+"/queryInstruction";Up.get(t,{}).then((function(e){if("0"!==e.data.code){if("1"===e.data.code)return ge([]),Bg("数据库为空,请先插入语句 !","query_empty"),void $(!0);ge(e.data.data),$(!0),Ug("查询指令序列成功 !","query_success")}else Bg("数据库内部错误,请练习管理员 !","query_backend_error")})).catch((function(e){console.error("Error: ",e),ee(!0),Bg("查询指令序列失败,请重试 !","query_error")})).finally((function(){H(!1)}));var n=e+"/queryLog";Up.get(n,{}).then((function(e){if("0"!==e.data.code){if("1"===e.data.code)return we([]),Bg("日志为空,请先执行测试 !","query2_empty"),void Q(!0);we(e.data.data),Q(!0),Ug("查询日志成功 !","query2_success")}else Bg("数据库内部错误,请练习管理员 !","query2_backend_error")})).catch((function(e){console.error("Error: ",e),Bg("查询日志失败,请重试 !","query2_error")}))},ref:i},U?e.createElement(e.Fragment,null,"查询中",e.createElement(HD,{icon:Sn.Y$,bounce:!0})):e.createElement(e.Fragment,null,"查询状态",e.createElement(WD,{icon:Sn.Y$,fade:!0}))))),e.createElement(qT,null,e.createElement(KT,null,e.createElement(VD,null,"批量插入指令")),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入selenium指令",id:"input_text2",onChange:_e,onKeyPress:Te,invalid:ne,text:v,setText:y,iconOnClick:function(){y&&y("")},data_tooltip_id:"input2_tooltip",data_tooltip_content:"指令间用井号加空格分隔 e.g. jump http://39.99.243.8:8688/# wait /html/body/div/form/div[4]/button# input /html/body/div/form/div[1]/input tea",data_tooltip_variant:"info"})),e.createElement(YD,{id:"input2_tooltip",offset:20,openOnClick:!0,place:"top",hidden:!!h}),e.createElement(GD,null,e.createElement(XD,{disabled:R,h:"36px",w:"140px",onClick:function(e){if(!v)return re(!0),void Bg("请输入测试语句 !","insert_input_error");L(!0);var t=f+"/insertInstruction";Up.post(t,v).then((function(e){"0"!==e.data.code?(Ug("插入测试语句成功 !","insert_success"),Ie()):Bg("服务器内部错误,请练习管理员 !","insert_backend_error")})).catch((function(e){console.error("Error generating QR code:",e),Bg("插入测试语句失败,请重试 !","insert_error")})).finally((function(){L(!1)}))},ref:a},R?e.createElement(e.Fragment,null,"执行中",e.createElement($D,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"插入指令",e.createElement(qD,{icon:WT.EQ,fade:!0}))))),e.createElement(qT,null,e.createElement(KT,null,e.createElement(KD,null,"编写单条指令")),e.createElement(KT,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择指令类型",id:"input_text5",onChange:ke,onKeyPress:Ae,invalid:fe,text:C,setText:T,iconOnClick:function(){T&&T("")},selectList:["jump","wait","click","input"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入full xPath元素定位路径",id:"input_text3",onChange:Se,onKeyPress:Ae,invalid:oe,text:b,setText:x,iconOnClick:function(){x&&x("")}})),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入参数(可选)",id:"input_text4",onChange:Ee,onKeyPress:Ae,invalid:le,text:S,setText:E,iconOnClick:function(){E&&E("")}})),e.createElement(QD,null,e.createElement(JD,{disabled:z,h:"36px",w:"140px",onClick:function(e){if(!C)return de(!0),void Bg("请选择指令类型 !","insert_input4_error");if(!b)return ie(!0),void Bg("请输入xPath元素定位路径 !","insert_input3_error");j(!0);var t=f+"/insertInstruction",n="".concat(C," ").concat(b," ").concat(S).trim();Up.post(t,n).then((function(e){"0"!==e.data.code?(Ug("插入指令成功 !","insert2_success"),Ie()):Bg("服务器内部错误,请练习管理员 !","insert2_backend_error")})).catch((function(e){console.error("Error:",e),Bg("插入指令失败,请重试 !","insert2_error"),de(!0),ie(!0)})).finally((function(){j(!1)}))},ref:o},z?e.createElement(e.Fragment,null,"执行中",e.createElement(ZD,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"插入指令",e.createElement(eM,{icon:WT.EQ,fade:!0})))))),e.createElement(tM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"开始测试")),e.createElement(KT,{tw:""},e.createElement(nM,{disabled:D||!X||!he||he&&0===he.length,h:"36px",w:"140px",onClick:function(){M(!0),Up.post(f+"/executeTest",{}).then((function(e){"0"!==e.data.code?(Ug("测试完毕 !","test_success"),Ne(),setTimeout((function(){s.current.scrollIntoView({behavior:"smooth"})}),100)):Bg("数据库内部错误,请练习管理员 !","query_backend_error")})).finally((function(){M(!1)}))}},D?e.createElement(e.Fragment,null,"测试中",e.createElement(rM,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"开始测试",e.createElement(aM,{icon:HT.zc,fade:!0}))))),X?e.createElement(e.Fragment,null,e.createElement(oM,null),e.createElement(tx,{title:"指令序列",data:he||[],headers:["ID","Type","Element","Param"]}),e.createElement(iM,null),e.createElement(sM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"复制指令")),e.createElement(KT,{tw:""},e.createElement(lM,{disabled:null===he||he&&0===he.length,h:"36px",w:"140px",onClick:function(){var e=he.reduce((function(e,t,n){return n>0&&(e+="# "),e+t.reduce((function(e,t,n){return n>0&&t&&""!==t&&(n>1&&(e+=" "),e+=t),e}),"")}),"");t.copy(e),Ug("指令序列Copied !","copy_success")}},"复制指令",e.createElement(cM,{icon:d_.kZ,fade:!0}))))):"",K?e.createElement(e.Fragment,null,e.createElement(uM,{ref:s}),e.createElement(tx,{title:"测试日志",data:ye||[],headers:be}),e.createElement(fM,null),e.createElement(dM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"导出日志")),e.createElement(KT,{tw:""},e.createElement(pM,{disabled:V||null===ye||ye&&0===ye.length,h:"36px",w:"140px",onClick:function(){var e,t,n,r,a,o,i,s=ye.reduce((function(e,t,n){return e[n]=be.reduce((function(e,n,r){return e[n]=t[r],e}),{}),e}),[]);kD(s,"log_"+(t=(e=new Date).getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0"),"".concat(t,"-").concat(n,"-").concat(r,"-").concat(a,"h").concat(o,"m").concat(i,"s"))),Ug("导出成功 !","export_success")}},V?e.createElement(e.Fragment,null,"导出中",e.createElement(hM,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"下载数据",e.createElement(mM,{icon:UT.c,fade:!0})))))):""))}var ID=bn("div").withConfig({displayName:"SeleniumPage___StyledDiv",componentId:"sc-1kd70ub-0"})({gridColumn:"span 4 / span 4"}),ND=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon",componentId:"sc-1kd70ub-1"})({position:"relative",top:"-1px",verticalAlign:"middle","@media (min-width: 768px)":{paddingRight:"1rem"}}),OD=bn("div").withConfig({displayName:"SeleniumPage___StyledDiv2",componentId:"sc-1kd70ub-2"})({display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",columnGap:"1.25rem"}),RD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle",componentId:"sc-1kd70ub-3"})({marginBottom:"0.5rem"}),LD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon2",componentId:"sc-1kd70ub-4"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(74 222 128 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),PD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon3",componentId:"sc-1kd70ub-5"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(251 146 60 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),DD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon4",componentId:"sc-1kd70ub-6"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(248 113 113 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),MD=bn(ex).withConfig({displayName:"SeleniumPage___StyledTooltip",componentId:"sc-1kd70ub-7"})({position:"absolute",zIndex:"200",maxWidth:"20rem",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","@media (min-width: 768px)":{maxWidth:"32rem"}}),FD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper",componentId:"sc-1kd70ub-8"})({marginTop:"0.5rem"}),zD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton",componentId:"sc-1kd70ub-9"})({borderRadius:"9999px"}),jD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon5",componentId:"sc-1kd70ub-10"})({marginLeft:"0.25rem"}),BD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon6",componentId:"sc-1kd70ub-11"})({marginLeft:"0.25rem"}),UD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton2",componentId:"sc-1kd70ub-12"})({borderRadius:"9999px"}),HD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon7",componentId:"sc-1kd70ub-13"})({marginLeft:"0.25rem"}),WD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon8",componentId:"sc-1kd70ub-14"})({marginLeft:"0.25rem"}),VD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle2",componentId:"sc-1kd70ub-15"})({marginBottom:"0.5rem"}),YD=bn(ex).withConfig({displayName:"SeleniumPage___StyledTooltip2",componentId:"sc-1kd70ub-16"})({position:"absolute",zIndex:"200",maxWidth:"20rem",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","@media (min-width: 768px)":{maxWidth:"32rem"}}),GD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper2",componentId:"sc-1kd70ub-17"})({marginTop:"0.5rem"}),XD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton3",componentId:"sc-1kd70ub-18"})({borderRadius:"9999px"}),$D=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon9",componentId:"sc-1kd70ub-19"})({marginLeft:"0.25rem"}),qD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon10",componentId:"sc-1kd70ub-20"})({marginLeft:"0.25rem"}),KD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle3",componentId:"sc-1kd70ub-21"})({marginBottom:"0.5rem"}),QD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper3",componentId:"sc-1kd70ub-22"})({marginTop:"0.5rem"}),JD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton4",componentId:"sc-1kd70ub-23"})({borderRadius:"9999px"}),ZD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon11",componentId:"sc-1kd70ub-24"})({marginLeft:"0.25rem"}),eM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon12",componentId:"sc-1kd70ub-25"})({marginLeft:"0.25rem"}),tM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper",componentId:"sc-1kd70ub-26"})({height:"8rem",minHeight:"0px"}),nM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton5",componentId:"sc-1kd70ub-27"})({borderRadius:"9999px"}),rM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon13",componentId:"sc-1kd70ub-28"})({marginLeft:"0.25rem"}),aM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon14",componentId:"sc-1kd70ub-29"})({marginLeft:"0.25rem"}),oM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap",componentId:"sc-1kd70ub-30"})({visibility:"hidden"}),iM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap2",componentId:"sc-1kd70ub-31"})({visibility:"hidden"}),sM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper2",componentId:"sc-1kd70ub-32"})({height:"8rem",minHeight:"0px"}),lM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton6",componentId:"sc-1kd70ub-33"})({borderRadius:"9999px"}),cM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon15",componentId:"sc-1kd70ub-34"})({marginLeft:"0.25rem"}),uM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap3",componentId:"sc-1kd70ub-35"})({visibility:"hidden"}),fM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap4",componentId:"sc-1kd70ub-36"})({visibility:"hidden"}),dM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper3",componentId:"sc-1kd70ub-37"})({height:"8rem",minHeight:"0px"}),pM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton7",componentId:"sc-1kd70ub-38"})({borderRadius:"9999px"}),hM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon16",componentId:"sc-1kd70ub-39"})({marginLeft:"0.25rem"}),mM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon17",componentId:"sc-1kd70ub-40"})({marginLeft:"0.25rem"});function gM(){var t,n=he(),r=ge(),a={QRPage:e.createElement($x,null),bilibili:e.createElement(vC,null),tiktok:e.createElement(nT,null),Selenium:e.createElement(AD,null)};return e.createElement(Pn,null,(t=r.toolId,a[t]||"/tools"===n.pathname?e.createElement(wf,null):""),e.createElement(Nn,null,e.createElement(Rn,null),function(t){return a[t]||Bg("未找到该工具!","error_notFindToolPage"),e.createElement(On,null,a[t]?a[t]:e.createElement(Cw,null))}(r.toolId),e.createElement(Ln,null)),e.createElement(rh,null))}var vM=i(8055),yM=i(4797),wM=i(3461),bM=i(7992),xM=i(7749),_M=i(6065),SM=i(6686),EM=i(7319),kM=i(1303),CM=i(959),TM=i(8512),AM=i(426),IM=i(7080),NM=i(4495),OM=i(1775),RM=i(5061),LM=i(1746),PM=i(7780),DM=(bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-1xtz35u-0"})(["margin:0 auto 0 auto;max-width:1000px;display:flex;flex-direction:column;padding:0 5px 0 5px;",";"],{marginTop:"0.5rem","@media (min-width: 768px)":{marginTop:"0px"}}),bn.div.withConfig({displayName:"Styledtwin__ButtonWrapper",componentId:"sc-1xtz35u-1"})([""]),bn.div.withConfig({displayName:"Styledtwin__HeaderWrapper",componentId:"sc-1xtz35u-2"})(["display:flex;flex-direction:row;justify-content:space-between;"]),bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-1xtz35u-3"})(["margin:20px 0 0 0;padding:20px 12px;position:relative;background-color:white;text-align:center;gap:10px;&::-webkit-scrollbar{display:none;}"]));function MM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return FM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?FM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function FM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]);var jM=bn(DM).withConfig({displayName:"CompDisplay___StyledContentWrapper",componentId:"sc-pr3ism-0"})({gridColumn:"span 4 / span 4",height:"fit-content",overflow:"hidden"}),BM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv",componentId:"sc-pr3ism-1"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),UM=bn(If).withConfig({displayName:"CompDisplay___StyledGap",componentId:"sc-pr3ism-2"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),HM=bn(If).withConfig({displayName:"CompDisplay___StyledGap2",componentId:"sc-pr3ism-3"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),WM=bn(If).withConfig({displayName:"CompDisplay___StyledGap3",componentId:"sc-pr3ism-4"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),VM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv2",componentId:"sc-pr3ism-5"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),YM=bn(If).withConfig({displayName:"CompDisplay___StyledGap4",componentId:"sc-pr3ism-6"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),GM=bn(If).withConfig({displayName:"CompDisplay___StyledGap5",componentId:"sc-pr3ism-7"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),XM=bn(If).withConfig({displayName:"CompDisplay___StyledGap6",componentId:"sc-pr3ism-8"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),$M=bn("div").withConfig({displayName:"CompDisplay___StyledDiv3",componentId:"sc-pr3ism-9"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),qM=bn(If).withConfig({displayName:"CompDisplay___StyledGap7",componentId:"sc-pr3ism-10"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),KM=bn(If).withConfig({displayName:"CompDisplay___StyledGap8",componentId:"sc-pr3ism-11"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),QM=bn(If).withConfig({displayName:"CompDisplay___StyledGap9",componentId:"sc-pr3ism-12"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),JM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv4",componentId:"sc-pr3ism-13"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),ZM=bn(If).withConfig({displayName:"CompDisplay___StyledGap10",componentId:"sc-pr3ism-14"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),eF=bn(If).withConfig({displayName:"CompDisplay___StyledGap11",componentId:"sc-pr3ism-15"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),tF=bn(If).withConfig({displayName:"CompDisplay___StyledGap12",componentId:"sc-pr3ism-16"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),nF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv5",componentId:"sc-pr3ism-17"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),rF=bn(If).withConfig({displayName:"CompDisplay___StyledGap13",componentId:"sc-pr3ism-18"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),aF=bn(If).withConfig({displayName:"CompDisplay___StyledGap14",componentId:"sc-pr3ism-19"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),oF=bn(If).withConfig({displayName:"CompDisplay___StyledGap15",componentId:"sc-pr3ism-20"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),iF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv6",componentId:"sc-pr3ism-21"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),sF=bn(If).withConfig({displayName:"CompDisplay___StyledGap16",componentId:"sc-pr3ism-22"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),lF=bn(If).withConfig({displayName:"CompDisplay___StyledGap17",componentId:"sc-pr3ism-23"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),cF=bn(If).withConfig({displayName:"CompDisplay___StyledGap18",componentId:"sc-pr3ism-24"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),uF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv7",componentId:"sc-pr3ism-25"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),fF=bn(If).withConfig({displayName:"CompDisplay___StyledGap19",componentId:"sc-pr3ism-26"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),dF=bn(If).withConfig({displayName:"CompDisplay___StyledGap20",componentId:"sc-pr3ism-27"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),pF=bn(If).withConfig({displayName:"CompDisplay___StyledGap21",componentId:"sc-pr3ism-28"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),hF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv8",componentId:"sc-pr3ism-29"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),mF=bn(If).withConfig({displayName:"CompDisplay___StyledGap22",componentId:"sc-pr3ism-30"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),gF=bn(If).withConfig({displayName:"CompDisplay___StyledGap23",componentId:"sc-pr3ism-31"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),vF=bn(If).withConfig({displayName:"CompDisplay___StyledGap24",componentId:"sc-pr3ism-32"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),yF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv9",componentId:"sc-pr3ism-33"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),wF=bn(If).withConfig({displayName:"CompDisplay___StyledGap25",componentId:"sc-pr3ism-34"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),bF=bn(If).withConfig({displayName:"CompDisplay___StyledGap26",componentId:"sc-pr3ism-35"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),xF=bn(If).withConfig({displayName:"CompDisplay___StyledGap27",componentId:"sc-pr3ism-36"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),_F=bn("div").withConfig({displayName:"CompDisplay___StyledDiv10",componentId:"sc-pr3ism-37"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),SF=bn(If).withConfig({displayName:"CompDisplay___StyledGap28",componentId:"sc-pr3ism-38"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),EF=bn(If).withConfig({displayName:"CompDisplay___StyledGap29",componentId:"sc-pr3ism-39"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),kF=bn(If).withConfig({displayName:"CompDisplay___StyledGap30",componentId:"sc-pr3ism-40"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),CF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv11",componentId:"sc-pr3ism-41"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),TF=bn(If).withConfig({displayName:"CompDisplay___StyledGap31",componentId:"sc-pr3ism-42"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),AF=bn(If).withConfig({displayName:"CompDisplay___StyledGap32",componentId:"sc-pr3ism-43"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),IF=bn(If).withConfig({displayName:"CompDisplay___StyledGap33",componentId:"sc-pr3ism-44"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),NF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv12",componentId:"sc-pr3ism-45"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),OF=bn(If).withConfig({displayName:"CompDisplay___StyledGap34",componentId:"sc-pr3ism-46"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),RF=bn(If).withConfig({displayName:"CompDisplay___StyledGap35",componentId:"sc-pr3ism-47"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),LF=bn(If).withConfig({displayName:"CompDisplay___StyledGap36",componentId:"sc-pr3ism-48"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),PF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv13",componentId:"sc-pr3ism-49"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),DF=bn(If).withConfig({displayName:"CompDisplay___StyledGap37",componentId:"sc-pr3ism-50"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),MF=bn(If).withConfig({displayName:"CompDisplay___StyledGap38",componentId:"sc-pr3ism-51"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),FF=bn(If).withConfig({displayName:"CompDisplay___StyledGap39",componentId:"sc-pr3ism-52"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),zF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv14",componentId:"sc-pr3ism-53"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),jF=bn(If).withConfig({displayName:"CompDisplay___StyledGap40",componentId:"sc-pr3ism-54"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),BF=bn(If).withConfig({displayName:"CompDisplay___StyledGap41",componentId:"sc-pr3ism-55"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),UF=bn(If).withConfig({displayName:"CompDisplay___StyledGap42",componentId:"sc-pr3ism-56"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),HF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv15",componentId:"sc-pr3ism-57"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),WF=bn(If).withConfig({displayName:"CompDisplay___StyledGap43",componentId:"sc-pr3ism-58"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),VF=bn(If).withConfig({displayName:"CompDisplay___StyledGap44",componentId:"sc-pr3ism-59"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),YF=bn(If).withConfig({displayName:"CompDisplay___StyledGap45",componentId:"sc-pr3ism-60"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),GF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv16",componentId:"sc-pr3ism-61"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),XF=bn(If).withConfig({displayName:"CompDisplay___StyledGap46",componentId:"sc-pr3ism-62"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),$F=bn(If).withConfig({displayName:"CompDisplay___StyledGap47",componentId:"sc-pr3ism-63"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),qF=bn(If).withConfig({displayName:"CompDisplay___StyledGap48",componentId:"sc-pr3ism-64"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),KF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv17",componentId:"sc-pr3ism-65"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),QF=bn(If).withConfig({displayName:"CompDisplay___StyledGap49",componentId:"sc-pr3ism-66"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),JF=bn(If).withConfig({displayName:"CompDisplay___StyledGap50",componentId:"sc-pr3ism-67"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),ZF=bn(If).withConfig({displayName:"CompDisplay___StyledGap51",componentId:"sc-pr3ism-68"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),ez=bn("div").withConfig({displayName:"CompDisplay___StyledDiv18",componentId:"sc-pr3ism-69"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),tz=bn(If).withConfig({displayName:"CompDisplay___StyledGap52",componentId:"sc-pr3ism-70"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),nz=bn(If).withConfig({displayName:"CompDisplay___StyledGap53",componentId:"sc-pr3ism-71"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),rz=bn(If).withConfig({displayName:"CompDisplay___StyledGap54",componentId:"sc-pr3ism-72"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"});function az(){var t,n=he(),r=ge(),a={CompDisplay:e.createElement(zM,null)};return e.createElement(Pn,null,(t=r.resourceId,a[t]||"/resources"===n.pathname?e.createElement(wf,null):""),e.createElement(Nn,null,e.createElement(Rn,null),function(t){return a[t]||Bg("未找到该资源!","error_notFindResourcePage"),e.createElement(On,null,a[t]?a[t]:e.createElement(Cw,null))}(r.resourceId),e.createElement(Ln,null)),e.createElement(rh,null))}var oz,iz,sz=function(){return e.createElement(e.Fragment,null,e.createElement(Iw,{id:"rootWrapper"},e.createElement(Le,null,e.createElement(vv,null),e.createElement(Ce,null,e.createElement(Ee,{path:"/",element:e.createElement(Yh,null)}),e.createElement(Ee,{path:"/tools",element:e.createElement(ay,null)}),e.createElement(Ee,{path:"/tools/:toolId",element:e.createElement(gM,null)}),e.createElement(Ee,{path:"/resources",element:e.createElement(fy,null)}),e.createElement(Ee,{path:"/resources/:resourceId",element:e.createElement(az,null)}),e.createElement(Ee,{path:"/about",element:e.createElement(mw,null)}),e.createElement(Ee,{path:"/dashboard",element:e.createElement(kx,null)}),e.createElement(Ee,{path:"*",element:e.createElement(Cw,null)})))))},lz=wn(oz||(oz=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['*, ::before, ::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: #e5e7eb;\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);\n --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);\n --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);\n --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-sepia: var(--tw-empty,/*!*/ /*!*/);\n --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);\n}\n::before, ::after {\n --tw-content: \'\';\n}\nhtml {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n tab-size: 4;\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\nbody {\n margin: 0;\n line-height: inherit;\n}\nhr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n}\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\nh1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n}\na {\n color: inherit;\n text-decoration: inherit;\n}\nb, strong {\n font-weight: bolder;\n}\ncode, kbd, samp, pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n}\nbutton, input, optgroup, select, textarea {\n font-family: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\nbutton, select {\n text-transform: none;\n}\nbutton, [type=\'button\'], [type=\'reset\'], [type=\'submit\'] {\n -webkit-appearance: button;\n background-color: transparent;\n background-image: none;\n}\n:-moz-focusring {\n outline: auto;\n}\n:-moz-ui-invalid {\n box-shadow: none;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n}\n[type=\'search\'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\nblockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nlegend {\n padding: 0;\n}\nol, ul, menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\ntextarea {\n resize: vertical;\n}\ninput::placeholder, textarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\nbutton, [role="button"] {\n cursor: pointer;\n}\n:disabled {\n cursor: default;\n}\nimg, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n}\nimg, video {\n max-width: 100%;\n height: auto;\n}\n[hidden] {\n display: none;\n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);\n --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);\n --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);\n --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-sepia: var(--tw-empty,/*!*/ /*!*/);\n --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);\n}']))),cz=wn(["html{transition:filter 0.6s ease;}html.night-mode{filter:brightness(0.5);transition:filter 0.41s ease;}body{-webkit-tap-highlight-color:",";background:linear-gradient(-45deg,rgb(235,243,254),rgb(242,238,255),rgb(251,246,247),rgb(235,243,254));","}"],"#bfdbfe",{overscrollBehavior:"none",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),uz=function(){return e.createElement(e.Fragment,null,e.createElement(lz,null),e.createElement(cz,null))};i.p,i.p,i.p,i.p,i.p,i.p,n.createRoot(document.getElementById("root")).render(e.createElement(e.Fragment,null,e.createElement(uz,null),e.createElement(sz,null))),iz&&iz instanceof Function&&i.e(131).then(i.bind(i,2131)).then((function(e){var t=e.getCLS,n=e.getFID,r=e.getFCP,a=e.getLCP,o=e.getTTFB;t(iz),n(iz),r(iz),a(iz),o(iz)}))}()}(); \ No newline at end of file +`,zg=({reverseOrder:t,position:n="top-center",toastOptions:r,gutter:a,children:o,containerStyle:i,containerClassName:s})=>{let{toasts:l,handlers:c}=(t=>{let{toasts:n,pausedAt:r}=((t={})=>{let[n,r]=(0,e.useState)(cg);(0,e.useEffect)((()=>(lg.push(r),()=>{let e=lg.indexOf(r);e>-1&&lg.splice(e,1)})),[n]);let a=n.toasts.map((e=>{var n,r;return{...t,...t[e.type],...e,duration:e.duration||(null==(n=t[e.type])?void 0:n.duration)||(null==t?void 0:t.duration)||fg[e.type],style:{...t.style,...null==(r=t[e.type])?void 0:r.style,...e.style}}}));return{...n,toasts:a}})(t);(0,e.useEffect)((()=>{if(r)return;let e=Date.now(),t=n.map((t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((()=>pg.dismiss(t.id)),n);t.visible&&pg.dismiss(t.id)}));return()=>{t.forEach((e=>e&&clearTimeout(e)))}}),[n,r]);let a=(0,e.useCallback)((()=>{r&&ug({type:6,time:Date.now()})}),[r]),o=(0,e.useCallback)(((e,t)=>{let{reverseOrder:r=!1,gutter:a=8,defaultPosition:o}=t||{},i=n.filter((t=>(t.position||o)===(e.position||o)&&t.height)),s=i.findIndex((t=>t.id===e.id)),l=i.filter(((e,t)=>te.visible)).slice(...r?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+a),0)}),[n]);return{toasts:n,handlers:{updateHeight:mg,startPause:gg,endPause:a,calculateOffset:o}}})(r);return e.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...i},className:s,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((r=>{let i=r.position||n,s=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},a=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:ag()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...a}})(i,c.calculateOffset(r,{reverseOrder:t,gutter:a,defaultPosition:n}));return e.createElement(Mg,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?Fg:"",style:s},"custom"===r.type?ng(r.message,r):o?o(r):e.createElement(Dg,{toast:r,position:i}))})))},jg=pg,Bg=function(t,n){return jg.error((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_error",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"#ed5563",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Ug=function(t,n){return jg.success((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_success",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"rgb(52, 211, 153)",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Hg=function(t,n){return jg.loading((function(n){return e.createElement("span",{tw:"align-bottom animate-fade_in.8"},e.createElement("b",null,t))}),{id:n||"bookmark_loading",duration:4e3,position:"bottom-right",style:{},className:"",iconTheme:{primary:"rgb(96, 165, 250)",secondary:"#fff"},ariaProps:{role:"status","aria-live":"polite"}})},Wg=bn.div.withConfig({displayName:"Styledtwin__Wrap",componentId:"sc-n0oh9w-0"})(["",";"],(function(e){return e.isRotated?"transform: rotate(180deg)":""})),Vg=bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-n0oh9w-1"})(["display:flex;flex-direction:column;gap:3px;transition:all 0.25s ease;",";&.active .line:nth-child(1){transform:rotate(45deg) translate(4px,",");width:21px;}&.active .line:nth-child(2){opacity:0;}&.active .line:nth-child(3){transform:rotate(-45deg) translate(4px,",");width:21px;}",";"],{".group:active &":{opacity:"0.6"},"@media (min-width: 768px)":{":hover":{cursor:"pointer"},".group:hover &":{opacity:"0.6"},".group:active &":{opacity:"0.8"}}},(function(e){return e.isRotated?"4.6px":"4.3px"}),(function(e){return e.isRotated?"-4.6px":"-4.3px"}),(function(e){return e._tw})),Yg=bn.div.withConfig({displayName:"Styledtwin__Line",componentId:"sc-n0oh9w-2"})(["",";width:20px;height:3px;transition:all 0.25s ease;",";"],{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},(function(e){return e.rounded?"border-radius: 9999px":""}));function Gg(t){return e.createElement(Wg,{isRotated:t.isRotated},e.createElement(Vg,{className:t.active?"active":"",isRotated:t.isRotated,_tw:t._tw},e.createElement(Yg,{className:"line",rounded:t.rounded}),e.createElement(Yg,{className:"line",rounded:t.rounded}),e.createElement(Yg,{className:"line",rounded:t.rounded})))}bn.div.withConfig({displayName:"Styledtwin__BaseButton",componentId:"sc-a63f0f-0"})([""," "," height:",";width:",";",""],{borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},(function(e){return e.hasBorder?{borderWidth:"4px","--tw-border-opacity":"1",borderColor:"rgb(244 114 182 / var(--tw-border-opacity))"}:""}),(function(e){return e.h||"40px"}),(function(e){return e.w||"120px"}),(function(e){return e._tw}));var Xg=bn.button.withConfig({displayName:"Styledtwin__MButton",componentId:"sc-a63f0f-1"})(["",";"," height:",";line-height:",";width:",";",";"],{cursor:"default",userSelect:"none",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"},":disabled":{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(156 163 175 / var(--tw-bg-opacity))"},":disabled:hover":{"--tw-scale-x":"1","--tw-scale-y":"1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},"@media (min-width: 768px)":{cursor:"pointer"}},(function(e){return e._tw}),(function(e){return e.h||"32px"}),(function(e){return e.h||"32px"}),(function(e){return e.w||"86px"}),(function(e){return e._tw_user})),$g=bn.div.withConfig({displayName:"Styledtwin__BackButton",componentId:"sc-a63f0f-2"})(["margin:0 0 0 0;height:50px;width:50px;flex-shrink:0;line-height:50px;transition:all 0.2s ease;font-size:20px;",";@media (min-width:","px){&::",'{content:"','";}}'],{"@keyframes fade_in_up":{"0%":{opacity:"0",transform:"translateY(15px)"},"100%":{opacity:"1",transform:"translateY(0)"}},animation:"fade_in_up .4s ease-out forwards",userSelect:"none",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontWeight:"600","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{width:"12rem",cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}},An,(function(e){return e.content_direction||"after"}),(function(e){return e.content||"返 回"})),qg=bn.div.withConfig({displayName:"Styledtwin__PageButton",componentId:"sc-a63f0f-3"})(["margin:0 0 0 0;height:50px;width:50px;flex-shrink:0;line-height:50px;transition:all 0.2s ease;font-size:20px;z-index:10;position:relative;",";",";"],{display:"flex","@keyframes fade_in_up":{"0%":{opacity:"0",transform:"translateY(15px)"},"100%":{opacity:"1",transform:"translateY(0)"}},animation:"fade_in_up .4s ease-out forwards",userSelect:"none",alignItems:"center",justifyContent:"center",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontWeight:"600","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))","--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))","--tw-shadow":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}},(function(e){return e.active?{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(59 130 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"},"@media (min-width: 768px)":{":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(147 197 253 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}}}:""})),Kg=bn(qg).withConfig({displayName:"Styledtwin__UniButton",componentId:"sc-a63f0f-4"})(["animation:none;",";",";"],(function(e){return e.hasShadow?{"--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":active":{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},"@media (min-width: 768px)":{":hover":{"--tw-shadow":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},":active":{"--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}}:{"--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":hover":{"--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}}}),(function(e){return e._tw||""})),Qg=bn.button.withConfig({displayName:"Styledtwin__SwitchWrapper",componentId:"sc-a63f0f-5"})(["width:",";height:",";padding:0 ",";background-color:",";transition:background-color "," ",";",";&:disabled{cursor:not-allowed;opacity:0.6;}&::before{content:'';flex-grow:",";transition:all "," ",";}"],(function(e){var t=e.size;return t?t.wrapperWidth:"3rem"}),(function(e){var t=e.size;return t?t.wrapperHeight:"1.5rem"}),(function(e){var t=e.size;return t?t.px:"0.15rem"}),(function(e){return e.bgColor||"rgb(215, 218, 226)"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"}),{position:"relative",display:"flex",flexShrink:"0",userSelect:"none",alignItems:"center",borderRadius:"9999px","@media (min-width: 768px)":{cursor:"pointer"}},(function(e){return e.isOn?"1":"0"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"})),Jg=bn.div.withConfig({displayName:"Styledtwin__SwitchCircle",componentId:"sc-a63f0f-6"})(["z-index:300;width:",";height:",";justify-content:",";color:",";transition:color "," ",";& .svg-inline--fa{width:85%;height:85%;}& *{max-width:",";}",";"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.isOn?"end":"start"}),(function(e){return e.color||"rgb(215, 218, 226)"}),(function(e){return e.duration||"0.15s"}),(function(e){return e.timingFunction||"ease"}),(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)}),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"9999px","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-shadow":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"}),Zg=bn.div.withConfig({displayName:"Styledtwin__LeftBackgroundIcon",componentId:"sc-a63f0f-7"})(["z-index:200;width:",";height:",";opacity:0.8;color:white;left:",";& .svg-inline--fa{width:85%;height:85%;}",";& > * *{max-width:",";}"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.lx||"2px"}),{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)})),ev=bn.div.withConfig({displayName:"Styledtwin__RightBackgroundIcon",componentId:"sc-a63f0f-8"})(["z-index:200;width:",";height:",";opacity:0.8;color:white;right:",";& .svg-inline--fa{width:85%;height:85%;}",";& > * *{max-width:",";}"],(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){var t=e.size;return t?t.circleSize:"1.2rem"}),(function(e){return e.rx||"2px"}),{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},(function(e){var t=e.size;return t?Ai(t.circleSize,(function(e,t){return e-t}),2*parseFloat(t.px)):Ai("1.2rem",(function(e,t){return e-t}),.2)})),tv=function(t){var n=t.isOn,r=void 0!==n&&n,a=t.onChange,o=t.hasShadow,i=void 0===o||o,s=t.onContent,l=void 0===s?e.createElement(nv,{icon:Cm.en,spin:!0}):s,c=t.offContent,u=void 0===c?e.createElement(mi,{icon:Tm.DB}):c,f=t.fadeStyle,d=void 0===f?"scale":f,p=t.offset,h=void 0===p?"15px":p,m=t._tw;return(0,e.useRef)(null),(0,e.useRef)(null),e.createElement("div",{tw:""},e.createElement(rv,{_tw:m,onClick:function(){a(!r)},hasShadow:i},e.createElement(od,{isOn:r,fadeStyle:d,offset:h,duration:"0.2s",className:"moon-sun",onContent:l,offContent:u})))},nv=bn(mi).withConfig({displayName:"SwitchButton___StyledFontAwesomeIcon",componentId:"sc-h2o6ru-0"})({"--tw-text-opacity":"1",color:"rgb(251 191 36 / var(--tw-text-opacity))"}),rv=bn(Kg).withConfig({displayName:"SwitchButton___StyledUniButton",componentId:"sc-h2o6ru-1"})({height:"2.5rem",width:"2.5rem",lineHeight:"2.5rem","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))","@media (min-width: 768px)":{":hover":{"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}}}),av=i(2228);function ov(e,t){if(e){if("string"==typeof e)return iv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iv(e,t):void 0}}function iv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;s(r.contentRect.height)}}catch(e){n.e(e)}finally{n.f()}})),t=document.querySelector("#rootWrapper");return t&&e.observe(t),function(){e.disconnect()}}),[a.pathname,i]),e.createElement(lv,{id:"ScrollToTopButton"},e.createElement(qg,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})}},e.createElement(mi,{icon:av.mT})))},lv=bn("div").withConfig({displayName:"ScrollToTopButton___StyledDiv",componentId:"sc-1ducqzc-0"})({position:"fixed",bottom:"7rem",right:"0.75rem",zIndex:"40","@media (min-width: 768px)":{bottom:"3rem",right:"3rem"}});function cv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function hv(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function mv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn&&e>60?yf.to(i.current,{y:"-60px",duration:.8,ease:"power2.out"}):yf.to(i.current,{y:"0",duration:.3,ease:"power2.out"}),n=e},100,t=null,function(){var n=this,r=arguments;null===t&&(t=setTimeout((function(){e.apply(n,r),t=null}),100))});return window.addEventListener("scroll",r),function(){window.removeEventListener("scroll",r)}}),[]),(0,e.useEffect)((function(){var e;if(sessionStorage.getItem("isDark")){var t=JSON.parse(sessionStorage.getItem("isDark"));o(t),d(t)}else(e=(new Date).getHours())>=19||e<7?(o(!0),d(!0),sessionStorage.setItem("isDark",JSON.stringify(!0))):(o(!1),d(!1),sessionStorage.setItem("isDark",JSON.stringify(!1)))}),[d]);var h=(0,e.useRef)(null);return(0,e.useEffect)((function(){f().then((function(e){return console.log(e)})).catch((function(e){return console.warn(e)})),h.current?(h.current.kill(),h.current=yf.timeline({repeat:0}),h.current.set(".gsap_main_fadein",{y:120,opacity:0,duration:0}),h.current.to(".gsap_main_fadein",{y:0,opacity:1,duration:1.2,ease:"power3.out",stagger:.12})):(h.current=yf.timeline({repeat:0}),h.current.set(".gsap_main_fadein",{y:120,opacity:0,duration:0}),h.current.to(".gsap_main_fadein",{y:0,opacity:1,duration:1.2,ease:"power3.out",stagger:.12}))}),[n.pathname]),e.createElement("div",null,e.createElement(sv,null),e.createElement(jm,{isShow:c,onClick:function(){return u(!c)}}),e.createElement(zg,null),e.createElement(Om,{hasShadow:!0,ref:i},e.createElement(Pm,{onClick:function(){u(!1),Bg("暂未完工","not_completed1"),"/"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):(t("/"),window.scroll(0,0))}},e.createElement(yv,null,"秋夜",!s&&e.createElement(wv,{icon:Nm.XC}),"导航")),e.createElement(bv,{onClick:function(){u(!1)}},e.createElement(Lm,{to:"/",onClick:function(){Bg("暂未完工","not_completed2"),"/"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},"主页"),e.createElement(Lm,{to:"/tools",onClick:function(){"/tools"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},"工具"),e.createElement(Lm,{to:"/resources",onClick:function(){Bg("暂未完工","not_completed4"),"/resources"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},"资源"),e.createElement(Lm,{to:"/about",notMobile:!0,onClick:function(){"/about"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},"关于")),e.createElement(xv,null,e.createElement(fv,{size:"large",duration:"300ms",isOn:a,onColor:"blue",offColor:"amber-300",leftBackgroundIcon:e.createElement(mi,{icon:Tm.DB}),rightBackgroundIcon:e.createElement(mi,{icon:Cm.en,spin:!0}),onChange:function(){sessionStorage.setItem("isDark",JSON.stringify(!a)),o(!a),d(!a)}})),e.createElement(_v,{className:"group",onClick:function(){return u(!c)}},e.createElement(Gg,{active:c,rounded:!0,isRotated:!0,_tw:{"--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}))),e.createElement(Fm,{isShown:c,onClick:function(){return u(!c)}},e.createElement(zm,{to:"/about",onlyMobile:!0,onClick:function(){"/about"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},e.createElement("span",null,"About"),e.createElement(Sv,null,e.createElement(Ev,{icon:Im.DB}))),e.createElement(zm,{to:"/dashboard",onlyMobile:!1,onClick:function(){"/dashboard"===n.pathname?window.scrollTo({top:0,behavior:"smooth"}):window.scroll(0,0)}},e.createElement("span",null,"Dashboard"),e.createElement(kv,null,e.createElement(Cv,{icon:Am.Iz}))),e.createElement(zm,{to:"https://github.com/QiuYeDx/NavPage",target:"_blank"},e.createElement("span",null,"Star on Github"),e.createElement(Tv,null,e.createElement(Av,{icon:dh}))),e.createElement(Iv,null,e.createElement(Nv,null),e.createElement(tv,{_tw:{margin:"0.5rem"},isOn:a,onContent:e.createElement(mi,{icon:Tm.DB}),offContent:e.createElement(Ov,{icon:Cm.en,spin:!0}),offset:"20px",fadeStyle:"scale",onChange:function(){o(!a),d(!a)}}))))}var yv=bn(Dm).withConfig({displayName:"NavBar___StyledLogoText",componentId:"sc-1xjes8-0"})({"@keyframes fade_in_up":{"0%":{opacity:"0",transform:"translateY(15px)"},"100%":{opacity:"1",transform:"translateY(0)"}},animation:"fade_in_up .5s ease-out forwards",cursor:"default",userSelect:"none","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))","@media (min-width: 768px)":{cursor:"pointer"}}),wv=bn(mi).withConfig({displayName:"NavBar___StyledFontAwesomeIcon",componentId:"sc-1xjes8-1"})({"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}),bv=bn(Rm).withConfig({displayName:"NavBar___StyledNavList",componentId:"sc-1xjes8-2"})({cursor:"default",userSelect:"none"}),xv=bn("div").withConfig({displayName:"NavBar___StyledDiv",componentId:"sc-1xjes8-3"})({display:"none",height:"60px",justifyContent:"center",transitionDuration:"500ms","@media (min-width: 768px)":{marginLeft:"0.5rem",display:"flex",flexDirection:"column"},"@media (min-width: 1280px)":{marginLeft:"75px"}}),_v=bn(Mm).withConfig({displayName:"NavBar___StyledMoreWrapper",componentId:"sc-1xjes8-4"})({cursor:"default",userSelect:"none",":active":{"--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},"@media (min-width: 768px)":{cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgb(209 213 219 / var(--tw-text-opacity))"}}}),Sv=bn("span").withConfig({displayName:"NavBar___StyledSpan",componentId:"sc-1xjes8-5"})({marginTop:"auto",marginBottom:"auto",fontSize:"1.125rem",lineHeight:"1.75rem"}),Ev=bn(mi).withConfig({displayName:"NavBar___StyledFontAwesomeIcon2",componentId:"sc-1xjes8-6"})({paddingRight:"0.5rem"}),kv=bn("span").withConfig({displayName:"NavBar___StyledSpan2",componentId:"sc-1xjes8-7"})({marginTop:"auto",marginBottom:"auto",fontSize:"1.125rem",lineHeight:"1.75rem"}),Cv=bn(mi).withConfig({displayName:"NavBar___StyledFontAwesomeIcon3",componentId:"sc-1xjes8-8"})({paddingRight:"0.5rem"}),Tv=bn("span").withConfig({displayName:"NavBar___StyledSpan3",componentId:"sc-1xjes8-9"})({marginTop:"auto",marginBottom:"auto",fontSize:"1.125rem",lineHeight:"1.75rem"}),Av=bn(mi).withConfig({displayName:"NavBar___StyledFontAwesomeIcon4",componentId:"sc-1xjes8-10"})({paddingRight:"0.5rem"}),Iv=bn("div").withConfig({displayName:"NavBar___StyledDiv2",componentId:"sc-1xjes8-11"})({position:"absolute",right:"0.125rem",top:"5rem","@media (min-width: 768px)":{display:"none"}}),Nv=bn("div").withConfig({displayName:"NavBar___StyledDiv3",componentId:"sc-1xjes8-12"})({position:"absolute",bottom:"50%",right:"27px",height:"12rem",width:"1px",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(147 197 253 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(147 197 253 / var(--tw-bg-opacity))"}),Ov=bn(mi).withConfig({displayName:"NavBar___StyledFontAwesomeIcon5",componentId:"sc-1xjes8-13"})({"--tw-text-opacity":"1",color:"rgb(251 191 36 / var(--tw-text-opacity))"}),Rv=i(1995),Lv=i(5859),Pv=i(102),Dv=i(8822),Mv=bn(mh).attrs((function(e){return{tw:e._tw}})).withConfig({displayName:"Styledtwin__AppleCardWrapper",componentId:"sc-x99c6a-0"})(["z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;",";position:relative;overflow:hidden;",";&::before{transition:opacity 0.3s ease;}&:active::before{transition:opacity 0.3s ease;}"],(function(e){var t=e.h;return t?"height: "+t:""}),(function(e){return e._tw_user})),Fv=bn.div.withConfig({displayName:"Styledtwin__AnimationWrapper",componentId:"sc-x99c6a-1"})(["position:absolute;top:0;left:0;right:0;bottom:",";margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;"],(function(e){return e.hasSubBar?"34px":"0"})),zv=bn.div.attrs((function(e){return{tw:e._tw,style:{transform:"matrix(1, 0, 0, 1, 0, ".concat(e._Y,")")}}})).withConfig({displayName:"Styledtwin__BackgroundWrapper",componentId:"sc-x99c6a-2"})(["position:absolute;left:0;right:0;margin:auto;transition:all .35s ease,transform 0s;",";",";",";",";"],(function(e){return e.tw}),(function(e){return e._hover}),(function(e){return e._active}),(function(e){return e._tw_user})),jv=bn.div.withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-x99c6a-3"})(["position:relative;",";",";",";",";",";"],(function(e){return e.hasMask?"mix-blend-mode: difference":""}),(function(e){return e._tw}),(function(e){return e._hover}),(function(e){return e._active}),(function(e){return e._tw_user})),Bv=bn.div.withConfig({displayName:"Styledtwin__SubBar",componentId:"sc-x99c6a-4"})(["position:absolute;bottom:0;height:68px;width:100%;display:flex;flex-direction:row;align-items:center;",";",";",";"],{paddingLeft:"1rem",paddingRight:"1rem"},(function(e){return e._tw}),(function(e){return e._tw_user})),Uv=bn.div.withConfig({displayName:"Styledtwin__Logo",componentId:"sc-x99c6a-5"})(["width:46px;height:46px;border-radius:10px;background-image:url(",");background-size:contain;background-repeat:no-repeat;",""],(function(e){return e.url||"images/QiuYeDx_web.png"}),{flexShrink:"0"}),Hv=bn.div.withConfig({displayName:"Styledtwin__TopTextA",componentId:"sc-x99c6a-6"})(["position:absolute;opacity:0.75;top:12px;left:16px;z-index:110;",";",";",";"],(function(e){return e.hasMask?"mix-blend-mode: difference":""}),(function(e){return e._tw}),(function(e){return e._tw_user})),Wv=bn.div.withConfig({displayName:"Styledtwin__TopTextB",componentId:"sc-x99c6a-7"})(["position:absolute;opacity:1;top:36px;left:16px;z-index:110;",";",";",";"],(function(e){return e.hasMask?"mix-blend-mode: difference":""}),(function(e){return e._tw}),(function(e){return e._tw_user})),Vv=bn.div.withConfig({displayName:"Styledtwin__SubTextA",componentId:"sc-x99c6a-8"})(["position:absolute;opacity:0.75;bottom:",";left:16px;z-index:110;",";",";",";"],(function(e){return e.hasSubBar?"80px":"16px"}),(function(e){return e.hasMask?"mix-blend-mode: difference":""}),(function(e){return e._tw}),(function(e){return e._tw_user})),Yv={default:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(191 219 254 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(191 219 254 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(147, 197, 253, 1);} }"),activeBackground:":active &{ color: rgba(147, 197, 253, 1); }",styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},white:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(0 0 0 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(0 0 0 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(75 85 99 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(0 0 0 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ color: rgba(0, 0, 0, 1);\n @media(min-width: ".concat(An,"px){color: rgba(255, 255, 255, 1);} }"),activeBackground:":active &{ color: rgba(255, 255, 255, 1);\n @media(min-width: ".concat(An,"px){color: rgba(255, 255, 255, 1);} }"),styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"0.6",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"0.6",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},black:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(0 0 0 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(229 231 235 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(0, 0, 0, 1);} }"),activeBackground:":active &{ color: rgba(0, 0, 0, 1); }",styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"0.6",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"0.6",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},green:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(187 247 208 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(74 222 128 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(74 222 128 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(134 239 172 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(74 222 128 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(167, 243, 208, 1);} }"),activeBackground:":active &{ color: rgba(167, 243, 208, 1); }",styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(74 222 128 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(187 247 208 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(22 163 74 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(74 222 128 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},purple:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(233 213 255 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(192 132 252 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(192 132 252 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(216 180 254 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(192 132 252 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(221, 214, 254, 1);} }"),activeBackground:":active &{ color: rgba(221, 214, 254, 1); }",styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(192 132 252 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(233 213 255 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(147 51 234 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(192 132 252 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},pink:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none","--tw-bg-opacity":"1",backgroundColor:"rgb(244 114 182 / var(--tw-bg-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(251 207 232 / var(--tw-bg-opacity))"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 168 212 / var(--tw-bg-opacity))"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(251 207 232 / var(--tw-bg-opacity))"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(251 207 232 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(244, 114, 182, 1);} }"),activeBackground:":active &{ color: rgba(249, 168, 212, 1); }",styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(244 114 182 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(251 207 232 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 39 119 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(244 114 182 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}},gradient_blue:{styleAppleCard:{gridColumn:"span 5 / span 5",margin:"1rem",cursor:"default",userSelect:"none",backgroundImage:"linear-gradient(to right, var(--tw-gradient-stops))","--tw-gradient-from":"#3b82f6 var(--tw-gradient-from-position)","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to":"#38bdf8 var(--tw-gradient-to-position)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)","::before":{content:"var(--tw-content)",position:"absolute",left:"0px",right:"0px",top:"0px",bottom:"0px",backgroundImage:"linear-gradient(to top right, var(--tw-gradient-stops))","--tw-gradient-from":"#0ea5e9 var(--tw-gradient-from-position)","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to":"rgb(14 165 233 / 0) var(--tw-gradient-from-position)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)",opacity:"0"},":active::before":{content:"var(--tw-content)",opacity:"1"},"@media (min-width: 768px)":{gridColumn:"span 2 / span 2",cursor:"pointer","::before":{content:"var(--tw-content)",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},":hover::before":{content:"var(--tw-content)",opacity:"1"},":active::before":{content:"var(--tw-content)",opacity:"0"}}},styleBackground:{"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"},styleContent:{fontSize:"6rem",lineHeight:"1",fontWeight:"700",letterSpacing:"0.1em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},hoverContent:":hover &{ @media(min-width: ".concat(An,"px){scale: 1.1;} }"),activeContent:":active &{ scale: 1.1;\n @media(min-width: ".concat(An,"px){scale: 1.05;} }"),hoverBackground:":hover &{ @media(min-width: ".concat(An,"px){color: rgba(221, 214, 254, 1); filter: blur(16px);} }"),activeBackground:":active &{ filter: blur(16px); color: rgba(221, 214, 254, 1); @media(min-width: ".concat(An,"px){color: rgba(147, 197, 253, 1); filter: blur(16px);} }"),styleSubBar:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},styleTopTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleTopTextB:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"},styleSubButton:{flexShrink:"0",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))",textAlign:"center",verticalAlign:"middle",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(191 219 254 / var(--tw-ring-opacity))",transitionDuration:"100ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",":hover":{"--tw-scale-x":"1.05","--tw-scale-y":"1.05",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"},":active":{"--tw-bg-opacity":"1",backgroundColor:"rgb(37 99 235 / var(--tw-bg-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(96 165 250 / var(--tw-ring-opacity))"}},styleSubTextA:{textAlign:"left",fontFamily:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))"}}};function Gv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nh-v?e>h+b?(r=n,requestAnimationFrame((function(){c(r)}))):(r=(e-(h-v))/(b+v)*n*2-n,requestAnimationFrame((function(){c(r)}))):requestAnimationFrame((function(){c(r)}))}},C=(n=function(){i(!o)},100,!0,function(){var e=this,t=arguments;r&&clearTimeout(r);var a=!r;r=setTimeout((function(){r=null}),100),a&&n.apply(e,t)}),T=t.theme&&Yv[t.theme]?Yv[t.theme]:Yv.default;return(0,e.useEffect)((function(){return m(vi(u.current)),y(wi()),x(u.current.clientHeight),E(f.current.clientHeight),k(),window.addEventListener("scroll",k),window.addEventListener("resize",C),function(){window.removeEventListener("scroll",k),window.removeEventListener("resize",C)}}),[h,v,o]),e.createElement(Mv,{className:"group group"+d,h:t.h||"400px",_tw:T.styleAppleCard,_tw_user:t.tw_card||{}},e.createElement(Hv,{hasMask:t.hasMask,_tw:T.styleTopTextA,_tw_user:t.tw_topTextA||{}},t.topTextA||""),e.createElement(Wv,{hasMask:t.hasMask,_tw:T.styleTopTextB,_tw_user:t.tw_topTextB||{}},t.topTextB||""),e.createElement(Vv,{hasSubBar:t.hasSubBar,hasMask:t.hasMask,_tw:T.styleSubTextA,_tw_user:t.tw_subTextA||{}},t.subTextA||""),e.createElement(Fv,{ref:u,hasSubBar:t.hasSubBar,onClick:t.onClick},e.createElement(zv,{ref:f,_Y:l,_tw:T.styleBackground,_tw_user:t.tw_background||{},_hover:".group"+d+T.hoverBackground,_active:".group"+d+T.activeBackground},t.icon||e.createElement(qv,{icon:Dv.kZ})),e.createElement(jv,{style:{transition:"scale 0.3s ease"},hasMask:t.hasMask,_tw:T.styleContent,_tw_user:t.tw_content||{},_hover:".group"+d+T.hoverContent,_active:".group"+d+T.activeContent},t.children)),t.hasSubBar&&e.createElement(Bv,{_tw:T.styleSubBar,_tw_user:t.tw_subbar||{}},e.createElement(Uv,{url:t.logo_url}),e.createElement(Kv,null,e.createElement(Qv,null,t._sub_h3||""),e.createElement(Jv,null,t._sub_h4||"")),e.createElement(Xg,{_tw:T.styleSubButton,_tw_user:t.tw_subButton||{},onClick:function(){window.location=t.goto||"javascript:;"}},"打开")))}$v.propTypes={h:ri().string,k:ri().number,theme:ri().oneOf(["default","white","black","green","purple","pink","gradient_blue"]),logo_url:ri().string,goto:ri().string,icon:ri().element,topTextA:ri().string,topTextB:ri().string,subTextA:ri().node,hasMask:ri().bool,hasSubBar:ri().bool,_sub_h3:ri().string,_sub_h4:ri().string,onClick:ri().func,tw_card:ri().object,tw_background:ri().object,tw_content:ri().object,tw_subbar:ri().object,tw_topTextA:ri().object,tw_topTextB:ri().object,tw_subTextA:ri().object,tw_subButton:ri().object};var qv=bn(mi).withConfig({displayName:"AppleCard___StyledFontAwesomeIcon",componentId:"sc-137yem4-0"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Kv=bn("div").withConfig({displayName:"AppleCard___StyledDiv",componentId:"sc-137yem4-1"})({height:"3rem",flexShrink:"1",flexGrow:"1",flexDirection:"column",alignItems:"flex-start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingLeft:"1rem",textAlign:"left"}),Qv=bn(kf).withConfig({displayName:"AppleCard___StyledH",componentId:"sc-137yem4-2"})({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",letterSpacing:"0.025em"}),Jv=bn(Cf).withConfig({displayName:"AppleCard___StyledH2",componentId:"sc-137yem4-3"})({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",letterSpacing:"0.1em"});function Zv(e){return Zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zv(e)}function ey(){ey=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,a){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),s=new k(a||[]);return r(i,"_invoke",{value:x(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=h.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function a(r,o,i,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==Zv(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,i,s)}),(function(e){a("throw",e,i,s)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return a("throw",e,i,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return{value:void 0,done:!0}}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=_(i,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function _(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=u(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function ty(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ry(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ry(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{}}const{id:a,observer:o,elements:i}=function(e){let t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(ew.has(n)||(nw+=1,ew.set(n,nw.toString())),ew.get(n)):"0"):e[t]}`;var n})).toString()}(e),n=Zy.get(t);if(!n){const r=new Map;let a;const o=new IntersectionObserver((t=>{t.forEach((t=>{var n;const o=t.isIntersecting&&a.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((e=>{e(o,t)}))}))}),e);a=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},Zy.set(t,n)}return n}(n);let s=i.get(e)||[];return i.has(e)||i.set(e,s),s.push(t),o.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(i.delete(e),o.unobserve(e)),0===i.size&&(o.disconnect(),Zy.delete(a))}}class aw extends e.Component{constructor(e){super(e),this.node=null,this._unobserveCb=null,this.handleNode=e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()},this.handleChange=(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),isPlainChildren(this.props)||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)},this.state={inView:!!e.initialInView,entry:void 0}}componentDidUpdate(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve(),this.node=null}observeNode(){if(!this.node||this.props.skip)return;const{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:a,fallbackInView:o}=this.props;this._unobserveCb=rw(this.node,this.handleChange,{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:a},o)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){if(!isPlainChildren(this.props)){const{inView:e,entry:t}=this.state;return this.props.children({inView:e,entry:t,ref:this.handleNode})}const e=this.props,{children:t,as:n}=e,r=function(e,t){if(null==e)return{};for(var n,r,a={},o=Object.keys(e);r=0||(a[n]=e[n]);return a}(e);return React.createElement(n||"div",react_intersection_observer_modern_extends({ref:this.handleNode},r),t)}}function ow({threshold:t,delay:n,trackVisibility:r,rootMargin:a,root:o,triggerOnce:i,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var f;const[d,p]=e.useState(null),h=e.useRef(),[m,g]=e.useState({inView:!!l,entry:void 0});h.current=u,e.useEffect((()=>{if(s||!d)return;let e;return e=rw(d,((t,n)=>{g({inView:t,entry:n}),h.current&&h.current(t,n),n.isIntersecting&&i&&e&&(e(),e=void 0)}),{root:o,rootMargin:a,threshold:t,trackVisibility:r,delay:n},c),()=>{e&&e()}}),[Array.isArray(t)?t.toString():t,d,o,a,i,s,r,c,n]);const v=null==(f=m.entry)?void 0:f.target,y=e.useRef();d||!v||i||s||y.current===v||(y.current=v,g({inView:!!l,entry:void 0}));const w=[p,m.inView,m.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}function iw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function fw(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function dw(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){fw(o,r,a,i,s,"next",e)}function s(e){fw(o,r,a,i,s,"throw",e)}i(void 0)}))}}function pw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.concat(t,t+"-start",t+"-end")),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function tb(e){return e.replace(/left|right|bottom|top/g,(e=>eb[e]))}const nb={start:"end",end:"start"};function rb(e){return e.replace(/start|end/g,(e=>nb[e]))}const ab=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:a,rects:o,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...m}=e,g=Yw(r),v=Yw(i)===i,y=await(null==s.isRTL?void 0:s.isRTL(l.floating)),w=f||(v||!h?[tb(i)]:function(e){const t=tb(e);return[rb(e),t,rb(t)]}(i));f||"none"===p||w.push(...function(e,t,n,r){const a=Ww(e);let o=function(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}(Yw(e),"start"===n,r);return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map(rb)))),o}(i,h,p,y));const b=[i,...w],x=await Kw(t,m),_=[];let S=(null==(n=a.flip)?void 0:n.overflows)||[];if(c&&_.push(x[g]),u){const{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);const r=Ww(e),a=Gw(e),o=Vw(a);let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=tb(i)),{main:i,cross:tb(i)}}(r,o,y);_.push(x[e],x[t])}if(S=[...S,{placement:r,overflows:_}],!_.every((e=>e<=0))){var E,k;const e=((null==(E=a.flip)?void 0:E.index)||0)+1,t=b[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(k=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(d){case"bestFit":{var C;const e=null==(C=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=i}if(r!==n)return{reset:{placement:n}}}return{}}}},ob=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,a=await async function(e,t){const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=Yw(n),s=Ww(n),l="x"===Gw(n),c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e);return{x:n+a.x,y:r+a.y,data:a}}}};const ib=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,c={x:n,y:r},u=await Kw(t,l),f=Gw(Yw(a)),d=function(e){return"x"===e?"y":"x"}(f);let p=c[f],h=c[d];if(o){const e="y"===f?"bottom":"right";p=Zw(p+u["y"===f?"top":"left"],p,p-u[e])}if(i){const e="y"===d?"bottom":"right";h=Zw(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}};function sb(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function lb(e){return sb(e).getComputedStyle(e)}function cb(e){return e instanceof sb(e).Node}function ub(e){return cb(e)?(e.nodeName||"").toLowerCase():""}function fb(e){return e instanceof sb(e).HTMLElement}function db(e){return e instanceof sb(e).Element}function pb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sb(e).ShadowRoot||e instanceof ShadowRoot)}function hb(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=lb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function mb(e){return["table","td","th"].includes(ub(e))}function gb(e){const t=vb(),n=lb(e);return"none"!==n.transform||"none"!==n.perspective||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function vb(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function yb(e){return["html","body","#document"].includes(ub(e))}const wb=Math.min,bb=Math.max,xb=Math.round;function _b(e){const t=lb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=fb(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=xb(n)!==o||xb(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Sb(e){return db(e)?e:e.contextElement}const Eb={x:1,y:1};function kb(e){const t=Sb(e);if(!fb(t))return Eb;const n=t.getBoundingClientRect(),{width:r,height:a,fallback:o}=_b(t);let i=(o?xb(n.width):n.width)/r,s=(o?xb(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Cb={x:0,y:0};function Tb(e,t,n){var r,a;if(void 0===t&&(t=!0),!vb())return Cb;const o=e?sb(e):window;return!n||t&&n!==o?Cb:{x:(null==(r=o.visualViewport)?void 0:r.offsetLeft)||0,y:(null==(a=o.visualViewport)?void 0:a.offsetTop)||0}}function Ab(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),o=Sb(e);let i=Eb;t&&(r?db(r)&&(i=kb(r)):i=kb(e));const s=Tb(o,n,r);let l=(a.left+s.x)/i.x,c=(a.top+s.y)/i.y,u=a.width/i.x,f=a.height/i.y;if(o){const e=sb(o),t=r&&db(r)?sb(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=kb(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=t.x,c+=t.y,n=sb(n).frameElement}}return qw({width:u,height:f,x:l,y:c})}function Ib(e){return((cb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nb(e){return db(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ob(e){return Ab(Ib(e)).left+Nb(e).scrollLeft}function Rb(e){if("html"===ub(e))return e;const t=e.assignedSlot||e.parentNode||pb(e)&&e.host||Ib(e);return pb(t)?t.host:t}function Lb(e){const t=Rb(e);return yb(t)?t.ownerDocument.body:fb(t)&&hb(t)?t:Lb(t)}function Pb(e,t){var n;void 0===t&&(t=[]);const r=Lb(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=sb(r);return a?t.concat(o,o.visualViewport||[],hb(r)?r:[]):t.concat(r,Pb(r))}function Db(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=sb(e),r=Ib(e),a=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const e=vb();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Ib(e),n=Nb(e),r=e.ownerDocument.body,a=bb(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=bb(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ob(e);const s=-n.scrollTop;return"rtl"===lb(r).direction&&(i+=bb(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:s}}(Ib(e));else if(db(t))r=function(e,t){const n=Ab(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=fb(e)?kb(e):{x:1,y:1};return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}}(t,n);else{const n=Tb(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return qw(r)}function Mb(e,t){const n=Rb(e);return!(n===t||!db(n)||yb(n))&&("fixed"===lb(n).position||Mb(n,t))}function Fb(e,t){return fb(e)&&"fixed"!==lb(e).position?t?t(e):e.offsetParent:null}function zb(e,t){const n=sb(e);if(!fb(e))return n;let r=Fb(e,t);for(;r&&mb(r)&&"static"===lb(r).position;)r=Fb(r,t);return r&&("html"===ub(r)||"body"===ub(r)&&"static"===lb(r).position&&!gb(r))?n:r||function(e){let t=Rb(e);for(;fb(t)&&!yb(t);){if(gb(t))return t;t=Rb(t)}return null}(e)||n}function jb(e,t,n){const r=fb(t),a=Ib(t),o="fixed"===n,i=Ab(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&!o)if(("body"!==ub(t)||hb(a))&&(s=Nb(t)),fb(t)){const e=Ab(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&(l.x=Ob(a));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const Bb={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Pb(e).filter((e=>db(e)&&"body"!==ub(e))),a=null;const o="fixed"===lb(e).position;let i=o?Rb(e):e;for(;db(i)&&!yb(i);){const t=lb(i),n=gb(i);n||"fixed"!==t.position||(a=null),(o?!n&&!a:!n&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||hb(i)&&!n&&Mb(e,i))?r=r.filter((e=>e!==i)):a=t,i=Rb(i)}return t.set(e,r),r}(t,this._c):[].concat(n),i=[...o,r],s=i[0],l=i.reduce(((e,n)=>{const r=Db(t,n,a);return e.top=bb(r.top,e.top),e.right=wb(r.right,e.right),e.bottom=wb(r.bottom,e.bottom),e.left=bb(r.left,e.left),e}),Db(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const a=fb(n),o=Ib(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==ub(n)||hb(o))&&(i=Nb(n)),fb(n))){const e=Ab(n);s=kb(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:db,getDimensions:function(e){return _b(e)},getOffsetParent:zb,getDocumentElement:Ib,getScale:kb,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const a=this.getOffsetParent||zb,o=this.getDimensions;return{reference:jb(t,await a(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===lb(e).direction},Ub=(e,t,n)=>{const r=new Map,a={platform:Bb,...n},o={...a.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:f}=Xw(c,r,l),d=r,p={},h=0;for(let n=0;n{let r=null;return function(...a){const o=()=>{r=null,n||e.apply(this,a)};n&&!r&&(e.apply(this,a),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))}},Vb={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Yb=(0,e.createContext)({getTooltipData:()=>Vb});function Gb(t="DEFAULT_TOOLTIP_ID"){return(0,e.useContext)(Yb).getTooltipData(t)}const Xb="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,$b=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},qb=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if($b(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Kb=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:a=10,strategy:o="absolute",middlewares:i=[ob(Number(a)),ab(),ib({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=i;return n?(l.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e||{},{x:a,y:o,placement:i,rects:s,platform:l,elements:c}=t;if(null==n)return{};const u=$w(r),f={x:a,y:o},d=Gw(i),p=Vw(d),h=await l.getDimensions(n),m="y"===d,g=m?"top":"left",v=m?"bottom":"right",y=m?"clientHeight":"clientWidth",w=s.reference[p]+s.reference[d]-f[d]-s.floating[p],b=f[d]-s.reference[d],x=await(null==l.getOffsetParent?void 0:l.getOffsetParent(n));let _=x?x[y]:0;_&&await(null==l.isElement?void 0:l.isElement(x))||(_=c.floating[y]||s.floating[p]);const S=w/2-b/2,E=u[g],k=_-h[p]-u[v],C=_/2-h[p]/2+S,T=Zw(E,C,k),A=null!=Ww(i)&&C!=T&&s.reference[p]/2-(C{var a,o;const i={left:`${e}px`,top:`${t}px`,border:s},{x:l,y:c}=null!==(a=r.arrow)&&void 0!==a?a:{x:0,y:0},u=null!==(o={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==o?o:"bottom",f=s&&{top:{borderBottom:s,borderRight:s},right:{borderBottom:s,borderLeft:s},bottom:{borderTop:s,borderLeft:s},left:{borderTop:s,borderRight:s}}[n.split("-")[0]];let d=0;if(s){const e=`${s}`.match(/(\d+)px/);d=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:i,tooltipArrowStyles:{left:null!=l?`${l}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...f,[u]:`-${4+d}px`},place:n}}))):Ub(e,t,{placement:"bottom",strategy:o,middleware:l}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))};var Qb={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Jb=({id:t,className:n,classNameArrow:r,variant:a="dark",anchorId:o,anchorSelect:i,place:s="top",offset:l=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:f="absolute",middlewares:d,wrapper:p,delayShow:h=0,delayHide:m=0,float:g=!1,hidden:v=!1,noArrow:y=!1,clickable:w=!1,closeOnEsc:b=!1,closeOnScroll:x=!1,closeOnResize:_=!1,style:S,position:E,afterShow:k,afterHide:C,content:T,contentWrapperRef:A,isOpen:I,setIsOpen:N,activeAnchor:O,setActiveAnchor:R,border:L,opacity:P})=>{const D=(0,e.useRef)(null),M=(0,e.useRef)(null),F=(0,e.useRef)(null),z=(0,e.useRef)(null),[j,B]=(0,e.useState)(s),[U,H]=(0,e.useState)({}),[W,V]=(0,e.useState)({}),[Y,G]=(0,e.useState)(!1),[X,$]=(0,e.useState)(!1),q=(0,e.useRef)(!1),K=(0,e.useRef)(null),{anchorRefs:Q,setActiveAnchor:J}=Gb(t),Z=(0,e.useRef)(!1),[ee,te]=(0,e.useState)([]),ne=(0,e.useRef)(!1),re=u||c.includes("click");Xb((()=>(ne.current=!0,()=>{ne.current=!1})),[]),(0,e.useEffect)((()=>{if(!Y){const e=setTimeout((()=>{$(!1)}),150);return()=>{clearTimeout(e)}}return()=>null}),[Y]);const ae=e=>{ne.current&&(e&&$(!0),setTimeout((()=>{ne.current&&(null==N||N(e),void 0===I&&G(e))}),10))};(0,e.useEffect)((()=>{if(void 0===I)return()=>null;I&&$(!0);const e=setTimeout((()=>{G(I)}),10);return()=>{clearTimeout(e)}}),[I]),(0,e.useEffect)((()=>{Y!==q.current&&(q.current=Y,Y?null==k||k():null==C||C())}),[Y]);const oe=(e=m)=>{z.current&&clearTimeout(z.current),z.current=setTimeout((()=>{Z.current||ae(!1)}),e)},ie=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return R(null),void J({current:null});h?(F.current&&clearTimeout(F.current),F.current=setTimeout((()=>{ae(!0)}),h)):ae(!0),R(n),J({current:n}),z.current&&clearTimeout(z.current)},se=()=>{w?oe(m||100):m?oe():ae(!1),F.current&&clearTimeout(F.current)},le=({x:e,y:t})=>{Kb({place:s,offset:l,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:D.current,tooltipArrowReference:M.current,strategy:f,middlewares:d,border:L}).then((e=>{Object.keys(e.tooltipStyles).length&&H(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),B(e.place)}))},ce=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};le(n),K.current=n},ue=e=>{ie(e),m&&oe()},fe=e=>{var t;[document.querySelector(`[id='${o}']`),...ee].some((t=>null==t?void 0:t.contains(e.target)))||(null===(t=D.current)||void 0===t?void 0:t.contains(e.target))||(ae(!1),F.current&&clearTimeout(F.current))},de=Wb(ie,50,!0),pe=Wb(se,50,!0);(0,e.useEffect)((()=>{var e,t;const n=new Set(Q);ee.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${o}']`);r&&n.add({current:r});const a=()=>{ae(!1)},i=qb(O),s=qb(D.current);x&&(window.addEventListener("scroll",a),null==i||i.addEventListener("scroll",a),null==s||s.addEventListener("scroll",a)),_&&window.addEventListener("resize",a);const l=e=>{"Escape"===e.key&&ae(!1)};b&&window.addEventListener("keydown",l);const c=[];re?(window.addEventListener("click",fe),c.push({event:"click",listener:ue})):(c.push({event:"mouseenter",listener:de},{event:"mouseleave",listener:pe},{event:"focus",listener:de},{event:"blur",listener:pe}),g&&c.push({event:"mousemove",listener:ce}));const u=()=>{Z.current=!0},f=()=>{Z.current=!1,se()};return w&&!re&&(null===(e=D.current)||void 0===e||e.addEventListener("mouseenter",u),null===(t=D.current)||void 0===t||t.addEventListener("mouseleave",f)),c.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;x&&(window.removeEventListener("scroll",a),null==i||i.removeEventListener("scroll",a),null==s||s.removeEventListener("scroll",a)),_&&window.removeEventListener("resize",a),re&&window.removeEventListener("click",fe),b&&window.removeEventListener("keydown",l),w&&!re&&(null===(e=D.current)||void 0===e||e.removeEventListener("mouseenter",u),null===(t=D.current)||void 0===t||t.removeEventListener("mouseleave",f)),c.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[X,Q,ee,b,c]),(0,e.useEffect)((()=>{let e=null!=i?i:"";!e&&t&&(e=`[data-tooltip-id='${t}']`);const n=new MutationObserver((n=>{const r=[];n.forEach((n=>{if("attributes"===n.type&&"data-tooltip-id"===n.attributeName&&n.target.getAttribute("data-tooltip-id")===t&&r.push(n.target),"childList"===n.type&&(O&&[...n.removedNodes].some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,O))&&($(!1),ae(!1),R(null),F.current&&clearTimeout(F.current),z.current&&clearTimeout(z.current),!0)})),e))try{const t=[...n.addedNodes].filter((e=>1===e.nodeType));r.push(...t.filter((t=>t.matches(e)))),r.push(...t.flatMap((t=>[...t.querySelectorAll(e)])))}catch(e){}})),r.length&&te((e=>[...e,...r]))}));return n.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{n.disconnect()}}),[t,i,O]);const he=()=>{E?le(E):g?K.current&&le(K.current):Kb({place:s,offset:l,elementReference:O,tooltipReference:D.current,tooltipArrowReference:M.current,strategy:f,middlewares:d,border:L}).then((e=>{ne.current&&(Object.keys(e.tooltipStyles).length&&H(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),B(e.place))}))};(0,e.useEffect)((()=>{he()}),[Y,O,T,S,s,l,f,E]),(0,e.useEffect)((()=>{if(!(null==A?void 0:A.current))return()=>null;const e=new ResizeObserver((()=>{he()}));return e.observe(A.current),()=>{e.disconnect()}}),[T,null==A?void 0:A.current]),(0,e.useEffect)((()=>{var e;const t=document.querySelector(`[id='${o}']`),n=[...ee,t];O&&n.includes(O)||R(null!==(e=ee[0])&&void 0!==e?e:t)}),[o,ee,O]),(0,e.useEffect)((()=>()=>{F.current&&clearTimeout(F.current),z.current&&clearTimeout(z.current)}),[]),(0,e.useEffect)((()=>{let e=i;if(!e&&t&&(e=`[data-tooltip-id='${t}']`),e)try{const t=Array.from(document.querySelectorAll(e));te(t)}catch(e){te([])}}),[t,i]);const me=!v&&T&&Y&&Object.keys(U).length>0;return X?e.createElement(p,{id:t,role:"tooltip",className:Hw("react-tooltip","core-styles-module_tooltip__3vRRp",Qb.tooltip,Qb[a],n,`react-tooltip__place-${j}`,{"core-styles-module_show__Nt9eE":me,"core-styles-module_fixed__pcSol":"fixed"===f,"core-styles-module_clickable__ZuTTB":w}),style:{...S,...U,opacity:void 0!==P&&me?P:void 0},ref:D},T,e.createElement(p,{className:Hw("react-tooltip-arrow","core-styles-module_arrow__cvMwQ",Qb.arrow,r,{"core-styles-module_noArrow__xock6":y}),style:W,ref:M})):null},Zb=({content:t})=>e.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),ex=({id:t,anchorId:n,anchorSelect:r,content:a,html:o,render:i,className:s,classNameArrow:l,variant:c="dark",place:u="top",offset:f=10,wrapper:d="div",children:p=null,events:h=["hover"],openOnClick:m=!1,positionStrategy:g="absolute",middlewares:v,delayShow:y=0,delayHide:w=0,float:b=!1,hidden:x=!1,noArrow:_=!1,clickable:S=!1,closeOnEsc:E=!1,closeOnScroll:k=!1,closeOnResize:C=!1,style:T,position:A,isOpen:I,border:N,opacity:O,setIsOpen:R,afterShow:L,afterHide:P})=>{const[D,M]=(0,e.useState)(a),[F,z]=(0,e.useState)(o),[j,B]=(0,e.useState)(u),[U,H]=(0,e.useState)(c),[W,V]=(0,e.useState)(f),[Y,G]=(0,e.useState)(y),[X,$]=(0,e.useState)(w),[q,K]=(0,e.useState)(b),[Q,J]=(0,e.useState)(x),[Z,ee]=(0,e.useState)(d),[te,ne]=(0,e.useState)(h),[re,ae]=(0,e.useState)(g),[oe,ie]=(0,e.useState)(null),{anchorRefs:se,activeAnchor:le}=Gb(t),ce=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),ue=e=>{const t={place:e=>{var t;B(null!==(t=e)&&void 0!==t?t:u)},content:e=>{M(null!=e?e:a)},html:e=>{z(null!=e?e:o)},variant:e=>{var t;H(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{V(null===e?f:Number(e))},wrapper:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:d)},events:e=>{const t=null==e?void 0:e.split(" ");ne(null!=t?t:h)},"position-strategy":e=>{var t;ae(null!==(t=e)&&void 0!==t?t:g)},"delay-show":e=>{G(null===e?y:Number(e))},"delay-hide":e=>{$(null===e?w:Number(e))},float:e=>{K(null===e?b:"true"===e)},hidden:e=>{J(null===e?x:"true"===e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,e.useEffect)((()=>{M(a)}),[a]),(0,e.useEffect)((()=>{z(o)}),[o]),(0,e.useEffect)((()=>{B(u)}),[u]),(0,e.useEffect)((()=>{H(c)}),[c]),(0,e.useEffect)((()=>{V(f)}),[f]),(0,e.useEffect)((()=>{G(y)}),[y]),(0,e.useEffect)((()=>{$(w)}),[w]),(0,e.useEffect)((()=>{K(b)}),[b]),(0,e.useEffect)((()=>{J(x)}),[x]),(0,e.useEffect)((()=>{ae(g)}),[g]),(0,e.useEffect)((()=>{var e;const a=new Set(se);let o=r;if(!o&&t&&(o=`[data-tooltip-id='${t}']`),o)try{document.querySelectorAll(o).forEach((e=>{a.add({current:e})}))}catch(e){console.warn(`[react-tooltip] "${o}" is not a valid CSS selector`)}const i=document.querySelector(`[id='${n}']`);if(i&&a.add({current:i}),!a.size)return()=>null;const s=null!==(e=null!=oe?oe:i)&&void 0!==e?e:le.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=ce(s);ue(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=ce(s);ue(e),l.observe(s,c)}return()=>{l.disconnect()}}),[se,le,oe,n,r]),(0,e.useEffect)((()=>{(null==T?void 0:T.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),N&&!CSS.supports("border",`${N}`)&&console.warn(`[react-tooltip] "${N}" is not a valid \`border\`.`),(null==T?void 0:T.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),O&&!CSS.supports("opacity",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`opacity\`.`)}),[]);let fe=p;const de=(0,e.useRef)(null);if(i){const t=i({content:null!=D?D:null,activeAnchor:oe});fe=t?e.createElement("div",{ref:de,className:"react-tooltip-content-wrapper"},t):null}else D&&(fe=D);F&&(fe=e.createElement(Zb,{content:F}));const pe={id:t,anchorId:n,anchorSelect:r,className:s,classNameArrow:l,content:fe,contentWrapperRef:de,place:j,variant:U,offset:W,wrapper:Z,events:te,openOnClick:m,positionStrategy:re,middlewares:v,delayShow:Y,delayHide:X,float:q,hidden:Q,noArrow:_,clickable:S,closeOnEsc:E,closeOnScroll:k,closeOnResize:C,style:T,position:A,isOpen:I,border:N,opacity:O,setIsOpen:R,afterShow:L,afterHide:P,activeAnchor:oe,setActiveAnchor:e=>ie(e)};return e.createElement(Jb,{...pe})};Hb({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),Hb({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}"});var tx=function(t){var n=t.title,r=t.data,a=t.headers,o=t.keys,i=t.h,s=t.td_max_width,l=t.isError,c=void 0!==l&&l;return e.createElement(e.Fragment,null,n&&e.createElement(ax,null,n),e.createElement(Dw,{h:i||""},e.createElement(Mw,null,e.createElement(zw,null,e.createElement(Fw,null,Array.from(a,(function(t,n){return e.createElement(Bw,{key:n},a[n])})))),e.createElement(jw,null,function(){if(!r)return e.createElement(Fw,null,e.createElement(nx,{colSpan:a.length,max_width:s||""}));if("[object Array]"===Object.prototype.toString.call(r[0]))return Array.from(r,(function(t,n){return e.createElement(Fw,{key:n},Array.from(r[n],(function(t,a){return e.createElement(Uw,{max_width:s||"",key:a},r[n][a])})))}));if("[object Object]"===Object.prototype.toString.call(r[0])){var t=r.map((function(e){return o.map((function(t){return e[t]}))}));return Array.from(t,(function(n,r){return e.createElement(Fw,{key:r},Array.from(t[r],(function(n,a){return e.createElement(Uw,{max_width:s||"",key:a},t[r][a])})))}))}return e.createElement(Fw,null,e.createElement(rx,{colSpan:a.length,max_width:s||""}))}())),!c&&!r&&e.createElement(Fh,{url:e.createElement(ox,{icon:_f.LM,spin:!0}),h:"80%",w:"100%"}),!c&&r&&0===r.length&&e.createElement(Fh,{url:e.createElement(ix,{icon:Pw.Aq,fade:!0}),h:"80%",w:"100%"}),c&&e.createElement(Fh,{errorFlag:!0,h:"80%",w:"100%"})))},nx=bn(Uw).withConfig({displayName:"Table___StyledTd",componentId:"sc-1fjwvc9-0"})({lineHeight:"2.5rem"}),rx=bn(Uw).withConfig({displayName:"Table___StyledTd2",componentId:"sc-1fjwvc9-1"})({lineHeight:"2.5rem"}),ax=bn(Af).withConfig({displayName:"Table___StyledInLineTitle",componentId:"sc-1fjwvc9-2"})({marginBottom:"1rem",marginTop:"0.5rem"}),ox=bn(mi).withConfig({displayName:"Table___StyledFontAwesomeIcon",componentId:"sc-1fjwvc9-3"})({"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}),ix=bn(mi).withConfig({displayName:"Table___StyledFontAwesomeIcon2",componentId:"sc-1fjwvc9-4"})({"--tw-text-opacity":"1",color:"rgb(147 197 253 / var(--tw-text-opacity))"}),sx=bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-fjf4t8-0"})(["margin:20px 0 0 0;padding:20px 12px;background-color:white;text-align:center;z-index:500;gap:10px;&::-webkit-scrollbar{display:none;}"]),lx=bn.div.withConfig({displayName:"Styledtwin__LineWrapper",componentId:"sc-fjf4t8-1"})(["display:flex;flex-direction:row;justify-content:space-around;gap:18px;flex-grow:1;flex-shrink:1;min-width:60%;&>*{margin-left:auto;margin-right:auto;}"]),cx=["data_tooltip_id","text","setText","invalid","data_tooltip_content","data_tooltip_variant","desc","icon","id","onChange","onKeyPress","placeholder","iconOnClick","maxLength"];function ux(){return ux=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,cx),g=(0,e.useRef)(),v=(0,e.useRef)();return(0,e.useEffect)((function(){v.current=yf.to(g.current,{y:-24,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",paused:""===r,yoyo:!0})}),[r]),e.createElement(Sh,{"data-tooltip-id":n||"","data-tooltip-content":o||"","data-tooltip-variant":i||"",onFocus:function(){v.current&&(v.current.kill(),v.current=yf.to(g.current,{y:-24,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",yoyo:!0}))},onBlur:function(){""===r&&v.current&&(v.current.kill(),v.current=yf.to(g.current,{y:0,scale:1,duration:.3,backgroundColor:"rgba(255 255 255 0)",ease:"power2.out"}))}},e.createElement(yh,ux({placeholder:d||"",className:"peer",id:c||"",maxLength:h||2e3,value:r||"",onChange:u||function(){},onKeyPress:f||function(){},invalid:a||""},m)),e.createElement(bh,{for:c||"",ref:g},s||""),e.createElement(xh,{for:c,onClick:p,tw:""},l||""))}var dx=i(6284),px=["data_tooltip_id","text","setText","invalid","data_tooltip_content","data_tooltip_variant","desc","icon","id","onChange","onKeyPress","placeholder","iconOnClick","maxLength","selectList","closeClassName","animate","_t","_l","_r","h"];function hx(){return hx=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,px),E=(0,e.useRef)(),k=(0,e.useRef)(),C=(0,e.useRef)(r),T=mx((0,e.useState)(!1),2),A=T[0],I=T[1],N=mx((0,e.useState)(!1),2),O=N[0],R=N[1],L=(0,e.useRef)(null),P={"t-in.3":{"@keyframes popup_t":{"0%":{transformOrigin:"top",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"top",opacity:"1",transform:"scale(1)"}},animation:"popup_t .3s ease forwards"},"tr-in.3":{"@keyframes popup_tr":{"0%":{transformOrigin:"top right",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"top right",opacity:"1",transform:"scale(1)"}},animation:"popup_tr .3s ease forwards"},"b-in.3":{"@keyframes popup_b":{"0%":{transformOrigin:"bottom",opacity:"0",transform:"scale(0.2)"},"100%":{transformOrigin:"bottom",opacity:"1",transform:"scale(1)"}},animation:"popup_b .3s ease forwards"},"t-out.3":{"@keyframes popout_t":{"100%":{transformOrigin:"top",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"top",opacity:"1",transform:"scale(1)"}},animation:"popout_t .3s ease forwards"},"tr-out.3":{"@keyframes popout_tr":{"100%":{transformOrigin:"top right",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"top right",opacity:"1",transform:"scale(1)"}},animation:"popout_tr .3s ease forwards"},"b-out.3":{"@keyframes popout_b":{"100%":{transformOrigin:"bottom",opacity:"0",transform:"scale(0.2)"},"0%":{transformOrigin:"bottom",opacity:"1",transform:"scale(1)"}},animation:"popout_b .3s ease forwards"}};return(0,e.useEffect)((function(){var e=function(e){(L.current&&!L.current.contains(e.target)||L.current&&L.current.contains(e.target)&&"string"==typeof e.target.className&&e.target.className.split(" ").includes(v||"closeClassName"))&&R(!0)};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}}),[]),(0,e.useEffect)((function(){""===r?(C.current="",k.current&&k.current.kill(),yf.to(E.current,{y:0,scale:1,duration:.3,backgroundColor:"white",ease:"power2.out"})):(k.current&&k.current.kill(),k.current=yf.to(E.current,{y:-21,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out"}),k.current.restart())}),[r]),e.createElement(Sh,{ref:L,"data-tooltip-id":n||"","data-tooltip-content":i||"","data-tooltip-variant":s||"",onBlur:function(){setTimeout((function(){""===C.current&&k.current&&(k.current.kill(),k.current=yf.to(E.current,{y:0,scale:1,duration:.3,backgroundColor:"rgba(255 255 255 0)",ease:"power2.out"}))}),100)},onFocus:function(){k.current&&(k.current.kill(),k.current=yf.to(E.current,{y:-21,scale:.88,duration:.3,backgroundColor:"white",ease:"power2.out",yoyo:!0}))}},e.createElement(yx,hx({onClick:function(){I(!0),R(A)},placeholder:p||"",className:"peer",id:u||"",maxLength:m||2e3,value:r||"",onChange:f||function(){},onKeyPress:d||function(){},invalid:o||"",readOnly:!0},S)),e.createElement(Oh,{_tw:{cursor:"default"},isHidden:!A,animate:y&&(O?P[y.split(".").join("-out.")]:P[y.split(".").join("-in.")]),validText:r,h:_||"302px",_t:w||"36px",_l:b||"auto",_r:x||"10px",closeClassName:v?v+" closeClassName":"closeClassName",list:g||["jump","wait","click","input"],onAnimationEnd:function(){O&&I(!1)},onClick:function(e){if(e.target.id.includes("pageLi_")){var t=parseInt(e.target.id.slice(7),10)-1;a(g[t]),C.current=g[t]}}}),e.createElement(bh,{for:u||"",ref:E},l||""),e.createElement(_h,{for:u,tw:""},e.createElement(mi,{icon:dx.S6,fade:!0})),e.createElement(xh,{for:u,onClick:h,tw:""},c||""))}var yx=bn(yh).withConfig({displayName:"SelectInput___StyledTextInputLine",componentId:"sc-v3s3oz-0"})({cursor:"default","@media (min-width: 768px)":{cursor:"pointer"}});function wx(e){return wx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wx(e)}function bx(){bx=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,a){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),s=new k(a||[]);return r(i,"_invoke",{value:x(e,n,s)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=h.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function a(r,o,i,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==wx(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,i,s)}),(function(e){a("throw",e,i,s)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return a("throw",e,i,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return{value:void 0,done:!0}}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=_(i,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function _(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=u(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function xx(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function _x(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){xx(o,r,a,i,s,"next",e)}function s(e){xx(o,r,a,i,s,"throw",e)}i(void 0)}))}}function Sx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ex(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ex(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==a[0]?a[0]:parseInt(h,10)?parseInt(h,10):30,n=a.length>1&&void 0!==a[1]?a[1]:parseInt(v,10)?parseInt(v,10):1,e.prev=2,e.next=5,$p.awaitLogsAPI("GET",t,n);case 5:return r=e.sent,i(r.data),e.abrupt("return","Succeed to updateLogData");case 10:throw e.prev=10,e.t0=e.catch(2),E(!0),new Error("Failed to updateLogData");case 14:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=_x(bx().mark((function e(){var t;return bx().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$p.awaitUrlCountAPI("GET");case 3:return t=e.sent,r(t.data),e.abrupt("return","Succeed to updateVisitData");case 8:throw e.prev=8,e.t0=e.catch(0),x(!0),new Error("Failed to updateVisitData");case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),M=function(e){"Enter"===e.key&&(L.current.click(),L.current.focus())};return(0,e.useEffect)((function(){D().then((function(e){return console.log(e)})).catch((function(e){return console.warn(e)})),P().then((function(e){return console.log(e)})).catch((function(e){return console.warn(e)}))}),[]),(0,e.useEffect)((function(){y("")}),[h]),e.createElement(Pn,null,e.createElement(wf,null),e.createElement(Nn,null,e.createElement(Rn,null),e.createElement(Cx,null,e.createElement($v,{theme:"defaults",h:"360px",k:.5,topTextA:"统计",topTextB:"当前访问量",subTextA:"全站访问次数",tw_card:{"@media (min-width: 768px)":{gridColumn:"span 2 / span 2"}},tw_content:{letterSpacing:"0.025em"},icon:e.createElement(Tx,{icon:Lw.Md}),onClick:function(){D().then((function(e){return Ug("已更新当前访问量 !","update_visit_count_1")})).catch((function(e){return Bg("更新当前访问量失败 !","error_update_visit_count_1")})),c(!l)}},n?e.createElement(lw,{freshFlag:l,fromValue:0,toValue:n[0].sum_count,duration:2,step:1}):b?e.createElement(mi,{icon:my.WV,shake:!0}):e.createElement(mi,{icon:_f.LM,spin:!0})),e.createElement(Ax,null,e.createElement(tx,{h:"360px",headers:["URL","Count","Last Time"],data:n&&n.map((function(e){return e.ltime=Ei(e.ltime),e})),keys:["url","count","ltime"],isError:b})),e.createElement($v,{theme:"defaults",h:"360px",k:.5,topTextA:"统计",topTextB:"日志总数量",subTextA:"后台API日志",tw_card:{"@media (min-width: 768px)":{gridColumn:"span 2 / span 2"}},tw_content:{letterSpacing:"0.025em"},icon:e.createElement(Ix,{icon:Rw.FQ}),onClick:function(){P().then((function(e){return Ug("已更新日志总数量 !","update_log_count_1")})).catch((function(e){return Bg("更新日志总数量失败 !","error_update_log_count_1")})),d(!f)}},o&&o[0]?e.createElement(lw,{freshFlag:f,fromValue:0,toValue:o[0].total_count,duration:2,step:1}):S?e.createElement(mi,{icon:my.WV,shake:!0}):e.createElement(mi,{icon:_f.LM,spin:!0})),e.createElement(Nx,null,e.createElement(lx,null,e.createElement(Af,null,"查询",e.createElement(Ox,{icon:Ow.Kr}),"日志")),e.createElement(lx,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择每页显示几条日志, 默认30",id:"input_text",onChange:function(e){m(e.target.value),I(!1)},onKeyPress:M,invalid:A,text:h,setText:m,iconOnClick:function(){m&&m("30")},selectList:["10","20","30","50","100","150","200"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(lx,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择显示第几页, 默认1",id:"input_text2",onChange:function(e){y(e.target.value),R(!1)},onKeyPress:M,invalid:O,text:v,setText:y,iconOnClick:function(){y&&y("1")},selectList:o&&o[0]?Array.from({length:o&&o[0]?parseInt(h,10)?Math.ceil(o[0].total_count/parseInt(h,10)):Math.ceil(o[0].total_count/30):1},(function(e,t){return t+1})):["1"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(Rx,null,e.createElement(Lx,{disabled:C,h:"36px",w:"140px",onClick:function(){P().then((function(e){d(!f),Ug("日志查询成功 !","search_log_1")})).catch((function(e){return console.error(e)}))},ref:L},C?e.createElement(e.Fragment,null,"查询中",e.createElement(Px,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"查询日志",e.createElement(Dx,{icon:Sn.Y$,fade:!0}))))),e.createElement(Mx,null,e.createElement(tx,{h:"360px",headers:["ID","Time","API","Method","Log"],data:o&&o.map((function(e){return e.time=Ei(e.time),e})),keys:["id","time","api","method","log"],isError:S}))),e.createElement(Ln,null)),e.createElement(rh,null))}var Cx=bn(On).withConfig({displayName:"Dashboard___StyledWrapperMain",componentId:"sc-1b6n5hf-0"})({gridTemplateColumns:"repeat(5, minmax(0, 1fr))"}),Tx=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon",componentId:"sc-1b6n5hf-1"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Ax=bn("div").withConfig({displayName:"Dashboard___StyledDiv",componentId:"sc-1b6n5hf-2"})({gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 3 / span 3"}}),Ix=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon2",componentId:"sc-1b6n5hf-3"})({height:"12rem",width:"12rem","--tw-scale-x":"1.1","--tw-scale-y":"1.1",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",".group:active &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"},"@media (min-width: 768px)":{".group:hover &":{"--tw-scale-x":".95","--tw-scale-y":".95",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"}}}),Nx=bn(sx).withConfig({displayName:"Dashboard___StyledContentWrapper",componentId:"sc-1b6n5hf-4"})({position:"relative",gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 3 / span 3"}}),Ox=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon3",componentId:"sc-1b6n5hf-5"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(96 165 250 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),Rx=bn(lx).withConfig({displayName:"Dashboard___StyledLineWrapper",componentId:"sc-1b6n5hf-6"})({marginTop:"0.5rem"}),Lx=bn(Xg).withConfig({displayName:"Dashboard___StyledMButton",componentId:"sc-1b6n5hf-7"})({borderRadius:"9999px"}),Px=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon4",componentId:"sc-1b6n5hf-8"})({marginLeft:"0.25rem"}),Dx=bn(mi).withConfig({displayName:"Dashboard___StyledFontAwesomeIcon5",componentId:"sc-1b6n5hf-9"})({marginLeft:"0.25rem"}),Mx=bn("div").withConfig({displayName:"Dashboard___StyledDiv2",componentId:"sc-1b6n5hf-10"})({gridColumn:"span 5 / span 5",margin:"1rem","@media (min-width: 768px)":{gridColumn:"span 5 / span 5"}}),Fx=i(767),zx=i(8371),jx=i(5346),Bx=i(3726),Ux=bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-nzmynd-0"})(["margin:0 auto 0 auto;max-width:1000px;display:flex;flex-direction:column;padding:0 5px 0 5px;",";"],{marginTop:"0.5rem","@media (min-width: 768px)":{marginTop:"0px"}}),Hx=bn.div.withConfig({displayName:"Styledtwin__ButtonWrapper",componentId:"sc-nzmynd-1"})([""]),Wx=bn.div.withConfig({displayName:"Styledtwin__HeaderWrapper",componentId:"sc-nzmynd-2"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Vx=bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-nzmynd-3"})(["margin:20px 0 0 0;padding:20px 12px;background-color:white;text-align:center;gap:10px;"]),Yx=bn.div.withConfig({displayName:"Styledtwin__LineWrapper",componentId:"sc-nzmynd-4"})(["display:flex;flex-direction:row;justify-content:center;gap:18px;flex-grow:1;min-width:60%;&>*{margin-left:auto;margin-right:auto;}"]);function Gx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xx(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]),b_=e.createContext(1),x_=i(906),__=i(6529),S_=i(2679);function E_(e,t){for(var n=0;ns?(a=r,r=e,i=o,o=l):n?r+=e:r=a+(e-a)/(l-i)*(o-i)};return{update:c,reset:function(){a=r=n?0:r,i=o=0},getVelocity:function(e){var t=i,s=a,u=W_();return(e||0===e)&&e!==r&&c(e),o===i||u-i>l?0:(r+(n?s:-s))/((n?u:o)-t)*1e3}}},aS=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},oS=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},iS=function(){var e,t,n,r;(L_=k_.core.globals().ScrollTrigger)&&L_.core&&(e=L_.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,U_),r.push.apply(r,H_),U_=n,H_=r,V_=function(e,n){return t[e](n)})},sS=function(e){return(k_=e||z_())&&"undefined"!=typeof document&&document.body&&(T_=window,A_=document,I_=A_.documentElement,N_=A_.body,P_=[T_,A_,I_,N_],k_.utils.clamp,F_=k_.core.context||function(){},R_="onpointerenter"in N_?"pointer":"mouse",O_=lS.isTouch=T_.matchMedia&&T_.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in T_||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,M_=lS.eventTypes=("ontouchstart"in I_?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in I_?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return j_=0}),500),iS(),C_=1),C_};Z_.op=eS,U_.cache=0;var lS=function(){function e(e){this.init(e)}var t,n;return e.prototype.init=function(e){C_||sS(k_)||console.warn("Please gsap.registerPlugin(Observer)"),L_||iS();var t=e.tolerance,n=e.dragMinimum,r=e.type,a=e.target,o=e.lineHeight,i=e.debounce,s=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,d=e.event,p=e.onDragStart,h=e.onDragEnd,m=e.onDrag,g=e.onPress,v=e.onRelease,y=e.onRight,w=e.onLeft,b=e.onUp,x=e.onDown,_=e.onChangeX,S=e.onChangeY,E=e.onChange,k=e.onToggleX,C=e.onToggleY,T=e.onHover,A=e.onHoverEnd,I=e.onMove,N=e.ignoreCheck,O=e.isNormalizer,R=e.onGestureStart,L=e.onGestureEnd,P=e.onWheel,D=e.onEnable,M=e.onDisable,F=e.onClick,z=e.scrollSpeed,j=e.capture,B=e.allowClicks,U=e.lockAxis,H=e.onLockAxis;this.target=a=tS(a)||I_,this.vars=e,u&&(u=k_.utils.toArray(u)),t=t||1e-9,n=n||0,f=f||1,z=z||1,r=r||"wheel,touch,pointer",i=!1!==i,o||(o=parseFloat(T_.getComputedStyle(N_).lineHeight)||22);var W,V,Y,G,X,$,q,K=this,Q=0,J=0,Z=nS(a,Z_),ee=nS(a,eS),te=Z(),ne=ee(),re=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===M_[0],ae=G_(a),oe=a.ownerDocument||A_,ie=[0,0,0],se=[0,0,0],le=0,ce=function(){return le=W_()},ue=function(e,t){return(K.event=e)&&u&&~u.indexOf(e.target)||t&&re&&"touch"!==e.pointerType||N&&N(e,t)},fe=function(){var e=K.deltaX=oS(ie),n=K.deltaY=oS(se),r=Math.abs(e)>=t,a=Math.abs(n)>=t;E&&(r||a)&&E(K,e,n,ie,se),r&&(y&&K.deltaX>0&&y(K),w&&K.deltaX<0&&w(K),_&&_(K),k&&K.deltaX<0!=Q<0&&k(K),Q=K.deltaX,ie[0]=ie[1]=ie[2]=0),a&&(x&&K.deltaY>0&&x(K),b&&K.deltaY<0&&b(K),S&&S(K),C&&K.deltaY<0!=J<0&&C(K),J=K.deltaY,se[0]=se[1]=se[2]=0),(G||Y)&&(I&&I(K),Y&&(m(K),Y=!1),G=!1),$&&!($=!1)&&H&&H(K),X&&(P(K),X=!1),W=0},de=function(e,t,n){ie[n]+=e,se[n]+=t,K._vx.update(e),K._vy.update(t),i?W||(W=requestAnimationFrame(fe)):fe()},pe=function(e,t){U&&!q&&(K.axis=q=Math.abs(e)>Math.abs(t)?"x":"y",$=!0),"y"!==q&&(ie[2]+=e,K._vx.update(e,!0)),"x"!==q&&(se[2]+=t,K._vy.update(t,!0)),i?W||(W=requestAnimationFrame(fe)):fe()},he=function(e){if(!ue(e,1)){var t=(e=aS(e,s)).clientX,r=e.clientY,a=t-K.x,o=r-K.y,i=K.isDragging;K.x=t,K.y=r,(i||Math.abs(K.startX-t)>=n||Math.abs(K.startY-r)>=n)&&(m&&(Y=!0),i||(K.isDragging=!0),pe(a,o),i||p&&p(K))}},me=K.onPress=function(e){ue(e,1)||e&&e.button||(K.axis=q=null,V.pause(),K.isPressed=!0,e=aS(e),Q=J=0,K.startX=K.x=e.clientX,K.startY=K.y=e.clientY,K._vx.reset(),K._vy.reset(),X_(O?a:oe,M_[1],he,s,!0),K.deltaX=K.deltaY=0,g&&g(K))},ge=K.onRelease=function(e){if(!ue(e,1)){$_(O?a:oe,M_[1],he,!0);var t=!isNaN(K.y-K.startY),n=K.isDragging&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),r=aS(e);!n&&t&&(K._vx.reset(),K._vy.reset(),s&&B&&k_.delayedCall(.08,(function(){if(W_()-le>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(oe.createEvent){var t=oe.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,T_,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&!O&&V.restart(!0),h&&n&&h(K),v&&v(K,n)}},ve=function(e){return e.touches&&e.touches.length>1&&(K.isGesturing=!0)&&R(e,K.isDragging)},ye=function(){return(K.isGesturing=!1)||L(K)},we=function(e){if(!ue(e)){var t=Z(),n=ee();de((t-te)*z,(n-ne)*z,1),te=t,ne=n,l&&V.restart(!0)}},be=function(e){if(!ue(e)){e=aS(e,s),P&&(X=!0);var t=(1===e.deltaMode?o:2===e.deltaMode?T_.innerHeight:1)*f;de(e.deltaX*t,e.deltaY*t,0),l&&!O&&V.restart(!0)}},xe=function(e){if(!ue(e)){var t=e.clientX,n=e.clientY,r=t-K.x,a=n-K.y;K.x=t,K.y=n,G=!0,(r||a)&&pe(r,a)}},_e=function(e){K.event=e,T(K)},Se=function(e){K.event=e,A(K)},Ee=function(e){return ue(e)||aS(e,s)&&F(K)};V=K._dc=k_.delayedCall(c||.25,(function(){K._vx.reset(),K._vy.reset(),V.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=rS(0,50,!0),K._vy=rS(0,50,!0),K.scrollX=Z,K.scrollY=ee,K.isDragging=K.isGesturing=K.isPressed=!1,F_(this),K.enable=function(e){return K.isEnabled||(X_(ae?oe:a,"scroll",Q_),r.indexOf("scroll")>=0&&X_(ae?oe:a,"scroll",we,s,j),r.indexOf("wheel")>=0&&X_(a,"wheel",be,s,j),(r.indexOf("touch")>=0&&O_||r.indexOf("pointer")>=0)&&(X_(a,M_[0],me,s,j),X_(oe,M_[2],ge),X_(oe,M_[3],ge),B&&X_(a,"click",ce,!1,!0),F&&X_(a,"click",Ee),R&&X_(oe,"gesturestart",ve),L&&X_(oe,"gestureend",ye),T&&X_(a,R_+"enter",_e),A&&X_(a,R_+"leave",Se),I&&X_(a,R_+"move",xe)),K.isEnabled=!0,e&&e.type&&me(e),D&&D(K)),K},K.disable=function(){K.isEnabled&&(B_.filter((function(e){return e!==K&&G_(e.target)})).length||$_(ae?oe:a,"scroll",Q_),K.isPressed&&(K._vx.reset(),K._vy.reset(),$_(O?a:oe,M_[1],he,!0)),$_(ae?oe:a,"scroll",we,j),$_(a,"wheel",be,j),$_(a,M_[0],me,j),$_(oe,M_[2],ge),$_(oe,M_[3],ge),$_(a,"click",ce,!0),$_(a,"click",Ee),$_(oe,"gesturestart",ve),$_(oe,"gestureend",ye),$_(a,R_+"enter",_e),$_(a,R_+"leave",Se),$_(a,R_+"move",xe),K.isEnabled=K.isPressed=K.isDragging=!1,M&&M(K))},K.kill=K.revert=function(){K.disable();var e=B_.indexOf(K);e>=0&&B_.splice(e,1),D_===K&&(D_=0)},B_.push(K),O&&G_(a)&&(D_=K),K.enable(d)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&E_(t.prototype,n),e}();lS.version="3.12.2",lS.create=function(e){return new lS(e)},lS.register=sS,lS.getAll=function(){return B_.slice()},lS.getById=function(e){return B_.filter((function(t){return t.vars.id===e}))[0]},z_()&&k_.registerPlugin(lS);var cS,uS,fS,dS,pS,hS,mS,gS,vS,yS,wS,bS,xS,_S,SS,ES,kS,CS,TS,AS,IS,NS,OS,RS,LS,PS,DS,MS,FS,zS,jS,BS,US,HS,WS,VS,YS=1,GS=Date.now,XS=GS(),$S=0,qS=0,KS=function(e,t,n){var r=uE(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},QS=function(e,t){return!t||uE(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},JS=function e(){return qS&&requestAnimationFrame(e)},ZS=function(){return _S=1},eE=function(){return _S=0},tE=function(e){return e},nE=function(e){return Math.round(1e5*e)/1e5||0},rE=function(){return"undefined"!=typeof window},aE=function(){return cS||rE()&&(cS=window.gsap)&&cS.registerPlugin&&cS},oE=function(e){return!!~mS.indexOf(e)},iE=function(e){return("Height"===e?jS:fS["inner"+e])||pS["client"+e]||hS["client"+e]},sE=function(e){return Y_(e,"getBoundingClientRect")||(oE(e)?function(){return wk.width=fS.innerWidth,wk.height=jS,wk}:function(){return LE(e)})},lE=function(e,t){var n=t.s,r=t.d2,a=t.d,o=t.a;return Math.max(0,(n="scroll"+r)&&(o=Y_(e,n))?o()-sE(e)()[a]:oE(e)?(pS[n]||hS[n])-iE(r):e[n]-e["offset"+r])},cE=function(e,t){for(var n=0;n0){for(e-=a,o=0;o=e)return n[o];return n[o-1]}for(o=n.length,e+=a;o--;)if(n[o]<=e)return n[o];return n[0]}:function(n,r,a){void 0===a&&(a=.001);var o=t(n);return!r||Math.abs(o-n)n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in WE?WE[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},YE=function(e,t,n,r,a,o,i,s){var l=a.startColor,c=a.endColor,u=a.fontSize,f=a.indent,d=a.fontWeight,p=dS.createElement("div"),h=oE(n)||"fixed"===Y_(n,"pinType"),m=-1!==e.indexOf("scroller"),g=h?hS:n,v=-1!==e.indexOf("start"),y=v?l:c,w="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((m||s)&&h?"fixed;":"absolute;"),(m||s||!h)&&(w+=(r===eS?yE:wE)+":"+(o+parseFloat(f))+"px;"),i&&(w+="box-sizing:border-box;text-align:left;width:"+i.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=w,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+r.op.d2],GE(p,0,r,v),p},GE=function(e,t,n,r){var a={display:"block"},o=n[r?"os2":"p2"],i=n[r?"p2":"os2"];e._isFlipped=r,a[n.a+"Percent"]=r?-100:0,a[n.a]=r?"1px":0,a["border"+o+AE]=1,a["border"+i+AE]=0,a[n.p]=t+"px",cS.set(e,a)},XE=[],$E={},qE=function(){return GS()-$S>34&&(US||(US=requestAnimationFrame(dk)))},KE=function(){(!OS||!OS.isPressed||OS.startX>hS.clientWidth)&&(U_.cache++,OS?US||(US=requestAnimationFrame(dk)):dk(),$S||nk("scrollStart"),$S=GS())},QE=function(){PS=fS.innerWidth,LS=fS.innerHeight},JE=function(){U_.cache++,!xS&&!NS&&!dS.fullscreenElement&&!dS.webkitFullscreenElement&&(!RS||PS!==fS.innerWidth||Math.abs(fS.innerHeight-LS)>.25*fS.innerHeight)&&gS.restart(!0)},ZE={},ek=[],tk=function e(){return jE(Ck,"scrollEnd",e)||ck(!0)},nk=function(e){return ZE[e]&&ZE[e].map((function(e){return e()}))||ek},rk=[],ak=function(e){for(var t=0;tt)&&e.setPositions(e.start,Math.max(e.start+1,t),!0)})),n.forEach((function(e){return e&&e.render&&e.render(-1)})),U_.forEach((function(e){fE(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),ik(FS,1),gS.pause(),sk++,HS=2,dk(2),XE.forEach((function(e){return fE(e.vars.onRefresh)&&e.vars.onRefresh(e)})),HS=Ck.isRefreshing=!1,nk("refresh")}else zE(Ck,"scrollEnd",tk)},uk=0,fk=1,dk=function(e){if(!HS||2===e){Ck.isUpdating=!0,VS&&VS.update(0);var t=XE.length,n=GS(),r=n-XS>=50,a=t&&XE[0].scroll();if(fk=uk>a?-1:1,HS||(uk=a),r&&($S&&!_S&&n-$S>200&&($S=0,nk("scrollEnd")),wS=XS,XS=n),fk<0){for(ES=t;ES-- >0;)XE[ES]&&XE[ES].update(0,r);fk=1}else for(ES=0;ES20),n-=n-b}if(p&&(s[p]=e||-.001,e<0&&(e=0)),o){var S=e+n,E=o._isStart;h="scroll"+r.d2,GE(o,S,r,E&&S>20||!E&&(u?Math.max(hS[h],pS[h]):o.parentNode[h])<=S+1),u&&(l=LE(i),u&&(o.style[r.op.p]=l[r.op.p]-r.op.m-o._offset+NE))}return d&&g&&(h=LE(g),d.seek(f),m=LE(g),d._caScrollDist=h[r.p]-m[r.p],e=e/d._caScrollDist*f),d&&d.seek(v),d?e:Math.round(e)},xk=/(webkit|moz|length|cssText|inset)/i,_k=function(e,t,n,r){if(e.parentNode!==t){var a,o,i=e.style;if(t===hS){for(a in e._stOrig=i.cssText,o=OE(e))+a||xk.test(a)||!o[a]||"string"!=typeof i[a]||"0"===a||(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;cS.core.getCache(e).uncache=1,t.appendChild(e)}},Sk=function(e,t,n){var r=t,a=r;return function(t){var o=Math.round(e());return o!==r&&o!==a&&Math.abs(o-r)>3&&Math.abs(o-a)>3&&(t=o,n&&n()),a=r,r=t,t}},Ek=function(e,t,n){var r={};r[t.p]="+="+n,cS.set(e,r)},kk=function(e,t){var n=nS(e,t),r="_scroll"+t.p2,a=function t(a,o,i,s,l){var c=t.tween,u=o.onComplete,f={};i=i||n();var d=Sk(n,i,(function(){c.kill(),t.tween=0}));return l=s&&l||0,s=s||a-i,c&&c.kill(),o[r]=a,o.modifiers=f,f[r]=function(){return d(i+s*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){U_.cache++,dk()},o.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=cS.to(e,o)};return e[r]=n,n.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},zE(e,"wheel",n.wheelHandler),Ck.isTouch&&zE(e,"touchmove",n.wheelHandler),a},Ck=function(){function e(t,n){uS||e.register(cS)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),MS(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),qS){var r,a,o,i,s,l,c,u,f,d,p,h,m,g,v,y,w,b,x,_,S,E,k,C,T,A,I,N,O,R,L,P,D,M,F,z,j,B,U,H,W,V,Y=t=RE(uE(t)||dE(t)||t.nodeType?{trigger:t}:t,HE),G=Y.onUpdate,X=Y.toggleClass,$=Y.id,q=Y.onToggle,K=Y.onRefresh,Q=Y.scrub,J=Y.trigger,Z=Y.pin,ee=Y.pinSpacing,te=Y.invalidateOnRefresh,ne=Y.anticipatePin,re=Y.onScrubComplete,ae=Y.onSnapComplete,oe=Y.once,ie=Y.snap,se=Y.pinReparent,le=Y.pinSpacer,ce=Y.containerAnimation,ue=Y.fastScrollEnd,fe=Y.preventOverlaps,de=t.horizontal||t.containerAnimation&&!1!==t.horizontal?Z_:eS,pe=!Q&&0!==Q,he=tS(t.scroller||fS),me=cS.core.getCache(he),ge=oE(he),ve="fixed"===("pinType"in t?t.pinType:Y_(he,"pinType")||ge&&"fixed"),ye=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],we=pe&&t.toggleActions.split(" "),be="markers"in t?t.markers:HE.markers,xe=ge?0:parseFloat(OE(he)["border"+de.p2+AE])||0,_e=this,Se=t.onRefreshInit&&function(){return t.onRefreshInit(_e)},Ee=function(e,t,n){var r=n.d,a=n.d2,o=n.a;return(o=Y_(e,"getBoundingClientRect"))?function(){return o()[r]}:function(){return(t?iE(a):e["client"+a])||0}}(he,ge,de),ke=function(e,t){return!t||~H_.indexOf(e)?sE(e):function(){return wk}}(he,ge),Ce=0,Te=0,Ae=0,Ie=nS(he,de);if(_e._startClamp=_e._endClamp=!1,_e._dir=de,ne*=45,_e.scroller=he,_e.scroll=ce?ce.time.bind(ce):Ie,i=Ie(),_e.vars=t,n=n||t.animation,"refreshPriority"in t&&(AS=1,-9999===t.refreshPriority&&(VS=_e)),me.tweenScroll=me.tweenScroll||{top:kk(he,eS),left:kk(he,Z_)},_e.tweenTo=r=me.tweenScroll[de.p],_e.scrubDuration=function(e){(D=dE(e)&&e)?P?P.duration(e):P=cS.to(n,{ease:"expo",totalProgress:"+=0",duration:D,paused:!0,onComplete:function(){return re&&re(_e)}}):(P&&P.progress(1).kill(),P=0)},n&&(n.vars.lazy=!1,n._initted&&!_e.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),_e.animation=n.pause(),n.scrollTrigger=_e,_e.scrubDuration(Q),R=0,$||($=n.vars.id)),ie&&(pE(ie)&&!ie.push||(ie={snapTo:ie}),"scrollBehavior"in hS.style&&cS.set(ge?[hS,pS]:he,{scrollBehavior:"auto"}),U_.forEach((function(e){return fE(e)&&e.target===(ge?dS.scrollingElement||pS:he)&&(e.smooth=!1)})),o=fE(ie.snapTo)?ie.snapTo:"labels"===ie.snapTo?function(e){return function(t){return cS.utils.snap(DE(e),t)}}(n):"labelsDirectional"===ie.snapTo?(H=n,function(e,t){return ME(DE(H))(e,t.direction)}):!1!==ie.directional?function(e,t){return ME(ie.snapTo)(e,GS()-Te<500?0:t.direction)}:cS.utils.snap(ie.snapTo),M=ie.duration||{min:.1,max:2},M=pE(M)?yS(M.min,M.max):yS(M,M),F=cS.delayedCall(ie.delay||D/2||.1,(function(){var e=Ie(),t=GS()-Te<500,a=r.tween;if(!(t||Math.abs(_e.getVelocity())<10)||a||_S||Ce===e)_e.isActive&&Ce!==e&&F.restart(!0);else{var i=(e-l)/g,s=n&&!pe?n.totalProgress():i,u=t?0:(s-L)/(GS()-wS)*1e3||0,f=cS.utils.clamp(-i,1-i,gE(u/2)*u/.185),d=i+(!1===ie.inertia?0:f),p=yS(0,1,o(d,_e)),h=Math.round(l+p*g),m=ie,v=m.onStart,y=m.onInterrupt,w=m.onComplete;if(e<=c&&e>=l&&h!==e){if(a&&!a._initted&&a.data<=gE(h-e))return;!1===ie.inertia&&(f=p-i),r(h,{duration:M(gE(.185*Math.max(gE(d-s),gE(p-s))/u/.05||0)),ease:ie.ease||"power3",data:gE(h-e),onInterrupt:function(){return F.restart(!0)&&y&&y(_e)},onComplete:function(){_e.update(),Ce=Ie(),R=L=n&&!pe?n.totalProgress():_e.progress,ae&&ae(_e),w&&w(_e)}},e,f*g,h-e-f*g),v&&v(_e,r.tween)}}})).pause()),$&&($E[$]=_e),(U=(J=_e.trigger=tS(J||!0!==Z&&Z))&&J._gsap&&J._gsap.stRevert)&&(U=U(_e)),Z=!0===Z?J:tS(Z),uE(X)&&(X={targets:J,className:X}),Z&&(!1===ee||ee===TE||(ee=!(!ee&&Z.parentNode&&Z.parentNode.style&&"flex"===OE(Z.parentNode).display)&&CE),_e.pin=Z,(a=cS.core.getCache(Z)).spacer?v=a.pinState:(le&&((le=tS(le))&&!le.nodeType&&(le=le.current||le.nativeElement),a.spacerIsNative=!!le,le&&(a.spacerState=yk(le))),a.spacer=b=le||dS.createElement("div"),b.classList.add("pin-spacer"),$&&b.classList.add("pin-spacer-"+$),a.pinState=v=yk(Z)),!1!==t.force3D&&cS.set(Z,{force3D:!0}),_e.spacer=b=a.spacer,O=OE(Z),C=O[ee+de.os2],_=cS.getProperty(Z),S=cS.quickSetter(Z,de.a,NE),mk(Z,b,O),w=yk(Z)),be){h=pE(be)?RE(be,UE):UE,d=YE("scroller-start",$,he,de,h,0),p=YE("scroller-end",$,he,de,h,0,d),x=d["offset"+de.op.d2];var Ne=tS(Y_(he,"content")||he);u=this.markerStart=YE("start",$,Ne,de,h,x,0,ce),f=this.markerEnd=YE("end",$,Ne,de,h,x,0,ce),ce&&(B=cS.quickSetter([u,f],de.a,NE)),ve||H_.length&&!0===Y_(he,"fixedMarkers")||(V=OE(W=ge?hS:he).position,W.style.position="absolute"===V||"fixed"===V?V:"relative",cS.set([d,p],{force3D:!0}),A=cS.quickSetter(d,de.a,NE),N=cS.quickSetter(p,de.a,NE))}if(ce){var Oe=ce.vars.onUpdate,Re=ce.vars.onUpdateParams;ce.eventCallback("onUpdate",(function(){_e.update(0,0,1),Oe&&Oe.apply(ce,Re||[])}))}if(_e.previous=function(){return XE[XE.indexOf(_e)-1]},_e.next=function(){return XE[XE.indexOf(_e)+1]},_e.revert=function(e,t){if(!t)return _e.kill(!0);var r=!1!==e||!_e.enabled,a=xS;r!==_e.isReverted&&(r&&(z=Math.max(Ie(),_e.scroll.rec||0),Ae=_e.progress,j=n&&n.progress()),u&&[u,f,d,p].forEach((function(e){return e.style.display=r?"none":"block"})),r&&(xS=_e,_e.update(r)),!Z||se&&_e.isActive||(r?function(e,t,n){vk(n);var r=e._gsap;if(r.spacerIsNative)vk(r.spacerState);else if(e._gsap.swappedIn){var a=t.parentNode;a&&(a.insertBefore(e,t),a.removeChild(t))}e._gsap.swappedIn=!1}(Z,b,v):mk(Z,b,OE(Z),T)),r||_e.update(r),xS=a,_e.isReverted=r)},_e.refresh=function(a,o,h,x){if(!xS&&_e.enabled||o)if(Z&&a&&$S)zE(e,"scrollEnd",tk);else{!HS&&Se&&Se(_e),xS=_e,r.tween&&!h&&(r.tween.kill(),r.tween=0),P&&P.pause(),te&&n&&n.revert({kill:!1}).invalidate(),_e.isReverted||_e.revert(!0,!0),_e._subPinOffset=!1;var S,C,A,N,O,R,L,D,M,B,U,H,W,V=Ee(),Y=ke(),G=ce?ce.duration():lE(he,de),X=g<=.01,$=0,q=x||0,Q=pE(h)?h.end:t.end,ne=t.endTrigger||J,re=pE(h)?h.start:t.start||(0!==t.start&&J?Z?"0 0":"0 100%":0),ae=_e.pinnedContainer=t.pinnedContainer&&tS(t.pinnedContainer,_e),oe=J&&Math.max(0,XE.indexOf(_e))||0,ie=oe;for(be&&pE(h)&&(H=cS.getProperty(d,de.p),W=cS.getProperty(p,de.p));ie--;)(R=XE[ie]).end||R.refresh(0,1)||(xS=_e),!(L=R.pin)||L!==J&&L!==Z&&L!==ae||R.isReverted||(B||(B=[]),B.unshift(R),R.revert(!0,!0)),R!==XE[ie]&&(oe--,ie--);for(fE(re)&&(re=re(_e)),re=KS(re,"start",_e),l=bk(re,J,V,de,Ie(),u,d,_e,Y,xe,ve,G,ce,_e._startClamp&&"_startClamp")||(Z?-.001:0),fE(Q)&&(Q=Q(_e)),uE(Q)&&!Q.indexOf("+=")&&(~Q.indexOf(" ")?Q=(uE(re)?re.split(" ")[0]:"")+Q:($=VE(Q.substr(2),V),Q=uE(re)?re:(ce?cS.utils.mapRange(0,ce.duration(),ce.scrollTrigger.start,ce.scrollTrigger.end,l):l)+$,ne=J)),Q=KS(Q,"end",_e),c=Math.max(l,bk(Q||(ne?"100% 0":G),ne,V,de,Ie()+$,f,p,_e,Y,xe,ve,G,ce,_e._endClamp&&"_endClamp"))||-.001,$=0,ie=oe;ie--;)(L=(R=XE[ie]).pin)&&R.start-R._pinPush<=l&&!ce&&R.end>0&&(S=R.end-(_e._startClamp?Math.max(0,R.start):R.start),(L===J&&R.start-R._pinPush1&&(U={style:U=(ge?dS.scrollingElement||pS:he).style,value:U["overflow"+de.a.toUpperCase()]},ge&&"scroll"!==OE(hS)["overflow"+de.a.toUpperCase()]&&(U.style["overflow"+de.a.toUpperCase()]="scroll")),mk(Z,b,S),w=yk(Z),C=LE(Z,!0),D=ve&&nS(he,N?Z_:eS)(),ee&&((T=[ee+de.os2,g+q+NE]).t=b,(ie=ee===CE?PE(Z,de)+g+q:0)&&T.push(de.d,ie+NE),vk(T),ae&&XE.forEach((function(e){e.pin===ae&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),ve&&Ie(z)),ve&&((O={top:C.top+(N?A-l:D)+NE,left:C.left+(N?D:A-l)+NE,boxSizing:"border-box",position:"fixed"})[bE]=O["max"+AE]=Math.ceil(C.width)+NE,O[xE]=O["max"+IE]=Math.ceil(C.height)+NE,O[TE]=O[TE+EE]=O[TE+_E]=O[TE+kE]=O[TE+SE]="0",O[CE]=S[CE],O[CE+EE]=S[CE+EE],O[CE+_E]=S[CE+_E],O[CE+kE]=S[CE+kE],O[CE+SE]=S[CE+SE],y=function(e,t,n){for(var r,a=[],o=e.length,i=n?8:0;i1,ve&&I&&y.splice(y.length-2,2),n.render(0,!0,!0),M||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),IS(0)):k=g,U&&(U.value?U.style["overflow"+de.a.toUpperCase()]=U.value:U.style.removeProperty("overflow-"+de.a));else if(J&&Ie()&&!ce)for(C=J.parentNode;C&&C!==hS;)C._pinOffset&&(l-=C._pinOffset,c-=C._pinOffset),C=C.parentNode;B&&B.forEach((function(e){return e.revert(!1,!0)})),_e.start=l,_e.end=c,i=s=HS?z:Ie(),ce||HS||(i0?XE.slice(0,t).reverse():XE.slice(t+1);return(uE(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return _e.direction>0?e.end<=l:e.start>=c}))},_e.update=function(e,t,a){if(!ce||a||e){var o,u,f,p,h,m,v,x=!0===HS?z:_e.scroll(),_=e?0:(x-l)/g,T=_<0?0:_>1?1:_||0,O=_e.progress;if(t&&(s=i,i=ce?Ie():x,ie&&(L=R,R=n&&!pe?n.totalProgress():T)),ne&&!T&&Z&&!xS&&!YS&&$S&&lO?1:-1,_e.progress=T,p&&!xS&&(u=T&&!O?0:1===T?1:1===O?2:3,pe&&(f=!h&&"none"!==we[u+1]&&we[u+1]||we[u],v=n&&("complete"===f||"reset"===f||f in n))),fe&&(h||v)&&(v||Q||!n)&&(fE(fe)?fe(_e):_e.getTrailing(fe).forEach((function(e){return e.endAnimation()}))),pe||(!P||xS||YS?n&&n.totalProgress(T,!(!xS||!Te&&!e)):(P._dp._time-P._start!==P._time&&P.render(P._dp._time-P._start),P.resetTo?P.resetTo("totalProgress",T,n._tTime/n._tDur):(P.vars.totalProgress=T,P.invalidate().restart()))),Z)if(e&&ee&&(b.style[ee+de.os2]=C),ve){if(p){if(m=!e&&T>O&&c+1>x&&x+1>=lE(he,de),se)if(e||!o&&!m)_k(Z,b);else{var D=LE(Z,!0),M=x-l;_k(Z,hS,D.top+(de===eS?M:0)+NE,D.left+(de===eS?0:M)+NE)}vk(o||m?y:w),I&&T<1&&o||S(E+(1!==T||m?0:k))}}else S(nE(E+k*T));ie&&!r.tween&&!xS&&!YS&&F.restart(!0),X&&(h||oe&&T&&(T<1||!BS))&&vS(X.targets).forEach((function(e){return e.classList[o||oe?"add":"remove"](X.className)})),G&&!pe&&!e&&G(_e),p&&!xS?(pe&&(v&&("complete"===f?n.pause().totalProgress(1):"reset"===f?n.restart(!0).pause():"restart"===f?n.restart(!0):n[f]()),G&&G(_e)),!h&&BS||(q&&h&&mE(_e,q),ye[u]&&mE(_e,ye[u]),oe&&(1===T?_e.kill(!1,1):ye[u]=0),h||ye[u=1===T?1:3]&&mE(_e,ye[u])),ue&&!o&&Math.abs(_e.getVelocity())>(dE(ue)?ue:2500)&&(hE(_e.callbackAnimation),P?P.progress(1):hE(n,"reverse"===f?1:!T,1))):pe&&G&&!xS&&G(_e)}if(N){var j=ce?x/ce.duration()*(ce._caScrollDist||0):x;A(j+(d._isFlipped?1:0)),N(j)}B&&B(-x/ce.duration()*(ce._caScrollDist||0))}},_e.enable=function(t,n){_e.enabled||(_e.enabled=!0,zE(he,"resize",JE),ge||zE(he,"scroll",KE),Se&&zE(e,"refreshInit",Se),!1!==t&&(_e.progress=Ae=0,i=s=Ce=Ie()),!1!==n&&_e.refresh())},_e.getTween=function(e){return e&&r?r.tween:P},_e.setPositions=function(e,t,n,r){if(ce){var a=ce.scrollTrigger,o=ce.duration(),i=a.end-a.start;e=a.start+i*e/o,t=a.start+i*t/o}_e.refresh(!1,!1,{start:QS(e,n&&!!_e._startClamp),end:QS(t,n&&!!_e._endClamp)},r),_e.update()},_e.adjustPinSpacing=function(e){if(T&&e){var t=T.indexOf(de.d)+1;T[t]=parseFloat(T[t])+e+NE,T[1]=parseFloat(T[1])+e+NE,vk(T)}},_e.disable=function(t,n){if(_e.enabled&&(!1!==t&&_e.revert(!0,!0),_e.enabled=_e.isActive=!1,n||P&&P.pause(),z=0,a&&(a.uncache=1),Se&&jE(e,"refreshInit",Se),F&&(F.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!ge)){for(var o=XE.length;o--;)if(XE[o].scroller===he&&XE[o]!==_e)return;jE(he,"resize",JE),ge||jE(he,"scroll",KE)}},_e.kill=function(e,r){_e.disable(e,r),P&&!r&&P.kill(),$&&delete $E[$];var o=XE.indexOf(_e);o>=0&&XE.splice(o,1),o===ES&&fk>0&&ES--,o=0,XE.forEach((function(e){return e.scroller===_e.scroller&&(o=1)})),o||HS||(_e.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),u&&[u,f,d,p].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),VS===_e&&(VS=0),Z&&(a&&(a.uncache=1),o=0,XE.forEach((function(e){return e.pin===Z&&o++})),o||(a.spacer=0)),t.onKill&&t.onKill(_e)},XE.push(_e),_e.enable(!1,!1),U&&U(_e),n&&n.add&&!g){var Le=_e.update;_e.update=function(){_e.update=Le,l||c||_e.refresh()},cS.delayedCall(.01,_e.update),g=.01,l=c=0}else _e.refresh();Z&&function(){if(WS!==sk){var e=WS=sk;requestAnimationFrame((function(){return e===sk&&ck(!0)}))}}()}else this.update=this.refresh=this.kill=tE},e.register=function(t){return uS||(cS=t||aE(),rE()&&window.document&&e.enable(),uS=qS),uS},e.defaults=function(e){if(e)for(var t in e)HE[t]=e[t];return HE},e.disable=function(e,t){qS=0,XE.forEach((function(n){return n[t?"kill":"disable"](e)})),jE(fS,"wheel",KE),jE(dS,"scroll",KE),clearInterval(bS),jE(dS,"touchcancel",tE),jE(hS,"touchstart",tE),FE(jE,dS,"pointerdown,touchstart,mousedown",ZS),FE(jE,dS,"pointerup,touchend,mouseup",eE),gS.kill(),cE(jE);for(var n=0;n0&&r.left+a0&&r.top+a=0&&rk.splice(t,5),rk.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),cS.core.getCache(e),MS())}})):rk},Ck.revert=function(e,t){return ok(!e,t)},Ck.create=function(e,t){return new Ck(e,t)},Ck.refresh=function(e){return e?JE():(uS||Ck.register())&&ck(!0)},Ck.update=function(e){return++U_.cache&&dk(!0===e?2:0)},Ck.clearScrollMemory=ik,Ck.maxScroll=function(e,t){return lE(e,t?Z_:eS)},Ck.getScrollFunc=function(e,t){return nS(tS(e),t?Z_:eS)},Ck.getById=function(e){return $E[e]},Ck.getAll=function(){return XE.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Ck.isScrolling=function(){return!!$S},Ck.snapDirectional=ME,Ck.addEventListener=function(e,t){var n=ZE[e]||(ZE[e]=[]);~n.indexOf(t)||n.push(t)},Ck.removeEventListener=function(e,t){var n=ZE[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Ck.batch=function(e,t){var n,r=[],a={},o=t.interval||.016,i=t.batchMax||1e9,s=function(e,t){var n=[],r=[],a=cS.delayedCall(o,(function(){t(n,r),n=[],r=[]})).pause();return function(e){n.length||a.restart(!0),n.push(e.trigger),r.push(e),i<=n.length&&a.progress(1)}};for(n in t)a[n]="on"===n.substr(0,2)&&fE(t[n])&&"onRefreshInit"!==n?s(0,t[n]):t[n];return fE(i)&&(i=i(),zE(Ck,"refresh",(function(){return i=t.batchMax()}))),vS(e).forEach((function(e){var t={};for(n in a)t[n]=a[n];t.trigger=e,r.push(Ck.create(t))})),r};var Tk,Ak=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ik=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(lS.isTouch?" pinch-zoom":""):"none",t===pS&&e(hS,n)},Nk={auto:1,scroll:1},Ok=function(e){var t,n=e.event,r=e.target,a=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,i=o._gsap||cS.core.getCache(o),s=GS();if(!i._isScrollT||s-i._isScrollT>2e3){for(;o&&o!==hS&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Nk[(t=OE(o)).overflowY]&&!Nk[t.overflowX]);)o=o.parentNode;i._isScroll=o&&o!==r&&!oE(o)&&(Nk[(t=OE(o)).overflowY]||Nk[t.overflowX]),i._isScrollT=s}(i._isScroll||"x"===a)&&(n.stopPropagation(),n._gsapAllow=!0)},Rk=function(e,t,n,r){return lS.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Ok,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&zE(dS,lS.eventTypes[0],Pk,!1,!0)},onDisable:function(){return jE(dS,lS.eventTypes[0],Pk,!0)}})},Lk=/(input|label|select|textarea)/i,Pk=function(e){var t=Lk.test(e.target.tagName);(t||Tk)&&(e._gsapAllow=!0,Tk=t)};function Dk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn&&(y()>n?o.progress(1)&&y(n):o.resetTo("scrollY",n))};return v&&cS.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return DS&&"touchmove"===e.type&&function(){if(a){requestAnimationFrame(k);var e=nE(t.deltaY/2),n=T(y.v-e);if(v&&n!==y.v+y.offset){y.offset=n-y.v;var r=nE((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",y.cacheID=U_.cache,dk()}return!0}y.offset&&I(),a=!0}()||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){a=!1;var e=b;b=nE((fS.visualViewport&&fS.visualViewport.scale||1)/x),o.pause(),e!==b&&Ik(h,b>1.01||!u&&"x"),i=w(),s=y(),A(),r=sk},e.onRelease=e.onGestureStart=function(e,t){if(y.offset&&I(),t){U_.cache++;var r,a,i=S();u&&(a=(r=w())+.05*i*-e.velocityX/.227,i*=Ak(w,r,a,lE(h,Z_)),o.vars.scrollX=C(a)),a=(r=y())+.05*i*-e.velocityY/.227,i*=Ak(y,r,a,lE(h,eS)),o.vars.scrollY=T(a),o.invalidate().duration(i).play(.01),(DS&&o.vars.scrollY>=n||r>=n-1)&&cS.to({},{onUpdate:N,duration:i})}else l.restart(!0);p&&p(e)},e.onWheel=function(){o._ts&&o.pause(),GS()-_>1e3&&(r=0,_=GS())},e.onChange=function(e,t,n,a,o){if(sk!==r&&A(),t&&u&&w(C(a[2]===t?i+(e.startX-e.x):w()+t-a[1])),n){y.offset&&I();var l=o[2]===n,c=l?s+e.startY-e.y:y()+n-o[1],f=T(c);l&&c!==f&&(s+=f-c),y(f)}(n||t)&&dk()},e.onEnable=function(){Ik(h,!u&&"x"),Ck.addEventListener("refresh",N),zE(fS,"resize",N),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=w.smooth=!1),E.enable()},e.onDisable=function(){Ik(h,!0),jE(fS,"resize",N),Ck.removeEventListener("refresh",N),E.kill()},e.lockAxis=!1!==e.lockAxis,(t=new lS(e)).iOS=DS,DS&&!y()&&y(1),DS&&cS.ticker.add(tE),l=t._dc,o=cS.to(t,{ease:"power4",paused:!0,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Sk(y,y(),(function(){return o.pause()}))},onUpdate:dk,onComplete:l.vars.onComplete}),t}(e);return OS&&OS.target===t.target&&OS.kill(),oE(t.target)&&(OS=t),t},Ck.core={_getVelocityProp:rS,_inputObserver:Rk,_scrollers:U_,_proxies:H_,bridge:{ss:function(){$S||nk("scrollStart"),$S=GS()},ref:function(){return xS}}},aE()&&cS.registerPlugin(Ck),yf.registerPlugin(Ck);var Mk=function(t){var n,r,a=t.data,o=(0,e.useRef)(),i=(0,e.useContext)(b_),s=i.finished,l=i.a_ref,c=i.downloadState,u=i.setDownloadState,f=i.iosIsDownloading,d=i.setIosIsDownloading,p=(0,hh.useClipboard)(),h=(n=(0,e.useState)(1),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Dk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dk(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=h[0],g=h[1],v=function(t,n){Hg(e.createElement("span",null,"正在下载视频",n,": ",e.createElement("span",{style:{color:"rgb(96, 165, 250)",width:"66px",display:"inline-block",textAlign:"right"}},t,"%")),"downloading_video"+n)},y=function(e){jg.dismiss("downloading_video"+e),Ug("视频"+e+"下载完毕 !","finished_video"+e)},w=a?Math.ceil(a.length/10):0;m>w&&g(1);var b=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=function(){if(!a)return console.error("[Error] data is null."),[];var e=10*(m-1),t=e+10;return t>a.length&&(t=a.length),t-e}();b&&null===b.current?b.current=yf.fromTo(".gsap_popup_a",{y:e>3?240:e>2?160:80,opacity:0},{scrollTrigger:{trigger:"#rootWrapper",start:"top+=920 bottom",end:"top+=".concat(e>4?1860:e>3?1760:e>2?1660:2===e?1460:1260," bottom"),scrub:1.5},y:0,opacity:1,duration:e>1?1.5:1,ease:"power1.out",repeat:0}):b&&(b.current.kill(),b.current=yf.fromTo(".gsap_popup_a",{y:e>3?240:e>2?160:80,opacity:0},{scrollTrigger:{trigger:"#rootWrapper",start:"top+=920 bottom",end:"top+=".concat(e>4?1860:e>3?1760:e>2?1660:2===e?1460:1260," bottom"),scrub:1.5},y:0,opacity:1,duration:e>1?1.5:1,ease:"power1.out",repeat:0}))}),[m,a.length]),e.createElement("div",null,e.createElement(zk,{ref:o},"锚点"),e.createElement(jk,{id:"dataContainer",className:"gsap_popup_a"},e.createElement(Bk,null,"共 ",e.createElement(Uk,null,a?a.length:" - ")," 个分P"),function(){if(!a)return console.error("[Error] data is null."),[];var e=10*(m-1),t=e+10;return a.slice(e,t)}().map((function(t,n){return e.createElement(Hk,{key:n,className:"gsap_popup_a"},e.createElement(Wk,null,e.createElement(w_,null,e.createElement(Vk,null,"P",e.createElement(Yk,null,t.index+1)))),e.createElement(w_,null,e.createElement(Gk,null,e.createElement(Xk,null,e.createElement("span",null,"时"),e.createElement("span",null,"长")),e.createElement($k,null,t.durationFormat))),e.createElement(w_,null,e.createElement(qk,null,e.createElement("span",null,"原尺寸"),e.createElement("span",null,e.createElement(Kk,null,t.width),e.createElement(mi,{icon:Cn.g8}),e.createElement(Qk,null,t.height)))),e.createElement(w_,null,e.createElement(fx,{icon:e.createElement(Jk,{icon:d_.kZ}),placeholder:"无分P标题",desc:"分P视频标题",id:"input_title_sub"+n,text:t.title||"",iconOnClick:function(){t?(p.copy(t.title),Ug("P"+(t.index+1)+" 视频标题Copied !","sub_title_"+(t.index+1)+"_copy")):Bg("P"+(t.index+1)+" 视频标题 Copy失败 !","sub_title_"+(t.index+1)+"_copy_error")},data_tooltip_id:"p_title_tooltip"+n,data_tooltip_content:t?t.title:"",data_tooltip_variant:"info",readOnly:!0}),e.createElement(Zk,{id:"p_title_tooltip"+n,place:"top"})),e.createElement(eC,null,e.createElement(tC,{disabled:!s,h:"36px",w:"140px",onClick:function(){p.copy(t.url),Ug("P"+(t.index+1)+" 视频URL Copied !","video_url_copy")}},s?e.createElement(e.Fragment,null,"视频URL",e.createElement(rC,{icon:d_.kZ,beat:!0})):e.createElement(e.Fragment,null,"暂无解析",e.createElement(nC,{icon:d_.kZ,fade:!0}))),e.createElement(aC,{disabled:!s||c.get(t.index)||f,h:"36px",w:"140px",onClick:function(){if(t){var e=l.current;u((function(e){var n=new Map(e);return n.set(t.index,!0),n})),_i()&&d((function(e){return!0})),xi(t.url,v,y,t.index+1).then((function(n){e.href=URL.createObjectURL(n),e.download="P"+(t.index+1)+" - "+t.title+".mp4",e.click();var r=JSON.parse(decodeURIComponent(sessionStorage.getItem("bilibili_states"))),a=new Map(r.downloadStateArray);a.set(t.index,!1),r.downloadStateArray=Array.from(a),sessionStorage.setItem("bilibili_states",encodeURIComponent(JSON.stringify(r))),u((function(e){var n=new Map(e);return n.set(t.index,!1),n})),_i()&&d((function(e){return!1}))})).catch((function(e){console.log(e),Bg("视频".concat(t.index+1,"下载被中断,请重试 !"),"download_video_error"+(t.index+1));var n=JSON.parse(decodeURIComponent(sessionStorage.getItem("bilibili_states"))),r=new Map(n.downloadStateArray);r.set(t.index,!1),n.downloadStateArray=Array.from(r),sessionStorage.setItem("bilibili_states",encodeURIComponent(JSON.stringify(n))),u((function(e){var n=new Map(e);return n.set(t.index,!1),n})),_i()&&d((function(e){return!1}))}))}}},s?c.get(t.index)?e.createElement(e.Fragment,null,"下载中",e.createElement(iC,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"下载视频",e.createElement(sC,{icon:Fx.q7,beat:!0})):e.createElement(e.Fragment,null,"暂无解析",e.createElement(oC,{icon:__.Cj,fade:!0})))))}))),w>1?e.createElement(lC,null,e.createElement($g,{content:"Last",onClick:function(){m>1&&g(m-1),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},e.createElement(cC,{icon:jx.ac})),e.createElement("div",{id:"paginationContainer"},e.createElement(w_,{className:"pagination"},function(){var t=[];if(w<=3)for(var n=function(n){t.push(e.createElement(qg,{key:n,active:m===n,onClick:function(){g(n),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},n))},r=1;r<=w;r++)n(r);else t.push(e.createElement(w_,null,e.createElement(qg,{key:m,active:!0,onClick:function(){setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},m),e.createElement(Fk,null,"/"),e.createElement(qg,{key:"totalPages",onClick:function(){g(w),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100)}},w))),t.push(e.createElement(Ih,{closeClassName:"closeClassName",animate:"b.3",button:e.createElement(qg,{key:"morePage"},e.createElement(mi,{icon:S_.gf})),menu:e.createElement(Oh,{closeClassName:"closeClassName",_b:"12px",_l:"-35px",validText:"第 ".concat(m," 页"),list:Array.from({length:w},(function(e,t){return"第 "+(t+1)+" 页"})),onClick:function(e){e.target.id.includes("pageLi_")&&(g(parseInt(e.target.id.slice(7),10)),setTimeout((function(){o.current.scrollIntoView({behavior:"smooth"})}),100))}})}));return t}())),e.createElement($g,{content_direction:"before",content:"Next",onClick:function(){m=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function hC(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function mC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]);function GC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return XC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XC(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function XC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function ZC(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function eT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tT(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]),QT=i(3162),JT={version:"0.18.5"},ZT=1200,eA=1252,tA=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],nA={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},rA=function(e){-1!=tA.indexOf(e)&&(eA=nA[0]=e)},aA=function(e){ZT=e,rA(e)};var oA,iA=function(e){return String.fromCharCode(e)},sA=function(e){return String.fromCharCode(e)},lA=null,cA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function uA(e){for(var t="",n=0,r=0,a=0,o=0,i=0,s=0,l=0,c=0;c>2,i=(3&n)<<4|(r=e.charCodeAt(c++))>>4,s=(15&r)<<2|(a=e.charCodeAt(c++))>>6,l=63&a,isNaN(r)?s=l=64:isNaN(a)&&(l=64),t+=cA.charAt(o)+cA.charAt(i)+cA.charAt(s)+cA.charAt(l);return t}function fA(e){var t="",n=0,r=0,a=0,o=0,i=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l>4,t+=String.fromCharCode(n),r=(15&o)<<4|(i=cA.indexOf(e.charAt(l++)))>>2,64!==i&&(t+=String.fromCharCode(r)),a=(3&i)<<6|(s=cA.indexOf(e.charAt(l++))),64!==s&&(t+=String.fromCharCode(a));return t}var dA=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),pA=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function hA(e){return dA?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function mA(e){return dA?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var gA=function(e){return dA?pA(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function vA(e){if("undefined"==typeof ArrayBuffer)return gA(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function yA(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n=0;)t+=e.charAt(n--);return t}function SA(e,t){var n=""+e;return n.length>=t?n:LI("0",t-n.length)+n}function EA(e,t){var n=""+e;return n.length>=t?n:LI(" ",t-n.length)+n}function kA(e,t){var n=""+e;return n.length>=t?n:n+LI(" ",t-n.length)}var CA=Math.pow(2,32);function TA(e,t){return e>CA||e<-CA?function(e,t){var n=""+Math.round(e);return n.length>=t?n:LI("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:LI("0",t-n.length)+n}(Math.round(e),t)}function AA(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var IA=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],NA=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],OA={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},RA={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},LA={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function PA(e,t,n){for(var r=e<0?-1:1,a=e*r,o=0,i=1,s=0,l=1,c=0,u=0,f=Math.floor(a);ct&&(c>t?(u=l,s=o):(u=c,s=i)),!n)return[0,r*s,u];var d=Math.floor(r*s/u);return[d,r*s-d*u,u]}function DA(e,t,n){if(e>2958465||e<0)return null;var r=0|e,a=Math.floor(86400*(e-r)),o=0,i=[],s={D:r,T:a,u:86400*(e-r)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++r,++s.D)),60===r)i=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)i=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),i=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=function(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}(l,i))}return s.y=i[0],s.m=i[1],s.d=i[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=o,s}var MA=new Date(1899,11,31,0,0,0),FA=MA.getTime(),zA=new Date(1900,2,1,0,0,0);function jA(e,t){var n=e.getTime();return t?n-=1262304e5:e>=zA&&(n+=864e5),(n-(FA+6e4*(e.getTimezoneOffset()-MA.getTimezoneOffset())))/864e5}function BA(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function UA(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):function(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=BA(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=BA(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),BA(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return sI(14,jA(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function HA(e,t,n,r){var a,o="",i=0,s=0,l=n.y,c=0;switch(e){case 98:l=n.y+543;case 121:switch(t.length){case 1:case 2:a=l%100,c=2;break;default:a=l%1e4,c=4}break;case 109:switch(t.length){case 1:case 2:a=n.m,c=t.length;break;case 3:return NA[n.m-1][1];case 5:return NA[n.m-1][0];default:return NA[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=n.d,c=t.length;break;case 3:return IA[n.q][0];default:return IA[n.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(s=r>=2?3===r?1e3:100:1===r?10:1,(i=Math.round(s*(n.S+n.u)))>=60*s&&(i=0),"s"===t?0===i?"0":""+i/s:(o=SA(i,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):SA(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*n.D+n.H;break;case"[m]":case"[mm]":a=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":a=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:a=l,c=1}return c>0?SA(a,c):""}function WA(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var VA=/%/g;function YA(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+YA(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),-1===(n=(t/Math.pow(10,o)).toPrecision(r+1+(a+o)%a)).indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(i-n.length+o):n+="E+"+(i-o);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,a)+"."+n.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var GA=/# (\?+)( ?)\/( ?)(\d+)/,XA=/^#*0*\.([0#]+)/,$A=/\).*[0#]/,qA=/\(###\) ###\\?-####/;function KA(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function QA(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function JA(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function ZA(e,t,n){if(40===e.charCodeAt(0)&&!t.match($A)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?ZA("n",r,n):"("+ZA("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return nI(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(VA,""),a=t.length-r.length;return nI(e,r,n*Math.pow(10,2*a))+LI("%",a)}(e,t,n);if(-1!==t.indexOf("E"))return YA(t,n);if(36===t.charCodeAt(0))return"$"+ZA(e,t.substr(" "==t.charAt(1)?2:1),n);var a,o,i,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+TA(l,t.length);if(t.match(/^[#?]+$/))return"0"===(a=TA(n,0))&&(a=""),a.length>t.length?a:KA(t.substr(0,t.length-a.length))+a;if(o=t.match(GA))return function(e,t,n){var r=parseInt(e[4],10),a=Math.round(t*r),o=Math.floor(a/r),i=a-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===i?LI(" ",e[1].length+1+e[4].length):EA(i,e[1].length)+e[2]+"/"+e[3]+SA(s,e[4].length))}(o,l,c);if(t.match(/^#+0+$/))return c+TA(l,t.length-t.indexOf("0"));if(o=t.match(XA))return a=QA(n,o[1].length).replace(/^([^\.]+)$/,"$1."+KA(o[1])).replace(/\.$/,"."+KA(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+LI("0",KA(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+QA(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+WA(TA(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+ZA(e,t,-n):WA(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,o[1].length)))+"."+SA(JA(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return ZA(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=_A(ZA(e,t.replace(/[\\-]/g,""),n)),i=0,_A(_A(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?SA(0,3-e.length):"")+e}))+"."+SA(i,o[1].length);switch(t){case"###,##0.00":return ZA(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var p=WA(TA(l,0));return"0"!==p?c+p:"";case"###,###.00":return ZA(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return ZA(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function eI(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+eI(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),!(n=(t/Math.pow(10,o)).toPrecision(r+1+(a+o)%a)).match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(i-n.length+o):n+="E+"+(i-o),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function tI(e,t,n){if(40===e.charCodeAt(0)&&!t.match($A)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?tI("n",r,n):"("+tI("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return nI(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(VA,""),a=t.length-r.length;return nI(e,r,n*Math.pow(10,2*a))+LI("%",a)}(e,t,n);if(-1!==t.indexOf("E"))return eI(t,n);if(36===t.charCodeAt(0))return"$"+tI(e,t.substr(" "==t.charAt(1)?2:1),n);var a,o,i,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+SA(l,t.length);if(t.match(/^[#?]+$/))return a=""+n,0===n&&(a=""),a.length>t.length?a:KA(t.substr(0,t.length-a.length))+a;if(o=t.match(GA))return function(e,t,n){return n+(0===t?"":""+t)+LI(" ",e[1].length+2+e[4].length)}(o,l,c);if(t.match(/^#+0+$/))return c+SA(l,t.length-t.indexOf("0"));if(o=t.match(XA))return a=(a=(""+n).replace(/^([^\.]+)$/,"$1."+KA(o[1])).replace(/\.$/,"."+KA(o[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+LI("0",KA(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+WA(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+tI(e,t,-n):WA(""+n)+"."+LI("0",o[1].length);if(o=t.match(/^#,#*,#0/))return tI(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=_A(tI(e,t.replace(/[\\-]/g,""),n)),i=0,_A(_A(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;default:++t}return!1}var oI=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function iI(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function sI(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:OA)[e])&&(r=n.table&&n.table[RA[e]]||OA[RA[e]]),null==r&&(r=LA[e]||"General")}if(AA(r,0))return UA(t,n);t instanceof Date&&(t=jA(t,n.date1904));var a=function(e,t){var n=function(e){for(var t=[],n=!1,r=0,a=0;r-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||a>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=a>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=a>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=a>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var i=n[0].match(oI),s=n[1].match(oI);return iI(t,i)?[r,n[0]]:iI(t,s)?[r,n[1]]:[r,n[null!=i&&null!=s?2:1]]}return[r,o]}(r,t);if(AA(a[1]))return UA(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,r){for(var a,o,i,s=[],l="",c=0,u="",f="t",d="H";c=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";s[s.length]=m,f=u;break;case"[":for(l=u;"]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",aI(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=u;++c-1;)l+=u;s[s.length]={t:"n",v:l};break;case"?":for(l=u;e.charAt(++c)===u;)l+=u;s[s.length]={t:u,v:l},f=u;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=u;c-1;)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++c}var g,v=0,y=0;for(c=s.length-1,f="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,f="h",v<1&&(v=1);break;case"s":(g=s[c].v.match(/\.0+$/))&&(y=Math.max(y,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[c].t;break;case"m":"s"===f&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var w,b="";for(c=0;c0){40==b.charCodeAt(0)?(x=t<0&&45===b.charCodeAt(0)?-t:t,_=nI("n",b,x)):(_=nI("n",b,x=t<0&&r>1?-t:t),x<0&&s[0]&&"t"==s[0].t&&(_=_.substr(1),s[0].v="-"+s[0].v)),w=_.length-1;var E=s.length;for(c=0;c-1){E=c;break}var k=s.length;if(E===s.length&&-1===_.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(w>=s[c].v.length-1?(w-=s[c].v.length,s[c].v=_.substr(w+1,s[c].v.length)):w<0?s[c].v="":(s[c].v=_.substr(0,w+1),w=-1),s[c].t="t",k=c);w>=0&&k=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===E?s[c].v.indexOf(".")-1:s[c].v.length-1,S=s[c].v.substr(o+1);o>=0;--o)w>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(S=_.charAt(w--)+S);s[c].v=S,s[c].t="t",k=c}for(w>=0&&k-1&&c===E?s[c].v.indexOf(".")+1:0,S=s[c].v.substr(0,o);o-1&&(x=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=nI(s[c].t,s[c].v,x),s[c].t="t");var C="";for(c=0;c!==s.length;++c)null!=s[c]&&(C+=s[c].v);return C}(a[1],t,n,a[0])}function lI(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=OA[n]){if(OA[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return OA[t]=e,t}function cI(e){for(var t=0;392!=t;++t)void 0!==e[t]&&lI(e[t],t)}function uI(){OA=function(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}()}var fI=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,dI=function(){var e={version:"1.2.0"},t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),n=function(e){var t=0,n=0,r=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)a[r]=e[r];for(r=0;256!=r;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=a[t]=n>>>8^e[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!=typeof Int32Array?a.subarray(256*r,256*r+256):a.slice(256*r,256*r+256);return o}(t),r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],u=n[7],f=n[8],d=n[9],p=n[10],h=n[11],m=n[12],g=n[13],v=n[14];return e.table=t,e.bstr=function(e,n){for(var r=-1^n,a=0,o=e.length;a>>8^t[255&(r^e.charCodeAt(a++))];return~r},e.buf=function(e,n){for(var y=-1^n,w=e.length-15,b=0;b>8&255]^m[e[b++]^y>>16&255]^h[e[b++]^y>>>24]^p[e[b++]]^d[e[b++]]^f[e[b++]]^u[e[b++]]^c[e[b++]]^l[e[b++]]^s[e[b++]]^i[e[b++]]^o[e[b++]]^a[e[b++]]^r[e[b++]]^t[e[b++]];for(w+=15;b>>8^t[255&(y^e[b++])];return~y},e.str=function(e,n){for(var r=-1^n,a=0,o=e.length,i=0,s=0;a>>8^t[255&(r^i)]:i<2048?r=(r=r>>>8^t[255&(r^(192|i>>6&31))])>>>8^t[255&(r^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),s=1023&e.charCodeAt(a++),r=(r=(r=(r=r>>>8^t[255&(r^(240|i>>8&7))])>>>8^t[255&(r^(128|i>>2&63))])>>>8^t[255&(r^(128|s>>6&15|(3&i)<<4))])>>>8^t[255&(r^(128|63&s))]):r=(r=(r=r>>>8^t[255&(r^(224|i>>12&15))])>>>8^t[255&(r^(128|i>>6&63))])>>>8^t[255&(r^(128|63&i))];return~r},e}(),pI=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function r(e){if("/"==e.charAt(e.length-1))return r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,r)}function o(e){BN(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),a=e.read_shift(2),o=e.l+a,i={};21589===r&&(1&(n=e.read_shift(1))&&(i.mtime=e.read_shift(4)),a>5&&(2&n&&(i.atime=e.read_shift(4)),4&n&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime))),e.l=o,t[r]=i}return t}function i(){return e||(e={})}function s(e,t){if(80==e[0]&&75==e[1])return ne(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=_(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",r=(dA&&Buffer.isBuffer(e)?e.toString("binary"):_(e)).split("\r\n"),a=0,o="";for(a=0;a0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),o.slice(0,n.length)!=n););var i=(r[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var s="--"+(i[1]||""),l={FileIndex:[],FullPaths:[]};d(l);var c,u=0;for(a=0;a=a&&(d-=a),!i[d]){l=[];var h=[];for(f=d;f>=0;){h[f]=!0,i[f]=!0,s[s.length]=f,l.push(e[f]);var m=n[Math.floor(4*f/r)];if(r<4+(p=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[m])break;if(h[f=RN(e[m],p)])break}o[d]={nodes:s,data:lN([l])}}return o}(E,o,h,p);k[o].name="!Directory",r>0&&i!==v&&(k[i].name="!MiniFAT"),k[h[0]].name="!FAT",k.fat_addrs=h,k.ssz=p;var C=[],T=[],A=[];!function(e,t,n,r,a,o,i,s){for(var c,d=0,p=r.length?2:0,h=t[e].data,m=0,g=0;m0&&d!==v&&(t[d].name="!StreamData")):w.size>=4096?(w.storage="fat",void 0===t[w.start]&&(t[w.start]=u(n,w.start,t.fat_addrs,t.ssz)),t[w.start].name=w.name,w.content=t[w.start].data.slice(0,w.size)):(w.storage="minifat",w.size<0?w.size=0:d!==v&&w.start!==v&&t[d]&&(w.content=l(w,t[d].data,(t[s]||{}).data))),w.content&&BN(w.content,0),o[c]=w,i.push(w)}}(o,k,E,C,r,{},T,i),function(e,t,n){for(var r=0,a=0,o=0,i=0,s=0,l=n.length,c=[],u=[];r0&&i>=0;)o.push(t.slice(i*g,i*g+g)),a-=g,i=RN(n,4*i);return 0===o.length?HN(0):wA(o).slice(0,e.size)}function c(e,t,n,r,a){var o=v;if(e===v){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=n[e],s=(r>>>2)-1;if(!i)return;for(var l=0;l=0;){a[l]=!0,o[o.length]=l,i.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=RN(e[u],c)}return{nodes:o,data:lN([i])}}function f(e,t){return new Date(1e3*(ON(e,t+4)/1e7*Math.pow(2,32)+ON(e,t)/1e7-11644473600))}function d(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(!pI.find(e,"/"+t)){var n=HN(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),p(e)}}(e)}function p(e,t){d(e);for(var a=!1,o=!1,i=e.FullPaths.length-1;i>=0;--i){var s=e.FileIndex[i];switch(s.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var l=new Date(1987,1,19),c=0,u=Object.create?Object.create(null):{},f=[];for(i=0;i1?1:-1,h.size=0,h.type=5;else if("/"==m.slice(-1)){for(c=i+1;c=f.length?-1:c,c=i+1;c=f.length?-1:c,h.type=1}else n(e.FullPaths[i+1]||"")==n(m)&&(h.R=i+1),h.type=2}}}function h(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},r=n.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(r="------="+r).slice(2)+'"',"","",""],o=e.FullPaths[0],i=o,s=e.FileIndex[0],l=1;l=32&&p<128&&++f;var m=f>=4*d/5;a.push(r),a.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),a.push("Content-Type: "+oe(s,i)),a.push(""),a.push(m?se(u):ie(u))}return a.push(r+"--\r\n"),a.join("\r\n")}(e,n);if(p(e),"zip"===n.fileType)return function(e,t){var n,r=t||{},o=[],i=[],s=HN(1),l=r.compression?8:0,c=0,u=0,f=0,d=0,p=e.FullPaths[0],h=p,g=e.FileIndex[0],v=[],y=0;for(c=1;c0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}for(var i=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+i+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var f=[1,u,c,s,i,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),o=HN(r[7]<<9),i=0,s=0;for(i=0;i<8;++i)o.write_shift(1,w[i]);for(i=0;i<8;++i)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),i=0;i<3;++i)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,r[2]),o.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:v),o.write_shift(4,r[3]),o.write_shift(-4,r[1]?r[0]-1:v),o.write_shift(4,r[1]),i=0;i<109;++i)o.write_shift(-4,i>9)));for(l(r[6]+7>>3);511&o.l;)o.write_shift(-4,x.ENDOFCHAIN);for(s=i=0,c=0;c=4096||(f.start=s,l(u+63>>6)));for(;511&o.l;)o.write_shift(-4,x.ENDOFCHAIN);for(i=0;i=4096)if(o.l=f.start+1<<9,dA&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+511&-512;else{for(c=0;c0&&f.size<4096)if(dA&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+63&-64;else{for(c=0;c>16|t>>8|t)}for(var T="undefined"!=typeof Uint8Array,A=T?new Uint8Array(256):[],I=0;I<256;++I)A[I]=C(I);function N(e,t){var n=A[255&e];return t<=8?n>>>8-t:(n=n<<8|A[e>>8&255],t<=16?n>>>16-t:(n=n<<8|A[e>>16&255])>>>24-t)}function O(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function R(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function L(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function P(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function D(e,t,n){var r=7&t,a=t>>>3,o=(1<>>r;return n<8-r?i&o:(i|=e[a+1]<<8-r,n<16-r?i&o:(i|=e[a+2]<<16-r,n<24-r?i&o:(i|=e[a+3]<<24-r)&o))}function M(e,t,n){var r=7&t,a=t>>>3;return r<=5?e[a]|=(7&n)<>8-r),t+3}function F(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function z(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=n,t+8}function j(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=255&n,e[r+2]=n>>>8,t+16}function B(e,t){var n=e.length,r=2*n>t?2*n:t+5,a=0;if(n>=t)return e;if(dA){var o=mA(r);if(e.copy)e.copy(o);else for(;a>r-f,i=(1<=0;--i)t[s|i<0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var a=0,o=0,i=T?new Uint16Array(32768):[];o0;)n[n.l++]=t[o++];a=8*n.l}else{a=M(n,a,+!(o+s!=t.length)+2);for(var l=0;s-- >0;){var c=t[o],u=-1,f=0;if((u=i[l=32767&(l<<5^c)])&&((u|=-32768&o)>o&&(u-=32768),u2){(c=r[f])<=22?a=z(n,a,A[c+1]>>1)-1:(z(n,a,3),z(n,a+=5,A[c-23]>>5),a+=3);var d=c<8?0:c-4>>2;d>0&&(j(n,a,f-E[c]),a+=d),c=e[o-u],a=z(n,a,A[c]>>3),a-=3;var p=c<4?0:c-2>>1;p>0&&(j(n,a,o-u-k[c]),a+=p);for(var h=0;h>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var o=0,i=T?new Uint8Array(19):U(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=T?new Uint8Array(8):U(8),u=T?new Uint8Array(8):U(8),f=i.length,d=0;d>8-h;for(var m=(1<<7-h)-1;m>=0;--m)K[p|m<>>=3){case 16:for(o=3+O(e,t),t+=2,p=g[g.length-1];o-- >0;)g.push(p);break;case 17:for(o=3+R(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+P(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(p),l>>0,s=0,l=0;0==(1&r);)if(r=R(e,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=Z(e,n),s=Q,l=J);;){!t&&i>>1==1?W[c]:$[c];if(n+=15&u,0==((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var d=o+E[u];f>0&&(d+=D(e,n,f),n+=f),c=D(e,n,l),n+=15&(u=r>>>1==1?V[c]:q[c]);var p=(u>>>=4)<4?0:u-2>>1,h=k[u];for(p>0&&(h+=D(e,n,p),n+=p),!t&&i>>3]|e[1+(n>>>3)]<<8;if(n+=32,m>0)for(!t&&i0;)a[o++]=e[n>>>3],n+=8}return t?[a,n+7>>>3]:[a.slice(0,o),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function te(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function ne(e,t){var n=e;BN(n,0);var r={FileIndex:[],FullPaths:[]};d(r,{root:t.root});for(var a=n.length-4;(80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0;)--a;n.l=a+4,n.l+=4;var i=n.read_shift(2);n.l+=6;var s=n.read_shift(4);for(n.l=s,a=0;a>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(i<<1),r}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var c=e.read_shift(4),u=e.read_shift(4),f=e.read_shift(2),d=e.read_shift(2),p="",h=0;h0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==AI.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function OI(e,t){if(dA&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return QI(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return QI(function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return QI(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return QI(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return n[e]||e}))}catch(e){}for(var r=[],a=0;a!=e.length;++a)r.push(String.fromCharCode(e[a]));return r.join("")}function RI(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=RI(e[n]));return t}function LI(e,t){for(var n="";n.length3&&-1==DI.indexOf(i))return n}else if(i.match(/[a-z]/))return n;return r<0||r>8099?n:(a>0||o>1)&&101!=r?t:e.match(/[^-0-9:,\/\\]/)?n:t}function FI(e,t,n){if(e.FullPaths){var r;if("string"==typeof n)return r=dA?pA(n):function(e){for(var t=[],n=0,r=e.length+250,a=hA(e.length+255),o=0;o>6&31,a[n++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var s=1023&e.charCodeAt(++o);a[n++]=240|i>>8&7,a[n++]=128|i>>2&63,a[n++]=128|s>>6&15|(3&i)<<4,a[n++]=128|63&s}else a[n++]=224|i>>12&15,a[n++]=128|i>>6&63,a[n++]=128|63&i;n>r&&(t.push(a.slice(0,n)),n=0,a=hA(65535),r=65530)}return t.push(a.slice(0,n)),wA(t)}(n),pI.utils.cfb_add(e,t,r);pI.utils.cfb_add(e,t,n)}else e.file(t,n)}function zI(){return pI.utils.cfb_new()}var jI='\r\n',BI=wI({""":'"',"'":"'",">":">","<":"<","&":"&"}),UI=/[&<>'"]/g,HI=/[\u0000-\u0008\u000b-\u001f]/g;function WI(e){return(e+"").replace(UI,(function(e){return BI[e]})).replace(HI,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function VI(e){return WI(e).replace(/ /g,"_x0020_")}var YI=/[\u0000-\u001f]/g;function GI(e){for(var t="",n=0,r=0,a=0,o=0,i=0,s=0;n191&&r<224?(i=(31&r)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&a)<<6|63&o):(s=((7&r)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function XI(e){var t,n,r,a=hA(2*e.length),o=1,i=0,s=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==s&&(a[i++]=255&s,a[i++]=s>>>8,s=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function $I(e){return pA(e,"binary").toString("utf8")}var qI="foo bar baz☃🍣",KI=dA&&($I(qI)==GI(qI)&&$I||XI(qI)==GI(qI)&&XI)||GI,QI=dA?function(e){return pA(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,r=0,a=0;n>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,a=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")},JI=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r"+t+""}function tN(e){return vI(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function nN(e,t,n){return"<"+e+(null!=n?tN(n):"")+(null!=t?(t.match(ZI)?' xml:space="preserve"':"")+">"+t+""}function rN(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}var aN={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},oN=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],iN={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},sN=function(e){for(var t=[],n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:pA(e)}))):sN(e)}:sN,cN=function(e,t,n){for(var r=[],a=t;a0?hN(e,t+4,t+4+n-1):""},gN=mN,vN=function(e,t){var n=ON(e,t);return n>0?hN(e,t+4,t+4+n-1):""},yN=vN,wN=function(e,t){var n=2*ON(e,t);return n>0?hN(e,t+4,t+4+n-1):""},bN=wN,xN=function(e,t){var n=ON(e,t);return n>0?uN(e,t+4,t+4+n):""},_N=xN,SN=function(e,t){var n=ON(e,t);return n>0?hN(e,t+4,t+4+n):""},EN=SN,kN=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==r?0==a?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,a+=Math.pow(2,52)),n*Math.pow(2,r-52)*a)}(e,t)},CN=kN,TN=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};dA&&(gN=function(e,t){if(!Buffer.isBuffer(e))return mN(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},yN=function(e,t){if(!Buffer.isBuffer(e))return vN(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},bN=function(e,t){if(!Buffer.isBuffer(e))return wN(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},_N=function(e,t){if(!Buffer.isBuffer(e))return xN(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},EN=function(e,t){if(!Buffer.isBuffer(e))return SN(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},CN=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):kN(e,t)},TN=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array}),void 0!==oA&&(uN=function(e,t,n){return oA.utils.decode(1200,e.slice(t,n)).replace(bA,"")},hN=function(e,t,n){return oA.utils.decode(65001,e.slice(t,n))},gN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(eA,e.slice(t+4,t+4+n-1)):""},yN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(ZT,e.slice(t+4,t+4+n-1)):""},bN=function(e,t){var n=2*ON(e,t);return n>0?oA.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},_N=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(1200,e.slice(t+4,t+4+n)):""},EN=function(e,t){var n=ON(e,t);return n>0?oA.utils.decode(65001,e.slice(t+4,t+4+n)):""});var AN=function(e,t){return e[t]},IN=function(e,t){return 256*e[t+1]+e[t]},NN=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},ON=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},RN=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},LN=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function PN(e,t){var n,r,a,o,i,s,l="",c=[];switch(t){case"dbcs":if(s=this.l,dA&&Buffer.isBuffer(this))l=this.slice(this.l,this.l+2*e).toString("utf16le");else for(i=0;i0?RN:LN)(this,this.l),this.l+=4,n):(r=ON(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?CN(this,this.l):CN([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:l=dN(this,this.l,e)}}return this.l+=e,l}var DN=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},MN=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},FN=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function zN(e,t,n){var r=0,a=0;if("dbcs"===n){for(a=0;a!=t.length;++a)FN(this,t.charCodeAt(a),this.l+2*a);r=2*t.length}else if("sbcs"===n){if(void 0!==oA&&874==eA)for(a=0;a!=t.length;++a){var o=oA.utils.encode(eA,t.charAt(a));this[this.l+a]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);r=t.length}else{if("hex"===n){for(;a>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,DN(this,t,this.l);break;case 8:if(r=8,"f"===n){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=r?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o>4|r}(this,t,this.l);break}case 16:break;case-4:r=4,MN(this,t,this.l)}}return this.l+=r,this}function jN(e,t){var n=dN(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function BN(e,t){e.l=t,e.read_shift=PN,e.chk=jN,e.write_shift=zN}function UN(e,t){e.l+=t}function HN(e){var t=hA(e);return BN(t,0),t}function WN(){var e=[],t=dA?256:2048,n=function(e){var t=HN(e);return BN(t,0),t},r=n(t),a=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e=128?1:0)+1,r>=128&&++a,r>=16384&&++a,r>=2097152&&++a;var i=e.next(a);o<=127?i.write_shift(1,o):(i.write_shift(1,128+(127&o)),i.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){i.write_shift(1,r);break}i.write_shift(1,128+(127&r)),r>>=7}r>0&&TN(n)&&e.push(n)}}function YN(e,t,n){var r=RI(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function GN(e,t,n){var r=RI(e);return r.s=YN(r.s,t.s,n),r.e=YN(r.e,t.s,n),r}function XN(e,t){if(e.cRel&&e.c<0)for(e=RI(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=RI(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=eO(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=n.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")),n}function $N(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?XN(e.s,t.biff)+":"+XN(e.e,t.biff):(e.s.rRel?"":"$")+KN(e.s.r)+":"+(e.e.rRel?"":"$")+KN(e.e.r):(e.s.cRel?"":"$")+JN(e.s.c)+":"+(e.e.cRel?"":"$")+JN(e.e.c)}function qN(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function KN(e){return""+(e+1)}function QN(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function JN(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ZN(e){for(var t=0,n=0,r=0;r=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(n=26*n+(a-64))}return{c:n-1,r:t-1}}function eO(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function tO(e){var t=e.indexOf(":");return-1==t?{s:ZN(e),e:ZN(e)}:{s:ZN(e.slice(0,t)),e:ZN(e.slice(t+1))}}function nO(e,t){return void 0===t||"number"==typeof t?nO(e.s,e.e):("string"!=typeof e&&(e=eO(e)),"string"!=typeof t&&(t=eO(t)),e==t?e:e+":"+t)}function rO(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,a=0,o=e.length;for(n=0;r26);++r)n=26*n+a;for(t.s.c=--n,n=0;r9);++r)n=10*n+a;if(t.s.r=--n,r===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o&&!((a=e.charCodeAt(r)-64)<1||a>26);++r)n=26*n+a;for(t.e.c=--n,n=0;r!=o&&!((a=e.charCodeAt(r)-48)<0||a>9);++r)n=10*n+a;return t.e.r=--n,t}function aO(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?zO[e.v]||e.v:function(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=sI(e.z,n?_I(t):t)}catch(e){}try{return e.w=sI((e.XF||{}).numFmtId||(n?14:0),n?_I(t):t)}catch(e){return""+t}}(e,null==t?e.v:t))}function oO(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function iO(e,t,n){var r=n||{},a=e?Array.isArray(e):r.dense;null!=lA&&null==a&&(a=lA);var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)i=r.origin;else{var l="string"==typeof r.origin?ZN(r.origin):r.origin;i=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=rO(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==i&&(c.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=t[f].length;++d)if(void 0!==t[f][d]){var p={v:t[f][d]},h=i+f,m=s+d;if(c.s.r>h&&(c.s.r=h),c.s.c>m&&(c.s.c=m),c.e.r0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function fO(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function dO(e,t){var n=e.l,r=e.read_shift(1),a=cO(e),o=[],i={t:a,h:a};if(0!=(1&r)){for(var s=e.read_shift(4),l=0;l!=s;++l)o.push(fO(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=n+t,i}var pO=dO;function hO(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function mO(e,t){return null==t&&(t=HN(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function gO(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function vO(e,t){return null==t&&(t=HN(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var yO=cO,wO=uO;function bO(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function xO(e,t){var n=!1;return null==t&&(n=!0,t=HN(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var _O=cO,SO=bO,EO=xO;function kO(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4;var a=0===r?CN([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):RN(t,0)>>2;return n?a/100:a}function CO(e,t){null==t&&(t=HN(4));var n=0,r=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?a:e)<<2)+(n+2))}function TO(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var AO=TO,IO=function(e,t){return t||(t=HN(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function NO(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function OO(e,t){return(t||HN(8)).write_shift(8,e,"f")}function RO(e,t){if(t||(t=HN(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}var LO=80,PO={1:{n:"CodePage",t:2},2:{n:"Category",t:LO},3:{n:"PresentationFormat",t:LO},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:LO},15:{n:"Company",t:LO},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:LO},27:{n:"ContentStatus",t:LO},28:{n:"Language",t:LO},29:{n:"Version",t:LO},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},DO={1:{n:"CodePage",t:2},2:{n:"Title",t:LO},3:{n:"Subject",t:LO},4:{n:"Author",t:LO},5:{n:"Keywords",t:LO},6:{n:"Comments",t:LO},7:{n:"Template",t:LO},8:{n:"LastAuthor",t:LO},9:{n:"RevNumber",t:LO},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:LO},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function MO(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var FO=RI(MO([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),zO={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},jO={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},BO={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function UO(e,t){var n,r=function(e){for(var t=[],n=vI(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(jO),a=[];a[a.length]=jI,a[a.length]=nN("Types",null,{xmlns:aN.CT,"xmlns:xsd":aN.xsd,"xmlns:xsi":aN.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return nN("Default",null,{Extension:e[0],ContentType:e[1]})})));var o=function(r){e[r]&&e[r].length>0&&(n=e[r][0],a[a.length]=nN("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:BO[r][t.bookType]||BO[r].xlsx}))},i=function(n){(e[n]||[]).forEach((function(e){a[a.length]=nN("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:BO[n][t.bookType]||BO[n].xlsx})}))},s=function(t){(e[t]||[]).forEach((function(e){a[a.length]=nN("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:r[t][0]})}))};return o("workbooks"),i("sheets"),i("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),i("metadata"),s("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var HO={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function WO(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function VO(e){var t=[jI,nN("Relationships",null,{xmlns:aN.RELS})];return vI(e["!id"]).forEach((function(n){t[t.length]=nN("Relationship",null,e["!id"][n])})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function YO(e,t,n,r,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=r,a.Target=n,o?a.TargetMode=o:[HO.HLINK,HO.XPATH,HO.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function GO(e,t,n){return[' \n',' \n'," \n"].join("")}function XO(){return'SheetJS '+JT.version+""}var $O=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function qO(e,t,n,r,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=WI(t),r[r.length]=n?nN(e,t,n):eN(e,t))}function KO(e,t){var n=t||{},r=[jI,nN("cp:coreProperties",null,{"xmlns:cp":aN.CORE_PROPS,"xmlns:dc":aN.dc,"xmlns:dcterms":aN.dcterms,"xmlns:dcmitype":aN.dcmitype,"xmlns:xsi":aN.xsi})],a={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&qO("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:rN(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a),null!=e.ModifiedDate&&qO("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:rN(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a));for(var o=0;o!=$O.length;++o){var i=$O[o],s=n.Props&&null!=n.Props[i[1]]?n.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&qO(i[0],s,null,r,a)}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var QO=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],JO=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ZO(e){var t=[],n=nN;return e||(e={}),e.Application="SheetJS",t[t.length]=jI,t[t.length]=nN("Properties",null,{xmlns:aN.EXT_PROPS,"xmlns:vt":aN.vt}),QO.forEach((function(r){if(void 0!==e[r[1]]){var a;switch(r[2]){case"string":a=WI(String(e[r[1]]));break;case"bool":a=e[r[1]]?"true":"false"}void 0!==a&&(t[t.length]=n(r[0],a))}})),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map((function(e){return""+WI(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function eR(e){var t=[jI,nN("Properties",null,{xmlns:aN.CUST_PROPS,"xmlns:vt":aN.vt})];if(!e)return t.join("");var n=1;return vI(e).forEach((function(r){++n,t[t.length]=nN("property",function(e,t){switch(typeof e){case"string":var n=nN("vt:lpwstr",WI(e));return n=n.replace(/"/g,"_x0022_");case"number":return nN((0|e)==e?"vt:i4":"vt:r8",WI(String(e)));case"boolean":return nN("vt:bool",e?"true":"false")}if(e instanceof Date)return nN("vt:filetime",rN(e));throw new Error("Unable to serialize "+e)}(e[r]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:WI(r)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var tR={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function nR(e,t){var n=HN(4),r=HN(4);switch(n.write_shift(4,80==e?31:e),e){case 3:r.write_shift(-4,t);break;case 5:(r=HN(8)).write_shift(8,t,"f");break;case 11:r.write_shift(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var a=(n*=1e7)/Math.pow(2,32)|0;a>0&&(n%=Math.pow(2,32),r+=a);var o=HN(8);return o.write_shift(4,n),o.write_shift(4,r),o}(t);break;case 31:case 80:for((r=HN(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return wA([n,r])}var rR=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function aR(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function oR(e,t,n){var r=HN(8),a=[],o=[],i=8,s=0,l=HN(8),c=HN(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),o.push(l),a.push(c),i+=8+l.length,!t){(c=HN(8)).write_shift(4,0),a.unshift(c);var u=[HN(4)];for(u[0].write_shift(4,e.length),s=0;s-1||JO.indexOf(e[s][0])>-1)&&null!=e[s][1]){var d=e[s][1],p=0;if(t){var h=n[p=+t[e[s][0]]];if("version"==h.p&&"string"==typeof d){var m=d.split(".");d=(+m[0]<<16)+(+m[1]||0)}l=nR(h.t,d)}else{var g=aR(d);-1==g&&(g=31,d=String(d)),l=nR(g,d)}o.push(l),(c=HN(8)).write_shift(4,t?p:2+s),a.push(c),i+=8+l.length}var v=8*(o.length+1);for(s=0;s=12?2:1),a="sbcs-cont",o=ZT;n&&n.biff>=8&&(ZT=1200),n&&8!=n.biff?12==n.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont"),n.biff>=2&&n.biff<=5&&(a="cpstr");var i=r?e.read_shift(r,a):"";return ZT=o,i}function dR(e){var t=e.t||"",n=HN(3);n.write_shift(2,t.length),n.write_shift(1,1);var r=HN(2*t.length);return r.write_shift(2*t.length,t,"utf16le"),wA([n,r])}function pR(e,t,n){return n||(n=HN(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function hR(e,t){t||(t=HN(6+2*e.length)),t.write_shift(4,1+e.length);for(var n=0;n-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3}t.write_shift(4,2),t.write_shift(4,o);var i=[8,6815827,6619237,4849780,83];for(n=0;n-1?r.slice(0,a):r;for(t.write_shift(4,2*(s.length+1)),n=0;n-1?r.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n8?4:2;return[e.read_shift(r),e.read_shift(r,"i"),e.read_shift(r,"i")]}function yR(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function wR(e,t){return t||(t=HN(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function bR(e,t,n){var r=1536,a=16;switch(n.bookType){case"biff8":case"xla":break;case"biff5":r=1280,a=8;break;case"biff4":r=4,a=6;break;case"biff3":r=3,a=6;break;case"biff2":r=2,a=4;break;default:throw new Error("unsupported BIFF version")}var o=HN(a);return o.write_shift(2,r),o.write_shift(2,t),a>4&&o.write_shift(2,29282),a>6&&o.write_shift(2,1997),a>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function xR(e,t){var n=!t||t.biff>=8?2:1,r=HN(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=r.slice(0,r.l);return a.l=r.l,a}function _R(e,t,n,r){var a=n&&5==n.biff;r||(r=HN(a?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(a?1:2,t.length),a||r.write_shift(1,1),r.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}function SR(e,t,n,r){var a=n&&5==n.biff;r||(r=HN(a?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),a||r.write_shift(4,0),r.write_shift(2,0),r}function ER(e){var t=HN(24),n=ZN(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(r[a],16));return wA([t,mR(e[1])])}function kR(e){var t=e[1].Tooltip,n=HN(10+2*(t.length+1));n.write_shift(2,2048);var r=ZN(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var a=0;a1048576&&(c=1e6),2!=o&&(u=a.read_shift(2));var f=a.read_shift(2),d=n.codepage||1252;2!=o&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(d=e[a[a.l]]),a.l+=1,a.l+=2),l&&(a.l+=36);for(var p=[],h={},m=Math.min(a.length,2==o?521:u-10-(s?264:0)),g=l?32:11;a.l0;)if(42!==a[a.l])for(++a.l,r[++v]=[],y=0,y=0;y!=p.length;++y){var w=a.slice(a.l,a.l+p[y].len);a.l+=p[y].len,BN(w,0);var b=oA.utils.decode(d,w);switch(p[y].type){case"C":b.trim().length&&(r[v][y]=b.replace(/\s+$/,""));break;case"D":8===b.length?r[v][y]=new Date(+b.slice(0,4),+b.slice(4,6)-1,+b.slice(6,8)):r[v][y]=b;break;case"F":r[v][y]=parseFloat(b.trim());break;case"+":case"I":r[v][y]=l?2147483648^w.read_shift(-4,"i"):w.read_shift(4,"i");break;case"L":switch(b.trim().toUpperCase()){case"Y":case"T":r[v][y]=!0;break;case"N":case"F":r[v][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+b+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[v][y]="##MEMO##"+(l?parseInt(b.trim(),10):w.read_shift(4));break;case"N":(b=b.replace(/\u0000/g,"").trim())&&"."!=b&&(r[v][y]=+b||0);break;case"@":r[v][y]=new Date(w.read_shift(-8,"f")-621356832e5);break;case"T":r[v][y]=new Date(864e5*(w.read_shift(4)-2440588)+w.read_shift(4));break;case"Y":r[v][y]=w.read_shift(4,"i")/1e4+w.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[v][y]=-w.read_shift(-8,"f");break;case"B":if(s&&8==p[y].len){r[v][y]=w.read_shift(8,"f");break}case"G":case"P":w.l+=p[y].len;break;case"0":if("_NullFlags"===p[y].name)break;default:throw new Error("DBF Unsupported data type "+p[y].type)}}else a.l+=f;if(2!=o&&a.l=0&&aA(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=WN(),i=gD(e,{header:1,raw:!0,cellDates:!0}),s=i[0],l=i.slice(1),c=e["!cols"]||[],u=0,f=0,d=0,p=1;for(u=0;u250&&(b=250),"C"==(w=((c[u]||{}).DBF||{}).type)&&c[u].DBF.len>b&&(b=c[u].DBF.len),"B"==y&&"N"==w&&(y="N",v[u]=c[u].DBF.dec,b=c[u].DBF.len),g[u]="C"==y||"N"==w?b:r[y]||0,p+=g[u],m[u]=y}else m[u]="?"}var _=o.next(32);for(_.write_shift(4,318902576),_.write_shift(4,l.length),_.write_shift(2,296+32*d),_.write_shift(2,p),u=0;u<4;++u)_.write_shift(4,0);for(_.write_shift(4,0|(+t[eA]||3)<<8),u=0,f=0;u":190,"?":191,"{":223},t=new RegExp("N("+vI(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?sA(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:sA(r)};function a(e,a){var o,i=e.split(/[\n\r]+/),s=-1,l=-1,c=0,u=0,f=[],d=[],p=null,h={},m=[],g=[],v=[],y=0;for(+a.codepage>=0&&aA(+a.codepage);c!==i.length;++c){y=0;var w,b=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),x=b.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),_=x[0];if(b.length>0)switch(_){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==x[1].charAt(0)&&d.push(b.slice(3).replace(/;;/g,";"));break;case"C":var S=!1,E=!1,k=!1,C=!1,T=-1,A=-1;for(u=1;u-1&&f[T][A];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");f[s][l][1]=gL(N[1],{r:s-T,c:l-A})}break;case"F":var O=0;for(u=1;u0?(m[s].hpt=y,m[s].hpx=GR(y)):0===y&&(m[s].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+b)}O<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+b)}}return m.length>0&&(h["!rows"]=m),g.length>0&&(h["!cols"]=g),a&&a.sheetRows&&(f=f.slice(0,a.sheetRows)),[f,h]}function o(e,t){var n=function(e,t){switch(t.type){case"base64":return a(fA(e),t);case"binary":return a(e,t);case"buffer":return a(dA&&Buffer.isBuffer(e)?e.toString("binary"):yA(e),t);case"array":return a(OI(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),r=n[0],o=n[1],i=sO(r,t);return vI(o).forEach((function(e){i[e]=o[e]})),i}function i(e,t,n,r){var a="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+mL(e.f,{r:n,c:r}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return oO(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r,a=["ID;PWXL;N;E"],o=[],s=rO(e["!ref"]),l=Array.isArray(e),c="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(r=a,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=BR(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=UR(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&r.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*YR(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}(a,e["!rows"]),a.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var u=s.s.r;u<=s.e.r;++u)for(var f=s.s.c;f<=s.e.c;++f){var d=eO({r:u,c:f});(n=l?(e[u]||[])[f]:e[d])&&(null!=n.v||n.f&&!n.F)&&o.push(i(n,0,u,f))}return a.join(c)+c+o.join(c)+c+"E"+c}}}(),AR=function(){function e(e,t){for(var n=e.split("\n"),r=-1,a=-1,o=0,i=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){for(var s=n[o].trim().split(","),l=s[0],c=s[1],u=n[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=c:a=c}})),l>=0&&-1==s&&a>=0&&(s=a,a=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==i&&-1==s&&-1==l?c:-1==r&&-1==a&&-1==o?u:c+"T"+u}(0,n.dateNF,t.match(y)||[]),a=1),n.cellDates?(r.t="d",r.v=NI(t,a)):(r.t="n",r.v=_I(NI(t,a))),!1!==n.cellText&&(r.w=sI(r.z,r.v instanceof Date?_I(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=c;if("z"==r.t||(n.dense?(o[s]||(o[s]=[]),o[s][l]=r):o[eO({c:l,r:s})]=r),u=f+1,m=e.charCodeAt(u),i.e.c0&&w(),o["!ref"]=nO(i),o}function o(t,n){var r="",o="string"==n.type?[0,0,0,0]:function(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=fA(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}(t,n);switch(n.type){case"base64":r=fA(t);break;case"binary":case"string":r=t;break;case"buffer":r=65001==n.codepage?t.toString("utf8"):n.codepage&&void 0!==oA?oA.utils.decode(n.codepage,t):dA&&Buffer.isBuffer(t)?t.toString("binary"):yA(t);break;case"array":r=OI(t);break;default:throw new Error("Unrecognized type "+n.type)}return 239==o[0]&&187==o[1]&&191==o[2]?r=KI(r.slice(3)):"string"!=n.type&&"buffer"!=n.type&&65001==n.codepage?r=KI(r):"binary"==n.type&&void 0!==oA&&n.codepage&&(r=oA.utils.decode(n.codepage,oA.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?IR.to_sheet("string"==n.type?r:KI(r),n):function(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?a(t,n):sO(function(t,n){var r=n||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,l=0,c=0;c<=i;++c)-1==(l=o[c].indexOf(" "))?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=i;++c){a[c]=[];var u=0;for(e(o[c].slice(0,s).trim(),a,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)e(o[c].slice(s+10*(u-1),s+10*u).trim(),a,c,u,r)}return r.sheetRows&&(a=a.slice(0,r.sheetRows)),a}(t,n),n):a(t,n)}(r,n)}return{to_workbook:function(e,t){return oO(o(e,t),t)},to_sheet:o,from_sheet:function(e){for(var t,n=[],r=rO(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var i=[],s=r.s.c;s<=r.e.c;++s){var l=eO({r:o,c:s});if((t=a?(e[o]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(aO(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";i.push(c+(0===s?" ":""))}else i.push(" ")}n.push(i.join(""))}return n.join("\n")}}}(),OR=function(){function e(e,t,n){if(e){BN(e,e.l||0);for(var r=n.Enum||v;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=v,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||OA[14],r.cellDates&&(e[1].t="d",e[1].v=CI(e[1].v))),r.qpro&&e[3]>s&&(a["!ref"]=nO(f),l[o]=a,c.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=r.dense?(a[e[0].r]||[])[e[0].c]:a[eO(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[eO(e[0])]=e[1]}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=y,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=nO(f),l[o]=a,c.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),d>0&&e[0].r>=d)break;r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[eO(e[0])]=e[1],f.e.c=128?95:o)}return r.write_shift(1,0),r}function o(e,t,n){var r=HN(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function i(e,t,n){var r=HN(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function s(e,t,n){var r=32768&t;return t=(r?e:0)+((t&=-32769)>=8192?t-16384:t),(r?"":"$")+(n?JN(t):KN(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},c=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function u(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function f(e,t,n,r){var a=HN(6+r.length);a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),a.write_shift(1,39);for(var o=0;o=128?95:i)}return a.write_shift(1,0),a}function d(e,t){var n=u(e),r=e.read_shift(4),a=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===a?(n[1].t="e",n[1].v=15):0===r&&3489660928===a?(n[1].t="e",n[1].v=42):n[1].v=0,n;var i=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*i)*(a*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function p(e,t,n,r){var a=HN(14);if(a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),0==r)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var o,i=0,s=0,l=0;return r<0&&(i=1,r=-r),s=0|Math.log2(r),0==(2147483648&(l=(r/=Math.pow(2,s-31))>>>0))&&(++s,l=(r/=2)>>>0),r-=l,l|=2147483648,l>>>=0,o=(r*=Math.pow(2,32))>>>0,a.write_shift(4,o),a.write_shift(4,l),s+=16383+(i?32768:0),a.write_shift(2,s),a}function h(e,t){var n=u(e),r=e.read_shift(8,"f");return n[1].v=r,n}function m(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function g(e,t){var n=HN(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r127?95:a}return n[n.l++]=0,n}var v={0:{n:"BOF",f:lR},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,t,r){var a=e.l+t,o=n(e,0,r);if(o[1].v=e.read_shift(8,"f"),r.qpro)e.l=a;else{var i=e.read_shift(2);!function(e,t){BN(e,0);for(var n=[],r=0,a="",o="",i="",u="";e.ln.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+n.join("|")+"|");var m=n.slice(-r);n.length-=r,n.push(l[f][0]+"("+m.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:m},222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var r="";r.length>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(e,t){var n=d(e);return e.l+=t-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var n={},r=e.l+t;e.l>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:h},40:{n:"FORMULA28",f:function(e,t){var n=h(e);return e.l+=t-10,n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:m},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var r=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[r,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&aA(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r,s=WN(),l=rO(e["!ref"]),c=Array.isArray(e),u=[];IP(s,0,((r=HN(2)).write_shift(2,1030),r)),IP(s,6,function(e){var t=HN(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(l));for(var f=Math.min(l.e.r,8191),d=l.s.r;d<=f;++d)for(var p=KN(d),h=l.s.c;h<=l.e.c;++h){d===l.s.r&&(u[h]=JN(h));var m=u[h]+p,g=c?(e[d]||[])[h]:e[m];g&&"z"!=g.t&&("n"==g.t?(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?IP(s,13,o(d,h,g.v)):IP(s,14,i(d,h,g.v)):IP(s,15,a(d,h,aO(g).slice(0,239))))}return IP(s,1),s.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&aA(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=WN();IP(r,0,function(e){var t=HN(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,a=0,o=0;o8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,a),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var a=0,o=0;a";a.r?o+=a.r:(o+=""),o+="",n[n.length]=o}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var PR=function(e,t){var n=!1;return null==t&&(n=!0,t=HN(15+4*e.t.length)),t.write_shift(1,0),uO(e.t,t),n?t.slice(0,t.l):t};function DR(e){var t=WN();VN(t,159,function(e,t){return t||(t=HN(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var n=0;n=0;--n)r=((0==(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var FR=function(){function e(e,n){switch(n.type){case"base64":return t(fA(e),n);case"binary":return t(e,n);case"buffer":return t(dA&&Buffer.isBuffer(e)?e.toString("binary"):yA(e),n);case"array":return t(OI(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,o=/\\\w+\b/g,i=0,s=-1;r=o.exec(e);){if("\\cell"===r[0]){var l=e.slice(i,o.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[t][s]=c:n[eO({r:t,c:s})]=c}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),n["!ref"]=nO(a),n}return{to_workbook:function(t,n){return oO(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=rO(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var i=r.s.c;i<=r.e.c;++i)n.push("\\cellx"+(i+1));for(n.push("\\pard\\intbl"),i=r.s.c;i<=r.e.c;++i){var s=eO({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(aO(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function zR(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}var jR=6;function BR(e){return Math.floor((e+Math.round(128/jR)/256)*jR)}function UR(e){return Math.floor((e-5)/jR*100+.5)/100}function HR(e){return Math.round((e*jR+5)/jR*256)/256}function WR(e){e.width?(e.wpx=BR(e.width),e.wch=UR(e.wpx),e.MDW=jR):e.wpx?(e.wch=UR(e.wpx),e.width=HR(e.wch),e.MDW=jR):"number"==typeof e.wch&&(e.width=HR(e.wch),e.wpx=BR(e.width),e.MDW=jR),e.customWidth&&delete e.customWidth}var VR=96;function YR(e){return 96*e/VR}function GR(e){return e*VR/96}function XR(e,t){var n,r=[jI,nN("styleSheet",null,{xmlns:oN[0],"xmlns:vt":aN.vt})];return e.SSF&&null!=(n=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=nN("numFmt",null,{numFmtId:r,formatCode:WI(e[r])}))})),1===t.length?"":(t[t.length]="",t[0]=nN("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=function(e){var t=[];return t[t.length]=nN("cellXfs",null),e.forEach((function(e){t[t.length]=nN("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=nN("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function $R(e,t,n){n||(n=HN(6+4*t.length)),n.write_shift(2,e),uO(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}var qR,KR=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],QR=UN;function JR(e,t){t||(t=HN(84)),qR||(qR=wI(KR));var n=qR[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(RO({auto:1},t),RO({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function ZR(e,t,n){return n||(n=HN(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function eL(e,t){return t||(t=HN(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var tL=UN;function nL(e,t){var n=WN();return VN(n,278),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n})),0!=n&&(VN(e,615,lO(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&VN(e,44,$R(r,t[r]))})),VN(e,616))}}(n,e.SSF),function(e){VN(e,611,lO(1)),VN(e,43,function(e,t){t||(t=HN(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=HN(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,n),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),RO(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),uO(e.name,t),t.length>t.l?t.slice(0,t.l):t}({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),VN(e,612)}(n),function(e){VN(e,603,lO(2)),VN(e,45,JR({patternType:"none"})),VN(e,45,JR({patternType:"gray125"})),VN(e,604)}(n),function(e){var t;VN(e,613,lO(1)),VN(e,46,(t||(t=HN(51)),t.write_shift(1,0),eL(0,t),eL(0,t),eL(0,t),eL(0,t),eL(0,t),t.length>t.l?t.slice(0,t.l):t)),VN(e,614)}(n),function(e){VN(e,626,lO(1)),VN(e,47,ZR({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),VN(e,627)}(n),function(e,t){VN(e,617,lO(t.length)),t.forEach((function(t){VN(e,47,ZR(t,0))})),VN(e,618)}(n,t.cellXfs),function(e){var t,n;VN(e,619,lO(1)),VN(e,48,(t={xfId:0,builtinId:0,name:"Normal"},n||(n=HN(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),xO(t.name||"",n),n.length>n.l?n.slice(0,n.l):n)),VN(e,620)}(n),function(e){VN(e,505,lO(0)),VN(e,506)}(n),function(e){var t;VN(e,508,((t=HN(2052)).write_shift(4,0),xO("TableStyleMedium9",t),xO("PivotStyleMedium4",t),t.length>t.l?t.slice(0,t.l):t)),VN(e,509)}(n),VN(n,279),n.end()}function rL(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[jI];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function aL(){var e,t,n=WN();return VN(n,332),VN(n,334,lO(1)),VN(n,335,((t=HN(12+2*(e={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,e.flags),t.write_shift(4,e.version),uO(e.name,t),t.slice(0,t.l))),VN(n,336),VN(n,339,function(e,t){var n=HN(8+2*t.length);return n.write_shift(4,1),uO(t,n),n.slice(0,n.l)}(0,"XLDAPR")),VN(n,52),VN(n,35,lO(514)),VN(n,4096,lO(0)),VN(n,4097,cR(1)),VN(n,36),VN(n,53),VN(n,340),VN(n,337,function(e,t){var n=HN(8);return n.write_shift(4,1),n.write_shift(4,1),n}()),VN(n,51,function(e){var t=HN(4+8*e.length);t.write_shift(4,e.length);for(var n=0;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var iL=1024;function sL(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),a=[nN("xml",null,{"xmlns:v":iN.v,"xmlns:o":iN.o,"xmlns:x":iN.x,"xmlns:mv":iN.mv}).replace(/\/>/,">"),nN("o:shapelayout",nN("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),nN("v:shapetype",[nN("v:stroke",null,{joinstyle:"miter"}),nN("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];iL<1e3*e;)iL+=1e3;return t.forEach((function(e){var t=ZN(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?nN("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=nN("v:fill",r,n);++iL,a=a.concat(["",o,nN("v:shadow",null,{on:"t",obscured:"t"}),nN("v:path",null,{"o:connecttype":"none"}),'
','',"","",eN("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),eN("x:AutoFill","False"),eN("x:Row",String(t.r)),eN("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}function lL(e){var t=[jI,nN("comments",null,{xmlns:oN[0]})],n=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var r=WI(e.a);-1==n.indexOf(r)&&(n.push(r),t.push(""+r+"")),e.T&&e.ID&&-1==n.indexOf("tc="+e.ID)&&(n.push("tc="+e.ID),t.push("tc="+e.ID+""))}))})),0==n.length&&(n.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach((function(e){var r=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?r=n.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(r=n.indexOf(WI(e.a))),a.push(e.t||"")})),t.push(''),a.length<=1)t.push(eN("t",WI(a[0]||"")));else{for(var o="Comment:\n "+a[0]+"\n",i=1;i")})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function cL(e,t,n){var r=[jI,nN("ThreadedComments",null,{xmlns:aN.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(o,i){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+n.tcid++).slice(-12)+"}"};0==i?a=s.id:s.parentId=a,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),r.push(nN("threadedComment",eN("text",o.t||""),s))}else delete o.ID}))})),r.push(""),r.join("")}var uL=cO;function fL(e){var t=WN(),n=[];return VN(t,628),VN(t,630),e.forEach((function(e){e[1].forEach((function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),VN(t,632,function(e){return uO(e.slice(0,54))}(e.a)))}))})),VN(t,631),VN(t,633),e.forEach((function(e){e[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var a,o,i,s={s:ZN(e[0]),e:ZN(e[0])};VN(t,635,function(e,t){return null==t&&(t=HN(36)),t.write_shift(4,e[1].iauthor),IO(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([s,r])),r.t&&r.t.length>0&&VN(t,637,(a=r,i=!1,null==o&&(i=!0,o=HN(23+4*a.t.length)),o.write_shift(1,1),uO(a.t,o),o.write_shift(4,1),function(e,t){t||(t=HN(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},o),i?o.slice(0,o.l):o)),VN(t,636),delete r.iauthor}))})),VN(t,634),VN(t,629),t.end()}var dL=["xlsb","xlsm","xlam","biff8","xla"],pL=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,a){var o=!1,i=!1;0==r.length?i=!0:"["==r.charAt(0)&&(i=!0,r=r.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=a.length>0?0|parseInt(a,10):0;return o?l+=t.c:--l,i?s+=t.r:--s,n+(o?"":"$")+JN(l)+(i?"":"$")+KN(s)}return function(r,a){return t=a,r.replace(e,n)}}(),hL=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,mL=function(){return function(e,t){return e.replace(hL,(function(e,n,r,a,o,i){var s=QN(a)-(r?0:t.c),l=qN(i)-(o?0:t.r);return n+"R"+(0==l?"":o?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")}))}}();function gL(e,t){return e.replace(hL,(function(e,n,r,a,o,i){return n+("$"==r?r+a:JN(QN(a)+t.c))+("$"==o?o+i:KN(qN(i)+t.r))}))}function vL(e){e.l+=1}function yL(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function wL(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return bL(e);12==n.biff&&(r=4)}var a=e.read_shift(r),o=e.read_shift(r),i=yL(e,2),s=yL(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function bL(e){var t=yL(e,2),n=yL(e,2),r=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:a,cRel:n[1],rRel:n[2]}}}function xL(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=yL(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e.read_shift(n&&12==n.biff?4:2),a=yL(e,2);return{r:r,c:a[0],cRel:a[1],rRel:a[2]}}function _L(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function SL(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function EL(e){return[e.read_shift(1),e.read_shift(1)]}function kL(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=function(e,t){return 1===e.read_shift(t)}(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=zO[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=NO(e);break;case 2:n[1]=function(e,t,n){if(n.biff>5)return function(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):function(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}(e,r,n)}(e,0,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function CL(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),a=[],o=0;o!=r;++o)a.push((12==n.biff?AO:yR)(e,8));return a}function TL(e,t,n){var r=0,a=0;12==n.biff?(r=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--a&&(a=256));for(var o=0,i=[];o!=r&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=kL(e,n.biff);return i}function AL(e,t,n){return e.l+=2,[_L(e)]}function IL(e){return e.l+=6,[]}function NL(e){return e.l+=2,[lR(e),1&e.read_shift(2)]}var OL=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],RL={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:UN},3:{n:"PtgAdd",f:vL},4:{n:"PtgSub",f:vL},5:{n:"PtgMul",f:vL},6:{n:"PtgDiv",f:vL},7:{n:"PtgPower",f:vL},8:{n:"PtgConcat",f:vL},9:{n:"PtgLt",f:vL},10:{n:"PtgLe",f:vL},11:{n:"PtgEq",f:vL},12:{n:"PtgGe",f:vL},13:{n:"PtgGt",f:vL},14:{n:"PtgNe",f:vL},15:{n:"PtgIsect",f:vL},16:{n:"PtgUnion",f:vL},17:{n:"PtgRange",f:vL},18:{n:"PtgUplus",f:vL},19:{n:"PtgUminus",f:vL},20:{n:"PtgPercent",f:vL},21:{n:"PtgParen",f:vL},22:{n:"PtgMissArg",f:vL},23:{n:"PtgStr",f:function(e,t,n){return e.l++,fR(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,zO[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,NO(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(n&&n.biff<=3?1:2);return[qL[a],$L[a],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],a=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===o[0]?$L:XL)[o[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e.read_shift(1)>>>5&3,a=!n||n.biff>=8?4:2,o=e.read_shift(a);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,xL(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,wL(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:UN},40:{n:"PtgMemNoMem",f:UN},41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==a&&n>=128&&(n-=256),{r:t,c:n,cRel:a,rRel:r}}(e);var a=e.read_shift(r>=12?4:2),o=e.read_shift(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,n);return[r,a]}},45:{n:"PtgAreaN",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=function(e,t,n){if(n.biff<8)return bL(e);var r=e.read_shift(12==n.biff?4:2),a=e.read_shift(12==n.biff?4:2),o=yL(e,2),i=yL(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,n);return[r,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[r,a,xL(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(n&&5===n.biff)e.l+=12;return[r,a,wL(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[r,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[r,a]}},255:{}},LL={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},PL={1:{n:"PtgElfLel",f:NL},2:{n:"PtgElfRw",f:AL},3:{n:"PtgElfCol",f:AL},6:{n:"PtgElfRwV",f:AL},7:{n:"PtgElfColV",f:AL},10:{n:"PtgElfRadical",f:AL},11:{n:"PtgElfRadicalS",f:IL},13:{n:"PtgElfColS",f:IL},15:{n:"PtgElfColSV",f:IL},16:{n:"PtgElfRadicalLel",f:NL},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),a=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&n,rt:OL[n>>2&31],idx:r,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},DL={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),a=[],o=0;o<=r;++o)a.push(e.read_shift(n&&2==n.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:SL},33:{n:"PtgAttrBaxcel",f:SL},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),EL(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),EL(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function ML(e,t,n,r){if(r.biff<8)return UN(e,t);for(var a=e.l+t,o=[],i=0;i!==n.length;++i)switch(n[i][0]){case"PtgArray":n[i][1]=TL(e,0,r),o.push(n[i][1]);break;case"PtgMemArea":n[i][2]=CL(e,n[i][1],r),o.push(n[i][2]);break;case"PtgExp":r&&12==r.biff&&(n[i][1][1]=e.read_shift(4),o.push(n[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[i][0]}return 0!=(t=a-e.l)&&o.push(UN(e,t)),o}function FL(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function jL(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var a="";if(n.biff>8)switch(e[r[0]][0]){case 357:return a=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return a=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(a=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?a:a+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function BL(e,t,n){var r=jL(e,t,n);return"#REF"==r?r:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(r,n)}function UL(e,t,n,r,a){var o,i,s,l,c=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],d=0,p=0,h="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,y=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=LI(" ",e[0][m][1][1]);break;case 1:g=LI("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}f.push(i+zL[w[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=YN(w[1][1],u,a),f.push(XN(s,c));break;case"PtgRefN":s=n?YN(w[1][1],n,a):w[1][1],f.push(XN(s,c));break;case"PtgRef3d":d=w[1][1],s=YN(w[1][2],u,a),h=BL(r,d,a),f.push(h+"!"+XN(s,c));break;case"PtgFunc":case"PtgFuncVar":var b=w[1][0],x=w[1][1];b||(b=0);var _=0==(b&=127)?[]:f.slice(-b);f.length-=b,"User"===x&&(x=_.shift()),f.push(x+"("+_.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":l=GN(w[1][1],n?{s:n}:u,a),f.push($N(l,a));break;case"PtgArea":l=GN(w[1][1],u,a),f.push($N(l,a));break;case"PtgArea3d":d=w[1][1],l=w[1][2],h=BL(r,d,a),f.push(h+"!"+$N(l,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":p=w[1][2];var S=(r.names||[])[p-1]||(r[0]||[])[p],E=S?S.Name:"SH33TJSNAME"+String(p);E&&"_xlfn."==E.slice(0,6)&&!a.xlfn&&(E=E.slice(6)),f.push(E);break;case"PtgNameX":var k,C=w[1][1];if(p=w[1][2],!(a.biff<=5)){var T="";if(14849==((r[C]||[])[0]||[])[0]||(1025==((r[C]||[])[0]||[])[0]?r[C][p]&&r[C][p].itab>0&&(T=r.SheetNames[r[C][p].itab-1]+"!"):T=r.SheetNames[p-1]+"!"),r[C]&&r[C][p])T+=r[C][p].Name;else if(r[0]&&r[0][p])T+=r[0][p].Name;else{var A=(jL(r,C,a)||"").split(";;");A[p-1]?T=A[p-1]:T+="SH33TJSERRX"}f.push(T);break}C<0&&(C=-C),r[C]&&(k=r[C][p]),k||(k={Name:"SH33TJSERRY"}),f.push(k.Name);break;case"PtgParen":var I="(",N=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:I=LI(" ",e[0][m][1][1])+I;break;case 3:I=LI("\r",e[0][m][1][1])+I;break;case 4:N=LI(" ",e[0][m][1][1])+N;break;case 5:N=LI("\r",e[0][m][1][1])+N;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(I+f.pop()+N);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":s={c:w[1][1],r:w[1][0]};var O={c:n.c,r:n.r};if(r.sharedf[eO(s)]){var R=r.sharedf[eO(s)];f.push(UL(R,0,O,r,a))}else{var L=!1;for(o=0;o!=r.arrayf.length;++o)if(i=r.arrayf[o],!(s.ci[0].e.c||s.ri[0].e.r)){f.push(UL(i[1],0,O,r,a)),L=!0;break}L||f.push(w[1])}break;case"PtgArray":f.push("{"+FL(w[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(w))}if(3!=a.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var P=!0;switch((w=e[0][m])[1][0]){case 4:P=!1;case 0:g=LI(" ",w[1][1]);break;case 5:P=!1;case 1:g=LI("\r",w[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0])}f.push((P?g:"")+f.pop()+(P?"":g)),m=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function HL(e,t,n){var r=e.read_shift(4),a=function(e,t,n){for(var r,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],r=RL[a]||RL[LL[a]],24!==a&&25!==a||(r=(24===a?PL:DL)[e[e.l+1]]),r&&r.f?i.push([r.n,r.f(e,t,n)]):UN(e,t);return i}(e,r,n),o=e.read_shift(4);return[a,o>0?ML(e,o,a,n):null]}var WL=HL,VL=HL,YL=HL,GL=HL,XL={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},$L={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},qL={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function KL(e){return("of:="+e.replace(hL,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}var QL="undefined"!=typeof Map;function JL(e,t,n){var r=0,a=e.length;if(n){if(QL?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=QL?n.get(t):n[t];r-1?(n.width=HR(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function eP(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function tP(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==r&&n.ssf)for(;a<392;++a)if(null==n.ssf[a]){lI(t.z,a),n.ssf[a]=t.z,n.revssf[t.z]=r=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===r)return a;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function nP(e,t,n){if(e&&e["!ref"]){var r=rO(e["!ref"]);if(r.e.c32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=eN("v",""+JL(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=nN("f",WI(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.D&&(l.cm=1),nN("c",s,l)}function iP(e,t,n,r){var a,o=[jI,nN("worksheet",null,{xmlns:oN[0],"xmlns:r":aN.r})],i=n.SheetNames[e],s="",l=n.Sheets[i];null==l&&(l={});var c=l["!ref"]||"A1",u=rO(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=nO(u)}r||(r={}),l["!comments"]=[];var f=[];!function(e,t,n,r,a){var o=!1,i={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(e){}o=!0,i.codeName=QI(WI(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+nN("outlinePr",null,c)}(o||s)&&(a[a.length]=nN("sheetPr",s,i))}(l,n,e,t,o),o[o.length]=nN("dimension",null,{ref:c}),o[o.length]=function(e,t,n,r){var a={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),nN("sheetViews",nN("sheetView",null,a),{})}(0,0,0,n),t.sheetFormat&&(o[o.length]=nN("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(o[o.length]=function(e,t){for(var n,r=[""],a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=nN("col",null,ZL(a,n)));return r[r.length]="",r.join("")}(0,l["!cols"])),o[a=o.length]="",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var a,o,i=[],s=[],l=rO(e["!ref"]),c="",u="",f=[],d=0,p=0,h=e["!rows"],m=Array.isArray(e),g={r:u},v=-1;for(p=l.s.c;p<=l.e.c;++p)f[p]=JN(p);for(d=l.s.r;d<=l.e.r;++d){for(s=[],u=KN(d),p=l.s.c;p<=l.e.c;++p){a=f[p]+u;var y=m?(e[d]||[])[p]:e[a];void 0!==y&&null!=(c=oP(y,a,e,t))&&s.push(c)}(s.length>0||h&&h[d])&&(g={r:u},h&&h[d]&&((o=h[d]).hidden&&(g.hidden=1),v=-1,o.hpx?v=YR(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),i[i.length]=nN("row",s.join(""),g))}if(h)for(;d-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level),i[i.length]=nN("row","",g));return i.join("")}(l,t),s.length>0&&(o[o.length]=s)),o.length>a+1&&(o[o.length]="",o[a]=o[a].replace("/>",">")),l["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return rP.forEach((function(n){null!=e[n]&&e[n]&&(t[n]="1")})),aP.forEach((function(n){null==e[n]||e[n]||(t[n]="0")})),e.password&&(t.password=MR(e.password).toString(16).toUpperCase()),nN("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(o[o.length]=function(e,t,n,r){var a="string"==typeof e.ref?e.ref:nO(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,i=tO(a);i.s.r==i.e.r&&(i.e.r=tO(t["!ref"]).e.r,a=nO(i));for(var s=0;s0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='',n=0;n!=e.length;++n)t+='';return t+""}(l["!merges"]));var d,p,h=-1,m=-1;return l["!links"].length>0&&(o[o.length]="",l["!links"].forEach((function(e){e[1].Target&&(d={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=YO(r,-1,WI(e[1].Target).replace(/#.*$/,""),HO.HLINK),d["r:id"]="rId"+m),(h=e[1].Target.indexOf("#"))>-1&&(d.location=WI(e[1].Target.slice(h+1))),e[1].Tooltip&&(d.tooltip=WI(e[1].Tooltip)),o[o.length]=nN("hyperlink",null,d))})),o[o.length]=""),delete l["!links"],null!=l["!margins"]&&(o[o.length]=(eP(p=l["!margins"]),nN("pageMargins",null,p))),t&&!t.ignoreEC&&null!=t.ignoreEC||(o[o.length]=eN("ignoredErrors",nN("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(m=YO(r,-1,"../drawings/drawing"+(e+1)+".xml",HO.DRAW),o[o.length]=nN("drawing",null,{"r:id":"rId"+m}),l["!drawing"]=f),l["!comments"].length>0&&(m=YO(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",HO.VML),o[o.length]=nN("legacyDrawing",null,{"r:id":"rId"+m}),l["!legacy"]=m),o.length>1&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join("")}function sP(e,t,n,r){var a=function(e,t,n){var r=HN(145),a=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;a.hpx?o=20*YR(a.hpx):a.hpt&&(o=20*a.hpt),r.write_shift(2,o),r.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),r.write_shift(1,i),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.cr.l?r.slice(0,r.l):r}(r,n,t);(a.length>17||(t["!rows"]||[])[r])&&VN(e,0,a)}var lP=AO,cP=IO;var uP=AO,fP=IO,dP=["left","right","top","bottom","header","footer"];function pP(e,t,n,r,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=RI(t)).z=t.z||OA[14],t.v=_I(NI(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var l={r:n,c:r};switch(l.s=tP(a.cellXfs,t,a),t.l&&o["!links"].push([eO(l),t.l]),t.c&&o["!comments"].push([eO(l),t.c]),t.t){case"s":case"str":return a.bookSST?(s=JL(a.Strings,t.v,a.revStrings),l.t="s",l.v=s,i?VN(e,18,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),n.write_shift(4,t.v),n}(0,l)):VN(e,7,function(e,t,n){return null==n&&(n=HN(12)),mO(t,n),n.write_shift(4,t.v),n}(0,l))):(l.t="str",i?VN(e,17,function(e,t,n){return null==n&&(n=HN(8+4*e.v.length)),vO(t,n),uO(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l)):VN(e,6,function(e,t,n){return null==n&&(n=HN(12+4*e.v.length)),mO(t,n),uO(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?VN(e,13,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),CO(e.v,n),n}(t,l)):VN(e,2,function(e,t,n){return null==n&&(n=HN(12)),mO(t,n),CO(e.v,n),n}(t,l)):i?VN(e,16,function(e,t,n){return null==n&&(n=HN(12)),vO(t,n),OO(e.v,n),n}(t,l)):VN(e,5,function(e,t,n){return null==n&&(n=HN(16)),mO(t,n),OO(e.v,n),n}(t,l)),!0;case"b":return l.t="b",i?VN(e,15,function(e,t,n){return null==n&&(n=HN(5)),vO(t,n),n.write_shift(1,e.v?1:0),n}(t,l)):VN(e,4,function(e,t,n){return null==n&&(n=HN(9)),mO(t,n),n.write_shift(1,e.v?1:0),n}(t,l)),!0;case"e":return l.t="e",i?VN(e,14,function(e,t,n){return null==n&&(n=HN(8)),vO(t,n),n.write_shift(1,e.v),n.write_shift(2,0),n.write_shift(1,0),n}(t,l)):VN(e,3,function(e,t,n){return null==n&&(n=HN(9)),mO(t,n),n.write_shift(1,e.v),n}(t,l)),!0}return i?VN(e,12,function(e,t,n){return null==n&&(n=HN(4)),vO(t,n)}(0,l)):VN(e,1,function(e,t,n){return null==n&&(n=HN(8)),mO(t,n)}(0,l)),!0}function hP(e,t,n,r){var a=WN(),o=n.SheetNames[e],i=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l,c,u=rO(i["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],VN(a,129),(n.vbaraw||i["!outline"])&&VN(a,147,function(e,t,n){null==n&&(n=HN(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n.write_shift(1,r);for(var a=1;a<3;++a)n.write_shift(1,0);return RO({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),wO(e,n),n.slice(0,n.l)}(s,i["!outline"])),VN(a,148,cP(u)),function(e,t,n){VN(e,133),VN(e,137,function(e,t,n){null==n&&(n=HN(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),VN(e,138),VN(e,134)}(a,0,n.Workbook),function(e,t){t&&t["!cols"]&&(VN(e,390),t["!cols"].forEach((function(t,n){t&&VN(e,60,function(e,t,n){null==n&&(n=HN(18));var r=ZL(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof r.width&&(a|=2),t.level&&(a|=t.level<<8),n.write_shift(2,a),n}(n,t))})),VN(e,391))}(a,i),function(e,t,n,r){var a,o=rO(t["!ref"]||"A1"),i="",s=[];VN(e,145);var l=Array.isArray(t),c=o.e.r;t["!rows"]&&(c=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=c;++u){i=KN(u),sP(e,t,o,u);var f=!1;if(u<=o.e.r)for(var d=o.s.c;d<=o.e.c;++d){u===o.s.r&&(s[d]=JN(d)),a=s[d]+i;var p=l?(t[u]||[])[d]:t[a];f=!!p&&pP(e,p,u,d,r,t,f)}}VN(e,146)}(a,i,0,t),function(e,t){var n,r;t["!protect"]&&VN(e,535,(n=t["!protect"],null==r&&(r=HN(66)),r.write_shift(2,n.password?MR(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(e){e[1]?r.write_shift(4,null==n[e[0]]||n[e[0]]?0:1):r.write_shift(4,null!=n[e[0]]&&n[e[0]]?0:1)})),r))}(a,i),function(e,t,n,r){if(t["!autofilter"]){var a=t["!autofilter"],o="string"==typeof a.ref?a.ref:nO(a.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var i=n.Workbook.Names,s=tO(o);s.s.r==s.e.r&&(s.e.r=tO(t["!ref"]).e.r,o=nO(s));for(var l=0;l0){var a=YO(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",HO.VML);VN(e,551,EO("rId"+a)),t["!legacy"]=a}}(a,i,e,r),VN(a,130),a.end()}var mP=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],gP="][*?/\\".split("");function vP(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return gP.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function yP(e){var t=[jI];t[t.length]=nN("workbook",null,{xmlns:oN[0],"xmlns:r":aN.r});var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(mP.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=nN("workbookPr",null,r);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",o=0;o!=e.SheetNames.length;++o){var i={name:WI(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=nN("sheet",null,i)}return t[t.length]="",n&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=nN("definedName",WI(e.Ref),n))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function wP(e,t){var n=WN();return VN(n,131),VN(n,128,function(e,t){t||(t=HN(127));for(var n=0;4!=n;++n)t.write_shift(4,0);return uO("SheetJS",t),uO(JT.version,t),uO(JT.version,t),uO("7262",t),t.length>t.l?t.slice(0,t.l):t}()),VN(n,153,function(e,t){t||(t=HN(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),wO(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),function(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,a=-1,o=-1;ra||(VN(e,135),VN(e,158,(i=a,s||(s=HN(29)),s.write_shift(-4,0),s.write_shift(-4,460),s.write_shift(4,28800),s.write_shift(4,17600),s.write_shift(4,500),s.write_shift(4,i),s.write_shift(4,i),s.write_shift(1,120),s.length>s.l?s.slice(0,s.l):s)),VN(e,136))}var i,s}(n,e),function(e,t){VN(e,143);for(var n=0;n!=t.SheetNames.length;++n)VN(e,156,(r={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]},(a=void 0)||(a=HN(127)),a.write_shift(4,r.Hidden),a.write_shift(4,r.iTabID),EO(r.strRelID,a),uO(r.name.slice(0,31),a),a.length>a.l?a.slice(0,a.l):a));var r,a;VN(e,144)}(n,e),VN(n,132),n.end()}function bP(e,t,n,r,a){return(".bin"===t.slice(-4)?hP:iP)(e,n,r,a)}function xP(e,t,n){return(".bin"===t.slice(-4)?fL:lL)(e,n)}function _P(e){return nN("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+mL(e.Ref,{r:0,c:0})})}function SP(e,t,n,r,a,o,i){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+WI(mL(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var l=ZN(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==i.r?"":"["+(l.r-i.r)+"]")+"C"+(l.c==i.c?"":"["+(l.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=WI(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=WI(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==i.c&&c[u].s.r==i.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",d="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",d=String(e.v);break;case"b":f="Boolean",d=e.v?"1":"0";break;case"e":f="Error",d=zO[e.v];break;case"d":f="DateTime",d=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||OA[14]);break;case"s":f="String",d=((e.v||"")+"").replace(UI,(function(e){return BI[e]})).replace(YI,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var p=tP(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+p),s["ss:Index"]=i.c+1;var h=null!=e.v?d:"",m="z"==e.t?"":''+h+"";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=nN("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"});return nN("Comment",t,{"ss:Author":e.a})})).join("")),nN("Cell",m,s)}function EP(e,t){var n='"}function kP(e,t,n){var r=[],a=n.SheetNames[e],o=n.Sheets[a],i=o?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var a=r.Workbook.Names,o=[],i=0;i0&&r.push(""+i+""),i=o?function(e,t,n,r){if(!e["!ref"])return"";var a=rO(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){WR(e);var n=!!e.width,r=ZL(t,e),a={"ss:Index":t+1};n&&(a["ss:Width"]=BR(r.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(nN("Column",null,a))}));for(var l=Array.isArray(e),c=a.s.r;c<=a.e.r;++c){for(var u=[EP(c,(e["!rows"]||[])[c])],f=a.s.c;f<=a.e.c;++f){var d=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f||o[i].s.r>c||o[i].e.c"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"",i.length>0&&r.push(""+i+"
"),r.push(function(e,t,n,r){if(!e)return"";var a=[];if(e["!margins"]&&(a.push(""),e["!margins"].header&&a.push(nN("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(nN("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(nN("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)a.push(nN("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(eN("ProtectContents","True")),e["!protect"].objects&&a.push(eN("ProtectObjects","True")),e["!protect"].scenarios&&a.push(eN("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(eN("EnableSelection","UnlockedCells")):a.push(eN("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":nN("WorksheetOptions",a.join(""),{xmlns:iN.x})}(o,0,e,n)),r.join("")}function CP(e,t){t||(t={}),e.SSF||(e.SSF=RI(OA)),e.SSF&&(uI(),cI(e.SSF),t.revssf=bI(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(function(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return vI(tR).map((function(e){for(var t=0;t<$O.length;++t)if($O[t][1]==e)return $O[t];for(t=0;t'+a.join("")+""}(e.Props,e.Custprops)),n.join("")}(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r'];return t.cellXfs.forEach((function(e,t){var r=[];r.push(nN("NumberFormat",null,{"ss:Format":WI(OA[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};n.push(nN("Style",r.join(""),a))})),nN("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r0&&(r.family=i);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),a=e.read_shift(2,"i"),o=e.read_shift(1),i=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=FO[r];l&&(t.rgb=zR(l));break;case 2:t.rgb=zR([o,i,s]);break;case 3:t.theme=r}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=cO(e),r}},44:{f:function(e,t){return[e.read_shift(2),cO(e)]}},45:{f:QR},46:{f:tL},47:{f:function(e,t){var n=e.l+t,r=e.read_shift(2),a=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:a}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:function(e,t,n){if(!n.cellStyles)return UN(e,t);var r=n&&n.biff>=12?4:2,a=e.read_shift(r),o=e.read_shift(r),i=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:a,e:o,w:i,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}},62:{f:function(e){return[hO(e),dO(e),"is"]}},63:{f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=eO(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:UN,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=yO(e,t-19),n}},148:{f:lP,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var a=t>8?cO(e):"";return a.length>0&&(n.CodeName=a),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{},155:{},156:{f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=SO(e,t-8),n.name=cO(e),n}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:AO},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:uP},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:cO(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:SO},357:{},358:{},359:{},360:{T:1},361:{},362:{f:function(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=fR(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],a=e.l+t,o=e.read_shift(n.biff>8?4:2);0!=o--;)r.push(vR(e,n.biff,n));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return r}},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,n){var r=e.l+t,a=TO(e),o=e.read_shift(1),i=[a];if(i[2]=o,n.cellFormula){var s=WL(e,r-e.l,n);i[1]=s}else e.l=r;return i}},427:{f:function(e,t,n){var r=e.l+t,a=[AO(e,16)];if(n.cellFormula){var o=GL(e,r-e.l,n);a[1]=o,e.l=r}else e.l=r;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return dP.forEach((function(n){t[n]=NO(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var n=e.l+t,r=AO(e,16),a=bO(e),o=cO(e),i=cO(e),s=cO(e);e.l=n;var l={rfx:r,relId:a,loc:o,display:s};return i&&(l.Tooltip=i),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:SO},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:uL},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=AO(e,16);return t.rfx=n.s,t.ref=eO(n.s),e.l+=16,t}},636:{T:-1},637:{f:pO},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:cO(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function IP(e,t,n,r){var a=t;if(!isNaN(a)){var o=r||(n||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,o),o>0&&TN(n)&&e.push(n)}}function NP(e,t,n){return e||(e=HN(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function OP(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?_I(NI(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?IP(e,2,function(e,t,n){var r=HN(9);return NP(r,e,t),r.write_shift(2,n),r}(n,r,a)):IP(e,3,function(e,t,n){var r=HN(15);return NP(r,e,t),r.write_shift(8,n,"f"),r}(n,r,a)));case"b":case"e":return void IP(e,5,function(e,t,n,r){var a=HN(9);return NP(a,e,t),uR(n,r||"b",a),a}(n,r,t.v,t.t));case"s":case"str":return void IP(e,4,function(e,t,n){var r=HN(8+2*n.length);return NP(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l255||m.e.r>=g){if(t.WTF)throw new Error("Range "+(l["!ref"]||"A1")+" exceeds format limit A1:IV16384");m.e.c=Math.min(m.e.c,255),m.e.r=Math.min(m.e.c,g-1)}IP(i,2057,bR(0,16,t)),IP(i,13,cR(1)),IP(i,12,cR(100)),IP(i,15,sR(!0)),IP(i,17,sR(!1)),IP(i,16,OO(.001)),IP(i,95,sR(!0)),IP(i,42,sR(!1)),IP(i,43,sR(!1)),IP(i,130,cR(1)),IP(i,128,(a=[0,0],(o=HN(8)).write_shift(4,0),o.write_shift(2,a[0]?a[0]+1:0),o.write_shift(2,a[1]?a[1]+1:0),o)),IP(i,131,sR(!1)),IP(i,132,sR(!1)),d&&function(e,t){if(t){var n=0;t.forEach((function(t,r){++n<=256&&t&&IP(e,125,function(e,t){var n=HN(12);n.write_shift(2,t),n.write_shift(2,t),n.write_shift(2,256*e.width),n.write_shift(2,0);var r=0;return e.hidden&&(r|=1),n.write_shift(1,r),r=e.level||0,n.write_shift(1,r),n.write_shift(2,0),n}(ZL(r,t),r))}))}}(i,l["!cols"]),IP(i,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=HN(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}(m,t)),d&&(l["!links"]=[]);for(var v=m.s.r;v<=m.e.r;++v){p=KN(v);for(var y=m.s.c;y<=m.e.c;++y){v===m.s.r&&(h[y]=JN(y)),r=h[y]+p;var w=f?(l[v]||[])[y]:l[r];w&&(RP(i,w,v,y,t),d&&w.l&&l["!links"].push([r,w.l]))}}var b=u.CodeName||u.name||s;return d&&IP(i,574,function(e){var t=HN(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((c.Views||[])[0])),d&&(l["!merges"]||[]).length&&IP(i,229,function(e){var t=HN(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=RI(OA)),e&&e.SSF&&(uI(),cI(e.SSF),n.revssf=bI(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,cD(n),n.cellXfs=[],tP(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a255||i.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=nO(i)}for(var c=i.s.r;c<=i.e.r;++c){s=KN(c);for(var u=i.s.c;u<=i.e.c;++u){c===i.s.r&&(l[u]=JN(u)),a=l[u]+s;var f=o?(t[c]||[])[u]:t[a];f&&OP(e,f,c,u)}}}(r,e.Sheets[e.SheetNames[a]],0,n),IP(r,10),r.end()}(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function MP(e,t,n,r){for(var a=e["!merges"]||[],o=[],i=t.s.c;i<=t.e.c;++i){for(var s=0,l=0,c=0;cn||a[c].s.c>i||a[c].e.r").replace(YI,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})))||"",p={};s>1&&(p.rowspan=s),l>1&&(p.colspan=l),r.editable?d=''+d+"":f&&(p["data-t"]=f&&f.t||"z",null!=f.v&&(p["data-v"]=f.v),null!=f.z&&(p["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(d=''+d+"")),p.id=(r.id||"sjs")+"-"+u,o.push(nN("td",d,p))}}return""+o.join("")+""}var FP='SheetJS Table Export',zP="";function jP(e,t){var n=t||{},r=null!=n.header?n.header:FP,a=null!=n.footer?n.footer:zP,o=[r],i=tO(e["!ref"]);n.dense=Array.isArray(e),o.push(function(e,t,n){return[].join("")+""}(0,0,n));for(var s=i.s.r;s<=i.e.r;++s)o.push(MP(e,i,s,n));return o.push(""+a),o.join("")}function BP(e,t,n){var r=n||{};null!=lA&&(r.dense=lA);var a=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)a=r.origin;else{var i="string"==typeof r.origin?ZN(r.origin):r.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=tO(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==a&&(c.e.r=a=u.e.r+1)}var f=[],d=0,p=e["!rows"]||(e["!rows"]=[]),h=0,m=0,g=0,v=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);h1||w>1)&&f.push({s:{r:m+a,c:v+o},e:{r:m+a+(y||1)-1,c:v+o+(w||1)-1}});var C={t:"s",v:S},T=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=S&&(0==S.length?C.t=T||"z":r.raw||0==S.trim().length||"s"==T||("TRUE"===S?C={t:"b",v:!0}:"FALSE"===S?C={t:"b",v:!1}:isNaN(PI(S))?isNaN(MI(S).getDate())||(C={t:"d",v:NI(S)},r.cellDates||(C={t:"n",v:_I(C.v)}),C.z=r.dateNF||OA[14]):C={t:"n",v:PI(S)})),void 0===C.z&&null!=E&&(C.z=E);var A="",I=_.getElementsByTagName("A");if(I&&I.length)for(var N=0;N=l&&(e["!fullref"]=nO((c.e.r=s.length-h+m-1+a,c))),e}function UP(e,t){return BP((t||{}).dense?[]:{},e,t)}function HP(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var WP=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return jI+t}}(),VP=function(){var e=" \n",t=function(t,n,r){var a=[];a.push(' \n');var o=0,i=0,s=tO(t["!ref"]||"A1"),l=t["!merges"]||[],c=0,u=Array.isArray(t);if(t["!cols"])for(i=0;i<=s.e.c;++i)a.push(" \n");var f,d="",p=t["!rows"]||[];for(o=0;o\n");for(;o<=s.e.r;++o){for(d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",a.push(" \n"),i=0;ii||l[c].s.r>o||l[c].e.c\n");else{var v=eO({r:o,c:i}),y=u?(t[o]||[])[i]:t[v];if(y&&y.f&&(m["table:formula"]=WI(KL(y.f)),y.F&&y.F.slice(0,v.length)==v)){var w=tO(y.F);m["table:number-matrix-columns-spanned"]=w.e.c-w.s.c+1,m["table:number-matrix-rows-spanned"]=w.e.r-w.s.r+1}if(y){switch(y.t){case"b":g=y.v?"TRUE":"FALSE",m["office:value-type"]="boolean",m["office:boolean-value"]=y.v?"true":"false";break;case"n":g=y.w||String(y.v||0),m["office:value-type"]="float",m["office:value"]=y.v||0;break;case"s":case"str":g=null==y.v?"":y.v,m["office:value-type"]="string";break;case"d":g=y.w||NI(y.v).toISOString(),m["office:value-type"]="date",m["office:date-value"]=NI(y.v).toISOString(),m["table:style-name"]="ce1";break;default:a.push(e);continue}var b=WI(g).replace(/ +/g,(function(e){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(y.l&&y.l.Target){var x=y.l.Target;"#"==(x="#"==x.charAt(0)?"#"+(f=x.slice(1),f.replace(/\./,"!")):x).charAt(0)||x.match(/^\w+:/)||(x="../"+x),b=nN("text:a",b,{"xlink:href":x.replace(/&/g,"&")})}a.push(" "+nN("table:table-cell",nN("text:p",b,{}),m)+"\n")}else a.push(e)}}a.push(" \n")}return a.push(" \n"),a.join("")};return function(e,n){var r=[jI],a=tN({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=tN({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?(r.push("\n"),r.push(XO().replace(/office:document-meta/g,"office:meta"))):r.push("\n"),function(e,t){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n");var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var r=0;r\n'),e.push(' \n'),e.push(" \n"),++n}}));var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var n=0;n\n'),e.push(' \n'),e.push(" \n"),++r}})),e.push(' \n'),e.push(' \n'),e.push(" \n"),e.push(' \n'),e.push(" \n")}(r,e),r.push(" \n"),r.push(" \n");for(var i=0;i!=e.SheetNames.length;++i)r.push(t(e.Sheets[e.SheetNames[i]],e,i));return r.push(" \n"),r.push(" \n"),"fods"==n.bookType?r.push(""):r.push(""),r.join("")}}();function YP(e,t){if("fods"==t.bookType)return VP(e,t);var n=zI(),r="",a=[],o=[];return FI(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),FI(n,r="content.xml",VP(e,t)),a.push([r,"text/xml"]),o.push([r,"ContentFile"]),FI(n,r="styles.xml",WP(e,t)),a.push([r,"text/xml"]),o.push([r,"StylesFile"]),FI(n,r="meta.xml",jI+XO()),a.push([r,"text/xml"]),o.push([r,"MetadataFile"]),FI(n,r="manifest.rdf",function(e){var t=[jI];t.push('\n');for(var n=0;n!=e.length;++n)t.push(GO(e[n][0],e[n][1])),t.push(("",[' \n',' \n'," \n"].join("")));return t.push(GO("","Document","pkg")),t.push(""),t.join("")}(o)),a.push([r,"application/rdf+xml"]),FI(n,r="META-INF/manifest.xml",function(e){var t=[jI];t.push('\n'),t.push(' \n');for(var n=0;n\n');return t.push(""),t.join("")}(a)),n}function GP(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function XP(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):gA(QI(e))}function $P(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),r=0;return e.forEach((function(e){n.set(e,r),r+=e.length})),n}function qP(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function KP(e){var t=new Uint8Array(7);t[0]=127&e;var n=1;e:if(e>127){if(t[n-1]|=128,t[n]=e>>7&127,++n,e<=16383)break e;if(t[n-1]|=128,t[n]=e>>14&127,++n,e<=2097151)break e;if(t[n-1]|=128,t[n]=e>>21&127,++n,e<=268435455)break e;if(t[n-1]|=128,t[n]=e/256>>>21&127,++n,e<=34359738367)break e;if(t[n-1]|=128,t[n]=e/65536>>>21&127,++n,e<=4398046511103)break e;t[n-1]|=128,t[n]=e/16777216>>>21&127,++n}return t.slice(0,n)}function QP(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function JP(e){for(var t=[],n=[0];n[0]=128;);r=e.slice(l,n[0]);break;case 5:s=4,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=qP(e,n),r=e.slice(n[0],n[0]+s),n[0]+=s;break;default:throw new Error("PB Type ".concat(i," for Field ").concat(o," at offset ").concat(a))}var c={data:r,type:i};null==t[o]?t[o]=[c]:t[o].push(c)}return t}function ZP(e){var t=[];return e.forEach((function(e,n){e.forEach((function(e){e.data&&(t.push(KP(8*n+e.type)),2==e.type&&t.push(KP(e.data.length)),t.push(e.data))}))})),$P(t)}function eD(e){for(var t,n=[],r=[0];r[0]>>0>0),n.push(i)}return n}function tD(e){var t=[];return e.forEach((function(e){var n=[];n[1]=[{data:KP(e.id),type:0}],n[2]=[],null!=e.merge&&(n[3]=[{data:KP(+!!e.merge),type:0}]);var r=[];e.messages.forEach((function(e){r.push(e.data),e.meta[3]=[{type:0,data:KP(e.data.length)}],n[2].push({data:ZP(e.meta),type:2})}));var a=ZP(n);t.push(KP(a.length)),t.push(a),r.forEach((function(e){return t.push(e)}))})),$P(t)}function nD(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],r=qP(t,n),a=[];n[0]>2&7),i=(224&t[n[0]++])<<3,i|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(i=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(i=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),a=[$P(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(s>=i)for(a.push(a[0].slice(-i)),s-=i;s>=a[a.length-1].length;)a.push(a[a.length-1]),s-=a[a.length-1].length;a.push(a[0].slice(-i,-i+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}a.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=$P(a);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function rD(e){for(var t=[],n=0;n>8&255]))):r<=16777216?(i+=4,t.push(new Uint8Array([248,r-1&255,r-1>>8&255,r-1>>16&255]))):r<=4294967296&&(i+=5,t.push(new Uint8Array([252,r-1&255,r-1>>8&255,r-1>>16&255,r-1>>>24&255]))),t.push(e.slice(n,n+r)),i+=r,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,n+=r}return $P(t)}function oD(e,t){var n=new Uint8Array(32),r=GP(n),a=12,o=0;switch(n[0]=5,e.t){case"n":n[1]=2,function(e,t,n){var r=Math.floor(0==n?0:Math.LOG10E*Math.log(Math.abs(n)))+6176-20,a=n/Math.pow(10,r-6176);e[t+15]|=r>>7,e[t+14]|=(127&r)<<1;for(var o=0;a>=1;++o,a/=256)e[t+o]=255&a;e[t+15]|=n>=0?0:128}(n,a,e.v),o|=1,a+=16;break;case"b":n[1]=6,r.setFloat64(a,e.v?1:0,!0),o|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[1]=3,r.setUint32(a,t.indexOf(e.v),!0),o|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(8,o,!0),n.slice(0,a)}function iD(e,t){var n=new Uint8Array(32),r=GP(n),a=12,o=0;switch(n[0]=3,e.t){case"n":n[2]=2,r.setFloat64(a,e.v,!0),o|=32,a+=8;break;case"b":n[2]=6,r.setFloat64(a,e.v?1:0,!0),o|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[2]=3,r.setUint32(a,t.indexOf(e.v),!0),o|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(4,o,!0),n.slice(0,a)}function sD(e){return qP(JP(e)[1][0].data)}function lD(e,t,n){var r,a,o,i;if(!(null==(r=e[6])?void 0:r[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(i=null==(o=e[8])?void 0:o[0])?void 0:i.data)&&QP(e[8][0].data)>0)throw"Math only works with normal offsets";for(var s=0,l=GP(e[7][0].data),c=0,u=[],f=GP(e[4][0].data),d=0,p=[],h=0;h1&&console.error("The Numbers writer currently writes only the first table");var r=tO(n["!ref"]);r.s.r=r.s.c=0;var a=!1;r.e.c>9&&(a=!0,r.e.c=9),r.e.r>49&&(a=!0,r.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(nO(r)));var o=gD(n,{range:r,header:1}),i=["~Sh33tJ5~"];o.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var s={},l=[],c=pI.read(t.numbers,{type:"base64"});c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0],n=e[1];2==t.type&&t.name.match(/\.iwa/)&&eD(rD(t.content)).forEach((function(e){l.push(e.id),s[e.id]={deps:[],location:n,type:QP(e.messages[0].meta[1][0].data)}}))})),l.sort((function(e,t){return e-t}));var u=l.filter((function(e){return e>1})).map((function(e){return[e,KP(e)]}));c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&eD(rD(t.content)).forEach((function(e){e.messages.forEach((function(t){u.forEach((function(t){e.messages.some((function(e){return 11006!=QP(e.meta[1][0].data)&&function(e,t){e:for(var n=0;n<=e.length-t.length;++n){for(var r=0;r-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};cD(t=t||{});var o=zI(),i="",s=0;if(t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),FI(o,i="docProps/core.xml",KO(e.Props,t)),a.coreprops.push(i),YO(t.rels,2,i,HO.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c0&&(FI(o,i="docProps/custom.xml",eR(e.Custprops)),a.custprops.push(i),YO(t.rels,4,i,HO.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];if((f||{})["!type"],FI(o,i="xl/worksheets/sheet"+s+"."+n,bP(s-1,i,t,e,u)),a.sheets.push(i),YO(t.wbrels,-1,"worksheets/sheet"+s+"."+n,HO.WS[0]),f){var d=f["!comments"],p=!1,h="";d&&d.length>0&&(FI(o,h="xl/comments"+s+"."+n,xP(d,h,t)),a.comments.push(h),YO(u,-1,"../comments"+s+"."+n,HO.CMNT),p=!0),f["!legacy"]&&p&&FI(o,"xl/drawings/vmlDrawing"+s+".vml",sL(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&FI(o,WO(i),VO(u))}return null!=t.Strings&&t.Strings.length>0&&(FI(o,i="xl/sharedStrings."+n,function(e,t,n){return(".bin"===t.slice(-4)?DR:LR)(e,n)}(t.Strings,i,t)),a.strs.push(i),YO(t.wbrels,-1,"sharedStrings."+n,HO.SST)),FI(o,i="xl/workbook."+n,function(e,t,n){return(".bin"===t.slice(-4)?wP:yP)(e,n)}(e,i,t)),a.workbooks.push(i),YO(t.rels,1,i,HO.WB),FI(o,i="xl/theme/theme1.xml",rL(e.Themes,t)),a.themes.push(i),YO(t.wbrels,-1,"theme/theme1.xml",HO.THEME),FI(o,i="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?nL:XR)(e,n)}(e,i,t)),a.styles.push(i),YO(t.wbrels,-1,"styles."+n,HO.STY),e.vbaraw&&r&&(FI(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),YO(t.wbrels,-1,"vbaProject.bin",HO.VBA)),FI(o,i="xl/metadata."+n,(".bin"===i.slice(-4)?aL:oL)()),a.metadata.push(i),YO(t.wbrels,-1,"metadata."+n,HO.XLMETA),FI(o,"[Content_Types].xml",UO(a,t)),FI(o,"_rels/.rels",VO(t.rels)),FI(o,"xl/_rels/workbook."+n+".rels",VO(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t):function(e,t){iL=1024,e&&!e.SSF&&(e.SSF=RI(OA)),e&&e.SSF&&(uI(),cI(e.SSF),t.revssf=bI(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,QL?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xml",r=dL.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};cD(t=t||{});var o=zI(),i="",s=0;if(t.cellXfs=[],tP(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),FI(o,i="docProps/core.xml",KO(e.Props,t)),a.coreprops.push(i),YO(t.rels,2,i,HO.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c0&&(FI(o,i="docProps/custom.xml",eR(e.Custprops)),a.custprops.push(i),YO(t.rels,4,i,HO.CUST_PROPS));var u=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},d=e.Sheets[e.SheetNames[s-1]];if((d||{})["!type"],FI(o,i="xl/worksheets/sheet"+s+"."+n,iP(s-1,t,e,f)),a.sheets.push(i),YO(t.wbrels,-1,"worksheets/sheet"+s+"."+n,HO.WS[0]),d){var p=d["!comments"],h=!1,m="";if(p&&p.length>0){var g=!1;p.forEach((function(e){e[1].forEach((function(e){1==e.T&&(g=!0)}))})),g&&(FI(o,m="xl/threadedComments/threadedComment"+s+"."+n,cL(p,u,t)),a.threadedcomments.push(m),YO(f,-1,"../threadedComments/threadedComment"+s+"."+n,HO.TCMNT)),FI(o,m="xl/comments"+s+"."+n,lL(p)),a.comments.push(m),YO(f,-1,"../comments"+s+"."+n,HO.CMNT),h=!0}d["!legacy"]&&h&&FI(o,"xl/drawings/vmlDrawing"+s+".vml",sL(s,d["!comments"])),delete d["!comments"],delete d["!legacy"]}f["!id"].rId1&&FI(o,WO(i),VO(f))}return null!=t.Strings&&t.Strings.length>0&&(FI(o,i="xl/sharedStrings."+n,LR(t.Strings,t)),a.strs.push(i),YO(t.wbrels,-1,"sharedStrings."+n,HO.SST)),FI(o,i="xl/workbook."+n,yP(e)),a.workbooks.push(i),YO(t.rels,1,i,HO.WB),FI(o,i="xl/theme/theme1.xml",rL(e.Themes,t)),a.themes.push(i),YO(t.wbrels,-1,"theme/theme1.xml",HO.THEME),FI(o,i="xl/styles."+n,XR(e,t)),a.styles.push(i),YO(t.wbrels,-1,"styles."+n,HO.STY),e.vbaraw&&r&&(FI(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),YO(t.wbrels,-1,"vbaProject.bin",HO.VBA)),FI(o,i="xl/metadata."+n,oL()),a.metadata.push(i),YO(t.wbrels,-1,"metadata."+n,HO.XLMETA),u.length>1&&(FI(o,i="xl/persons/person.xml",function(e){var t=[jI,nN("personList",null,{xmlns:aN.TCMNT,"xmlns:x":oN[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,n){t.push(nN("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push(""),t.join("")}(u)),a.people.push(i),YO(t.wbrels,-1,"persons/person.xml",HO.PEOPLE)),FI(o,"[Content_Types].xml",UO(a,t)),FI(o,"_rels/.rels",VO(t.rels)),FI(o,"xl/_rels/workbook.xml.rels",VO(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t)}function fD(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return gI(t.file,pI.write(e,{type:dA?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return pI.write(e,t)}function dD(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return uA(QI(r));case"binary":return QI(r);case"string":return e;case"file":return gI(t.file,r,"utf8");case"buffer":return dA?pA(r,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(r):dD(r,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function pD(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r22)throw new Error("Bad Code Name: Worksheet"+i)}}))}(e.SheetNames,t,!!e.vbaraw);for(var n=0;n-1||JO.indexOf(o[i][0])>-1||null!=o[i][1]&&c.push(o[i]);a.length&&pI.utils.cfb_add(t,"/SummaryInformation",iR(a,TP.SI,l,DO)),(r.length||c.length)&&pI.utils.cfb_add(t,"/DocumentSummaryInformation",iR(r,TP.DSI,s,PO,c.length?c:null,TP.UDI))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(n,r){if(0!=r){var a=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&pI.utils.cfb_add(e,a,t.FileIndex[r].content)}}))}(r,pI.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}(e,n),n)}(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(e,t){var n=RI(t||{});return function(e,t){var n={},r=dA?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(t.compression&&(n.compression="DEFLATE"),t.password)n.type=r;else switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":n.type=r;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?pI.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[n.type]||n.type,compression:!!t.compression}):e.generate(n);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(vA(a))}return t.password&&"undefined"!=typeof encrypt_agile?fD(encrypt_agile(a,t.password),t):"file"===t.type?gI(t.file,a):"string"==t.type?KI(a):a}(uD(e,n),n)}(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function mD(e,t,n,r,a,o,i,s){var l=KN(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,d=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(e){d.__rowNum__=n}else d.__rowNum__=n;if(!i||e[n])for(var p=t.s.c;p<=t.e.c;++p){var h=i?e[n][p]:e[r[p]+l];if(void 0!==h&&void 0!==h.t){var m=h.v;switch(h.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+h.t)}if(null!=o[p]){if(null==m)if("e"==h.t&&null===m)d[o[p]]=null;else if(void 0!==c)d[o[p]]=c;else{if(!u||null!==m)continue;d[o[p]]=null}else d[o[p]]=u&&("n"!==h.t||"n"===h.t&&!1!==s.rawNumbers)?m:aO(h,m,s);null!=m&&(f=!1)}}else{if(void 0===c)continue;null!=o[p]&&(d[o[p]]=c)}}return{row:d,isempty:f}}function gD(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,a=1,o=[],i=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=rO(u);break;case"number":(l=rO(e["!ref"])).s.r=u;break;default:l=u}r>0&&(a=0);var f=KN(l.s.r),d=[],p=[],h=0,m=0,g=Array.isArray(e),v=l.s.r,y=0,w={};g&&!e[v]&&(e[v]=[]);var b=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(y=l.s.c;y<=l.e.c;++y)if(!(b[y]||{}).hidden)switch(d[y]=JN(y),n=g?e[v][y]:e[d[y]+f],r){case 1:o[y]=y-l.s.c;break;case 2:o[y]=d[y];break;case 3:o[y]=c.header[y-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=i=aO(n,null,c),m=w[i]||0){do{s=i+"_"+m++}while(w[s]);w[i]=m,w[s]=1}else w[i]=1;o[y]=s}for(v=l.s.r+a;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var _=mD(e,l,v,d,r,o,g,c);(!1===_.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(p[h++]=_.row)}return p.length=h,p}var vD=/"/g;function yD(e,t,n,r,a,o,i,s){for(var l=!0,c=[],u="",f=KN(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var p=s.dense?(e[n]||[])[d]:e[r[d]+f];if(null==p)u="";else if(null!=p.v){l=!1,u=""+(s.rawNumbers&&"n"==p.t?p.v:aO(p,null,s));for(var h=0,m=0;h!==u.length;++h)if((m=u.charCodeAt(h))===a||m===o||34===m||s.forceQuotes){u='"'+u.replace(vD,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==p.f||p.F?u="":(l=!1,(u="="+p.f).indexOf(",")>=0&&(u='"'+u.replace(vD,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(i)}function wD(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=rO(e["!ref"]),o=void 0!==r.FS?r.FS:",",i=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],p=r.skipHidden&&e["!rows"]||[],h=a.s.c;h<=a.e.c;++h)(d[h]||{}).hidden||(f[h]=JN(h));for(var m=0,g=a.s.r;g<=a.e.r;++g)(p[g]||{}).hidden||null!=(u=yD(e,a,g,f,i,l,o,r))&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u));return delete r.dense,n.join("")}function bD(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=wD(e,t);if(void 0===oA||"string"==t.type)return n;var r=oA.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function xD(e,t,n){var r,a=n||{},o=+!a.skipHeader,i=e||{},s=0,l=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var c="string"==typeof a.origin?ZN(a.origin):a.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(i["!ref"]){var f=rO(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var d=a.header||[],p=0;t.forEach((function(e,t){vI(e).forEach((function(n){-1==(p=d.indexOf(n))&&(d[p=d.length]=n);var c=e[n],u="z",f="",h=eO({c:l+p,r:s+t+o});r=_D(i,h),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",a.cellDates||(u="n",c=_I(c)),f=a.dateNF||OA[14]):null===c&&a.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,f&&(r.z=f)):i[h]=r={t:u,v:c},f&&(r.z=f)):i[h]=c}))})),u.e.c=Math.max(u.e.c,l+d.length-1);var h=KN(s);if(o)for(p=0;p=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);a=o&&+o[2]||0;var i=o&&o[1]||n;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(n=i+a);++a);}if(vP(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n},book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:SD,cell_set_internal_link:function(e,t,n){return SD(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,r){for(var a="string"!=typeof t?t:rO(t),o="string"==typeof t?t:nO(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var l=_D(e,i,s);l.t="n",l.F=o,delete l.v,i==a.s.r&&s==a.s.c&&(l.f=n,r&&(l.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};JT.version;var kD=function(e,t){var n=ED.book_new(),r=ED.json_to_sheet(e);ED.book_append_sheet(n,r,"Sheet1");var a=hD(n,{bookType:"xlsx",type:"array"}),o=new Blob([a],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});(0,QT.saveAs)(o,t||"table.xlsx")};function CD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return TD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TD(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function TD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?e.createElement(LD,{icon:YT.t5}):e.createElement(PD,{icon:YT.t5}):e.createElement(DD,{icon:YT.t5}),"数据库")),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入服务端根地址",id:"input_text",onChange:xe,onKeyPress:Ce,invalid:Z,text:h,setText:m,iconOnClick:function(){m&&m("")},data_tooltip_id:"url_tooltip",data_tooltip_content:"e.g. https://api.qiuyedx.com:8085",data_tooltip_variant:"info"})),e.createElement(MD,{id:"url_tooltip",offset:20,openOnClick:!0,place:"top",hidden:!!h}),e.createElement(FD,null,e.createElement(zD,{disabled:I,h:"36px",w:"140px",onClick:function(e){if(!h)return ee(!0),void Bg("请输入服务端根地址 !","init_error");if(!h.match(/https?:\/\/[^\s/$.?#]*[^\s/$.$].[^\s]*/gi))return ee(!0),void Bg("请输入有效的URL !","init_error_2");var t=h;"/"===t[t.length-1]&&t.slice(0,-1),d(t),N(!0);var n=t+"/initialTable";Up.post(n,{params:{}}).then((function(e){"0"!==e.data.code?(Ug("数据库初始化成功 !","init_success"),Ie(),Ne(),$p.awaitCountAPI("PUT","selenium").then((function(e){c(e.data[0].count)})).catch((function(e){return console.warn("Failed to put selenium count")}))):Bg("服务器内部错误,请练习管理员 !","insert_backend_error")})).catch((function(e){console.error("Error: ",e),Bg("数据库初始化失败,请重试 !","init_error")})).finally((function(){N(!1)}))},ref:r},I?e.createElement(e.Fragment,null,"执行中",e.createElement(jD,{icon:VT.gr,spin:!0})):e.createElement(e.Fragment,null,"初始化",e.createElement(BD,{icon:VT.gr,fade:!0}))),e.createElement(UD,{disabled:U,h:"36px",w:"140px",onClick:function(){if(!h)return ee(!0),void Bg("请输入服务端根地址 !","init_error");if(!h.match(/https?:\/\/[^\s/$.?#]*[^\s/$.$].[^\s]*/gi))return ee(!0),void Bg("请输入有效的URL !","init_error_2");var e=h;"/"===e[e.length-1]&&(e=e.slice(0,-1)),d(e),H(!0);var t=e+"/queryInstruction";Up.get(t,{}).then((function(e){if("0"!==e.data.code){if("1"===e.data.code)return ge([]),Bg("数据库为空,请先插入语句 !","query_empty"),void $(!0);ge(e.data.data),$(!0),Ug("查询指令序列成功 !","query_success")}else Bg("数据库内部错误,请练习管理员 !","query_backend_error")})).catch((function(e){console.error("Error: ",e),ee(!0),Bg("查询指令序列失败,请重试 !","query_error")})).finally((function(){H(!1)}));var n=e+"/queryLog";Up.get(n,{}).then((function(e){if("0"!==e.data.code){if("1"===e.data.code)return we([]),Bg("日志为空,请先执行测试 !","query2_empty"),void Q(!0);we(e.data.data),Q(!0),Ug("查询日志成功 !","query2_success")}else Bg("数据库内部错误,请练习管理员 !","query2_backend_error")})).catch((function(e){console.error("Error: ",e),Bg("查询日志失败,请重试 !","query2_error")}))},ref:i},U?e.createElement(e.Fragment,null,"查询中",e.createElement(HD,{icon:Sn.Y$,bounce:!0})):e.createElement(e.Fragment,null,"查询状态",e.createElement(WD,{icon:Sn.Y$,fade:!0}))))),e.createElement(qT,null,e.createElement(KT,null,e.createElement(VD,null,"批量插入指令")),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入selenium指令",id:"input_text2",onChange:_e,onKeyPress:Te,invalid:ne,text:v,setText:y,iconOnClick:function(){y&&y("")},data_tooltip_id:"input2_tooltip",data_tooltip_content:"指令间用井号加空格分隔 e.g. jump http://39.99.243.8:8688/# wait /html/body/div/form/div[4]/button# input /html/body/div/form/div[1]/input tea",data_tooltip_variant:"info"})),e.createElement(YD,{id:"input2_tooltip",offset:20,openOnClick:!0,place:"top",hidden:!!h}),e.createElement(GD,null,e.createElement(XD,{disabled:R,h:"36px",w:"140px",onClick:function(e){if(!v)return re(!0),void Bg("请输入测试语句 !","insert_input_error");L(!0);var t=f+"/insertInstruction";Up.post(t,v).then((function(e){"0"!==e.data.code?(Ug("插入测试语句成功 !","insert_success"),Ie()):Bg("服务器内部错误,请练习管理员 !","insert_backend_error")})).catch((function(e){console.error("Error generating QR code:",e),Bg("插入测试语句失败,请重试 !","insert_error")})).finally((function(){L(!1)}))},ref:a},R?e.createElement(e.Fragment,null,"执行中",e.createElement($D,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"插入指令",e.createElement(qD,{icon:WT.EQ,fade:!0}))))),e.createElement(qT,null,e.createElement(KT,null,e.createElement(KD,null,"编写单条指令")),e.createElement(KT,null,e.createElement(vx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"选择指令类型",id:"input_text5",onChange:ke,onKeyPress:Ae,invalid:fe,text:C,setText:T,iconOnClick:function(){T&&T("")},selectList:["jump","wait","click","input"],closeClassName:"closeClassName",animate:"tr.3"})),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入full xPath元素定位路径",id:"input_text3",onChange:Se,onKeyPress:Ae,invalid:oe,text:b,setText:x,iconOnClick:function(){x&&x("")}})),e.createElement(KT,null,e.createElement(fx,{icon:e.createElement(mi,{icon:Nw.bL}),placeholder:" ",desc:"输入参数(可选)",id:"input_text4",onChange:Ee,onKeyPress:Ae,invalid:le,text:S,setText:E,iconOnClick:function(){E&&E("")}})),e.createElement(QD,null,e.createElement(JD,{disabled:z,h:"36px",w:"140px",onClick:function(e){if(!C)return de(!0),void Bg("请选择指令类型 !","insert_input4_error");if(!b)return ie(!0),void Bg("请输入xPath元素定位路径 !","insert_input3_error");j(!0);var t=f+"/insertInstruction",n="".concat(C," ").concat(b," ").concat(S).trim();Up.post(t,n).then((function(e){"0"!==e.data.code?(Ug("插入指令成功 !","insert2_success"),Ie()):Bg("服务器内部错误,请练习管理员 !","insert2_backend_error")})).catch((function(e){console.error("Error:",e),Bg("插入指令失败,请重试 !","insert2_error"),de(!0),ie(!0)})).finally((function(){j(!1)}))},ref:o},z?e.createElement(e.Fragment,null,"执行中",e.createElement(ZD,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"插入指令",e.createElement(eM,{icon:WT.EQ,fade:!0})))))),e.createElement(tM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"开始测试")),e.createElement(KT,{tw:""},e.createElement(nM,{disabled:D||!X||!he||he&&0===he.length,h:"36px",w:"140px",onClick:function(){M(!0),Up.post(f+"/executeTest",{}).then((function(e){"0"!==e.data.code?(Ug("测试完毕 !","test_success"),Ne(),setTimeout((function(){s.current.scrollIntoView({behavior:"smooth"})}),100)):Bg("数据库内部错误,请练习管理员 !","query_backend_error")})).finally((function(){M(!1)}))}},D?e.createElement(e.Fragment,null,"测试中",e.createElement(rM,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"开始测试",e.createElement(aM,{icon:HT.zc,fade:!0}))))),X?e.createElement(e.Fragment,null,e.createElement(oM,null),e.createElement(tx,{title:"指令序列",data:he||[],headers:["ID","Type","Element","Param"]}),e.createElement(iM,null),e.createElement(sM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"复制指令")),e.createElement(KT,{tw:""},e.createElement(lM,{disabled:null===he||he&&0===he.length,h:"36px",w:"140px",onClick:function(){var e=he.reduce((function(e,t,n){return n>0&&(e+="# "),e+t.reduce((function(e,t,n){return n>0&&t&&""!==t&&(n>1&&(e+=" "),e+=t),e}),"")}),"");t.copy(e),Ug("指令序列Copied !","copy_success")}},"复制指令",e.createElement(cM,{icon:d_.kZ,fade:!0}))))):"",K?e.createElement(e.Fragment,null,e.createElement(uM,{ref:s}),e.createElement(tx,{title:"测试日志",data:ye||[],headers:be}),e.createElement(fM,null),e.createElement(dM,null,e.createElement(KT,null,e.createElement(Af,{tw:""},"导出日志")),e.createElement(KT,{tw:""},e.createElement(pM,{disabled:V||null===ye||ye&&0===ye.length,h:"36px",w:"140px",onClick:function(){var e,t,n,r,a,o,i,s=ye.reduce((function(e,t,n){return e[n]=be.reduce((function(e,n,r){return e[n]=t[r],e}),{}),e}),[]);kD(s,"log_"+(t=(e=new Date).getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0"),"".concat(t,"-").concat(n,"-").concat(r,"-").concat(a,"h").concat(o,"m").concat(i,"s"))),Ug("导出成功 !","export_success")}},V?e.createElement(e.Fragment,null,"导出中",e.createElement(hM,{icon:_f.LM,spin:!0})):e.createElement(e.Fragment,null,"下载数据",e.createElement(mM,{icon:UT.c,fade:!0})))))):""))}var ID=bn("div").withConfig({displayName:"SeleniumPage___StyledDiv",componentId:"sc-1kd70ub-0"})({gridColumn:"span 4 / span 4"}),ND=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon",componentId:"sc-1kd70ub-1"})({position:"relative",top:"-1px",verticalAlign:"middle","@media (min-width: 768px)":{paddingRight:"1rem"}}),OD=bn("div").withConfig({displayName:"SeleniumPage___StyledDiv2",componentId:"sc-1kd70ub-2"})({display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",columnGap:"1.25rem"}),RD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle",componentId:"sc-1kd70ub-3"})({marginBottom:"0.5rem"}),LD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon2",componentId:"sc-1kd70ub-4"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(74 222 128 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),PD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon3",componentId:"sc-1kd70ub-5"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(251 146 60 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),DD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon4",componentId:"sc-1kd70ub-6"})({paddingLeft:"0.25rem",paddingRight:"0.25rem","--tw-text-opacity":"1",color:"rgb(248 113 113 / var(--tw-text-opacity))",transitionDuration:"500ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}),MD=bn(ex).withConfig({displayName:"SeleniumPage___StyledTooltip",componentId:"sc-1kd70ub-7"})({position:"absolute",zIndex:"200",maxWidth:"20rem",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","@media (min-width: 768px)":{maxWidth:"32rem"}}),FD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper",componentId:"sc-1kd70ub-8"})({marginTop:"0.5rem"}),zD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton",componentId:"sc-1kd70ub-9"})({borderRadius:"9999px"}),jD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon5",componentId:"sc-1kd70ub-10"})({marginLeft:"0.25rem"}),BD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon6",componentId:"sc-1kd70ub-11"})({marginLeft:"0.25rem"}),UD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton2",componentId:"sc-1kd70ub-12"})({borderRadius:"9999px"}),HD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon7",componentId:"sc-1kd70ub-13"})({marginLeft:"0.25rem"}),WD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon8",componentId:"sc-1kd70ub-14"})({marginLeft:"0.25rem"}),VD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle2",componentId:"sc-1kd70ub-15"})({marginBottom:"0.5rem"}),YD=bn(ex).withConfig({displayName:"SeleniumPage___StyledTooltip2",componentId:"sc-1kd70ub-16"})({position:"absolute",zIndex:"200",maxWidth:"20rem",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(96 165 250 / var(--tw-bg-opacity))","@media (min-width: 768px)":{maxWidth:"32rem"}}),GD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper2",componentId:"sc-1kd70ub-17"})({marginTop:"0.5rem"}),XD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton3",componentId:"sc-1kd70ub-18"})({borderRadius:"9999px"}),$D=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon9",componentId:"sc-1kd70ub-19"})({marginLeft:"0.25rem"}),qD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon10",componentId:"sc-1kd70ub-20"})({marginLeft:"0.25rem"}),KD=bn(Af).withConfig({displayName:"SeleniumPage___StyledInLineTitle3",componentId:"sc-1kd70ub-21"})({marginBottom:"0.5rem"}),QD=bn(KT).withConfig({displayName:"SeleniumPage___StyledLineWrapper3",componentId:"sc-1kd70ub-22"})({marginTop:"0.5rem"}),JD=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton4",componentId:"sc-1kd70ub-23"})({borderRadius:"9999px"}),ZD=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon11",componentId:"sc-1kd70ub-24"})({marginLeft:"0.25rem"}),eM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon12",componentId:"sc-1kd70ub-25"})({marginLeft:"0.25rem"}),tM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper",componentId:"sc-1kd70ub-26"})({height:"8rem",minHeight:"0px"}),nM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton5",componentId:"sc-1kd70ub-27"})({borderRadius:"9999px"}),rM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon13",componentId:"sc-1kd70ub-28"})({marginLeft:"0.25rem"}),aM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon14",componentId:"sc-1kd70ub-29"})({marginLeft:"0.25rem"}),oM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap",componentId:"sc-1kd70ub-30"})({visibility:"hidden"}),iM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap2",componentId:"sc-1kd70ub-31"})({visibility:"hidden"}),sM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper2",componentId:"sc-1kd70ub-32"})({height:"8rem",minHeight:"0px"}),lM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton6",componentId:"sc-1kd70ub-33"})({borderRadius:"9999px"}),cM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon15",componentId:"sc-1kd70ub-34"})({marginLeft:"0.25rem"}),uM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap3",componentId:"sc-1kd70ub-35"})({visibility:"hidden"}),fM=bn(If).withConfig({displayName:"SeleniumPage___StyledGap4",componentId:"sc-1kd70ub-36"})({visibility:"hidden"}),dM=bn(qT).withConfig({displayName:"SeleniumPage___StyledContentWrapper3",componentId:"sc-1kd70ub-37"})({height:"8rem",minHeight:"0px"}),pM=bn(Xg).withConfig({displayName:"SeleniumPage___StyledMButton7",componentId:"sc-1kd70ub-38"})({borderRadius:"9999px"}),hM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon16",componentId:"sc-1kd70ub-39"})({marginLeft:"0.25rem"}),mM=bn(mi).withConfig({displayName:"SeleniumPage___StyledFontAwesomeIcon17",componentId:"sc-1kd70ub-40"})({marginLeft:"0.25rem"});function gM(){var t,n=he(),r=ge(),a={QRPage:e.createElement($x,null),bilibili:e.createElement(vC,null),tiktok:e.createElement(nT,null),Selenium:e.createElement(AD,null)};return e.createElement(Pn,null,(t=r.toolId,a[t]||"/tools"===n.pathname?e.createElement(wf,null):""),e.createElement(Nn,null,e.createElement(Rn,null),function(t){return a[t]||Bg("未找到该工具!","error_notFindToolPage"),e.createElement(On,null,a[t]?a[t]:e.createElement(Cw,null))}(r.toolId),e.createElement(Ln,null)),e.createElement(rh,null))}var vM=i(8055),yM=i(4797),wM=i(3461),bM=i(7992),xM=i(7749),_M=i(6065),SM=i(6686),EM=i(7319),kM=i(1303),CM=i(959),TM=i(8512),AM=i(426),IM=i(7080),NM=i(4495),OM=i(1775),RM=i(5061),LM=i(1746),PM=i(7780),DM=(bn.div.withConfig({displayName:"Styledtwin__Wrapper",componentId:"sc-1xtz35u-0"})(["margin:0 auto 0 auto;max-width:1000px;display:flex;flex-direction:column;padding:0 5px 0 5px;",";"],{marginTop:"0.5rem","@media (min-width: 768px)":{marginTop:"0px"}}),bn.div.withConfig({displayName:"Styledtwin__ButtonWrapper",componentId:"sc-1xtz35u-1"})([""]),bn.div.withConfig({displayName:"Styledtwin__HeaderWrapper",componentId:"sc-1xtz35u-2"})(["display:flex;flex-direction:row;justify-content:space-between;"]),bn(mh).withConfig({displayName:"Styledtwin__ContentWrapper",componentId:"sc-1xtz35u-3"})(["margin:20px 0 0 0;padding:20px 12px;position:relative;background-color:white;text-align:center;gap:10px;&::-webkit-scrollbar{display:none;}"]));function MM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return FM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?FM(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function FM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n*{margin-left:auto;margin-right:auto;}"]);var jM=bn(DM).withConfig({displayName:"CompDisplay___StyledContentWrapper",componentId:"sc-pr3ism-0"})({gridColumn:"span 4 / span 4",height:"fit-content",overflow:"hidden"}),BM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv",componentId:"sc-pr3ism-1"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),UM=bn(If).withConfig({displayName:"CompDisplay___StyledGap",componentId:"sc-pr3ism-2"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),HM=bn(If).withConfig({displayName:"CompDisplay___StyledGap2",componentId:"sc-pr3ism-3"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),WM=bn(If).withConfig({displayName:"CompDisplay___StyledGap3",componentId:"sc-pr3ism-4"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),VM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv2",componentId:"sc-pr3ism-5"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),YM=bn(If).withConfig({displayName:"CompDisplay___StyledGap4",componentId:"sc-pr3ism-6"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),GM=bn(If).withConfig({displayName:"CompDisplay___StyledGap5",componentId:"sc-pr3ism-7"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),XM=bn(If).withConfig({displayName:"CompDisplay___StyledGap6",componentId:"sc-pr3ism-8"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),$M=bn("div").withConfig({displayName:"CompDisplay___StyledDiv3",componentId:"sc-pr3ism-9"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),qM=bn(If).withConfig({displayName:"CompDisplay___StyledGap7",componentId:"sc-pr3ism-10"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),KM=bn(If).withConfig({displayName:"CompDisplay___StyledGap8",componentId:"sc-pr3ism-11"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),QM=bn(If).withConfig({displayName:"CompDisplay___StyledGap9",componentId:"sc-pr3ism-12"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),JM=bn("div").withConfig({displayName:"CompDisplay___StyledDiv4",componentId:"sc-pr3ism-13"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),ZM=bn(If).withConfig({displayName:"CompDisplay___StyledGap10",componentId:"sc-pr3ism-14"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),eF=bn(If).withConfig({displayName:"CompDisplay___StyledGap11",componentId:"sc-pr3ism-15"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),tF=bn(If).withConfig({displayName:"CompDisplay___StyledGap12",componentId:"sc-pr3ism-16"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),nF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv5",componentId:"sc-pr3ism-17"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),rF=bn(If).withConfig({displayName:"CompDisplay___StyledGap13",componentId:"sc-pr3ism-18"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),aF=bn(If).withConfig({displayName:"CompDisplay___StyledGap14",componentId:"sc-pr3ism-19"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),oF=bn(If).withConfig({displayName:"CompDisplay___StyledGap15",componentId:"sc-pr3ism-20"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),iF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv6",componentId:"sc-pr3ism-21"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),sF=bn(If).withConfig({displayName:"CompDisplay___StyledGap16",componentId:"sc-pr3ism-22"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),lF=bn(If).withConfig({displayName:"CompDisplay___StyledGap17",componentId:"sc-pr3ism-23"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),cF=bn(If).withConfig({displayName:"CompDisplay___StyledGap18",componentId:"sc-pr3ism-24"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),uF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv7",componentId:"sc-pr3ism-25"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),fF=bn(If).withConfig({displayName:"CompDisplay___StyledGap19",componentId:"sc-pr3ism-26"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),dF=bn(If).withConfig({displayName:"CompDisplay___StyledGap20",componentId:"sc-pr3ism-27"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),pF=bn(If).withConfig({displayName:"CompDisplay___StyledGap21",componentId:"sc-pr3ism-28"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),hF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv8",componentId:"sc-pr3ism-29"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),mF=bn(If).withConfig({displayName:"CompDisplay___StyledGap22",componentId:"sc-pr3ism-30"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),gF=bn(If).withConfig({displayName:"CompDisplay___StyledGap23",componentId:"sc-pr3ism-31"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),vF=bn(If).withConfig({displayName:"CompDisplay___StyledGap24",componentId:"sc-pr3ism-32"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),yF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv9",componentId:"sc-pr3ism-33"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),wF=bn(If).withConfig({displayName:"CompDisplay___StyledGap25",componentId:"sc-pr3ism-34"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),bF=bn(If).withConfig({displayName:"CompDisplay___StyledGap26",componentId:"sc-pr3ism-35"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),xF=bn(If).withConfig({displayName:"CompDisplay___StyledGap27",componentId:"sc-pr3ism-36"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),_F=bn("div").withConfig({displayName:"CompDisplay___StyledDiv10",componentId:"sc-pr3ism-37"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),SF=bn(If).withConfig({displayName:"CompDisplay___StyledGap28",componentId:"sc-pr3ism-38"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),EF=bn(If).withConfig({displayName:"CompDisplay___StyledGap29",componentId:"sc-pr3ism-39"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),kF=bn(If).withConfig({displayName:"CompDisplay___StyledGap30",componentId:"sc-pr3ism-40"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),CF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv11",componentId:"sc-pr3ism-41"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),TF=bn(If).withConfig({displayName:"CompDisplay___StyledGap31",componentId:"sc-pr3ism-42"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),AF=bn(If).withConfig({displayName:"CompDisplay___StyledGap32",componentId:"sc-pr3ism-43"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),IF=bn(If).withConfig({displayName:"CompDisplay___StyledGap33",componentId:"sc-pr3ism-44"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),NF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv12",componentId:"sc-pr3ism-45"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),OF=bn(If).withConfig({displayName:"CompDisplay___StyledGap34",componentId:"sc-pr3ism-46"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),RF=bn(If).withConfig({displayName:"CompDisplay___StyledGap35",componentId:"sc-pr3ism-47"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),LF=bn(If).withConfig({displayName:"CompDisplay___StyledGap36",componentId:"sc-pr3ism-48"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),PF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv13",componentId:"sc-pr3ism-49"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),DF=bn(If).withConfig({displayName:"CompDisplay___StyledGap37",componentId:"sc-pr3ism-50"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),MF=bn(If).withConfig({displayName:"CompDisplay___StyledGap38",componentId:"sc-pr3ism-51"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),FF=bn(If).withConfig({displayName:"CompDisplay___StyledGap39",componentId:"sc-pr3ism-52"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),zF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv14",componentId:"sc-pr3ism-53"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),jF=bn(If).withConfig({displayName:"CompDisplay___StyledGap40",componentId:"sc-pr3ism-54"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),BF=bn(If).withConfig({displayName:"CompDisplay___StyledGap41",componentId:"sc-pr3ism-55"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),UF=bn(If).withConfig({displayName:"CompDisplay___StyledGap42",componentId:"sc-pr3ism-56"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),HF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv15",componentId:"sc-pr3ism-57"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),WF=bn(If).withConfig({displayName:"CompDisplay___StyledGap43",componentId:"sc-pr3ism-58"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),VF=bn(If).withConfig({displayName:"CompDisplay___StyledGap44",componentId:"sc-pr3ism-59"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),YF=bn(If).withConfig({displayName:"CompDisplay___StyledGap45",componentId:"sc-pr3ism-60"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),GF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv16",componentId:"sc-pr3ism-61"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),XF=bn(If).withConfig({displayName:"CompDisplay___StyledGap46",componentId:"sc-pr3ism-62"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),$F=bn(If).withConfig({displayName:"CompDisplay___StyledGap47",componentId:"sc-pr3ism-63"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),qF=bn(If).withConfig({displayName:"CompDisplay___StyledGap48",componentId:"sc-pr3ism-64"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),KF=bn("div").withConfig({displayName:"CompDisplay___StyledDiv17",componentId:"sc-pr3ism-65"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),QF=bn(If).withConfig({displayName:"CompDisplay___StyledGap49",componentId:"sc-pr3ism-66"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),JF=bn(If).withConfig({displayName:"CompDisplay___StyledGap50",componentId:"sc-pr3ism-67"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),ZF=bn(If).withConfig({displayName:"CompDisplay___StyledGap51",componentId:"sc-pr3ism-68"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),ez=bn("div").withConfig({displayName:"CompDisplay___StyledDiv18",componentId:"sc-pr3ism-69"})({gridColumn:"span 4 / span 4",marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"3rem",width:"100%",alignItems:"center",justifyContent:"space-between",overflowX:"auto",transitionDuration:"300ms","@media (min-width: 768px)":{marginLeft:"4rem",marginRight:"4rem",paddingLeft:"4rem",paddingRight:"4rem"}}),tz=bn(If).withConfig({displayName:"CompDisplay___StyledGap52",componentId:"sc-pr3ism-70"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),nz=bn(If).withConfig({displayName:"CompDisplay___StyledGap53",componentId:"sc-pr3ism-71"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"}),rz=bn(If).withConfig({displayName:"CompDisplay___StyledGap54",componentId:"sc-pr3ism-72"})({visibility:"hidden",display:"none",width:"2.5rem",flexGrow:"0"});function az(){var t,n=he(),r=ge(),a={CompDisplay:e.createElement(zM,null)};return e.createElement(Pn,null,(t=r.resourceId,a[t]||"/resources"===n.pathname?e.createElement(wf,null):""),e.createElement(Nn,null,e.createElement(Rn,null),function(t){return a[t]||Bg("未找到该资源!","error_notFindResourcePage"),e.createElement(On,null,a[t]?a[t]:e.createElement(Cw,null))}(r.resourceId),e.createElement(Ln,null)),e.createElement(rh,null))}var oz,iz,sz=function(){return e.createElement(e.Fragment,null,e.createElement(Iw,{id:"rootWrapper"},e.createElement(Le,null,e.createElement(vv,null),e.createElement(Ce,null,e.createElement(Ee,{path:"/",element:e.createElement(Yh,null)}),e.createElement(Ee,{path:"/tools",element:e.createElement(ay,null)}),e.createElement(Ee,{path:"/tools/:toolId",element:e.createElement(gM,null)}),e.createElement(Ee,{path:"/resources",element:e.createElement(fy,null)}),e.createElement(Ee,{path:"/resources/:resourceId",element:e.createElement(az,null)}),e.createElement(Ee,{path:"/about",element:e.createElement(mw,null)}),e.createElement(Ee,{path:"/dashboard",element:e.createElement(kx,null)}),e.createElement(Ee,{path:"*",element:e.createElement(Cw,null)})))))},lz=wn(oz||(oz=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['*, ::before, ::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n border-color: #e5e7eb;\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);\n --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);\n --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);\n --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-sepia: var(--tw-empty,/*!*/ /*!*/);\n --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);\n}\n::before, ::after {\n --tw-content: \'\';\n}\nhtml {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n tab-size: 4;\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\nbody {\n margin: 0;\n line-height: inherit;\n}\nhr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n}\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\nh1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n}\na {\n color: inherit;\n text-decoration: inherit;\n}\nb, strong {\n font-weight: bolder;\n}\ncode, kbd, samp, pre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n}\nbutton, input, optgroup, select, textarea {\n font-family: inherit;\n font-size: 100%;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n margin: 0;\n padding: 0;\n}\nbutton, select {\n text-transform: none;\n}\nbutton, [type=\'button\'], [type=\'reset\'], [type=\'submit\'] {\n -webkit-appearance: button;\n background-color: transparent;\n background-image: none;\n}\n:-moz-focusring {\n outline: auto;\n}\n:-moz-ui-invalid {\n box-shadow: none;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n}\n[type=\'search\'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\nblockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nlegend {\n padding: 0;\n}\nol, ul, menu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\ntextarea {\n resize: vertical;\n}\ninput::placeholder, textarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\nbutton, [role="button"] {\n cursor: pointer;\n}\n:disabled {\n cursor: default;\n}\nimg, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n}\nimg, video {\n max-width: 100%;\n height: auto;\n}\n[hidden] {\n display: none;\n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);\n --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);\n --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);\n --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);\n --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-sepia: var(--tw-empty,/*!*/ /*!*/);\n --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);\n}']))),cz=wn(["html{transition:filter 0.6s ease;}html.night-mode{filter:brightness(0.5);transition:filter 0.41s ease;}body{-webkit-tap-highlight-color:",";background:linear-gradient(-45deg,rgb(235,243,254),rgb(242,238,255),rgb(251,246,247),rgb(235,243,254));","}"],"#bfdbfe",{overscrollBehavior:"none",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),uz=function(){return e.createElement(e.Fragment,null,e.createElement(lz,null),e.createElement(cz,null))};i.p,i.p,i.p,i.p,i.p,i.p,n.createRoot(document.getElementById("root")).render(e.createElement(e.Fragment,null,e.createElement(uz,null),e.createElement(sz,null))),iz&&iz instanceof Function&&i.e(131).then(i.bind(i,2131)).then((function(e){var t=e.getCLS,n=e.getFID,r=e.getFCP,a=e.getLCP,o=e.getTTFB;t(iz),n(iz),r(iz),a(iz),o(iz)}))}()}(); \ No newline at end of file