(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const o of c.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function n(s){if(s.ep)return;s.ep=!0;const c=r(s);fetch(s.href,c)}})();function k2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zh={exports:{}},vc={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Av;function WE(){if(Av)return vc;Av=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,s,c){var o=null;if(c!==void 0&&(o=""+c),s.key!==void 0&&(o=""+s.key),"key"in s){c={};for(var u in s)u!=="key"&&(c[u]=s[u])}else c=s;return s=c.ref,{$$typeof:e,type:n,key:o,ref:s!==void 0?s:null,props:c}}return vc.Fragment=t,vc.jsx=r,vc.jsxs=r,vc}var Cv;function XE(){return Cv||(Cv=1,zh.exports=WE()),zh.exports}var y=XE(),Ph={exports:{}},et={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Fv;function GE(){if(Fv)return et;Fv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),o=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),g=Symbol.iterator;function S(j){return j===null||typeof j!="object"?null:(j=g&&j[g]||j["@@iterator"],typeof j=="function"?j:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function b(j,A,P){this.props=j,this.context=A,this.refs=E,this.updater=P||w}b.prototype.isReactComponent={},b.prototype.setState=function(j,A){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,A,"setState")},b.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function F(){}F.prototype=b.prototype;function k(j,A,P){this.props=j,this.context=A,this.refs=E,this.updater=P||w}var U=k.prototype=new F;U.constructor=k,_(U,b.prototype),U.isPureReactComponent=!0;var I=Array.isArray;function W(){}var D={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function X(j,A,P){var L=P.ref;return{$$typeof:e,type:j,key:A,ref:L!==void 0?L:null,props:P}}function ne(j,A){return X(j.type,A,j.props)}function re(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function Q(j){var A={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(P){return A[P]})}var me=/\/+/g;function Ce(j,A){return typeof j=="object"&&j!==null&&j.key!=null?Q(""+j.key):A.toString(36)}function ve(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(W,W):(j.status="pending",j.then(function(A){j.status==="pending"&&(j.status="fulfilled",j.value=A)},function(A){j.status==="pending"&&(j.status="rejected",j.reason=A)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function Z(j,A,P,L,O){var Y=typeof j;(Y==="undefined"||Y==="boolean")&&(j=null);var de=!1;if(j===null)de=!0;else switch(Y){case"bigint":case"string":case"number":de=!0;break;case"object":switch(j.$$typeof){case e:case t:de=!0;break;case p:return de=j._init,Z(de(j._payload),A,P,L,O)}}if(de)return O=O(j),de=L===""?"."+Ce(j,0):L,I(O)?(P="",de!=null&&(P=de.replace(me,"$&/")+"/"),Z(O,A,P,"",function(Ee){return Ee})):O!=null&&(re(O)&&(O=ne(O,P+(O.key==null||j&&j.key===O.key?"":(""+O.key).replace(me,"$&/")+"/")+de)),A.push(O)),1;de=0;var ge=L===""?".":L+":";if(I(j))for(var pe=0;pe<j.length;pe++)L=j[pe],Y=ge+Ce(L,pe),de+=Z(L,A,P,Y,O);else if(pe=S(j),typeof pe=="function")for(j=pe.call(j),pe=0;!(L=j.next()).done;)L=L.value,Y=ge+Ce(L,pe++),de+=Z(L,A,P,Y,O);else if(Y==="object"){if(typeof j.then=="function")return Z(ve(j),A,P,L,O);throw A=String(j),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return de}function ie(j,A,P){if(j==null)return j;var L=[],O=0;return Z(j,L,"","",function(Y){return A.call(P,Y,O++)}),L}function Re(j){if(j._status===-1){var A=j._result;A=A(),A.then(function(P){(j._status===0||j._status===-1)&&(j._status=1,j._result=P)},function(P){(j._status===0||j._status===-1)&&(j._status=2,j._result=P)}),j._status===-1&&(j._status=0,j._result=A)}if(j._status===1)return j._result.default;throw j._result}var K=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(A))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},Ae={map:ie,forEach:function(j,A,P){ie(j,function(){A.apply(this,arguments)},P)},count:function(j){var A=0;return ie(j,function(){A++}),A},toArray:function(j){return ie(j,function(A){return A})||[]},only:function(j){if(!re(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return et.Activity=v,et.Children=Ae,et.Component=b,et.Fragment=r,et.Profiler=s,et.PureComponent=k,et.StrictMode=n,et.Suspense=h,et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,et.__COMPILER_RUNTIME={__proto__:null,c:function(j){return D.H.useMemoCache(j)}},et.cache=function(j){return function(){return j.apply(null,arguments)}},et.cacheSignal=function(){return null},et.cloneElement=function(j,A,P){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var L=_({},j.props),O=j.key;if(A!=null)for(Y in A.key!==void 0&&(O=""+A.key),A)!ee.call(A,Y)||Y==="key"||Y==="__self"||Y==="__source"||Y==="ref"&&A.ref===void 0||(L[Y]=A[Y]);var Y=arguments.length-2;if(Y===1)L.children=P;else if(1<Y){for(var de=Array(Y),ge=0;ge<Y;ge++)de[ge]=arguments[ge+2];L.children=de}return X(j.type,O,L)},et.createContext=function(j){return j={$$typeof:o,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:c,_context:j},j},et.createElement=function(j,A,P){var L,O={},Y=null;if(A!=null)for(L in A.key!==void 0&&(Y=""+A.key),A)ee.call(A,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&(O[L]=A[L]);var de=arguments.length-2;if(de===1)O.children=P;else if(1<de){for(var ge=Array(de),pe=0;pe<de;pe++)ge[pe]=arguments[pe+2];O.children=ge}if(j&&j.defaultProps)for(L in de=j.defaultProps,de)O[L]===void 0&&(O[L]=de[L]);return X(j,Y,O)},et.createRef=function(){return{current:null}},et.forwardRef=function(j){return{$$typeof:u,render:j}},et.isValidElement=re,et.lazy=function(j){return{$$typeof:p,_payload:{_status:-1,_result:j},_init:Re}},et.memo=function(j,A){return{$$typeof:d,type:j,compare:A===void 0?null:A}},et.startTransition=function(j){var A=D.T,P={};D.T=P;try{var L=j(),O=D.S;O!==null&&O(P,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(W,K)}catch(Y){K(Y)}finally{A!==null&&P.types!==null&&(A.types=P.types),D.T=A}},et.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},et.use=function(j){return D.H.use(j)},et.useActionState=function(j,A,P){return D.H.useActionState(j,A,P)},et.useCallback=function(j,A){return D.H.useCallback(j,A)},et.useContext=function(j){return D.H.useContext(j)},et.useDebugValue=function(){},et.useDeferredValue=function(j,A){return D.H.useDeferredValue(j,A)},et.useEffect=function(j,A){return D.H.useEffect(j,A)},et.useEffectEvent=function(j){return D.H.useEffectEvent(j)},et.useId=function(){return D.H.useId()},et.useImperativeHandle=function(j,A,P){return D.H.useImperativeHandle(j,A,P)},et.useInsertionEffect=function(j,A){return D.H.useInsertionEffect(j,A)},et.useLayoutEffect=function(j,A){return D.H.useLayoutEffect(j,A)},et.useMemo=function(j,A){return D.H.useMemo(j,A)},et.useOptimistic=function(j,A){return D.H.useOptimistic(j,A)},et.useReducer=function(j,A,P){return D.H.useReducer(j,A,P)},et.useRef=function(j){return D.H.useRef(j)},et.useState=function(j){return D.H.useState(j)},et.useSyncExternalStore=function(j,A,P){return D.H.useSyncExternalStore(j,A,P)},et.useTransition=function(){return D.H.useTransition()},et.version="19.2.7",et}var Rv;function jd(){return Rv||(Rv=1,Ph.exports=GE()),Ph.exports}var q=jd();const qE=k2(q);var Hh={exports:{}},gc={},Vh={exports:{}},Wh={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ov;function YE(){return Ov||(Ov=1,(function(e){function t(Z,ie){var Re=Z.length;Z.push(ie);e:for(;0<Re;){var K=Re-1>>>1,Ae=Z[K];if(0<s(Ae,ie))Z[K]=ie,Z[Re]=Ae,Re=K;else break e}}function r(Z){return Z.length===0?null:Z[0]}function n(Z){if(Z.length===0)return null;var ie=Z[0],Re=Z.pop();if(Re!==ie){Z[0]=Re;e:for(var K=0,Ae=Z.length,j=Ae>>>1;K<j;){var A=2*(K+1)-1,P=Z[A],L=A+1,O=Z[L];if(0>s(P,Re))L<Ae&&0>s(O,P)?(Z[K]=O,Z[L]=Re,K=L):(Z[K]=P,Z[A]=Re,K=A);else if(L<Ae&&0>s(O,Re))Z[K]=O,Z[L]=Re,K=L;else break e}}return ie}function s(Z,ie){var Re=Z.sortIndex-ie.sortIndex;return Re!==0?Re:Z.id-ie.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var h=[],d=[],p=1,v=null,g=3,S=!1,w=!1,_=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function U(Z){for(var ie=r(d);ie!==null;){if(ie.callback===null)n(d);else if(ie.startTime<=Z)n(d),ie.sortIndex=ie.expirationTime,t(h,ie);else break;ie=r(d)}}function I(Z){if(_=!1,U(Z),!w)if(r(h)!==null)w=!0,W||(W=!0,Q());else{var ie=r(d);ie!==null&&ve(I,ie.startTime-Z)}}var W=!1,D=-1,ee=5,X=-1;function ne(){return E?!0:!(e.unstable_now()-X<ee)}function re(){if(E=!1,W){var Z=e.unstable_now();X=Z;var ie=!0;try{e:{w=!1,_&&(_=!1,F(D),D=-1),S=!0;var Re=g;try{t:{for(U(Z),v=r(h);v!==null&&!(v.expirationTime>Z&&ne());){var K=v.callback;if(typeof K=="function"){v.callback=null,g=v.priorityLevel;var Ae=K(v.expirationTime<=Z);if(Z=e.unstable_now(),typeof Ae=="function"){v.callback=Ae,U(Z),ie=!0;break t}v===r(h)&&n(h),U(Z)}else n(h);v=r(h)}if(v!==null)ie=!0;else{var j=r(d);j!==null&&ve(I,j.startTime-Z),ie=!1}}break e}finally{v=null,g=Re,S=!1}ie=void 0}}finally{ie?Q():W=!1}}}var Q;if(typeof k=="function")Q=function(){k(re)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,Ce=me.port2;me.port1.onmessage=re,Q=function(){Ce.postMessage(null)}}else Q=function(){b(re,0)};function ve(Z,ie){D=b(function(){Z(e.unstable_now())},ie)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Z){Z.callback=null},e.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<Z?Math.floor(1e3/Z):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(Z){switch(g){case 1:case 2:case 3:var ie=3;break;default:ie=g}var Re=g;g=ie;try{return Z()}finally{g=Re}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(Z,ie){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var Re=g;g=Z;try{return ie()}finally{g=Re}},e.unstable_scheduleCallback=function(Z,ie,Re){var K=e.unstable_now();switch(typeof Re=="object"&&Re!==null?(Re=Re.delay,Re=typeof Re=="number"&&0<Re?K+Re:K):Re=K,Z){case 1:var Ae=-1;break;case 2:Ae=250;break;case 5:Ae=1073741823;break;case 4:Ae=1e4;break;default:Ae=5e3}return Ae=Re+Ae,Z={id:p++,callback:ie,priorityLevel:Z,startTime:Re,expirationTime:Ae,sortIndex:-1},Re>K?(Z.sortIndex=Re,t(d,Z),r(h)===null&&Z===r(d)&&(_?(F(D),D=-1):_=!0,ve(I,Re-K))):(Z.sortIndex=Ae,t(h,Z),w||S||(w=!0,W||(W=!0,Q()))),Z},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(Z){var ie=g;return function(){var Re=g;g=ie;try{return Z.apply(this,arguments)}finally{g=Re}}}})(Wh)),Wh}var Dv;function KE(){return Dv||(Dv=1,Vh.exports=YE()),Vh.exports}var Xh={exports:{}},Br={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Nv;function ZE(){if(Nv)return Br;Nv=1;var e=jd();function t(h){var d="https://react.dev/errors/"+h;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+h+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(h,d,p){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:h,containerInfo:d,implementation:p}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(h,d){if(h==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Br.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Br.createPortal=function(h,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return c(h,d,null,p)},Br.flushSync=function(h){var d=o.T,p=n.p;try{if(o.T=null,n.p=2,h)return h()}finally{o.T=d,n.p=p,n.d.f()}},Br.preconnect=function(h,d){typeof h=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,n.d.C(h,d))},Br.prefetchDNS=function(h){typeof h=="string"&&n.d.D(h)},Br.preinit=function(h,d){if(typeof h=="string"&&d&&typeof d.as=="string"){var p=d.as,v=u(p,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,S=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?n.d.S(h,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:v,integrity:g,fetchPriority:S}):p==="script"&&n.d.X(h,{crossOrigin:v,integrity:g,fetchPriority:S,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Br.preinitModule=function(h,d){if(typeof h=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=u(d.as,d.crossOrigin);n.d.M(h,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&n.d.M(h)},Br.preload=function(h,d){if(typeof h=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,v=u(p,d.crossOrigin);n.d.L(h,p,{crossOrigin:v,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Br.preloadModule=function(h,d){if(typeof h=="string")if(d){var p=u(d.as,d.crossOrigin);n.d.m(h,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else n.d.m(h)},Br.requestFormReset=function(h){n.d.r(h)},Br.unstable_batchedUpdates=function(h,d){return h(d)},Br.useFormState=function(h,d,p){return o.H.useFormState(h,d,p)},Br.useFormStatus=function(){return o.H.useHostTransitionStatus()},Br.version="19.2.7",Br}var Mv;function $E(){if(Mv)return Xh.exports;Mv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Xh.exports=ZE(),Xh.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Lv;function QE(){if(Lv)return gc;Lv=1;var e=KE(),t=jd(),r=$E();function n(a){var i="https://react.dev/errors/"+a;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+a+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function c(a){var i=a,l=a;if(a.alternate)for(;i.return;)i=i.return;else{a=i;do i=a,(i.flags&4098)!==0&&(l=i.return),a=i.return;while(a)}return i.tag===3?l:null}function o(a){if(a.tag===13){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function u(a){if(a.tag===31){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function h(a){if(c(a)!==a)throw Error(n(188))}function d(a){var i=a.alternate;if(!i){if(i=c(a),i===null)throw Error(n(188));return i!==a?null:a}for(var l=a,f=i;;){var x=l.return;if(x===null)break;var m=x.alternate;if(m===null){if(f=x.return,f!==null){l=f;continue}break}if(x.child===m.child){for(m=x.child;m;){if(m===l)return h(x),a;if(m===f)return h(x),i;m=m.sibling}throw Error(n(188))}if(l.return!==f.return)l=x,f=m;else{for(var T=!1,R=x.child;R;){if(R===l){T=!0,l=x,f=m;break}if(R===f){T=!0,f=x,l=m;break}R=R.sibling}if(!T){for(R=m.child;R;){if(R===l){T=!0,l=m,f=x;break}if(R===f){T=!0,f=m,l=x;break}R=R.sibling}if(!T)throw Error(n(189))}}if(l.alternate!==f)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?a:i}function p(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a;for(a=a.child;a!==null;){if(i=p(a),i!==null)return i;a=a.sibling}return null}var v=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),k=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),ne=Symbol.for("react.memo_cache_sentinel"),re=Symbol.iterator;function Q(a){return a===null||typeof a!="object"?null:(a=re&&a[re]||a["@@iterator"],typeof a=="function"?a:null)}var me=Symbol.for("react.client.reference");function Ce(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===me?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case _:return"Fragment";case b:return"Profiler";case E:return"StrictMode";case I:return"Suspense";case W:return"SuspenseList";case X:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case w:return"Portal";case k:return a.displayName||"Context";case F:return(a._context.displayName||"Context")+".Consumer";case U:var i=a.render;return a=a.displayName,a||(a=i.displayName||i.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case D:return i=a.displayName||null,i!==null?i:Ce(a.type)||"Memo";case ee:i=a._payload,a=a._init;try{return Ce(a(i))}catch{}}return null}var ve=Array.isArray,Z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re={pending:!1,data:null,method:null,action:null},K=[],Ae=-1;function j(a){return{current:a}}function A(a){0>Ae||(a.current=K[Ae],K[Ae]=null,Ae--)}function P(a,i){Ae++,K[Ae]=a.current,a.current=i}var L=j(null),O=j(null),Y=j(null),de=j(null);function ge(a,i){switch(P(Y,i),P(O,a),P(L,null),i.nodeType){case 9:case 11:a=(a=i.documentElement)&&(a=a.namespaceURI)?Zm(a):0;break;default:if(a=i.tagName,i=i.namespaceURI)i=Zm(i),a=$m(i,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}A(L),P(L,a)}function pe(){A(L),A(O),A(Y)}function Ee(a){a.memoizedState!==null&&P(de,a);var i=L.current,l=$m(i,a.type);i!==l&&(P(O,a),P(L,l))}function He(a){O.current===a&&(A(L),A(O)),de.current===a&&(A(de),dc._currentValue=Re)}var V,ft;function qe(a){if(V===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);V=i&&i[1]||"",ft=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+V+a+ft}var tt=!1;function Ne(a,i){if(!a||tt)return"";tt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(i){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(xe){var ue=xe}Reflect.construct(a,[],Te)}else{try{Te.call()}catch(xe){ue=xe}a.call(Te.prototype)}}else{try{throw Error()}catch(xe){ue=xe}(Te=a())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(xe){if(xe&&ue&&typeof xe.stack=="string")return[xe.stack,ue.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=f.DetermineComponentFrameRoot(),T=m[0],R=m[1];if(T&&R){var G=T.split(`
`),le=R.split(`
`);for(x=f=0;f<G.length&&!G[f].includes("DetermineComponentFrameRoot");)f++;for(;x<le.length&&!le[x].includes("DetermineComponentFrameRoot");)x++;if(f===G.length||x===le.length)for(f=G.length-1,x=le.length-1;1<=f&&0<=x&&G[f]!==le[x];)x--;for(;1<=f&&0<=x;f--,x--)if(G[f]!==le[x]){if(f!==1||x!==1)do if(f--,x--,0>x||G[f]!==le[x]){var _e=`
`+G[f].replace(" at new "," at ");return a.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",a.displayName)),_e}while(1<=f&&0<=x);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?qe(l):""}function De(a,i){switch(a.tag){case 26:case 27:case 5:return qe(a.type);case 16:return qe("Lazy");case 13:return a.child!==i&&i!==null?qe("Suspense Fallback"):qe("Suspense");case 19:return qe("SuspenseList");case 0:case 15:return Ne(a.type,!1);case 11:return Ne(a.type.render,!1);case 1:return Ne(a.type,!0);case 31:return qe("Activity");default:return""}}function vt(a){try{var i="",l=null;do i+=De(a,l),l=a,a=a.return;while(a);return i}catch(f){return`
Error generating stack: `+f.message+`
`+f.stack}}var Bt=Object.prototype.hasOwnProperty,Qt=e.unstable_scheduleCallback,br=e.unstable_cancelCallback,Lr=e.unstable_shouldYield,ca=e.unstable_requestPaint,bt=e.unstable_now,oa=e.unstable_getCurrentPriorityLevel,be=e.unstable_ImmediatePriority,Ze=e.unstable_UserBlockingPriority,Je=e.unstable_NormalPriority,ct=e.unstable_LowPriority,ze=e.unstable_IdlePriority,nt=e.log,Ot=e.unstable_setDisableYieldValue,lt=null,zt=null;function Kt(a){if(typeof nt=="function"&&Ot(a),zt&&typeof zt.setStrictMode=="function")try{zt.setStrictMode(lt,a)}catch{}}var _r=Math.clz32?Math.clz32:u0,bl=Math.log,f0=Math.LN2;function u0(a){return a>>>=0,a===0?32:31-(bl(a)/f0|0)|0}var Ai=256,vs=262144,gs=4194304;function wa(a){var i=a&42;if(i!==0)return i;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ys(a,i,l){var f=a.pendingLanes;if(f===0)return 0;var x=0,m=a.suspendedLanes,T=a.pingedLanes;a=a.warmLanes;var R=f&134217727;return R!==0?(f=R&~m,f!==0?x=wa(f):(T&=R,T!==0?x=wa(T):l||(l=R&~a,l!==0&&(x=wa(l))))):(R=f&~m,R!==0?x=wa(R):T!==0?x=wa(T):l||(l=f&~a,l!==0&&(x=wa(l)))),x===0?0:i!==0&&i!==x&&(i&m)===0&&(m=x&-x,l=i&-i,m>=l||m===32&&(l&4194048)!==0)?i:x}function Ci(a,i){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&i)===0}function Of(a,i){switch(a){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function h0(){var a=gs;return gs<<=1,(gs&62914560)===0&&(gs=4194304),a}function kl(a){for(var i=[],l=0;31>l;l++)i.push(a);return i}function Fi(a,i){a.pendingLanes|=i,i!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Df(a,i,l,f,x,m){var T=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var R=a.entanglements,G=a.expirationTimes,le=a.hiddenUpdates;for(l=T&~l;0<l;){var _e=31-_r(l),Te=1<<_e;R[_e]=0,G[_e]=-1;var ue=le[_e];if(ue!==null)for(le[_e]=null,_e=0;_e<ue.length;_e++){var xe=ue[_e];xe!==null&&(xe.lane&=-536870913)}l&=~Te}f!==0&&d0(a,f,0),m!==0&&x===0&&a.tag!==0&&(a.suspendedLanes|=m&~(T&~i))}function d0(a,i,l){a.pendingLanes|=i,a.suspendedLanes&=~i;var f=31-_r(i);a.entangledLanes|=i,a.entanglements[f]=a.entanglements[f]|1073741824|l&261930}function _s(a,i){var l=a.entangledLanes|=i;for(a=a.entanglements;l;){var f=31-_r(l),x=1<<f;x&i|a[f]&i&&(a[f]|=i),l&=~x}}function x0(a,i){var l=i&-i;return l=(l&42)!==0?1:Al(l),(l&(a.suspendedLanes|i))!==0?0:l}function Al(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Cl(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function C(){var a=ie.p;return a!==0?a:(a=window.event,a===void 0?32:_v(a.type))}function z(a,i){var l=ie.p;try{return ie.p=a,i()}finally{ie.p=l}}var N=Math.random().toString(36).slice(2),M="__reactFiber$"+N,B="__reactProps$"+N,H="__reactContainer$"+N,ce="__reactEvents$"+N,Se="__reactListeners$"+N,oe="__reactHandles$"+N,fe="__reactResources$"+N,he="__reactMarker$"+N;function Fe(a){delete a[M],delete a[B],delete a[ce],delete a[Se],delete a[oe]}function Me(a){var i=a[M];if(i)return i;for(var l=a.parentNode;l;){if(i=l[H]||l[M]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(a=nv(a);a!==null;){if(l=a[M])return l;a=nv(a)}return i}a=l,l=a.parentNode}return null}function je(a){if(a=a[M]||a[H]){var i=a.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return a}return null}function Oe(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a.stateNode;throw Error(n(33))}function Ue(a){var i=a[fe];return i||(i=a[fe]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function Ve(a){a[he]=!0}var jt=new Set,It={};function Gt(a,i){Ta(a,i),Ta(a+"Capture",i)}function Ta(a,i){for(It[a]=i,a=0;a<i.length;a++)jt.add(i[a])}var Ri=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Xn={},sn={};function Fl(a){return Bt.call(sn,a)?!0:Bt.call(Xn,a)?!1:Ri.test(a)?sn[a]=!0:(Xn[a]=!0,!1)}function $r(a,i,l){if(Fl(i))if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(i);return;case"boolean":var f=i.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){a.removeAttribute(i);return}}a.setAttribute(i,""+l)}}function p0(a,i,l){if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttribute(i,""+l)}}function gn(a,i,l,f){if(f===null)a.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(i,l,""+f)}}function ba(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function H1(a){var i=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function US(a,i,l){var f=Object.getOwnPropertyDescriptor(a.constructor.prototype,i);if(!a.hasOwnProperty(i)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,m=f.set;return Object.defineProperty(a,i,{configurable:!0,get:function(){return x.call(this)},set:function(T){l=""+T,m.call(this,T)}}),Object.defineProperty(a,i,{enumerable:f.enumerable}),{getValue:function(){return l},setValue:function(T){l=""+T},stopTracking:function(){a._valueTracker=null,delete a[i]}}}}function Nf(a){if(!a._valueTracker){var i=H1(a)?"checked":"value";a._valueTracker=US(a,i,""+a[i])}}function V1(a){if(!a)return!1;var i=a._valueTracker;if(!i)return!0;var l=i.getValue(),f="";return a&&(f=H1(a)?a.checked?"true":"false":a.value),a=f,a!==l?(i.setValue(a),!0):!1}function m0(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var jS=/[\n"\\]/g;function ka(a){return a.replace(jS,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Mf(a,i,l,f,x,m,T,R){a.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?a.type=T:a.removeAttribute("type"),i!=null?T==="number"?(i===0&&a.value===""||a.value!=i)&&(a.value=""+ba(i)):a.value!==""+ba(i)&&(a.value=""+ba(i)):T!=="submit"&&T!=="reset"||a.removeAttribute("value"),i!=null?Lf(a,T,ba(i)):l!=null?Lf(a,T,ba(l)):f!=null&&a.removeAttribute("value"),x==null&&m!=null&&(a.defaultChecked=!!m),x!=null&&(a.checked=x&&typeof x!="function"&&typeof x!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?a.name=""+ba(R):a.removeAttribute("name")}function W1(a,i,l,f,x,m,T,R){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(a.type=m),i!=null||l!=null){if(!(m!=="submit"&&m!=="reset"||i!=null)){Nf(a);return}l=l!=null?""+ba(l):"",i=i!=null?""+ba(i):l,R||i===a.value||(a.value=i),a.defaultValue=i}f=f??x,f=typeof f!="function"&&typeof f!="symbol"&&!!f,a.checked=R?a.checked:!!f,a.defaultChecked=!!f,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(a.name=T),Nf(a)}function Lf(a,i,l){i==="number"&&m0(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function Ss(a,i,l,f){if(a=a.options,i){i={};for(var x=0;x<l.length;x++)i["$"+l[x]]=!0;for(l=0;l<a.length;l++)x=i.hasOwnProperty("$"+a[l].value),a[l].selected!==x&&(a[l].selected=x),x&&f&&(a[l].defaultSelected=!0)}else{for(l=""+ba(l),i=null,x=0;x<a.length;x++){if(a[x].value===l){a[x].selected=!0,f&&(a[x].defaultSelected=!0);return}i!==null||a[x].disabled||(i=a[x])}i!==null&&(i.selected=!0)}}function X1(a,i,l){if(i!=null&&(i=""+ba(i),i!==a.value&&(a.value=i),l==null)){a.defaultValue!==i&&(a.defaultValue=i);return}a.defaultValue=l!=null?""+ba(l):""}function G1(a,i,l,f){if(i==null){if(f!=null){if(l!=null)throw Error(n(92));if(ve(f)){if(1<f.length)throw Error(n(93));f=f[0]}l=f}l==null&&(l=""),i=l}l=ba(i),a.defaultValue=l,f=a.textContent,f===l&&f!==""&&f!==null&&(a.value=f),Nf(a)}function Es(a,i){if(i){var l=a.firstChild;if(l&&l===a.lastChild&&l.nodeType===3){l.nodeValue=i;return}}a.textContent=i}var IS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function q1(a,i,l){var f=i.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?f?a.setProperty(i,""):i==="float"?a.cssFloat="":a[i]="":f?a.setProperty(i,l):typeof l!="number"||l===0||IS.has(i)?i==="float"?a.cssFloat=l:a[i]=(""+l).trim():a[i]=l+"px"}function Y1(a,i,l){if(i!=null&&typeof i!="object")throw Error(n(62));if(a=a.style,l!=null){for(var f in l)!l.hasOwnProperty(f)||i!=null&&i.hasOwnProperty(f)||(f.indexOf("--")===0?a.setProperty(f,""):f==="float"?a.cssFloat="":a[f]="");for(var x in i)f=i[x],i.hasOwnProperty(x)&&l[x]!==f&&q1(a,x,f)}else for(var m in i)i.hasOwnProperty(m)&&q1(a,m,i[m])}function Bf(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),PS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function v0(a){return PS.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function yn(){}var Uf=null;function jf(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var ws=null,Ts=null;function K1(a){var i=je(a);if(i&&(a=i.stateNode)){var l=a[B]||null;e:switch(a=i.stateNode,i.type){case"input":if(Mf(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),i=l.name,l.type==="radio"&&i!=null){for(l=a;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+ka(""+i)+'"][type="radio"]'),i=0;i<l.length;i++){var f=l[i];if(f!==a&&f.form===a.form){var x=f[B]||null;if(!x)throw Error(n(90));Mf(f,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(i=0;i<l.length;i++)f=l[i],f.form===a.form&&V1(f)}break e;case"textarea":X1(a,l.value,l.defaultValue);break e;case"select":i=l.value,i!=null&&Ss(a,!!l.multiple,i,!1)}}}var If=!1;function Z1(a,i,l){if(If)return a(i,l);If=!0;try{var f=a(i);return f}finally{if(If=!1,(ws!==null||Ts!==null)&&(no(),ws&&(i=ws,a=Ts,Ts=ws=null,K1(i),a)))for(i=0;i<a.length;i++)K1(a[i])}}function Rl(a,i){var l=a.stateNode;if(l===null)return null;var f=l[B]||null;if(f===null)return null;l=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(a=a.type,f=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!f;break e;default:a=!1}if(a)return null;if(l&&typeof l!="function")throw Error(n(231,i,typeof l));return l}var _n=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zf=!1;if(_n)try{var Ol={};Object.defineProperty(Ol,"passive",{get:function(){zf=!0}}),window.addEventListener("test",Ol,Ol),window.removeEventListener("test",Ol,Ol)}catch{zf=!1}var Gn=null,Pf=null,g0=null;function $1(){if(g0)return g0;var a,i=Pf,l=i.length,f,x="value"in Gn?Gn.value:Gn.textContent,m=x.length;for(a=0;a<l&&i[a]===x[a];a++);var T=l-a;for(f=1;f<=T&&i[l-f]===x[m-f];f++);return g0=x.slice(a,1<f?1-f:void 0)}function y0(a){var i=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&i===13&&(a=13)):a=i,a===10&&(a=13),32<=a||a===13?a:0}function _0(){return!0}function Q1(){return!1}function Qr(a){function i(l,f,x,m,T){this._reactName=l,this._targetInst=x,this.type=f,this.nativeEvent=m,this.target=T,this.currentTarget=null;for(var R in a)a.hasOwnProperty(R)&&(l=a[R],this[R]=l?l(m):m[R]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?_0:Q1,this.isPropagationStopped=Q1,this}return v(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=_0)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=_0)},persist:function(){},isPersistent:_0}),i}var Oi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},S0=Qr(Oi),Dl=v({},Oi,{view:0,detail:0}),HS=Qr(Dl),Hf,Vf,Nl,E0=v({},Dl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xf,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Nl&&(Nl&&a.type==="mousemove"?(Hf=a.screenX-Nl.screenX,Vf=a.screenY-Nl.screenY):Vf=Hf=0,Nl=a),Hf)},movementY:function(a){return"movementY"in a?a.movementY:Vf}}),J1=Qr(E0),VS=v({},E0,{dataTransfer:0}),WS=Qr(VS),XS=v({},Dl,{relatedTarget:0}),Wf=Qr(XS),GS=v({},Oi,{animationName:0,elapsedTime:0,pseudoElement:0}),qS=Qr(GS),YS=v({},Oi,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),KS=Qr(YS),ZS=v({},Oi,{data:0}),ex=Qr(ZS),$S={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},JS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e4(a){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(a):(a=JS[a])?!!i[a]:!1}function Xf(){return e4}var t4=v({},Dl,{key:function(a){if(a.key){var i=$S[a.key]||a.key;if(i!=="Unidentified")return i}return a.type==="keypress"?(a=y0(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?QS[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xf,charCode:function(a){return a.type==="keypress"?y0(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?y0(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),r4=Qr(t4),a4=v({},E0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tx=Qr(a4),n4=v({},Dl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xf}),i4=Qr(n4),s4=v({},Oi,{propertyName:0,elapsedTime:0,pseudoElement:0}),l4=Qr(s4),c4=v({},E0,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),o4=Qr(c4),f4=v({},Oi,{newState:0,oldState:0}),u4=Qr(f4),h4=[9,13,27,32],Gf=_n&&"CompositionEvent"in window,Ml=null;_n&&"documentMode"in document&&(Ml=document.documentMode);var d4=_n&&"TextEvent"in window&&!Ml,rx=_n&&(!Gf||Ml&&8<Ml&&11>=Ml),ax=" ",nx=!1;function ix(a,i){switch(a){case"keyup":return h4.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sx(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var bs=!1;function x4(a,i){switch(a){case"compositionend":return sx(i);case"keypress":return i.which!==32?null:(nx=!0,ax);case"textInput":return a=i.data,a===ax&&nx?null:a;default:return null}}function p4(a,i){if(bs)return a==="compositionend"||!Gf&&ix(a,i)?(a=$1(),g0=Pf=Gn=null,bs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return rx&&i.locale!=="ko"?null:i.data;default:return null}}var m4={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lx(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i==="input"?!!m4[a.type]:i==="textarea"}function cx(a,i,l,f){ws?Ts?Ts.push(f):Ts=[f]:ws=f,i=uo(i,"onChange"),0<i.length&&(l=new S0("onChange","change",null,l,f),a.push({event:l,listeners:i}))}var Ll=null,Bl=null;function v4(a){Wm(a,0)}function w0(a){var i=Oe(a);if(V1(i))return a}function ox(a,i){if(a==="change")return i}var fx=!1;if(_n){var qf;if(_n){var Yf="oninput"in document;if(!Yf){var ux=document.createElement("div");ux.setAttribute("oninput","return;"),Yf=typeof ux.oninput=="function"}qf=Yf}else qf=!1;fx=qf&&(!document.documentMode||9<document.documentMode)}function hx(){Ll&&(Ll.detachEvent("onpropertychange",dx),Bl=Ll=null)}function dx(a){if(a.propertyName==="value"&&w0(Bl)){var i=[];cx(i,Bl,a,jf(a)),Z1(v4,i)}}function g4(a,i,l){a==="focusin"?(hx(),Ll=i,Bl=l,Ll.attachEvent("onpropertychange",dx)):a==="focusout"&&hx()}function y4(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return w0(Bl)}function _4(a,i){if(a==="click")return w0(i)}function S4(a,i){if(a==="input"||a==="change")return w0(i)}function E4(a,i){return a===i&&(a!==0||1/a===1/i)||a!==a&&i!==i}var fa=typeof Object.is=="function"?Object.is:E4;function Ul(a,i){if(fa(a,i))return!0;if(typeof a!="object"||a===null||typeof i!="object"||i===null)return!1;var l=Object.keys(a),f=Object.keys(i);if(l.length!==f.length)return!1;for(f=0;f<l.length;f++){var x=l[f];if(!Bt.call(i,x)||!fa(a[x],i[x]))return!1}return!0}function xx(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function px(a,i){var l=xx(a);a=0;for(var f;l;){if(l.nodeType===3){if(f=a+l.textContent.length,a<=i&&f>=i)return{node:l,offset:i-a};a=f}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=xx(l)}}function mx(a,i){return a&&i?a===i?!0:a&&a.nodeType===3?!1:i&&i.nodeType===3?mx(a,i.parentNode):"contains"in a?a.contains(i):a.compareDocumentPosition?!!(a.compareDocumentPosition(i)&16):!1:!1}function vx(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var i=m0(a.document);i instanceof a.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)a=i.contentWindow;else break;i=m0(a.document)}return i}function Kf(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i&&(i==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||i==="textarea"||a.contentEditable==="true")}var w4=_n&&"documentMode"in document&&11>=document.documentMode,ks=null,Zf=null,jl=null,$f=!1;function gx(a,i,l){var f=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;$f||ks==null||ks!==m0(f)||(f=ks,"selectionStart"in f&&Kf(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),jl&&Ul(jl,f)||(jl=f,f=uo(Zf,"onSelect"),0<f.length&&(i=new S0("onSelect","select",null,i,l),a.push({event:i,listeners:f}),i.target=ks)))}function Di(a,i){var l={};return l[a.toLowerCase()]=i.toLowerCase(),l["Webkit"+a]="webkit"+i,l["Moz"+a]="moz"+i,l}var As={animationend:Di("Animation","AnimationEnd"),animationiteration:Di("Animation","AnimationIteration"),animationstart:Di("Animation","AnimationStart"),transitionrun:Di("Transition","TransitionRun"),transitionstart:Di("Transition","TransitionStart"),transitioncancel:Di("Transition","TransitionCancel"),transitionend:Di("Transition","TransitionEnd")},Qf={},yx={};_n&&(yx=document.createElement("div").style,"AnimationEvent"in window||(delete As.animationend.animation,delete As.animationiteration.animation,delete As.animationstart.animation),"TransitionEvent"in window||delete As.transitionend.transition);function Ni(a){if(Qf[a])return Qf[a];if(!As[a])return a;var i=As[a],l;for(l in i)if(i.hasOwnProperty(l)&&l in yx)return Qf[a]=i[l];return a}var _x=Ni("animationend"),Sx=Ni("animationiteration"),Ex=Ni("animationstart"),T4=Ni("transitionrun"),b4=Ni("transitionstart"),k4=Ni("transitioncancel"),wx=Ni("transitionend"),Tx=new Map,Jf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Jf.push("scrollEnd");function Ga(a,i){Tx.set(a,i),Gt(i,[a])}var T0=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Aa=[],Cs=0,eu=0;function b0(){for(var a=Cs,i=eu=Cs=0;i<a;){var l=Aa[i];Aa[i++]=null;var f=Aa[i];Aa[i++]=null;var x=Aa[i];Aa[i++]=null;var m=Aa[i];if(Aa[i++]=null,f!==null&&x!==null){var T=f.pending;T===null?x.next=x:(x.next=T.next,T.next=x),f.pending=x}m!==0&&bx(l,x,m)}}function k0(a,i,l,f){Aa[Cs++]=a,Aa[Cs++]=i,Aa[Cs++]=l,Aa[Cs++]=f,eu|=f,a.lanes|=f,a=a.alternate,a!==null&&(a.lanes|=f)}function tu(a,i,l,f){return k0(a,i,l,f),A0(a)}function Mi(a,i){return k0(a,null,null,i),A0(a)}function bx(a,i,l){a.lanes|=l;var f=a.alternate;f!==null&&(f.lanes|=l);for(var x=!1,m=a.return;m!==null;)m.childLanes|=l,f=m.alternate,f!==null&&(f.childLanes|=l),m.tag===22&&(a=m.stateNode,a===null||a._visibility&1||(x=!0)),a=m,m=m.return;return a.tag===3?(m=a.stateNode,x&&i!==null&&(x=31-_r(l),a=m.hiddenUpdates,f=a[x],f===null?a[x]=[i]:f.push(i),i.lane=l|536870912),m):null}function A0(a){if(50<sc)throw sc=0,fh=null,Error(n(185));for(var i=a.return;i!==null;)a=i,i=a.return;return a.tag===3?a.stateNode:null}var Fs={};function A4(a,i,l,f){this.tag=a,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ua(a,i,l,f){return new A4(a,i,l,f)}function ru(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Sn(a,i){var l=a.alternate;return l===null?(l=ua(a.tag,i,a.key,a.mode),l.elementType=a.elementType,l.type=a.type,l.stateNode=a.stateNode,l.alternate=a,a.alternate=l):(l.pendingProps=i,l.type=a.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=a.flags&65011712,l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,i=a.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=a.sibling,l.index=a.index,l.ref=a.ref,l.refCleanup=a.refCleanup,l}function kx(a,i){a.flags&=65011714;var l=a.alternate;return l===null?(a.childLanes=0,a.lanes=i,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,i=l.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),a}function C0(a,i,l,f,x,m){var T=0;if(f=a,typeof a=="function")ru(a)&&(T=1);else if(typeof a=="string")T=DE(a,l,L.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case X:return a=ua(31,l,i,x),a.elementType=X,a.lanes=m,a;case _:return Li(l.children,x,m,i);case E:T=8,x|=24;break;case b:return a=ua(12,l,i,x|2),a.elementType=b,a.lanes=m,a;case I:return a=ua(13,l,i,x),a.elementType=I,a.lanes=m,a;case W:return a=ua(19,l,i,x),a.elementType=W,a.lanes=m,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case k:T=10;break e;case F:T=9;break e;case U:T=11;break e;case D:T=14;break e;case ee:T=16,f=null;break e}T=29,l=Error(n(130,a===null?"null":typeof a,"")),f=null}return i=ua(T,l,i,x),i.elementType=a,i.type=f,i.lanes=m,i}function Li(a,i,l,f){return a=ua(7,a,f,i),a.lanes=l,a}function au(a,i,l){return a=ua(6,a,null,i),a.lanes=l,a}function Ax(a){var i=ua(18,null,null,0);return i.stateNode=a,i}function nu(a,i,l){return i=ua(4,a.children!==null?a.children:[],a.key,i),i.lanes=l,i.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},i}var Cx=new WeakMap;function Ca(a,i){if(typeof a=="object"&&a!==null){var l=Cx.get(a);return l!==void 0?l:(i={value:a,source:i,stack:vt(i)},Cx.set(a,i),i)}return{value:a,source:i,stack:vt(i)}}var Rs=[],Os=0,F0=null,Il=0,Fa=[],Ra=0,qn=null,ln=1,cn="";function En(a,i){Rs[Os++]=Il,Rs[Os++]=F0,F0=a,Il=i}function Fx(a,i,l){Fa[Ra++]=ln,Fa[Ra++]=cn,Fa[Ra++]=qn,qn=a;var f=ln;a=cn;var x=32-_r(f)-1;f&=~(1<<x),l+=1;var m=32-_r(i)+x;if(30<m){var T=x-x%5;m=(f&(1<<T)-1).toString(32),f>>=T,x-=T,ln=1<<32-_r(i)+x|l<<x|f,cn=m+a}else ln=1<<m|l<<x|f,cn=a}function iu(a){a.return!==null&&(En(a,1),Fx(a,1,0))}function su(a){for(;a===F0;)F0=Rs[--Os],Rs[Os]=null,Il=Rs[--Os],Rs[Os]=null;for(;a===qn;)qn=Fa[--Ra],Fa[Ra]=null,cn=Fa[--Ra],Fa[Ra]=null,ln=Fa[--Ra],Fa[Ra]=null}function Rx(a,i){Fa[Ra++]=ln,Fa[Ra++]=cn,Fa[Ra++]=qn,ln=i.id,cn=i.overflow,qn=a}var kr=null,Pt=null,gt=!1,Yn=null,Oa=!1,lu=Error(n(519));function Kn(a){var i=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw zl(Ca(i,a)),lu}function Ox(a){var i=a.stateNode,l=a.type,f=a.memoizedProps;switch(i[M]=a,i[B]=f,l){case"dialog":dt("cancel",i),dt("close",i);break;case"iframe":case"object":case"embed":dt("load",i);break;case"video":case"audio":for(l=0;l<cc.length;l++)dt(cc[l],i);break;case"source":dt("error",i);break;case"img":case"image":case"link":dt("error",i),dt("load",i);break;case"details":dt("toggle",i);break;case"input":dt("invalid",i),W1(i,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":dt("invalid",i);break;case"textarea":dt("invalid",i),G1(i,f.value,f.defaultValue,f.children)}l=f.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||i.textContent===""+l||f.suppressHydrationWarning===!0||Ym(i.textContent,l)?(f.popover!=null&&(dt("beforetoggle",i),dt("toggle",i)),f.onScroll!=null&&dt("scroll",i),f.onScrollEnd!=null&&dt("scrollend",i),f.onClick!=null&&(i.onclick=yn),i=!0):i=!1,i||Kn(a,!0)}function Dx(a){for(kr=a.return;kr;)switch(kr.tag){case 5:case 31:case 13:Oa=!1;return;case 27:case 3:Oa=!0;return;default:kr=kr.return}}function Ds(a){if(a!==kr)return!1;if(!gt)return Dx(a),gt=!0,!1;var i=a.tag,l;if((l=i!==3&&i!==27)&&((l=i===5)&&(l=a.type,l=!(l!=="form"&&l!=="button")||bh(a.type,a.memoizedProps)),l=!l),l&&Pt&&Kn(a),Dx(a),i===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(317));Pt=av(a)}else if(i===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(317));Pt=av(a)}else i===27?(i=Pt,oi(a.type)?(a=Rh,Rh=null,Pt=a):Pt=i):Pt=kr?Na(a.stateNode.nextSibling):null;return!0}function Bi(){Pt=kr=null,gt=!1}function cu(){var a=Yn;return a!==null&&(ra===null?ra=a:ra.push.apply(ra,a),Yn=null),a}function zl(a){Yn===null?Yn=[a]:Yn.push(a)}var ou=j(null),Ui=null,wn=null;function Zn(a,i,l){P(ou,i._currentValue),i._currentValue=l}function Tn(a){a._currentValue=ou.current,A(ou)}function fu(a,i,l){for(;a!==null;){var f=a.alternate;if((a.childLanes&i)!==i?(a.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),a===l)break;a=a.return}}function uu(a,i,l,f){var x=a.child;for(x!==null&&(x.return=a);x!==null;){var m=x.dependencies;if(m!==null){var T=x.child;m=m.firstContext;e:for(;m!==null;){var R=m;m=x;for(var G=0;G<i.length;G++)if(R.context===i[G]){m.lanes|=l,R=m.alternate,R!==null&&(R.lanes|=l),fu(m.return,l,a),f||(T=null);break e}m=R.next}}else if(x.tag===18){if(T=x.return,T===null)throw Error(n(341));T.lanes|=l,m=T.alternate,m!==null&&(m.lanes|=l),fu(T,l,a),T=null}else T=x.child;if(T!==null)T.return=x;else for(T=x;T!==null;){if(T===a){T=null;break}if(x=T.sibling,x!==null){x.return=T.return,T=x;break}T=T.return}x=T}}function Ns(a,i,l,f){a=null;for(var x=i,m=!1;x!==null;){if(!m){if((x.flags&524288)!==0)m=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var T=x.alternate;if(T===null)throw Error(n(387));if(T=T.memoizedProps,T!==null){var R=x.type;fa(x.pendingProps.value,T.value)||(a!==null?a.push(R):a=[R])}}else if(x===de.current){if(T=x.alternate,T===null)throw Error(n(387));T.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(a!==null?a.push(dc):a=[dc])}x=x.return}a!==null&&uu(i,a,l,f),i.flags|=262144}function R0(a){for(a=a.firstContext;a!==null;){if(!fa(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function ji(a){Ui=a,wn=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Ar(a){return Nx(Ui,a)}function O0(a,i){return Ui===null&&ji(a),Nx(a,i)}function Nx(a,i){var l=i._currentValue;if(i={context:i,memoizedValue:l,next:null},wn===null){if(a===null)throw Error(n(308));wn=i,a.dependencies={lanes:0,firstContext:i},a.flags|=524288}else wn=wn.next=i;return l}var C4=typeof AbortController<"u"?AbortController:function(){var a=[],i=this.signal={aborted:!1,addEventListener:function(l,f){a.push(f)}};this.abort=function(){i.aborted=!0,a.forEach(function(l){return l()})}},F4=e.unstable_scheduleCallback,R4=e.unstable_NormalPriority,fr={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hu(){return{controller:new C4,data:new Map,refCount:0}}function Pl(a){a.refCount--,a.refCount===0&&F4(R4,function(){a.controller.abort()})}var Hl=null,du=0,Ms=0,Ls=null;function O4(a,i){if(Hl===null){var l=Hl=[];du=0,Ms=mh(),Ls={status:"pending",value:void 0,then:function(f){l.push(f)}}}return du++,i.then(Mx,Mx),i}function Mx(){if(--du===0&&Hl!==null){Ls!==null&&(Ls.status="fulfilled");var a=Hl;Hl=null,Ms=0,Ls=null;for(var i=0;i<a.length;i++)(0,a[i])()}}function D4(a,i){var l=[],f={status:"pending",value:null,reason:null,then:function(x){l.push(x)}};return a.then(function(){f.status="fulfilled",f.value=i;for(var x=0;x<l.length;x++)(0,l[x])(i)},function(x){for(f.status="rejected",f.reason=x,x=0;x<l.length;x++)(0,l[x])(void 0)}),f}var Lx=Z.S;Z.S=function(a,i){gm=bt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&O4(a,i),Lx!==null&&Lx(a,i)};var Ii=j(null);function xu(){var a=Ii.current;return a!==null?a:Ut.pooledCache}function D0(a,i){i===null?P(Ii,Ii.current):P(Ii,i.pool)}function Bx(){var a=xu();return a===null?null:{parent:fr._currentValue,pool:a}}var Bs=Error(n(460)),pu=Error(n(474)),N0=Error(n(542)),M0={then:function(){}};function Ux(a){return a=a.status,a==="fulfilled"||a==="rejected"}function jx(a,i,l){switch(l=a[l],l===void 0?a.push(i):l!==i&&(i.then(yn,yn),i=l),i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,zx(a),a;default:if(typeof i.status=="string")i.then(yn,yn);else{if(a=Ut,a!==null&&100<a.shellSuspendCounter)throw Error(n(482));a=i,a.status="pending",a.then(function(f){if(i.status==="pending"){var x=i;x.status="fulfilled",x.value=f}},function(f){if(i.status==="pending"){var x=i;x.status="rejected",x.reason=f}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,zx(a),a}throw Pi=i,Bs}}function zi(a){try{var i=a._init;return i(a._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Pi=l,Bs):l}}var Pi=null;function Ix(){if(Pi===null)throw Error(n(459));var a=Pi;return Pi=null,a}function zx(a){if(a===Bs||a===N0)throw Error(n(483))}var Us=null,Vl=0;function L0(a){var i=Vl;return Vl+=1,Us===null&&(Us=[]),jx(Us,a,i)}function Wl(a,i){i=i.props.ref,a.ref=i!==void 0?i:null}function B0(a,i){throw i.$$typeof===g?Error(n(525)):(a=Object.prototype.toString.call(i),Error(n(31,a==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":a)))}function Px(a){function i(ae,J){if(a){var se=ae.deletions;se===null?(ae.deletions=[J],ae.flags|=16):se.push(J)}}function l(ae,J){if(!a)return null;for(;J!==null;)i(ae,J),J=J.sibling;return null}function f(ae){for(var J=new Map;ae!==null;)ae.key!==null?J.set(ae.key,ae):J.set(ae.index,ae),ae=ae.sibling;return J}function x(ae,J){return ae=Sn(ae,J),ae.index=0,ae.sibling=null,ae}function m(ae,J,se){return ae.index=se,a?(se=ae.alternate,se!==null?(se=se.index,se<J?(ae.flags|=67108866,J):se):(ae.flags|=67108866,J)):(ae.flags|=1048576,J)}function T(ae){return a&&ae.alternate===null&&(ae.flags|=67108866),ae}function R(ae,J,se,we){return J===null||J.tag!==6?(J=au(se,ae.mode,we),J.return=ae,J):(J=x(J,se),J.return=ae,J)}function G(ae,J,se,we){var Xe=se.type;return Xe===_?_e(ae,J,se.props.children,we,se.key):J!==null&&(J.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===ee&&zi(Xe)===J.type)?(J=x(J,se.props),Wl(J,se),J.return=ae,J):(J=C0(se.type,se.key,se.props,null,ae.mode,we),Wl(J,se),J.return=ae,J)}function le(ae,J,se,we){return J===null||J.tag!==4||J.stateNode.containerInfo!==se.containerInfo||J.stateNode.implementation!==se.implementation?(J=nu(se,ae.mode,we),J.return=ae,J):(J=x(J,se.children||[]),J.return=ae,J)}function _e(ae,J,se,we,Xe){return J===null||J.tag!==7?(J=Li(se,ae.mode,we,Xe),J.return=ae,J):(J=x(J,se),J.return=ae,J)}function Te(ae,J,se){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return J=au(""+J,ae.mode,se),J.return=ae,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case S:return se=C0(J.type,J.key,J.props,null,ae.mode,se),Wl(se,J),se.return=ae,se;case w:return J=nu(J,ae.mode,se),J.return=ae,J;case ee:return J=zi(J),Te(ae,J,se)}if(ve(J)||Q(J))return J=Li(J,ae.mode,se,null),J.return=ae,J;if(typeof J.then=="function")return Te(ae,L0(J),se);if(J.$$typeof===k)return Te(ae,O0(ae,J),se);B0(ae,J)}return null}function ue(ae,J,se,we){var Xe=J!==null?J.key:null;if(typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint")return Xe!==null?null:R(ae,J,""+se,we);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case S:return se.key===Xe?G(ae,J,se,we):null;case w:return se.key===Xe?le(ae,J,se,we):null;case ee:return se=zi(se),ue(ae,J,se,we)}if(ve(se)||Q(se))return Xe!==null?null:_e(ae,J,se,we,null);if(typeof se.then=="function")return ue(ae,J,L0(se),we);if(se.$$typeof===k)return ue(ae,J,O0(ae,se),we);B0(ae,se)}return null}function xe(ae,J,se,we,Xe){if(typeof we=="string"&&we!==""||typeof we=="number"||typeof we=="bigint")return ae=ae.get(se)||null,R(J,ae,""+we,Xe);if(typeof we=="object"&&we!==null){switch(we.$$typeof){case S:return ae=ae.get(we.key===null?se:we.key)||null,G(J,ae,we,Xe);case w:return ae=ae.get(we.key===null?se:we.key)||null,le(J,ae,we,Xe);case ee:return we=zi(we),xe(ae,J,se,we,Xe)}if(ve(we)||Q(we))return ae=ae.get(se)||null,_e(J,ae,we,Xe,null);if(typeof we.then=="function")return xe(ae,J,se,L0(we),Xe);if(we.$$typeof===k)return xe(ae,J,se,O0(J,we),Xe);B0(J,we)}return null}function Pe(ae,J,se,we){for(var Xe=null,St=null,We=J,it=J=0,mt=null;We!==null&&it<se.length;it++){We.index>it?(mt=We,We=null):mt=We.sibling;var Et=ue(ae,We,se[it],we);if(Et===null){We===null&&(We=mt);break}a&&We&&Et.alternate===null&&i(ae,We),J=m(Et,J,it),St===null?Xe=Et:St.sibling=Et,St=Et,We=mt}if(it===se.length)return l(ae,We),gt&&En(ae,it),Xe;if(We===null){for(;it<se.length;it++)We=Te(ae,se[it],we),We!==null&&(J=m(We,J,it),St===null?Xe=We:St.sibling=We,St=We);return gt&&En(ae,it),Xe}for(We=f(We);it<se.length;it++)mt=xe(We,ae,it,se[it],we),mt!==null&&(a&&mt.alternate!==null&&We.delete(mt.key===null?it:mt.key),J=m(mt,J,it),St===null?Xe=mt:St.sibling=mt,St=mt);return a&&We.forEach(function(xi){return i(ae,xi)}),gt&&En(ae,it),Xe}function Ye(ae,J,se,we){if(se==null)throw Error(n(151));for(var Xe=null,St=null,We=J,it=J=0,mt=null,Et=se.next();We!==null&&!Et.done;it++,Et=se.next()){We.index>it?(mt=We,We=null):mt=We.sibling;var xi=ue(ae,We,Et.value,we);if(xi===null){We===null&&(We=mt);break}a&&We&&xi.alternate===null&&i(ae,We),J=m(xi,J,it),St===null?Xe=xi:St.sibling=xi,St=xi,We=mt}if(Et.done)return l(ae,We),gt&&En(ae,it),Xe;if(We===null){for(;!Et.done;it++,Et=se.next())Et=Te(ae,Et.value,we),Et!==null&&(J=m(Et,J,it),St===null?Xe=Et:St.sibling=Et,St=Et);return gt&&En(ae,it),Xe}for(We=f(We);!Et.done;it++,Et=se.next())Et=xe(We,ae,it,Et.value,we),Et!==null&&(a&&Et.alternate!==null&&We.delete(Et.key===null?it:Et.key),J=m(Et,J,it),St===null?Xe=Et:St.sibling=Et,St=Et);return a&&We.forEach(function(VE){return i(ae,VE)}),gt&&En(ae,it),Xe}function Mt(ae,J,se,we){if(typeof se=="object"&&se!==null&&se.type===_&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case S:e:{for(var Xe=se.key;J!==null;){if(J.key===Xe){if(Xe=se.type,Xe===_){if(J.tag===7){l(ae,J.sibling),we=x(J,se.props.children),we.return=ae,ae=we;break e}}else if(J.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===ee&&zi(Xe)===J.type){l(ae,J.sibling),we=x(J,se.props),Wl(we,se),we.return=ae,ae=we;break e}l(ae,J);break}else i(ae,J);J=J.sibling}se.type===_?(we=Li(se.props.children,ae.mode,we,se.key),we.return=ae,ae=we):(we=C0(se.type,se.key,se.props,null,ae.mode,we),Wl(we,se),we.return=ae,ae=we)}return T(ae);case w:e:{for(Xe=se.key;J!==null;){if(J.key===Xe)if(J.tag===4&&J.stateNode.containerInfo===se.containerInfo&&J.stateNode.implementation===se.implementation){l(ae,J.sibling),we=x(J,se.children||[]),we.return=ae,ae=we;break e}else{l(ae,J);break}else i(ae,J);J=J.sibling}we=nu(se,ae.mode,we),we.return=ae,ae=we}return T(ae);case ee:return se=zi(se),Mt(ae,J,se,we)}if(ve(se))return Pe(ae,J,se,we);if(Q(se)){if(Xe=Q(se),typeof Xe!="function")throw Error(n(150));return se=Xe.call(se),Ye(ae,J,se,we)}if(typeof se.then=="function")return Mt(ae,J,L0(se),we);if(se.$$typeof===k)return Mt(ae,J,O0(ae,se),we);B0(ae,se)}return typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint"?(se=""+se,J!==null&&J.tag===6?(l(ae,J.sibling),we=x(J,se),we.return=ae,ae=we):(l(ae,J),we=au(se,ae.mode,we),we.return=ae,ae=we),T(ae)):l(ae,J)}return function(ae,J,se,we){try{Vl=0;var Xe=Mt(ae,J,se,we);return Us=null,Xe}catch(We){if(We===Bs||We===N0)throw We;var St=ua(29,We,null,ae.mode);return St.lanes=we,St.return=ae,St}finally{}}}var Hi=Px(!0),Hx=Px(!1),$n=!1;function mu(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vu(a,i){a=a.updateQueue,i.updateQueue===a&&(i.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Qn(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Jn(a,i,l){var f=a.updateQueue;if(f===null)return null;if(f=f.shared,(Tt&2)!==0){var x=f.pending;return x===null?i.next=i:(i.next=x.next,x.next=i),f.pending=i,i=A0(a),bx(a,null,l),i}return k0(a,f,i,l),A0(a)}function Xl(a,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var f=i.lanes;f&=a.pendingLanes,l|=f,i.lanes=l,_s(a,l)}}function gu(a,i){var l=a.updateQueue,f=a.alternate;if(f!==null&&(f=f.updateQueue,l===f)){var x=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var T={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};m===null?x=m=T:m=m.next=T,l=l.next}while(l!==null);m===null?x=m=i:m=m.next=i}else x=m=i;l={baseState:f.baseState,firstBaseUpdate:x,lastBaseUpdate:m,shared:f.shared,callbacks:f.callbacks},a.updateQueue=l;return}a=l.lastBaseUpdate,a===null?l.firstBaseUpdate=i:a.next=i,l.lastBaseUpdate=i}var yu=!1;function Gl(){if(yu){var a=Ls;if(a!==null)throw a}}function ql(a,i,l,f){yu=!1;var x=a.updateQueue;$n=!1;var m=x.firstBaseUpdate,T=x.lastBaseUpdate,R=x.shared.pending;if(R!==null){x.shared.pending=null;var G=R,le=G.next;G.next=null,T===null?m=le:T.next=le,T=G;var _e=a.alternate;_e!==null&&(_e=_e.updateQueue,R=_e.lastBaseUpdate,R!==T&&(R===null?_e.firstBaseUpdate=le:R.next=le,_e.lastBaseUpdate=G))}if(m!==null){var Te=x.baseState;T=0,_e=le=G=null,R=m;do{var ue=R.lane&-536870913,xe=ue!==R.lane;if(xe?(pt&ue)===ue:(f&ue)===ue){ue!==0&&ue===Ms&&(yu=!0),_e!==null&&(_e=_e.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var Pe=a,Ye=R;ue=i;var Mt=l;switch(Ye.tag){case 1:if(Pe=Ye.payload,typeof Pe=="function"){Te=Pe.call(Mt,Te,ue);break e}Te=Pe;break e;case 3:Pe.flags=Pe.flags&-65537|128;case 0:if(Pe=Ye.payload,ue=typeof Pe=="function"?Pe.call(Mt,Te,ue):Pe,ue==null)break e;Te=v({},Te,ue);break e;case 2:$n=!0}}ue=R.callback,ue!==null&&(a.flags|=64,xe&&(a.flags|=8192),xe=x.callbacks,xe===null?x.callbacks=[ue]:xe.push(ue))}else xe={lane:ue,tag:R.tag,payload:R.payload,callback:R.callback,next:null},_e===null?(le=_e=xe,G=Te):_e=_e.next=xe,T|=ue;if(R=R.next,R===null){if(R=x.shared.pending,R===null)break;xe=R,R=xe.next,xe.next=null,x.lastBaseUpdate=xe,x.shared.pending=null}}while(!0);_e===null&&(G=Te),x.baseState=G,x.firstBaseUpdate=le,x.lastBaseUpdate=_e,m===null&&(x.shared.lanes=0),ni|=T,a.lanes=T,a.memoizedState=Te}}function Vx(a,i){if(typeof a!="function")throw Error(n(191,a));a.call(i)}function Wx(a,i){var l=a.callbacks;if(l!==null)for(a.callbacks=null,a=0;a<l.length;a++)Vx(l[a],i)}var js=j(null),U0=j(0);function Xx(a,i){a=Nn,P(U0,a),P(js,i),Nn=a|i.baseLanes}function _u(){P(U0,Nn),P(js,js.current)}function Su(){Nn=U0.current,A(js),A(U0)}var ha=j(null),Da=null;function ei(a){var i=a.alternate;P(nr,nr.current&1),P(ha,a),Da===null&&(i===null||js.current!==null||i.memoizedState!==null)&&(Da=a)}function Eu(a){P(nr,nr.current),P(ha,a),Da===null&&(Da=a)}function Gx(a){a.tag===22?(P(nr,nr.current),P(ha,a),Da===null&&(Da=a)):ti()}function ti(){P(nr,nr.current),P(ha,ha.current)}function da(a){A(ha),Da===a&&(Da=null),A(nr)}var nr=j(0);function j0(a){for(var i=a;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ch(l)||Fh(l)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var bn=0,rt=null,Dt=null,ur=null,I0=!1,Is=!1,Vi=!1,z0=0,Yl=0,zs=null,N4=0;function Jt(){throw Error(n(321))}function wu(a,i){if(i===null)return!1;for(var l=0;l<i.length&&l<a.length;l++)if(!fa(a[l],i[l]))return!1;return!0}function Tu(a,i,l,f,x,m){return bn=m,rt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Z.H=a===null||a.memoizedState===null?Fp:Iu,Vi=!1,m=l(f,x),Vi=!1,Is&&(m=Yx(i,l,f,x)),qx(a),m}function qx(a){Z.H=$l;var i=Dt!==null&&Dt.next!==null;if(bn=0,ur=Dt=rt=null,I0=!1,Yl=0,zs=null,i)throw Error(n(300));a===null||hr||(a=a.dependencies,a!==null&&R0(a)&&(hr=!0))}function Yx(a,i,l,f){rt=a;var x=0;do{if(Is&&(zs=null),Yl=0,Is=!1,25<=x)throw Error(n(301));if(x+=1,ur=Dt=null,a.updateQueue!=null){var m=a.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}Z.H=Rp,m=i(l,f)}while(Is);return m}function M4(){var a=Z.H,i=a.useState()[0];return i=typeof i.then=="function"?Kl(i):i,a=a.useState()[0],(Dt!==null?Dt.memoizedState:null)!==a&&(rt.flags|=1024),i}function bu(){var a=z0!==0;return z0=0,a}function ku(a,i,l){i.updateQueue=a.updateQueue,i.flags&=-2053,a.lanes&=~l}function Au(a){if(I0){for(a=a.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}I0=!1}bn=0,ur=Dt=rt=null,Is=!1,Yl=z0=0,zs=null}function qr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ur===null?rt.memoizedState=ur=a:ur=ur.next=a,ur}function ir(){if(Dt===null){var a=rt.alternate;a=a!==null?a.memoizedState:null}else a=Dt.next;var i=ur===null?rt.memoizedState:ur.next;if(i!==null)ur=i,Dt=a;else{if(a===null)throw rt.alternate===null?Error(n(467)):Error(n(310));Dt=a,a={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},ur===null?rt.memoizedState=ur=a:ur=ur.next=a}return ur}function P0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Kl(a){var i=Yl;return Yl+=1,zs===null&&(zs=[]),a=jx(zs,a,i),i=rt,(ur===null?i.memoizedState:ur.next)===null&&(i=i.alternate,Z.H=i===null||i.memoizedState===null?Fp:Iu),a}function H0(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Kl(a);if(a.$$typeof===k)return Ar(a)}throw Error(n(438,String(a)))}function Cu(a){var i=null,l=rt.updateQueue;if(l!==null&&(i=l.memoCache),i==null){var f=rt.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(i={data:f.data.map(function(x){return x.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),l===null&&(l=P0(),rt.updateQueue=l),l.memoCache=i,l=i.data[i.index],l===void 0)for(l=i.data[i.index]=Array(a),f=0;f<a;f++)l[f]=ne;return i.index++,l}function kn(a,i){return typeof i=="function"?i(a):i}function V0(a){var i=ir();return Fu(i,Dt,a)}function Fu(a,i,l){var f=a.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=l;var x=a.baseQueue,m=f.pending;if(m!==null){if(x!==null){var T=x.next;x.next=m.next,m.next=T}i.baseQueue=x=m,f.pending=null}if(m=a.baseState,x===null)a.memoizedState=m;else{i=x.next;var R=T=null,G=null,le=i,_e=!1;do{var Te=le.lane&-536870913;if(Te!==le.lane?(pt&Te)===Te:(bn&Te)===Te){var ue=le.revertLane;if(ue===0)G!==null&&(G=G.next={lane:0,revertLane:0,gesture:null,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null}),Te===Ms&&(_e=!0);else if((bn&ue)===ue){le=le.next,ue===Ms&&(_e=!0);continue}else Te={lane:0,revertLane:le.revertLane,gesture:null,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null},G===null?(R=G=Te,T=m):G=G.next=Te,rt.lanes|=ue,ni|=ue;Te=le.action,Vi&&l(m,Te),m=le.hasEagerState?le.eagerState:l(m,Te)}else ue={lane:Te,revertLane:le.revertLane,gesture:le.gesture,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null},G===null?(R=G=ue,T=m):G=G.next=ue,rt.lanes|=Te,ni|=Te;le=le.next}while(le!==null&&le!==i);if(G===null?T=m:G.next=R,!fa(m,a.memoizedState)&&(hr=!0,_e&&(l=Ls,l!==null)))throw l;a.memoizedState=m,a.baseState=T,a.baseQueue=G,f.lastRenderedState=m}return x===null&&(f.lanes=0),[a.memoizedState,f.dispatch]}function Ru(a){var i=ir(),l=i.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=a;var f=l.dispatch,x=l.pending,m=i.memoizedState;if(x!==null){l.pending=null;var T=x=x.next;do m=a(m,T.action),T=T.next;while(T!==x);fa(m,i.memoizedState)||(hr=!0),i.memoizedState=m,i.baseQueue===null&&(i.baseState=m),l.lastRenderedState=m}return[m,f]}function Kx(a,i,l){var f=rt,x=ir(),m=gt;if(m){if(l===void 0)throw Error(n(407));l=l()}else l=i();var T=!fa((Dt||x).memoizedState,l);if(T&&(x.memoizedState=l,hr=!0),x=x.queue,Nu(Qx.bind(null,f,x,a),[a]),x.getSnapshot!==i||T||ur!==null&&ur.memoizedState.tag&1){if(f.flags|=2048,Ps(9,{destroy:void 0},$x.bind(null,f,x,l,i),null),Ut===null)throw Error(n(349));m||(bn&127)!==0||Zx(f,i,l)}return l}function Zx(a,i,l){a.flags|=16384,a={getSnapshot:i,value:l},i=rt.updateQueue,i===null?(i=P0(),rt.updateQueue=i,i.stores=[a]):(l=i.stores,l===null?i.stores=[a]:l.push(a))}function $x(a,i,l,f){i.value=l,i.getSnapshot=f,Jx(i)&&ep(a)}function Qx(a,i,l){return l(function(){Jx(i)&&ep(a)})}function Jx(a){var i=a.getSnapshot;a=a.value;try{var l=i();return!fa(a,l)}catch{return!0}}function ep(a){var i=Mi(a,2);i!==null&&aa(i,a,2)}function Ou(a){var i=qr();if(typeof a=="function"){var l=a;if(a=l(),Vi){Kt(!0);try{l()}finally{Kt(!1)}}}return i.memoizedState=i.baseState=a,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:a},i}function tp(a,i,l,f){return a.baseState=l,Fu(a,Dt,typeof f=="function"?f:kn)}function L4(a,i,l,f,x){if(G0(a))throw Error(n(485));if(a=i.action,a!==null){var m={payload:x,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(T){m.listeners.push(T)}};Z.T!==null?l(!0):m.isTransition=!1,f(m),l=i.pending,l===null?(m.next=i.pending=m,rp(i,m)):(m.next=l.next,i.pending=l.next=m)}}function rp(a,i){var l=i.action,f=i.payload,x=a.state;if(i.isTransition){var m=Z.T,T={};Z.T=T;try{var R=l(x,f),G=Z.S;G!==null&&G(T,R),ap(a,i,R)}catch(le){Du(a,i,le)}finally{m!==null&&T.types!==null&&(m.types=T.types),Z.T=m}}else try{m=l(x,f),ap(a,i,m)}catch(le){Du(a,i,le)}}function ap(a,i,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(f){np(a,i,f)},function(f){return Du(a,i,f)}):np(a,i,l)}function np(a,i,l){i.status="fulfilled",i.value=l,ip(i),a.state=l,i=a.pending,i!==null&&(l=i.next,l===i?a.pending=null:(l=l.next,i.next=l,rp(a,l)))}function Du(a,i,l){var f=a.pending;if(a.pending=null,f!==null){f=f.next;do i.status="rejected",i.reason=l,ip(i),i=i.next;while(i!==f)}a.action=null}function ip(a){a=a.listeners;for(var i=0;i<a.length;i++)(0,a[i])()}function sp(a,i){return i}function lp(a,i){if(gt){var l=Ut.formState;if(l!==null){e:{var f=rt;if(gt){if(Pt){t:{for(var x=Pt,m=Oa;x.nodeType!==8;){if(!m){x=null;break t}if(x=Na(x.nextSibling),x===null){x=null;break t}}m=x.data,x=m==="F!"||m==="F"?x:null}if(x){Pt=Na(x.nextSibling),f=x.data==="F!";break e}}Kn(f)}f=!1}f&&(i=l[0])}}return l=qr(),l.memoizedState=l.baseState=i,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sp,lastRenderedState:i},l.queue=f,l=kp.bind(null,rt,f),f.dispatch=l,f=Ou(!1),m=ju.bind(null,rt,!1,f.queue),f=qr(),x={state:i,dispatch:null,action:a,pending:null},f.queue=x,l=L4.bind(null,rt,x,m,l),x.dispatch=l,f.memoizedState=a,[i,l,!1]}function cp(a){var i=ir();return op(i,Dt,a)}function op(a,i,l){if(i=Fu(a,i,sp)[0],a=V0(kn)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var f=Kl(i)}catch(T){throw T===Bs?N0:T}else f=i;i=ir();var x=i.queue,m=x.dispatch;return l!==i.memoizedState&&(rt.flags|=2048,Ps(9,{destroy:void 0},B4.bind(null,x,l),null)),[f,m,a]}function B4(a,i){a.action=i}function fp(a){var i=ir(),l=Dt;if(l!==null)return op(i,l,a);ir(),i=i.memoizedState,l=ir();var f=l.queue.dispatch;return l.memoizedState=a,[i,f,!1]}function Ps(a,i,l,f){return a={tag:a,create:l,deps:f,inst:i,next:null},i=rt.updateQueue,i===null&&(i=P0(),rt.updateQueue=i),l=i.lastEffect,l===null?i.lastEffect=a.next=a:(f=l.next,l.next=a,a.next=f,i.lastEffect=a),a}function up(){return ir().memoizedState}function W0(a,i,l,f){var x=qr();rt.flags|=a,x.memoizedState=Ps(1|i,{destroy:void 0},l,f===void 0?null:f)}function X0(a,i,l,f){var x=ir();f=f===void 0?null:f;var m=x.memoizedState.inst;Dt!==null&&f!==null&&wu(f,Dt.memoizedState.deps)?x.memoizedState=Ps(i,m,l,f):(rt.flags|=a,x.memoizedState=Ps(1|i,m,l,f))}function hp(a,i){W0(8390656,8,a,i)}function Nu(a,i){X0(2048,8,a,i)}function U4(a){rt.flags|=4;var i=rt.updateQueue;if(i===null)i=P0(),rt.updateQueue=i,i.events=[a];else{var l=i.events;l===null?i.events=[a]:l.push(a)}}function dp(a){var i=ir().memoizedState;return U4({ref:i,nextImpl:a}),function(){if((Tt&2)!==0)throw Error(n(440));return i.impl.apply(void 0,arguments)}}function xp(a,i){return X0(4,2,a,i)}function pp(a,i){return X0(4,4,a,i)}function mp(a,i){if(typeof i=="function"){a=a();var l=i(a);return function(){typeof l=="function"?l():i(null)}}if(i!=null)return a=a(),i.current=a,function(){i.current=null}}function vp(a,i,l){l=l!=null?l.concat([a]):null,X0(4,4,mp.bind(null,i,a),l)}function Mu(){}function gp(a,i){var l=ir();i=i===void 0?null:i;var f=l.memoizedState;return i!==null&&wu(i,f[1])?f[0]:(l.memoizedState=[a,i],a)}function yp(a,i){var l=ir();i=i===void 0?null:i;var f=l.memoizedState;if(i!==null&&wu(i,f[1]))return f[0];if(f=a(),Vi){Kt(!0);try{a()}finally{Kt(!1)}}return l.memoizedState=[f,i],f}function Lu(a,i,l){return l===void 0||(bn&1073741824)!==0&&(pt&261930)===0?a.memoizedState=i:(a.memoizedState=l,a=_m(),rt.lanes|=a,ni|=a,l)}function _p(a,i,l,f){return fa(l,i)?l:js.current!==null?(a=Lu(a,l,f),fa(a,i)||(hr=!0),a):(bn&42)===0||(bn&1073741824)!==0&&(pt&261930)===0?(hr=!0,a.memoizedState=l):(a=_m(),rt.lanes|=a,ni|=a,i)}function Sp(a,i,l,f,x){var m=ie.p;ie.p=m!==0&&8>m?m:8;var T=Z.T,R={};Z.T=R,ju(a,!1,i,l);try{var G=x(),le=Z.S;if(le!==null&&le(R,G),G!==null&&typeof G=="object"&&typeof G.then=="function"){var _e=D4(G,f);Zl(a,i,_e,ma(a))}else Zl(a,i,f,ma(a))}catch(Te){Zl(a,i,{then:function(){},status:"rejected",reason:Te},ma())}finally{ie.p=m,T!==null&&R.types!==null&&(T.types=R.types),Z.T=T}}function j4(){}function Bu(a,i,l,f){if(a.tag!==5)throw Error(n(476));var x=Ep(a).queue;Sp(a,x,i,Re,l===null?j4:function(){return wp(a),l(f)})}function Ep(a){var i=a.memoizedState;if(i!==null)return i;i={memoizedState:Re,baseState:Re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:Re},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:l},next:null},a.memoizedState=i,a=a.alternate,a!==null&&(a.memoizedState=i),i}function wp(a){var i=Ep(a);i.next===null&&(i=a.alternate.memoizedState),Zl(a,i.next.queue,{},ma())}function Uu(){return Ar(dc)}function Tp(){return ir().memoizedState}function bp(){return ir().memoizedState}function I4(a){for(var i=a.return;i!==null;){switch(i.tag){case 24:case 3:var l=ma();a=Qn(l);var f=Jn(i,a,l);f!==null&&(aa(f,i,l),Xl(f,i,l)),i={cache:hu()},a.payload=i;return}i=i.return}}function z4(a,i,l){var f=ma();l={lane:f,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},G0(a)?Ap(i,l):(l=tu(a,i,l,f),l!==null&&(aa(l,a,f),Cp(l,i,f)))}function kp(a,i,l){var f=ma();Zl(a,i,l,f)}function Zl(a,i,l,f){var x={lane:f,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(G0(a))Ap(i,x);else{var m=a.alternate;if(a.lanes===0&&(m===null||m.lanes===0)&&(m=i.lastRenderedReducer,m!==null))try{var T=i.lastRenderedState,R=m(T,l);if(x.hasEagerState=!0,x.eagerState=R,fa(R,T))return k0(a,i,x,0),Ut===null&&b0(),!1}catch{}finally{}if(l=tu(a,i,x,f),l!==null)return aa(l,a,f),Cp(l,i,f),!0}return!1}function ju(a,i,l,f){if(f={lane:2,revertLane:mh(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},G0(a)){if(i)throw Error(n(479))}else i=tu(a,l,f,2),i!==null&&aa(i,a,2)}function G0(a){var i=a.alternate;return a===rt||i!==null&&i===rt}function Ap(a,i){Is=I0=!0;var l=a.pending;l===null?i.next=i:(i.next=l.next,l.next=i),a.pending=i}function Cp(a,i,l){if((l&4194048)!==0){var f=i.lanes;f&=a.pendingLanes,l|=f,i.lanes=l,_s(a,l)}}var $l={readContext:Ar,use:H0,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt};$l.useEffectEvent=Jt;var Fp={readContext:Ar,use:H0,useCallback:function(a,i){return qr().memoizedState=[a,i===void 0?null:i],a},useContext:Ar,useEffect:hp,useImperativeHandle:function(a,i,l){l=l!=null?l.concat([a]):null,W0(4194308,4,mp.bind(null,i,a),l)},useLayoutEffect:function(a,i){return W0(4194308,4,a,i)},useInsertionEffect:function(a,i){W0(4,2,a,i)},useMemo:function(a,i){var l=qr();i=i===void 0?null:i;var f=a();if(Vi){Kt(!0);try{a()}finally{Kt(!1)}}return l.memoizedState=[f,i],f},useReducer:function(a,i,l){var f=qr();if(l!==void 0){var x=l(i);if(Vi){Kt(!0);try{l(i)}finally{Kt(!1)}}}else x=i;return f.memoizedState=f.baseState=x,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:x},f.queue=a,a=a.dispatch=z4.bind(null,rt,a),[f.memoizedState,a]},useRef:function(a){var i=qr();return a={current:a},i.memoizedState=a},useState:function(a){a=Ou(a);var i=a.queue,l=kp.bind(null,rt,i);return i.dispatch=l,[a.memoizedState,l]},useDebugValue:Mu,useDeferredValue:function(a,i){var l=qr();return Lu(l,a,i)},useTransition:function(){var a=Ou(!1);return a=Sp.bind(null,rt,a.queue,!0,!1),qr().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,i,l){var f=rt,x=qr();if(gt){if(l===void 0)throw Error(n(407));l=l()}else{if(l=i(),Ut===null)throw Error(n(349));(pt&127)!==0||Zx(f,i,l)}x.memoizedState=l;var m={value:l,getSnapshot:i};return x.queue=m,hp(Qx.bind(null,f,m,a),[a]),f.flags|=2048,Ps(9,{destroy:void 0},$x.bind(null,f,m,l,i),null),l},useId:function(){var a=qr(),i=Ut.identifierPrefix;if(gt){var l=cn,f=ln;l=(f&~(1<<32-_r(f)-1)).toString(32)+l,i="_"+i+"R_"+l,l=z0++,0<l&&(i+="H"+l.toString(32)),i+="_"}else l=N4++,i="_"+i+"r_"+l.toString(32)+"_";return a.memoizedState=i},useHostTransitionStatus:Uu,useFormState:lp,useActionState:lp,useOptimistic:function(a){var i=qr();i.memoizedState=i.baseState=a;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=l,i=ju.bind(null,rt,!0,l),l.dispatch=i,[a,i]},useMemoCache:Cu,useCacheRefresh:function(){return qr().memoizedState=I4.bind(null,rt)},useEffectEvent:function(a){var i=qr(),l={impl:a};return i.memoizedState=l,function(){if((Tt&2)!==0)throw Error(n(440));return l.impl.apply(void 0,arguments)}}},Iu={readContext:Ar,use:H0,useCallback:gp,useContext:Ar,useEffect:Nu,useImperativeHandle:vp,useInsertionEffect:xp,useLayoutEffect:pp,useMemo:yp,useReducer:V0,useRef:up,useState:function(){return V0(kn)},useDebugValue:Mu,useDeferredValue:function(a,i){var l=ir();return _p(l,Dt.memoizedState,a,i)},useTransition:function(){var a=V0(kn)[0],i=ir().memoizedState;return[typeof a=="boolean"?a:Kl(a),i]},useSyncExternalStore:Kx,useId:Tp,useHostTransitionStatus:Uu,useFormState:cp,useActionState:cp,useOptimistic:function(a,i){var l=ir();return tp(l,Dt,a,i)},useMemoCache:Cu,useCacheRefresh:bp};Iu.useEffectEvent=dp;var Rp={readContext:Ar,use:H0,useCallback:gp,useContext:Ar,useEffect:Nu,useImperativeHandle:vp,useInsertionEffect:xp,useLayoutEffect:pp,useMemo:yp,useReducer:Ru,useRef:up,useState:function(){return Ru(kn)},useDebugValue:Mu,useDeferredValue:function(a,i){var l=ir();return Dt===null?Lu(l,a,i):_p(l,Dt.memoizedState,a,i)},useTransition:function(){var a=Ru(kn)[0],i=ir().memoizedState;return[typeof a=="boolean"?a:Kl(a),i]},useSyncExternalStore:Kx,useId:Tp,useHostTransitionStatus:Uu,useFormState:fp,useActionState:fp,useOptimistic:function(a,i){var l=ir();return Dt!==null?tp(l,Dt,a,i):(l.baseState=a,[a,l.queue.dispatch])},useMemoCache:Cu,useCacheRefresh:bp};Rp.useEffectEvent=dp;function zu(a,i,l,f){i=a.memoizedState,l=l(f,i),l=l==null?i:v({},i,l),a.memoizedState=l,a.lanes===0&&(a.updateQueue.baseState=l)}var Pu={enqueueSetState:function(a,i,l){a=a._reactInternals;var f=ma(),x=Qn(f);x.payload=i,l!=null&&(x.callback=l),i=Jn(a,x,f),i!==null&&(aa(i,a,f),Xl(i,a,f))},enqueueReplaceState:function(a,i,l){a=a._reactInternals;var f=ma(),x=Qn(f);x.tag=1,x.payload=i,l!=null&&(x.callback=l),i=Jn(a,x,f),i!==null&&(aa(i,a,f),Xl(i,a,f))},enqueueForceUpdate:function(a,i){a=a._reactInternals;var l=ma(),f=Qn(l);f.tag=2,i!=null&&(f.callback=i),i=Jn(a,f,l),i!==null&&(aa(i,a,l),Xl(i,a,l))}};function Op(a,i,l,f,x,m,T){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(f,m,T):i.prototype&&i.prototype.isPureReactComponent?!Ul(l,f)||!Ul(x,m):!0}function Dp(a,i,l,f){a=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,f),i.state!==a&&Pu.enqueueReplaceState(i,i.state,null)}function Wi(a,i){var l=i;if("ref"in i){l={};for(var f in i)f!=="ref"&&(l[f]=i[f])}if(a=a.defaultProps){l===i&&(l=v({},l));for(var x in a)l[x]===void 0&&(l[x]=a[x])}return l}function Np(a){T0(a)}function Mp(a){console.error(a)}function Lp(a){T0(a)}function q0(a,i){try{var l=a.onUncaughtError;l(i.value,{componentStack:i.stack})}catch(f){setTimeout(function(){throw f})}}function Bp(a,i,l){try{var f=a.onCaughtError;f(l.value,{componentStack:l.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function Hu(a,i,l){return l=Qn(l),l.tag=3,l.payload={element:null},l.callback=function(){q0(a,i)},l}function Up(a){return a=Qn(a),a.tag=3,a}function jp(a,i,l,f){var x=l.type.getDerivedStateFromError;if(typeof x=="function"){var m=f.value;a.payload=function(){return x(m)},a.callback=function(){Bp(i,l,f)}}var T=l.stateNode;T!==null&&typeof T.componentDidCatch=="function"&&(a.callback=function(){Bp(i,l,f),typeof x!="function"&&(ii===null?ii=new Set([this]):ii.add(this));var R=f.stack;this.componentDidCatch(f.value,{componentStack:R!==null?R:""})})}function P4(a,i,l,f,x){if(l.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(i=l.alternate,i!==null&&Ns(i,l,x,!0),l=ha.current,l!==null){switch(l.tag){case 31:case 13:return Da===null?io():l.alternate===null&&er===0&&(er=3),l.flags&=-257,l.flags|=65536,l.lanes=x,f===M0?l.flags|=16384:(i=l.updateQueue,i===null?l.updateQueue=new Set([f]):i.add(f),dh(a,f,x)),!1;case 22:return l.flags|=65536,f===M0?l.flags|=16384:(i=l.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([f])},l.updateQueue=i):(l=i.retryQueue,l===null?i.retryQueue=new Set([f]):l.add(f)),dh(a,f,x)),!1}throw Error(n(435,l.tag))}return dh(a,f,x),io(),!1}if(gt)return i=ha.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=x,f!==lu&&(a=Error(n(422),{cause:f}),zl(Ca(a,l)))):(f!==lu&&(i=Error(n(423),{cause:f}),zl(Ca(i,l))),a=a.current.alternate,a.flags|=65536,x&=-x,a.lanes|=x,f=Ca(f,l),x=Hu(a.stateNode,f,x),gu(a,x),er!==4&&(er=2)),!1;var m=Error(n(520),{cause:f});if(m=Ca(m,l),ic===null?ic=[m]:ic.push(m),er!==4&&(er=2),i===null)return!0;f=Ca(f,l),l=i;do{switch(l.tag){case 3:return l.flags|=65536,a=x&-x,l.lanes|=a,a=Hu(l.stateNode,f,a),gu(l,a),!1;case 1:if(i=l.type,m=l.stateNode,(l.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(ii===null||!ii.has(m))))return l.flags|=65536,x&=-x,l.lanes|=x,x=Up(x),jp(x,a,l,f),gu(l,x),!1}l=l.return}while(l!==null);return!1}var Vu=Error(n(461)),hr=!1;function Cr(a,i,l,f){i.child=a===null?Hx(i,null,l,f):Hi(i,a.child,l,f)}function Ip(a,i,l,f,x){l=l.render;var m=i.ref;if("ref"in f){var T={};for(var R in f)R!=="ref"&&(T[R]=f[R])}else T=f;return ji(i),f=Tu(a,i,l,T,m,x),R=bu(),a!==null&&!hr?(ku(a,i,x),An(a,i,x)):(gt&&R&&iu(i),i.flags|=1,Cr(a,i,f,x),i.child)}function zp(a,i,l,f,x){if(a===null){var m=l.type;return typeof m=="function"&&!ru(m)&&m.defaultProps===void 0&&l.compare===null?(i.tag=15,i.type=m,Pp(a,i,m,f,x)):(a=C0(l.type,null,f,i,i.mode,x),a.ref=i.ref,a.return=i,i.child=a)}if(m=a.child,!$u(a,x)){var T=m.memoizedProps;if(l=l.compare,l=l!==null?l:Ul,l(T,f)&&a.ref===i.ref)return An(a,i,x)}return i.flags|=1,a=Sn(m,f),a.ref=i.ref,a.return=i,i.child=a}function Pp(a,i,l,f,x){if(a!==null){var m=a.memoizedProps;if(Ul(m,f)&&a.ref===i.ref)if(hr=!1,i.pendingProps=f=m,$u(a,x))(a.flags&131072)!==0&&(hr=!0);else return i.lanes=a.lanes,An(a,i,x)}return Wu(a,i,l,f,x)}function Hp(a,i,l,f){var x=f.children,m=a!==null?a.memoizedState:null;if(a===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((i.flags&128)!==0){if(m=m!==null?m.baseLanes|l:l,a!==null){for(f=i.child=a.child,x=0;f!==null;)x=x|f.lanes|f.childLanes,f=f.sibling;f=x&~m}else f=0,i.child=null;return Vp(a,i,m,l,f)}if((l&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},a!==null&&D0(i,m!==null?m.cachePool:null),m!==null?Xx(i,m):_u(),Gx(i);else return f=i.lanes=536870912,Vp(a,i,m!==null?m.baseLanes|l:l,l,f)}else m!==null?(D0(i,m.cachePool),Xx(i,m),ti(),i.memoizedState=null):(a!==null&&D0(i,null),_u(),ti());return Cr(a,i,x,l),i.child}function Ql(a,i){return a!==null&&a.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Vp(a,i,l,f,x){var m=xu();return m=m===null?null:{parent:fr._currentValue,pool:m},i.memoizedState={baseLanes:l,cachePool:m},a!==null&&D0(i,null),_u(),Gx(i),a!==null&&Ns(a,i,f,!0),i.childLanes=x,null}function Y0(a,i){return i=Z0({mode:i.mode,children:i.children},a.mode),i.ref=a.ref,a.child=i,i.return=a,i}function Wp(a,i,l){return Hi(i,a.child,null,l),a=Y0(i,i.pendingProps),a.flags|=2,da(i),i.memoizedState=null,a}function H4(a,i,l){var f=i.pendingProps,x=(i.flags&128)!==0;if(i.flags&=-129,a===null){if(gt){if(f.mode==="hidden")return a=Y0(i,f),i.lanes=536870912,Ql(null,a);if(Eu(i),(a=Pt)?(a=rv(a,Oa),a=a!==null&&a.data==="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:qn!==null?{id:ln,overflow:cn}:null,retryLane:536870912,hydrationErrors:null},l=Ax(a),l.return=i,i.child=l,kr=i,Pt=null)):a=null,a===null)throw Kn(i);return i.lanes=536870912,null}return Y0(i,f)}var m=a.memoizedState;if(m!==null){var T=m.dehydrated;if(Eu(i),x)if(i.flags&256)i.flags&=-257,i=Wp(a,i,l);else if(i.memoizedState!==null)i.child=a.child,i.flags|=128,i=null;else throw Error(n(558));else if(hr||Ns(a,i,l,!1),x=(l&a.childLanes)!==0,hr||x){if(f=Ut,f!==null&&(T=x0(f,l),T!==0&&T!==m.retryLane))throw m.retryLane=T,Mi(a,T),aa(f,a,T),Vu;io(),i=Wp(a,i,l)}else a=m.treeContext,Pt=Na(T.nextSibling),kr=i,gt=!0,Yn=null,Oa=!1,a!==null&&Rx(i,a),i=Y0(i,f),i.flags|=4096;return i}return a=Sn(a.child,{mode:f.mode,children:f.children}),a.ref=i.ref,i.child=a,a.return=i,a}function K0(a,i){var l=i.ref;if(l===null)a!==null&&a.ref!==null&&(i.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(n(284));(a===null||a.ref!==l)&&(i.flags|=4194816)}}function Wu(a,i,l,f,x){return ji(i),l=Tu(a,i,l,f,void 0,x),f=bu(),a!==null&&!hr?(ku(a,i,x),An(a,i,x)):(gt&&f&&iu(i),i.flags|=1,Cr(a,i,l,x),i.child)}function Xp(a,i,l,f,x,m){return ji(i),i.updateQueue=null,l=Yx(i,f,l,x),qx(a),f=bu(),a!==null&&!hr?(ku(a,i,m),An(a,i,m)):(gt&&f&&iu(i),i.flags|=1,Cr(a,i,l,m),i.child)}function Gp(a,i,l,f,x){if(ji(i),i.stateNode===null){var m=Fs,T=l.contextType;typeof T=="object"&&T!==null&&(m=Ar(T)),m=new l(f,m),i.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=Pu,i.stateNode=m,m._reactInternals=i,m=i.stateNode,m.props=f,m.state=i.memoizedState,m.refs={},mu(i),T=l.contextType,m.context=typeof T=="object"&&T!==null?Ar(T):Fs,m.state=i.memoizedState,T=l.getDerivedStateFromProps,typeof T=="function"&&(zu(i,l,T,f),m.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(T=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),T!==m.state&&Pu.enqueueReplaceState(m,m.state,null),ql(i,f,m,x),Gl(),m.state=i.memoizedState),typeof m.componentDidMount=="function"&&(i.flags|=4194308),f=!0}else if(a===null){m=i.stateNode;var R=i.memoizedProps,G=Wi(l,R);m.props=G;var le=m.context,_e=l.contextType;T=Fs,typeof _e=="object"&&_e!==null&&(T=Ar(_e));var Te=l.getDerivedStateFromProps;_e=typeof Te=="function"||typeof m.getSnapshotBeforeUpdate=="function",R=i.pendingProps!==R,_e||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(R||le!==T)&&Dp(i,m,f,T),$n=!1;var ue=i.memoizedState;m.state=ue,ql(i,f,m,x),Gl(),le=i.memoizedState,R||ue!==le||$n?(typeof Te=="function"&&(zu(i,l,Te,f),le=i.memoizedState),(G=$n||Op(i,l,G,f,ue,le,T))?(_e||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(i.flags|=4194308)):(typeof m.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=le),m.props=f,m.state=le,m.context=T,f=G):(typeof m.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{m=i.stateNode,vu(a,i),T=i.memoizedProps,_e=Wi(l,T),m.props=_e,Te=i.pendingProps,ue=m.context,le=l.contextType,G=Fs,typeof le=="object"&&le!==null&&(G=Ar(le)),R=l.getDerivedStateFromProps,(le=typeof R=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(T!==Te||ue!==G)&&Dp(i,m,f,G),$n=!1,ue=i.memoizedState,m.state=ue,ql(i,f,m,x),Gl();var xe=i.memoizedState;T!==Te||ue!==xe||$n||a!==null&&a.dependencies!==null&&R0(a.dependencies)?(typeof R=="function"&&(zu(i,l,R,f),xe=i.memoizedState),(_e=$n||Op(i,l,_e,f,ue,xe,G)||a!==null&&a.dependencies!==null&&R0(a.dependencies))?(le||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(f,xe,G),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(f,xe,G)),typeof m.componentDidUpdate=="function"&&(i.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof m.componentDidUpdate!="function"||T===a.memoizedProps&&ue===a.memoizedState||(i.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===a.memoizedProps&&ue===a.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=xe),m.props=f,m.state=xe,m.context=G,f=_e):(typeof m.componentDidUpdate!="function"||T===a.memoizedProps&&ue===a.memoizedState||(i.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||T===a.memoizedProps&&ue===a.memoizedState||(i.flags|=1024),f=!1)}return m=f,K0(a,i),f=(i.flags&128)!==0,m||f?(m=i.stateNode,l=f&&typeof l.getDerivedStateFromError!="function"?null:m.render(),i.flags|=1,a!==null&&f?(i.child=Hi(i,a.child,null,x),i.child=Hi(i,null,l,x)):Cr(a,i,l,x),i.memoizedState=m.state,a=i.child):a=An(a,i,x),a}function qp(a,i,l,f){return Bi(),i.flags|=256,Cr(a,i,l,f),i.child}var Xu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gu(a){return{baseLanes:a,cachePool:Bx()}}function qu(a,i,l){return a=a!==null?a.childLanes&~l:0,i&&(a|=pa),a}function Yp(a,i,l){var f=i.pendingProps,x=!1,m=(i.flags&128)!==0,T;if((T=m)||(T=a!==null&&a.memoizedState===null?!1:(nr.current&2)!==0),T&&(x=!0,i.flags&=-129),T=(i.flags&32)!==0,i.flags&=-33,a===null){if(gt){if(x?ei(i):ti(),(a=Pt)?(a=rv(a,Oa),a=a!==null&&a.data!=="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:qn!==null?{id:ln,overflow:cn}:null,retryLane:536870912,hydrationErrors:null},l=Ax(a),l.return=i,i.child=l,kr=i,Pt=null)):a=null,a===null)throw Kn(i);return Fh(a)?i.lanes=32:i.lanes=536870912,null}var R=f.children;return f=f.fallback,x?(ti(),x=i.mode,R=Z0({mode:"hidden",children:R},x),f=Li(f,x,l,null),R.return=i,f.return=i,R.sibling=f,i.child=R,f=i.child,f.memoizedState=Gu(l),f.childLanes=qu(a,T,l),i.memoizedState=Xu,Ql(null,f)):(ei(i),Yu(i,R))}var G=a.memoizedState;if(G!==null&&(R=G.dehydrated,R!==null)){if(m)i.flags&256?(ei(i),i.flags&=-257,i=Ku(a,i,l)):i.memoizedState!==null?(ti(),i.child=a.child,i.flags|=128,i=null):(ti(),R=f.fallback,x=i.mode,f=Z0({mode:"visible",children:f.children},x),R=Li(R,x,l,null),R.flags|=2,f.return=i,R.return=i,f.sibling=R,i.child=f,Hi(i,a.child,null,l),f=i.child,f.memoizedState=Gu(l),f.childLanes=qu(a,T,l),i.memoizedState=Xu,i=Ql(null,f));else if(ei(i),Fh(R)){if(T=R.nextSibling&&R.nextSibling.dataset,T)var le=T.dgst;T=le,f=Error(n(419)),f.stack="",f.digest=T,zl({value:f,source:null,stack:null}),i=Ku(a,i,l)}else if(hr||Ns(a,i,l,!1),T=(l&a.childLanes)!==0,hr||T){if(T=Ut,T!==null&&(f=x0(T,l),f!==0&&f!==G.retryLane))throw G.retryLane=f,Mi(a,f),aa(T,a,f),Vu;Ch(R)||io(),i=Ku(a,i,l)}else Ch(R)?(i.flags|=192,i.child=a.child,i=null):(a=G.treeContext,Pt=Na(R.nextSibling),kr=i,gt=!0,Yn=null,Oa=!1,a!==null&&Rx(i,a),i=Yu(i,f.children),i.flags|=4096);return i}return x?(ti(),R=f.fallback,x=i.mode,G=a.child,le=G.sibling,f=Sn(G,{mode:"hidden",children:f.children}),f.subtreeFlags=G.subtreeFlags&65011712,le!==null?R=Sn(le,R):(R=Li(R,x,l,null),R.flags|=2),R.return=i,f.return=i,f.sibling=R,i.child=f,Ql(null,f),f=i.child,R=a.child.memoizedState,R===null?R=Gu(l):(x=R.cachePool,x!==null?(G=fr._currentValue,x=x.parent!==G?{parent:G,pool:G}:x):x=Bx(),R={baseLanes:R.baseLanes|l,cachePool:x}),f.memoizedState=R,f.childLanes=qu(a,T,l),i.memoizedState=Xu,Ql(a.child,f)):(ei(i),l=a.child,a=l.sibling,l=Sn(l,{mode:"visible",children:f.children}),l.return=i,l.sibling=null,a!==null&&(T=i.deletions,T===null?(i.deletions=[a],i.flags|=16):T.push(a)),i.child=l,i.memoizedState=null,l)}function Yu(a,i){return i=Z0({mode:"visible",children:i},a.mode),i.return=a,a.child=i}function Z0(a,i){return a=ua(22,a,null,i),a.lanes=0,a}function Ku(a,i,l){return Hi(i,a.child,null,l),a=Yu(i,i.pendingProps.children),a.flags|=2,i.memoizedState=null,a}function Kp(a,i,l){a.lanes|=i;var f=a.alternate;f!==null&&(f.lanes|=i),fu(a.return,i,l)}function Zu(a,i,l,f,x,m){var T=a.memoizedState;T===null?a.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:l,tailMode:x,treeForkCount:m}:(T.isBackwards=i,T.rendering=null,T.renderingStartTime=0,T.last=f,T.tail=l,T.tailMode=x,T.treeForkCount=m)}function Zp(a,i,l){var f=i.pendingProps,x=f.revealOrder,m=f.tail;f=f.children;var T=nr.current,R=(T&2)!==0;if(R?(T=T&1|2,i.flags|=128):T&=1,P(nr,T),Cr(a,i,f,l),f=gt?Il:0,!R&&a!==null&&(a.flags&128)!==0)e:for(a=i.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Kp(a,l,i);else if(a.tag===19)Kp(a,l,i);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(x){case"forwards":for(l=i.child,x=null;l!==null;)a=l.alternate,a!==null&&j0(a)===null&&(x=l),l=l.sibling;l=x,l===null?(x=i.child,i.child=null):(x=l.sibling,l.sibling=null),Zu(i,!1,x,l,m,f);break;case"backwards":case"unstable_legacy-backwards":for(l=null,x=i.child,i.child=null;x!==null;){if(a=x.alternate,a!==null&&j0(a)===null){i.child=x;break}a=x.sibling,x.sibling=l,l=x,x=a}Zu(i,!0,l,null,m,f);break;case"together":Zu(i,!1,null,null,void 0,f);break;default:i.memoizedState=null}return i.child}function An(a,i,l){if(a!==null&&(i.dependencies=a.dependencies),ni|=i.lanes,(l&i.childLanes)===0)if(a!==null){if(Ns(a,i,l,!1),(l&i.childLanes)===0)return null}else return null;if(a!==null&&i.child!==a.child)throw Error(n(153));if(i.child!==null){for(a=i.child,l=Sn(a,a.pendingProps),i.child=l,l.return=i;a.sibling!==null;)a=a.sibling,l=l.sibling=Sn(a,a.pendingProps),l.return=i;l.sibling=null}return i.child}function $u(a,i){return(a.lanes&i)!==0?!0:(a=a.dependencies,!!(a!==null&&R0(a)))}function V4(a,i,l){switch(i.tag){case 3:ge(i,i.stateNode.containerInfo),Zn(i,fr,a.memoizedState.cache),Bi();break;case 27:case 5:Ee(i);break;case 4:ge(i,i.stateNode.containerInfo);break;case 10:Zn(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Eu(i),null;break;case 13:var f=i.memoizedState;if(f!==null)return f.dehydrated!==null?(ei(i),i.flags|=128,null):(l&i.child.childLanes)!==0?Yp(a,i,l):(ei(i),a=An(a,i,l),a!==null?a.sibling:null);ei(i);break;case 19:var x=(a.flags&128)!==0;if(f=(l&i.childLanes)!==0,f||(Ns(a,i,l,!1),f=(l&i.childLanes)!==0),x){if(f)return Zp(a,i,l);i.flags|=128}if(x=i.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),P(nr,nr.current),f)break;return null;case 22:return i.lanes=0,Hp(a,i,l,i.pendingProps);case 24:Zn(i,fr,a.memoizedState.cache)}return An(a,i,l)}function $p(a,i,l){if(a!==null)if(a.memoizedProps!==i.pendingProps)hr=!0;else{if(!$u(a,l)&&(i.flags&128)===0)return hr=!1,V4(a,i,l);hr=(a.flags&131072)!==0}else hr=!1,gt&&(i.flags&1048576)!==0&&Fx(i,Il,i.index);switch(i.lanes=0,i.tag){case 16:e:{var f=i.pendingProps;if(a=zi(i.elementType),i.type=a,typeof a=="function")ru(a)?(f=Wi(a,f),i.tag=1,i=Gp(null,i,a,f,l)):(i.tag=0,i=Wu(null,i,a,f,l));else{if(a!=null){var x=a.$$typeof;if(x===U){i.tag=11,i=Ip(null,i,a,f,l);break e}else if(x===D){i.tag=14,i=zp(null,i,a,f,l);break e}}throw i=Ce(a)||a,Error(n(306,i,""))}}return i;case 0:return Wu(a,i,i.type,i.pendingProps,l);case 1:return f=i.type,x=Wi(f,i.pendingProps),Gp(a,i,f,x,l);case 3:e:{if(ge(i,i.stateNode.containerInfo),a===null)throw Error(n(387));f=i.pendingProps;var m=i.memoizedState;x=m.element,vu(a,i),ql(i,f,null,l);var T=i.memoizedState;if(f=T.cache,Zn(i,fr,f),f!==m.cache&&uu(i,[fr],l,!0),Gl(),f=T.element,m.isDehydrated)if(m={element:f,isDehydrated:!1,cache:T.cache},i.updateQueue.baseState=m,i.memoizedState=m,i.flags&256){i=qp(a,i,f,l);break e}else if(f!==x){x=Ca(Error(n(424)),i),zl(x),i=qp(a,i,f,l);break e}else{switch(a=i.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Pt=Na(a.firstChild),kr=i,gt=!0,Yn=null,Oa=!0,l=Hx(i,null,f,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Bi(),f===x){i=An(a,i,l);break e}Cr(a,i,f,l)}i=i.child}return i;case 26:return K0(a,i),a===null?(l=cv(i.type,null,i.pendingProps,null))?i.memoizedState=l:gt||(l=i.type,a=i.pendingProps,f=ho(Y.current).createElement(l),f[M]=i,f[B]=a,Fr(f,l,a),Ve(f),i.stateNode=f):i.memoizedState=cv(i.type,a.memoizedProps,i.pendingProps,a.memoizedState),null;case 27:return Ee(i),a===null&&gt&&(f=i.stateNode=iv(i.type,i.pendingProps,Y.current),kr=i,Oa=!0,x=Pt,oi(i.type)?(Rh=x,Pt=Na(f.firstChild)):Pt=x),Cr(a,i,i.pendingProps.children,l),K0(a,i),a===null&&(i.flags|=4194304),i.child;case 5:return a===null&&gt&&((x=f=Pt)&&(f=yE(f,i.type,i.pendingProps,Oa),f!==null?(i.stateNode=f,kr=i,Pt=Na(f.firstChild),Oa=!1,x=!0):x=!1),x||Kn(i)),Ee(i),x=i.type,m=i.pendingProps,T=a!==null?a.memoizedProps:null,f=m.children,bh(x,m)?f=null:T!==null&&bh(x,T)&&(i.flags|=32),i.memoizedState!==null&&(x=Tu(a,i,M4,null,null,l),dc._currentValue=x),K0(a,i),Cr(a,i,f,l),i.child;case 6:return a===null&&gt&&((a=l=Pt)&&(l=_E(l,i.pendingProps,Oa),l!==null?(i.stateNode=l,kr=i,Pt=null,a=!0):a=!1),a||Kn(i)),null;case 13:return Yp(a,i,l);case 4:return ge(i,i.stateNode.containerInfo),f=i.pendingProps,a===null?i.child=Hi(i,null,f,l):Cr(a,i,f,l),i.child;case 11:return Ip(a,i,i.type,i.pendingProps,l);case 7:return Cr(a,i,i.pendingProps,l),i.child;case 8:return Cr(a,i,i.pendingProps.children,l),i.child;case 12:return Cr(a,i,i.pendingProps.children,l),i.child;case 10:return f=i.pendingProps,Zn(i,i.type,f.value),Cr(a,i,f.children,l),i.child;case 9:return x=i.type._context,f=i.pendingProps.children,ji(i),x=Ar(x),f=f(x),i.flags|=1,Cr(a,i,f,l),i.child;case 14:return zp(a,i,i.type,i.pendingProps,l);case 15:return Pp(a,i,i.type,i.pendingProps,l);case 19:return Zp(a,i,l);case 31:return H4(a,i,l);case 22:return Hp(a,i,l,i.pendingProps);case 24:return ji(i),f=Ar(fr),a===null?(x=xu(),x===null&&(x=Ut,m=hu(),x.pooledCache=m,m.refCount++,m!==null&&(x.pooledCacheLanes|=l),x=m),i.memoizedState={parent:f,cache:x},mu(i),Zn(i,fr,x)):((a.lanes&l)!==0&&(vu(a,i),ql(i,null,null,l),Gl()),x=a.memoizedState,m=i.memoizedState,x.parent!==f?(x={parent:f,cache:f},i.memoizedState=x,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=x),Zn(i,fr,f)):(f=m.cache,Zn(i,fr,f),f!==x.cache&&uu(i,[fr],l,!0))),Cr(a,i,i.pendingProps.children,l),i.child;case 29:throw i.pendingProps}throw Error(n(156,i.tag))}function Cn(a){a.flags|=4}function Qu(a,i,l,f,x){if((i=(a.mode&32)!==0)&&(i=!1),i){if(a.flags|=16777216,(x&335544128)===x)if(a.stateNode.complete)a.flags|=8192;else if(Tm())a.flags|=8192;else throw Pi=M0,pu}else a.flags&=-16777217}function Qp(a,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!dv(i))if(Tm())a.flags|=8192;else throw Pi=M0,pu}function $0(a,i){i!==null&&(a.flags|=4),a.flags&16384&&(i=a.tag!==22?h0():536870912,a.lanes|=i,Xs|=i)}function Jl(a,i){if(!gt)switch(a.tailMode){case"hidden":i=a.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?a.tail=null:l.sibling=null;break;case"collapsed":l=a.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?i||a.tail===null?a.tail=null:a.tail.sibling=null:f.sibling=null}}function Ht(a){var i=a.alternate!==null&&a.alternate.child===a.child,l=0,f=0;if(i)for(var x=a.child;x!==null;)l|=x.lanes|x.childLanes,f|=x.subtreeFlags&65011712,f|=x.flags&65011712,x.return=a,x=x.sibling;else for(x=a.child;x!==null;)l|=x.lanes|x.childLanes,f|=x.subtreeFlags,f|=x.flags,x.return=a,x=x.sibling;return a.subtreeFlags|=f,a.childLanes=l,i}function W4(a,i,l){var f=i.pendingProps;switch(su(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(i),null;case 1:return Ht(i),null;case 3:return l=i.stateNode,f=null,a!==null&&(f=a.memoizedState.cache),i.memoizedState.cache!==f&&(i.flags|=2048),Tn(fr),pe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(a===null||a.child===null)&&(Ds(i)?Cn(i):a===null||a.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,cu())),Ht(i),null;case 26:var x=i.type,m=i.memoizedState;return a===null?(Cn(i),m!==null?(Ht(i),Qp(i,m)):(Ht(i),Qu(i,x,null,f,l))):m?m!==a.memoizedState?(Cn(i),Ht(i),Qp(i,m)):(Ht(i),i.flags&=-16777217):(a=a.memoizedProps,a!==f&&Cn(i),Ht(i),Qu(i,x,a,f,l)),null;case 27:if(He(i),l=Y.current,x=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==f&&Cn(i);else{if(!f){if(i.stateNode===null)throw Error(n(166));return Ht(i),null}a=L.current,Ds(i)?Ox(i):(a=iv(x,f,l),i.stateNode=a,Cn(i))}return Ht(i),null;case 5:if(He(i),x=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==f&&Cn(i);else{if(!f){if(i.stateNode===null)throw Error(n(166));return Ht(i),null}if(m=L.current,Ds(i))Ox(i);else{var T=ho(Y.current);switch(m){case 1:m=T.createElementNS("http://www.w3.org/2000/svg",x);break;case 2:m=T.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;default:switch(x){case"svg":m=T.createElementNS("http://www.w3.org/2000/svg",x);break;case"math":m=T.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;case"script":m=T.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof f.is=="string"?T.createElement("select",{is:f.is}):T.createElement("select"),f.multiple?m.multiple=!0:f.size&&(m.size=f.size);break;default:m=typeof f.is=="string"?T.createElement(x,{is:f.is}):T.createElement(x)}}m[M]=i,m[B]=f;e:for(T=i.child;T!==null;){if(T.tag===5||T.tag===6)m.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===i)break e;for(;T.sibling===null;){if(T.return===null||T.return===i)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}i.stateNode=m;e:switch(Fr(m,x,f),x){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&Cn(i)}}return Ht(i),Qu(i,i.type,a===null?null:a.memoizedProps,i.pendingProps,l),null;case 6:if(a&&i.stateNode!=null)a.memoizedProps!==f&&Cn(i);else{if(typeof f!="string"&&i.stateNode===null)throw Error(n(166));if(a=Y.current,Ds(i)){if(a=i.stateNode,l=i.memoizedProps,f=null,x=kr,x!==null)switch(x.tag){case 27:case 5:f=x.memoizedProps}a[M]=i,a=!!(a.nodeValue===l||f!==null&&f.suppressHydrationWarning===!0||Ym(a.nodeValue,l)),a||Kn(i,!0)}else a=ho(a).createTextNode(f),a[M]=i,i.stateNode=a}return Ht(i),null;case 31:if(l=i.memoizedState,a===null||a.memoizedState!==null){if(f=Ds(i),l!==null){if(a===null){if(!f)throw Error(n(318));if(a=i.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(557));a[M]=i}else Bi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ht(i),a=!1}else l=cu(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=l),a=!0;if(!a)return i.flags&256?(da(i),i):(da(i),null);if((i.flags&128)!==0)throw Error(n(558))}return Ht(i),null;case 13:if(f=i.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(x=Ds(i),f!==null&&f.dehydrated!==null){if(a===null){if(!x)throw Error(n(318));if(x=i.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(n(317));x[M]=i}else Bi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ht(i),x=!1}else x=cu(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=x),x=!0;if(!x)return i.flags&256?(da(i),i):(da(i),null)}return da(i),(i.flags&128)!==0?(i.lanes=l,i):(l=f!==null,a=a!==null&&a.memoizedState!==null,l&&(f=i.child,x=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(x=f.alternate.memoizedState.cachePool.pool),m=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(m=f.memoizedState.cachePool.pool),m!==x&&(f.flags|=2048)),l!==a&&l&&(i.child.flags|=8192),$0(i,i.updateQueue),Ht(i),null);case 4:return pe(),a===null&&_h(i.stateNode.containerInfo),Ht(i),null;case 10:return Tn(i.type),Ht(i),null;case 19:if(A(nr),f=i.memoizedState,f===null)return Ht(i),null;if(x=(i.flags&128)!==0,m=f.rendering,m===null)if(x)Jl(f,!1);else{if(er!==0||a!==null&&(a.flags&128)!==0)for(a=i.child;a!==null;){if(m=j0(a),m!==null){for(i.flags|=128,Jl(f,!1),a=m.updateQueue,i.updateQueue=a,$0(i,a),i.subtreeFlags=0,a=l,l=i.child;l!==null;)kx(l,a),l=l.sibling;return P(nr,nr.current&1|2),gt&&En(i,f.treeForkCount),i.child}a=a.sibling}f.tail!==null&&bt()>ro&&(i.flags|=128,x=!0,Jl(f,!1),i.lanes=4194304)}else{if(!x)if(a=j0(m),a!==null){if(i.flags|=128,x=!0,a=a.updateQueue,i.updateQueue=a,$0(i,a),Jl(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!gt)return Ht(i),null}else 2*bt()-f.renderingStartTime>ro&&l!==536870912&&(i.flags|=128,x=!0,Jl(f,!1),i.lanes=4194304);f.isBackwards?(m.sibling=i.child,i.child=m):(a=f.last,a!==null?a.sibling=m:i.child=m,f.last=m)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=bt(),a.sibling=null,l=nr.current,P(nr,x?l&1|2:l&1),gt&&En(i,f.treeForkCount),a):(Ht(i),null);case 22:case 23:return da(i),Su(),f=i.memoizedState!==null,a!==null?a.memoizedState!==null!==f&&(i.flags|=8192):f&&(i.flags|=8192),f?(l&536870912)!==0&&(i.flags&128)===0&&(Ht(i),i.subtreeFlags&6&&(i.flags|=8192)):Ht(i),l=i.updateQueue,l!==null&&$0(i,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==l&&(i.flags|=2048),a!==null&&A(Ii),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Tn(fr),Ht(i),null;case 25:return null;case 30:return null}throw Error(n(156,i.tag))}function X4(a,i){switch(su(i),i.tag){case 1:return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 3:return Tn(fr),pe(),a=i.flags,(a&65536)!==0&&(a&128)===0?(i.flags=a&-65537|128,i):null;case 26:case 27:case 5:return He(i),null;case 31:if(i.memoizedState!==null){if(da(i),i.alternate===null)throw Error(n(340));Bi()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 13:if(da(i),a=i.memoizedState,a!==null&&a.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Bi()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 19:return A(nr),null;case 4:return pe(),null;case 10:return Tn(i.type),null;case 22:case 23:return da(i),Su(),a!==null&&A(Ii),a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 24:return Tn(fr),null;case 25:return null;default:return null}}function Jp(a,i){switch(su(i),i.tag){case 3:Tn(fr),pe();break;case 26:case 27:case 5:He(i);break;case 4:pe();break;case 31:i.memoizedState!==null&&da(i);break;case 13:da(i);break;case 19:A(nr);break;case 10:Tn(i.type);break;case 22:case 23:da(i),Su(),a!==null&&A(Ii);break;case 24:Tn(fr)}}function ec(a,i){try{var l=i.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var x=f.next;l=x;do{if((l.tag&a)===a){f=void 0;var m=l.create,T=l.inst;f=m(),T.destroy=f}l=l.next}while(l!==x)}}catch(R){At(i,i.return,R)}}function ri(a,i,l){try{var f=i.updateQueue,x=f!==null?f.lastEffect:null;if(x!==null){var m=x.next;f=m;do{if((f.tag&a)===a){var T=f.inst,R=T.destroy;if(R!==void 0){T.destroy=void 0,x=i;var G=l,le=R;try{le()}catch(_e){At(x,G,_e)}}}f=f.next}while(f!==m)}}catch(_e){At(i,i.return,_e)}}function em(a){var i=a.updateQueue;if(i!==null){var l=a.stateNode;try{Wx(i,l)}catch(f){At(a,a.return,f)}}}function tm(a,i,l){l.props=Wi(a.type,a.memoizedProps),l.state=a.memoizedState;try{l.componentWillUnmount()}catch(f){At(a,i,f)}}function tc(a,i){try{var l=a.ref;if(l!==null){switch(a.tag){case 26:case 27:case 5:var f=a.stateNode;break;case 30:f=a.stateNode;break;default:f=a.stateNode}typeof l=="function"?a.refCleanup=l(f):l.current=f}}catch(x){At(a,i,x)}}function on(a,i){var l=a.ref,f=a.refCleanup;if(l!==null)if(typeof f=="function")try{f()}catch(x){At(a,i,x)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(x){At(a,i,x)}else l.current=null}function rm(a){var i=a.type,l=a.memoizedProps,f=a.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&f.focus();break e;case"img":l.src?f.src=l.src:l.srcSet&&(f.srcset=l.srcSet)}}catch(x){At(a,a.return,x)}}function Ju(a,i,l){try{var f=a.stateNode;dE(f,a.type,l,i),f[B]=i}catch(x){At(a,a.return,x)}}function am(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&oi(a.type)||a.tag===4}function eh(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||am(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&oi(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function th(a,i,l){var f=a.tag;if(f===5||f===6)a=a.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(a),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=yn));else if(f!==4&&(f===27&&oi(a.type)&&(l=a.stateNode,i=null),a=a.child,a!==null))for(th(a,i,l),a=a.sibling;a!==null;)th(a,i,l),a=a.sibling}function Q0(a,i,l){var f=a.tag;if(f===5||f===6)a=a.stateNode,i?l.insertBefore(a,i):l.appendChild(a);else if(f!==4&&(f===27&&oi(a.type)&&(l=a.stateNode),a=a.child,a!==null))for(Q0(a,i,l),a=a.sibling;a!==null;)Q0(a,i,l),a=a.sibling}function nm(a){var i=a.stateNode,l=a.memoizedProps;try{for(var f=a.type,x=i.attributes;x.length;)i.removeAttributeNode(x[0]);Fr(i,f,l),i[M]=a,i[B]=l}catch(m){At(a,a.return,m)}}var Fn=!1,dr=!1,rh=!1,im=typeof WeakSet=="function"?WeakSet:Set,Sr=null;function G4(a,i){if(a=a.containerInfo,wh=_o,a=vx(a),Kf(a)){if("selectionStart"in a)var l={start:a.selectionStart,end:a.selectionEnd};else e:{l=(l=a.ownerDocument)&&l.defaultView||window;var f=l.getSelection&&l.getSelection();if(f&&f.rangeCount!==0){l=f.anchorNode;var x=f.anchorOffset,m=f.focusNode;f=f.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var T=0,R=-1,G=-1,le=0,_e=0,Te=a,ue=null;t:for(;;){for(var xe;Te!==l||x!==0&&Te.nodeType!==3||(R=T+x),Te!==m||f!==0&&Te.nodeType!==3||(G=T+f),Te.nodeType===3&&(T+=Te.nodeValue.length),(xe=Te.firstChild)!==null;)ue=Te,Te=xe;for(;;){if(Te===a)break t;if(ue===l&&++le===x&&(R=T),ue===m&&++_e===f&&(G=T),(xe=Te.nextSibling)!==null)break;Te=ue,ue=Te.parentNode}Te=xe}l=R===-1||G===-1?null:{start:R,end:G}}else l=null}l=l||{start:0,end:0}}else l=null;for(Th={focusedElem:a,selectionRange:l},_o=!1,Sr=i;Sr!==null;)if(i=Sr,a=i.child,(i.subtreeFlags&1028)!==0&&a!==null)a.return=i,Sr=a;else for(;Sr!==null;){switch(i=Sr,m=i.alternate,a=i.flags,i.tag){case 0:if((a&4)!==0&&(a=i.updateQueue,a=a!==null?a.events:null,a!==null))for(l=0;l<a.length;l++)x=a[l],x.ref.impl=x.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&m!==null){a=void 0,l=i,x=m.memoizedProps,m=m.memoizedState,f=l.stateNode;try{var Pe=Wi(l.type,x);a=f.getSnapshotBeforeUpdate(Pe,m),f.__reactInternalSnapshotBeforeUpdate=a}catch(Ye){At(l,l.return,Ye)}}break;case 3:if((a&1024)!==0){if(a=i.stateNode.containerInfo,l=a.nodeType,l===9)Ah(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Ah(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(n(163))}if(a=i.sibling,a!==null){a.return=i.return,Sr=a;break}Sr=i.return}}function sm(a,i,l){var f=l.flags;switch(l.tag){case 0:case 11:case 15:On(a,l),f&4&&ec(5,l);break;case 1:if(On(a,l),f&4)if(a=l.stateNode,i===null)try{a.componentDidMount()}catch(T){At(l,l.return,T)}else{var x=Wi(l.type,i.memoizedProps);i=i.memoizedState;try{a.componentDidUpdate(x,i,a.__reactInternalSnapshotBeforeUpdate)}catch(T){At(l,l.return,T)}}f&64&&em(l),f&512&&tc(l,l.return);break;case 3:if(On(a,l),f&64&&(a=l.updateQueue,a!==null)){if(i=null,l.child!==null)switch(l.child.tag){case 27:case 5:i=l.child.stateNode;break;case 1:i=l.child.stateNode}try{Wx(a,i)}catch(T){At(l,l.return,T)}}break;case 27:i===null&&f&4&&nm(l);case 26:case 5:On(a,l),i===null&&f&4&&rm(l),f&512&&tc(l,l.return);break;case 12:On(a,l);break;case 31:On(a,l),f&4&&om(a,l);break;case 13:On(a,l),f&4&&fm(a,l),f&64&&(a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(l=tE.bind(null,l),SE(a,l))));break;case 22:if(f=l.memoizedState!==null||Fn,!f){i=i!==null&&i.memoizedState!==null||dr,x=Fn;var m=dr;Fn=f,(dr=i)&&!m?Dn(a,l,(l.subtreeFlags&8772)!==0):On(a,l),Fn=x,dr=m}break;case 30:break;default:On(a,l)}}function lm(a){var i=a.alternate;i!==null&&(a.alternate=null,lm(i)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(i=a.stateNode,i!==null&&Fe(i)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var qt=null,Jr=!1;function Rn(a,i,l){for(l=l.child;l!==null;)cm(a,i,l),l=l.sibling}function cm(a,i,l){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(lt,l)}catch{}switch(l.tag){case 26:dr||on(l,i),Rn(a,i,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:dr||on(l,i);var f=qt,x=Jr;oi(l.type)&&(qt=l.stateNode,Jr=!1),Rn(a,i,l),fc(l.stateNode),qt=f,Jr=x;break;case 5:dr||on(l,i);case 6:if(f=qt,x=Jr,qt=null,Rn(a,i,l),qt=f,Jr=x,qt!==null)if(Jr)try{(qt.nodeType===9?qt.body:qt.nodeName==="HTML"?qt.ownerDocument.body:qt).removeChild(l.stateNode)}catch(m){At(l,i,m)}else try{qt.removeChild(l.stateNode)}catch(m){At(l,i,m)}break;case 18:qt!==null&&(Jr?(a=qt,ev(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,l.stateNode),Js(a)):ev(qt,l.stateNode));break;case 4:f=qt,x=Jr,qt=l.stateNode.containerInfo,Jr=!0,Rn(a,i,l),qt=f,Jr=x;break;case 0:case 11:case 14:case 15:ri(2,l,i),dr||ri(4,l,i),Rn(a,i,l);break;case 1:dr||(on(l,i),f=l.stateNode,typeof f.componentWillUnmount=="function"&&tm(l,i,f)),Rn(a,i,l);break;case 21:Rn(a,i,l);break;case 22:dr=(f=dr)||l.memoizedState!==null,Rn(a,i,l),dr=f;break;default:Rn(a,i,l)}}function om(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Js(a)}catch(l){At(i,i.return,l)}}}function fm(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Js(a)}catch(l){At(i,i.return,l)}}function q4(a){switch(a.tag){case 31:case 13:case 19:var i=a.stateNode;return i===null&&(i=a.stateNode=new im),i;case 22:return a=a.stateNode,i=a._retryCache,i===null&&(i=a._retryCache=new im),i;default:throw Error(n(435,a.tag))}}function J0(a,i){var l=q4(a);i.forEach(function(f){if(!l.has(f)){l.add(f);var x=rE.bind(null,a,f);f.then(x,x)}})}function ea(a,i){var l=i.deletions;if(l!==null)for(var f=0;f<l.length;f++){var x=l[f],m=a,T=i,R=T;e:for(;R!==null;){switch(R.tag){case 27:if(oi(R.type)){qt=R.stateNode,Jr=!1;break e}break;case 5:qt=R.stateNode,Jr=!1;break e;case 3:case 4:qt=R.stateNode.containerInfo,Jr=!0;break e}R=R.return}if(qt===null)throw Error(n(160));cm(m,T,x),qt=null,Jr=!1,m=x.alternate,m!==null&&(m.return=null),x.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)um(i,a),i=i.sibling}var qa=null;function um(a,i){var l=a.alternate,f=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:ea(i,a),ta(a),f&4&&(ri(3,a,a.return),ec(3,a),ri(5,a,a.return));break;case 1:ea(i,a),ta(a),f&512&&(dr||l===null||on(l,l.return)),f&64&&Fn&&(a=a.updateQueue,a!==null&&(f=a.callbacks,f!==null&&(l=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=l===null?f:l.concat(f))));break;case 26:var x=qa;if(ea(i,a),ta(a),f&512&&(dr||l===null||on(l,l.return)),f&4){var m=l!==null?l.memoizedState:null;if(f=a.memoizedState,l===null)if(f===null)if(a.stateNode===null){e:{f=a.type,l=a.memoizedProps,x=x.ownerDocument||x;t:switch(f){case"title":m=x.getElementsByTagName("title")[0],(!m||m[he]||m[M]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=x.createElement(f),x.head.insertBefore(m,x.querySelector("head > title"))),Fr(m,f,l),m[M]=a,Ve(m),f=m;break e;case"link":var T=uv("link","href",x).get(f+(l.href||""));if(T){for(var R=0;R<T.length;R++)if(m=T[R],m.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&m.getAttribute("rel")===(l.rel==null?null:l.rel)&&m.getAttribute("title")===(l.title==null?null:l.title)&&m.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){T.splice(R,1);break t}}m=x.createElement(f),Fr(m,f,l),x.head.appendChild(m);break;case"meta":if(T=uv("meta","content",x).get(f+(l.content||""))){for(R=0;R<T.length;R++)if(m=T[R],m.getAttribute("content")===(l.content==null?null:""+l.content)&&m.getAttribute("name")===(l.name==null?null:l.name)&&m.getAttribute("property")===(l.property==null?null:l.property)&&m.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&m.getAttribute("charset")===(l.charSet==null?null:l.charSet)){T.splice(R,1);break t}}m=x.createElement(f),Fr(m,f,l),x.head.appendChild(m);break;default:throw Error(n(468,f))}m[M]=a,Ve(m),f=m}a.stateNode=f}else hv(x,a.type,a.stateNode);else a.stateNode=fv(x,f,a.memoizedProps);else m!==f?(m===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):m.count--,f===null?hv(x,a.type,a.stateNode):fv(x,f,a.memoizedProps)):f===null&&a.stateNode!==null&&Ju(a,a.memoizedProps,l.memoizedProps)}break;case 27:ea(i,a),ta(a),f&512&&(dr||l===null||on(l,l.return)),l!==null&&f&4&&Ju(a,a.memoizedProps,l.memoizedProps);break;case 5:if(ea(i,a),ta(a),f&512&&(dr||l===null||on(l,l.return)),a.flags&32){x=a.stateNode;try{Es(x,"")}catch(Pe){At(a,a.return,Pe)}}f&4&&a.stateNode!=null&&(x=a.memoizedProps,Ju(a,x,l!==null?l.memoizedProps:x)),f&1024&&(rh=!0);break;case 6:if(ea(i,a),ta(a),f&4){if(a.stateNode===null)throw Error(n(162));f=a.memoizedProps,l=a.stateNode;try{l.nodeValue=f}catch(Pe){At(a,a.return,Pe)}}break;case 3:if(mo=null,x=qa,qa=xo(i.containerInfo),ea(i,a),qa=x,ta(a),f&4&&l!==null&&l.memoizedState.isDehydrated)try{Js(i.containerInfo)}catch(Pe){At(a,a.return,Pe)}rh&&(rh=!1,hm(a));break;case 4:f=qa,qa=xo(a.stateNode.containerInfo),ea(i,a),ta(a),qa=f;break;case 12:ea(i,a),ta(a);break;case 31:ea(i,a),ta(a),f&4&&(f=a.updateQueue,f!==null&&(a.updateQueue=null,J0(a,f)));break;case 13:ea(i,a),ta(a),a.child.flags&8192&&a.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(to=bt()),f&4&&(f=a.updateQueue,f!==null&&(a.updateQueue=null,J0(a,f)));break;case 22:x=a.memoizedState!==null;var G=l!==null&&l.memoizedState!==null,le=Fn,_e=dr;if(Fn=le||x,dr=_e||G,ea(i,a),dr=_e,Fn=le,ta(a),f&8192)e:for(i=a.stateNode,i._visibility=x?i._visibility&-2:i._visibility|1,x&&(l===null||G||Fn||dr||Xi(a)),l=null,i=a;;){if(i.tag===5||i.tag===26){if(l===null){G=l=i;try{if(m=G.stateNode,x)T=m.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none";else{R=G.stateNode;var Te=G.memoizedProps.style,ue=Te!=null&&Te.hasOwnProperty("display")?Te.display:null;R.style.display=ue==null||typeof ue=="boolean"?"":(""+ue).trim()}}catch(Pe){At(G,G.return,Pe)}}}else if(i.tag===6){if(l===null){G=i;try{G.stateNode.nodeValue=x?"":G.memoizedProps}catch(Pe){At(G,G.return,Pe)}}}else if(i.tag===18){if(l===null){G=i;try{var xe=G.stateNode;x?tv(xe,!0):tv(G.stateNode,!1)}catch(Pe){At(G,G.return,Pe)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===a)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;l===i&&(l=null),i=i.return}l===i&&(l=null),i.sibling.return=i.return,i=i.sibling}f&4&&(f=a.updateQueue,f!==null&&(l=f.retryQueue,l!==null&&(f.retryQueue=null,J0(a,l))));break;case 19:ea(i,a),ta(a),f&4&&(f=a.updateQueue,f!==null&&(a.updateQueue=null,J0(a,f)));break;case 30:break;case 21:break;default:ea(i,a),ta(a)}}function ta(a){var i=a.flags;if(i&2){try{for(var l,f=a.return;f!==null;){if(am(f)){l=f;break}f=f.return}if(l==null)throw Error(n(160));switch(l.tag){case 27:var x=l.stateNode,m=eh(a);Q0(a,m,x);break;case 5:var T=l.stateNode;l.flags&32&&(Es(T,""),l.flags&=-33);var R=eh(a);Q0(a,R,T);break;case 3:case 4:var G=l.stateNode.containerInfo,le=eh(a);th(a,le,G);break;default:throw Error(n(161))}}catch(_e){At(a,a.return,_e)}a.flags&=-3}i&4096&&(a.flags&=-4097)}function hm(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var i=a;hm(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),a=a.sibling}}function On(a,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)sm(a,i.alternate,i),i=i.sibling}function Xi(a){for(a=a.child;a!==null;){var i=a;switch(i.tag){case 0:case 11:case 14:case 15:ri(4,i,i.return),Xi(i);break;case 1:on(i,i.return);var l=i.stateNode;typeof l.componentWillUnmount=="function"&&tm(i,i.return,l),Xi(i);break;case 27:fc(i.stateNode);case 26:case 5:on(i,i.return),Xi(i);break;case 22:i.memoizedState===null&&Xi(i);break;case 30:Xi(i);break;default:Xi(i)}a=a.sibling}}function Dn(a,i,l){for(l=l&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var f=i.alternate,x=a,m=i,T=m.flags;switch(m.tag){case 0:case 11:case 15:Dn(x,m,l),ec(4,m);break;case 1:if(Dn(x,m,l),f=m,x=f.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(le){At(f,f.return,le)}if(f=m,x=f.updateQueue,x!==null){var R=f.stateNode;try{var G=x.shared.hiddenCallbacks;if(G!==null)for(x.shared.hiddenCallbacks=null,x=0;x<G.length;x++)Vx(G[x],R)}catch(le){At(f,f.return,le)}}l&&T&64&&em(m),tc(m,m.return);break;case 27:nm(m);case 26:case 5:Dn(x,m,l),l&&f===null&&T&4&&rm(m),tc(m,m.return);break;case 12:Dn(x,m,l);break;case 31:Dn(x,m,l),l&&T&4&&om(x,m);break;case 13:Dn(x,m,l),l&&T&4&&fm(x,m);break;case 22:m.memoizedState===null&&Dn(x,m,l),tc(m,m.return);break;case 30:break;default:Dn(x,m,l)}i=i.sibling}}function ah(a,i){var l=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),a=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(a=i.memoizedState.cachePool.pool),a!==l&&(a!=null&&a.refCount++,l!=null&&Pl(l))}function nh(a,i){a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Pl(a))}function Ya(a,i,l,f){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)dm(a,i,l,f),i=i.sibling}function dm(a,i,l,f){var x=i.flags;switch(i.tag){case 0:case 11:case 15:Ya(a,i,l,f),x&2048&&ec(9,i);break;case 1:Ya(a,i,l,f);break;case 3:Ya(a,i,l,f),x&2048&&(a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Pl(a)));break;case 12:if(x&2048){Ya(a,i,l,f),a=i.stateNode;try{var m=i.memoizedProps,T=m.id,R=m.onPostCommit;typeof R=="function"&&R(T,i.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(G){At(i,i.return,G)}}else Ya(a,i,l,f);break;case 31:Ya(a,i,l,f);break;case 13:Ya(a,i,l,f);break;case 23:break;case 22:m=i.stateNode,T=i.alternate,i.memoizedState!==null?m._visibility&2?Ya(a,i,l,f):rc(a,i):m._visibility&2?Ya(a,i,l,f):(m._visibility|=2,Hs(a,i,l,f,(i.subtreeFlags&10256)!==0||!1)),x&2048&&ah(T,i);break;case 24:Ya(a,i,l,f),x&2048&&nh(i.alternate,i);break;default:Ya(a,i,l,f)}}function Hs(a,i,l,f,x){for(x=x&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var m=a,T=i,R=l,G=f,le=T.flags;switch(T.tag){case 0:case 11:case 15:Hs(m,T,R,G,x),ec(8,T);break;case 23:break;case 22:var _e=T.stateNode;T.memoizedState!==null?_e._visibility&2?Hs(m,T,R,G,x):rc(m,T):(_e._visibility|=2,Hs(m,T,R,G,x)),x&&le&2048&&ah(T.alternate,T);break;case 24:Hs(m,T,R,G,x),x&&le&2048&&nh(T.alternate,T);break;default:Hs(m,T,R,G,x)}i=i.sibling}}function rc(a,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var l=a,f=i,x=f.flags;switch(f.tag){case 22:rc(l,f),x&2048&&ah(f.alternate,f);break;case 24:rc(l,f),x&2048&&nh(f.alternate,f);break;default:rc(l,f)}i=i.sibling}}var ac=8192;function Vs(a,i,l){if(a.subtreeFlags&ac)for(a=a.child;a!==null;)xm(a,i,l),a=a.sibling}function xm(a,i,l){switch(a.tag){case 26:Vs(a,i,l),a.flags&ac&&a.memoizedState!==null&&NE(l,qa,a.memoizedState,a.memoizedProps);break;case 5:Vs(a,i,l);break;case 3:case 4:var f=qa;qa=xo(a.stateNode.containerInfo),Vs(a,i,l),qa=f;break;case 22:a.memoizedState===null&&(f=a.alternate,f!==null&&f.memoizedState!==null?(f=ac,ac=16777216,Vs(a,i,l),ac=f):Vs(a,i,l));break;default:Vs(a,i,l)}}function pm(a){var i=a.alternate;if(i!==null&&(a=i.child,a!==null)){i.child=null;do i=a.sibling,a.sibling=null,a=i;while(a!==null)}}function nc(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var f=i[l];Sr=f,vm(f,a)}pm(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)mm(a),a=a.sibling}function mm(a){switch(a.tag){case 0:case 11:case 15:nc(a),a.flags&2048&&ri(9,a,a.return);break;case 3:nc(a);break;case 12:nc(a);break;case 22:var i=a.stateNode;a.memoizedState!==null&&i._visibility&2&&(a.return===null||a.return.tag!==13)?(i._visibility&=-3,eo(a)):nc(a);break;default:nc(a)}}function eo(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var f=i[l];Sr=f,vm(f,a)}pm(a)}for(a=a.child;a!==null;){switch(i=a,i.tag){case 0:case 11:case 15:ri(8,i,i.return),eo(i);break;case 22:l=i.stateNode,l._visibility&2&&(l._visibility&=-3,eo(i));break;default:eo(i)}a=a.sibling}}function vm(a,i){for(;Sr!==null;){var l=Sr;switch(l.tag){case 0:case 11:case 15:ri(8,l,i);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var f=l.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Pl(l.memoizedState.cache)}if(f=l.child,f!==null)f.return=l,Sr=f;else e:for(l=a;Sr!==null;){f=Sr;var x=f.sibling,m=f.return;if(lm(f),f===l){Sr=null;break e}if(x!==null){x.return=m,Sr=x;break e}Sr=m}}}var Y4={getCacheForType:function(a){var i=Ar(fr),l=i.data.get(a);return l===void 0&&(l=a(),i.data.set(a,l)),l},cacheSignal:function(){return Ar(fr).controller.signal}},K4=typeof WeakMap=="function"?WeakMap:Map,Tt=0,Ut=null,ht=null,pt=0,kt=0,xa=null,ai=!1,Ws=!1,ih=!1,Nn=0,er=0,ni=0,Gi=0,sh=0,pa=0,Xs=0,ic=null,ra=null,lh=!1,to=0,gm=0,ro=1/0,ao=null,ii=null,vr=0,si=null,Gs=null,Mn=0,ch=0,oh=null,ym=null,sc=0,fh=null;function ma(){return(Tt&2)!==0&&pt!==0?pt&-pt:Z.T!==null?mh():C()}function _m(){if(pa===0)if((pt&536870912)===0||gt){var a=vs;vs<<=1,(vs&3932160)===0&&(vs=262144),pa=a}else pa=536870912;return a=ha.current,a!==null&&(a.flags|=32),pa}function aa(a,i,l){(a===Ut&&(kt===2||kt===9)||a.cancelPendingCommit!==null)&&(qs(a,0),li(a,pt,pa,!1)),Fi(a,l),((Tt&2)===0||a!==Ut)&&(a===Ut&&((Tt&2)===0&&(Gi|=l),er===4&&li(a,pt,pa,!1)),fn(a))}function Sm(a,i,l){if((Tt&6)!==0)throw Error(n(327));var f=!l&&(i&127)===0&&(i&a.expiredLanes)===0||Ci(a,i),x=f?Q4(a,i):hh(a,i,!0),m=f;do{if(x===0){Ws&&!f&&li(a,i,0,!1);break}else{if(l=a.current.alternate,m&&!Z4(l)){x=hh(a,i,!1),m=!1;continue}if(x===2){if(m=i,a.errorRecoveryDisabledLanes&m)var T=0;else T=a.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){i=T;e:{var R=a;x=ic;var G=R.current.memoizedState.isDehydrated;if(G&&(qs(R,T).flags|=256),T=hh(R,T,!1),T!==2){if(ih&&!G){R.errorRecoveryDisabledLanes|=m,Gi|=m,x=4;break e}m=ra,ra=x,m!==null&&(ra===null?ra=m:ra.push.apply(ra,m))}x=T}if(m=!1,x!==2)continue}}if(x===1){qs(a,0),li(a,i,0,!0);break}e:{switch(f=a,m=x,m){case 0:case 1:throw Error(n(345));case 4:if((i&4194048)!==i)break;case 6:li(f,i,pa,!ai);break e;case 2:ra=null;break;case 3:case 5:break;default:throw Error(n(329))}if((i&62914560)===i&&(x=to+300-bt(),10<x)){if(li(f,i,pa,!ai),ys(f,0,!0)!==0)break e;Mn=i,f.timeoutHandle=Qm(Em.bind(null,f,l,ra,ao,lh,i,pa,Gi,Xs,ai,m,"Throttled",-0,0),x);break e}Em(f,l,ra,ao,lh,i,pa,Gi,Xs,ai,m,null,-0,0)}}break}while(!0);fn(a)}function Em(a,i,l,f,x,m,T,R,G,le,_e,Te,ue,xe){if(a.timeoutHandle=-1,Te=i.subtreeFlags,Te&8192||(Te&16785408)===16785408){Te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yn},xm(i,m,Te);var Pe=(m&62914560)===m?to-bt():(m&4194048)===m?gm-bt():0;if(Pe=ME(Te,Pe),Pe!==null){Mn=m,a.cancelPendingCommit=Pe(Rm.bind(null,a,i,m,l,f,x,T,R,G,_e,Te,null,ue,xe)),li(a,m,T,!le);return}}Rm(a,i,m,l,f,x,T,R,G)}function Z4(a){for(var i=a;;){var l=i.tag;if((l===0||l===11||l===15)&&i.flags&16384&&(l=i.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var f=0;f<l.length;f++){var x=l[f],m=x.getSnapshot;x=x.value;try{if(!fa(m(),x))return!1}catch{return!1}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;else{if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function li(a,i,l,f){i&=~sh,i&=~Gi,a.suspendedLanes|=i,a.pingedLanes&=~i,f&&(a.warmLanes|=i),f=a.expirationTimes;for(var x=i;0<x;){var m=31-_r(x),T=1<<m;f[m]=-1,x&=~T}l!==0&&d0(a,l,i)}function no(){return(Tt&6)===0?(lc(0),!1):!0}function uh(){if(ht!==null){if(kt===0)var a=ht.return;else a=ht,wn=Ui=null,Au(a),Us=null,Vl=0,a=ht;for(;a!==null;)Jp(a.alternate,a),a=a.return;ht=null}}function qs(a,i){var l=a.timeoutHandle;l!==-1&&(a.timeoutHandle=-1,mE(l)),l=a.cancelPendingCommit,l!==null&&(a.cancelPendingCommit=null,l()),Mn=0,uh(),Ut=a,ht=l=Sn(a.current,null),pt=i,kt=0,xa=null,ai=!1,Ws=Ci(a,i),ih=!1,Xs=pa=sh=Gi=ni=er=0,ra=ic=null,lh=!1,(i&8)!==0&&(i|=i&32);var f=a.entangledLanes;if(f!==0)for(a=a.entanglements,f&=i;0<f;){var x=31-_r(f),m=1<<x;i|=a[x],f&=~m}return Nn=i,b0(),l}function wm(a,i){rt=null,Z.H=$l,i===Bs||i===N0?(i=Ix(),kt=3):i===pu?(i=Ix(),kt=4):kt=i===Vu?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,xa=i,ht===null&&(er=1,q0(a,Ca(i,a.current)))}function Tm(){var a=ha.current;return a===null?!0:(pt&4194048)===pt?Da===null:(pt&62914560)===pt||(pt&536870912)!==0?a===Da:!1}function bm(){var a=Z.H;return Z.H=$l,a===null?$l:a}function km(){var a=Z.A;return Z.A=Y4,a}function io(){er=4,ai||(pt&4194048)!==pt&&ha.current!==null||(Ws=!0),(ni&134217727)===0&&(Gi&134217727)===0||Ut===null||li(Ut,pt,pa,!1)}function hh(a,i,l){var f=Tt;Tt|=2;var x=bm(),m=km();(Ut!==a||pt!==i)&&(ao=null,qs(a,i)),i=!1;var T=er;e:do try{if(kt!==0&&ht!==null){var R=ht,G=xa;switch(kt){case 8:uh(),T=6;break e;case 3:case 2:case 9:case 6:ha.current===null&&(i=!0);var le=kt;if(kt=0,xa=null,Ys(a,R,G,le),l&&Ws){T=0;break e}break;default:le=kt,kt=0,xa=null,Ys(a,R,G,le)}}$4(),T=er;break}catch(_e){wm(a,_e)}while(!0);return i&&a.shellSuspendCounter++,wn=Ui=null,Tt=f,Z.H=x,Z.A=m,ht===null&&(Ut=null,pt=0,b0()),T}function $4(){for(;ht!==null;)Am(ht)}function Q4(a,i){var l=Tt;Tt|=2;var f=bm(),x=km();Ut!==a||pt!==i?(ao=null,ro=bt()+500,qs(a,i)):Ws=Ci(a,i);e:do try{if(kt!==0&&ht!==null){i=ht;var m=xa;t:switch(kt){case 1:kt=0,xa=null,Ys(a,i,m,1);break;case 2:case 9:if(Ux(m)){kt=0,xa=null,Cm(i);break}i=function(){kt!==2&&kt!==9||Ut!==a||(kt=7),fn(a)},m.then(i,i);break e;case 3:kt=7;break e;case 4:kt=5;break e;case 7:Ux(m)?(kt=0,xa=null,Cm(i)):(kt=0,xa=null,Ys(a,i,m,7));break;case 5:var T=null;switch(ht.tag){case 26:T=ht.memoizedState;case 5:case 27:var R=ht;if(T?dv(T):R.stateNode.complete){kt=0,xa=null;var G=R.sibling;if(G!==null)ht=G;else{var le=R.return;le!==null?(ht=le,so(le)):ht=null}break t}}kt=0,xa=null,Ys(a,i,m,5);break;case 6:kt=0,xa=null,Ys(a,i,m,6);break;case 8:uh(),er=6;break e;default:throw Error(n(462))}}J4();break}catch(_e){wm(a,_e)}while(!0);return wn=Ui=null,Z.H=f,Z.A=x,Tt=l,ht!==null?0:(Ut=null,pt=0,b0(),er)}function J4(){for(;ht!==null&&!Lr();)Am(ht)}function Am(a){var i=$p(a.alternate,a,Nn);a.memoizedProps=a.pendingProps,i===null?so(a):ht=i}function Cm(a){var i=a,l=i.alternate;switch(i.tag){case 15:case 0:i=Xp(l,i,i.pendingProps,i.type,void 0,pt);break;case 11:i=Xp(l,i,i.pendingProps,i.type.render,i.ref,pt);break;case 5:Au(i);default:Jp(l,i),i=ht=kx(i,Nn),i=$p(l,i,Nn)}a.memoizedProps=a.pendingProps,i===null?so(a):ht=i}function Ys(a,i,l,f){wn=Ui=null,Au(i),Us=null,Vl=0;var x=i.return;try{if(P4(a,x,i,l,pt)){er=1,q0(a,Ca(l,a.current)),ht=null;return}}catch(m){if(x!==null)throw ht=x,m;er=1,q0(a,Ca(l,a.current)),ht=null;return}i.flags&32768?(gt||f===1?a=!0:Ws||(pt&536870912)!==0?a=!1:(ai=a=!0,(f===2||f===9||f===3||f===6)&&(f=ha.current,f!==null&&f.tag===13&&(f.flags|=16384))),Fm(i,a)):so(i)}function so(a){var i=a;do{if((i.flags&32768)!==0){Fm(i,ai);return}a=i.return;var l=W4(i.alternate,i,Nn);if(l!==null){ht=l;return}if(i=i.sibling,i!==null){ht=i;return}ht=i=a}while(i!==null);er===0&&(er=5)}function Fm(a,i){do{var l=X4(a.alternate,a);if(l!==null){l.flags&=32767,ht=l;return}if(l=a.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!i&&(a=a.sibling,a!==null)){ht=a;return}ht=a=l}while(a!==null);er=6,ht=null}function Rm(a,i,l,f,x,m,T,R,G){a.cancelPendingCommit=null;do lo();while(vr!==0);if((Tt&6)!==0)throw Error(n(327));if(i!==null){if(i===a.current)throw Error(n(177));if(m=i.lanes|i.childLanes,m|=eu,Df(a,l,m,T,R,G),a===Ut&&(ht=Ut=null,pt=0),Gs=i,si=a,Mn=l,ch=m,oh=x,ym=f,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,aE(Je,function(){return Lm(),null})):(a.callbackNode=null,a.callbackPriority=0),f=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||f){f=Z.T,Z.T=null,x=ie.p,ie.p=2,T=Tt,Tt|=4;try{G4(a,i,l)}finally{Tt=T,ie.p=x,Z.T=f}}vr=1,Om(),Dm(),Nm()}}function Om(){if(vr===1){vr=0;var a=si,i=Gs,l=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||l){l=Z.T,Z.T=null;var f=ie.p;ie.p=2;var x=Tt;Tt|=4;try{um(i,a);var m=Th,T=vx(a.containerInfo),R=m.focusedElem,G=m.selectionRange;if(T!==R&&R&&R.ownerDocument&&mx(R.ownerDocument.documentElement,R)){if(G!==null&&Kf(R)){var le=G.start,_e=G.end;if(_e===void 0&&(_e=le),"selectionStart"in R)R.selectionStart=le,R.selectionEnd=Math.min(_e,R.value.length);else{var Te=R.ownerDocument||document,ue=Te&&Te.defaultView||window;if(ue.getSelection){var xe=ue.getSelection(),Pe=R.textContent.length,Ye=Math.min(G.start,Pe),Mt=G.end===void 0?Ye:Math.min(G.end,Pe);!xe.extend&&Ye>Mt&&(T=Mt,Mt=Ye,Ye=T);var ae=px(R,Ye),J=px(R,Mt);if(ae&&J&&(xe.rangeCount!==1||xe.anchorNode!==ae.node||xe.anchorOffset!==ae.offset||xe.focusNode!==J.node||xe.focusOffset!==J.offset)){var se=Te.createRange();se.setStart(ae.node,ae.offset),xe.removeAllRanges(),Ye>Mt?(xe.addRange(se),xe.extend(J.node,J.offset)):(se.setEnd(J.node,J.offset),xe.addRange(se))}}}}for(Te=[],xe=R;xe=xe.parentNode;)xe.nodeType===1&&Te.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<Te.length;R++){var we=Te[R];we.element.scrollLeft=we.left,we.element.scrollTop=we.top}}_o=!!wh,Th=wh=null}finally{Tt=x,ie.p=f,Z.T=l}}a.current=i,vr=2}}function Dm(){if(vr===2){vr=0;var a=si,i=Gs,l=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||l){l=Z.T,Z.T=null;var f=ie.p;ie.p=2;var x=Tt;Tt|=4;try{sm(a,i.alternate,i)}finally{Tt=x,ie.p=f,Z.T=l}}vr=3}}function Nm(){if(vr===4||vr===3){vr=0,ca();var a=si,i=Gs,l=Mn,f=ym;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?vr=5:(vr=0,Gs=si=null,Mm(a,a.pendingLanes));var x=a.pendingLanes;if(x===0&&(ii=null),Cl(l),i=i.stateNode,zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(lt,i,void 0,(i.current.flags&128)===128)}catch{}if(f!==null){i=Z.T,x=ie.p,ie.p=2,Z.T=null;try{for(var m=a.onRecoverableError,T=0;T<f.length;T++){var R=f[T];m(R.value,{componentStack:R.stack})}}finally{Z.T=i,ie.p=x}}(Mn&3)!==0&&lo(),fn(a),x=a.pendingLanes,(l&261930)!==0&&(x&42)!==0?a===fh?sc++:(sc=0,fh=a):sc=0,lc(0)}}function Mm(a,i){(a.pooledCacheLanes&=i)===0&&(i=a.pooledCache,i!=null&&(a.pooledCache=null,Pl(i)))}function lo(){return Om(),Dm(),Nm(),Lm()}function Lm(){if(vr!==5)return!1;var a=si,i=ch;ch=0;var l=Cl(Mn),f=Z.T,x=ie.p;try{ie.p=32>l?32:l,Z.T=null,l=oh,oh=null;var m=si,T=Mn;if(vr=0,Gs=si=null,Mn=0,(Tt&6)!==0)throw Error(n(331));var R=Tt;if(Tt|=4,mm(m.current),dm(m,m.current,T,l),Tt=R,lc(0,!1),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(lt,m)}catch{}return!0}finally{ie.p=x,Z.T=f,Mm(a,i)}}function Bm(a,i,l){i=Ca(l,i),i=Hu(a.stateNode,i,2),a=Jn(a,i,2),a!==null&&(Fi(a,2),fn(a))}function At(a,i,l){if(a.tag===3)Bm(a,a,l);else for(;i!==null;){if(i.tag===3){Bm(i,a,l);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(ii===null||!ii.has(f))){a=Ca(l,a),l=Up(2),f=Jn(i,l,2),f!==null&&(jp(l,f,i,a),Fi(f,2),fn(f));break}}i=i.return}}function dh(a,i,l){var f=a.pingCache;if(f===null){f=a.pingCache=new K4;var x=new Set;f.set(i,x)}else x=f.get(i),x===void 0&&(x=new Set,f.set(i,x));x.has(l)||(ih=!0,x.add(l),a=eE.bind(null,a,i,l),i.then(a,a))}function eE(a,i,l){var f=a.pingCache;f!==null&&f.delete(i),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,Ut===a&&(pt&l)===l&&(er===4||er===3&&(pt&62914560)===pt&&300>bt()-to?(Tt&2)===0&&qs(a,0):sh|=l,Xs===pt&&(Xs=0)),fn(a)}function Um(a,i){i===0&&(i=h0()),a=Mi(a,i),a!==null&&(Fi(a,i),fn(a))}function tE(a){var i=a.memoizedState,l=0;i!==null&&(l=i.retryLane),Um(a,l)}function rE(a,i){var l=0;switch(a.tag){case 31:case 13:var f=a.stateNode,x=a.memoizedState;x!==null&&(l=x.retryLane);break;case 19:f=a.stateNode;break;case 22:f=a.stateNode._retryCache;break;default:throw Error(n(314))}f!==null&&f.delete(i),Um(a,l)}function aE(a,i){return Qt(a,i)}var co=null,Ks=null,xh=!1,oo=!1,ph=!1,ci=0;function fn(a){a!==Ks&&a.next===null&&(Ks===null?co=Ks=a:Ks=Ks.next=a),oo=!0,xh||(xh=!0,iE())}function lc(a,i){if(!ph&&oo){ph=!0;do for(var l=!1,f=co;f!==null;){if(a!==0){var x=f.pendingLanes;if(x===0)var m=0;else{var T=f.suspendedLanes,R=f.pingedLanes;m=(1<<31-_r(42|a)+1)-1,m&=x&~(T&~R),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(l=!0,Pm(f,m))}else m=pt,m=ys(f,f===Ut?m:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(m&3)===0||Ci(f,m)||(l=!0,Pm(f,m));f=f.next}while(l);ph=!1}}function nE(){jm()}function jm(){oo=xh=!1;var a=0;ci!==0&&pE()&&(a=ci);for(var i=bt(),l=null,f=co;f!==null;){var x=f.next,m=Im(f,i);m===0?(f.next=null,l===null?co=x:l.next=x,x===null&&(Ks=l)):(l=f,(a!==0||(m&3)!==0)&&(oo=!0)),f=x}vr!==0&&vr!==5||lc(a),ci!==0&&(ci=0)}function Im(a,i){for(var l=a.suspendedLanes,f=a.pingedLanes,x=a.expirationTimes,m=a.pendingLanes&-62914561;0<m;){var T=31-_r(m),R=1<<T,G=x[T];G===-1?((R&l)===0||(R&f)!==0)&&(x[T]=Of(R,i)):G<=i&&(a.expiredLanes|=R),m&=~R}if(i=Ut,l=pt,l=ys(a,a===i?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),f=a.callbackNode,l===0||a===i&&(kt===2||kt===9)||a.cancelPendingCommit!==null)return f!==null&&f!==null&&br(f),a.callbackNode=null,a.callbackPriority=0;if((l&3)===0||Ci(a,l)){if(i=l&-l,i===a.callbackPriority)return i;switch(f!==null&&br(f),Cl(l)){case 2:case 8:l=Ze;break;case 32:l=Je;break;case 268435456:l=ze;break;default:l=Je}return f=zm.bind(null,a),l=Qt(l,f),a.callbackPriority=i,a.callbackNode=l,i}return f!==null&&f!==null&&br(f),a.callbackPriority=2,a.callbackNode=null,2}function zm(a,i){if(vr!==0&&vr!==5)return a.callbackNode=null,a.callbackPriority=0,null;var l=a.callbackNode;if(lo()&&a.callbackNode!==l)return null;var f=pt;return f=ys(a,a===Ut?f:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),f===0?null:(Sm(a,f,i),Im(a,bt()),a.callbackNode!=null&&a.callbackNode===l?zm.bind(null,a):null)}function Pm(a,i){if(lo())return null;Sm(a,i,!0)}function iE(){vE(function(){(Tt&6)!==0?Qt(be,nE):jm()})}function mh(){if(ci===0){var a=Ms;a===0&&(a=Ai,Ai<<=1,(Ai&261888)===0&&(Ai=256)),ci=a}return ci}function Hm(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:v0(""+a)}function Vm(a,i){var l=i.ownerDocument.createElement("input");return l.name=i.name,l.value=i.value,a.id&&l.setAttribute("form",a.id),i.parentNode.insertBefore(l,i),a=new FormData(a),l.parentNode.removeChild(l),a}function sE(a,i,l,f,x){if(i==="submit"&&l&&l.stateNode===x){var m=Hm((x[B]||null).action),T=f.submitter;T&&(i=(i=T[B]||null)?Hm(i.formAction):T.getAttribute("formAction"),i!==null&&(m=i,T=null));var R=new S0("action","action",null,f,x);a.push({event:R,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(ci!==0){var G=T?Vm(x,T):new FormData(x);Bu(l,{pending:!0,data:G,method:x.method,action:m},null,G)}}else typeof m=="function"&&(R.preventDefault(),G=T?Vm(x,T):new FormData(x),Bu(l,{pending:!0,data:G,method:x.method,action:m},m,G))},currentTarget:x}]})}}for(var vh=0;vh<Jf.length;vh++){var gh=Jf[vh],lE=gh.toLowerCase(),cE=gh[0].toUpperCase()+gh.slice(1);Ga(lE,"on"+cE)}Ga(_x,"onAnimationEnd"),Ga(Sx,"onAnimationIteration"),Ga(Ex,"onAnimationStart"),Ga("dblclick","onDoubleClick"),Ga("focusin","onFocus"),Ga("focusout","onBlur"),Ga(T4,"onTransitionRun"),Ga(b4,"onTransitionStart"),Ga(k4,"onTransitionCancel"),Ga(wx,"onTransitionEnd"),Ta("onMouseEnter",["mouseout","mouseover"]),Ta("onMouseLeave",["mouseout","mouseover"]),Ta("onPointerEnter",["pointerout","pointerover"]),Ta("onPointerLeave",["pointerout","pointerover"]),Gt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Gt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Gt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cc));function Wm(a,i){i=(i&4)!==0;for(var l=0;l<a.length;l++){var f=a[l],x=f.event;f=f.listeners;e:{var m=void 0;if(i)for(var T=f.length-1;0<=T;T--){var R=f[T],G=R.instance,le=R.currentTarget;if(R=R.listener,G!==m&&x.isPropagationStopped())break e;m=R,x.currentTarget=le;try{m(x)}catch(_e){T0(_e)}x.currentTarget=null,m=G}else for(T=0;T<f.length;T++){if(R=f[T],G=R.instance,le=R.currentTarget,R=R.listener,G!==m&&x.isPropagationStopped())break e;m=R,x.currentTarget=le;try{m(x)}catch(_e){T0(_e)}x.currentTarget=null,m=G}}}}function dt(a,i){var l=i[ce];l===void 0&&(l=i[ce]=new Set);var f=a+"__bubble";l.has(f)||(Xm(i,a,2,!1),l.add(f))}function yh(a,i,l){var f=0;i&&(f|=4),Xm(l,a,f,i)}var fo="_reactListening"+Math.random().toString(36).slice(2);function _h(a){if(!a[fo]){a[fo]=!0,jt.forEach(function(l){l!=="selectionchange"&&(oE.has(l)||yh(l,!1,a),yh(l,!0,a))});var i=a.nodeType===9?a:a.ownerDocument;i===null||i[fo]||(i[fo]=!0,yh("selectionchange",!1,i))}}function Xm(a,i,l,f){switch(_v(i)){case 2:var x=UE;break;case 8:x=jE;break;default:x=Lh}l=x.bind(null,i,l,a),x=void 0,!zf||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(x=!0),f?x!==void 0?a.addEventListener(i,l,{capture:!0,passive:x}):a.addEventListener(i,l,!0):x!==void 0?a.addEventListener(i,l,{passive:x}):a.addEventListener(i,l,!1)}function Sh(a,i,l,f,x){var m=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var T=f.tag;if(T===3||T===4){var R=f.stateNode.containerInfo;if(R===x)break;if(T===4)for(T=f.return;T!==null;){var G=T.tag;if((G===3||G===4)&&T.stateNode.containerInfo===x)return;T=T.return}for(;R!==null;){if(T=Me(R),T===null)return;if(G=T.tag,G===5||G===6||G===26||G===27){f=m=T;continue e}R=R.parentNode}}f=f.return}Z1(function(){var le=m,_e=jf(l),Te=[];e:{var ue=Tx.get(a);if(ue!==void 0){var xe=S0,Pe=a;switch(a){case"keypress":if(y0(l)===0)break e;case"keydown":case"keyup":xe=r4;break;case"focusin":Pe="focus",xe=Wf;break;case"focusout":Pe="blur",xe=Wf;break;case"beforeblur":case"afterblur":xe=Wf;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":xe=J1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":xe=WS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":xe=i4;break;case _x:case Sx:case Ex:xe=qS;break;case wx:xe=l4;break;case"scroll":case"scrollend":xe=HS;break;case"wheel":xe=o4;break;case"copy":case"cut":case"paste":xe=KS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":xe=tx;break;case"toggle":case"beforetoggle":xe=u4}var Ye=(i&4)!==0,Mt=!Ye&&(a==="scroll"||a==="scrollend"),ae=Ye?ue!==null?ue+"Capture":null:ue;Ye=[];for(var J=le,se;J!==null;){var we=J;if(se=we.stateNode,we=we.tag,we!==5&&we!==26&&we!==27||se===null||ae===null||(we=Rl(J,ae),we!=null&&Ye.push(oc(J,we,se))),Mt)break;J=J.return}0<Ye.length&&(ue=new xe(ue,Pe,null,l,_e),Te.push({event:ue,listeners:Ye}))}}if((i&7)===0){e:{if(ue=a==="mouseover"||a==="pointerover",xe=a==="mouseout"||a==="pointerout",ue&&l!==Uf&&(Pe=l.relatedTarget||l.fromElement)&&(Me(Pe)||Pe[H]))break e;if((xe||ue)&&(ue=_e.window===_e?_e:(ue=_e.ownerDocument)?ue.defaultView||ue.parentWindow:window,xe?(Pe=l.relatedTarget||l.toElement,xe=le,Pe=Pe?Me(Pe):null,Pe!==null&&(Mt=c(Pe),Ye=Pe.tag,Pe!==Mt||Ye!==5&&Ye!==27&&Ye!==6)&&(Pe=null)):(xe=null,Pe=le),xe!==Pe)){if(Ye=J1,we="onMouseLeave",ae="onMouseEnter",J="mouse",(a==="pointerout"||a==="pointerover")&&(Ye=tx,we="onPointerLeave",ae="onPointerEnter",J="pointer"),Mt=xe==null?ue:Oe(xe),se=Pe==null?ue:Oe(Pe),ue=new Ye(we,J+"leave",xe,l,_e),ue.target=Mt,ue.relatedTarget=se,we=null,Me(_e)===le&&(Ye=new Ye(ae,J+"enter",Pe,l,_e),Ye.target=se,Ye.relatedTarget=Mt,we=Ye),Mt=we,xe&&Pe)t:{for(Ye=fE,ae=xe,J=Pe,se=0,we=ae;we;we=Ye(we))se++;we=0;for(var Xe=J;Xe;Xe=Ye(Xe))we++;for(;0<se-we;)ae=Ye(ae),se--;for(;0<we-se;)J=Ye(J),we--;for(;se--;){if(ae===J||J!==null&&ae===J.alternate){Ye=ae;break t}ae=Ye(ae),J=Ye(J)}Ye=null}else Ye=null;xe!==null&&Gm(Te,ue,xe,Ye,!1),Pe!==null&&Mt!==null&&Gm(Te,Mt,Pe,Ye,!0)}}e:{if(ue=le?Oe(le):window,xe=ue.nodeName&&ue.nodeName.toLowerCase(),xe==="select"||xe==="input"&&ue.type==="file")var St=ox;else if(lx(ue))if(fx)St=S4;else{St=y4;var We=g4}else xe=ue.nodeName,!xe||xe.toLowerCase()!=="input"||ue.type!=="checkbox"&&ue.type!=="radio"?le&&Bf(le.elementType)&&(St=ox):St=_4;if(St&&(St=St(a,le))){cx(Te,St,l,_e);break e}We&&We(a,ue,le),a==="focusout"&&le&&ue.type==="number"&&le.memoizedProps.value!=null&&Lf(ue,"number",ue.value)}switch(We=le?Oe(le):window,a){case"focusin":(lx(We)||We.contentEditable==="true")&&(ks=We,Zf=le,jl=null);break;case"focusout":jl=Zf=ks=null;break;case"mousedown":$f=!0;break;case"contextmenu":case"mouseup":case"dragend":$f=!1,gx(Te,l,_e);break;case"selectionchange":if(w4)break;case"keydown":case"keyup":gx(Te,l,_e)}var it;if(Gf)e:{switch(a){case"compositionstart":var mt="onCompositionStart";break e;case"compositionend":mt="onCompositionEnd";break e;case"compositionupdate":mt="onCompositionUpdate";break e}mt=void 0}else bs?ix(a,l)&&(mt="onCompositionEnd"):a==="keydown"&&l.keyCode===229&&(mt="onCompositionStart");mt&&(rx&&l.locale!=="ko"&&(bs||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&bs&&(it=$1()):(Gn=_e,Pf="value"in Gn?Gn.value:Gn.textContent,bs=!0)),We=uo(le,mt),0<We.length&&(mt=new ex(mt,a,null,l,_e),Te.push({event:mt,listeners:We}),it?mt.data=it:(it=sx(l),it!==null&&(mt.data=it)))),(it=d4?x4(a,l):p4(a,l))&&(mt=uo(le,"onBeforeInput"),0<mt.length&&(We=new ex("onBeforeInput","beforeinput",null,l,_e),Te.push({event:We,listeners:mt}),We.data=it)),sE(Te,a,le,l,_e)}Wm(Te,i)})}function oc(a,i,l){return{instance:a,listener:i,currentTarget:l}}function uo(a,i){for(var l=i+"Capture",f=[];a!==null;){var x=a,m=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||m===null||(x=Rl(a,l),x!=null&&f.unshift(oc(a,x,m)),x=Rl(a,i),x!=null&&f.push(oc(a,x,m))),a.tag===3)return f;a=a.return}return[]}function fE(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function Gm(a,i,l,f,x){for(var m=i._reactName,T=[];l!==null&&l!==f;){var R=l,G=R.alternate,le=R.stateNode;if(R=R.tag,G!==null&&G===f)break;R!==5&&R!==26&&R!==27||le===null||(G=le,x?(le=Rl(l,m),le!=null&&T.unshift(oc(l,le,G))):x||(le=Rl(l,m),le!=null&&T.push(oc(l,le,G)))),l=l.return}T.length!==0&&a.push({event:i,listeners:T})}var uE=/\r\n?/g,hE=/\u0000|\uFFFD/g;function qm(a){return(typeof a=="string"?a:""+a).replace(uE,`
`).replace(hE,"")}function Ym(a,i){return i=qm(i),qm(a)===i}function Nt(a,i,l,f,x,m){switch(l){case"children":typeof f=="string"?i==="body"||i==="textarea"&&f===""||Es(a,f):(typeof f=="number"||typeof f=="bigint")&&i!=="body"&&Es(a,""+f);break;case"className":p0(a,"class",f);break;case"tabIndex":p0(a,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":p0(a,l,f);break;case"style":Y1(a,f,m);break;case"data":if(i!=="object"){p0(a,"data",f);break}case"src":case"href":if(f===""&&(i!=="a"||l!=="href")){a.removeAttribute(l);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){a.removeAttribute(l);break}f=v0(""+f),a.setAttribute(l,f);break;case"action":case"formAction":if(typeof f=="function"){a.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(l==="formAction"?(i!=="input"&&Nt(a,i,"name",x.name,x,null),Nt(a,i,"formEncType",x.formEncType,x,null),Nt(a,i,"formMethod",x.formMethod,x,null),Nt(a,i,"formTarget",x.formTarget,x,null)):(Nt(a,i,"encType",x.encType,x,null),Nt(a,i,"method",x.method,x,null),Nt(a,i,"target",x.target,x,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){a.removeAttribute(l);break}f=v0(""+f),a.setAttribute(l,f);break;case"onClick":f!=null&&(a.onclick=yn);break;case"onScroll":f!=null&&dt("scroll",a);break;case"onScrollEnd":f!=null&&dt("scrollend",a);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(n(61));if(l=f.__html,l!=null){if(x.children!=null)throw Error(n(60));a.innerHTML=l}}break;case"multiple":a.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":a.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){a.removeAttribute("xlink:href");break}l=v0(""+f),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?a.setAttribute(l,""+f):a.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?a.setAttribute(l,""):a.removeAttribute(l);break;case"capture":case"download":f===!0?a.setAttribute(l,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?a.setAttribute(l,f):a.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?a.setAttribute(l,f):a.removeAttribute(l);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?a.removeAttribute(l):a.setAttribute(l,f);break;case"popover":dt("beforetoggle",a),dt("toggle",a),$r(a,"popover",f);break;case"xlinkActuate":gn(a,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":gn(a,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":gn(a,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":gn(a,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":gn(a,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":gn(a,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":gn(a,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":gn(a,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":gn(a,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":$r(a,"is",f);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=zS.get(l)||l,$r(a,l,f))}}function Eh(a,i,l,f,x,m){switch(l){case"style":Y1(a,f,m);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(n(61));if(l=f.__html,l!=null){if(x.children!=null)throw Error(n(60));a.innerHTML=l}}break;case"children":typeof f=="string"?Es(a,f):(typeof f=="number"||typeof f=="bigint")&&Es(a,""+f);break;case"onScroll":f!=null&&dt("scroll",a);break;case"onScrollEnd":f!=null&&dt("scrollend",a);break;case"onClick":f!=null&&(a.onclick=yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!It.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(x=l.endsWith("Capture"),i=l.slice(2,x?l.length-7:void 0),m=a[B]||null,m=m!=null?m[l]:null,typeof m=="function"&&a.removeEventListener(i,m,x),typeof f=="function")){typeof m!="function"&&m!==null&&(l in a?a[l]=null:a.hasAttribute(l)&&a.removeAttribute(l)),a.addEventListener(i,f,x);break e}l in a?a[l]=f:f===!0?a.setAttribute(l,""):$r(a,l,f)}}}function Fr(a,i,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dt("error",a),dt("load",a);var f=!1,x=!1,m;for(m in l)if(l.hasOwnProperty(m)){var T=l[m];if(T!=null)switch(m){case"src":f=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,i));default:Nt(a,i,m,T,l,null)}}x&&Nt(a,i,"srcSet",l.srcSet,l,null),f&&Nt(a,i,"src",l.src,l,null);return;case"input":dt("invalid",a);var R=m=T=x=null,G=null,le=null;for(f in l)if(l.hasOwnProperty(f)){var _e=l[f];if(_e!=null)switch(f){case"name":x=_e;break;case"type":T=_e;break;case"checked":G=_e;break;case"defaultChecked":le=_e;break;case"value":m=_e;break;case"defaultValue":R=_e;break;case"children":case"dangerouslySetInnerHTML":if(_e!=null)throw Error(n(137,i));break;default:Nt(a,i,f,_e,l,null)}}W1(a,m,R,G,le,T,x,!1);return;case"select":dt("invalid",a),f=T=m=null;for(x in l)if(l.hasOwnProperty(x)&&(R=l[x],R!=null))switch(x){case"value":m=R;break;case"defaultValue":T=R;break;case"multiple":f=R;default:Nt(a,i,x,R,l,null)}i=m,l=T,a.multiple=!!f,i!=null?Ss(a,!!f,i,!1):l!=null&&Ss(a,!!f,l,!0);return;case"textarea":dt("invalid",a),m=x=f=null;for(T in l)if(l.hasOwnProperty(T)&&(R=l[T],R!=null))switch(T){case"value":f=R;break;case"defaultValue":x=R;break;case"children":m=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(n(91));break;default:Nt(a,i,T,R,l,null)}G1(a,f,x,m);return;case"option":for(G in l)if(l.hasOwnProperty(G)&&(f=l[G],f!=null))switch(G){case"selected":a.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:Nt(a,i,G,f,l,null)}return;case"dialog":dt("beforetoggle",a),dt("toggle",a),dt("cancel",a),dt("close",a);break;case"iframe":case"object":dt("load",a);break;case"video":case"audio":for(f=0;f<cc.length;f++)dt(cc[f],a);break;case"image":dt("error",a),dt("load",a);break;case"details":dt("toggle",a);break;case"embed":case"source":case"link":dt("error",a),dt("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(le in l)if(l.hasOwnProperty(le)&&(f=l[le],f!=null))switch(le){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,i));default:Nt(a,i,le,f,l,null)}return;default:if(Bf(i)){for(_e in l)l.hasOwnProperty(_e)&&(f=l[_e],f!==void 0&&Eh(a,i,_e,f,l,void 0));return}}for(R in l)l.hasOwnProperty(R)&&(f=l[R],f!=null&&Nt(a,i,R,f,l,null))}function dE(a,i,l,f){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,m=null,T=null,R=null,G=null,le=null,_e=null;for(xe in l){var Te=l[xe];if(l.hasOwnProperty(xe)&&Te!=null)switch(xe){case"checked":break;case"value":break;case"defaultValue":G=Te;default:f.hasOwnProperty(xe)||Nt(a,i,xe,null,f,Te)}}for(var ue in f){var xe=f[ue];if(Te=l[ue],f.hasOwnProperty(ue)&&(xe!=null||Te!=null))switch(ue){case"type":m=xe;break;case"name":x=xe;break;case"checked":le=xe;break;case"defaultChecked":_e=xe;break;case"value":T=xe;break;case"defaultValue":R=xe;break;case"children":case"dangerouslySetInnerHTML":if(xe!=null)throw Error(n(137,i));break;default:xe!==Te&&Nt(a,i,ue,xe,f,Te)}}Mf(a,T,R,G,le,_e,m,x);return;case"select":xe=T=R=ue=null;for(m in l)if(G=l[m],l.hasOwnProperty(m)&&G!=null)switch(m){case"value":break;case"multiple":xe=G;default:f.hasOwnProperty(m)||Nt(a,i,m,null,f,G)}for(x in f)if(m=f[x],G=l[x],f.hasOwnProperty(x)&&(m!=null||G!=null))switch(x){case"value":ue=m;break;case"defaultValue":R=m;break;case"multiple":T=m;default:m!==G&&Nt(a,i,x,m,f,G)}i=R,l=T,f=xe,ue!=null?Ss(a,!!l,ue,!1):!!f!=!!l&&(i!=null?Ss(a,!!l,i,!0):Ss(a,!!l,l?[]:"",!1));return;case"textarea":xe=ue=null;for(R in l)if(x=l[R],l.hasOwnProperty(R)&&x!=null&&!f.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:Nt(a,i,R,null,f,x)}for(T in f)if(x=f[T],m=l[T],f.hasOwnProperty(T)&&(x!=null||m!=null))switch(T){case"value":ue=x;break;case"defaultValue":xe=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(n(91));break;default:x!==m&&Nt(a,i,T,x,f,m)}X1(a,ue,xe);return;case"option":for(var Pe in l)if(ue=l[Pe],l.hasOwnProperty(Pe)&&ue!=null&&!f.hasOwnProperty(Pe))switch(Pe){case"selected":a.selected=!1;break;default:Nt(a,i,Pe,null,f,ue)}for(G in f)if(ue=f[G],xe=l[G],f.hasOwnProperty(G)&&ue!==xe&&(ue!=null||xe!=null))switch(G){case"selected":a.selected=ue&&typeof ue!="function"&&typeof ue!="symbol";break;default:Nt(a,i,G,ue,f,xe)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ye in l)ue=l[Ye],l.hasOwnProperty(Ye)&&ue!=null&&!f.hasOwnProperty(Ye)&&Nt(a,i,Ye,null,f,ue);for(le in f)if(ue=f[le],xe=l[le],f.hasOwnProperty(le)&&ue!==xe&&(ue!=null||xe!=null))switch(le){case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(n(137,i));break;default:Nt(a,i,le,ue,f,xe)}return;default:if(Bf(i)){for(var Mt in l)ue=l[Mt],l.hasOwnProperty(Mt)&&ue!==void 0&&!f.hasOwnProperty(Mt)&&Eh(a,i,Mt,void 0,f,ue);for(_e in f)ue=f[_e],xe=l[_e],!f.hasOwnProperty(_e)||ue===xe||ue===void 0&&xe===void 0||Eh(a,i,_e,ue,f,xe);return}}for(var ae in l)ue=l[ae],l.hasOwnProperty(ae)&&ue!=null&&!f.hasOwnProperty(ae)&&Nt(a,i,ae,null,f,ue);for(Te in f)ue=f[Te],xe=l[Te],!f.hasOwnProperty(Te)||ue===xe||ue==null&&xe==null||Nt(a,i,Te,ue,f,xe)}function Km(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xE(){if(typeof performance.getEntriesByType=="function"){for(var a=0,i=0,l=performance.getEntriesByType("resource"),f=0;f<l.length;f++){var x=l[f],m=x.transferSize,T=x.initiatorType,R=x.duration;if(m&&R&&Km(T)){for(T=0,R=x.responseEnd,f+=1;f<l.length;f++){var G=l[f],le=G.startTime;if(le>R)break;var _e=G.transferSize,Te=G.initiatorType;_e&&Km(Te)&&(G=G.responseEnd,T+=_e*(G<R?1:(R-le)/(G-le)))}if(--f,i+=8*(m+T)/(x.duration/1e3),a++,10<a)break}}if(0<a)return i/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var wh=null,Th=null;function ho(a){return a.nodeType===9?a:a.ownerDocument}function Zm(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function $m(a,i){if(a===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&i==="foreignObject"?0:a}function bh(a,i){return a==="textarea"||a==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var kh=null;function pE(){var a=window.event;return a&&a.type==="popstate"?a===kh?!1:(kh=a,!0):(kh=null,!1)}var Qm=typeof setTimeout=="function"?setTimeout:void 0,mE=typeof clearTimeout=="function"?clearTimeout:void 0,Jm=typeof Promise=="function"?Promise:void 0,vE=typeof queueMicrotask=="function"?queueMicrotask:typeof Jm<"u"?function(a){return Jm.resolve(null).then(a).catch(gE)}:Qm;function gE(a){setTimeout(function(){throw a})}function oi(a){return a==="head"}function ev(a,i){var l=i,f=0;do{var x=l.nextSibling;if(a.removeChild(l),x&&x.nodeType===8)if(l=x.data,l==="/$"||l==="/&"){if(f===0){a.removeChild(x),Js(i);return}f--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")f++;else if(l==="html")fc(a.ownerDocument.documentElement);else if(l==="head"){l=a.ownerDocument.head,fc(l);for(var m=l.firstChild;m;){var T=m.nextSibling,R=m.nodeName;m[he]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&m.rel.toLowerCase()==="stylesheet"||l.removeChild(m),m=T}}else l==="body"&&fc(a.ownerDocument.body);l=x}while(l);Js(i)}function tv(a,i){var l=a;a=0;do{var f=l.nextSibling;if(l.nodeType===1?i?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(i?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),f&&f.nodeType===8)if(l=f.data,l==="/$"){if(a===0)break;a--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||a++;l=f}while(l)}function Ah(a){var i=a.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var l=i;switch(i=i.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ah(l),Fe(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}a.removeChild(l)}}function yE(a,i,l,f){for(;a.nodeType===1;){var x=l;if(a.nodeName.toLowerCase()!==i.toLowerCase()){if(!f&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(f){if(!a[he])switch(i){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(m=a.getAttribute("rel"),m==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(m!==x.rel||a.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||a.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||a.getAttribute("title")!==(x.title==null?null:x.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(m=a.getAttribute("src"),(m!==(x.src==null?null:x.src)||a.getAttribute("type")!==(x.type==null?null:x.type)||a.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&m&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(i==="input"&&a.type==="hidden"){var m=x.name==null?null:""+x.name;if(x.type==="hidden"&&a.getAttribute("name")===m)return a}else return a;if(a=Na(a.nextSibling),a===null)break}return null}function _E(a,i,l){if(i==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=Na(a.nextSibling),a===null))return null;return a}function rv(a,i){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=Na(a.nextSibling),a===null))return null;return a}function Ch(a){return a.data==="$?"||a.data==="$~"}function Fh(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function SE(a,i){var l=a.ownerDocument;if(a.data==="$~")a._reactRetry=i;else if(a.data!=="$?"||l.readyState!=="loading")i();else{var f=function(){i(),l.removeEventListener("DOMContentLoaded",f)};l.addEventListener("DOMContentLoaded",f),a._reactRetry=f}}function Na(a){for(;a!=null;a=a.nextSibling){var i=a.nodeType;if(i===1||i===3)break;if(i===8){if(i=a.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return a}var Rh=null;function av(a){a=a.nextSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="/$"||l==="/&"){if(i===0)return Na(a.nextSibling);i--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||i++}a=a.nextSibling}return null}function nv(a){a=a.previousSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(i===0)return a;i--}else l!=="/$"&&l!=="/&"||i++}a=a.previousSibling}return null}function iv(a,i,l){switch(i=ho(l),a){case"html":if(a=i.documentElement,!a)throw Error(n(452));return a;case"head":if(a=i.head,!a)throw Error(n(453));return a;case"body":if(a=i.body,!a)throw Error(n(454));return a;default:throw Error(n(451))}}function fc(a){for(var i=a.attributes;i.length;)a.removeAttributeNode(i[0]);Fe(a)}var Ma=new Map,sv=new Set;function xo(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Ln=ie.d;ie.d={f:EE,r:wE,D:TE,C:bE,L:kE,m:AE,X:FE,S:CE,M:RE};function EE(){var a=Ln.f(),i=no();return a||i}function wE(a){var i=je(a);i!==null&&i.tag===5&&i.type==="form"?wp(i):Ln.r(a)}var Zs=typeof document>"u"?null:document;function lv(a,i,l){var f=Zs;if(f&&typeof i=="string"&&i){var x=ka(i);x='link[rel="'+a+'"][href="'+x+'"]',typeof l=="string"&&(x+='[crossorigin="'+l+'"]'),sv.has(x)||(sv.add(x),a={rel:a,crossOrigin:l,href:i},f.querySelector(x)===null&&(i=f.createElement("link"),Fr(i,"link",a),Ve(i),f.head.appendChild(i)))}}function TE(a){Ln.D(a),lv("dns-prefetch",a,null)}function bE(a,i){Ln.C(a,i),lv("preconnect",a,i)}function kE(a,i,l){Ln.L(a,i,l);var f=Zs;if(f&&a&&i){var x='link[rel="preload"][as="'+ka(i)+'"]';i==="image"&&l&&l.imageSrcSet?(x+='[imagesrcset="'+ka(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(x+='[imagesizes="'+ka(l.imageSizes)+'"]')):x+='[href="'+ka(a)+'"]';var m=x;switch(i){case"style":m=$s(a);break;case"script":m=Qs(a)}Ma.has(m)||(a=v({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:a,as:i},l),Ma.set(m,a),f.querySelector(x)!==null||i==="style"&&f.querySelector(uc(m))||i==="script"&&f.querySelector(hc(m))||(i=f.createElement("link"),Fr(i,"link",a),Ve(i),f.head.appendChild(i)))}}function AE(a,i){Ln.m(a,i);var l=Zs;if(l&&a){var f=i&&typeof i.as=="string"?i.as:"script",x='link[rel="modulepreload"][as="'+ka(f)+'"][href="'+ka(a)+'"]',m=x;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Qs(a)}if(!Ma.has(m)&&(a=v({rel:"modulepreload",href:a},i),Ma.set(m,a),l.querySelector(x)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(hc(m)))return}f=l.createElement("link"),Fr(f,"link",a),Ve(f),l.head.appendChild(f)}}}function CE(a,i,l){Ln.S(a,i,l);var f=Zs;if(f&&a){var x=Ue(f).hoistableStyles,m=$s(a);i=i||"default";var T=x.get(m);if(!T){var R={loading:0,preload:null};if(T=f.querySelector(uc(m)))R.loading=5;else{a=v({rel:"stylesheet",href:a,"data-precedence":i},l),(l=Ma.get(m))&&Oh(a,l);var G=T=f.createElement("link");Ve(G),Fr(G,"link",a),G._p=new Promise(function(le,_e){G.onload=le,G.onerror=_e}),G.addEventListener("load",function(){R.loading|=1}),G.addEventListener("error",function(){R.loading|=2}),R.loading|=4,po(T,i,f)}T={type:"stylesheet",instance:T,count:1,state:R},x.set(m,T)}}}function FE(a,i){Ln.X(a,i);var l=Zs;if(l&&a){var f=Ue(l).hoistableScripts,x=Qs(a),m=f.get(x);m||(m=l.querySelector(hc(x)),m||(a=v({src:a,async:!0},i),(i=Ma.get(x))&&Dh(a,i),m=l.createElement("script"),Ve(m),Fr(m,"link",a),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},f.set(x,m))}}function RE(a,i){Ln.M(a,i);var l=Zs;if(l&&a){var f=Ue(l).hoistableScripts,x=Qs(a),m=f.get(x);m||(m=l.querySelector(hc(x)),m||(a=v({src:a,async:!0,type:"module"},i),(i=Ma.get(x))&&Dh(a,i),m=l.createElement("script"),Ve(m),Fr(m,"link",a),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},f.set(x,m))}}function cv(a,i,l,f){var x=(x=Y.current)?xo(x):null;if(!x)throw Error(n(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=$s(l.href),l=Ue(x).hoistableStyles,f=l.get(i),f||(f={type:"style",instance:null,count:0,state:null},l.set(i,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=$s(l.href);var m=Ue(x).hoistableStyles,T=m.get(a);if(T||(x=x.ownerDocument||x,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(a,T),(m=x.querySelector(uc(a)))&&!m._p&&(T.instance=m,T.state.loading=5),Ma.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ma.set(a,l),m||OE(x,a,l,T.state))),i&&f===null)throw Error(n(528,""));return T}if(i&&f!==null)throw Error(n(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Qs(l),l=Ue(x).hoistableScripts,f=l.get(i),f||(f={type:"script",instance:null,count:0,state:null},l.set(i,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,a))}}function $s(a){return'href="'+ka(a)+'"'}function uc(a){return'link[rel="stylesheet"]['+a+"]"}function ov(a){return v({},a,{"data-precedence":a.precedence,precedence:null})}function OE(a,i,l,f){a.querySelector('link[rel="preload"][as="style"]['+i+"]")?f.loading=1:(i=a.createElement("link"),f.preload=i,i.addEventListener("load",function(){return f.loading|=1}),i.addEventListener("error",function(){return f.loading|=2}),Fr(i,"link",l),Ve(i),a.head.appendChild(i))}function Qs(a){return'[src="'+ka(a)+'"]'}function hc(a){return"script[async]"+a}function fv(a,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var f=a.querySelector('style[data-href~="'+ka(l.href)+'"]');if(f)return i.instance=f,Ve(f),f;var x=v({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return f=(a.ownerDocument||a).createElement("style"),Ve(f),Fr(f,"style",x),po(f,l.precedence,a),i.instance=f;case"stylesheet":x=$s(l.href);var m=a.querySelector(uc(x));if(m)return i.state.loading|=4,i.instance=m,Ve(m),m;f=ov(l),(x=Ma.get(x))&&Oh(f,x),m=(a.ownerDocument||a).createElement("link"),Ve(m);var T=m;return T._p=new Promise(function(R,G){T.onload=R,T.onerror=G}),Fr(m,"link",f),i.state.loading|=4,po(m,l.precedence,a),i.instance=m;case"script":return m=Qs(l.src),(x=a.querySelector(hc(m)))?(i.instance=x,Ve(x),x):(f=l,(x=Ma.get(m))&&(f=v({},l),Dh(f,x)),a=a.ownerDocument||a,x=a.createElement("script"),Ve(x),Fr(x,"link",f),a.head.appendChild(x),i.instance=x);case"void":return null;default:throw Error(n(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(f=i.instance,i.state.loading|=4,po(f,l.precedence,a));return i.instance}function po(a,i,l){for(var f=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=f.length?f[f.length-1]:null,m=x,T=0;T<f.length;T++){var R=f[T];if(R.dataset.precedence===i)m=R;else if(m!==x)break}m?m.parentNode.insertBefore(a,m.nextSibling):(i=l.nodeType===9?l.head:l,i.insertBefore(a,i.firstChild))}function Oh(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.title==null&&(a.title=i.title)}function Dh(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.integrity==null&&(a.integrity=i.integrity)}var mo=null;function uv(a,i,l){if(mo===null){var f=new Map,x=mo=new Map;x.set(l,f)}else x=mo,f=x.get(l),f||(f=new Map,x.set(l,f));if(f.has(a))return f;for(f.set(a,null),l=l.getElementsByTagName(a),x=0;x<l.length;x++){var m=l[x];if(!(m[he]||m[M]||a==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var T=m.getAttribute(i)||"";T=a+T;var R=f.get(T);R?R.push(m):f.set(T,[m])}}return f}function hv(a,i,l){a=a.ownerDocument||a,a.head.insertBefore(l,i==="title"?a.querySelector("head > title"):null)}function DE(a,i,l){if(l===1||i.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return a=i.disabled,typeof i.precedence=="string"&&a==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function dv(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function NE(a,i,l,f){if(l.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var x=$s(f.href),m=i.querySelector(uc(x));if(m){i=m._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(a.count++,a=vo.bind(a),i.then(a,a)),l.state.loading|=4,l.instance=m,Ve(m);return}m=i.ownerDocument||i,f=ov(f),(x=Ma.get(x))&&Oh(f,x),m=m.createElement("link"),Ve(m);var T=m;T._p=new Promise(function(R,G){T.onload=R,T.onerror=G}),Fr(m,"link",f),l.instance=m}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(l,i),(i=l.state.preload)&&(l.state.loading&3)===0&&(a.count++,l=vo.bind(a),i.addEventListener("load",l),i.addEventListener("error",l))}}var Nh=0;function ME(a,i){return a.stylesheets&&a.count===0&&yo(a,a.stylesheets),0<a.count||0<a.imgCount?function(l){var f=setTimeout(function(){if(a.stylesheets&&yo(a,a.stylesheets),a.unsuspend){var m=a.unsuspend;a.unsuspend=null,m()}},6e4+i);0<a.imgBytes&&Nh===0&&(Nh=62500*xE());var x=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&yo(a,a.stylesheets),a.unsuspend)){var m=a.unsuspend;a.unsuspend=null,m()}},(a.imgBytes>Nh?50:800)+i);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(f),clearTimeout(x)}}:null}function vo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yo(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var go=null;function yo(a,i){a.stylesheets=null,a.unsuspend!==null&&(a.count++,go=new Map,i.forEach(LE,a),go=null,vo.call(a))}function LE(a,i){if(!(i.state.loading&4)){var l=go.get(a);if(l)var f=l.get(null);else{l=new Map,go.set(a,l);for(var x=a.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<x.length;m++){var T=x[m];(T.nodeName==="LINK"||T.getAttribute("media")!=="not all")&&(l.set(T.dataset.precedence,T),f=T)}f&&l.set(null,f)}x=i.instance,T=x.getAttribute("data-precedence"),m=l.get(T)||f,m===f&&l.set(null,x),l.set(T,x),this.count++,f=vo.bind(this),x.addEventListener("load",f),x.addEventListener("error",f),m?m.parentNode.insertBefore(x,m.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(x,a.firstChild)),i.state.loading|=4}}var dc={$$typeof:k,Provider:null,Consumer:null,_currentValue:Re,_currentValue2:Re,_threadCount:0};function BE(a,i,l,f,x,m,T,R,G){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=kl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kl(0),this.hiddenUpdates=kl(null),this.identifierPrefix=f,this.onUncaughtError=x,this.onCaughtError=m,this.onRecoverableError=T,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=G,this.incompleteTransitions=new Map}function xv(a,i,l,f,x,m,T,R,G,le,_e,Te){return a=new BE(a,i,l,T,G,le,_e,Te,R),i=1,m===!0&&(i|=24),m=ua(3,null,null,i),a.current=m,m.stateNode=a,i=hu(),i.refCount++,a.pooledCache=i,i.refCount++,m.memoizedState={element:f,isDehydrated:l,cache:i},mu(m),a}function pv(a){return a?(a=Fs,a):Fs}function mv(a,i,l,f,x,m){x=pv(x),f.context===null?f.context=x:f.pendingContext=x,f=Qn(i),f.payload={element:l},m=m===void 0?null:m,m!==null&&(f.callback=m),l=Jn(a,f,i),l!==null&&(aa(l,a,i),Xl(l,a,i))}function vv(a,i){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var l=a.retryLane;a.retryLane=l!==0&&l<i?l:i}}function Mh(a,i){vv(a,i),(a=a.alternate)&&vv(a,i)}function gv(a){if(a.tag===13||a.tag===31){var i=Mi(a,67108864);i!==null&&aa(i,a,67108864),Mh(a,67108864)}}function yv(a){if(a.tag===13||a.tag===31){var i=ma();i=Al(i);var l=Mi(a,i);l!==null&&aa(l,a,i),Mh(a,i)}}var _o=!0;function UE(a,i,l,f){var x=Z.T;Z.T=null;var m=ie.p;try{ie.p=2,Lh(a,i,l,f)}finally{ie.p=m,Z.T=x}}function jE(a,i,l,f){var x=Z.T;Z.T=null;var m=ie.p;try{ie.p=8,Lh(a,i,l,f)}finally{ie.p=m,Z.T=x}}function Lh(a,i,l,f){if(_o){var x=Bh(f);if(x===null)Sh(a,i,f,So,l),Sv(a,f);else if(zE(x,a,i,l,f))f.stopPropagation();else if(Sv(a,f),i&4&&-1<IE.indexOf(a)){for(;x!==null;){var m=je(x);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var T=wa(m.pendingLanes);if(T!==0){var R=m;for(R.pendingLanes|=2,R.entangledLanes|=2;T;){var G=1<<31-_r(T);R.entanglements[1]|=G,T&=~G}fn(m),(Tt&6)===0&&(ro=bt()+500,lc(0))}}break;case 31:case 13:R=Mi(m,2),R!==null&&aa(R,m,2),no(),Mh(m,2)}if(m=Bh(f),m===null&&Sh(a,i,f,So,l),m===x)break;x=m}x!==null&&f.stopPropagation()}else Sh(a,i,f,null,l)}}function Bh(a){return a=jf(a),Uh(a)}var So=null;function Uh(a){if(So=null,a=Me(a),a!==null){var i=c(a);if(i===null)a=null;else{var l=i.tag;if(l===13){if(a=o(i),a!==null)return a;a=null}else if(l===31){if(a=u(i),a!==null)return a;a=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return So=a,null}function _v(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(oa()){case be:return 2;case Ze:return 8;case Je:case ct:return 32;case ze:return 268435456;default:return 32}default:return 32}}var jh=!1,fi=null,ui=null,hi=null,xc=new Map,pc=new Map,di=[],IE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Sv(a,i){switch(a){case"focusin":case"focusout":fi=null;break;case"dragenter":case"dragleave":ui=null;break;case"mouseover":case"mouseout":hi=null;break;case"pointerover":case"pointerout":xc.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":pc.delete(i.pointerId)}}function mc(a,i,l,f,x,m){return a===null||a.nativeEvent!==m?(a={blockedOn:i,domEventName:l,eventSystemFlags:f,nativeEvent:m,targetContainers:[x]},i!==null&&(i=je(i),i!==null&&gv(i)),a):(a.eventSystemFlags|=f,i=a.targetContainers,x!==null&&i.indexOf(x)===-1&&i.push(x),a)}function zE(a,i,l,f,x){switch(i){case"focusin":return fi=mc(fi,a,i,l,f,x),!0;case"dragenter":return ui=mc(ui,a,i,l,f,x),!0;case"mouseover":return hi=mc(hi,a,i,l,f,x),!0;case"pointerover":var m=x.pointerId;return xc.set(m,mc(xc.get(m)||null,a,i,l,f,x)),!0;case"gotpointercapture":return m=x.pointerId,pc.set(m,mc(pc.get(m)||null,a,i,l,f,x)),!0}return!1}function Ev(a){var i=Me(a.target);if(i!==null){var l=c(i);if(l!==null){if(i=l.tag,i===13){if(i=o(l),i!==null){a.blockedOn=i,z(a.priority,function(){yv(l)});return}}else if(i===31){if(i=u(l),i!==null){a.blockedOn=i,z(a.priority,function(){yv(l)});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){a.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Eo(a){if(a.blockedOn!==null)return!1;for(var i=a.targetContainers;0<i.length;){var l=Bh(a.nativeEvent);if(l===null){l=a.nativeEvent;var f=new l.constructor(l.type,l);Uf=f,l.target.dispatchEvent(f),Uf=null}else return i=je(l),i!==null&&gv(i),a.blockedOn=l,!1;i.shift()}return!0}function wv(a,i,l){Eo(a)&&l.delete(i)}function PE(){jh=!1,fi!==null&&Eo(fi)&&(fi=null),ui!==null&&Eo(ui)&&(ui=null),hi!==null&&Eo(hi)&&(hi=null),xc.forEach(wv),pc.forEach(wv)}function wo(a,i){a.blockedOn===i&&(a.blockedOn=null,jh||(jh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,PE)))}var To=null;function Tv(a){To!==a&&(To=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){To===a&&(To=null);for(var i=0;i<a.length;i+=3){var l=a[i],f=a[i+1],x=a[i+2];if(typeof f!="function"){if(Uh(f||l)===null)continue;break}var m=je(l);m!==null&&(a.splice(i,3),i-=3,Bu(m,{pending:!0,data:x,method:l.method,action:f},f,x))}}))}function Js(a){function i(G){return wo(G,a)}fi!==null&&wo(fi,a),ui!==null&&wo(ui,a),hi!==null&&wo(hi,a),xc.forEach(i),pc.forEach(i);for(var l=0;l<di.length;l++){var f=di[l];f.blockedOn===a&&(f.blockedOn=null)}for(;0<di.length&&(l=di[0],l.blockedOn===null);)Ev(l),l.blockedOn===null&&di.shift();if(l=(a.ownerDocument||a).$$reactFormReplay,l!=null)for(f=0;f<l.length;f+=3){var x=l[f],m=l[f+1],T=x[B]||null;if(typeof m=="function")T||Tv(l);else if(T){var R=null;if(m&&m.hasAttribute("formAction")){if(x=m,T=m[B]||null)R=T.formAction;else if(Uh(x)!==null)continue}else R=T.action;typeof R=="function"?l[f+1]=R:(l.splice(f,3),f-=3),Tv(l)}}}function bv(){function a(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(T){return x=T})},focusReset:"manual",scroll:"manual"})}function i(){x!==null&&(x(),x=null),f||setTimeout(l,20)}function l(){if(!f&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,x=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(l,100),function(){f=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),x!==null&&(x(),x=null)}}}function Ih(a){this._internalRoot=a}bo.prototype.render=Ih.prototype.render=function(a){var i=this._internalRoot;if(i===null)throw Error(n(409));var l=i.current,f=ma();mv(l,f,a,i,null,null)},bo.prototype.unmount=Ih.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var i=a.containerInfo;mv(a.current,2,null,a,null,null),no(),i[H]=null}};function bo(a){this._internalRoot=a}bo.prototype.unstable_scheduleHydration=function(a){if(a){var i=C();a={blockedOn:null,target:a,priority:i};for(var l=0;l<di.length&&i!==0&&i<di[l].priority;l++);di.splice(l,0,a),l===0&&Ev(a)}};var kv=t.version;if(kv!=="19.2.7")throw Error(n(527,kv,"19.2.7"));ie.findDOMNode=function(a){var i=a._reactInternals;if(i===void 0)throw typeof a.render=="function"?Error(n(188)):(a=Object.keys(a).join(","),Error(n(268,a)));return a=d(i),a=a!==null?p(a):null,a=a===null?null:a.stateNode,a};var HE={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:Z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ko=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ko.isDisabled&&ko.supportsFiber)try{lt=ko.inject(HE),zt=ko}catch{}}return gc.createRoot=function(a,i){if(!s(a))throw Error(n(299));var l=!1,f="",x=Np,m=Mp,T=Lp;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(x=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError)),i=xv(a,1,!1,null,null,l,f,null,x,m,T,bv),a[H]=i.current,_h(a),new Ih(i)},gc.hydrateRoot=function(a,i,l){if(!s(a))throw Error(n(299));var f=!1,x="",m=Np,T=Mp,R=Lp,G=null;return l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(x=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(T=l.onCaughtError),l.onRecoverableError!==void 0&&(R=l.onRecoverableError),l.formState!==void 0&&(G=l.formState)),i=xv(a,1,!0,i,l??null,f,x,G,m,T,R,bv),i.context=pv(null),l=i.current,f=ma(),f=Al(f),x=Qn(f),x.callback=null,Jn(l,x,f),l=f,i.current.lanes=l,Fi(i,l),fn(i),a[H]=i.current,_h(a),new bo(i)},gc.version="19.2.7",gc}var Bv;function JE(){if(Bv)return Hh.exports;Bv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Hh.exports=QE(),Hh.exports}var ew=JE();const tw=k2(ew);/**
 * react-router v7.18.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Id=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,A2=/^[\\/]{2}/;function rw(e,t){return t+e.replace(/\\/g,"/")}var Uv="popstate";function jv(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function aw(e={}){function t(n,s){var d;let c=(d=s.state)==null?void 0:d.masked,{pathname:o,search:u,hash:h}=c||n.location;return vd("",{pathname:o,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,s){return typeof s=="string"?s:Nc(s)}return iw(t,r,null,e)}function Yt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function tn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function nw(){return Math.random().toString(36).substring(2,10)}function Iv(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function vd(e,t,r=null,n,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?pl(t):t,state:r,key:t&&t.key||n||nw(),mask:s}}function Nc({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function pl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function iw(e,t,r,n={}){let{window:s=document.defaultView,v5Compat:c=!1}=n,o=s.history,u="POP",h=null,d=p();d==null&&(d=0,o.replaceState({...o.state,idx:d},""));function p(){return(o.state||{idx:null}).idx}function v(){u="POP";let E=p(),b=E==null?null:E-d;d=E,h&&h({action:u,location:_.location,delta:b})}function g(E,b){u="PUSH";let F=jv(E)?E:vd(_.location,E,b);d=p()+1;let k=Iv(F,d),U=_.createHref(F.mask||F);try{o.pushState(k,"",U)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;s.location.assign(U)}c&&h&&h({action:u,location:_.location,delta:1})}function S(E,b){u="REPLACE";let F=jv(E)?E:vd(_.location,E,b);d=p();let k=Iv(F,d),U=_.createHref(F.mask||F);o.replaceState(k,"",U),c&&h&&h({action:u,location:_.location,delta:0})}function w(E){return sw(s,E)}let _={get action(){return u},get location(){return e(s,o)},listen(E){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(Uv,v),h=E,()=>{s.removeEventListener(Uv,v),h=null}},createHref(E){return t(s,E)},createURL:w,encodeLocation(E){let b=w(E);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:g,replace:S,go(E){return o.go(E)}};return _}function sw(e,t,r=!1){let n="http://localhost";e&&(n=e.location.origin!=="null"?e.location.origin:e.location.href),Yt(n,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:Nc(t);return s=s.replace(/ $/,"%20"),!r&&A2.test(s)&&(s=n+s),new URL(s,n)}function C2(e,t,r="/"){return lw(e,t,r,!1)}function lw(e,t,r,n,s){let c=typeof t=="string"?pl(t):t,o=zn(c.pathname||"/",r);if(o==null)return null;let u=cw(e),h=null,d=yw(o);for(let p=0;h==null&&p<u.length;++p)h=gw(u[p],d,n);return h}function cw(e){let t=F2(e);return ow(t),t}function F2(e,t=[],r=[],n="",s=!1){let c=(o,u,h=s,d)=>{let p={relativePath:d===void 0?o.path||"":d,caseSensitive:o.caseSensitive===!0,childrenIndex:u,route:o};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(n)&&h)return;Yt(p.relativePath.startsWith(n),`Absolute route path "${p.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(n.length)}let v=Qa([n,p.relativePath]),g=r.concat(p);o.children&&o.children.length>0&&(Yt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),F2(o.children,t,g,v,h)),!(o.path==null&&!o.index)&&t.push({path:v,score:mw(v,o.index),routesMeta:g.map((S,w)=>{let[_,E]=D2(S.relativePath,S.caseSensitive,w===g.length-1);return{...S,matcher:_,compiledParams:E}})})};return e.forEach((o,u)=>{var h;if(o.path===""||!((h=o.path)!=null&&h.includes("?")))c(o,u);else for(let d of R2(o.path))c(o,u,!0,d)}),t}function R2(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,s=r.endsWith("?"),c=r.replace(/\?$/,"");if(n.length===0)return s?[c,""]:[c];let o=R2(n.join("/")),u=[];return u.push(...o.map(h=>h===""?c:[c,h].join("/"))),s&&u.push(...o),u.map(h=>e.startsWith("/")&&h===""?"/":h)}function ow(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:vw(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var fw=/^:[\w-]+$/,uw=3,hw=2,dw=1,xw=10,pw=-2,zv=e=>e==="*";function mw(e,t){let r=e.split("/"),n=r.length;return r.some(zv)&&(n+=pw),t&&(n+=hw),r.filter(s=>!zv(s)).reduce((s,c)=>s+(fw.test(c)?uw:c===""?dw:xw),n)}function vw(e,t){return e.length===t.length&&e.slice(0,-1).every((n,s)=>n===t[s])?e[e.length-1]-t[t.length-1]:0}function gw(e,t,r=!1){let{routesMeta:n}=e,s={},c="/",o=[];for(let u=0;u<n.length;++u){let h=n[u],d=u===n.length-1,p=c==="/"?t:t.slice(c.length)||"/",v={path:h.relativePath,caseSensitive:h.caseSensitive,end:d},g=h.matcher&&h.compiledParams?O2(v,p,h.matcher,h.compiledParams):Go(v,p),S=h.route;if(!g&&d&&r&&!n[n.length-1].route.index&&(g=Go({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},p)),!g)return null;Object.assign(s,g.params),o.push({params:s,pathname:Qa([c,g.pathname]),pathnameBase:Ew(Qa([c,g.pathnameBase])),route:S}),g.pathnameBase!=="/"&&(c=Qa([c,g.pathnameBase]))}return o}function Go(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=D2(e.path,e.caseSensitive,e.end);return O2(e,t,r,n)}function O2(e,t,r,n){let s=t.match(r);if(!s)return null;let c=s[0],o=c.replace(/(.)\/+$/,"$1"),u=s.slice(1);return{params:n.reduce((d,{paramName:p,isOptional:v},g)=>{if(p==="*"){let w=u[g]||"";o=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const S=u[g];return v&&!S?d[p]=void 0:d[p]=(S||"").replace(/%2F/g,"/"),d},{}),pathname:c,pathnameBase:o,pattern:e}}function D2(e,t=!1,r=!0){tn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,h,d,p)=>{if(n.push({paramName:u,isOptional:h!=null}),h){let v=p.charAt(d+o.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),n]}function yw(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return tn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function zn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function _w(e,t="/"){let{pathname:r,search:n="",hash:s=""}=typeof e=="string"?pl(e):e,c;return r?(r=N2(r),r.startsWith("/")?c=Pv(r.substring(1),"/"):c=Pv(r,t)):c=t,{pathname:c,search:ww(n),hash:Tw(s)}}function Pv(e,t){let r=qo(t).split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function Gh(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Sw(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function zd(e){let t=Sw(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function xf(e,t,r,n=!1){let s;typeof e=="string"?s=pl(e):(s={...e},Yt(!s.pathname||!s.pathname.includes("?"),Gh("?","pathname","search",s)),Yt(!s.pathname||!s.pathname.includes("#"),Gh("#","pathname","hash",s)),Yt(!s.search||!s.search.includes("#"),Gh("#","search","hash",s)));let c=e===""||s.pathname==="",o=c?"/":s.pathname,u;if(o==null)u=r;else{let v=t.length-1;if(!n&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),v-=1;s.pathname=g.join("/")}u=v>=0?t[v]:"/"}let h=_w(s,u),d=o&&o!=="/"&&o.endsWith("/"),p=(c||o===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(d||p)&&(h.pathname+="/"),h}var N2=e=>e.replace(/[\\/]{2,}/g,"/"),Qa=e=>N2(e.join("/")),qo=e=>e.replace(/\/+$/,""),Ew=e=>qo(e).replace(/^\/*/,"/"),ww=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Tw=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,bw=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function kw(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Aw(e){let t=e.map(r=>r.route.path).filter(Boolean);return Qa(t)||"/"}var M2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function L2(e,t){let r=e;if(typeof r!="string"||!Id.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,s=!1;if(M2)try{let c=new URL(window.location.href),o=A2.test(r)?new URL(rw(r,c.protocol)):new URL(r),u=zn(o.pathname,t);o.origin===c.origin&&u!=null?r=u+o.search+o.hash:s=!0}catch{tn(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:s,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var B2=["POST","PUT","PATCH","DELETE"];new Set(B2);var Cw=["GET",...B2];new Set(Cw);var Fw=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Rw(e){try{return Fw.includes(new URL(e).protocol)}catch{return!1}}var ml=q.createContext(null);ml.displayName="DataRouter";var pf=q.createContext(null);pf.displayName="DataRouterState";var U2=q.createContext(!1);function Ow(){return q.useContext(U2)}var j2=q.createContext({isTransitioning:!1});j2.displayName="ViewTransition";var Dw=q.createContext(new Map);Dw.displayName="Fetchers";var Nw=q.createContext(null);Nw.displayName="Await";var Ea=q.createContext(null);Ea.displayName="Navigation";var Zc=q.createContext(null);Zc.displayName="Location";var rn=q.createContext({outlet:null,matches:[],isDataRoute:!1});rn.displayName="Route";var Pd=q.createContext(null);Pd.displayName="RouteError";var I2="REACT_ROUTER_ERROR",Mw="REDIRECT",Lw="ROUTE_ERROR_RESPONSE";function Bw(e){if(e.startsWith(`${I2}:${Mw}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Uw(e){if(e.startsWith(`${I2}:${Lw}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new bw(t.status,t.statusText,t.data)}catch{}}function jw(e,{relative:t}={}){Yt(vl(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=q.useContext(Ea),{hash:s,pathname:c,search:o}=$c(e,{relative:t}),u=c;return r!=="/"&&(u=c==="/"?r:Qa([r,c])),n.createHref({pathname:u,search:o,hash:s})}function vl(){return q.useContext(Zc)!=null}function an(){return Yt(vl(),"useLocation() may be used only in the context of a <Router> component."),q.useContext(Zc).location}var z2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function P2(e){q.useContext(Ea).static||q.useLayoutEffect(e)}function mf(){let{isDataRoute:e}=q.useContext(rn);return e?Jw():Iw()}function Iw(){Yt(vl(),"useNavigate() may be used only in the context of a <Router> component.");let e=q.useContext(ml),{basename:t,navigator:r}=q.useContext(Ea),{matches:n}=q.useContext(rn),{pathname:s}=an(),c=JSON.stringify(zd(n)),o=q.useRef(!1);return P2(()=>{o.current=!0}),q.useCallback((h,d={})=>{if(tn(o.current,z2),!o.current)return;if(typeof h=="number"){r.go(h);return}let p=xf(h,JSON.parse(c),s,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Qa([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,c,s,e])}var zw=q.createContext(null);function Pw(e){let t=q.useContext(rn).outlet;return q.useMemo(()=>t&&q.createElement(zw.Provider,{value:e},t),[t,e])}function $c(e,{relative:t}={}){let{matches:r}=q.useContext(rn),{pathname:n}=an(),s=JSON.stringify(zd(r));return q.useMemo(()=>xf(e,JSON.parse(s),n,t==="path"),[e,s,n,t])}function Hw(e,t){return H2(e,t)}function H2(e,t,r){var E;Yt(vl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=q.useContext(Ea),{matches:s}=q.useContext(rn),c=s[s.length-1],o=c?c.params:{},u=c?c.pathname:"/",h=c?c.pathnameBase:"/",d=c&&c.route;{let b=d&&d.path||"";W2(u,!d||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${b}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}/*`}">.`)}let p=an(),v;if(t){let b=typeof t=="string"?pl(t):t;Yt(h==="/"||((E=b.pathname)==null?void 0:E.startsWith(h)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${b.pathname}" was given in the \`location\` prop.`),v=b}else v=p;let g=v.pathname||"/",S=g;if(h!=="/"){let b=h.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=r&&r.state.matches.length?r.state.matches.map(b=>Object.assign(b,{route:r.manifest[b.route.id]||b.route})):C2(e,{pathname:S});tn(d||w!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),tn(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=qw(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:Qa([h,n.encodeLocation?n.encodeLocation(b.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?h:Qa([h,n.encodeLocation?n.encodeLocation(b.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathnameBase])})),s,r);return t&&_?q.createElement(Zc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},_):_}function Vw(){let e=Qw(),t=kw(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:n},c={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=q.createElement(q.Fragment,null,q.createElement("p",null,"💿 Hey developer 👋"),q.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",q.createElement("code",{style:c},"ErrorBoundary")," or"," ",q.createElement("code",{style:c},"errorElement")," prop on your route.")),q.createElement(q.Fragment,null,q.createElement("h2",null,"Unexpected Application Error!"),q.createElement("h3",{style:{fontStyle:"italic"}},t),r?q.createElement("pre",{style:s},r):null,o)}var Ww=q.createElement(Vw,null),V2=class extends q.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=Uw(e.digest);r&&(e=r)}let t=e!==void 0?q.createElement(rn.Provider,{value:this.props.routeContext},q.createElement(Pd.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?q.createElement(Xw,{error:e},t):t}};V2.contextType=U2;var qh=new WeakMap;function Xw({children:e,error:t}){let{basename:r}=q.useContext(Ea);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=Bw(t.digest);if(n){let s=qh.get(t);if(s)throw s;let c=L2(n.location,r),o=c.absoluteURL||c.to;if(Rw(o))throw new Error("Invalid redirect location");if(M2&&!qh.get(t))if(c.isExternal||n.reloadDocument)window.location.href=o;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:n.replace}));throw qh.set(t,u),u}return q.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o}`})}}return e}function Gw({routeContext:e,match:t,children:r}){let n=q.useContext(ml);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),q.createElement(rn.Provider,{value:e},r)}function qw(e,t=[],r){let n=r==null?void 0:r.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,c=n==null?void 0:n.errors;if(c!=null){let p=s.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);Yt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,p+1))}let o=!1,u=-1;if(r&&n){o=n.renderFallback;for(let p=0;p<s.length;p++){let v=s[p];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(u=p),v.route.id){let{loaderData:g,errors:S}=n,w=v.route.loader&&!g.hasOwnProperty(v.route.id)&&(!S||S[v.route.id]===void 0);if(v.route.lazy||w){r.isStatic&&(o=!0),u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}}let h=r==null?void 0:r.onError,d=n&&h?(p,v)=>{var g,S;h(p,{location:n.location,params:((S=(g=n.matches)==null?void 0:g[0])==null?void 0:S.params)??{},pattern:Aw(n.matches),errorInfo:v})}:void 0;return s.reduceRight((p,v,g)=>{let S,w=!1,_=null,E=null;n&&(S=c&&v.route.id?c[v.route.id]:void 0,_=v.route.errorElement||Ww,o&&(u<0&&g===0?(W2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,E=null):u===g&&(w=!0,E=v.route.hydrateFallbackElement||null)));let b=t.concat(s.slice(0,g+1)),F=()=>{let k;return S?k=_:w?k=E:v.route.Component?k=q.createElement(v.route.Component,null):v.route.element?k=v.route.element:k=p,q.createElement(Gw,{match:v,routeContext:{outlet:p,matches:b,isDataRoute:n!=null},children:k})};return n&&(v.route.ErrorBoundary||v.route.errorElement||g===0)?q.createElement(V2,{location:n.location,revalidation:n.revalidation,component:_,error:S,children:F(),routeContext:{outlet:null,matches:b,isDataRoute:!0},onError:d}):F()},null)}function Hd(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yw(e){let t=q.useContext(ml);return Yt(t,Hd(e)),t}function Kw(e){let t=q.useContext(pf);return Yt(t,Hd(e)),t}function Zw(e){let t=q.useContext(rn);return Yt(t,Hd(e)),t}function Vd(e){let t=Zw(e),r=t.matches[t.matches.length-1];return Yt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function $w(){return Vd("useRouteId")}function Qw(){var n;let e=q.useContext(Pd),t=Kw("useRouteError"),r=Vd("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function Jw(){let{router:e}=Yw("useNavigate"),t=Vd("useNavigate"),r=q.useRef(!1);return P2(()=>{r.current=!0}),q.useCallback(async(s,c={})=>{tn(r.current,z2),r.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...c}))},[e,t])}var Hv={};function W2(e,t,r){!t&&!Hv[e]&&(Hv[e]=!0,tn(!1,r))}q.memo(eT);function eT({routes:e,manifest:t,future:r,state:n,isStatic:s,onError:c}){return H2(e,void 0,{manifest:t,state:n,isStatic:s,onError:c})}function Wd({to:e,replace:t,state:r,relative:n}){Yt(vl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=q.useContext(Ea);tn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=q.useContext(rn),{pathname:o}=an(),u=mf(),h=xf(e,zd(c),o,n==="path"),d=JSON.stringify(h);return q.useEffect(()=>{u(JSON.parse(d),{replace:t,state:r,relative:n})},[u,d,n,t,r]),null}function X2(e){return Pw(e.context)}function hn(e){Yt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function tT({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:s,static:c=!1,useTransitions:o}){Yt(!vl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),h=q.useMemo(()=>({basename:u,navigator:s,static:c,useTransitions:o,future:{}}),[u,s,c,o]);typeof r=="string"&&(r=pl(r));let{pathname:d="/",search:p="",hash:v="",state:g=null,key:S="default",mask:w}=r,_=q.useMemo(()=>{let E=zn(d,u);return E==null?null:{location:{pathname:E,search:p,hash:v,state:g,key:S,mask:w},navigationType:n}},[u,d,p,v,g,S,n,w]);return tn(_!=null,`<Router basename="${u}"> is not able to match the URL "${d}${p}${v}" because it does not start with the basename, so the <Router> won't render anything.`),_==null?null:q.createElement(Ea.Provider,{value:h},q.createElement(Zc.Provider,{children:t,value:_}))}function rT({children:e,location:t}){return Hw(gd(e),t)}function gd(e,t=[]){let r=[];return q.Children.forEach(e,(n,s)=>{if(!q.isValidElement(n))return;let c=[...t,s];if(n.type===q.Fragment){r.push.apply(r,gd(n.props.children,c));return}Yt(n.type===hn,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Yt(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||c.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=gd(n.props.children,c)),r.push(o)}),r}var Po="get",Ho="application/x-www-form-urlencoded";function vf(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function aT(e){return vf(e)&&e.tagName.toLowerCase()==="button"}function nT(e){return vf(e)&&e.tagName.toLowerCase()==="form"}function iT(e){return vf(e)&&e.tagName.toLowerCase()==="input"}function sT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lT(e,t){return e.button===0&&(!t||t==="_self")&&!sT(e)}var Ao=null;function cT(){if(Ao===null)try{new FormData(document.createElement("form"),0),Ao=!1}catch{Ao=!0}return Ao}var oT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Yh(e){return e!=null&&!oT.has(e)?(tn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ho}"`),null):e}function fT(e,t){let r,n,s,c,o;if(nT(e)){let u=e.getAttribute("action");n=u?zn(u,t):null,r=e.getAttribute("method")||Po,s=Yh(e.getAttribute("enctype"))||Ho,c=new FormData(e)}else if(aT(e)||iT(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||u.getAttribute("action");if(n=h?zn(h,t):null,r=e.getAttribute("formmethod")||u.getAttribute("method")||Po,s=Yh(e.getAttribute("formenctype"))||Yh(u.getAttribute("enctype"))||Ho,c=new FormData(u,e),!cT()){let{name:d,type:p,value:v}=e;if(p==="image"){let g=d?`${d}.`:"";c.append(`${g}x`,"0"),c.append(`${g}y`,"0")}else d&&c.append(d,v)}}else{if(vf(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Po,n=null,s=Ho,o=e}return c&&s==="text/plain"&&(o=c,c=void 0),{action:n,method:r.toLowerCase(),encType:s,formData:c,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xd(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function G2(e,t,r,n){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${n}`:s.pathname=`${s.pathname}.${n}`:s.pathname==="/"?s.pathname=`_root.${n}`:t&&zn(s.pathname,t)==="/"?s.pathname=`${qo(t)}/_root.${n}`:s.pathname=`${qo(s.pathname)}.${n}`,s}async function uT(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function hT(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function dT(e,t,r){let n=await Promise.all(e.map(async s=>{let c=t.routes[s.route.id];if(c){let o=await uT(c,r);return o.links?o.links():[]}return[]}));return vT(n.flat(1).filter(hT).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function Vv(e,t,r,n,s,c){let o=(h,d)=>r[d]?h.route.id!==r[d].route.id:!0,u=(h,d)=>{var p;return r[d].pathname!==h.pathname||((p=r[d].route.path)==null?void 0:p.endsWith("*"))&&r[d].params["*"]!==h.params["*"]};return c==="assets"?t.filter((h,d)=>o(h,d)||u(h,d)):c==="data"?t.filter((h,d)=>{var v;let p=n.routes[h.route.id];if(!p||!p.hasLoader)return!1;if(o(h,d)||u(h,d))return!0;if(h.route.shouldRevalidate){let g=h.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((v=r[0])==null?void 0:v.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}function xT(e,t,{includeHydrateFallback:r}={}){return pT(e.map(n=>{let s=t.routes[n.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),r&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function pT(e){return[...new Set(e)]}function mT(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function vT(e,t){let r=new Set;return new Set(t),e.reduce((n,s)=>{let c=JSON.stringify(mT(s));return r.has(c)||(r.add(c),n.push({key:c,link:s})),n},[])}function Gd(){let e=q.useContext(ml);return Xd(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gT(){let e=q.useContext(pf);return Xd(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var qd=q.createContext(void 0);qd.displayName="FrameworkContext";function gf(){let e=q.useContext(qd);return Xd(e,"You must render this element inside a <HydratedRouter> element"),e}function yT(e,t){let r=q.useContext(qd),[n,s]=q.useState(!1),[c,o]=q.useState(!1),{onFocus:u,onBlur:h,onMouseEnter:d,onMouseLeave:p,onTouchStart:v}=t,g=q.useRef(null);q.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let _=b=>{b.forEach(F=>{o(F.isIntersecting)})},E=new IntersectionObserver(_,{threshold:.5});return g.current&&E.observe(g.current),()=>{E.disconnect()}}},[e]),q.useEffect(()=>{if(n){let _=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(_)}}},[n]);let S=()=>{s(!0)},w=()=>{s(!1),o(!1)};return r?e!=="intent"?[c,g,{}]:[c,g,{onFocus:yc(u,S),onBlur:yc(h,w),onMouseEnter:yc(d,S),onMouseLeave:yc(p,w),onTouchStart:yc(v,S)}]:[!1,g,{}]}function yc(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function _T({page:e,...t}){let r=Ow(),{nonce:n}=gf(),{router:s}=Gd(),c=q.useMemo(()=>C2(s.routes,e,s.basename),[s.routes,e,s.basename]);return c?(t.nonce==null&&n&&(t={...t,nonce:n}),r?q.createElement(ET,{page:e,matches:c,...t}):q.createElement(wT,{page:e,matches:c,...t})):null}function ST(e){let{manifest:t,routeModules:r}=gf(),[n,s]=q.useState([]);return q.useEffect(()=>{let c=!1;return dT(e,t,r).then(o=>{c||s(o)}),()=>{c=!0}},[e,t,r]),n}function ET({page:e,matches:t,...r}){let n=an(),{future:s}=gf(),{basename:c}=Gd(),o=q.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let u=G2(e,c,s.v8_trailingSlashAwareDataRequests,"rsc"),h=!1,d=[];for(let p of t)typeof p.route.shouldRevalidate=="function"?h=!0:d.push(p.route.id);return h&&d.length>0&&u.searchParams.set("_routes",d.join(",")),[u.pathname+u.search]},[c,s.v8_trailingSlashAwareDataRequests,e,n,t]);return q.createElement(q.Fragment,null,o.map(u=>q.createElement("link",{key:u,rel:"prefetch",as:"fetch",href:u,...r})))}function wT({page:e,matches:t,...r}){let n=an(),{future:s,manifest:c,routeModules:o}=gf(),{basename:u}=Gd(),{loaderData:h,matches:d}=gT(),p=q.useMemo(()=>Vv(e,t,d,c,n,"data"),[e,t,d,c,n]),v=q.useMemo(()=>Vv(e,t,d,c,n,"assets"),[e,t,d,c,n]),g=q.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let _=new Set,E=!1;if(t.forEach(F=>{var U;let k=c.routes[F.route.id];!k||!k.hasLoader||(!p.some(I=>I.route.id===F.route.id)&&F.route.id in h&&((U=o[F.route.id])!=null&&U.shouldRevalidate)||k.hasClientLoader?E=!0:_.add(F.route.id))}),_.size===0)return[];let b=G2(e,u,s.v8_trailingSlashAwareDataRequests,"data");return E&&_.size>0&&b.searchParams.set("_routes",t.filter(F=>_.has(F.route.id)).map(F=>F.route.id).join(",")),[b.pathname+b.search]},[u,s.v8_trailingSlashAwareDataRequests,h,n,c,p,t,e,o]),S=q.useMemo(()=>xT(v,c),[v,c]),w=ST(v);return q.createElement(q.Fragment,null,g.map(_=>q.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...r})),S.map(_=>q.createElement("link",{key:_,rel:"modulepreload",href:_,...r})),w.map(({key:_,link:E})=>q.createElement("link",{key:_,nonce:r.nonce,...E,crossOrigin:E.crossOrigin??r.crossOrigin})))}function TT(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var bT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{bT&&(window.__reactRouterVersion="7.18.0")}catch{}function kT({basename:e,children:t,useTransitions:r,window:n}){let s=q.useRef();s.current==null&&(s.current=aw({window:n,v5Compat:!0}));let c=s.current,[o,u]=q.useState({action:c.action,location:c.location}),h=q.useCallback(d=>{r===!1?u(d):q.startTransition(()=>u(d))},[r]);return q.useLayoutEffect(()=>c.listen(h),[c,h]),q.createElement(tT,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:c,useTransitions:r})}var q2=q.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:s,reloadDocument:c,replace:o,mask:u,state:h,target:d,to:p,preventScrollReset:v,viewTransition:g,defaultShouldRevalidate:S,...w},_){let{basename:E,navigator:b,useTransitions:F}=q.useContext(Ea),k=typeof p=="string"&&Id.test(p),U=L2(p,E);p=U.to;let I=jw(p,{relative:s}),W=an(),D=null;if(u){let ve=xf(u,[],W.mask?W.mask.pathname:"/",!0);E!=="/"&&(ve.pathname=ve.pathname==="/"?E:Qa([E,ve.pathname])),D=b.createHref(ve)}let[ee,X,ne]=yT(n,w),re=RT(p,{replace:o,mask:u,state:h,target:d,preventScrollReset:v,relative:s,viewTransition:g,defaultShouldRevalidate:S,useTransitions:F});function Q(ve){t&&t(ve),ve.defaultPrevented||re(ve)}let me=!(U.isExternal||c),Ce=q.createElement("a",{...w,...ne,href:(me?D:void 0)||U.absoluteURL||I,onClick:me?Q:t,ref:TT(_,X),target:d,"data-discover":!k&&r==="render"?"true":void 0});return ee&&!k?q.createElement(q.Fragment,null,Ce,q.createElement(_T,{page:I})):Ce});q2.displayName="Link";var AT=q.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:s=!1,style:c,to:o,viewTransition:u,children:h,...d},p){let v=$c(o,{relative:d.relative}),g=an(),S=q.useContext(pf),{navigator:w,basename:_}=q.useContext(Ea),E=S!=null&&LT(v)&&u===!0,b=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,F=g.pathname,k=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;r||(F=F.toLowerCase(),k=k?k.toLowerCase():null,b=b.toLowerCase()),k&&_&&(k=zn(k,_)||k);const U=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let I=F===b||!s&&F.startsWith(b)&&F.charAt(U)==="/",W=k!=null&&(k===b||!s&&k.startsWith(b)&&k.charAt(b.length)==="/"),D={isActive:I,isPending:W,isTransitioning:E},ee=I?t:void 0,X;typeof n=="function"?X=n(D):X=[n,I?"active":null,W?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let ne=typeof c=="function"?c(D):c;return q.createElement(q2,{...d,"aria-current":ee,className:X,ref:p,style:ne,to:o,viewTransition:u},typeof h=="function"?h(D):h)});AT.displayName="NavLink";var CT=q.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:s,state:c,method:o=Po,action:u,onSubmit:h,relative:d,preventScrollReset:p,viewTransition:v,defaultShouldRevalidate:g,...S},w)=>{let{useTransitions:_}=q.useContext(Ea),E=NT(),b=MT(u,{relative:d}),F=o.toLowerCase()==="get"?"get":"post",k=typeof u=="string"&&Id.test(u),U=I=>{if(h&&h(I),I.defaultPrevented)return;I.preventDefault();let W=I.nativeEvent.submitter,D=(W==null?void 0:W.getAttribute("formmethod"))||o,ee=()=>E(W||I.currentTarget,{fetcherKey:t,method:D,navigate:r,replace:s,state:c,relative:d,preventScrollReset:p,viewTransition:v,defaultShouldRevalidate:g});_&&r!==!1?q.startTransition(()=>ee()):ee()};return q.createElement("form",{ref:w,method:F,action:b,onSubmit:n?h:U,...S,"data-discover":!k&&e==="render"?"true":void 0})});CT.displayName="Form";function FT(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Y2(e){let t=q.useContext(ml);return Yt(t,FT(e)),t}function RT(e,{target:t,replace:r,mask:n,state:s,preventScrollReset:c,relative:o,viewTransition:u,defaultShouldRevalidate:h,useTransitions:d}={}){let p=mf(),v=an(),g=$c(e,{relative:o});return q.useCallback(S=>{if(lT(S,t)){S.preventDefault();let w=r!==void 0?r:Nc(v)===Nc(g),_=()=>p(e,{replace:w,mask:n,state:s,preventScrollReset:c,relative:o,viewTransition:u,defaultShouldRevalidate:h});d?q.startTransition(()=>_()):_()}},[v,p,g,r,n,s,t,e,c,o,u,h,d])}var OT=0,DT=()=>`__${String(++OT)}__`;function NT(){let{router:e}=Y2("useSubmit"),{basename:t}=q.useContext(Ea),r=$w(),n=e.fetch,s=e.navigate;return q.useCallback(async(c,o={})=>{let{action:u,method:h,encType:d,formData:p,body:v}=fT(c,t);if(o.navigate===!1){let g=o.fetcherKey||DT();await n(g,r,o.action||u,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:p,body:v,formMethod:o.method||h,formEncType:o.encType||d,flushSync:o.flushSync})}else await s(o.action||u,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:p,body:v,formMethod:o.method||h,formEncType:o.encType||d,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})},[n,s,t,r])}function MT(e,{relative:t}={}){let{basename:r}=q.useContext(Ea),n=q.useContext(rn);Yt(n,"useFormAction must be used inside a RouteContext");let[s]=n.matches.slice(-1),c={...$c(e||".",{relative:t})},o=an();if(e==null){c.search=o.search;let u=new URLSearchParams(c.search),h=u.getAll("index");if(h.some(p=>p==="")){u.delete("index"),h.filter(v=>v).forEach(v=>u.append("index",v));let p=u.toString();c.search=p?`?${p}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(c.pathname=c.pathname==="/"?r:Qa([r,c.pathname])),Nc(c)}function LT(e,{relative:t}={}){let r=q.useContext(j2);Yt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Y2("useViewTransitionState"),s=$c(e,{relative:t});if(!r.isTransitioning)return!1;let c=zn(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=zn(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Go(s.pathname,o)!=null||Go(s.pathname,c)!=null}function K2(e,t){return function(){return e.apply(t,arguments)}}const{toString:BT}=Object.prototype,{getPrototypeOf:fl}=Object,{iterator:Qc,toStringTag:Z2}=Symbol,Yo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Mc=(e,t)=>{let r=e;const n=[];for(;r!=null&&r!==Object.prototype;){if(n.indexOf(r)!==-1)return!1;if(n.push(r),Yo(r,t))return!0;r=fl(r)}return!1},UT=(e,t)=>e!=null&&Mc(e,t)?e[t]:void 0,Yd=(e=>t=>{const r=BT.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),nn=e=>(e=e.toLowerCase(),t=>Yd(t)===e),yf=e=>t=>typeof t===e,{isArray:as}=Array,ul=yf("undefined");function gl(e){return e!==null&&!ul(e)&&e.constructor!==null&&!ul(e.constructor)&&ia(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $2=nn("ArrayBuffer");function jT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$2(e.buffer),t}const IT=yf("string"),ia=yf("function"),Q2=yf("number"),yl=e=>e!==null&&typeof e=="object",zT=e=>e===!0||e===!1,Vo=e=>{if(!yl(e))return!1;const t=fl(e);return(t===null||t===Object.prototype||fl(t)===null)&&!Mc(e,Z2)&&!Mc(e,Qc)},PT=e=>{if(!yl(e)||gl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},HT=nn("Date"),VT=nn("File"),WT=e=>!!(e&&typeof e.uri<"u"),XT=e=>e&&typeof e.getParts<"u",GT=nn("Blob"),qT=nn("FileList"),YT=e=>yl(e)&&ia(e.pipe);function KT(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Wv=KT(),Xv=typeof Wv.FormData<"u"?Wv.FormData:void 0,ZT=e=>{if(!e)return!1;if(Xv&&e instanceof Xv)return!0;const t=fl(e);if(!t||t===Object.prototype||!ia(e.append))return!1;const r=Yd(e);return r==="formdata"||r==="object"&&ia(e.toString)&&e.toString()==="[object FormData]"},$T=nn("URLSearchParams"),[QT,JT,e3,t3]=["ReadableStream","Request","Response","Headers"].map(nn),r3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),as(e))for(n=0,s=e.length;n<s;n++)t.call(null,e[n],n,e);else{if(gl(e))return;const c=r?Object.getOwnPropertyNames(e):Object.keys(e),o=c.length;let u;for(n=0;n<o;n++)u=c[n],t.call(null,e[u],u,e)}}function J2(e,t){if(gl(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,s;for(;n-- >0;)if(s=r[n],t===s.toLowerCase())return s;return null}const Yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ey=e=>!ul(e)&&e!==Yi;function yd(...e){const{caseless:t,skipUndefined:r}=ey(this)&&this||{},n={},s=(c,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const u=t&&typeof o=="string"&&J2(n,o)||o,h=Yo(n,u)?n[u]:void 0;Vo(h)&&Vo(c)?n[u]=yd(h,c):Vo(c)?n[u]=yd({},c):as(c)?n[u]=c.slice():(!r||!ul(c))&&(n[u]=c)};for(let c=0,o=e.length;c<o;c++){const u=e[c];if(!u||gl(u)||(Jc(u,s),typeof u!="object"||as(u)))continue;const h=Object.getOwnPropertySymbols(u);for(let d=0;d<h.length;d++){const p=h[d];x3.call(u,p)&&s(u[p],p)}}return n}const a3=(e,t,r,{allOwnKeys:n}={})=>(Jc(t,(s,c)=>{r&&ia(s)?Object.defineProperty(e,c,{__proto__:null,value:K2(s,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,c,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),n3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),i3=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},s3=(e,t,r,n)=>{let s,c,o;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),c=s.length;c-- >0;)o=s[c],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&fl(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},l3=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},c3=e=>{if(!e)return null;if(as(e))return e;let t=e.length;if(!Q2(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},o3=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fl(Uint8Array)),f3=(e,t)=>{const n=(e&&e[Qc]).call(e);let s;for(;(s=n.next())&&!s.done;){const c=s.value;t.call(e,c[0],c[1])}},u3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},h3=nn("HTMLFormElement"),d3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),{propertyIsEnumerable:x3}=Object.prototype,p3=nn("RegExp"),ty=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Jc(r,(s,c)=>{let o;(o=t(s,c,e))!==!1&&(n[c]=o||s)}),Object.defineProperties(e,n)},m3=e=>{ty(e,(t,r)=>{if(ia(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];if(ia(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},v3=(e,t)=>{const r={},n=s=>{s.forEach(c=>{r[c]=!0})};return as(e)?n(e):n(String(e).split(t)),r},g3=()=>{},y3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function _3(e){return!!(e&&ia(e.append)&&e[Z2]==="FormData"&&e[Qc])}const S3=e=>{const t=new WeakSet,r=n=>{if(yl(n)){if(t.has(n))return;if(gl(n))return n;if(!("toJSON"in n)){t.add(n);const s=as(n)?[]:{};return Jc(n,(c,o)=>{const u=r(c);!ul(u)&&(s[o]=u)}),t.delete(n),s}}return n};return r(e)},E3=nn("AsyncFunction"),w3=e=>e&&(yl(e)||ia(e))&&ia(e.then)&&ia(e.catch),ry=((e,t)=>e?setImmediate:t?((r,n)=>(Yi.addEventListener("message",({source:s,data:c})=>{s===Yi&&c===r&&n.length&&n.shift()()},!1),s=>{n.push(s),Yi.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ia(Yi.postMessage)),T3=typeof queueMicrotask<"u"?queueMicrotask.bind(Yi):typeof process<"u"&&process.nextTick||ry,ay=e=>e!=null&&ia(e[Qc]),b3=e=>e!=null&&Mc(e,Qc)&&ay(e),te={isArray:as,isArrayBuffer:$2,isBuffer:gl,isFormData:ZT,isArrayBufferView:jT,isString:IT,isNumber:Q2,isBoolean:zT,isObject:yl,isPlainObject:Vo,isEmptyObject:PT,isReadableStream:QT,isRequest:JT,isResponse:e3,isHeaders:t3,isUndefined:ul,isDate:HT,isFile:VT,isReactNativeBlob:WT,isReactNative:XT,isBlob:GT,isRegExp:p3,isFunction:ia,isStream:YT,isURLSearchParams:$T,isTypedArray:o3,isFileList:qT,forEach:Jc,merge:yd,extend:a3,trim:r3,stripBOM:n3,inherits:i3,toFlatObject:s3,kindOf:Yd,kindOfTest:nn,endsWith:l3,toArray:c3,forEachEntry:f3,matchAll:u3,isHTMLForm:h3,hasOwnProperty:Yo,hasOwnProp:Yo,hasOwnInPrototypeChain:Mc,getSafeProp:UT,reduceDescriptors:ty,freezeMethods:m3,toObjectSet:v3,toCamelCase:d3,noop:g3,toFiniteNumber:y3,findKey:J2,global:Yi,isContextDefined:ey,isSpecCompliantForm:_3,toJSONObject:S3,isAsyncFn:E3,isThenable:w3,setImmediate:ry,asap:T3,isIterable:ay,isSafeIterable:b3},k3=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),A3=e=>{const t={};let r,n,s;return e&&e.split(`
`).forEach(function(o){s=o.indexOf(":"),r=o.substring(0,s).trim().toLowerCase(),n=o.substring(s+1).trim(),!(!r||t[r]&&k3[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};function C3(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}const F3=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),R3=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Kd(e,t){return te.isArray(e)?e.map(r=>Kd(r,t)):C3(String(e).replace(t,""))}const O3=e=>Kd(e,F3),D3=e=>Kd(e,R3);function ny(e){const t=Object.create(null);return te.forEach(e.toJSON(),(r,n)=>{t[n]=D3(r)}),t}const Gv=Symbol("internals");function _c(e){return e&&String(e).trim().toLowerCase()}function Wo(e){return e===!1||e==null?e:te.isArray(e)?e.map(Wo):O3(String(e))}function N3(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const M3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Kh(e,t,r,n,s){if(te.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!te.isString(t)){if(te.isString(n))return t.indexOf(n)!==-1;if(te.isRegExp(n))return n.test(t)}}function L3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function B3(e,t){const r=te.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(s,c,o){return this[n].call(this,t,s,c,o)},configurable:!0})})}let Vr=class{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function c(u,h,d){const p=_c(h);if(!p)return;const v=te.findKey(s,p);(!v||s[v]===void 0||d===!0||d===void 0&&s[v]!==!1)&&(s[v||h]=Wo(u))}const o=(u,h)=>te.forEach(u,(d,p)=>c(d,p,h));if(te.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(te.isString(t)&&(t=t.trim())&&!M3(t))o(A3(t),r);else if(te.isObject(t)&&te.isSafeIterable(t)){let u=Object.create(null),h,d;for(const p of t){if(!te.isArray(p))throw new TypeError("Object iterator must return a key-value pair");d=p[0],te.hasOwnProp(u,d)?(h=u[d],u[d]=te.isArray(h)?[...h,p[1]]:[h,p[1]]):u[d]=p[1]}o(u,r)}else t!=null&&c(r,t,n);return this}get(t,r){if(t=_c(t),t){const n=te.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return N3(s);if(te.isFunction(r))return r.call(this,s,n);if(te.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=_c(t),t){const n=te.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Kh(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function c(o){if(o=_c(o),o){const u=te.findKey(n,o);u&&(!r||Kh(n,n[u],u,r))&&(delete n[u],s=!0)}}return te.isArray(t)?t.forEach(c):c(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const c=r[n];(!t||Kh(this,this[c],c,t,!0))&&(delete this[c],s=!0)}return s}normalize(t){const r=this,n={};return te.forEach(this,(s,c)=>{const o=te.findKey(n,c);if(o){r[o]=Wo(s),delete r[c];return}const u=t?L3(c):String(c).trim();u!==c&&delete r[c],r[u]=Wo(s),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return te.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&te.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[Gv]=this[Gv]={accessors:{}}).accessors,s=this.prototype;function c(o){const u=_c(o);n[u]||(B3(s,o),n[u]=!0)}return te.isArray(t)?t.forEach(c):c(t),this}};Vr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.reduceDescriptors(Vr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});te.freezeMethods(Vr);const U3="[REDACTED ****]";function j3(e){if(te.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(te.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function I3(e,t){const r=new Set(t.map(c=>String(c).toLowerCase())),n=[],s=c=>{if(c===null||typeof c!="object"||te.isBuffer(c))return c;if(n.indexOf(c)!==-1)return;c instanceof Vr&&(c=c.toJSON()),n.push(c);let o;if(te.isArray(c))o=[],c.forEach((u,h)=>{const d=s(u);te.isUndefined(d)||(o[h]=d)});else{if(!te.isPlainObject(c)&&j3(c))return n.pop(),c;o=Object.create(null);for(const[u,h]of Object.entries(c)){const d=r.has(u.toLowerCase())?U3:s(h);te.isUndefined(d)||(o[u]=d)}}return n.pop(),o};return s(e)}let Ie=class iy extends Error{static from(t,r,n,s,c,o){const u=new iy(t.message,r||t.code,n,s,c);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),o&&Object.assign(u,o),u}constructor(t,r,n,s,c){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),s&&(this.request=s),c&&(this.response=c,this.status=c.status)}toJSON(){const t=this.config,r=t&&te.hasOwnProp(t,"redact")?t.redact:void 0,n=te.isArray(r)&&r.length>0?I3(t,r):te.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};Ie.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ie.ERR_BAD_OPTION="ERR_BAD_OPTION";Ie.ECONNABORTED="ECONNABORTED";Ie.ETIMEDOUT="ETIMEDOUT";Ie.ECONNREFUSED="ECONNREFUSED";Ie.ERR_NETWORK="ERR_NETWORK";Ie.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ie.ERR_DEPRECATED="ERR_DEPRECATED";Ie.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ie.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ie.ERR_CANCELED="ERR_CANCELED";Ie.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ie.ERR_INVALID_URL="ERR_INVALID_URL";Ie.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const z3=null,sy=100;function _d(e){return te.isPlainObject(e)||te.isArray(e)}function ly(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function Zh(e,t,r){return e?e.concat(t).map(function(s,c){return s=ly(s),!r&&c?"["+s+"]":s}).join(r?".":""):t}function P3(e){return te.isArray(e)&&!e.some(_d)}const H3=te.toFlatObject(te,{},null,function(t){return/^is[A-Z]/.test(t)});function _f(e,t,r){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=te.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(F,k){return!te.isUndefined(k[F])});const n=r.metaTokens,s=r.visitor||w,c=r.dots,o=r.indexes,u=r.Blob||typeof Blob<"u"&&Blob,h=r.maxDepth===void 0?sy:r.maxDepth,d=u&&te.isSpecCompliantForm(t),p=[];if(!te.isFunction(s))throw new TypeError("visitor must be a function");function v(b){if(b===null)return"";if(te.isDate(b))return b.toISOString();if(te.isBoolean(b))return b.toString();if(!d&&te.isBlob(b))throw new Ie("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(b)||te.isTypedArray(b)?d&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function g(b){if(b>h)throw new Ie("Object is too deeply nested ("+b+" levels). Max depth: "+h,Ie.ERR_FORM_DATA_DEPTH_EXCEEDED)}function S(b,F){if(h===1/0)return JSON.stringify(b);const k=[];return JSON.stringify(b,function(I,W){if(!te.isObject(W))return W;for(;k.length&&k[k.length-1]!==this;)k.pop();return k.push(W),g(F+k.length-1),W})}function w(b,F,k){let U=b;if(te.isReactNative(t)&&te.isReactNativeBlob(b))return t.append(Zh(k,F,c),v(b)),!1;if(b&&!k&&typeof b=="object"){if(te.endsWith(F,"{}"))F=n?F:F.slice(0,-2),b=S(b,1);else if(te.isArray(b)&&P3(b)||(te.isFileList(b)||te.endsWith(F,"[]"))&&(U=te.toArray(b)))return F=ly(F),U.forEach(function(W,D){!(te.isUndefined(W)||W===null)&&t.append(o===!0?Zh([F],D,c):o===null?F:F+"[]",v(W))}),!1}return _d(b)?!0:(t.append(Zh(k,F,c),v(b)),!1)}const _=Object.assign(H3,{defaultVisitor:w,convertValue:v,isVisitable:_d});function E(b,F,k=0){if(!te.isUndefined(b)){if(g(k),p.indexOf(b)!==-1)throw new Error("Circular reference detected in "+F.join("."));p.push(b),te.forEach(b,function(I,W){(!(te.isUndefined(I)||I===null)&&s.call(t,I,te.isString(W)?W.trim():W,F,_))===!0&&E(I,F?F.concat(W):[W],k+1)}),p.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return E(e),t}function qv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Zd(e,t){this._pairs=[],e&&_f(e,this,t)}const cy=Zd.prototype;cy.append=function(t,r){this._pairs.push([t,r])};cy.toString=function(t){const r=t?function(n){return t.call(this,n,qv)}:qv;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function V3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function oy(e,t,r){if(!t)return e;const n=te.isFunction(r)?{serialize:r}:r,s=te.getSafeProp(n,"encode")||V3,c=te.getSafeProp(n,"serialize");let o;if(c?o=c(t,n):o=te.isURLSearchParams(t)?t.toString():new Zd(t,n).toString(s),o){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Yv{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){te.forEach(this.handlers,function(n){n!==null&&t(n)})}}const $d={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},W3=typeof URLSearchParams<"u"?URLSearchParams:Zd,X3=typeof FormData<"u"?FormData:null,G3=typeof Blob<"u"?Blob:null,q3={isBrowser:!0,classes:{URLSearchParams:W3,FormData:X3,Blob:G3},protocols:["http","https","file","blob","url","data"]},Qd=typeof window<"u"&&typeof document<"u",Sd=typeof navigator=="object"&&navigator||void 0,Y3=Qd&&(!Sd||["ReactNative","NativeScript","NS"].indexOf(Sd.product)<0),K3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Z3=Qd&&window.location.href||"http://localhost",$3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qd,hasStandardBrowserEnv:Y3,hasStandardBrowserWebWorkerEnv:K3,navigator:Sd,origin:Z3},Symbol.toStringTag,{value:"Module"})),Nr={...$3,...q3};function Q3(e,t){return _f(e,new Nr.classes.URLSearchParams,{visitor:function(r,n,s,c){return Nr.isNode&&te.isBuffer(r)?(this.append(n,r.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}const Kv=sy;function fy(e){if(e>Kv)throw new Ie("FormData field is too deeply nested ("+e+" levels). Max depth: "+Kv,Ie.ERR_FORM_DATA_DEPTH_EXCEEDED)}function J3(e){const t=[],r=/\w+|\[(\w*)]/g;let n;for(;(n=r.exec(e))!==null;)fy(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function eb(e){const t={},r=Object.keys(e);let n;const s=r.length;let c;for(n=0;n<s;n++)c=r[n],t[c]=e[c];return t}function uy(e){function t(r,n,s,c){fy(c);let o=r[c++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),h=c>=r.length;return o=!o&&te.isArray(s)?s.length:o,h?(te.hasOwnProp(s,o)?s[o]=te.isArray(s[o])?s[o].concat(n):[s[o],n]:s[o]=n,!u):((!te.hasOwnProp(s,o)||!te.isObject(s[o]))&&(s[o]=[]),t(r,n,s[o],c)&&te.isArray(s[o])&&(s[o]=eb(s[o])),!u)}if(te.isFormData(e)&&te.isFunction(e.entries)){const r={};return te.forEachEntry(e,(n,s)=>{t(J3(n),s,r,0)}),r}return null}const el=(e,t)=>e!=null&&te.hasOwnProp(e,t)?e[t]:void 0;function tb(e,t,r){if(te.isString(e))try{return(t||JSON.parse)(e),te.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const e0={transitional:$d,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,c=te.isObject(t);if(c&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return s?JSON.stringify(uy(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t)||te.isReadableStream(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(c){const h=el(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return Q3(t,h).toString();if((u=te.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=el(this,"env"),p=d&&d.FormData;return _f(u?{"files[]":t}:t,p&&new p,h)}}return c||s?(r.setContentType("application/json",!1),tb(t)):t}],transformResponse:[function(t){const r=el(this,"transitional")||e0.transitional,n=r&&r.forcedJSONParsing,s=el(this,"responseType"),c=s==="json";if(te.isResponse(t)||te.isReadableStream(t))return t;if(t&&te.isString(t)&&(n&&!s||c)){const u=!(r&&r.silentJSONParsing)&&c;try{return JSON.parse(t,el(this,"parseReviver"))}catch(h){if(u)throw h.name==="SyntaxError"?Ie.from(h,Ie.ERR_BAD_RESPONSE,this,null,el(this,"response")):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nr.classes.FormData,Blob:Nr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch","query"],e=>{e0.headers[e]={}});function $h(e,t){const r=this||e0,n=t||r,s=Vr.from(n.headers);let c=n.data;return te.forEach(e,function(u){c=u.call(r,c,s.normalize(),t?t.status:void 0)}),s.normalize(),c}function hy(e){return!!(e&&e.__CANCEL__)}let t0=class extends Ie{constructor(t,r,n){super(t??"canceled",Ie.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function dy(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ie("Request failed with status code "+r.status,r.status>=400&&r.status<500?Ie.ERR_BAD_REQUEST:Ie.ERR_BAD_RESPONSE,r.config,r.request,r))}function rb(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function ab(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,c=0,o;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),p=n[c];o||(o=d),r[s]=h,n[s]=d;let v=c,g=0;for(;v!==s;)g+=r[v++],v=v%e;if(s=(s+1)%e,s===c&&(c=(c+1)%e),d-o<t)return;const S=p&&d-p;return S?Math.round(g*1e3/S):void 0}}function nb(e,t){let r=0,n=1e3/t,s,c;const o=(d,p=Date.now())=>{r=p,s=null,c&&(clearTimeout(c),c=null),e(...d)};return[(...d)=>{const p=Date.now(),v=p-r;v>=n?o(d,p):(s=d,c||(c=setTimeout(()=>{c=null,o(s)},n-v)))},()=>s&&o(s)]}const Ko=(e,t,r=3)=>{let n=0;const s=ab(50,250);return nb(c=>{if(!c||typeof c.loaded!="number")return;const o=c.loaded,u=c.lengthComputable?c.total:void 0,h=u!=null?Math.min(o,u):o,d=Math.max(0,h-n),p=s(d);n=Math.max(n,h);const v={loaded:h,total:u,progress:u?h/u:void 0,bytes:d,rate:p||void 0,estimated:p&&u?(u-h)/p:void 0,event:c,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(v)},r)},Zv=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},$v=e=>(...t)=>te.asap(()=>e(...t)),ib=Nr.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Nr.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Nr.origin),Nr.navigator&&/(msie|trident)/i.test(Nr.navigator.userAgent)):()=>!0,sb=Nr.hasStandardBrowserEnv?{write(e,t,r,n,s,c,o){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];te.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),te.isString(n)&&u.push(`path=${n}`),te.isString(s)&&u.push(`domain=${s}`),c===!0&&u.push("secure"),te.isString(o)&&u.push(`SameSite=${o}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),s=n.indexOf("=");if(s!==-1&&n.slice(0,s)===e)return decodeURIComponent(n.slice(s+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function lb(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const ob=/^https?:(?!\/\/)/i,fb=/[\t\n\r]/g;function ub(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function hb(e){return ub(e).replace(fb,"")}function Qv(e,t){if(typeof e=="string"&&ob.test(hb(e)))throw new Ie('Invalid URL: missing "//" after protocol',Ie.ERR_INVALID_URL,t)}function xy(e,t,r,n){Qv(t,n);let s=!lb(t);return e&&(s||r===!1)?(Qv(e,n),cb(e,t)):t}const Jv=e=>e instanceof Vr?{...e}:e;function ns(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(p,v,g,S){return te.isPlainObject(p)&&te.isPlainObject(v)?te.merge.call({caseless:S},p,v):te.isPlainObject(v)?te.merge({},v):te.isArray(v)?v.slice():v}function s(p,v,g,S){if(te.isUndefined(v)){if(!te.isUndefined(p))return n(void 0,p,g,S)}else return n(p,v,g,S)}function c(p,v){if(!te.isUndefined(v))return n(void 0,v)}function o(p,v){if(te.isUndefined(v)){if(!te.isUndefined(p))return n(void 0,p)}else return n(void 0,v)}function u(p){const v=te.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!te.isUndefined(v))if(te.isPlainObject(v)){if(te.hasOwnProp(v,p))return v[p]}else return;const g=te.hasOwnProp(e,"transitional")?e.transitional:void 0;if(te.isPlainObject(g)&&te.hasOwnProp(g,p))return g[p]}function h(p,v,g){if(te.hasOwnProp(t,g))return n(p,v);if(te.hasOwnProp(e,g))return n(void 0,p)}const d={url:c,method:c,data:c,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:h,headers:(p,v,g)=>s(Jv(p),Jv(v),g,!0)};return te.forEach(Object.keys({...e,...t}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const g=te.hasOwnProp(d,v)?d[v]:s,S=te.hasOwnProp(e,v)?e[v]:void 0,w=te.hasOwnProp(t,v)?t[v]:void 0,_=g(S,w,v);te.isUndefined(_)&&g!==h||(r[v]=_)}),te.hasOwnProp(t,"validateStatus")&&te.isUndefined(t.validateStatus)&&u("validateStatusUndefinedResolves")===!1&&(te.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}const db=["content-type","content-length"];function xb(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t).forEach(([n,s])=>{db.includes(n.toLowerCase())&&e.set(n,s)})}const pb=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function py(e){const t=ns({},e),r=g=>te.hasOwnProp(t,g)?t[g]:void 0,n=r("data");let s=r("withXSRFToken");const c=r("xsrfHeaderName"),o=r("xsrfCookieName");let u=r("headers");const h=r("auth"),d=r("baseURL"),p=r("allowAbsoluteUrls"),v=r("url");if(t.headers=u=Vr.from(u),t.url=oy(xy(d,v,p,t),r("params"),r("paramsSerializer")),h){const g=te.getSafeProp(h,"username")||"",S=te.getSafeProp(h,"password")||"";u.set("Authorization","Basic "+btoa(g+":"+(S?pb(S):"")))}if(te.isFormData(n)&&(Nr.hasStandardBrowserEnv||Nr.hasStandardBrowserWebWorkerEnv||te.isReactNative(n)?u.setContentType(void 0):te.isFunction(n.getHeaders)&&xb(u,n.getHeaders(),r("formDataHeaderPolicy"))),Nr.hasStandardBrowserEnv&&(te.isFunction(s)&&(s=s(t)),s===!0||s==null&&ib(t.url))){const S=c&&o&&sb.read(o);S&&u.set(c,S)}return t}const mb=typeof XMLHttpRequest<"u",vb=mb&&function(e){return new Promise(function(r,n){const s=py(e);let c=s.data;const o=Vr.from(s.headers).normalize();let{responseType:u,onUploadProgress:h,onDownloadProgress:d}=s,p,v,g,S,w;function _(){S&&S(),w&&w(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let E=new XMLHttpRequest;E.open(s.method.toUpperCase(),s.url,!0),E.timeout=s.timeout;function b(){if(!E)return;const k=Vr.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),I={data:!u||u==="text"||u==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:k,config:e,request:E};dy(function(D){r(D),_()},function(D){n(D),_()},I),E=null}"onloadend"in E?E.onloadend=b:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.startsWith("file:"))||setTimeout(b)},E.onabort=function(){E&&(n(new Ie("Request aborted",Ie.ECONNABORTED,e,E)),_(),E=null)},E.onerror=function(U){const I=U&&U.message?U.message:"Network Error",W=new Ie(I,Ie.ERR_NETWORK,e,E);W.event=U||null,n(W),_(),E=null},E.ontimeout=function(){let U=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const I=s.transitional||$d;s.timeoutErrorMessage&&(U=s.timeoutErrorMessage),n(new Ie(U,I.clarifyTimeoutError?Ie.ETIMEDOUT:Ie.ECONNABORTED,e,E)),_(),E=null},c===void 0&&o.setContentType(null),"setRequestHeader"in E&&te.forEach(ny(o),function(U,I){E.setRequestHeader(I,U)}),te.isUndefined(s.withCredentials)||(E.withCredentials=!!s.withCredentials),u&&u!=="json"&&(E.responseType=s.responseType),d&&([g,w]=Ko(d,!0),E.addEventListener("progress",g)),h&&E.upload&&([v,S]=Ko(h),E.upload.addEventListener("progress",v),E.upload.addEventListener("loadend",S)),(s.cancelToken||s.signal)&&(p=k=>{E&&(n(!k||k.type?new t0(null,e,E):k),E.abort(),_(),E=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const F=rb(s.url);if(F&&!Nr.protocols.includes(F)){n(new Ie("Unsupported protocol "+F+":",Ie.ERR_BAD_REQUEST,e));return}E.send(c||null)})},gb=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const s=function(h){if(!n){n=!0,o();const d=h instanceof Error?h:this.reason;r.abort(d instanceof Ie?d:new t0(d instanceof Error?d.message:d))}};let c=t&&setTimeout(()=>{c=null,s(new Ie(`timeout of ${t}ms exceeded`,Ie.ETIMEDOUT))},t);const o=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(h=>{h.unsubscribe?h.unsubscribe(s):h.removeEventListener("abort",s)}),e=null)};e.forEach(h=>h.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>te.asap(o),u},yb=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,s;for(;n<r;)s=n+t,yield e.slice(n,s),n=s},_b=async function*(e,t){for await(const r of Sb(e))yield*yb(r,t)},Sb=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},eg=(e,t,r,n)=>{const s=_b(e,t);let c=0,o,u=h=>{o||(o=!0,n&&n(h))};return new ReadableStream({async pull(h){try{const{done:d,value:p}=await s.next();if(d){u(),h.close();return}let v=p.byteLength;if(r){let g=c+=v;r(g)}h.enqueue(new Uint8Array(p))}catch(d){throw u(d),d}},cancel(h){return u(h),s.return()}},{highWaterMark:2})},Zo=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Eb=(e,t,r)=>t+2<r&&Zo(e.charCodeAt(t+1))&&Zo(e.charCodeAt(t+2));function wb(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let o=n.length;const u=n.length;for(let S=0;S<u;S++)if(n.charCodeAt(S)===37&&S+2<u){const w=n.charCodeAt(S+1),_=n.charCodeAt(S+2);Zo(w)&&Zo(_)&&(o-=2,S+=2)}let h=0,d=u-1;const p=S=>S>=2&&n.charCodeAt(S-2)===37&&n.charCodeAt(S-1)===51&&(n.charCodeAt(S)===68||n.charCodeAt(S)===100);d>=0&&(n.charCodeAt(d)===61?(h++,d--):p(d)&&(h++,d-=3)),h===1&&d>=0&&(n.charCodeAt(d)===61||p(d))&&h++;const g=Math.floor(o/4)*3-(h||0);return g>0?g:0}let c=0;for(let o=0,u=n.length;o<u;o++){const h=n.charCodeAt(o);if(h===37&&Eb(n,o,u))c+=1,o+=2;else if(h<128)c+=1;else if(h<2048)c+=2;else if(h>=55296&&h<=56319&&o+1<u){const d=n.charCodeAt(o+1);d>=56320&&d<=57343?(c+=4,o++):c+=3}else c+=3}return c}const Jd="1.18.0",tg=64*1024,{isFunction:Co}=te,Tb=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),rg=e=>{if(!te.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},ag=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bb=e=>{const t=e.indexOf("://");let r=e;return t!==-1&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},kb=e=>{const t=te.global!==void 0&&te.global!==null?te.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=te.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:c,Response:o}=e,u=s?Co(s):typeof fetch=="function",h=Co(c),d=Co(o);if(!u)return!1;const p=u&&Co(r),v=u&&(typeof n=="function"?(b=>F=>b.encode(F))(new n):async b=>new Uint8Array(await new c(b).arrayBuffer())),g=h&&p&&ag(()=>{let b=!1;const F=new c(Nr.origin,{body:new r,method:"POST",get duplex(){return b=!0,"half"}}),k=F.headers.has("Content-Type");return F.body!=null&&F.body.cancel(),b&&!k}),S=d&&p&&ag(()=>te.isReadableStream(new o("").body)),w={stream:S&&(b=>b.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!w[b]&&(w[b]=(F,k)=>{let U=F&&F[b];if(U)return U.call(F);throw new Ie(`Response type '${b}' is not supported`,Ie.ERR_NOT_SUPPORT,k)})});const _=async b=>{if(b==null)return 0;if(te.isBlob(b))return b.size;if(te.isSpecCompliantForm(b))return(await new c(Nr.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(te.isArrayBufferView(b)||te.isArrayBuffer(b))return b.byteLength;if(te.isURLSearchParams(b)&&(b=b+""),te.isString(b))return(await v(b)).byteLength},E=async(b,F)=>{const k=te.toFiniteNumber(b.getContentLength());return k??_(F)};return async b=>{let{url:F,method:k,data:U,signal:I,cancelToken:W,timeout:D,onDownloadProgress:ee,onUploadProgress:X,responseType:ne,headers:re,withCredentials:Q="same-origin",fetchOptions:me,maxContentLength:Ce,maxBodyLength:ve}=py(b);const Z=te.isNumber(Ce)&&Ce>-1,ie=te.isNumber(ve)&&ve>-1,Re=Y=>te.hasOwnProp(b,Y)?b[Y]:void 0;let K=s||fetch;ne=ne?(ne+"").toLowerCase():"text";let Ae=gb([I,W&&W.toAbortSignal()],D),j=null;const A=Ae&&Ae.unsubscribe&&(()=>{Ae.unsubscribe()});let P,L=null;const O=()=>new Ie("Request body larger than maxBodyLength limit",Ie.ERR_BAD_REQUEST,b,j);try{let Y;const de=Re("auth");if(de){const Ne=te.getSafeProp(de,"username")||"",De=te.getSafeProp(de,"password")||"";Y={username:Ne,password:De}}if(bb(F)){const Ne=new URL(F,Nr.origin);if(!Y&&(Ne.username||Ne.password)){const De=rg(Ne.username),vt=rg(Ne.password);Y={username:De,password:vt}}(Ne.username||Ne.password)&&(Ne.username="",Ne.password="",F=Ne.href)}if(Y&&(re.delete("authorization"),re.set("Authorization","Basic "+btoa(Tb((Y.username||"")+":"+(Y.password||""))))),Z&&typeof F=="string"&&F.startsWith("data:")&&wb(F)>Ce)throw new Ie("maxContentLength size of "+Ce+" exceeded",Ie.ERR_BAD_RESPONSE,b,j);if(ie&&k!=="get"&&k!=="head"){const Ne=await _(U);if(typeof Ne=="number"&&isFinite(Ne)&&(P=Ne,Ne>ve))throw O()}const ge=ie&&(te.isReadableStream(U)||te.isStream(U)),pe=(Ne,De,vt)=>eg(Ne,tg,Bt=>{if(ie&&Bt>ve)throw L=O();De&&De(Bt)},vt);if(g&&k!=="get"&&k!=="head"&&(X||ge)){if(P=P??await E(re,U),P!==0||ge){let Ne=new c(F,{method:"POST",body:U,duplex:"half"}),De;if(te.isFormData(U)&&(De=Ne.headers.get("content-type"))&&re.setContentType(De),Ne.body){const[vt,Bt]=X&&Zv(P,Ko($v(X)))||[];U=pe(Ne.body,vt,Bt)}}}else if(ge&&!h&&p&&k!=="get"&&k!=="head")U=pe(U);else if(ge&&h&&!g&&k!=="get"&&k!=="head")throw new Ie("Stream request bodies are not supported by the current fetch implementation",Ie.ERR_NOT_SUPPORT,b,j);te.isString(Q)||(Q=Q?"include":"omit");const Ee=h&&"credentials"in c.prototype;if(te.isFormData(U)){const Ne=re.getContentType();Ne&&/^multipart\/form-data/i.test(Ne)&&!/boundary=/i.test(Ne)&&re.delete("content-type")}re.set("User-Agent","axios/"+Jd,!1);const He={...me,signal:Ae,method:k.toUpperCase(),headers:ny(re.normalize()),body:U,duplex:"half",credentials:Ee?Q:void 0};j=h&&new c(F,He);let V=await(h?K(j,me):K(F,He));const ft=Vr.from(V.headers);if(Z){const Ne=te.toFiniteNumber(ft.getContentLength());if(Ne!=null&&Ne>Ce)throw new Ie("maxContentLength size of "+Ce+" exceeded",Ie.ERR_BAD_RESPONSE,b,j)}const qe=S&&(ne==="stream"||ne==="response");if(S&&V.body&&(ee||Z||qe&&A)){const Ne={};["status","statusText","headers"].forEach(Lr=>{Ne[Lr]=V[Lr]});const De=te.toFiniteNumber(ft.getContentLength()),[vt,Bt]=ee&&Zv(De,Ko($v(ee),!0))||[];let Qt=0;const br=Lr=>{if(Z&&(Qt=Lr,Qt>Ce))throw new Ie("maxContentLength size of "+Ce+" exceeded",Ie.ERR_BAD_RESPONSE,b,j);vt&&vt(Lr)};V=new o(eg(V.body,tg,br,()=>{Bt&&Bt(),A&&A()}),Ne)}ne=ne||"text";let tt=await w[te.findKey(w,ne)||"text"](V,b);if(Z&&!S&&!qe){let Ne;if(tt!=null&&(typeof tt.byteLength=="number"?Ne=tt.byteLength:typeof tt.size=="number"?Ne=tt.size:typeof tt=="string"&&(Ne=typeof n=="function"?new n().encode(tt).byteLength:tt.length)),typeof Ne=="number"&&Ne>Ce)throw new Ie("maxContentLength size of "+Ce+" exceeded",Ie.ERR_BAD_RESPONSE,b,j)}return!qe&&A&&A(),await new Promise((Ne,De)=>{dy(Ne,De,{data:tt,headers:Vr.from(V.headers),status:V.status,statusText:V.statusText,config:b,request:j})})}catch(Y){if(A&&A(),Ae&&Ae.aborted&&Ae.reason instanceof Ie){const de=Ae.reason;throw de.config=b,j&&(de.request=j),Y!==de&&(de.cause=Y),de}throw L?(j&&!L.request&&(L.request=j),L):Y instanceof Ie?(j&&!Y.request&&(Y.request=j),Y):Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new Ie("Network Error",Ie.ERR_NETWORK,b,j,Y&&Y.response),{cause:Y.cause||Y}):Ie.from(Y,Y&&Y.code,b,j,Y&&Y.response)}}},Ab=new Map,my=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:s}=t,c=[n,s,r];let o=c.length,u=o,h,d,p=Ab;for(;u--;)h=c[u],d=p.get(h),d===void 0&&p.set(h,d=u?new Map:kb(t)),p=d;return d};my();const e1={http:z3,xhr:vb,fetch:{get:my}};te.forEach(e1,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const ng=e=>`- ${e}`,Cb=e=>te.isFunction(e)||e===null||e===!1;function Fb(e,t){e=te.isArray(e)?e:[e];const{length:r}=e;let n,s;const c={};for(let o=0;o<r;o++){n=e[o];let u;if(s=n,!Cb(n)&&(s=e1[(u=String(n)).toLowerCase()],s===void 0))throw new Ie(`Unknown adapter '${u}'`);if(s&&(te.isFunction(s)||(s=s.get(t))))break;c[u||"#"+o]=s}if(!s){const o=Object.entries(c).map(([h,d])=>`adapter ${h} `+(d===!1?"is not supported by the environment":"is not available in the build"));let u=r?o.length>1?`since :
`+o.map(ng).join(`
`):" "+ng(o[0]):"as no adapter specified";throw new Ie("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return s}const vy={getAdapter:Fb,adapters:e1};function Qh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new t0(null,e)}function ig(e){return Qh(e),e.headers=Vr.from(e.headers),e.data=$h.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vy.getAdapter(e.adapter||e0.adapter,e)(e).then(function(n){Qh(e),e.response=n;try{n.data=$h.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=Vr.from(n.headers),n},function(n){if(!hy(n)&&(Qh(e),n&&n.response)){e.response=n.response;try{n.response.data=$h.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Vr.from(n.response.headers)}return Promise.reject(n)})}const Sf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sf[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const sg={};Sf.transitional=function(t,r,n){function s(c,o){return"[Axios v"+Jd+"] Transitional option '"+c+"'"+o+(n?". "+n:"")}return(c,o,u)=>{if(t===!1)throw new Ie(s(o," has been removed"+(r?" in "+r:"")),Ie.ERR_DEPRECATED);return r&&!sg[o]&&(sg[o]=!0,console.warn(s(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(c,o,u):!0}};Sf.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Rb(e,t,r){if(typeof e!="object")throw new Ie("options must be an object",Ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const c=n[s],o=Object.prototype.hasOwnProperty.call(t,c)?t[c]:void 0;if(o){const u=e[c],h=u===void 0||o(u,c,e);if(h!==!0)throw new Ie("option "+c+" must be "+h,Ie.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ie("Unknown option "+c,Ie.ERR_BAD_OPTION)}}const Xo={assertOptions:Rb,validators:Sf},Ur=Xo.validators;let Zi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Yv,response:new Yv}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const c=(()=>{if(!s.stack)return"";const o=s.stack.indexOf(`
`);return o===-1?"":s.stack.slice(o+1)})();try{if(!n.stack)n.stack=c;else if(c){const o=c.indexOf(`
`),u=o===-1?-1:c.indexOf(`
`,o+1),h=u===-1?"":c.slice(u+1);String(n.stack).endsWith(h)||(n.stack+=`
`+c)}}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=ns(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:c}=r;n!==void 0&&Xo.assertOptions(n,{silentJSONParsing:Ur.transitional(Ur.boolean),forcedJSONParsing:Ur.transitional(Ur.boolean),clarifyTimeoutError:Ur.transitional(Ur.boolean),legacyInterceptorReqResOrdering:Ur.transitional(Ur.boolean),advertiseZstdAcceptEncoding:Ur.transitional(Ur.boolean),validateStatusUndefinedResolves:Ur.transitional(Ur.boolean)},!1),s!=null&&(te.isFunction(s)?r.paramsSerializer={serialize:s}:Xo.assertOptions(s,{encode:Ur.function,serialize:Ur.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Xo.assertOptions(r,{baseUrl:Ur.spelling("baseURL"),withXsrfToken:Ur.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=c&&te.merge(c.common,c[r.method]);c&&te.forEach(["delete","get","head","post","put","patch","query","common"],w=>{delete c[w]}),r.headers=Vr.concat(o,c);const u=[];let h=!0;this.interceptors.request.forEach(function(_){if(typeof _.runWhen=="function"&&_.runWhen(r)===!1)return;h=h&&_.synchronous;const E=r.transitional||$d;E&&E.legacyInterceptorReqResOrdering?u.unshift(_.fulfilled,_.rejected):u.push(_.fulfilled,_.rejected)});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let p,v=0,g;if(!h){const w=[ig.bind(this),void 0];for(w.unshift(...u),w.push(...d),g=w.length,p=Promise.resolve(r);v<g;)p=p.then(w[v++],w[v++]);return p}g=u.length;let S=r;for(;v<g;){const w=u[v++],_=u[v++];try{S=w(S)}catch(E){_.call(this,E);break}}try{p=ig.call(this,S)}catch(w){return Promise.reject(w)}for(v=0,g=d.length;v<g;)p=p.then(d[v++],d[v++]);return p}getUri(t){t=ns(this.defaults,t);const r=xy(t.baseURL,t.url,t.allowAbsoluteUrls,t);return oy(r,t.params,t.paramsSerializer)}};te.forEach(["delete","get","head","options"],function(t){Zi.prototype[t]=function(r,n){return this.request(ns(n||{},{method:t,url:r,data:n&&te.hasOwnProp(n,"data")?n.data:void 0}))}});te.forEach(["post","put","patch","query"],function(t){function r(n){return function(c,o,u){return this.request(ns(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:c,data:o}))}}Zi.prototype[t]=r(),t!=="query"&&(Zi.prototype[t+"Form"]=r(!0))});let Ob=class gy{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(c){r=c});const n=this;this.promise.then(s=>{if(!n._listeners)return;let c=n._listeners.length;for(;c-- >0;)n._listeners[c](s);n._listeners=null}),this.promise.then=s=>{let c;const o=new Promise(u=>{n.subscribe(u),c=u}).then(s);return o.cancel=function(){n.unsubscribe(c)},o},t(function(c,o,u){n.reason||(n.reason=new t0(c,o,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new gy(function(s){t=s}),cancel:t}}};function Db(e){return function(r){return e.apply(null,r)}}function Nb(e){return te.isObject(e)&&e.isAxiosError===!0}const Ed={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ed).forEach(([e,t])=>{Ed[t]=e});function yy(e){const t=new Zi(e),r=K2(Zi.prototype.request,t);return te.extend(r,Zi.prototype,t,{allOwnKeys:!0}),te.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return yy(ns(e,s))},r}const cr=yy(e0);cr.Axios=Zi;cr.CanceledError=t0;cr.CancelToken=Ob;cr.isCancel=hy;cr.VERSION=Jd;cr.toFormData=_f;cr.AxiosError=Ie;cr.Cancel=cr.CanceledError;cr.all=function(t){return Promise.all(t)};cr.spread=Db;cr.isAxiosError=Nb;cr.mergeConfig=ns;cr.AxiosHeaders=Vr;cr.formToJSON=e=>uy(te.isHTMLForm(e)?new FormData(e):e);cr.getAdapter=vy.getAdapter;cr.HttpStatusCode=Ed;cr.default=cr;const{Axios:tM,AxiosError:rM,CanceledError:aM,isCancel:nM,CancelToken:iM,VERSION:sM,all:lM,Cancel:cM,isAxiosError:oM,spread:fM,toFormData:uM,AxiosHeaders:hM,HttpStatusCode:dM,formToJSON:xM,getAdapter:pM,mergeConfig:mM,create:vM}=cr,Dr=cr.create({baseURL:"http://localhost:8000",headers:{Accept:"application/json","Content-Type":"application/json"},withCredentials:!1});Dr.interceptors.request.use(e=>{const t=localStorage.getItem("api_token");return t&&(e.headers.Authorization=`Bearer ${t}`),e});const _y=q.createContext({}),Mb=({children:e})=>{const[t,r]=q.useState(!1),[n,s]=q.useState(null),[c,o]=q.useState(!0);q.useEffect(()=>{u()},[]);const u=async()=>{try{if(localStorage.getItem("api_token")){const v=await Dr.get("/api/v1/auth/me");s(v.data.data),r(!0)}else r(!1)}catch{localStorage.removeItem("api_token"),r(!1)}finally{o(!1)}},h=async p=>{const v=await Dr.post("/api/v1/auth/login",p);localStorage.setItem("api_token",v.data.data.access_token),s(v.data.data.user),r(!0)},d=async()=>{try{await Dr.post("/api/v1/auth/logout")}catch{}localStorage.removeItem("api_token"),s(null),r(!1)};return y.jsx(_y.Provider,{value:{isAuthenticated:t,user:n,login:h,logout:d,loading:c},children:!c&&e})},_l=()=>q.useContext(_y),Lb=()=>{const{isAuthenticated:e,loading:t}=_l();return t?y.jsx("div",{style:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",color:"white"},children:"Cargando ORION OS..."}):e?y.jsx(X2,{}):y.jsx(Wd,{to:"/login",replace:!0})};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sy=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ub=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase());/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lg=e=>{const t=Ub(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var Jh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jb=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Ib=q.createContext({}),zb=()=>q.useContext(Ib),Pb=q.forwardRef(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:n,className:s="",children:c,iconNode:o,...u},h)=>{const{size:d=24,strokeWidth:p=2,absoluteStrokeWidth:v=!1,color:g="currentColor",className:S=""}=zb()??{},w=n??v?Number(r??p)*24/Number(t??d):r??p;return q.createElement("svg",{ref:h,...Jh,width:t??d??Jh.width,height:t??d??Jh.height,stroke:e??g,strokeWidth:w,className:Sy("lucide",S,s),...!c&&!jb(u)&&{"aria-hidden":"true"},...u},[...o.map(([_,E])=>q.createElement(_,E)),...Array.isArray(c)?c:[c]])});/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xt=(e,t)=>{const r=q.forwardRef(({className:n,...s},c)=>q.createElement(Pb,{ref:c,iconNode:t,className:Sy(`lucide-${Bb(lg(e))}`,`lucide-${e}`,n),...s}));return r.displayName=lg(e),r};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hb=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Vb=xt("book-open",Hb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wb=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Xb=xt("camera",Wb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gb=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$o=xt("check",Gb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qb=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ey=xt("chevron-left",qb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Yb=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Kb=xt("chevron-right",Yb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],$b=xt("circle-alert",Zb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qb=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Jb=xt("circle-check-big",Qb);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ek=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],tk=xt("circle-check",ek);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],cg=xt("circle-plus",rk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ak=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],nk=xt("clock",ak);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ik=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],wd=xt("copy",ik);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sk=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],lk=xt("database",sk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ck=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ok=xt("download",ck);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fk=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],uk=xt("eye-off",fk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hk=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],dk=xt("eye",hk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xk=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],Qo=xt("file-spreadsheet",xk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pk=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],wy=xt("file-text",pk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],vk=xt("info",mk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gk=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],og=xt("laptop",gk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yk=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ha=xt("loader-circle",yk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _k=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Td=xt("lock",_k);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sk=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],Ek=xt("log-in",Sk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wk=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],Tk=xt("log-out",wk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bk=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Ty=xt("moon",bk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kk=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],fg=xt("pen",kk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ak=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],by=xt("power",Ak);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ck=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Lc=xt("search",Ck);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fk=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Rk=xt("settings",Fk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ok=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],bd=xt("shield",Ok);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dk=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],ky=xt("sun",Dk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nk=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],$i=xt("trash-2",Nk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mk=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Jo=xt("triangle-alert",Mk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lk=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],ug=xt("upload",Lk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bk=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],hg=xt("user-plus",Bk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Uk=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],jk=xt("user",Uk);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ik=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Ay=xt("users",Ik);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Qi=xt("x",zk),Pk=()=>{const{login:e,isAuthenticated:t}=_l(),r=mf(),[n,s]=q.useState(""),[c,o]=q.useState(""),[u,h]=q.useState(!1),[d,p]=q.useState(""),[v,g]=q.useState(!1),[S,w]=q.useState(""),[_,E]=q.useState(!1),[b,F]=q.useState(""),[k,U]=q.useState(!1),[I,W]=q.useState(!1),[D,ee]=q.useState(!1),[X,ne]=q.useState(!1),[re,Q]=q.useState(()=>document.body.classList.contains("dark")),me=()=>{const K=!re;Q(K),K?(document.body.classList.add("dark"),localStorage.setItem("theme","dark")):(document.body.classList.remove("dark"),localStorage.setItem("theme","light"))},Ce="OrionSecureDeviceKey2026",ve=K=>{if(!K)return"";let Ae="";for(let j=0;j<K.length;j++){const A=K.charCodeAt(j)^Ce.charCodeAt(j%Ce.length);Ae+=String.fromCharCode(A)}return btoa(Ae).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")};q.useEffect(()=>{t&&r("/")},[t,r]),q.useEffect(()=>{let K=localStorage.getItem("orion_device_uuid");K||(K="orion_"+Math.random().toString(36).substring(2,15)+"_"+Math.random().toString(36).substring(2,15),localStorage.setItem("orion_device_uuid",K)),w(K)},[]);const Z=async K=>{var Ae,j,A,P,L;K.preventDefault(),g(!0),p(""),E(!1);try{const O=ve(S);await e({username:n,password:c,uuid:O}),r("/")}catch(O){((Ae=O.response)==null?void 0:Ae.status)===403&&((A=(j=O.response)==null?void 0:j.data)!=null&&A.unauthorized)?(F(O.response.data.uuid||S),E(!0)):p(((L=(P=O.response)==null?void 0:P.data)==null?void 0:L.error)||"Usuario o Contraseña Incorrectos")}finally{g(!1)}},ie=()=>{navigator.clipboard.writeText(b),U(!0),setTimeout(()=>U(!1),2e3)},Re=()=>{const K=`Hola Administrador, solicito autorización para acceder al sistema Orion.
Usuario: ${n}
UUID: ${b}`;navigator.clipboard.writeText(K),W(!0),setTimeout(()=>W(!1),2e3)};return y.jsxs("div",{className:"main-layout",style:{justifyContent:"center",alignItems:"center",background:"var(--bg-surface)",position:"relative",overflow:"hidden",padding:"1.5rem"},children:[y.jsx("div",{style:{position:"absolute",top:"20px",right:"24px",zIndex:1e3},children:y.jsx("div",{className:"theme-switch-track",onClick:me,title:re?"Desactivar Modo Oscuro":"Activar Modo Oscuro",children:y.jsx("div",{className:"theme-switch-thumb",children:re?y.jsx(Ty,{size:10,strokeWidth:3}):y.jsx(ky,{size:10,strokeWidth:3})})})}),y.jsx("div",{style:{position:"absolute",top:"-10%",left:"-10%",width:"320px",height:"320px",borderRadius:"50%",background:"rgba(168, 85, 247, 0.12)",filter:"blur(100px)",pointerEvents:"none",zIndex:0}}),y.jsx("div",{style:{position:"absolute",bottom:"-10%",right:"-10%",width:"340px",height:"340px",borderRadius:"50%",background:"rgba(74, 167, 252, 0.08)",filter:"blur(100px)",pointerEvents:"none",zIndex:0}}),y.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:0,color:"rgba(255, 255, 255, 0.015)",overflow:"hidden"},children:[y.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[y.jsx("defs",{children:y.jsx("pattern",{id:"login-dot-grid",width:"24",height:"24",patternUnits:"userSpaceOnUse",children:y.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"currentColor"})})}),y.jsx("rect",{width:"100%",height:"100%",fill:"url(#login-dot-grid)"})]}),y.jsxs("svg",{viewBox:"0 0 200 200",style:{position:"absolute",bottom:"-5%",right:"-10%",width:"280px",height:"280px",opacity:.15},xmlns:"http://www.w3.org/2000/svg",children:[y.jsx("circle",{cx:"100",cy:"100",r:"85",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("circle",{cx:"100",cy:"100",r:"65",stroke:"currentColor",strokeWidth:"0.5",fill:"none",strokeDasharray:"4 3"}),y.jsx("circle",{cx:"100",cy:"100",r:"45",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("circle",{cx:"100",cy:"100",r:"25",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("line",{x1:"100",y1:"10",x2:"100",y2:"190",stroke:"currentColor",strokeWidth:"0.5"}),y.jsx("line",{x1:"10",y1:"100",x2:"190",y2:"100",stroke:"currentColor",strokeWidth:"0.5"})]})]}),y.jsxs("div",{className:"login-screen-container",style:{zIndex:1,width:"100%",maxWidth:"380px",animation:"fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards"},children:[y.jsx("style",{dangerouslySetInnerHTML:{__html:`
          @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
          }
          @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-6px); }
            40%, 80% { transform: translateX(6px); }
          }
        `}}),y.jsx("div",{style:{width:"84px",height:"84px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 8px 24px rgba(0, 0, 0, 0.5)",marginBottom:"1.2rem",border:"2px solid rgba(255, 255, 255, 0.15)",overflow:"hidden",background:"#0c0d12"},children:y.jsx("img",{src:"/img/logo_orion.jpg",alt:"Orion Logo",style:{width:"100%",height:"100%",objectFit:"cover"}})}),y.jsxs("div",{className:"login-glass-card",children:[y.jsxs("div",{style:{textAlign:"center",marginBottom:"1.8rem"},children:[y.jsx("h1",{style:{fontSize:"1.45rem",fontWeight:800,color:"var(--text-primary)",letterSpacing:"-0.5px"},children:"Orion Red"}),y.jsx("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",fontWeight:500,marginTop:"4px"},children:"Control de Placas y Reportes Vehiculares"})]}),d&&y.jsxs("div",{style:{background:"rgba(239, 68, 68, 0.08)",color:"var(--accent-red)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.15)",marginBottom:"1.2rem",display:"flex",alignItems:"center",gap:"8px",animation:"shake 0.4s ease"},children:[y.jsx(Jo,{size:14,style:{flexShrink:0}}),y.jsx("span",{children:d})]}),y.jsxs("form",{onSubmit:Z,style:{display:"flex",flexDirection:"column",gap:"14px"},children:[y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:[y.jsx("label",{style:{fontSize:"0.7rem",fontWeight:700,color:"var(--text-secondary)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Usuario"}),y.jsxs("div",{style:{position:"relative",display:"flex",alignItems:"center"},children:[y.jsx(jk,{size:16,style:{position:"absolute",left:"14px",color:D?"var(--accent-purple)":"var(--text-muted)",transition:"color 0.2s ease"}}),y.jsx("input",{type:"text",value:n,onChange:K=>s(K.target.value),onFocus:()=>ee(!0),onBlur:()=>ee(!1),placeholder:"Nombre de usuario",required:!0,className:"login-input",style:{width:"100%"}})]})]}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"6px",marginBottom:"8px"},children:[y.jsx("label",{style:{fontSize:"0.7rem",fontWeight:700,color:"var(--text-secondary)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Contraseña"}),y.jsxs("div",{style:{position:"relative",display:"flex",alignItems:"center"},children:[y.jsx(Td,{size:16,style:{position:"absolute",left:"14px",color:X?"var(--accent-purple)":"var(--text-muted)",transition:"color 0.2s ease"}}),y.jsx("input",{type:u?"text":"password",value:c,onChange:K=>o(K.target.value),onFocus:()=>ne(!0),onBlur:()=>ne(!1),placeholder:"••••••••",required:!0,className:"login-input password-input",style:{width:"100%",paddingRight:"42px"}}),y.jsx("button",{type:"button",onClick:()=>h(!u),style:{position:"absolute",right:"14px",border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",display:"flex",alignItems:"center",padding:0,outline:"none"},children:u?y.jsx(uk,{size:16}):y.jsx(dk,{size:16})})]})]}),y.jsx("button",{type:"submit",className:"primary-btn-accent",disabled:v,style:{height:"44px",borderRadius:"12px",background:"var(--accent-purple)",color:"#FFFFFF",fontSize:"0.82rem",fontWeight:800,letterSpacing:"1px",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",boxShadow:"0 8px 24px rgba(168, 85, 247, 0.2)",transition:"all 0.2s ease",outline:"none"},onMouseEnter:K=>K.currentTarget.style.opacity="0.9",onMouseLeave:K=>K.currentTarget.style.opacity="1",children:v?y.jsx(Ha,{size:16,className:"spin"}):y.jsxs(y.Fragment,{children:[y.jsx(Ek,{size:16}),"INGRESAR"]})})]})]}),y.jsx("div",{style:{marginTop:"2rem",fontSize:"0.72rem",color:"var(--text-muted)",fontWeight:600,letterSpacing:"0.5px",textAlign:"center"},children:"SISTEMA DE MONITOREO Y REGISTRO VEHICULAR • ORION"})]}),_&&y.jsx("div",{style:Hk,children:y.jsxs("div",{className:"soft-card",style:{...Vk,maxWidth:"340px",width:"100%",textAlign:"center",position:"relative"},children:[y.jsx("button",{onClick:()=>E(!1),style:{position:"absolute",top:"12px",right:"12px",border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",outline:"none"},children:y.jsx(Qi,{size:18})}),y.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"0.6rem",color:"var(--accent-red)"},children:y.jsx(Jo,{size:40})}),y.jsx("h3",{style:{fontSize:"0.95rem",fontWeight:800,color:"var(--text-primary)"},children:"Dispositivo no Autorizado"}),y.jsx("p",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",marginTop:"6px",lineHeight:"1.3"},children:"Este dispositivo requiere vinculación. Pide a un Administrador que escanee este código QR para autorizar el acceso de este equipo al sistema de reportes."}),y.jsx("div",{style:{margin:"12px 0",display:"flex",justifyContent:"center"},children:y.jsx("div",{style:{padding:"8px",background:"#FFFFFF",borderRadius:"10px",display:"inline-block"},children:y.jsx("img",{src:`https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${encodeURIComponent(n+"|"+b)}`,alt:"QR de Autorización",style:{width:"150px",height:"150px",display:"block"}})})}),y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",background:"var(--bg-surface)",border:"1px solid rgba(255,255,255,0.06)",padding:"6px 10px",borderRadius:"8px",justifyContent:"space-between",marginBottom:"8px"},children:[y.jsx("span",{style:{fontSize:"0.62rem",fontFamily:"monospace",color:"var(--text-secondary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"240px"},children:b}),y.jsx("button",{onClick:ie,style:{border:"none",background:"transparent",cursor:"pointer",color:k?"var(--accent-green)":"var(--text-muted)",padding:"2px",display:"flex",alignItems:"center",outline:"none"},title:"Copiar UUID",children:k?y.jsx($o,{size:13}):y.jsx(wd,{size:13})})]}),y.jsxs("button",{onClick:Re,style:{width:"100%",height:"36px",borderRadius:"8px",background:I?"rgba(34, 197, 94, 0.08)":"rgba(168, 85, 247, 0.08)",color:I?"var(--accent-green)":"var(--accent-purple)",border:I?"1px solid rgba(34, 197, 94, 0.15)":"1px solid rgba(168, 85, 247, 0.15)",fontWeight:700,fontSize:"0.74rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",marginBottom:"8px",outline:"none",transition:"all 0.2s"},children:[I?y.jsx($o,{size:14}):y.jsx(wy,{size:14}),I?"¡SOLICITUD COPIADA!":"COPIAR SOLICITUD PARA WHATSAPP"]}),y.jsx("button",{onClick:()=>E(!1),style:{width:"100%",height:"36px",borderRadius:"8px",background:"rgba(255,255,255,0.02)",color:"var(--text-secondary)",fontWeight:700,fontSize:"0.74rem",border:"1px solid rgba(255,255,255,0.06)",cursor:"pointer",outline:"none"},children:"CERRAR"})]})})]})},Hk={position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(12, 13, 18, 0.5)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem"},Vk={width:"100%",maxWidth:"340px",background:"var(--bg-card)",borderRadius:"20px",padding:"1.2rem",boxShadow:"var(--shadow-soft)",animation:"scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1)",border:"1px solid rgba(255,255,255,0.08)"},Wk=()=>{const{user:e}=_l(),t=(e==null?void 0:e.name)||"Ismael Bennacer",[r,n]=q.useState(()=>document.body.classList.contains("dark"));q.useEffect(()=>{const b=new MutationObserver(()=>{n(document.body.classList.contains("dark"))});return b.observe(document.body,{attributes:!0,attributeFilter:["class"]}),()=>b.disconnect()},[]);const[s,c]=q.useState(""),[o,u]=q.useState([]),[h,d]=q.useState(!1),[p,v]=q.useState(null),g=[{id:101,plate_name:"MHX832",description:"Vehículo Particular - Autorizado",detail:"Operación normal sin novedades",location:"Bogotá, D.C.",level:1,entry_date:"2026-06-18",exit_date:null,antiquity_level:1},{id:102,plate_name:"DFG456",description:"Acceso Restringido - Alerta de Tránsito",detail:"Revisión técnica de gases pendiente",location:"Medellín, ANT",level:3,entry_date:"2026-06-19",exit_date:null,antiquity_level:3},{id:103,plate_name:"KLO789",description:"Carga Comercial - En Tránsito",detail:"Permiso especial de transporte masivo",location:"Cali, VAL",level:2,entry_date:"2026-06-20",exit_date:null,antiquity_level:2}];q.useEffect(()=>{const b=setTimeout(()=>{s.length>=3?S(s):u([])},400);return()=>clearTimeout(b)},[s]);const S=async b=>{d(!0);try{const F=await Dr.get("/api/v1/plates/search",{params:{q:b}});u(F.data.data)}catch(F){console.error("Error fetching plates",F),u([])}finally{d(!1)}},w=b=>{switch(b){case 1:return"#FF5B60";case 2:return"#10B981";case 3:return"#FF5C8A";case 4:return"#2EA8E5";case 5:return"#7B52F2";default:return"#7E8294"}},_=()=>{const b={month:"long",day:"numeric",year:"numeric"},F=new Date().toLocaleDateString("es-ES",b);return F.charAt(0).toUpperCase()+F.slice(1)},E=b=>b.length>=6?`${b.substring(0,3)} • ${b.substring(3)}`:b;return y.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[y.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{className:"date-text",children:_()}),y.jsx("h1",{className:"user-title",children:t})]})}),y.jsx("div",{className:"search-pill-wrapper",style:{justifyContent:"center"},children:y.jsxs("div",{className:"search-pill-container",style:{flex:"none",width:"60%",minWidth:"180px",height:"46px",borderRadius:"23px",padding:"0 16px",gap:"10px",display:"flex",alignItems:"center",transition:"var(--transition-smooth)"},children:[y.jsx(Lc,{size:20,color:"var(--accent-purple)",style:{flexShrink:0}}),y.jsx("input",{type:"text",placeholder:"Buscar...",value:s,onChange:b=>c(b.target.value.toUpperCase()),maxLength:7,style:{fontSize:"0.9rem",textAlign:"left",border:"none",background:"transparent",outline:"none",color:"var(--text-primary)",flex:1}}),h&&y.jsx("div",{style:{width:"16px",height:"16px",border:"2px solid rgba(123, 82, 242, 0.1)",borderTopColor:"var(--accent-purple)",borderRadius:"50%",animation:"spin 0.8s linear infinite",flexShrink:0}})]})}),s.length<3&&y.jsxs("div",{className:"context-cards-slider",children:[y.jsxs("div",{className:"context-card-peach",children:[y.jsx("span",{className:"title",children:"Servicios Orion"}),y.jsx("span",{className:"value",children:"Activo"}),y.jsx("span",{className:"subtitle",children:"Bogotá, Colombia"}),y.jsxs("svg",{style:{position:"absolute",right:10,bottom:10,width:70,height:70,opacity:.85},viewBox:"0 0 100 100",children:[y.jsx("circle",{cx:"75",cy:"25",r:"10",fill:"#FFA280"}),y.jsx("path",{d:"M40 90 L40 50 M40 50 L25 40 M40 50 L55 40",stroke:"var(--accent-peach-dark)",strokeWidth:"3",strokeLinecap:"round"}),y.jsx("circle",{cx:"40",cy:"50",r:"3",fill:"var(--accent-peach-dark)"})]})]}),y.jsxs("div",{className:"context-card-map",children:[y.jsx("span",{className:"title",children:"Base de Datos"}),y.jsx("span",{className:"value",children:"API V1"}),y.jsx("span",{className:"subtitle",children:"Conexión Segura"})]})]}),y.jsx("div",{className:"section-title-container",children:y.jsx("h2",{className:"section-title",children:s.length>=3?"Resultados de Búsqueda":"Consultas Recientes"})}),y.jsx("div",{className:"results-grid-container",style:{gap:"10px",alignContent:"start",paddingBottom:"8rem"},children:s.length>=3?o.length>0?o.map(b=>y.jsxs("div",{className:"plate-row-card",onClick:()=>v(b),style:{background:"var(--bg-card)",transition:"all 0.25s",padding:"10px 8px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"6px",minHeight:"62px",borderRadius:"16px"},children:[y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1px",minWidth:0,flex:1},children:[y.jsx("span",{style:{fontSize:"0.8rem",fontWeight:800,color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:b.plate_name}),y.jsx("span",{style:{fontSize:"0.62rem",color:"var(--text-secondary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:b.location||"No registrada"})]}),y.jsx("div",{style:{display:"flex",flexShrink:0,alignItems:"center"},children:y.jsx("div",{className:"plate-row-right-visual",style:{width:"24px",height:"24px",borderRadius:"6px",background:"var(--bg-surface)",border:"1px solid rgba(255, 255, 255, 0.05)",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:r?"inset 1px 1px 2px #0C0D10, inset -1px -1px 2px #2A2C37":"inset 1px 1px 2px #CAD1DB, inset -1px -1px 2px #FFFFFF"},children:y.jsx("div",{className:"dot",style:{width:"6px",height:"6px",borderRadius:"50%",background:w(b.antiquity_level),boxShadow:`0 0 6px ${w(b.antiquity_level)}`}})})})]},b.id)):!h&&y.jsx("div",{style:{gridColumn:"span 3",textAlign:"center",color:"var(--text-muted)",marginTop:"3rem",fontWeight:600},children:"No se encontraron placas"}):g.map(b=>y.jsxs("div",{className:"plate-row-card",onClick:()=>v(b),style:{background:"var(--bg-card)",transition:"all 0.25s",padding:"10px 8px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"6px",minHeight:"62px",borderRadius:"16px"},children:[y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1px",minWidth:0,flex:1},children:[y.jsx("span",{style:{fontSize:"0.8rem",fontWeight:800,color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:b.plate_name}),y.jsx("span",{style:{fontSize:"0.62rem",color:"var(--text-secondary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:b.location})]}),y.jsx("div",{style:{display:"flex",flexShrink:0,alignItems:"center"},children:y.jsx("div",{className:"plate-row-right-visual",style:{width:"24px",height:"24px",borderRadius:"6px",background:"var(--bg-surface)",border:"1px solid rgba(255, 255, 255, 0.05)",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:r?"inset 1px 1px 2px #0C0D10, inset -1px -1px 2px #2A2C37":"inset 1px 1px 2px #CAD1DB, inset -1px -1px 2px #FFFFFF"},children:y.jsx("div",{className:"dot",style:{width:"6px",height:"6px",borderRadius:"50%",background:w(b.antiquity_level),boxShadow:`0 0 6px ${w(b.antiquity_level)}`}})})})]},b.id))}),p&&y.jsxs("div",{className:"details-view-container",children:[y.jsxs("div",{className:"details-header",children:[y.jsx("button",{className:"circle-btn",onClick:()=>v(null),title:"Volver",children:y.jsx(Ey,{size:22})}),y.jsxs("div",{className:"title-group",style:{textAlign:"center"},children:[y.jsx("h2",{children:"Estadísticas"}),y.jsx("span",{children:"Placa Vehicular"})]}),y.jsx("div",{style:{width:"44px"}})]}),y.jsx("div",{className:"illustration-circle-container",children:y.jsxs("div",{className:"license-plate-mockup",children:[y.jsx("div",{className:"plate-origin",children:"COLOMBIA"}),y.jsx("div",{className:"plate-letters-numbers",children:E(p.plate_name)}),y.jsx("div",{className:"plate-bottom-line",children:p.location?p.location.toUpperCase():"BOGOTÁ D.C."})]})}),y.jsxs("div",{className:"stats-cards-row",children:[y.jsxs("div",{className:"stat-mini-card",children:[y.jsx("div",{className:"icon-wrapper",children:y.jsx(bd,{size:18})}),y.jsx("span",{className:"label",children:"Nivel de Acceso"}),y.jsxs("span",{className:"val",style:{color:"var(--accent-purple)"},children:["Nivel ",p.level]})]}),y.jsxs("div",{className:"stat-mini-card",children:[y.jsx("div",{className:"icon-wrapper",style:{color:"var(--accent-peach-dark)"},children:y.jsx(Jb,{size:18})}),y.jsx("span",{className:"label",children:"Estado Actual"}),y.jsx("span",{className:"val",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:p.description.split(" - ")[1]||p.description})]})]}),p.detail&&y.jsx("div",{style:{padding:"0 1.5rem 1rem 1.5rem"},children:y.jsxs("div",{style:{background:"var(--bg-surface)",padding:"12px 16px",borderRadius:"20px",border:"1px solid rgba(123, 82, 242, 0.04)"},children:[y.jsx("span",{style:{fontSize:"0.72rem",fontWeight:600,color:"var(--text-secondary)",display:"block",marginBottom:"4px"},children:"Detalles / Observaciones"}),y.jsx("p",{style:{fontSize:"0.8rem",color:"var(--text-primary)",fontWeight:500,lineHeight:"1.4"},children:p.detail})]})}),y.jsx("div",{style:{padding:"1rem 1.5rem 2rem 1.5rem",display:"flex",flexDirection:"column",gap:"8px"},children:y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",color:"var(--text-secondary)",fontSize:"0.8rem",background:"var(--bg-surface)",padding:"12px 16px",borderRadius:"16px"},children:[y.jsx(nk,{size:16}),y.jsxs("span",{children:["Entrada del sistema: ",p.entry_date]})]})})]})]})};/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var ef={};ef.version="0.18.5";var Cy=1252,Xk=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],t1={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},r1=function(e){Xk.indexOf(e)!=-1&&(Cy=t1[0]=e)};function Gk(){r1(1252)}var Za=function(e){r1(e)};function a1(){Za(1200),Gk()}function dg(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function qk(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function Fy(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var Ec=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?qk(e.slice(2)):t==254&&r==255?Fy(e.slice(2)):t==65279?e.slice(1):e},Fo=function(t){return String.fromCharCode(t)},xg=function(t){return String.fromCharCode(t)},Bc,gi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Uc(e){for(var t="",r=0,n=0,s=0,c=0,o=0,u=0,h=0,d=0;d<e.length;)r=e.charCodeAt(d++),c=r>>2,n=e.charCodeAt(d++),o=(r&3)<<4|n>>4,s=e.charCodeAt(d++),u=(n&15)<<2|s>>6,h=s&63,isNaN(n)?u=h=64:isNaN(s)&&(h=64),t+=gi.charAt(c)+gi.charAt(o)+gi.charAt(u)+gi.charAt(h);return t}function Sa(e){var t="",r=0,n=0,s=0,c=0,o=0,u=0,h=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var d=0;d<e.length;)c=gi.indexOf(e.charAt(d++)),o=gi.indexOf(e.charAt(d++)),r=c<<2|o>>4,t+=String.fromCharCode(r),u=gi.indexOf(e.charAt(d++)),n=(o&15)<<4|u>>2,u!==64&&(t+=String.fromCharCode(n)),h=gi.indexOf(e.charAt(d++)),s=(u&3)<<6|h,h!==64&&(t+=String.fromCharCode(s));return t}var ot=(function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node})(),Hn=(function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}})();function _i(e){return ot?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function pg(e){return ot?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var ya=function(t){return ot?Hn(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function Ef(e){if(typeof ArrayBuffer>"u")return ya(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function Ti(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function Yk(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}function n1(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return n1(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var wr=ot?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:Hn(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),s=0;for(t=0,r=0;t<e.length;r+=s,++t)if(s=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(c){return Array.isArray(c)?c:[].slice.call(c)}))};function Kk(e){for(var t=[],r=0,n=e.length+250,s=_i(e.length+255),c=0;c<e.length;++c){var o=e.charCodeAt(c);if(o<128)s[r++]=o;else if(o<2048)s[r++]=192|o>>6&31,s[r++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var u=e.charCodeAt(++c)&1023;s[r++]=240|o>>8&7,s[r++]=128|o>>2&63,s[r++]=128|u>>6&15|(o&3)<<4,s[r++]=128|u&63}else s[r++]=224|o>>12&15,s[r++]=128|o>>6&63,s[r++]=128|o&63;r>n&&(t.push(s.slice(0,r)),r=0,s=_i(65535),n=65530)}return t.push(s.slice(0,r)),wr(t)}var Zr=/\u0000/g,wc=/[\u0001-\u0006]/g;function sl(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function $a(e,t){var r=""+e;return r.length>=t?r:tr("0",t-r.length)+r}function i1(e,t){var r=""+e;return r.length>=t?r:tr(" ",t-r.length)+r}function tf(e,t){var r=""+e;return r.length>=t?r:r+tr(" ",t-r.length)}function Zk(e,t){var r=""+Math.round(e);return r.length>=t?r:tr("0",t-r.length)+r}function $k(e,t){var r=""+e;return r.length>=t?r:tr("0",t-r.length)+r}var mg=Math.pow(2,32);function tl(e,t){if(e>mg||e<-mg)return Zk(e,t);var r=Math.round(e);return $k(r,t)}function rf(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var vg=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],ed=[["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"]];function Qk(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 Ke={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"秒 "'},gg={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},Jk={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 af(e,t,r){for(var n=e<0?-1:1,s=e*n,c=0,o=1,u=0,h=1,d=0,p=0,v=Math.floor(s);d<t&&(v=Math.floor(s),u=v*o+c,p=v*d+h,!(s-v<5e-8));)s=1/(s-v),c=o,o=u,h=d,d=p;if(p>t&&(d>t?(p=h,u=c):(p=d,u=o)),!r)return[0,n*u,p];var g=Math.floor(n*u/p);return[g,n*u-g*p,p]}function Ki(e,t,r){if(e>2958465||e<0)return null;var n=e|0,s=Math.floor(86400*(e-n)),c=0,o=[],u={D:n,T:s,u:86400*(e-n)-s,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(u.u)<1e-6&&(u.u=0),t&&t.date1904&&(n+=1462),u.u>.9999&&(u.u=0,++s==86400&&(u.T=s=0,++n,++u.D)),n===60)o=r?[1317,10,29]:[1900,2,29],c=3;else if(n===0)o=r?[1317,8,29]:[1900,1,0],c=6;else{n>60&&--n;var h=new Date(1900,0,1);h.setDate(h.getDate()+n-1),o=[h.getFullYear(),h.getMonth()+1,h.getDate()],c=h.getDay(),n<60&&(c=(c+6)%7),r&&(c=iA(h,o))}return u.y=o[0],u.m=o[1],u.d=o[2],u.S=s%60,s=Math.floor(s/60),u.M=s%60,s=Math.floor(s/60),u.H=s,u.q=c,u}var Ry=new Date(1899,11,31,0,0,0),eA=Ry.getTime(),tA=new Date(1900,2,1,0,0,0);function Oy(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=tA&&(r+=1440*60*1e3),(r-(eA+(e.getTimezoneOffset()-Ry.getTimezoneOffset())*6e4))/(1440*60*1e3)}function s1(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function rA(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function aA(e){var t=e<0?12:11,r=s1(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function nA(e){var t=s1(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function jc(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=aA(e):t===10?r=e.toFixed(10).substr(0,12):r=nA(e),s1(rA(r.toUpperCase()))}function is(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):jc(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Wa(14,Oy(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function iA(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function sA(e,t,r,n){var s="",c=0,o=0,u=r.y,h,d=0;switch(e){case 98:u=r.y+543;case 121:switch(t.length){case 1:case 2:h=u%100,d=2;break;default:h=u%1e4,d=4;break}break;case 109:switch(t.length){case 1:case 2:h=r.m,d=t.length;break;case 3:return ed[r.m-1][1];case 5:return ed[r.m-1][0];default:return ed[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:h=r.d,d=t.length;break;case 3:return vg[r.q][0];default:return vg[r.q][1]}break;case 104:switch(t.length){case 1:case 2:h=1+(r.H+11)%12,d=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:h=r.H,d=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:h=r.M,d=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?$a(r.S,t.length):(n>=2?o=n===3?1e3:100:o=n===1?10:1,c=Math.round(o*(r.S+r.u)),c>=60*o&&(c=0),t==="s"?c===0?"0":""+c/o:(s=$a(c,2+n),t==="ss"?s.substr(0,2):"."+s.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":h=r.D*24+r.H;break;case"[m]":case"[mm]":h=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":h=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}d=t.length===3?1:2;break;case 101:h=u,d=1;break}var p=d>0?$a(h,d):"";return p}function yi(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var Dy=/%/g;function lA(e,t,r){var n=t.replace(Dy,""),s=t.length-n.length;return Un(e,n,r*Math.pow(10,2*s))+tr("%",s)}function cA(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Un(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Ny(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Ny(e,-t);var s=e.indexOf(".");s===-1&&(s=e.indexOf("E"));var c=Math.floor(Math.log(t)*Math.LOG10E)%s;if(c<0&&(c+=s),r=(t/Math.pow(10,c)).toPrecision(n+1+(s+c)%s),r.indexOf("e")===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+c):r+="E+"+(o-c);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,s)+"."+r.substr(2+s),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(u,h,d,p){return h+d+p.substr(0,(s+c)%s)+"."+p.substr(c)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var My=/# (\?+)( ?)\/( ?)(\d+)/;function oA(e,t,r){var n=parseInt(e[4],10),s=Math.round(t*n),c=Math.floor(s/n),o=s-c*n,u=n;return r+(c===0?"":""+c)+" "+(o===0?tr(" ",e[1].length+1+e[4].length):i1(o,e[1].length)+e[2]+"/"+e[3]+$a(u,e[4].length))}function fA(e,t,r){return r+(t===0?"":""+t)+tr(" ",e[1].length+2+e[4].length)}var Ly=/^#*0*\.([0#]+)/,By=/\).*[0#]/,Uy=/\(###\) ###\\?-####/;function Yr(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function yg(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function _g(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function uA(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function hA(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Ua(e,t,r){if(e.charCodeAt(0)===40&&!t.match(By)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ua("n",n,r):"("+Ua("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return cA(e,t,r);if(t.indexOf("%")!==-1)return lA(e,t,r);if(t.indexOf("E")!==-1)return Ny(t,r);if(t.charCodeAt(0)===36)return"$"+Ua(e,t.substr(t.charAt(1)==" "?2:1),r);var s,c,o,u,h=Math.abs(r),d=r<0?"-":"";if(t.match(/^00+$/))return d+tl(h,t.length);if(t.match(/^[#?]+$/))return s=tl(r,0),s==="0"&&(s=""),s.length>t.length?s:Yr(t.substr(0,t.length-s.length))+s;if(c=t.match(My))return oA(c,h,d);if(t.match(/^#+0+$/))return d+tl(h,t.length-t.indexOf("0"));if(c=t.match(Ly))return s=yg(r,c[1].length).replace(/^([^\.]+)$/,"$1."+Yr(c[1])).replace(/\.$/,"."+Yr(c[1])).replace(/\.(\d*)$/,function(w,_){return"."+_+tr("0",Yr(c[1]).length-_.length)}),t.indexOf("0.")!==-1?s:s.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),c=t.match(/^(0*)\.(#*)$/))return d+yg(h,c[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,c[1].length?"0.":".");if(c=t.match(/^#{1,3},##0(\.?)$/))return d+yi(tl(h,0));if(c=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ua(e,t,-r):yi(""+(Math.floor(r)+uA(r,c[1].length)))+"."+$a(_g(r,c[1].length),c[1].length);if(c=t.match(/^#,#*,#0/))return Ua(e,t.replace(/^#,#*,/,""),r);if(c=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=sl(Ua(e,t.replace(/[\\-]/g,""),r)),o=0,sl(sl(t.replace(/\\/g,"")).replace(/[0#]/g,function(w){return o<s.length?s.charAt(o++):w==="0"?"0":""}));if(t.match(Uy))return s=Ua(e,"##########",r),"("+s.substr(0,3)+") "+s.substr(3,3)+"-"+s.substr(6);var p="";if(c=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(c[4].length,7),u=af(h,Math.pow(10,o)-1,!1),s=""+d,p=Un("n",c[1],u[1]),p.charAt(p.length-1)==" "&&(p=p.substr(0,p.length-1)+"0"),s+=p+c[2]+"/"+c[3],p=tf(u[2],o),p.length<c[4].length&&(p=Yr(c[4].substr(c[4].length-p.length))+p),s+=p,s;if(c=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(c[1].length,c[4].length),7),u=af(h,Math.pow(10,o)-1,!0),d+(u[0]||(u[1]?"":"0"))+" "+(u[1]?i1(u[1],o)+c[2]+"/"+c[3]+tf(u[2],o):tr(" ",2*o+1+c[2].length+c[3].length));if(c=t.match(/^[#0?]+$/))return s=tl(r,0),t.length<=s.length?s:Yr(t.substr(0,t.length-s.length))+s;if(c=t.match(/^([#0?]+)\.([#0]+)$/)){s=""+r.toFixed(Math.min(c[2].length,10)).replace(/([^0])0+$/,"$1"),o=s.indexOf(".");var v=t.indexOf(".")-o,g=t.length-s.length-v;return Yr(t.substr(0,v)+s+t.substr(t.length-g))}if(c=t.match(/^00,000\.([#0]*0)$/))return o=_g(r,c[1].length),r<0?"-"+Ua(e,t,-r):yi(hA(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(w){return"00,"+(w.length<3?$a(0,3-w.length):"")+w})+"."+$a(o,c[1].length);switch(t){case"###,##0.00":return Ua(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var S=yi(tl(h,0));return S!=="0"?d+S:"";case"###,###.00":return Ua(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Ua(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function dA(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Un(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function xA(e,t,r){var n=t.replace(Dy,""),s=t.length-n.length;return Un(e,n,r*Math.pow(10,2*s))+tr("%",s)}function jy(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+jy(e,-t);var s=e.indexOf(".");s===-1&&(s=e.indexOf("E"));var c=Math.floor(Math.log(t)*Math.LOG10E)%s;if(c<0&&(c+=s),r=(t/Math.pow(10,c)).toPrecision(n+1+(s+c)%s),!r.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+c):r+="E+"+(o-c),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(u,h,d,p){return h+d+p.substr(0,(s+c)%s)+"."+p.substr(c)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function dn(e,t,r){if(e.charCodeAt(0)===40&&!t.match(By)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?dn("n",n,r):"("+dn("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return dA(e,t,r);if(t.indexOf("%")!==-1)return xA(e,t,r);if(t.indexOf("E")!==-1)return jy(t,r);if(t.charCodeAt(0)===36)return"$"+dn(e,t.substr(t.charAt(1)==" "?2:1),r);var s,c,o,u,h=Math.abs(r),d=r<0?"-":"";if(t.match(/^00+$/))return d+$a(h,t.length);if(t.match(/^[#?]+$/))return s=""+r,r===0&&(s=""),s.length>t.length?s:Yr(t.substr(0,t.length-s.length))+s;if(c=t.match(My))return fA(c,h,d);if(t.match(/^#+0+$/))return d+$a(h,t.length-t.indexOf("0"));if(c=t.match(Ly))return s=(""+r).replace(/^([^\.]+)$/,"$1."+Yr(c[1])).replace(/\.$/,"."+Yr(c[1])),s=s.replace(/\.(\d*)$/,function(w,_){return"."+_+tr("0",Yr(c[1]).length-_.length)}),t.indexOf("0.")!==-1?s:s.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),c=t.match(/^(0*)\.(#*)$/))return d+(""+h).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,c[1].length?"0.":".");if(c=t.match(/^#{1,3},##0(\.?)$/))return d+yi(""+h);if(c=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+dn(e,t,-r):yi(""+r)+"."+tr("0",c[1].length);if(c=t.match(/^#,#*,#0/))return dn(e,t.replace(/^#,#*,/,""),r);if(c=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=sl(dn(e,t.replace(/[\\-]/g,""),r)),o=0,sl(sl(t.replace(/\\/g,"")).replace(/[0#]/g,function(w){return o<s.length?s.charAt(o++):w==="0"?"0":""}));if(t.match(Uy))return s=dn(e,"##########",r),"("+s.substr(0,3)+") "+s.substr(3,3)+"-"+s.substr(6);var p="";if(c=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(c[4].length,7),u=af(h,Math.pow(10,o)-1,!1),s=""+d,p=Un("n",c[1],u[1]),p.charAt(p.length-1)==" "&&(p=p.substr(0,p.length-1)+"0"),s+=p+c[2]+"/"+c[3],p=tf(u[2],o),p.length<c[4].length&&(p=Yr(c[4].substr(c[4].length-p.length))+p),s+=p,s;if(c=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(c[1].length,c[4].length),7),u=af(h,Math.pow(10,o)-1,!0),d+(u[0]||(u[1]?"":"0"))+" "+(u[1]?i1(u[1],o)+c[2]+"/"+c[3]+tf(u[2],o):tr(" ",2*o+1+c[2].length+c[3].length));if(c=t.match(/^[#0?]+$/))return s=""+r,t.length<=s.length?s:Yr(t.substr(0,t.length-s.length))+s;if(c=t.match(/^([#0]+)\.([#0]+)$/)){s=""+r.toFixed(Math.min(c[2].length,10)).replace(/([^0])0+$/,"$1"),o=s.indexOf(".");var v=t.indexOf(".")-o,g=t.length-s.length-v;return Yr(t.substr(0,v)+s+t.substr(t.length-g))}if(c=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+dn(e,t,-r):yi(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(w){return"00,"+(w.length<3?$a(0,3-w.length):"")+w})+"."+$a(0,c[1].length);switch(t){case"###,###":case"##,###":case"#,###":var S=yi(""+h);return S!=="0"?d+S:"";default:if(t.match(/\.[0#?]*$/))return dn(e,t.slice(0,t.lastIndexOf(".")),r)+Yr(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Un(e,t,r){return(r|0)===r?dn(e,t,r):Ua(e,t,r)}function pA(e){for(var t=[],r=!1,n=0,s=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(s,n-s),s=n+1}if(t[t.length]=e.substr(s),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var Iy=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Sl(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":rf(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(Iy))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);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<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function mA(e,t,r,n){for(var s=[],c="",o=0,u="",h="t",d,p,v,g="H";o<e.length;)switch(u=e.charAt(o)){case"G":if(!rf(e,o))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"G",v:"General"},o+=7;break;case'"':for(c="";(v=e.charCodeAt(++o))!==34&&o<e.length;)c+=String.fromCharCode(v);s[s.length]={t:"t",v:c},++o;break;case"\\":var S=e.charAt(++o),w=S==="("||S===")"?S:"t";s[s.length]={t:w,v:S},++o;break;case"_":s[s.length]={t:"t",v:" "},o+=2;break;case"@":s[s.length]={t:"T",v:t},++o;break;case"B":case"b":if(e.charAt(o+1)==="1"||e.charAt(o+1)==="2"){if(d==null&&(d=Ki(t,r,e.charAt(o+1)==="2"),d==null))return"";s[s.length]={t:"X",v:e.substr(o,2)},h=u,o+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":u=u.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||d==null&&(d=Ki(t,r),d==null))return"";for(c=u;++o<e.length&&e.charAt(o).toLowerCase()===u;)c+=u;u==="m"&&h.toLowerCase()==="h"&&(u="M"),u==="h"&&(u=g),s[s.length]={t:u,v:c},h=u;break;case"A":case"a":case"上":var _={t:u,v:u};if(d==null&&(d=Ki(t,r)),e.substr(o,3).toUpperCase()==="A/P"?(d!=null&&(_.v=d.H>=12?"P":"A"),_.t="T",g="h",o+=3):e.substr(o,5).toUpperCase()==="AM/PM"?(d!=null&&(_.v=d.H>=12?"PM":"AM"),_.t="T",o+=5,g="h"):e.substr(o,5).toUpperCase()==="上午/下午"?(d!=null&&(_.v=d.H>=12?"下午":"上午"),_.t="T",o+=5,g="h"):(_.t="t",++o),d==null&&_.t==="T")return"";s[s.length]=_,h=u;break;case"[":for(c=u;e.charAt(o++)!=="]"&&o<e.length;)c+=e.charAt(o);if(c.slice(-1)!=="]")throw'unterminated "[" block: |'+c+"|";if(c.match(Iy)){if(d==null&&(d=Ki(t,r),d==null))return"";s[s.length]={t:"Z",v:c.toLowerCase()},h=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",Sl(e)||(s[s.length]={t:"t",v:c}));break;case".":if(d!=null){for(c=u;++o<e.length&&(u=e.charAt(o))==="0";)c+=u;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=u;++o<e.length&&"0#?.,E+-%".indexOf(u=e.charAt(o))>-1;)c+=u;s[s.length]={t:"n",v:c};break;case"?":for(c=u;e.charAt(++o)===u;)c+=u;s[s.length]={t:u,v:c},h=u;break;case"*":++o,(e.charAt(o)==" "||e.charAt(o)=="*")&&++o;break;case"(":case")":s[s.length]={t:n===1?"t":u,v:u},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=u;o<e.length&&"0123456789".indexOf(e.charAt(++o))>-1;)c+=e.charAt(o);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:u,v:u},++o;break;case"$":s[s.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u)===-1)throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++o;break}var E=0,b=0,F;for(o=s.length-1,h="t";o>=0;--o)switch(s[o].t){case"h":case"H":s[o].t=g,h="h",E<1&&(E=1);break;case"s":(F=s[o].v.match(/\.0+$/))&&(b=Math.max(b,F[0].length-1)),E<3&&(E=3);case"d":case"y":case"M":case"e":h=s[o].t;break;case"m":h==="s"&&(s[o].t="M",E<2&&(E=2));break;case"X":break;case"Z":E<1&&s[o].v.match(/[Hh]/)&&(E=1),E<2&&s[o].v.match(/[Mm]/)&&(E=2),E<3&&s[o].v.match(/[Ss]/)&&(E=3)}switch(E){case 0:break;case 1:d.u>=.5&&(d.u=0,++d.S),d.S>=60&&(d.S=0,++d.M),d.M>=60&&(d.M=0,++d.H);break;case 2:d.u>=.5&&(d.u=0,++d.S),d.S>=60&&(d.S=0,++d.M);break}var k="",U;for(o=0;o<s.length;++o)switch(s[o].t){case"t":case"T":case" ":case"D":break;case"X":s[o].v="",s[o].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[o].v=sA(s[o].t.charCodeAt(0),s[o].v,d,b),s[o].t="t";break;case"n":case"?":for(U=o+1;s[U]!=null&&((u=s[U].t)==="?"||u==="D"||(u===" "||u==="t")&&s[U+1]!=null&&(s[U+1].t==="?"||s[U+1].t==="t"&&s[U+1].v==="/")||s[o].t==="("&&(u===" "||u==="n"||u===")")||u==="t"&&(s[U].v==="/"||s[U].v===" "&&s[U+1]!=null&&s[U+1].t=="?"));)s[o].v+=s[U].v,s[U]={v:"",t:";"},++U;k+=s[o].v,o=U-1;break;case"G":s[o].t="t",s[o].v=is(t,r);break}var I="",W,D;if(k.length>0){k.charCodeAt(0)==40?(W=t<0&&k.charCodeAt(0)===45?-t:t,D=Un("n",k,W)):(W=t<0&&n>1?-t:t,D=Un("n",k,W),W<0&&s[0]&&s[0].t=="t"&&(D=D.substr(1),s[0].v="-"+s[0].v)),U=D.length-1;var ee=s.length;for(o=0;o<s.length;++o)if(s[o]!=null&&s[o].t!="t"&&s[o].v.indexOf(".")>-1){ee=o;break}var X=s.length;if(ee===s.length&&D.indexOf("E")===-1){for(o=s.length-1;o>=0;--o)s[o]==null||"n?".indexOf(s[o].t)===-1||(U>=s[o].v.length-1?(U-=s[o].v.length,s[o].v=D.substr(U+1,s[o].v.length)):U<0?s[o].v="":(s[o].v=D.substr(0,U+1),U=-1),s[o].t="t",X=o);U>=0&&X<s.length&&(s[X].v=D.substr(0,U+1)+s[X].v)}else if(ee!==s.length&&D.indexOf("E")===-1){for(U=D.indexOf(".")-1,o=ee;o>=0;--o)if(!(s[o]==null||"n?".indexOf(s[o].t)===-1)){for(p=s[o].v.indexOf(".")>-1&&o===ee?s[o].v.indexOf(".")-1:s[o].v.length-1,I=s[o].v.substr(p+1);p>=0;--p)U>=0&&(s[o].v.charAt(p)==="0"||s[o].v.charAt(p)==="#")&&(I=D.charAt(U--)+I);s[o].v=I,s[o].t="t",X=o}for(U>=0&&X<s.length&&(s[X].v=D.substr(0,U+1)+s[X].v),U=D.indexOf(".")+1,o=ee;o<s.length;++o)if(!(s[o]==null||"n?(".indexOf(s[o].t)===-1&&o!==ee)){for(p=s[o].v.indexOf(".")>-1&&o===ee?s[o].v.indexOf(".")+1:0,I=s[o].v.substr(0,p);p<s[o].v.length;++p)U<D.length&&(I+=D.charAt(U++));s[o].v=I,s[o].t="t",X=o}}}for(o=0;o<s.length;++o)s[o]!=null&&"n?".indexOf(s[o].t)>-1&&(W=n>1&&t<0&&o>0&&s[o-1].v==="-"?-t:t,s[o].v=Un(s[o].t,s[o].v,W),s[o].t="t");var ne="";for(o=0;o!==s.length;++o)s[o]!=null&&(ne+=s[o].v);return ne}var Sg=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Eg(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function vA(e,t){var r=pA(e),n=r.length,s=r[n-1].indexOf("@");if(n<4&&s>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||s>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=s>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=s>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=s>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var c=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,c];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var o=r[0].match(Sg),u=r[1].match(Sg);return Eg(t,o)?[n,r[0]]:Eg(t,u)?[n,r[1]]:[n,r[o!=null&&u!=null?2:1]]}return[n,c]}function Wa(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:Ke)[e],n==null&&(n=r.table&&r.table[gg[e]]||Ke[gg[e]]),n==null&&(n=Jk[e]||"General");break}if(rf(n,0))return is(t,r);t instanceof Date&&(t=Oy(t,r.date1904));var s=vA(n,t);if(rf(s[1]))return is(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return mA(s[1],t,r,s[0])}function jn(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(Ke[r]==null){t<0&&(t=r);continue}if(Ke[r]==e){t=r;break}}t<0&&(t=391)}return Ke[t]=e,t}function wf(e){for(var t=0;t!=392;++t)e[t]!==void 0&&jn(e[t],t)}function El(){Ke=Qk()}var gA={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},zy=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function yA(e){var t=typeof e=="number"?Ke[e]:e;return t=t.replace(zy,"(\\d+)"),new RegExp("^"+t+"$")}function _A(e,t,r){var n=-1,s=-1,c=-1,o=-1,u=-1,h=-1;(t.match(zy)||[]).forEach(function(v,g){var S=parseInt(r[g+1],10);switch(v.toLowerCase().charAt(0)){case"y":n=S;break;case"d":c=S;break;case"h":o=S;break;case"s":h=S;break;case"m":o>=0?u=S:s=S;break}}),h>=0&&u==-1&&s>=0&&(u=s,s=-1);var d=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(s>=1?s:1)).slice(-2)+"-"+("00"+(c>=1?c:1)).slice(-2);d.length==7&&(d="0"+d),d.length==8&&(d="20"+d);var p=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(u>=0?u:0)).slice(-2)+":"+("00"+(h>=0?h:0)).slice(-2);return o==-1&&u==-1&&h==-1?d:n==-1&&s==-1&&c==-1?p:d+"T"+p}var SA=(function(){var e={};e.version="1.2.0";function t(){for(var D=0,ee=new Array(256),X=0;X!=256;++X)D=X,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,ee[X]=D;return typeof Int32Array<"u"?new Int32Array(ee):ee}var r=t();function n(D){var ee=0,X=0,ne=0,re=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(ne=0;ne!=256;++ne)re[ne]=D[ne];for(ne=0;ne!=256;++ne)for(X=D[ne],ee=256+ne;ee<4096;ee+=256)X=re[ee]=X>>>8^D[X&255];var Q=[];for(ne=1;ne!=16;++ne)Q[ne-1]=typeof Int32Array<"u"?re.subarray(ne*256,ne*256+256):re.slice(ne*256,ne*256+256);return Q}var s=n(r),c=s[0],o=s[1],u=s[2],h=s[3],d=s[4],p=s[5],v=s[6],g=s[7],S=s[8],w=s[9],_=s[10],E=s[11],b=s[12],F=s[13],k=s[14];function U(D,ee){for(var X=ee^-1,ne=0,re=D.length;ne<re;)X=X>>>8^r[(X^D.charCodeAt(ne++))&255];return~X}function I(D,ee){for(var X=ee^-1,ne=D.length-15,re=0;re<ne;)X=k[D[re++]^X&255]^F[D[re++]^X>>8&255]^b[D[re++]^X>>16&255]^E[D[re++]^X>>>24]^_[D[re++]]^w[D[re++]]^S[D[re++]]^g[D[re++]]^v[D[re++]]^p[D[re++]]^d[D[re++]]^h[D[re++]]^u[D[re++]]^o[D[re++]]^c[D[re++]]^r[D[re++]];for(ne+=15;re<ne;)X=X>>>8^r[(X^D[re++])&255];return~X}function W(D,ee){for(var X=ee^-1,ne=0,re=D.length,Q=0,me=0;ne<re;)Q=D.charCodeAt(ne++),Q<128?X=X>>>8^r[(X^Q)&255]:Q<2048?(X=X>>>8^r[(X^(192|Q>>6&31))&255],X=X>>>8^r[(X^(128|Q&63))&255]):Q>=55296&&Q<57344?(Q=(Q&1023)+64,me=D.charCodeAt(ne++)&1023,X=X>>>8^r[(X^(240|Q>>8&7))&255],X=X>>>8^r[(X^(128|Q>>2&63))&255],X=X>>>8^r[(X^(128|me>>6&15|(Q&3)<<4))&255],X=X>>>8^r[(X^(128|me&63))&255]):(X=X>>>8^r[(X^(224|Q>>12&15))&255],X=X>>>8^r[(X^(128|Q>>6&63))&255],X=X>>>8^r[(X^(128|Q&63))&255]);return~X}return e.table=r,e.bstr=U,e.buf=I,e.str=W,e})(),Ge=(function(){var t={};t.version="1.2.1";function r(C,z){for(var N=C.split("/"),M=z.split("/"),B=0,H=0,ce=Math.min(N.length,M.length);B<ce;++B){if(H=N[B].length-M[B].length)return H;if(N[B]!=M[B])return N[B]<M[B]?-1:1}return N.length-M.length}function n(C){if(C.charAt(C.length-1)=="/")return C.slice(0,-1).indexOf("/")===-1?C:n(C.slice(0,-1));var z=C.lastIndexOf("/");return z===-1?C:C.slice(0,z+1)}function s(C){if(C.charAt(C.length-1)=="/")return s(C.slice(0,-1));var z=C.lastIndexOf("/");return z===-1?C:C.slice(z+1)}function c(C,z){typeof z=="string"&&(z=new Date(z));var N=z.getHours();N=N<<6|z.getMinutes(),N=N<<5|z.getSeconds()>>>1,C.write_shift(2,N);var M=z.getFullYear()-1980;M=M<<4|z.getMonth()+1,M=M<<5|z.getDate(),C.write_shift(2,M)}function o(C){var z=C.read_shift(2)&65535,N=C.read_shift(2)&65535,M=new Date,B=N&31;N>>>=5;var H=N&15;N>>>=4,M.setMilliseconds(0),M.setFullYear(N+1980),M.setMonth(H-1),M.setDate(B);var ce=z&31;z>>>=5;var Se=z&63;return z>>>=6,M.setHours(z),M.setMinutes(Se),M.setSeconds(ce<<1),M}function u(C){Or(C,0);for(var z={},N=0;C.l<=C.length-4;){var M=C.read_shift(2),B=C.read_shift(2),H=C.l+B,ce={};switch(M){case 21589:N=C.read_shift(1),N&1&&(ce.mtime=C.read_shift(4)),B>5&&(N&2&&(ce.atime=C.read_shift(4)),N&4&&(ce.ctime=C.read_shift(4))),ce.mtime&&(ce.mt=new Date(ce.mtime*1e3));break}C.l=H,z[M]=ce}return z}var h;function d(){return h||(h={})}function p(C,z){if(C[0]==80&&C[1]==75)return Ai(C,z);if((C[0]|32)==109&&(C[1]|32)==105)return Fi(C,z);if(C.length<512)throw new Error("CFB file size "+C.length+" < 512");var N=3,M=512,B=0,H=0,ce=0,Se=0,oe=0,fe=[],he=C.slice(0,512);Or(he,0);var Fe=v(he);switch(N=Fe[0],N){case 3:M=512;break;case 4:M=4096;break;case 0:if(Fe[1]==0)return Ai(C,z);default:throw new Error("Major Version: Expected 3 or 4 saw "+N)}M!==512&&(he=C.slice(0,M),Or(he,28));var Me=C.slice(0,M);g(he,N);var je=he.read_shift(4,"i");if(N===3&&je!==0)throw new Error("# Directory Sectors: Expected 0 saw "+je);he.l+=4,ce=he.read_shift(4,"i"),he.l+=4,he.chk("00100000","Mini Stream Cutoff Size: "),Se=he.read_shift(4,"i"),B=he.read_shift(4,"i"),oe=he.read_shift(4,"i"),H=he.read_shift(4,"i");for(var Oe=-1,Ue=0;Ue<109&&(Oe=he.read_shift(4,"i"),!(Oe<0));++Ue)fe[Ue]=Oe;var Ve=S(C,M);E(oe,H,Ve,M,fe);var jt=F(Ve,ce,fe,M);jt[ce].name="!Directory",B>0&&Se!==me&&(jt[Se].name="!MiniFAT"),jt[fe[0]].name="!FAT",jt.fat_addrs=fe,jt.ssz=M;var It={},Gt=[],Ta=[],Ri=[];k(ce,jt,Ve,Gt,B,It,Ta,Se),w(Ta,Ri,Gt),Gt.shift();var Xn={FileIndex:Ta,FullPaths:Ri};return z&&z.raw&&(Xn.raw={header:Me,sectors:Ve}),Xn}function v(C){if(C[C.l]==80&&C[C.l+1]==75)return[0,0];C.chk(Ce,"Header Signature: "),C.l+=16;var z=C.read_shift(2,"u");return[C.read_shift(2,"u"),z]}function g(C,z){var N=9;switch(C.l+=2,N=C.read_shift(2)){case 9:if(z!=3)throw new Error("Sector Shift: Expected 9 saw "+N);break;case 12:if(z!=4)throw new Error("Sector Shift: Expected 12 saw "+N);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+N)}C.chk("0600","Mini Sector Shift: "),C.chk("000000000000","Reserved: ")}function S(C,z){for(var N=Math.ceil(C.length/z)-1,M=[],B=1;B<N;++B)M[B-1]=C.slice(B*z,(B+1)*z);return M[N-1]=C.slice(N*z),M}function w(C,z,N){for(var M=0,B=0,H=0,ce=0,Se=0,oe=N.length,fe=[],he=[];M<oe;++M)fe[M]=he[M]=M,z[M]=N[M];for(;Se<he.length;++Se)M=he[Se],B=C[M].L,H=C[M].R,ce=C[M].C,fe[M]===M&&(B!==-1&&fe[B]!==B&&(fe[M]=fe[B]),H!==-1&&fe[H]!==H&&(fe[M]=fe[H])),ce!==-1&&(fe[ce]=M),B!==-1&&M!=fe[M]&&(fe[B]=fe[M],he.lastIndexOf(B)<Se&&he.push(B)),H!==-1&&M!=fe[M]&&(fe[H]=fe[M],he.lastIndexOf(H)<Se&&he.push(H));for(M=1;M<oe;++M)fe[M]===M&&(H!==-1&&fe[H]!==H?fe[M]=fe[H]:B!==-1&&fe[B]!==B&&(fe[M]=fe[B]));for(M=1;M<oe;++M)if(C[M].type!==0){if(Se=M,Se!=fe[Se])do Se=fe[Se],z[M]=z[Se]+"/"+z[M];while(Se!==0&&fe[Se]!==-1&&Se!=fe[Se]);fe[M]=-1}for(z[0]+="/",M=1;M<oe;++M)C[M].type!==2&&(z[M]+="/")}function _(C,z,N){for(var M=C.start,B=C.size,H=[],ce=M;N&&B>0&&ce>=0;)H.push(z.slice(ce*Q,ce*Q+Q)),B-=Q,ce=qi(N,ce*4);return H.length===0?ye(0):wr(H).slice(0,C.size)}function E(C,z,N,M,B){var H=me;if(C===me){if(z!==0)throw new Error("DIFAT chain shorter than expected")}else if(C!==-1){var ce=N[C],Se=(M>>>2)-1;if(!ce)return;for(var oe=0;oe<Se&&(H=qi(ce,oe*4))!==me;++oe)B.push(H);E(qi(ce,M-4),z-1,N,M,B)}}function b(C,z,N,M,B){var H=[],ce=[];B||(B=[]);var Se=M-1,oe=0,fe=0;for(oe=z;oe>=0;){B[oe]=!0,H[H.length]=oe,ce.push(C[oe]);var he=N[Math.floor(oe*4/M)];if(fe=oe*4&Se,M<4+fe)throw new Error("FAT boundary crossed: "+oe+" 4 "+M);if(!C[he])break;oe=qi(C[he],fe)}return{nodes:H,data:Mg([ce])}}function F(C,z,N,M){var B=C.length,H=[],ce=[],Se=[],oe=[],fe=M-1,he=0,Fe=0,Me=0,je=0;for(he=0;he<B;++he)if(Se=[],Me=he+z,Me>=B&&(Me-=B),!ce[Me]){oe=[];var Oe=[];for(Fe=Me;Fe>=0;){Oe[Fe]=!0,ce[Fe]=!0,Se[Se.length]=Fe,oe.push(C[Fe]);var Ue=N[Math.floor(Fe*4/M)];if(je=Fe*4&fe,M<4+je)throw new Error("FAT boundary crossed: "+Fe+" 4 "+M);if(!C[Ue]||(Fe=qi(C[Ue],je),Oe[Fe]))break}H[Me]={nodes:Se,data:Mg([oe])}}return H}function k(C,z,N,M,B,H,ce,Se){for(var oe=0,fe=M.length?2:0,he=z[C].data,Fe=0,Me=0,je;Fe<he.length;Fe+=128){var Oe=he.slice(Fe,Fe+128);Or(Oe,64),Me=Oe.read_shift(2),je=d1(Oe,0,Me-fe),M.push(je);var Ue={name:je,type:Oe.read_shift(1),color:Oe.read_shift(1),L:Oe.read_shift(4,"i"),R:Oe.read_shift(4,"i"),C:Oe.read_shift(4,"i"),clsid:Oe.read_shift(16),state:Oe.read_shift(4,"i"),start:0,size:0},Ve=Oe.read_shift(2)+Oe.read_shift(2)+Oe.read_shift(2)+Oe.read_shift(2);Ve!==0&&(Ue.ct=U(Oe,Oe.l-8));var jt=Oe.read_shift(2)+Oe.read_shift(2)+Oe.read_shift(2)+Oe.read_shift(2);jt!==0&&(Ue.mt=U(Oe,Oe.l-8)),Ue.start=Oe.read_shift(4,"i"),Ue.size=Oe.read_shift(4,"i"),Ue.size<0&&Ue.start<0&&(Ue.size=Ue.type=0,Ue.start=me,Ue.name=""),Ue.type===5?(oe=Ue.start,B>0&&oe!==me&&(z[oe].name="!StreamData")):Ue.size>=4096?(Ue.storage="fat",z[Ue.start]===void 0&&(z[Ue.start]=b(N,Ue.start,z.fat_addrs,z.ssz)),z[Ue.start].name=Ue.name,Ue.content=z[Ue.start].data.slice(0,Ue.size)):(Ue.storage="minifat",Ue.size<0?Ue.size=0:oe!==me&&Ue.start!==me&&z[oe]&&(Ue.content=_(Ue,z[oe].data,(z[Se]||{}).data))),Ue.content&&Or(Ue.content,0),H[je]=Ue,ce.push(Ue)}}function U(C,z){return new Date((ga(C,z+4)/1e7*Math.pow(2,32)+ga(C,z)/1e7-11644473600)*1e3)}function I(C,z){return d(),p(h.readFileSync(C),z)}function W(C,z){var N=z&&z.type;switch(N||ot&&Buffer.isBuffer(C)&&(N="buffer"),N||"base64"){case"file":return I(C,z);case"base64":return p(ya(Sa(C)),z);case"binary":return p(ya(C),z)}return p(C,z)}function D(C,z){var N=z||{},M=N.root||"Root Entry";if(C.FullPaths||(C.FullPaths=[]),C.FileIndex||(C.FileIndex=[]),C.FullPaths.length!==C.FileIndex.length)throw new Error("inconsistent CFB structure");C.FullPaths.length===0&&(C.FullPaths[0]=M+"/",C.FileIndex[0]={name:M,type:5}),N.CLSID&&(C.FileIndex[0].clsid=N.CLSID),ee(C)}function ee(C){var z="Sh33tJ5";if(!Ge.find(C,"/"+z)){var N=ye(4);N[0]=55,N[1]=N[3]=50,N[2]=54,C.FileIndex.push({name:z,type:2,content:N,size:4,L:69,R:69,C:69}),C.FullPaths.push(C.FullPaths[0]+z),X(C)}}function X(C,z){D(C);for(var N=!1,M=!1,B=C.FullPaths.length-1;B>=0;--B){var H=C.FileIndex[B];switch(H.type){case 0:M?N=!0:(C.FileIndex.pop(),C.FullPaths.pop());break;case 1:case 2:case 5:M=!0,isNaN(H.R*H.L*H.C)&&(N=!0),H.R>-1&&H.L>-1&&H.R==H.L&&(N=!0);break;default:N=!0;break}}if(!(!N&&!z)){var ce=new Date(1987,1,19),Se=0,oe=Object.create?Object.create(null):{},fe=[];for(B=0;B<C.FullPaths.length;++B)oe[C.FullPaths[B]]=!0,C.FileIndex[B].type!==0&&fe.push([C.FullPaths[B],C.FileIndex[B]]);for(B=0;B<fe.length;++B){var he=n(fe[B][0]);M=oe[he],M||(fe.push([he,{name:s(he).replace("/",""),type:1,clsid:Z,ct:ce,mt:ce,content:null}]),oe[he]=!0)}for(fe.sort(function(je,Oe){return r(je[0],Oe[0])}),C.FullPaths=[],C.FileIndex=[],B=0;B<fe.length;++B)C.FullPaths[B]=fe[B][0],C.FileIndex[B]=fe[B][1];for(B=0;B<fe.length;++B){var Fe=C.FileIndex[B],Me=C.FullPaths[B];if(Fe.name=s(Me).replace("/",""),Fe.L=Fe.R=Fe.C=-(Fe.color=1),Fe.size=Fe.content?Fe.content.length:0,Fe.start=0,Fe.clsid=Fe.clsid||Z,B===0)Fe.C=fe.length>1?1:-1,Fe.size=0,Fe.type=5;else if(Me.slice(-1)=="/"){for(Se=B+1;Se<fe.length&&n(C.FullPaths[Se])!=Me;++Se);for(Fe.C=Se>=fe.length?-1:Se,Se=B+1;Se<fe.length&&n(C.FullPaths[Se])!=n(Me);++Se);Fe.R=Se>=fe.length?-1:Se,Fe.type=1}else n(C.FullPaths[B+1]||"")==n(Me)&&(Fe.R=B+1),Fe.type=2}}}function ne(C,z){var N=z||{};if(N.fileType=="mad")return Df(C,N);switch(X(C),N.fileType){case"zip":return gs(C,N)}var M=(function(je){for(var Oe=0,Ue=0,Ve=0;Ve<je.FileIndex.length;++Ve){var jt=je.FileIndex[Ve];if(jt.content){var It=jt.content.length;It>0&&(It<4096?Oe+=It+63>>6:Ue+=It+511>>9)}}for(var Gt=je.FullPaths.length+3>>2,Ta=Oe+7>>3,Ri=Oe+127>>7,Xn=Ta+Ue+Gt+Ri,sn=Xn+127>>7,Fl=sn<=109?0:Math.ceil((sn-109)/127);Xn+sn+Fl+127>>7>sn;)Fl=++sn<=109?0:Math.ceil((sn-109)/127);var $r=[1,Fl,sn,Ri,Gt,Ue,Oe,0];return je.FileIndex[0].size=Oe<<6,$r[7]=(je.FileIndex[0].start=$r[0]+$r[1]+$r[2]+$r[3]+$r[4]+$r[5])+($r[6]+7>>3),$r})(C),B=ye(M[7]<<9),H=0,ce=0;{for(H=0;H<8;++H)B.write_shift(1,ve[H]);for(H=0;H<8;++H)B.write_shift(2,0);for(B.write_shift(2,62),B.write_shift(2,3),B.write_shift(2,65534),B.write_shift(2,9),B.write_shift(2,6),H=0;H<3;++H)B.write_shift(2,0);for(B.write_shift(4,0),B.write_shift(4,M[2]),B.write_shift(4,M[0]+M[1]+M[2]+M[3]-1),B.write_shift(4,0),B.write_shift(4,4096),B.write_shift(4,M[3]?M[0]+M[1]+M[2]-1:me),B.write_shift(4,M[3]),B.write_shift(-4,M[1]?M[0]-1:me),B.write_shift(4,M[1]),H=0;H<109;++H)B.write_shift(-4,H<M[2]?M[1]+H:-1)}if(M[1])for(ce=0;ce<M[1];++ce){for(;H<236+ce*127;++H)B.write_shift(-4,H<M[2]?M[1]+H:-1);B.write_shift(-4,ce===M[1]-1?me:ce+1)}var Se=function(je){for(ce+=je;H<ce-1;++H)B.write_shift(-4,H+1);je&&(++H,B.write_shift(-4,me))};for(ce=H=0,ce+=M[1];H<ce;++H)B.write_shift(-4,ie.DIFSECT);for(ce+=M[2];H<ce;++H)B.write_shift(-4,ie.FATSECT);Se(M[3]),Se(M[4]);for(var oe=0,fe=0,he=C.FileIndex[0];oe<C.FileIndex.length;++oe)he=C.FileIndex[oe],he.content&&(fe=he.content.length,!(fe<4096)&&(he.start=ce,Se(fe+511>>9)));for(Se(M[6]+7>>3);B.l&511;)B.write_shift(-4,ie.ENDOFCHAIN);for(ce=H=0,oe=0;oe<C.FileIndex.length;++oe)he=C.FileIndex[oe],he.content&&(fe=he.content.length,!(!fe||fe>=4096)&&(he.start=ce,Se(fe+63>>6)));for(;B.l&511;)B.write_shift(-4,ie.ENDOFCHAIN);for(H=0;H<M[4]<<2;++H){var Fe=C.FullPaths[H];if(!Fe||Fe.length===0){for(oe=0;oe<17;++oe)B.write_shift(4,0);for(oe=0;oe<3;++oe)B.write_shift(4,-1);for(oe=0;oe<12;++oe)B.write_shift(4,0);continue}he=C.FileIndex[H],H===0&&(he.start=he.size?he.start-1:me);var Me=H===0&&N.root||he.name;if(fe=2*(Me.length+1),B.write_shift(64,Me,"utf16le"),B.write_shift(2,fe),B.write_shift(1,he.type),B.write_shift(1,he.color),B.write_shift(-4,he.L),B.write_shift(-4,he.R),B.write_shift(-4,he.C),he.clsid)B.write_shift(16,he.clsid,"hex");else for(oe=0;oe<4;++oe)B.write_shift(4,0);B.write_shift(4,he.state||0),B.write_shift(4,0),B.write_shift(4,0),B.write_shift(4,0),B.write_shift(4,0),B.write_shift(4,he.start),B.write_shift(4,he.size),B.write_shift(4,0)}for(H=1;H<C.FileIndex.length;++H)if(he=C.FileIndex[H],he.size>=4096)if(B.l=he.start+1<<9,ot&&Buffer.isBuffer(he.content))he.content.copy(B,B.l,0,he.size),B.l+=he.size+511&-512;else{for(oe=0;oe<he.size;++oe)B.write_shift(1,he.content[oe]);for(;oe&511;++oe)B.write_shift(1,0)}for(H=1;H<C.FileIndex.length;++H)if(he=C.FileIndex[H],he.size>0&&he.size<4096)if(ot&&Buffer.isBuffer(he.content))he.content.copy(B,B.l,0,he.size),B.l+=he.size+63&-64;else{for(oe=0;oe<he.size;++oe)B.write_shift(1,he.content[oe]);for(;oe&63;++oe)B.write_shift(1,0)}if(ot)B.l=B.length;else for(;B.l<B.length;)B.write_shift(1,0);return B}function re(C,z){var N=C.FullPaths.map(function(oe){return oe.toUpperCase()}),M=N.map(function(oe){var fe=oe.split("/");return fe[fe.length-(oe.slice(-1)=="/"?2:1)]}),B=!1;z.charCodeAt(0)===47?(B=!0,z=N[0].slice(0,-1)+z):B=z.indexOf("/")!==-1;var H=z.toUpperCase(),ce=B===!0?N.indexOf(H):M.indexOf(H);if(ce!==-1)return C.FileIndex[ce];var Se=!H.match(wc);for(H=H.replace(Zr,""),Se&&(H=H.replace(wc,"!")),ce=0;ce<N.length;++ce)if((Se?N[ce].replace(wc,"!"):N[ce]).replace(Zr,"")==H||(Se?M[ce].replace(wc,"!"):M[ce]).replace(Zr,"")==H)return C.FileIndex[ce];return null}var Q=64,me=-2,Ce="d0cf11e0a1b11ae1",ve=[208,207,17,224,161,177,26,225],Z="00000000000000000000000000000000",ie={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:me,FREESECT:-1,HEADER_SIGNATURE:Ce,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function Re(C,z,N){d();var M=ne(C,N);h.writeFileSync(z,M)}function K(C){for(var z=new Array(C.length),N=0;N<C.length;++N)z[N]=String.fromCharCode(C[N]);return z.join("")}function Ae(C,z){var N=ne(C,z);switch(z&&z.type||"buffer"){case"file":return d(),h.writeFileSync(z.filename,N),N;case"binary":return typeof N=="string"?N:K(N);case"base64":return Uc(typeof N=="string"?N:K(N));case"buffer":if(ot)return Buffer.isBuffer(N)?N:Hn(N);case"array":return typeof N=="string"?ya(N):N}return N}var j;function A(C){try{var z=C.InflateRaw,N=new z;if(N._processChunk(new Uint8Array([3,0]),N._finishFlushFlag),N.bytesRead)j=C;else throw new Error("zlib does not expose bytesRead")}catch(M){console.error("cannot use native zlib: "+(M.message||M))}}function P(C,z){if(!j)return f0(C,z);var N=j.InflateRaw,M=new N,B=M._processChunk(C.slice(C.l),M._finishFlushFlag);return C.l+=M.bytesRead,B}function L(C){return j?j.deflateRawSync(C):ze(C)}var O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Y=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],de=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function ge(C){var z=(C<<1|C<<11)&139536|(C<<5|C<<15)&558144;return(z>>16|z>>8|z)&255}for(var pe=typeof Uint8Array<"u",Ee=pe?new Uint8Array(256):[],He=0;He<256;++He)Ee[He]=ge(He);function V(C,z){var N=Ee[C&255];return z<=8?N>>>8-z:(N=N<<8|Ee[C>>8&255],z<=16?N>>>16-z:(N=N<<8|Ee[C>>16&255],N>>>24-z))}function ft(C,z){var N=z&7,M=z>>>3;return(C[M]|(N<=6?0:C[M+1]<<8))>>>N&3}function qe(C,z){var N=z&7,M=z>>>3;return(C[M]|(N<=5?0:C[M+1]<<8))>>>N&7}function tt(C,z){var N=z&7,M=z>>>3;return(C[M]|(N<=4?0:C[M+1]<<8))>>>N&15}function Ne(C,z){var N=z&7,M=z>>>3;return(C[M]|(N<=3?0:C[M+1]<<8))>>>N&31}function De(C,z){var N=z&7,M=z>>>3;return(C[M]|(N<=1?0:C[M+1]<<8))>>>N&127}function vt(C,z,N){var M=z&7,B=z>>>3,H=(1<<N)-1,ce=C[B]>>>M;return N<8-M||(ce|=C[B+1]<<8-M,N<16-M)||(ce|=C[B+2]<<16-M,N<24-M)||(ce|=C[B+3]<<24-M),ce&H}function Bt(C,z,N){var M=z&7,B=z>>>3;return M<=5?C[B]|=(N&7)<<M:(C[B]|=N<<M&255,C[B+1]=(N&7)>>8-M),z+3}function Qt(C,z,N){var M=z&7,B=z>>>3;return N=(N&1)<<M,C[B]|=N,z+1}function br(C,z,N){var M=z&7,B=z>>>3;return N<<=M,C[B]|=N&255,N>>>=8,C[B+1]=N,z+8}function Lr(C,z,N){var M=z&7,B=z>>>3;return N<<=M,C[B]|=N&255,N>>>=8,C[B+1]=N&255,C[B+2]=N>>>8,z+16}function ca(C,z){var N=C.length,M=2*N>z?2*N:z+5,B=0;if(N>=z)return C;if(ot){var H=pg(M);if(C.copy)C.copy(H);else for(;B<C.length;++B)H[B]=C[B];return H}else if(pe){var ce=new Uint8Array(M);if(ce.set)ce.set(C);else for(;B<N;++B)ce[B]=C[B];return ce}return C.length=M,C}function bt(C){for(var z=new Array(C),N=0;N<C;++N)z[N]=0;return z}function oa(C,z,N){var M=1,B=0,H=0,ce=0,Se=0,oe=C.length,fe=pe?new Uint16Array(32):bt(32);for(H=0;H<32;++H)fe[H]=0;for(H=oe;H<N;++H)C[H]=0;oe=C.length;var he=pe?new Uint16Array(oe):bt(oe);for(H=0;H<oe;++H)fe[B=C[H]]++,M<B&&(M=B),he[H]=0;for(fe[0]=0,H=1;H<=M;++H)fe[H+16]=Se=Se+fe[H-1]<<1;for(H=0;H<oe;++H)Se=C[H],Se!=0&&(he[H]=fe[Se+16]++);var Fe=0;for(H=0;H<oe;++H)if(Fe=C[H],Fe!=0)for(Se=V(he[H],M)>>M-Fe,ce=(1<<M+4-Fe)-1;ce>=0;--ce)z[Se|ce<<Fe]=Fe&15|H<<4;return M}var be=pe?new Uint16Array(512):bt(512),Ze=pe?new Uint16Array(32):bt(32);if(!pe){for(var Je=0;Je<512;++Je)be[Je]=0;for(Je=0;Je<32;++Je)Ze[Je]=0}(function(){for(var C=[],z=0;z<32;z++)C.push(5);oa(C,Ze,32);var N=[];for(z=0;z<=143;z++)N.push(8);for(;z<=255;z++)N.push(9);for(;z<=279;z++)N.push(7);for(;z<=287;z++)N.push(8);oa(N,be,288)})();var ct=(function(){for(var z=pe?new Uint8Array(32768):[],N=0,M=0;N<de.length-1;++N)for(;M<de[N+1];++M)z[M]=N;for(;M<32768;++M)z[M]=29;var B=pe?new Uint8Array(259):[];for(N=0,M=0;N<Y.length-1;++N)for(;M<Y[N+1];++M)B[M]=N;function H(Se,oe){for(var fe=0;fe<Se.length;){var he=Math.min(65535,Se.length-fe),Fe=fe+he==Se.length;for(oe.write_shift(1,+Fe),oe.write_shift(2,he),oe.write_shift(2,~he&65535);he-- >0;)oe[oe.l++]=Se[fe++]}return oe.l}function ce(Se,oe){for(var fe=0,he=0,Fe=pe?new Uint16Array(32768):[];he<Se.length;){var Me=Math.min(65535,Se.length-he);if(Me<10){for(fe=Bt(oe,fe,+(he+Me==Se.length)),fe&7&&(fe+=8-(fe&7)),oe.l=fe/8|0,oe.write_shift(2,Me),oe.write_shift(2,~Me&65535);Me-- >0;)oe[oe.l++]=Se[he++];fe=oe.l*8;continue}fe=Bt(oe,fe,+(he+Me==Se.length)+2);for(var je=0;Me-- >0;){var Oe=Se[he];je=(je<<5^Oe)&32767;var Ue=-1,Ve=0;if((Ue=Fe[je])&&(Ue|=he&-32768,Ue>he&&(Ue-=32768),Ue<he))for(;Se[Ue+Ve]==Se[he+Ve]&&Ve<250;)++Ve;if(Ve>2){Oe=B[Ve],Oe<=22?fe=br(oe,fe,Ee[Oe+1]>>1)-1:(br(oe,fe,3),fe+=5,br(oe,fe,Ee[Oe-23]>>5),fe+=3);var jt=Oe<8?0:Oe-4>>2;jt>0&&(Lr(oe,fe,Ve-Y[Oe]),fe+=jt),Oe=z[he-Ue],fe=br(oe,fe,Ee[Oe]>>3),fe-=3;var It=Oe<4?0:Oe-2>>1;It>0&&(Lr(oe,fe,he-Ue-de[Oe]),fe+=It);for(var Gt=0;Gt<Ve;++Gt)Fe[je]=he&32767,je=(je<<5^Se[he])&32767,++he;Me-=Ve-1}else Oe<=143?Oe=Oe+48:fe=Qt(oe,fe,1),fe=br(oe,fe,Ee[Oe]),Fe[je]=he&32767,++he}fe=br(oe,fe,0)-1}return oe.l=(fe+7)/8|0,oe.l}return function(oe,fe){return oe.length<8?H(oe,fe):ce(oe,fe)}})();function ze(C){var z=ye(50+Math.floor(C.length*1.1)),N=ct(C,z);return z.slice(0,N)}var nt=pe?new Uint16Array(32768):bt(32768),Ot=pe?new Uint16Array(32768):bt(32768),lt=pe?new Uint16Array(128):bt(128),zt=1,Kt=1;function _r(C,z){var N=Ne(C,z)+257;z+=5;var M=Ne(C,z)+1;z+=5;var B=tt(C,z)+4;z+=4;for(var H=0,ce=pe?new Uint8Array(19):bt(19),Se=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],oe=1,fe=pe?new Uint8Array(8):bt(8),he=pe?new Uint8Array(8):bt(8),Fe=ce.length,Me=0;Me<B;++Me)ce[O[Me]]=H=qe(C,z),oe<H&&(oe=H),fe[H]++,z+=3;var je=0;for(fe[0]=0,Me=1;Me<=oe;++Me)he[Me]=je=je+fe[Me-1]<<1;for(Me=0;Me<Fe;++Me)(je=ce[Me])!=0&&(Se[Me]=he[je]++);var Oe=0;for(Me=0;Me<Fe;++Me)if(Oe=ce[Me],Oe!=0){je=Ee[Se[Me]]>>8-Oe;for(var Ue=(1<<7-Oe)-1;Ue>=0;--Ue)lt[je|Ue<<Oe]=Oe&7|Me<<3}var Ve=[];for(oe=1;Ve.length<N+M;)switch(je=lt[De(C,z)],z+=je&7,je>>>=3){case 16:for(H=3+ft(C,z),z+=2,je=Ve[Ve.length-1];H-- >0;)Ve.push(je);break;case 17:for(H=3+qe(C,z),z+=3;H-- >0;)Ve.push(0);break;case 18:for(H=11+De(C,z),z+=7;H-- >0;)Ve.push(0);break;default:Ve.push(je),oe<je&&(oe=je);break}var jt=Ve.slice(0,N),It=Ve.slice(N);for(Me=N;Me<286;++Me)jt[Me]=0;for(Me=M;Me<30;++Me)It[Me]=0;return zt=oa(jt,nt,286),Kt=oa(It,Ot,30),z}function bl(C,z){if(C[0]==3&&!(C[1]&3))return[_i(z),2];for(var N=0,M=0,B=pg(z||1<<18),H=0,ce=B.length>>>0,Se=0,oe=0;(M&1)==0;){if(M=qe(C,N),N+=3,M>>>1)M>>1==1?(Se=9,oe=5):(N=_r(C,N),Se=zt,oe=Kt);else{N&7&&(N+=8-(N&7));var fe=C[N>>>3]|C[(N>>>3)+1]<<8;if(N+=32,fe>0)for(!z&&ce<H+fe&&(B=ca(B,H+fe),ce=B.length);fe-- >0;)B[H++]=C[N>>>3],N+=8;continue}for(;;){!z&&ce<H+32767&&(B=ca(B,H+32767),ce=B.length);var he=vt(C,N,Se),Fe=M>>>1==1?be[he]:nt[he];if(N+=Fe&15,Fe>>>=4,(Fe>>>8&255)===0)B[H++]=Fe;else{if(Fe==256)break;Fe-=257;var Me=Fe<8?0:Fe-4>>2;Me>5&&(Me=0);var je=H+Y[Fe];Me>0&&(je+=vt(C,N,Me),N+=Me),he=vt(C,N,oe),Fe=M>>>1==1?Ze[he]:Ot[he],N+=Fe&15,Fe>>>=4;var Oe=Fe<4?0:Fe-2>>1,Ue=de[Fe];for(Oe>0&&(Ue+=vt(C,N,Oe),N+=Oe),!z&&ce<je&&(B=ca(B,je+100),ce=B.length);H<je;)B[H]=B[H-Ue],++H}}}return z?[B,N+7>>>3]:[B.slice(0,H),N+7>>>3]}function f0(C,z){var N=C.slice(C.l||0),M=bl(N,z);return C.l+=M[1],M[0]}function u0(C,z){if(C)typeof console<"u"&&console.error(z);else throw new Error(z)}function Ai(C,z){var N=C;Or(N,0);var M=[],B=[],H={FileIndex:M,FullPaths:B};D(H,{root:z.root});for(var ce=N.length-4;(N[ce]!=80||N[ce+1]!=75||N[ce+2]!=5||N[ce+3]!=6)&&ce>=0;)--ce;N.l=ce+4,N.l+=4;var Se=N.read_shift(2);N.l+=6;var oe=N.read_shift(4);for(N.l=oe,ce=0;ce<Se;++ce){N.l+=20;var fe=N.read_shift(4),he=N.read_shift(4),Fe=N.read_shift(2),Me=N.read_shift(2),je=N.read_shift(2);N.l+=8;var Oe=N.read_shift(4),Ue=u(N.slice(N.l+Fe,N.l+Fe+Me));N.l+=Fe+Me+je;var Ve=N.l;N.l=Oe+4,vs(N,fe,he,H,Ue),N.l=Ve}return H}function vs(C,z,N,M,B){C.l+=2;var H=C.read_shift(2),ce=C.read_shift(2),Se=o(C);if(H&8257)throw new Error("Unsupported ZIP encryption");for(var oe=C.read_shift(4),fe=C.read_shift(4),he=C.read_shift(4),Fe=C.read_shift(2),Me=C.read_shift(2),je="",Oe=0;Oe<Fe;++Oe)je+=String.fromCharCode(C[C.l++]);if(Me){var Ue=u(C.slice(C.l,C.l+Me));(Ue[21589]||{}).mt&&(Se=Ue[21589].mt),((B||{})[21589]||{}).mt&&(Se=B[21589].mt)}C.l+=Me;var Ve=C.slice(C.l,C.l+fe);switch(ce){case 8:Ve=P(C,he);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+ce)}var jt=!1;H&8&&(oe=C.read_shift(4),oe==134695760&&(oe=C.read_shift(4),jt=!0),fe=C.read_shift(4),he=C.read_shift(4)),fe!=z&&u0(jt,"Bad compressed size: "+z+" != "+fe),he!=N&&u0(jt,"Bad uncompressed size: "+N+" != "+he),_s(M,je,Ve,{unsafe:!0,mt:Se})}function gs(C,z){var N=z||{},M=[],B=[],H=ye(1),ce=N.compression?8:0,Se=0,oe=0,fe=0,he=0,Fe=0,Me=C.FullPaths[0],je=Me,Oe=C.FileIndex[0],Ue=[],Ve=0;for(oe=1;oe<C.FullPaths.length;++oe)if(je=C.FullPaths[oe].slice(Me.length),Oe=C.FileIndex[oe],!(!Oe.size||!Oe.content||je=="Sh33tJ5")){var jt=he,It=ye(je.length);for(fe=0;fe<je.length;++fe)It.write_shift(1,je.charCodeAt(fe)&127);It=It.slice(0,It.l),Ue[Fe]=SA.buf(Oe.content,0);var Gt=Oe.content;ce==8&&(Gt=L(Gt)),H=ye(30),H.write_shift(4,67324752),H.write_shift(2,20),H.write_shift(2,Se),H.write_shift(2,ce),Oe.mt?c(H,Oe.mt):H.write_shift(4,0),H.write_shift(-4,Ue[Fe]),H.write_shift(4,Gt.length),H.write_shift(4,Oe.content.length),H.write_shift(2,It.length),H.write_shift(2,0),he+=H.length,M.push(H),he+=It.length,M.push(It),he+=Gt.length,M.push(Gt),H=ye(46),H.write_shift(4,33639248),H.write_shift(2,0),H.write_shift(2,20),H.write_shift(2,Se),H.write_shift(2,ce),H.write_shift(4,0),H.write_shift(-4,Ue[Fe]),H.write_shift(4,Gt.length),H.write_shift(4,Oe.content.length),H.write_shift(2,It.length),H.write_shift(2,0),H.write_shift(2,0),H.write_shift(2,0),H.write_shift(2,0),H.write_shift(4,0),H.write_shift(4,jt),Ve+=H.l,B.push(H),Ve+=It.length,B.push(It),++Fe}return H=ye(22),H.write_shift(4,101010256),H.write_shift(2,0),H.write_shift(2,0),H.write_shift(2,Fe),H.write_shift(2,Fe),H.write_shift(4,Ve),H.write_shift(4,he),H.write_shift(2,0),wr([wr(M),wr(B),H])}var wa={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function ys(C,z){if(C.ctype)return C.ctype;var N=C.name||"",M=N.match(/\.([^\.]+)$/);return M&&wa[M[1]]||z&&(M=(N=z).match(/[\.\\]([^\.\\])+$/),M&&wa[M[1]])?wa[M[1]]:"application/octet-stream"}function Ci(C){for(var z=Uc(C),N=[],M=0;M<z.length;M+=76)N.push(z.slice(M,M+76));return N.join(`\r
`)+`\r
`}function Of(C){var z=C.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(fe){var he=fe.charCodeAt(0).toString(16).toUpperCase();return"="+(he.length==1?"0"+he:he)});z=z.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),z.charAt(0)==`
`&&(z="=0D"+z.slice(1)),z=z.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var N=[],M=z.split(`\r
`),B=0;B<M.length;++B){var H=M[B];if(H.length==0){N.push("");continue}for(var ce=0;ce<H.length;){var Se=76,oe=H.slice(ce,ce+Se);oe.charAt(Se-1)=="="?Se--:oe.charAt(Se-2)=="="?Se-=2:oe.charAt(Se-3)=="="&&(Se-=3),oe=H.slice(ce,ce+Se),ce+=Se,ce<H.length&&(oe+="="),N.push(oe)}}return N.join(`\r
`)}function h0(C){for(var z=[],N=0;N<C.length;++N){for(var M=C[N];N<=C.length&&M.charAt(M.length-1)=="=";)M=M.slice(0,M.length-1)+C[++N];z.push(M)}for(var B=0;B<z.length;++B)z[B]=z[B].replace(/[=][0-9A-Fa-f]{2}/g,function(H){return String.fromCharCode(parseInt(H.slice(1),16))});return ya(z.join(`\r
`))}function kl(C,z,N){for(var M="",B="",H="",ce,Se=0;Se<10;++Se){var oe=z[Se];if(!oe||oe.match(/^\s*$/))break;var fe=oe.match(/^(.*?):\s*([^\s].*)$/);if(fe)switch(fe[1].toLowerCase()){case"content-location":M=fe[2].trim();break;case"content-type":H=fe[2].trim();break;case"content-transfer-encoding":B=fe[2].trim();break}}switch(++Se,B.toLowerCase()){case"base64":ce=ya(Sa(z.slice(Se).join("")));break;case"quoted-printable":ce=h0(z.slice(Se));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+B)}var he=_s(C,M.slice(N.length),ce,{unsafe:!0});H&&(he.ctype=H)}function Fi(C,z){if(K(C.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var N=z&&z.root||"",M=(ot&&Buffer.isBuffer(C)?C.toString("binary"):K(C)).split(`\r
`),B=0,H="";for(B=0;B<M.length;++B)if(H=M[B],!!/^Content-Location:/i.test(H)&&(H=H.slice(H.indexOf("file")),N||(N=H.slice(0,H.lastIndexOf("/")+1)),H.slice(0,N.length)!=N))for(;N.length>0&&(N=N.slice(0,N.length-1),N=N.slice(0,N.lastIndexOf("/")+1),H.slice(0,N.length)!=N););var ce=(M[1]||"").match(/boundary="(.*?)"/);if(!ce)throw new Error("MAD cannot find boundary");var Se="--"+(ce[1]||""),oe=[],fe=[],he={FileIndex:oe,FullPaths:fe};D(he);var Fe,Me=0;for(B=0;B<M.length;++B){var je=M[B];je!==Se&&je!==Se+"--"||(Me++&&kl(he,M.slice(Fe,B),N),Fe=B)}return he}function Df(C,z){var N=z||{},M=N.boundary||"SheetJS";M="------="+M;for(var B=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+M.slice(2)+'"',"","",""],H=C.FullPaths[0],ce=H,Se=C.FileIndex[0],oe=1;oe<C.FullPaths.length;++oe)if(ce=C.FullPaths[oe].slice(H.length),Se=C.FileIndex[oe],!(!Se.size||!Se.content||ce=="Sh33tJ5")){ce=ce.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Ve){return"_x"+Ve.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Ve){return"_u"+Ve.charCodeAt(0).toString(16)+"_"});for(var fe=Se.content,he=ot&&Buffer.isBuffer(fe)?fe.toString("binary"):K(fe),Fe=0,Me=Math.min(1024,he.length),je=0,Oe=0;Oe<=Me;++Oe)(je=he.charCodeAt(Oe))>=32&&je<128&&++Fe;var Ue=Fe>=Me*4/5;B.push(M),B.push("Content-Location: "+(N.root||"file:///C:/SheetJS/")+ce),B.push("Content-Transfer-Encoding: "+(Ue?"quoted-printable":"base64")),B.push("Content-Type: "+ys(Se,ce)),B.push(""),B.push(Ue?Of(he):Ci(he))}return B.push(M+`--\r
`),B.join(`\r
`)}function d0(C){var z={};return D(z,C),z}function _s(C,z,N,M){var B=M&&M.unsafe;B||D(C);var H=!B&&Ge.find(C,z);if(!H){var ce=C.FullPaths[0];z.slice(0,ce.length)==ce?ce=z:(ce.slice(-1)!="/"&&(ce+="/"),ce=(ce+z).replace("//","/")),H={name:s(z),type:2},C.FileIndex.push(H),C.FullPaths.push(ce),B||Ge.utils.cfb_gc(C)}return H.content=N,H.size=N?N.length:0,M&&(M.CLSID&&(H.clsid=M.CLSID),M.mt&&(H.mt=M.mt),M.ct&&(H.ct=M.ct)),H}function x0(C,z){D(C);var N=Ge.find(C,z);if(N){for(var M=0;M<C.FileIndex.length;++M)if(C.FileIndex[M]==N)return C.FileIndex.splice(M,1),C.FullPaths.splice(M,1),!0}return!1}function Al(C,z,N){D(C);var M=Ge.find(C,z);if(M){for(var B=0;B<C.FileIndex.length;++B)if(C.FileIndex[B]==M)return C.FileIndex[B].name=s(N),C.FullPaths[B]=N,!0}return!1}function Cl(C){X(C,!0)}return t.find=re,t.read=W,t.parse=p,t.write=Ae,t.writeFile=Re,t.utils={cfb_new:d0,cfb_add:_s,cfb_del:x0,cfb_mov:Al,cfb_gc:Cl,ReadShift:bc,CheckField:c_,prep_blob:Or,bconcat:wr,use_zlib:A,_deflateRaw:ze,_inflateRaw:f0,consts:ie},t})();function EA(e){return typeof e=="string"?Ef(e):Array.isArray(e)?Yk(e):e}function r0(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=Ef(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?pn(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var s=new Blob([EA(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(s,e);if(typeof saveAs<"u")return saveAs(s,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var c=URL.createObjectURL(s);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(c)},6e4),chrome.downloads.download({url:c,filename:e,saveAs:!0});var o=document.createElement("a");if(o.download!=null)return o.download=e,o.href=c,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(c)},6e4),c}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var u=File(e);return u.open("w"),u.encoding="binary",Array.isArray(t)&&(t=Ti(t)),u.write(t),u.close(),t}catch(h){if(!h.message||!h.message.match(/onstruct/))throw h}throw new Error("cannot save file "+e)}function wA(e){if(typeof Deno<"u")return Deno.readFileSync(e);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+e)}function ar(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function wg(e,t){for(var r=[],n=ar(e),s=0;s!==n.length;++s)r[e[n[s]][t]]==null&&(r[e[n[s]][t]]=n[s]);return r}function Tf(e){for(var t=[],r=ar(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function bf(e){for(var t=[],r=ar(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function TA(e){for(var t=[],r=ar(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var nf=new Date(1899,11,30,0,0,0);function yr(e,t){var r=e.getTime(),n=nf.getTime()+(e.getTimezoneOffset()-nf.getTimezoneOffset())*6e4;return(r-n)/(1440*60*1e3)}var Py=new Date,bA=nf.getTime()+(Py.getTimezoneOffset()-nf.getTimezoneOffset())*6e4,Tg=Py.getTimezoneOffset();function kf(e){var t=new Date;return t.setTime(e*24*60*60*1e3+bA),t.getTimezoneOffset()!==Tg&&t.setTime(t.getTime()+(t.getTimezoneOffset()-Tg)*6e4),t}function kA(e){var t=0,r=0,n=!1,s=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!s)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var c=1;c!=s.length;++c)if(s[c]){switch(r=1,c>3&&(n=!0),s[c].slice(s[c].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+s[c].slice(s[c].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(s[c],10)}return t}var bg=new Date("2017-02-19T19:06:09.000Z"),Hy=isNaN(bg.getFullYear())?new Date("2/19/17"):bg,AA=Hy.getFullYear()==2017;function Wt(e,t){var r=new Date(e);if(AA)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(Hy.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var s=e.match(/\d+/g)||["2017","2","19","0","0","0"],c=new Date(+s[0],+s[1]-1,+s[2],+s[3]||0,+s[4]||0,+s[5]||0);return e.indexOf("Z")>-1&&(c=new Date(c.getTime()-c.getTimezoneOffset()*60*1e3)),c}function ss(e,t){if(ot&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return pn(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return pn(Fy(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return pn(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return pn(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"",ƒ:"","„":"","…":"","†":"","‡":"","ˆ":"","‰":"",Š:"","‹":"",Œ:"",Ž:"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"",š:"","›":"",œ:"",ž:"",Ÿ:""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(c){return r[c]||c})}catch{}for(var n=[],s=0;s!=e.length;++s)n.push(String.fromCharCode(e[s]));return n.join("")}function Xt(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Xt(e[r]));return t}function tr(e,t){for(var r="";r.length<t;)r+=e;return r}function Ja(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(s,c){return r=-r,c}),!isNaN(t=Number(n)))?t/r:t}var CA=["january","february","march","april","may","june","july","august","september","october","november","december"];function hl(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),s=t.getMonth(),c=t.getDate();if(isNaN(c))return r;var o=e.toLowerCase();if(o.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(o=o.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),o.length>3&&CA.indexOf(o)==-1)return r}else if(o.match(/[a-z]/))return r;return n<0||n>8099?r:(s>0||c>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}var FA=(function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,n,s){if(e||typeof n=="string")return r.split(n);for(var c=r.split(n),o=[c[0]],u=1;u<c.length;++u)o.push(s),o.push(c[u]);return o}})();function Vy(e){return e?e.content&&e.type?ss(e.content,!0):e.data?Ec(e.data):e.asNodeBuffer&&ot?Ec(e.asNodeBuffer().toString("binary")):e.asBinary?Ec(e.asBinary()):e._data&&e._data.getContent?Ec(ss(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Wy(e){if(!e)return null;if(e.data)return dg(e.data);if(e.asNodeBuffer&&ot)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return typeof t=="string"?dg(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function RA(e){return e&&e.name.slice(-4)===".bin"?Wy(e):Vy(e)}function za(e,t){for(var r=e.FullPaths||ar(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),s=n.replace(/\\/g,"/"),c=0;c<r.length;++c){var o=r[c].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==o||s==o)return e.files?e.files[r[c]]:e.FileIndex[c]}return null}function l1(e,t){var r=za(e,t);if(r==null)throw new Error("Cannot find file "+t+" in zip");return r}function pr(e,t,r){if(!r)return RA(l1(e,t));if(!t)return null;try{return pr(e,t)}catch{return null}}function _a(e,t,r){if(!r)return Vy(l1(e,t));if(!t)return null;try{return _a(e,t)}catch{return null}}function OA(e,t,r){return Wy(l1(e,t))}function kg(e){for(var t=e.FullPaths||ar(e.files),r=[],n=0;n<t.length;++n)t[n].slice(-1)!="/"&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function st(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return ot?n=Hn(r):n=Kk(r),Ge.utils.cfb_add(e,t,n)}Ge.utils.cfb_add(e,t,r)}else e.file(t,r)}function c1(){return Ge.utils.cfb_new()}function Xy(e,t){switch(t.type){case"base64":return Ge.read(e,{type:"base64"});case"binary":return Ge.read(e,{type:"binary"});case"buffer":case"array":return Ge.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Tc(e,t){if(e.charAt(0)=="/")return e.slice(1);var r=t.split("/");t.slice(-1)!="/"&&r.pop();for(var n=e.split("/");n.length!==0;){var s=n.shift();s===".."?r.pop():s!=="."&&r.push(s)}return r.join("/")}var or=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,DA=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Ag=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,NA=/<[^>]*>/g,Gr=or.match(Ag)?Ag:NA,MA=/<\w*:/,LA=/<(\/?)\w+:/;function Qe(e,t,r){for(var n={},s=0,c=0;s!==e.length&&!((c=e.charCodeAt(s))===32||c===10||c===13);++s);if(t||(n[0]=e.slice(0,s)),s===e.length)return n;var o=e.match(DA),u=0,h="",d=0,p="",v="",g=1;if(o)for(d=0;d!=o.length;++d){for(v=o[d],c=0;c!=v.length&&v.charCodeAt(c)!==61;++c);for(p=v.slice(0,c).trim();v.charCodeAt(c+1)==32;)++c;for(g=(s=v.charCodeAt(c+1))==34||s==39?1:0,h=v.slice(c+1+g,v.length-g),u=0;u!=p.length&&p.charCodeAt(u)!==58;++u);if(u===p.length)p.indexOf("_")>0&&(p=p.slice(0,p.indexOf("_"))),n[p]=h,n[p.toLowerCase()]=h;else{var S=(u===5&&p.slice(0,5)==="xmlns"?"xmlns":"")+p.slice(u+1);if(n[S]&&p.slice(u-3,u)=="ext")continue;n[S]=h,n[S.toLowerCase()]=h}}return n}function mn(e){return e.replace(LA,"<$1")}var Gy={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},o1=Tf(Gy),yt=(function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(n){var s=n+"",c=s.indexOf("<![CDATA[");if(c==-1)return s.replace(e,function(u,h){return Gy[u]||String.fromCharCode(parseInt(h,u.indexOf("x")>-1?16:10))||u}).replace(t,function(u,h){return String.fromCharCode(parseInt(h,16))});var o=s.indexOf("]]>");return r(s.slice(0,c))+s.slice(c+9,o)+r(s.slice(o+3))}})(),f1=/[&<>'"]/g,BA=/[\u0000-\u0008\u000b-\u001f]/g;function Rt(e){var t=e+"";return t.replace(f1,function(r){return o1[r]}).replace(BA,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Cg(e){return Rt(e).replace(/ /g,"_x0020_")}var qy=/[\u0000-\u001f]/g;function u1(e){var t=e+"";return t.replace(f1,function(r){return o1[r]}).replace(/\n/g,"<br/>").replace(qy,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function UA(e){var t=e+"";return t.replace(f1,function(r){return o1[r]}).replace(qy,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var Fg=(function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}})();function jA(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function Vt(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function td(e){for(var t="",r=0,n=0,s=0,c=0,o=0,u=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(s=e.charCodeAt(r++),n>191&&n<224){o=(n&31)<<6,o|=s&63,t+=String.fromCharCode(o);continue}if(c=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(s&63)<<6|c&63);continue}o=e.charCodeAt(r++),u=((n&7)<<18|(s&63)<<12|(c&63)<<6|o&63)-65536,t+=String.fromCharCode(55296+(u>>>10&1023)),t+=String.fromCharCode(56320+(u&1023))}return t}function Rg(e){var t=_i(2*e.length),r,n,s=1,c=0,o=0,u;for(n=0;n<e.length;n+=s)s=1,(u=e.charCodeAt(n))<128?r=u:u<224?(r=(u&31)*64+(e.charCodeAt(n+1)&63),s=2):u<240?(r=(u&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),s=3):(s=4,r=(u&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,o=55296+(r>>>10&1023),r=56320+(r&1023)),o!==0&&(t[c++]=o&255,t[c++]=o>>>8,o=0),t[c++]=r%256,t[c++]=r>>>8;return t.slice(0,c).toString("ucs2")}function Og(e){return Hn(e,"binary").toString("utf8")}var Ro="foo bar bazâð£",Lt=ot&&(Og(Ro)==td(Ro)&&Og||Rg(Ro)==td(Ro)&&Rg)||td,pn=ot?function(e){return Hn(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,s=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,s=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(s>>18&7))),t.push(String.fromCharCode(144+(s>>12&63))),t.push(String.fromCharCode(128+(s>>6&63))),t.push(String.fromCharCode(128+(s&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},Ic=(function(){var e={};return function(r,n){var s=r+"|"+(n||"");return e[s]?e[s]:e[s]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+r+">",n||"")}})(),Yy=(function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
`).replace(/<[^>]*>/g,""),s=0;s<e.length;++s)n=n.replace(e[s][0],e[s][1]);return n}})(),IA=(function(){var e={};return function(r){return e[r]!==void 0?e[r]:e[r]=new RegExp("<(?:vt:)?"+r+">([\\s\\S]*?)</(?:vt:)?"+r+">","g")}})(),zA=/<\/?(?:vt:)?variant>/g,PA=/<(?:vt:)([^>]*)>([\s\S]*)</;function Dg(e,t){var r=Qe(e),n=e.match(IA(r.baseType))||[],s=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return s}return n.forEach(function(c){var o=c.replace(zA,"").match(PA);o&&s.push({v:Lt(o[2]),t:o[1]})}),s}var Ky=/(^\s|\s$|\n)/;function Mr(e,t){return"<"+e+(t.match(Ky)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function zc(e){return ar(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Le(e,t,r){return"<"+e+(r!=null?zc(r):"")+(t!=null?(t.match(Ky)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function kd(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function HA(e,t){switch(typeof e){case"string":var r=Le("vt:lpwstr",Rt(e));return r=r.replace(/&quot;/g,"_x0022_"),r;case"number":return Le((e|0)==e?"vt:i4":"vt:r8",Rt(String(e)));case"boolean":return Le("vt:bool",e?"true":"false")}if(e instanceof Date)return Le("vt:filetime",kd(e));throw new Error("Unable to serialize "+e)}function h1(e){if(ot&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return Lt(Ti(n1(e)));throw new Error("Bad input format: expected Buffer or string")}var Pc=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg,gr={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/",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},us=["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"],va={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"};function VA(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),s=e[t+6]&15,c=5;c>=0;--c)s=s*256+e[t+c];return n==2047?s==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,s+=Math.pow(2,52)),r*Math.pow(2,n-52)*s)}function WA(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,s=0,c=0,o=n?-t:t;isFinite(o)?o==0?s=c=0:(s=Math.floor(Math.log(o)/Math.LN2),c=o*Math.pow(2,52-s),s<=-1023&&(!isFinite(c)||c<Math.pow(2,52))?s=-1022:(c-=Math.pow(2,52),s+=1023)):(s=2047,c=isNaN(t)?26985:0);for(var u=0;u<=5;++u,c/=256)e[r+u]=c&255;e[r+6]=(s&15)<<4|c&15,e[r+7]=s>>4|n}var Ng=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var s=0,c=e[0][n].length;s<c;s+=r)t.push.apply(t,e[0][n].slice(s,s+r));return t},Mg=ot?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Hn(t)})):Ng(e)}:Ng,Lg=function(e,t,r){for(var n=[],s=t;s<r;s+=2)n.push(String.fromCharCode(Bn(e,s)));return n.join("").replace(Zr,"")},d1=ot?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Zr,""):Lg(e,t,r)}:Lg,Bg=function(e,t,r){for(var n=[],s=t;s<t+r;++s)n.push(("0"+e[s].toString(16)).slice(-2));return n.join("")},Zy=ot?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Bg(e,t,r)}:Bg,Ug=function(e,t,r){for(var n=[],s=t;s<r;s++)n.push(String.fromCharCode(nl(e,s)));return n.join("")},a0=ot?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Ug(t,r,n)}:Ug,$y=function(e,t){var r=ga(e,t);return r>0?a0(e,t+4,t+4+r-1):""},Qy=$y,Jy=function(e,t){var r=ga(e,t);return r>0?a0(e,t+4,t+4+r-1):""},e_=Jy,t_=function(e,t){var r=2*ga(e,t);return r>0?a0(e,t+4,t+4+r-1):""},r_=t_,a_=function(t,r){var n=ga(t,r);return n>0?d1(t,r+4,r+4+n):""},n_=a_,i_=function(e,t){var r=ga(e,t);return r>0?a0(e,t+4,t+4+r):""},s_=i_,l_=function(e,t){return VA(e,t)},sf=l_,x1=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};ot&&(Qy=function(t,r){if(!Buffer.isBuffer(t))return $y(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},e_=function(t,r){if(!Buffer.isBuffer(t))return Jy(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},r_=function(t,r){if(!Buffer.isBuffer(t))return t_(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},n_=function(t,r){if(!Buffer.isBuffer(t))return a_(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},s_=function(t,r){if(!Buffer.isBuffer(t))return i_(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},sf=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):l_(t,r)},x1=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var nl=function(e,t){return e[t]},Bn=function(e,t){return e[t+1]*256+e[t]},XA=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},ga=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},qi=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},GA=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function bc(e,t){var r="",n,s,c=[],o,u,h,d;switch(t){case"dbcs":if(d=this.l,ot&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(h=0;h<e;++h)r+=String.fromCharCode(Bn(this,d)),d+=2;e*=2;break;case"utf8":r=a0(this,this.l,this.l+e);break;case"utf16le":e*=2,r=d1(this,this.l,this.l+e);break;case"wstr":return bc.call(this,e,"dbcs");case"lpstr-ansi":r=Qy(this,this.l),e=4+ga(this,this.l);break;case"lpstr-cp":r=e_(this,this.l),e=4+ga(this,this.l);break;case"lpwstr":r=r_(this,this.l),e=4+2*ga(this,this.l);break;case"lpp4":e=4+ga(this,this.l),r=n_(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+ga(this,this.l),r=s_(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(o=nl(this,this.l+e++))!==0;)c.push(Fo(o));r=c.join("");break;case"_wstr":for(e=0,r="";(o=Bn(this,this.l+e))!==0;)c.push(Fo(o)),e+=2;e+=2,r=c.join("");break;case"dbcs-cont":for(r="",d=this.l,h=0;h<e;++h){if(this.lens&&this.lens.indexOf(d)!==-1)return o=nl(this,d),this.l=d+1,u=bc.call(this,e-h,o?"dbcs-cont":"sbcs-cont"),c.join("")+u;c.push(Fo(Bn(this,d))),d+=2}r=c.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",d=this.l,h=0;h!=e;++h){if(this.lens&&this.lens.indexOf(d)!==-1)return o=nl(this,d),this.l=d+1,u=bc.call(this,e-h,o?"dbcs-cont":"sbcs-cont"),c.join("")+u;c.push(Fo(nl(this,d))),d+=1}r=c.join("");break;default:switch(e){case 1:return n=nl(this,this.l),this.l++,n;case 2:return n=(t==="i"?XA:Bn)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||(this[this.l+3]&128)===0?(n=(e>0?qi:GA)(this,this.l),this.l+=4,n):(s=ga(this,this.l),this.l+=4,s);case 8:case-8:if(t==="f")return e==8?s=sf(this,this.l):s=sf([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,s;e=8;case 16:r=Zy(this,this.l,e);break}}return this.l+=e,r}var qA=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},YA=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},KA=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function ZA(e,t,r){var n=0,s=0;if(r==="dbcs"){for(s=0;s!=t.length;++s)KA(this,t.charCodeAt(s),this.l+2*s);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),s=0;s!=t.length;++s)this[this.l+s]=t.charCodeAt(s)&255;n=t.length}else if(r==="hex"){for(;s<e;++s)this[this.l++]=parseInt(t.slice(2*s,2*s+2),16)||0;return this}else if(r==="utf16le"){var c=Math.min(this.l+e,this.length);for(s=0;s<Math.min(t.length,e);++s){var o=t.charCodeAt(s);this[this.l++]=o&255,this[this.l++]=o>>8}for(;this.l<c;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,qA(this,t,this.l);break;case 8:if(n=8,r==="f"){WA(this,t,this.l);break}case 16:break;case-4:n=4,YA(this,t,this.l);break}return this.l+=n,this}function c_(e,t){var r=Zy(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Or(e,t){e.l=t,e.read_shift=bc,e.chk=c_,e.write_shift=ZA}function Xr(e,t){e.l+=t}function ye(e){var t=_i(e);return Or(t,0),t}function Vn(e,t,r){if(e){var n,s,c;Or(e,e.l||0);for(var o=e.length,u=0,h=0;e.l<o;){u=e.read_shift(1),u&128&&(u=(u&127)+((e.read_shift(1)&127)<<7));var d=qc[u]||qc[65535];for(n=e.read_shift(1),c=n&127,s=1;s<4&&n&128;++s)c+=((n=e.read_shift(1))&127)<<7*s;h=e.l+c;var p=d.f&&d.f(e,c,r);if(e.l=h,t(p,d,u))return}}}function sa(){var e=[],t=ot?256:2048,r=function(d){var p=ye(d);return Or(p,0),p},n=r(t),s=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},c=function(d){return n&&d<n.length-n.l?n:(s(),n=r(Math.max(d+1,t)))},o=function(){return s(),wr(e)},u=function(d){s(),n=d,n.l==null&&(n.l=n.length),c(t)};return{next:c,push:u,end:o,_bufs:e}}function ke(e,t,r,n){var s=+t,c;if(!isNaN(s)){n||(n=qc[s].p||(r||[]).length||0),c=1+(s>=128?1:0)+1,n>=128&&++c,n>=16384&&++c,n>=2097152&&++c;var o=e.next(c);s<=127?o.write_shift(1,s):(o.write_shift(1,(s&127)+128),o.write_shift(1,s>>7));for(var u=0;u!=4;++u)if(n>=128)o.write_shift(1,(n&127)+128),n>>=7;else{o.write_shift(1,n);break}n>0&&x1(r)&&e.push(r)}}function kc(e,t,r){var n=Xt(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function jg(e,t,r){var n=Xt(e);return n.s=kc(n.s,t.s,r),n.e=kc(n.e,t.s,r),n}function Ac(e,t){if(e.cRel&&e.c<0)for(e=Xt(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Xt(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=$e(e);return!e.cRel&&e.cRel!=null&&(r=JA(r)),!e.rRel&&e.rRel!=null&&(r=$A(r)),r}function rd(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Zt(e.s.c)+":"+(e.e.cRel?"":"$")+Zt(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+lr(e.s.r)+":"+(e.e.rRel?"":"$")+lr(e.e.r):Ac(e.s,t.biff)+":"+Ac(e.e,t.biff)}function p1(e){return parseInt(QA(e),10)-1}function lr(e){return""+(e+1)}function $A(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function QA(e){return e.replace(/\$(\d+)$/,"$1")}function m1(e){for(var t=e8(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Zt(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 JA(e){return e.replace(/^([A-Z])/,"$$$1")}function e8(e){return e.replace(/^\$([A-Z])/,"$1")}function t8(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function $t(e){for(var t=0,r=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=48&&s<=57?t=10*t+(s-48):s>=65&&s<=90&&(r=26*r+(s-64))}return{c:r-1,r:t-1}}function $e(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function la(e){var t=e.indexOf(":");return t==-1?{s:$t(e),e:$t(e)}:{s:$t(e.slice(0,t)),e:$t(e.slice(t+1))}}function at(e,t){return typeof t>"u"||typeof t=="number"?at(e.s,e.e):(typeof e!="string"&&(e=$e(e)),typeof t!="string"&&(t=$e(t)),e==t?e:e+":"+t)}function _t(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,s=0,c=e.length;for(r=0;n<c&&!((s=e.charCodeAt(n)-64)<1||s>26);++n)r=26*r+s;for(t.s.c=--r,r=0;n<c&&!((s=e.charCodeAt(n)-48)<0||s>9);++n)r=10*r+s;if(t.s.r=--r,n===c||s!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=c&&!((s=e.charCodeAt(n)-64)<1||s>26);++n)r=26*r+s;for(t.e.c=--r,r=0;n!=c&&!((s=e.charCodeAt(n)-48)<0||s>9);++n)r=10*r+s;return t.e.r=--r,t}function Ig(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Wa(e.z,r?yr(t):t)}catch{}try{return e.w=Wa((e.XF||{}).numFmtId||(r?14:0),r?yr(t):t)}catch{return""+t}}function Pn(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?Wn[e.v]||e.v:t==null?Ig(e,e.v):Ig(e,t))}function bi(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function o_(e,t,r){var n=r||{},s=e?Array.isArray(e):n.dense,c=e||(s?[]:{}),o=0,u=0;if(c&&n.origin!=null){if(typeof n.origin=="number")o=n.origin;else{var h=typeof n.origin=="string"?$t(n.origin):n.origin;o=h.r,u=h.c}c["!ref"]||(c["!ref"]="A1:A1")}var d={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(c["!ref"]){var p=_t(c["!ref"]);d.s.c=p.s.c,d.s.r=p.s.r,d.e.c=Math.max(d.e.c,p.e.c),d.e.r=Math.max(d.e.r,p.e.r),o==-1&&(d.e.r=o=p.e.r+1)}for(var v=0;v!=t.length;++v)if(t[v]){if(!Array.isArray(t[v]))throw new Error("aoa_to_sheet expects an array of arrays");for(var g=0;g!=t[v].length;++g)if(!(typeof t[v][g]>"u")){var S={v:t[v][g]},w=o+v,_=u+g;if(d.s.r>w&&(d.s.r=w),d.s.c>_&&(d.s.c=_),d.e.r<w&&(d.e.r=w),d.e.c<_&&(d.e.c=_),t[v][g]&&typeof t[v][g]=="object"&&!Array.isArray(t[v][g])&&!(t[v][g]instanceof Date))S=t[v][g];else if(Array.isArray(S.v)&&(S.f=t[v][g][1],S.v=S.v[0]),S.v===null)if(S.f)S.t="n";else if(n.nullError)S.t="e",S.v=0;else if(n.sheetStubs)S.t="z";else continue;else typeof S.v=="number"?S.t="n":typeof S.v=="boolean"?S.t="b":S.v instanceof Date?(S.z=n.dateNF||Ke[14],n.cellDates?(S.t="d",S.w=Wa(S.z,yr(S.v))):(S.t="n",S.v=yr(S.v),S.w=Wa(S.z,S.v))):S.t="s";if(s)c[w]||(c[w]=[]),c[w][_]&&c[w][_].z&&(S.z=c[w][_].z),c[w][_]=S;else{var E=$e({c:_,r:w});c[E]&&c[E].z&&(S.z=c[E].z),c[E]=S}}}return d.s.c<1e7&&(c["!ref"]=at(d)),c}function wl(e,t){return o_(null,e,t)}function r8(e){return e.read_shift(4,"i")}function en(e,t){return t||(t=ye(4)),t.write_shift(4,e),t}function Wr(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Tr(e,t){var r=!1;return t==null&&(r=!0,t=ye(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function a8(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function n8(e,t){return t||(t=ye(4)),t.write_shift(2,0),t.write_shift(2,0),t}function v1(e,t){var r=e.l,n=e.read_shift(1),s=Wr(e),c=[],o={t:s,h:s};if((n&1)!==0){for(var u=e.read_shift(4),h=0;h!=u;++h)c.push(a8(e));o.r=c}else o.r=[{ich:0,ifnt:0}];return e.l=r+t,o}function i8(e,t){var r=!1;return t==null&&(r=!0,t=ye(15+4*e.t.length)),t.write_shift(1,0),Tr(e.t,t),r?t.slice(0,t.l):t}var s8=v1;function l8(e,t){var r=!1;return t==null&&(r=!0,t=ye(23+4*e.t.length)),t.write_shift(1,1),Tr(e.t,t),t.write_shift(4,1),n8({},t),r?t.slice(0,t.l):t}function Xa(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function hs(e,t){return t==null&&(t=ye(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function ds(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function xs(e,t){return t==null&&(t=ye(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var c8=Wr,f_=Tr;function g1(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function lf(e,t){var r=!1;return t==null&&(r=!0,t=ye(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var o8=Wr,Ad=g1,y1=lf;function _1(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var s=n===0?sf([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):qi(t,0)>>2;return r?s/100:s}function u_(e,t){t==null&&(t=ye(4));var r=0,n=0,s=e*100;if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:s==(s|0)&&s>=-536870912&&s<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?s:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function h_(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}function f8(e,t){return t||(t=ye(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}var ps=h_,Tl=f8;function Hr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function ls(e,t){return(t||ye(8)).write_shift(8,e,"f")}function u8(e){var t={},r=e.read_shift(1),n=r>>>1,s=e.read_shift(1),c=e.read_shift(2,"i"),o=e.read_shift(1),u=e.read_shift(1),h=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=s;var d=Ji[s];d&&(t.rgb=Vc(d));break;case 2:t.rgb=Vc([o,u,h]);break;case 3:t.theme=s;break}return c!=0&&(t.tint=c>0?c/32767:c/32768),t}function cf(e,t){if(t||(t=ye(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function h8(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function d8(e,t){t||(t=ye(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}function d_(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function x8(e){return d_(e,1)}function p8(e){return d_(e,2)}var S1=2,na=3,Oo=11,zg=12,of=19,Do=64,m8=65,v8=71,g8=4108,y8=4126,Er=80,x_=81,_8=[Er,x_],Cd={1:{n:"CodePage",t:S1},2:{n:"Category",t:Er},3:{n:"PresentationFormat",t:Er},4:{n:"ByteCount",t:na},5:{n:"LineCount",t:na},6:{n:"ParagraphCount",t:na},7:{n:"SlideCount",t:na},8:{n:"NoteCount",t:na},9:{n:"HiddenCount",t:na},10:{n:"MultimediaClipCount",t:na},11:{n:"ScaleCrop",t:Oo},12:{n:"HeadingPairs",t:g8},13:{n:"TitlesOfParts",t:y8},14:{n:"Manager",t:Er},15:{n:"Company",t:Er},16:{n:"LinksUpToDate",t:Oo},17:{n:"CharacterCount",t:na},19:{n:"SharedDoc",t:Oo},22:{n:"HyperlinksChanged",t:Oo},23:{n:"AppVersion",t:na,p:"version"},24:{n:"DigSig",t:m8},26:{n:"ContentType",t:Er},27:{n:"ContentStatus",t:Er},28:{n:"Language",t:Er},29:{n:"Version",t:Er},255:{},2147483648:{n:"Locale",t:of},2147483651:{n:"Behavior",t:of},1919054434:{}},Fd={1:{n:"CodePage",t:S1},2:{n:"Title",t:Er},3:{n:"Subject",t:Er},4:{n:"Author",t:Er},5:{n:"Keywords",t:Er},6:{n:"Comments",t:Er},7:{n:"Template",t:Er},8:{n:"LastAuthor",t:Er},9:{n:"RevNumber",t:Er},10:{n:"EditTime",t:Do},11:{n:"LastPrinted",t:Do},12:{n:"CreatedDate",t:Do},13:{n:"ModifiedDate",t:Do},14:{n:"PageCount",t:na},15:{n:"WordCount",t:na},16:{n:"CharCount",t:na},17:{n:"Thumbnail",t:v8},18:{n:"Application",t:Er},19:{n:"DocSecurity",t:na},255:{},2147483648:{n:"Locale",t:of},2147483651:{n:"Behavior",t:of},1919054434:{}},Pg={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},S8=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function E8(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var w8=E8([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]),Ji=Xt(w8),Wn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},p_={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Rd={"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"},No={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 E1(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function T8(e){var t=E1();if(!e||!e.match)return t;var r={};if((e.match(Gr)||[]).forEach(function(n){var s=Qe(n);switch(s[0].replace(MA,"<")){case"<?xml":break;case"<Types":t.xmlns=s["xmlns"+(s[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[s.Extension]=s.ContentType;break;case"<Override":t[Rd[s.ContentType]]!==void 0&&t[Rd[s.ContentType]].push(s.PartName);break}}),t.xmlns!==gr.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function m_(e,t){var r=TA(Rd),n=[],s;n[n.length]=or,n[n.length]=Le("Types",null,{xmlns:gr.CT,"xmlns:xsd":gr.xsd,"xmlns:xsi":gr.xsi}),n=n.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(h){return Le("Default",null,{Extension:h[0],ContentType:h[1]})}));var c=function(h){e[h]&&e[h].length>0&&(s=e[h][0],n[n.length]=Le("Override",null,{PartName:(s[0]=="/"?"":"/")+s,ContentType:No[h][t.bookType]||No[h].xlsx}))},o=function(h){(e[h]||[]).forEach(function(d){n[n.length]=Le("Override",null,{PartName:(d[0]=="/"?"":"/")+d,ContentType:No[h][t.bookType]||No[h].xlsx})})},u=function(h){(e[h]||[]).forEach(function(d){n[n.length]=Le("Override",null,{PartName:(d[0]=="/"?"":"/")+d,ContentType:r[h][0]})})};return c("workbooks"),o("sheets"),o("charts"),u("themes"),["strs","styles"].forEach(c),["coreprops","extprops","custprops"].forEach(u),u("vba"),u("comments"),u("threadedcomments"),u("drawings"),o("metadata"),u("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var ut={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 Hc(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Cc(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var n={};return(e.match(Gr)||[]).forEach(function(s){var c=Qe(s);if(c[0]==="<Relationship"){var o={};o.Type=c.Type,o.Target=c.Target,o.Id=c.Id,c.TargetMode&&(o.TargetMode=c.TargetMode);var u=c.TargetMode==="External"?c.Target:Tc(c.Target,t);r[u]=o,n[c.Id]=o}}),r["!id"]=n,r}function ll(e){var t=[or,Le("Relationships",null,{xmlns:gr.RELS})];return ar(e["!id"]).forEach(function(r){t[t.length]=Le("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Ft(e,t,r,n,s,c){if(s||(s={}),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,s.Id="rId"+t,s.Type=n,s.Target=r,[ut.HLINK,ut.XPATH,ut.XMISS].indexOf(s.Type)>-1&&(s.TargetMode="External"),e["!id"][s.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][s.Id]=s,e[("/"+s.Target).replace("//","/")]=s,t}var b8="application/vnd.oasis.opendocument.spreadsheet";function k8(e,t){for(var r=h1(e),n,s;n=Pc.exec(r);)switch(n[3]){case"manifest":break;case"file-entry":if(s=Qe(n[0],!1),s.path=="/"&&s.type!==b8)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}function A8(e){var t=[or];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
`),t.push(`  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
`);for(var r=0;r<e.length;++r)t.push('  <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/>
`);return t.push("</manifest:manifest>"),t.join("")}function Hg(e,t,r){return['  <rdf:Description rdf:about="'+e+`">
`,'    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/>
`,`  </rdf:Description>
`].join("")}function C8(e,t){return['  <rdf:Description rdf:about="'+e+`">
`,'    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/>
`,`  </rdf:Description>
`].join("")}function F8(e){var t=[or];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`);for(var r=0;r!=e.length;++r)t.push(Hg(e[r][0],e[r][1])),t.push(C8("",e[r][0]));return t.push(Hg("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function v_(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+ef.version+"</meta:generator></office:meta></office:document-meta>"}var Va=[["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"]],R8=(function(){for(var e=new Array(Va.length),t=0;t<Va.length;++t){var r=Va[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e})();function g_(e){var t={};e=Lt(e);for(var r=0;r<Va.length;++r){var n=Va[r],s=e.match(R8[r]);s!=null&&s.length>0&&(t[n[1]]=yt(s[1])),n[2]==="date"&&t[n[1]]&&(t[n[1]]=Wt(t[n[1]]))}return t}function ad(e,t,r,n,s){s[e]!=null||t==null||t===""||(s[e]=t,t=Rt(t),n[n.length]=r?Le(e,t,r):Mr(e,t))}function y_(e,t){var r=t||{},n=[or,Le("cp:coreProperties",null,{"xmlns:cp":gr.CORE_PROPS,"xmlns:dc":gr.dc,"xmlns:dcterms":gr.dcterms,"xmlns:dcmitype":gr.dcmitype,"xmlns:xsi":gr.xsi})],s={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&ad("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:kd(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,s),e.ModifiedDate!=null&&ad("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:kd(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,s));for(var c=0;c!=Va.length;++c){var o=Va[c],u=r.Props&&r.Props[o[1]]!=null?r.Props[o[1]]:e?e[o[1]]:null;u===!0?u="1":u===!1?u="0":typeof u=="number"&&(u=String(u)),u!=null&&ad(o[0],u,null,n,s)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var es=[["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"]],__=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function S_(e,t,r,n){var s=[];if(typeof e=="string")s=Dg(e,n);else for(var c=0;c<e.length;++c)s=s.concat(e[c].map(function(p){return{v:p}}));var o=typeof t=="string"?Dg(t,n).map(function(p){return p.v}):t,u=0,h=0;if(o.length>0)for(var d=0;d!==s.length;d+=2){switch(h=+s[d+1].v,s[d].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=h,r.SheetNames=o.slice(u,u+h);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=h,r.DefinedNames=o.slice(u,u+h);break;case"Charts":case"Diagramme":r.Chartsheets=h,r.ChartNames=o.slice(u,u+h);break}u+=h}}function O8(e,t,r){var n={};return t||(t={}),e=Lt(e),es.forEach(function(s){var c=(e.match(Ic(s[0]))||[])[1];switch(s[2]){case"string":c&&(t[s[1]]=yt(c));break;case"bool":t[s[1]]=c==="true";break;case"raw":var o=e.match(new RegExp("<"+s[0]+"[^>]*>([\\s\\S]*?)</"+s[0]+">"));o&&o.length>0&&(n[s[1]]=o[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&S_(n.HeadingPairs,n.TitlesOfParts,t,r),t}function E_(e){var t=[],r=Le;return e||(e={}),e.Application="SheetJS",t[t.length]=or,t[t.length]=Le("Properties",null,{xmlns:gr.EXT_PROPS,"xmlns:vt":gr.vt}),es.forEach(function(n){if(e[n[1]]!==void 0){var s;switch(n[2]){case"string":s=Rt(String(e[n[1]]));break;case"bool":s=e[n[1]]?"true":"false";break}s!==void 0&&(t[t.length]=r(n[0],s))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+Rt(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var D8=/<[^>]+>[^<]*/g;function N8(e,t){var r={},n="",s=e.match(D8);if(s)for(var c=0;c!=s.length;++c){var o=s[c],u=Qe(o);switch(u[0]){case"<?xml":break;case"<Properties":break;case"<property":n=yt(u.name);break;case"</property>":n=null;break;default:if(o.indexOf("<vt:")===0){var h=o.split(">"),d=h[0].slice(4),p=h[1];switch(d){case"lpstr":case"bstr":case"lpwstr":r[n]=yt(p);break;case"bool":r[n]=Vt(p);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(p,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(p);break;case"filetime":case"date":r[n]=Wt(p);break;case"cy":case"error":r[n]=yt(p);break;default:if(d.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",o,d,h)}}else if(o.slice(0,2)!=="</"){if(t.WTF)throw new Error(o)}}}return r}function w_(e){var t=[or,Le("Properties",null,{xmlns:gr.CUST_PROPS,"xmlns:vt":gr.vt})];if(!e)return t.join("");var r=1;return ar(e).forEach(function(s){++r,t[t.length]=Le("property",HA(e[s]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Rt(s)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Od={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"},nd;function M8(e,t,r){nd||(nd=Tf(Od)),t=nd[t]||t,e[t]=r}function L8(e,t){var r=[];return ar(Od).map(function(n){for(var s=0;s<Va.length;++s)if(Va[s][1]==n)return Va[s];for(s=0;s<es.length;++s)if(es[s][1]==n)return es[s];throw n}).forEach(function(n){if(e[n[1]]!=null){var s=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":s=new Date(s).toISOString().replace(/\.\d*Z/,"Z");break}typeof s=="number"?s=String(s):s===!0||s===!1?s=s?"1":"0":s instanceof Date&&(s=new Date(s).toISOString().replace(/\.\d*Z/,"")),r.push(Mr(Od[n[1]]||n[1],s))}}),Le("DocumentProperties",r.join(""),{xmlns:va.o})}function B8(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",s=[];return e&&ar(e).forEach(function(c){if(Object.prototype.hasOwnProperty.call(e,c)){for(var o=0;o<Va.length;++o)if(c==Va[o][1])return;for(o=0;o<es.length;++o)if(c==es[o][1])return;for(o=0;o<r.length;++o)if(c==r[o])return;var u=e[c],h="string";typeof u=="number"?(h="float",u=String(u)):u===!0||u===!1?(h="boolean",u=u?"1":"0"):u=String(u),s.push(Le(Cg(c),u,{"dt:dt":h}))}}),t&&ar(t).forEach(function(c){if(Object.prototype.hasOwnProperty.call(t,c)&&!(e&&Object.prototype.hasOwnProperty.call(e,c))){var o=t[c],u="string";typeof o=="number"?(u="float",o=String(o)):o===!0||o===!1?(u="boolean",o=o?"1":"0"):o instanceof Date?(u="dateTime.tz",o=o.toISOString()):o=String(o),s.push(Le(Cg(c),o,{"dt:dt":u}))}}),"<"+n+' xmlns="'+va.o+'">'+s.join("")+"</"+n+">"}function w1(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function U8(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),s=(r-n)/Math.pow(2,32);n*=1e7,s*=1e7;var c=n/Math.pow(2,32)|0;c>0&&(n=n%Math.pow(2,32),s+=c);var o=ye(8);return o.write_shift(4,n),o.write_shift(4,s),o}function T_(e,t,r){var n=e.l,s=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return s}function b_(e,t,r){var n=e.read_shift(0,"lpwstr");return n}function k_(e,t,r){return t===31?b_(e):T_(e,t,r)}function Dd(e,t,r){return k_(e,t,r===!1?0:4)}function j8(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return k_(e,t,0)}function I8(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var s=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Zr,""),e.l-s&2&&(e.l+=2)}return r}function z8(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Zr,"");return r}function P8(e){var t=e.l,r=ff(e,x_);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var n=ff(e,na);return[r,n]}function H8(e){for(var t=e.read_shift(4),r=[],n=0;n<t/2;++n)r.push(P8(e));return r}function Vg(e,t){for(var r=e.read_shift(4),n={},s=0;s!=r;++s){var c=e.read_shift(4),o=e.read_shift(4);n[c]=e.read_shift(o,t===1200?"utf16le":"utf8").replace(Zr,"").replace(wc,"!"),t===1200&&o%2&&(e.l+=2)}return e.l&3&&(e.l=e.l>>3<<2),n}function A_(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function V8(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function ff(e,t,r){var n=e.read_shift(2),s,c=r||{};if(e.l+=2,t!==zg&&n!==t&&_8.indexOf(t)===-1&&!((t&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+t+" saw "+n);switch(t===zg?n:t){case 2:return s=e.read_shift(2,"i"),c.raw||(e.l+=2),s;case 3:return s=e.read_shift(4,"i"),s;case 11:return e.read_shift(4)!==0;case 19:return s=e.read_shift(4),s;case 30:return T_(e,n,4).replace(Zr,"");case 31:return b_(e);case 64:return w1(e);case 65:return A_(e);case 71:return V8(e);case 80:return Dd(e,n,!c.raw).replace(Zr,"");case 81:return j8(e,n).replace(Zr,"");case 4108:return H8(e);case 4126:case 4127:return n==4127?I8(e):z8(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function Wg(e,t){var r=ye(4),n=ye(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=ye(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=U8(t);break;case 31:case 80:for(n=ye(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return wr([r,n])}function Xg(e,t){var r=e.l,n=e.read_shift(4),s=e.read_shift(4),c=[],o=0,u=0,h=-1,d={};for(o=0;o!=s;++o){var p=e.read_shift(4),v=e.read_shift(4);c[o]=[p,v+r]}c.sort(function(F,k){return F[1]-k[1]});var g={};for(o=0;o!=s;++o){if(e.l!==c[o][1]){var S=!0;if(o>0&&t)switch(t[c[o-1][0]].t){case 2:e.l+2===c[o][1]&&(e.l+=2,S=!1);break;case 80:e.l<=c[o][1]&&(e.l=c[o][1],S=!1);break;case 4108:e.l<=c[o][1]&&(e.l=c[o][1],S=!1);break}if((!t||o==0)&&e.l<=c[o][1]&&(S=!1,e.l=c[o][1]),S)throw new Error("Read Error: Expected address "+c[o][1]+" at "+e.l+" :"+o)}if(t){var w=t[c[o][0]];if(g[w.n]=ff(e,w.t,{raw:!0}),w.p==="version"&&(g[w.n]=String(g[w.n]>>16)+"."+("0000"+String(g[w.n]&65535)).slice(-4)),w.n=="CodePage")switch(g[w.n]){case 0:g[w.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:Za(u=g[w.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+g[w.n])}}else if(c[o][0]===1){if(u=g.CodePage=ff(e,S1),Za(u),h!==-1){var _=e.l;e.l=c[h][1],d=Vg(e,u),e.l=_}}else if(c[o][0]===0){if(u===0){h=o,e.l=c[o+1][1];continue}d=Vg(e,u)}else{var E=d[c[o][0]],b;switch(e[e.l]){case 65:e.l+=4,b=A_(e);break;case 30:e.l+=4,b=Dd(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,b=Dd(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,b=e.read_shift(4,"i");break;case 19:e.l+=4,b=e.read_shift(4);break;case 5:e.l+=4,b=e.read_shift(8,"f");break;case 11:e.l+=4,b=sr(e,4);break;case 64:e.l+=4,b=Wt(w1(e));break;default:throw new Error("unparsed value: "+e[e.l])}g[E]=b}}return e.l=r+n,g}var C_=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function W8(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Gg(e,t,r){var n=ye(8),s=[],c=[],o=8,u=0,h=ye(8),d=ye(8);if(h.write_shift(4,2),h.write_shift(4,1200),d.write_shift(4,1),c.push(h),s.push(d),o+=8+h.length,!t){d=ye(8),d.write_shift(4,0),s.unshift(d);var p=[ye(4)];for(p[0].write_shift(4,e.length),u=0;u<e.length;++u){var v=e[u][0];for(h=ye(8+2*(v.length+1)+(v.length%2?0:2)),h.write_shift(4,u+2),h.write_shift(4,v.length+1),h.write_shift(0,v,"dbcs");h.l!=h.length;)h.write_shift(1,0);p.push(h)}h=wr(p),c.unshift(h),o+=8+h.length}for(u=0;u<e.length;++u)if(!(t&&!t[e[u][0]])&&!(C_.indexOf(e[u][0])>-1||__.indexOf(e[u][0])>-1)&&e[u][1]!=null){var g=e[u][1],S=0;if(t){S=+t[e[u][0]];var w=r[S];if(w.p=="version"&&typeof g=="string"){var _=g.split(".");g=(+_[0]<<16)+(+_[1]||0)}h=Wg(w.t,g)}else{var E=W8(g);E==-1&&(E=31,g=String(g)),h=Wg(E,g)}c.push(h),d=ye(8),d.write_shift(4,t?S:2+u),s.push(d),o+=8+h.length}var b=8*(c.length+1);for(u=0;u<c.length;++u)s[u].write_shift(4,b),b+=c[u].length;return n.write_shift(4,o),n.write_shift(4,c.length),wr([n].concat(s).concat(c))}function qg(e,t,r){var n=e.content;if(!n)return{};Or(n,0);var s,c,o,u,h=0;n.chk("feff","Byte Order: "),n.read_shift(2);var d=n.read_shift(4),p=n.read_shift(16);if(p!==Ge.utils.consts.HEADER_CLSID&&p!==r)throw new Error("Bad PropertySet CLSID "+p);if(s=n.read_shift(4),s!==1&&s!==2)throw new Error("Unrecognized #Sets: "+s);if(c=n.read_shift(16),u=n.read_shift(4),s===1&&u!==n.l)throw new Error("Length mismatch: "+u+" !== "+n.l);s===2&&(o=n.read_shift(16),h=n.read_shift(4));var v=Xg(n,t),g={SystemIdentifier:d};for(var S in v)g[S]=v[S];if(g.FMTID=c,s===1)return g;if(h-n.l==2&&(n.l+=2),n.l!==h)throw new Error("Length mismatch 2: "+n.l+" !== "+h);var w;try{w=Xg(n,null)}catch{}for(S in w)g[S]=w[S];return g.FMTID=[c,o],g}function Yg(e,t,r,n,s,c){var o=ye(s?68:48),u=[o];o.write_shift(2,65534),o.write_shift(2,0),o.write_shift(4,842412599),o.write_shift(16,Ge.utils.consts.HEADER_CLSID,"hex"),o.write_shift(4,s?2:1),o.write_shift(16,t,"hex"),o.write_shift(4,s?68:48);var h=Gg(e,r,n);if(u.push(h),s){var d=Gg(s,null,null);o.write_shift(16,c,"hex"),o.write_shift(4,68+h.length),u.push(d)}return wr(u)}function pi(e,t){return e.read_shift(t),null}function X8(e,t){t||(t=ye(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function G8(e,t,r){for(var n=[],s=e.l+t;e.l<s;)n.push(r(e,s-e.l));if(s!==e.l)throw new Error("Slurp error");return n}function sr(e,t){return e.read_shift(t)===1}function Kr(e,t){return t||(t=ye(2)),t.write_shift(2,+!!e),t}function mr(e){return e.read_shift(2,"u")}function Pa(e,t){return t||(t=ye(2)),t.write_shift(2,e),t}function F_(e,t){return G8(e,t,mr)}function q8(e){var t=e.read_shift(1),r=e.read_shift(1);return r===1?t:t===1}function R_(e,t,r){return r||(r=ye(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function n0(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),s="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var c=e.read_shift(1);c&&(s="dbcs-cont")}else r.biff==12&&(s="wstr");r.biff>=2&&r.biff<=5&&(s="cpstr");var o=n?e.read_shift(n,s):"";return o}function Y8(e){var t=e.read_shift(2),r=e.read_shift(1),n=r&4,s=r&8,c=1+(r&1),o=0,u,h={};s&&(o=e.read_shift(2)),n&&(u=e.read_shift(4));var d=c==2?"dbcs-cont":"sbcs-cont",p=t===0?"":e.read_shift(t,d);return s&&(e.l+=4*o),n&&(e.l+=u),h.t=p,s||(h.raw="<t>"+h.t+"</t>",h.r=h.t),h}function K8(e){var t=e.t||"",r=ye(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=ye(2*t.length);n.write_shift(2*t.length,t,"utf16le");var s=[r,n];return wr(s)}function cs(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var s=e.read_shift(1);return s===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function i0(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):cs(e,n,r)}function ms(e,t,r){if(r.biff>5)return i0(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function O_(e,t,r){return r||(r=ye(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Z8(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function $8(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),e.l=r);var s=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Zr,"");return n&&(e.l+=24),s}function Q8(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var s=e.read_shift(4);if(s===0)return r+n.replace(/\\/g,"/");var c=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var o=e.read_shift(c>>1,"utf16le").replace(Zr,"");return r+o}function J8(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return $8(e);case"0303000000000000c000000000000046":return Q8(e);default:throw new Error("Unsupported Moniker "+r)}}function Mo(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Zr,""):"";return r}function Kg(e,t){t||(t=ye(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function e5(e,t){var r=e.l+t,n=e.read_shift(4);if(n!==2)throw new Error("Unrecognized streamVersion: "+n);var s=e.read_shift(2);e.l+=2;var c,o,u,h,d="",p,v;s&16&&(c=Mo(e,r-e.l)),s&128&&(o=Mo(e,r-e.l)),(s&257)===257&&(u=Mo(e,r-e.l)),(s&257)===1&&(h=J8(e,r-e.l)),s&8&&(d=Mo(e,r-e.l)),s&32&&(p=e.read_shift(16)),s&64&&(v=w1(e)),e.l=r;var g=o||u||h||"";g&&d&&(g+="#"+d),g||(g="#"+d),s&2&&g.charAt(0)=="/"&&g.charAt(1)!="/"&&(g="file://"+g);var S={Target:g};return p&&(S.guid=p),v&&(S.time=v),c&&(S.Tooltip=c),S}function t5(e){var t=ye(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var s=n.indexOf("#"),c=s>-1?31:23;switch(n.charAt(0)){case"#":c=28;break;case".":c&=-3;break}t.write_shift(4,2),t.write_shift(4,c);var o=[8,6815827,6619237,4849780,83];for(r=0;r<o.length;++r)t.write_shift(4,o[r]);if(c==28)n=n.slice(1),Kg(n,t);else if(c&2){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));var u=s>-1?n.slice(0,s):n;for(t.write_shift(4,2*(u.length+1)),r=0;r<u.length;++r)t.write_shift(2,u.charCodeAt(r));t.write_shift(2,0),c&8&&Kg(s>-1?n.slice(s+1):"",t)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));for(var h=0;n.slice(h*3,h*3+3)=="../"||n.slice(h*3,h*3+3)=="..\\";)++h;for(t.write_shift(2,h),t.write_shift(4,n.length-3*h+1),r=0;r<n.length-3*h;++r)t.write_shift(1,n.charCodeAt(r+3*h)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function D_(e){var t=e.read_shift(1),r=e.read_shift(1),n=e.read_shift(1),s=e.read_shift(1);return[t,r,n,s]}function N_(e,t){var r=D_(e);return r[3]=0,r}function vn(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return{r:t,c:r,ixfe:n}}function os(e,t,r,n){return n||(n=ye(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function r5(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}function a5(e,t,r){return t===0?"":ms(e,t,r)}function n5(e,t,r){var n=r.biff>8?4:2,s=e.read_shift(n),c=e.read_shift(n,"i"),o=e.read_shift(n,"i");return[s,c,o]}function M_(e){var t=e.read_shift(2),r=_1(e);return[t,r]}function i5(e,t,r){e.l+=4,t-=4;var n=e.l+t,s=n0(e,t,r),c=e.read_shift(2);if(n-=e.l,c!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+c);return e.l+=c,s}function Af(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2);return{s:{c:n,r:t},e:{c:s,r}}}function L_(e,t){return t||(t=ye(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 B_(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(1),s=e.read_shift(1);return{s:{c:n,r:t},e:{c:s,r}}}var s5=B_;function U_(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function l5(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function c5(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function jr(e){e.l+=2,e.l+=e.read_shift(2)}var o5={0:jr,4:jr,5:jr,6:jr,7:c5,8:jr,9:jr,10:jr,11:jr,12:jr,13:l5,14:jr,15:jr,16:jr,17:jr,18:jr,19:jr,20:jr,21:U_};function f5(e,t){for(var r=e.l+t,n=[];e.l<r;){var s=e.read_shift(2);e.l-=2;try{n.push(o5[s](e,r-e.l))}catch{return e.l=r,n}}return e.l!=r&&(e.l=r),n}function Lo(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),t-=2,t>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function T1(e,t,r){var n=1536,s=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,s=8;break;case"biff4":n=4,s=6;break;case"biff3":n=3,s=6;break;case"biff2":n=2,s=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var c=ye(s);return c.write_shift(2,n),c.write_shift(2,t),s>4&&c.write_shift(2,29282),s>6&&c.write_shift(2,1997),s>8&&(c.write_shift(2,49161),c.write_shift(2,1),c.write_shift(2,1798),c.write_shift(2,0)),c}function u5(e,t){return t===0||e.read_shift(2),1200}function h5(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,s=ms(e,0,r);return e.read_shift(t+n-e.l),s}function d5(e,t){var r=!t||t.biff==8,n=ye(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function x5(e,t,r){var n=r&&r.biff==8||t==2?e.read_shift(2):(e.l+=t,0);return{fDialog:n&16,fBelow:n&64,fRight:n&128}}function p5(e,t,r){var n=e.read_shift(4),s=e.read_shift(1)&3,c=e.read_shift(1);switch(c){case 0:c="Worksheet";break;case 1:c="Macrosheet";break;case 2:c="Chartsheet";break;case 6:c="VBAModule";break}var o=n0(e,0,r);return o.length===0&&(o="Sheet1"),{pos:n,hs:s,dt:c,name:o}}function m5(e,t){var r=!t||t.biff>=8?2:1,n=ye(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var s=n.slice(0,n.l);return s.l=n.l,s}function v5(e,t){for(var r=e.l+t,n=e.read_shift(4),s=e.read_shift(4),c=[],o=0;o!=s&&e.l<r;++o)c.push(Y8(e));return c.Count=n,c.Unique=s,c}function g5(e,t){var r=ye(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],s=0;s<e.length;++s)n[s]=K8(e[s]);var c=wr([r].concat(n));return c.parts=[r.length].concat(n.map(function(o){return o.length})),c}function y5(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}function _5(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var n=e.read_shift(1);return e.l+=3,n&7&&(t.level=n&7),n&32&&(t.hidden=!0),n&64&&(t.hpt=r/20),t}function S5(e){var t=r5(e);if(t.type!=2211)throw new Error("Invalid Future Record "+t.type);var r=e.read_shift(4);return r!==0}function E5(e){return e.read_shift(2),e.read_shift(4)}function Zg(e,t,r){var n=0;r&&r.biff==2||(n=e.read_shift(2));var s=e.read_shift(2);r&&r.biff==2&&(n=1-(s>>15),s&=32767);var c={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[c,s]}function w5(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2),c=e.read_shift(2),o=e.read_shift(2),u=e.read_shift(2),h=e.read_shift(2),d=e.read_shift(2);return{Pos:[t,r],Dim:[n,s],Flags:c,CurTab:o,FirstTab:u,Selected:h,TabRatio:d}}function T5(){var e=ye(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function b5(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=e.read_shift(2);return{RTL:n&64}}function k5(e){var t=ye(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function A5(){}function C5(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return n.name=n0(e,0,r),n}function F5(e,t){var r=e.name||"Arial",n=t&&t.biff==5,s=n?15+r.length:16+2*r.length,c=ye(s);return c.write_shift(2,e.sz*20),c.write_shift(4,0),c.write_shift(2,400),c.write_shift(4,0),c.write_shift(2,0),c.write_shift(1,r.length),n||c.write_shift(1,1),c.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),c}function R5(e){var t=vn(e);return t.isst=e.read_shift(4),t}function O5(e,t,r,n){var s=ye(10);return os(e,t,n,s),s.write_shift(4,r),s}function D5(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=e.l+t,s=vn(e);r.biff==2&&e.l++;var c=i0(e,n-e.l,r);return s.val=c,s}function N5(e,t,r,n,s){var c=!s||s.biff==8,o=ye(8+ +c+(1+c)*r.length);return os(e,t,n,o),o.write_shift(2,r.length),c&&o.write_shift(1,1),o.write_shift((1+c)*r.length,r,c?"utf16le":"sbcs"),o}function M5(e,t,r){var n=e.read_shift(2),s=ms(e,0,r);return[n,s]}function L5(e,t,r,n){var s=r&&r.biff==5;n||(n=ye(s?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(s?1:2,t.length),s||n.write_shift(1,1),n.write_shift((s?1:2)*t.length,t,s?"sbcs":"utf16le");var c=n.length>n.l?n.slice(0,n.l):n;return c.l==null&&(c.l=c.length),c}var B5=ms;function $g(e,t,r){var n=e.l+t,s=r.biff==8||!r.biff?4:2,c=e.read_shift(s),o=e.read_shift(s),u=e.read_shift(2),h=e.read_shift(2);return e.l=n,{s:{r:c,c:u},e:{r:o,c:h}}}function U5(e,t){var r=t.biff==8||!t.biff?4:2,n=ye(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function j5(e){var t=e.read_shift(2),r=e.read_shift(2),n=M_(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}function I5(e,t){for(var r=e.l+t-2,n=e.read_shift(2),s=e.read_shift(2),c=[];e.l<r;)c.push(M_(e));if(e.l!==r)throw new Error("MulRK read error");var o=e.read_shift(2);if(c.length!=o-s+1)throw new Error("MulRK length mismatch");return{r:n,c:s,C:o,rkrec:c}}function z5(e,t){for(var r=e.l+t-2,n=e.read_shift(2),s=e.read_shift(2),c=[];e.l<r;)c.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var o=e.read_shift(2);if(c.length!=o-s+1)throw new Error("MulBlank length mismatch");return{r:n,c:s,C:o,ixfe:c}}function P5(e,t,r,n){var s={},c=e.read_shift(4),o=e.read_shift(4),u=e.read_shift(4),h=e.read_shift(2);return s.patternType=S8[u>>26],n.cellStyles&&(s.alc=c&7,s.fWrap=c>>3&1,s.alcV=c>>4&7,s.fJustLast=c>>7&1,s.trot=c>>8&255,s.cIndent=c>>16&15,s.fShrinkToFit=c>>20&1,s.iReadOrder=c>>22&2,s.fAtrNum=c>>26&1,s.fAtrFnt=c>>27&1,s.fAtrAlc=c>>28&1,s.fAtrBdr=c>>29&1,s.fAtrPat=c>>30&1,s.fAtrProt=c>>31&1,s.dgLeft=o&15,s.dgRight=o>>4&15,s.dgTop=o>>8&15,s.dgBottom=o>>12&15,s.icvLeft=o>>16&127,s.icvRight=o>>23&127,s.grbitDiag=o>>30&3,s.icvTop=u&127,s.icvBottom=u>>7&127,s.icvDiag=u>>14&127,s.dgDiag=u>>21&15,s.icvFore=h&127,s.icvBack=h>>7&127,s.fsxButton=h>>14&1),s}function H5(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,t-=6,n.data=P5(e,t,n.fStyle,r),n}function Qg(e,t,r,n){var s=r&&r.biff==5;n||(n=ye(s?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var c=0;return e.numFmtId>0&&s&&(c|=1024),n.write_shift(4,c),n.write_shift(4,0),s||n.write_shift(4,0),n.write_shift(2,0),n}function V5(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function W5(e){var t=ye(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function Jg(e,t,r){var n=vn(e);(r.biff==2||t==9)&&++e.l;var s=q8(e);return n.val=s,n.t=s===!0||s===!1?"b":"e",n}function X5(e,t,r,n,s,c){var o=ye(8);return os(e,t,n,o),R_(r,c,o),o}function G5(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=vn(e),s=Hr(e);return n.val=s,n}function q5(e,t,r,n){var s=ye(14);return os(e,t,n,s),ls(r,s),s}var e2=a5;function Y5(e,t,r){var n=e.l+t,s=e.read_shift(2),c=e.read_shift(2);if(r.sbcch=c,c==1025||c==14849)return[c,s];if(c<1||c>255)throw new Error("Unexpected SupBook type: "+c);for(var o=cs(e,c),u=[];n>e.l;)u.push(i0(e));return[c,s,o,u]}function t2(e,t,r){var n=e.read_shift(2),s,c={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(s=i5(e,t-2,r)),c.body=s||e.read_shift(t-2),typeof s=="string"&&(c.Name=s),c}var K5=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function r2(e,t,r){var n=e.l+t,s=e.read_shift(2),c=e.read_shift(1),o=e.read_shift(1),u=e.read_shift(r&&r.biff==2?1:2),h=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),h=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var d=cs(e,o,r);s&32&&(d=K5[d.charCodeAt(0)]);var p=n-e.l;r&&r.biff==2&&--p;var v=n==e.l||u===0||!(p>0)?[]:fO(e,p,r,u);return{chKey:c,Name:d,itab:h,rgce:v}}function j_(e,t,r){if(r.biff<8)return Z5(e,t,r);for(var n=[],s=e.l+t,c=e.read_shift(r.biff>8?4:2);c--!==0;)n.push(n5(e,r.biff>8?12:6,r));if(e.l!=s)throw new Error("Bad ExternSheet: "+e.l+" != "+s);return n}function Z5(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=n0(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function $5(e,t,r){if(r.biff<8){e.l+=t;return}var n=e.read_shift(2),s=e.read_shift(2),c=cs(e,n,r),o=cs(e,s,r);return[c,o]}function Q5(e,t,r){var n=B_(e);e.l++;var s=e.read_shift(1);return t-=8,[uO(e,t,r),s,n]}function a2(e,t,r){var n=s5(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,cO(e,t,r)]}function J5(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,n=e.read_shift(4);return[t,r,n]}function e6(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),s=e.read_shift(2),c=e.read_shift(2),o=e.read_shift(2),u=ms(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:s},u,o,c]}}function t6(e,t,r){return e6(e,t,r)}function r6(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(Af(e));return r}function a6(e){var t=ye(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)L_(e[r],t);return t}function n6(e,t,r){if(r&&r.biff<8)return s6(e,t,r);var n=U_(e),s=f5(e,t-22,n[1]);return{cmo:n,ft:s}}var i6={8:function(e,t){var r=e.l+t;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var s=e.read_shift(1);return e.l+=s,e.l=r,{fmt:n}}};function s6(e,t,r){e.l+=4;var n=e.read_shift(2),s=e.read_shift(2),c=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((i6[n]||Xr)(e,t,r)),{cmo:[s,n,c],ft:o}}function l6(e,t,r){var n=e.l,s="";try{e.l+=4;var c=(r.lastobj||{cmo:[0,0]}).cmo[1],o;[0,5,7,11,12,14].indexOf(c)==-1?e.l+=6:o=Z8(e,6,r);var u=e.read_shift(2);e.read_shift(2),mr(e,2);var h=e.read_shift(2);e.l+=h;for(var d=1;d<e.lens.length-1;++d){if(e.l-n!=e.lens[d])throw new Error("TxO: bad continue record");var p=e[e.l],v=cs(e,e.lens[d+1]-e.lens[d]-1);if(s+=v,s.length>=(p?u:2*u))break}if(s.length!==u&&s.length!==u*2)throw new Error("cchText: "+u+" != "+s.length);return e.l=n+t,{t:s}}catch{return e.l=n+t,{t:s}}}function c6(e,t){var r=Af(e);e.l+=16;var n=e5(e,t-24);return[r,n]}function o6(e){var t=ye(24),r=$t(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),s=0;s<16;++s)t.write_shift(1,parseInt(n[s],16));return wr([t,t5(e[1])])}function f6(e,t){e.read_shift(2);var r=Af(e),n=e.read_shift((t-10)/2,"dbcs-cont");return n=n.replace(Zr,""),[r,n]}function u6(e){var t=e[1].Tooltip,r=ye(10+2*(t.length+1));r.write_shift(2,2048);var n=$t(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var s=0;s<t.length;++s)r.write_shift(2,t.charCodeAt(s));return r.write_shift(2,0),r}function h6(e){var t=[0,0],r;return r=e.read_shift(2),t[0]=Pg[r]||r,r=e.read_shift(2),t[1]=Pg[r]||r,t}function d6(e){return e||(e=ye(4)),e.write_shift(2,1),e.write_shift(2,1),e}function x6(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(N_(e));return r}function p6(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(N_(e));return r}function m6(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function I_(e,t,r){if(!r.cellStyles)return Xr(e,t);var n=r&&r.biff>=12?4:2,s=e.read_shift(n),c=e.read_shift(n),o=e.read_shift(n),u=e.read_shift(n),h=e.read_shift(2);n==2&&(e.l+=2);var d={s,e:c,w:o,ixfe:u,flags:h};return(r.biff>=5||!r.biff)&&(d.level=h>>8&7),d}function v6(e,t){var r=ye(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function g6(e,t){var r={};return t<32||(e.l+=16,r.header=Hr(e),r.footer=Hr(e),e.l+=2),r}function y6(e,t,r){var n={area:!1};if(r.biff!=5)return e.l+=t,n;var s=e.read_shift(1);return e.l+=3,s&16&&(n.area=!0),n}function _6(e){for(var t=ye(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}var S6=vn,E6=F_,w6=i0;function T6(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),s={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,s}function b6(e,t,r){r.biffguess&&r.biff==5&&(r.biff=2);var n=vn(e);++e.l;var s=ms(e,t-7,r);return n.t="str",n.val=s,n}function k6(e){var t=vn(e);++e.l;var r=Hr(e);return t.t="n",t.val=r,t}function A6(e,t,r){var n=ye(15);return o0(n,e,t),n.write_shift(8,r,"f"),n}function C6(e){var t=vn(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}function F6(e,t,r){var n=ye(9);return o0(n,e,t),n.write_shift(2,r),n}function R6(e){var t=e.read_shift(1);return t===0?(e.l++,""):e.read_shift(t,"sbcs-cont")}function O6(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function D6(e,t,r){var n=e.l+t,s=vn(e),c=e.read_shift(2),o=cs(e,c,r);return e.l=n,s.t="str",s.val=o,s}var N6=[2,3,48,49,131,139,140,245],Nd=(function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Tf({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(u,h){var d=[],p=_i(1);switch(h.type){case"base64":p=ya(Sa(u));break;case"binary":p=ya(u);break;case"buffer":case"array":p=u;break}Or(p,0);var v=p.read_shift(1),g=!!(v&136),S=!1,w=!1;switch(v){case 2:break;case 3:break;case 48:S=!0,g=!0;break;case 49:S=!0,g=!0;break;case 131:break;case 139:break;case 140:w=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+v.toString(16))}var _=0,E=521;v==2&&(_=p.read_shift(2)),p.l+=3,v!=2&&(_=p.read_shift(4)),_>1048576&&(_=1e6),v!=2&&(E=p.read_shift(2));var b=p.read_shift(2),F=h.codepage||1252;v!=2&&(p.l+=16,p.read_shift(1),p[p.l]!==0&&(F=e[p[p.l]]),p.l+=1,p.l+=2),w&&(p.l+=36);for(var k=[],U={},I=Math.min(p.length,v==2?521:E-10-(S?264:0)),W=w?32:11;p.l<I&&p[p.l]!=13;)switch(U={},U.name=Bc.utils.decode(F,p.slice(p.l,p.l+W)).replace(/[\u0000\r\n].*$/g,""),p.l+=W,U.type=String.fromCharCode(p.read_shift(1)),v!=2&&!w&&(U.offset=p.read_shift(4)),U.len=p.read_shift(1),v==2&&(U.offset=p.read_shift(2)),U.dec=p.read_shift(1),U.name.length&&k.push(U),v!=2&&(p.l+=w?13:14),U.type){case"B":(!S||U.len!=8)&&h.WTF&&console.log("Skipping "+U.name+":"+U.type);break;case"G":case"P":h.WTF&&console.log("Skipping "+U.name+":"+U.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+U.type)}if(p[p.l]!==13&&(p.l=E-1),p.read_shift(1)!==13)throw new Error("DBF Terminator not found "+p.l+" "+p[p.l]);p.l=E;var D=0,ee=0;for(d[0]=[],ee=0;ee!=k.length;++ee)d[0][ee]=k[ee].name;for(;_-- >0;){if(p[p.l]===42){p.l+=b;continue}for(++p.l,d[++D]=[],ee=0,ee=0;ee!=k.length;++ee){var X=p.slice(p.l,p.l+k[ee].len);p.l+=k[ee].len,Or(X,0);var ne=Bc.utils.decode(F,X);switch(k[ee].type){case"C":ne.trim().length&&(d[D][ee]=ne.replace(/\s+$/,""));break;case"D":ne.length===8?d[D][ee]=new Date(+ne.slice(0,4),+ne.slice(4,6)-1,+ne.slice(6,8)):d[D][ee]=ne;break;case"F":d[D][ee]=parseFloat(ne.trim());break;case"+":case"I":d[D][ee]=w?X.read_shift(-4,"i")^2147483648:X.read_shift(4,"i");break;case"L":switch(ne.trim().toUpperCase()){case"Y":case"T":d[D][ee]=!0;break;case"N":case"F":d[D][ee]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+ne+"|")}break;case"M":if(!g)throw new Error("DBF Unexpected MEMO for type "+v.toString(16));d[D][ee]="##MEMO##"+(w?parseInt(ne.trim(),10):X.read_shift(4));break;case"N":ne=ne.replace(/\u0000/g,"").trim(),ne&&ne!="."&&(d[D][ee]=+ne||0);break;case"@":d[D][ee]=new Date(X.read_shift(-8,"f")-621356832e5);break;case"T":d[D][ee]=new Date((X.read_shift(4)-2440588)*864e5+X.read_shift(4));break;case"Y":d[D][ee]=X.read_shift(4,"i")/1e4+X.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":d[D][ee]=-X.read_shift(-8,"f");break;case"B":if(S&&k[ee].len==8){d[D][ee]=X.read_shift(8,"f");break}case"G":case"P":X.l+=k[ee].len;break;case"0":if(k[ee].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+k[ee].type)}}}if(v!=2&&p.l<p.length&&p[p.l++]!=26)throw new Error("DBF EOF Marker missing "+(p.l-1)+" of "+p.length+" "+p[p.l-1].toString(16));return h&&h.sheetRows&&(d=d.slice(0,h.sheetRows)),h.DBF=k,d}function n(u,h){var d=h||{};d.dateNF||(d.dateNF="yyyymmdd");var p=wl(r(u,d),d);return p["!cols"]=d.DBF.map(function(v){return{wch:v.len,DBF:v}}),delete d.DBF,p}function s(u,h){try{return bi(n(u,h),h)}catch(d){if(h&&h.WTF)throw d}return{SheetNames:[],Sheets:{}}}var c={B:8,C:250,L:1,D:8,"?":0,"":0};function o(u,h){var d=h||{};if(+d.codepage>=0&&Za(+d.codepage),d.type=="string")throw new Error("Cannot write DBF to JS string");var p=sa(),v=df(u,{header:1,raw:!0,cellDates:!0}),g=v[0],S=v.slice(1),w=u["!cols"]||[],_=0,E=0,b=0,F=1;for(_=0;_<g.length;++_){if(((w[_]||{}).DBF||{}).name){g[_]=w[_].DBF.name,++b;continue}if(g[_]!=null){if(++b,typeof g[_]=="number"&&(g[_]=g[_].toString(10)),typeof g[_]!="string")throw new Error("DBF Invalid column name "+g[_]+" |"+typeof g[_]+"|");if(g.indexOf(g[_])!==_){for(E=0;E<1024;++E)if(g.indexOf(g[_]+"_"+E)==-1){g[_]+="_"+E;break}}}}var k=_t(u["!ref"]),U=[],I=[],W=[];for(_=0;_<=k.e.c-k.s.c;++_){var D="",ee="",X=0,ne=[];for(E=0;E<S.length;++E)S[E][_]!=null&&ne.push(S[E][_]);if(ne.length==0||g[_]==null){U[_]="?";continue}for(E=0;E<ne.length;++E){switch(typeof ne[E]){case"number":ee="B";break;case"string":ee="C";break;case"boolean":ee="L";break;case"object":ee=ne[E]instanceof Date?"D":"C";break;default:ee="C"}X=Math.max(X,String(ne[E]).length),D=D&&D!=ee?"C":ee}X>250&&(X=250),ee=((w[_]||{}).DBF||{}).type,ee=="C"&&w[_].DBF.len>X&&(X=w[_].DBF.len),D=="B"&&ee=="N"&&(D="N",W[_]=w[_].DBF.dec,X=w[_].DBF.len),I[_]=D=="C"||ee=="N"?X:c[D]||0,F+=I[_],U[_]=D}var re=p.next(32);for(re.write_shift(4,318902576),re.write_shift(4,S.length),re.write_shift(2,296+32*b),re.write_shift(2,F),_=0;_<4;++_)re.write_shift(4,0);for(re.write_shift(4,0|(+t[Cy]||3)<<8),_=0,E=0;_<g.length;++_)if(g[_]!=null){var Q=p.next(32),me=(g[_].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);Q.write_shift(1,me,"sbcs"),Q.write_shift(1,U[_]=="?"?"C":U[_],"sbcs"),Q.write_shift(4,E),Q.write_shift(1,I[_]||c[U[_]]||0),Q.write_shift(1,W[_]||0),Q.write_shift(1,2),Q.write_shift(4,0),Q.write_shift(1,0),Q.write_shift(4,0),Q.write_shift(4,0),E+=I[_]||c[U[_]]||0}var Ce=p.next(264);for(Ce.write_shift(4,13),_=0;_<65;++_)Ce.write_shift(4,0);for(_=0;_<S.length;++_){var ve=p.next(F);for(ve.write_shift(1,0),E=0;E<g.length;++E)if(g[E]!=null)switch(U[E]){case"L":ve.write_shift(1,S[_][E]==null?63:S[_][E]?84:70);break;case"B":ve.write_shift(8,S[_][E]||0,"f");break;case"N":var Z="0";for(typeof S[_][E]=="number"&&(Z=S[_][E].toFixed(W[E]||0)),b=0;b<I[E]-Z.length;++b)ve.write_shift(1,32);ve.write_shift(1,Z,"sbcs");break;case"D":S[_][E]?(ve.write_shift(4,("0000"+S[_][E].getFullYear()).slice(-4),"sbcs"),ve.write_shift(2,("00"+(S[_][E].getMonth()+1)).slice(-2),"sbcs"),ve.write_shift(2,("00"+S[_][E].getDate()).slice(-2),"sbcs")):ve.write_shift(8,"00000000","sbcs");break;case"C":var ie=String(S[_][E]!=null?S[_][E]:"").slice(0,I[E]);for(ve.write_shift(1,ie,"sbcs"),b=0;b<I[E]-ie.length;++b)ve.write_shift(1,32);break}}return p.next(1).write_shift(1,26),p.end()}return{to_workbook:s,to_sheet:n,from_sheet:o}})(),z_=(function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+ar(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(g,S){var w=e[S];return typeof w=="number"?xg(w):w},n=function(g,S,w){var _=S.charCodeAt(0)-32<<4|w.charCodeAt(0)-48;return _==59?g:xg(_)};e["|"]=254;function s(g,S){switch(S.type){case"base64":return c(Sa(g),S);case"binary":return c(g,S);case"buffer":return c(ot&&Buffer.isBuffer(g)?g.toString("binary"):Ti(g),S);case"array":return c(ss(g),S)}throw new Error("Unrecognized type "+S.type)}function c(g,S){var w=g.split(/[\n\r]+/),_=-1,E=-1,b=0,F=0,k=[],U=[],I=null,W={},D=[],ee=[],X=[],ne=0,re;for(+S.codepage>=0&&Za(+S.codepage);b!==w.length;++b){ne=0;var Q=w[b].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),me=Q.replace(/;;/g,"\0").split(";").map(function(O){return O.replace(/\u0000/g,";")}),Ce=me[0],ve;if(Q.length>0)switch(Ce){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":me[1].charAt(0)=="P"&&U.push(Q.slice(3).replace(/;;/g,";"));break;case"C":var Z=!1,ie=!1,Re=!1,K=!1,Ae=-1,j=-1;for(F=1;F<me.length;++F)switch(me[F].charAt(0)){case"A":break;case"X":E=parseInt(me[F].slice(1))-1,ie=!0;break;case"Y":for(_=parseInt(me[F].slice(1))-1,ie||(E=0),re=k.length;re<=_;++re)k[re]=[];break;case"K":ve=me[F].slice(1),ve.charAt(0)==='"'?ve=ve.slice(1,ve.length-1):ve==="TRUE"?ve=!0:ve==="FALSE"?ve=!1:isNaN(Ja(ve))?isNaN(hl(ve).getDate())||(ve=Wt(ve)):(ve=Ja(ve),I!==null&&Sl(I)&&(ve=kf(ve))),Z=!0;break;case"E":K=!0;var A=cl(me[F].slice(1),{r:_,c:E});k[_][E]=[k[_][E],A];break;case"S":Re=!0,k[_][E]=[k[_][E],"S5S"];break;case"G":break;case"R":Ae=parseInt(me[F].slice(1))-1;break;case"C":j=parseInt(me[F].slice(1))-1;break;default:if(S&&S.WTF)throw new Error("SYLK bad record "+Q)}if(Z&&(k[_][E]&&k[_][E].length==2?k[_][E][0]=ve:k[_][E]=ve,I=null),Re){if(K)throw new Error("SYLK shared formula cannot have own formula");var P=Ae>-1&&k[Ae][j];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");k[_][E][1]=nS(P[1],{r:_-Ae,c:E-j})}break;case"F":var L=0;for(F=1;F<me.length;++F)switch(me[F].charAt(0)){case"X":E=parseInt(me[F].slice(1))-1,++L;break;case"Y":for(_=parseInt(me[F].slice(1))-1,re=k.length;re<=_;++re)k[re]=[];break;case"M":ne=parseInt(me[F].slice(1))/20;break;case"F":break;case"G":break;case"P":I=U[parseInt(me[F].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(X=me[F].slice(1).split(" "),re=parseInt(X[0],10);re<=parseInt(X[1],10);++re)ne=parseInt(X[2],10),ee[re-1]=ne===0?{hidden:!0}:{wch:ne},Si(ee[re-1]);break;case"C":E=parseInt(me[F].slice(1))-1,ee[E]||(ee[E]={});break;case"R":_=parseInt(me[F].slice(1))-1,D[_]||(D[_]={}),ne>0?(D[_].hpt=ne,D[_].hpx=xl(ne)):ne===0&&(D[_].hidden=!0);break;default:if(S&&S.WTF)throw new Error("SYLK bad record "+Q)}L<1&&(I=null);break;default:if(S&&S.WTF)throw new Error("SYLK bad record "+Q)}}return D.length>0&&(W["!rows"]=D),ee.length>0&&(W["!cols"]=ee),S&&S.sheetRows&&(k=k.slice(0,S.sheetRows)),[k,W]}function o(g,S){var w=s(g,S),_=w[0],E=w[1],b=wl(_,S);return ar(E).forEach(function(F){b[F]=E[F]}),b}function u(g,S){return bi(o(g,S),S)}function h(g,S,w,_){var E="C;Y"+(w+1)+";X"+(_+1)+";K";switch(g.t){case"n":E+=g.v||0,g.f&&!g.F&&(E+=";E"+R1(g.f,{r:w,c:_}));break;case"b":E+=g.v?"TRUE":"FALSE";break;case"e":E+=g.w||g.v;break;case"d":E+='"'+(g.w||g.v)+'"';break;case"s":E+='"'+g.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return E}function d(g,S){S.forEach(function(w,_){var E="F;W"+(_+1)+" "+(_+1)+" ";w.hidden?E+="0":(typeof w.width=="number"&&!w.wpx&&(w.wpx=Wc(w.width)),typeof w.wpx=="number"&&!w.wch&&(w.wch=Xc(w.wpx)),typeof w.wch=="number"&&(E+=Math.round(w.wch))),E.charAt(E.length-1)!=" "&&g.push(E)})}function p(g,S){S.forEach(function(w,_){var E="F;";w.hidden?E+="M0;":w.hpt?E+="M"+20*w.hpt+";":w.hpx&&(E+="M"+20*Gc(w.hpx)+";"),E.length>2&&g.push(E+"R"+(_+1))})}function v(g,S){var w=["ID;PWXL;N;E"],_=[],E=_t(g["!ref"]),b,F=Array.isArray(g),k=`\r
`;w.push("P;PGeneral"),w.push("F;P0;DG0G8;M255"),g["!cols"]&&d(w,g["!cols"]),g["!rows"]&&p(w,g["!rows"]),w.push("B;Y"+(E.e.r-E.s.r+1)+";X"+(E.e.c-E.s.c+1)+";D"+[E.s.c,E.s.r,E.e.c,E.e.r].join(" "));for(var U=E.s.r;U<=E.e.r;++U)for(var I=E.s.c;I<=E.e.c;++I){var W=$e({r:U,c:I});b=F?(g[U]||[])[I]:g[W],!(!b||b.v==null&&(!b.f||b.F))&&_.push(h(b,g,U,I))}return w.join(k)+k+_.join(k)+k+"E"+k}return{to_workbook:u,to_sheet:o,from_sheet:v}})(),P_=(function(){function e(c,o){switch(o.type){case"base64":return t(Sa(c),o);case"binary":return t(c,o);case"buffer":return t(ot&&Buffer.isBuffer(c)?c.toString("binary"):Ti(c),o);case"array":return t(ss(c),o)}throw new Error("Unrecognized type "+o.type)}function t(c,o){for(var u=c.split(`
`),h=-1,d=-1,p=0,v=[];p!==u.length;++p){if(u[p].trim()==="BOT"){v[++h]=[],d=0;continue}if(!(h<0)){var g=u[p].trim().split(","),S=g[0],w=g[1];++p;for(var _=u[p]||"";(_.match(/["]/g)||[]).length&1&&p<u.length-1;)_+=`
`+u[++p];switch(_=_.trim(),+S){case-1:if(_==="BOT"){v[++h]=[],d=0;continue}else if(_!=="EOD")throw new Error("Unrecognized DIF special command "+_);break;case 0:_==="TRUE"?v[h][d]=!0:_==="FALSE"?v[h][d]=!1:isNaN(Ja(w))?isNaN(hl(w).getDate())?v[h][d]=w:v[h][d]=Wt(w):v[h][d]=Ja(w),++d;break;case 1:_=_.slice(1,_.length-1),_=_.replace(/""/g,'"'),_&&_.match(/^=".*"$/)&&(_=_.slice(2,-1)),v[h][d++]=_!==""?_:null;break}if(_==="EOD")break}}return o&&o.sheetRows&&(v=v.slice(0,o.sheetRows)),v}function r(c,o){return wl(e(c,o),o)}function n(c,o){return bi(r(c,o),o)}var s=(function(){var c=function(h,d,p,v,g){h.push(d),h.push(p+","+v),h.push('"'+g.replace(/"/g,'""')+'"')},o=function(h,d,p,v){h.push(d+","+p),h.push(d==1?'"'+v.replace(/"/g,'""')+'"':v)};return function(h){var d=[],p=_t(h["!ref"]),v,g=Array.isArray(h);c(d,"TABLE",0,1,"sheetjs"),c(d,"VECTORS",0,p.e.r-p.s.r+1,""),c(d,"TUPLES",0,p.e.c-p.s.c+1,""),c(d,"DATA",0,0,"");for(var S=p.s.r;S<=p.e.r;++S){o(d,-1,0,"BOT");for(var w=p.s.c;w<=p.e.c;++w){var _=$e({r:S,c:w});if(v=g?(h[S]||[])[w]:h[_],!v){o(d,1,0,"");continue}switch(v.t){case"n":var E=v.w;!E&&v.v!=null&&(E=v.v),E==null?v.f&&!v.F?o(d,1,0,"="+v.f):o(d,1,0,""):o(d,0,E,"V");break;case"b":o(d,0,v.v?1:0,v.v?"TRUE":"FALSE");break;case"s":o(d,1,0,isNaN(v.v)?v.v:'="'+v.v+'"');break;case"d":v.w||(v.w=Wa(v.z||Ke[14],yr(Wt(v.v)))),o(d,0,v.w,"V");break;default:o(d,1,0,"")}}}o(d,-1,0,"EOD");var b=`\r
`,F=d.join(b);return F}})();return{to_workbook:n,to_sheet:r,from_sheet:s}})(),H_=(function(){function e(v){return v.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
`)}function t(v){return v.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(v,g){for(var S=v.split(`
`),w=-1,_=-1,E=0,b=[];E!==S.length;++E){var F=S[E].trim().split(":");if(F[0]==="cell"){var k=$t(F[1]);if(b.length<=k.r)for(w=b.length;w<=k.r;++w)b[w]||(b[w]=[]);switch(w=k.r,_=k.c,F[2]){case"t":b[w][_]=e(F[3]);break;case"v":b[w][_]=+F[3];break;case"vtf":var U=F[F.length-1];case"vtc":switch(F[3]){case"nl":b[w][_]=!!+F[4];break;default:b[w][_]=+F[4];break}F[2]=="vtf"&&(b[w][_]=[b[w][_],U])}}}return g&&g.sheetRows&&(b=b.slice(0,g.sheetRows)),b}function n(v,g){return wl(r(v,g),g)}function s(v,g){return bi(n(v,g),g)}var c=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
`),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
`)+`
`,u=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
`),h="--SocialCalcSpreadsheetControlSave--";function d(v){if(!v||!v["!ref"])return"";for(var g=[],S=[],w,_="",E=la(v["!ref"]),b=Array.isArray(v),F=E.s.r;F<=E.e.r;++F)for(var k=E.s.c;k<=E.e.c;++k)if(_=$e({r:F,c:k}),w=b?(v[F]||[])[k]:v[_],!(!w||w.v==null||w.t==="z")){switch(S=["cell",_,"t"],w.t){case"s":case"str":S.push(t(w.v));break;case"n":w.f?(S[2]="vtf",S[3]="n",S[4]=w.v,S[5]=t(w.f)):(S[2]="v",S[3]=w.v);break;case"b":S[2]="vt"+(w.f?"f":"c"),S[3]="nl",S[4]=w.v?"1":"0",S[5]=t(w.f||(w.v?"TRUE":"FALSE"));break;case"d":var U=yr(Wt(w.v));S[2]="vtc",S[3]="nd",S[4]=""+U,S[5]=w.w||Wa(w.z||Ke[14],U);break;case"e":continue}g.push(S.join(":"))}return g.push("sheet:c:"+(E.e.c-E.s.c+1)+":r:"+(E.e.r-E.s.r+1)+":tvf:1"),g.push("valueformat:1:text-wiki"),g.join(`
`)}function p(v){return[c,o,u,o,d(v),h].join(`
`)}return{to_workbook:s,to_sheet:n,from_sheet:p}})(),dl=(function(){function e(p,v,g,S,w){w.raw?v[g][S]=p:p===""||(p==="TRUE"?v[g][S]=!0:p==="FALSE"?v[g][S]=!1:isNaN(Ja(p))?isNaN(hl(p).getDate())?v[g][S]=p:v[g][S]=Wt(p):v[g][S]=Ja(p))}function t(p,v){var g=v||{},S=[];if(!p||p.length===0)return S;for(var w=p.split(/[\r\n]/),_=w.length-1;_>=0&&w[_].length===0;)--_;for(var E=10,b=0,F=0;F<=_;++F)b=w[F].indexOf(" "),b==-1?b=w[F].length:b++,E=Math.max(E,b);for(F=0;F<=_;++F){S[F]=[];var k=0;for(e(w[F].slice(0,E).trim(),S,F,k,g),k=1;k<=(w[F].length-E)/10+1;++k)e(w[F].slice(E+(k-1)*10,E+k*10).trim(),S,F,k,g)}return g.sheetRows&&(S=S.slice(0,g.sheetRows)),S}var r={44:",",9:"	",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function s(p){for(var v={},g=!1,S=0,w=0;S<p.length;++S)(w=p.charCodeAt(S))==34?g=!g:!g&&w in r&&(v[w]=(v[w]||0)+1);w=[];for(S in v)Object.prototype.hasOwnProperty.call(v,S)&&w.push([v[S],S]);if(!w.length){v=n;for(S in v)Object.prototype.hasOwnProperty.call(v,S)&&w.push([v[S],S])}return w.sort(function(_,E){return _[0]-E[0]||n[_[1]]-n[E[1]]}),r[w.pop()[1]]||44}function c(p,v){var g=v||{},S="",w=g.dense?[]:{},_={s:{c:0,r:0},e:{c:0,r:0}};p.slice(0,4)=="sep="?p.charCodeAt(5)==13&&p.charCodeAt(6)==10?(S=p.charAt(4),p=p.slice(7)):p.charCodeAt(5)==13||p.charCodeAt(5)==10?(S=p.charAt(4),p=p.slice(6)):S=s(p.slice(0,1024)):g&&g.FS?S=g.FS:S=s(p.slice(0,1024));var E=0,b=0,F=0,k=0,U=0,I=S.charCodeAt(0),W=!1,D=0,ee=p.charCodeAt(0);p=p.replace(/\r\n/mg,`
`);var X=g.dateNF!=null?yA(g.dateNF):null;function ne(){var re=p.slice(k,U),Q={};if(re.charAt(0)=='"'&&re.charAt(re.length-1)=='"'&&(re=re.slice(1,-1).replace(/""/g,'"')),re.length===0)Q.t="z";else if(g.raw)Q.t="s",Q.v=re;else if(re.trim().length===0)Q.t="s",Q.v=re;else if(re.charCodeAt(0)==61)re.charCodeAt(1)==34&&re.charCodeAt(re.length-1)==34?(Q.t="s",Q.v=re.slice(2,-1).replace(/""/g,'"')):YF(re)?(Q.t="n",Q.f=re.slice(1)):(Q.t="s",Q.v=re);else if(re=="TRUE")Q.t="b",Q.v=!0;else if(re=="FALSE")Q.t="b",Q.v=!1;else if(!isNaN(F=Ja(re)))Q.t="n",g.cellText!==!1&&(Q.w=re),Q.v=F;else if(!isNaN(hl(re).getDate())||X&&re.match(X)){Q.z=g.dateNF||Ke[14];var me=0;X&&re.match(X)&&(re=_A(re,g.dateNF,re.match(X)||[]),me=1),g.cellDates?(Q.t="d",Q.v=Wt(re,me)):(Q.t="n",Q.v=yr(Wt(re,me))),g.cellText!==!1&&(Q.w=Wa(Q.z,Q.v instanceof Date?yr(Q.v):Q.v)),g.cellNF||delete Q.z}else Q.t="s",Q.v=re;if(Q.t=="z"||(g.dense?(w[E]||(w[E]=[]),w[E][b]=Q):w[$e({c:b,r:E})]=Q),k=U+1,ee=p.charCodeAt(k),_.e.c<b&&(_.e.c=b),_.e.r<E&&(_.e.r=E),D==I)++b;else if(b=0,++E,g.sheetRows&&g.sheetRows<=E)return!0}e:for(;U<p.length;++U)switch(D=p.charCodeAt(U)){case 34:ee===34&&(W=!W);break;case I:case 10:case 13:if(!W&&ne())break e;break}return U-k>0&&ne(),w["!ref"]=at(_),w}function o(p,v){return!(v&&v.PRN)||v.FS||p.slice(0,4)=="sep="||p.indexOf("	")>=0||p.indexOf(",")>=0||p.indexOf(";")>=0?c(p,v):wl(t(p,v),v)}function u(p,v){var g="",S=v.type=="string"?[0,0,0,0]:j1(p,v);switch(v.type){case"base64":g=Sa(p);break;case"binary":g=p;break;case"buffer":v.codepage==65001?g=p.toString("utf8"):v.codepage&&typeof Bc<"u"||(g=ot&&Buffer.isBuffer(p)?p.toString("binary"):Ti(p));break;case"array":g=ss(p);break;case"string":g=p;break;default:throw new Error("Unrecognized type "+v.type)}return S[0]==239&&S[1]==187&&S[2]==191?g=Lt(g.slice(3)):v.type!="string"&&v.type!="buffer"&&v.codepage==65001?g=Lt(g):v.type=="binary"&&typeof Bc<"u",g.slice(0,19)=="socialcalc:version:"?H_.to_sheet(v.type=="string"?g:Lt(g),v):o(g,v)}function h(p,v){return bi(u(p,v),v)}function d(p){for(var v=[],g=_t(p["!ref"]),S,w=Array.isArray(p),_=g.s.r;_<=g.e.r;++_){for(var E=[],b=g.s.c;b<=g.e.c;++b){var F=$e({r:_,c:b});if(S=w?(p[_]||[])[b]:p[F],!S||S.v==null){E.push("          ");continue}for(var k=(S.w||(Pn(S),S.w)||"").slice(0,10);k.length<10;)k+=" ";E.push(k+(b===0?" ":""))}v.push(E.join(""))}return v.join(`
`)}return{to_workbook:h,to_sheet:u,from_sheet:d}})();function M6(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var s=z_.to_workbook(e,r);return r.WTF=n,s}catch(c){if(r.WTF=n,!c.message.match(/SYLK bad record ID/)&&n)throw c;return dl.to_workbook(e,t)}}var ts=(function(){function e(A,P,L){if(A){Or(A,A.l||0);for(var O=L.Enum||Ae;A.l<A.length;){var Y=A.read_shift(2),de=O[Y]||O[65535],ge=A.read_shift(2),pe=A.l+ge,Ee=de.f&&de.f(A,ge,L);if(A.l=pe,P(Ee,de,Y))return}}}function t(A,P){switch(P.type){case"base64":return r(ya(Sa(A)),P);case"binary":return r(ya(A),P);case"buffer":case"array":return r(A,P)}throw"Unsupported type "+P.type}function r(A,P){if(!A)return A;var L=P||{},O=L.dense?[]:{},Y="Sheet1",de="",ge=0,pe={},Ee=[],He=[],V={s:{r:0,c:0},e:{r:0,c:0}},ft=L.sheetRows||0;if(A[2]==0&&(A[3]==8||A[3]==9)&&A.length>=16&&A[14]==5&&A[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(A[2]==2)L.Enum=Ae,e(A,function(De,vt,Bt){switch(Bt){case 0:L.vers=De,De>=4096&&(L.qpro=!0);break;case 6:V=De;break;case 204:De&&(de=De);break;case 222:de=De;break;case 15:case 51:L.qpro||(De[1].v=De[1].v.slice(1));case 13:case 14:case 16:Bt==14&&(De[2]&112)==112&&(De[2]&15)>1&&(De[2]&15)<15&&(De[1].z=L.dateNF||Ke[14],L.cellDates&&(De[1].t="d",De[1].v=kf(De[1].v))),L.qpro&&De[3]>ge&&(O["!ref"]=at(V),pe[Y]=O,Ee.push(Y),O=L.dense?[]:{},V={s:{r:0,c:0},e:{r:0,c:0}},ge=De[3],Y=de||"Sheet"+(ge+1),de="");var Qt=L.dense?(O[De[0].r]||[])[De[0].c]:O[$e(De[0])];if(Qt){Qt.t=De[1].t,Qt.v=De[1].v,De[1].z!=null&&(Qt.z=De[1].z),De[1].f!=null&&(Qt.f=De[1].f);break}L.dense?(O[De[0].r]||(O[De[0].r]=[]),O[De[0].r][De[0].c]=De[1]):O[$e(De[0])]=De[1];break}},L);else if(A[2]==26||A[2]==14)L.Enum=j,A[2]==14&&(L.qpro=!0,A.l=0),e(A,function(De,vt,Bt){switch(Bt){case 204:Y=De;break;case 22:De[1].v=De[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(De[3]>ge&&(O["!ref"]=at(V),pe[Y]=O,Ee.push(Y),O=L.dense?[]:{},V={s:{r:0,c:0},e:{r:0,c:0}},ge=De[3],Y="Sheet"+(ge+1)),ft>0&&De[0].r>=ft)break;L.dense?(O[De[0].r]||(O[De[0].r]=[]),O[De[0].r][De[0].c]=De[1]):O[$e(De[0])]=De[1],V.e.c<De[0].c&&(V.e.c=De[0].c),V.e.r<De[0].r&&(V.e.r=De[0].r);break;case 27:De[14e3]&&(He[De[14e3][0]]=De[14e3][1]);break;case 1537:He[De[0]]=De[1],De[0]==ge&&(Y=De[1]);break}},L);else throw new Error("Unrecognized LOTUS BOF "+A[2]);if(O["!ref"]=at(V),pe[de||Y]=O,Ee.push(de||Y),!He.length)return{SheetNames:Ee,Sheets:pe};for(var qe={},tt=[],Ne=0;Ne<He.length;++Ne)pe[Ee[Ne]]?(tt.push(He[Ne]||Ee[Ne]),qe[He[Ne]]=pe[He[Ne]]||pe[Ee[Ne]]):(tt.push(He[Ne]),qe[He[Ne]]={"!ref":"A1"});return{SheetNames:tt,Sheets:qe}}function n(A,P){var L=P||{};if(+L.codepage>=0&&Za(+L.codepage),L.type=="string")throw new Error("Cannot write WK1 to JS string");var O=sa(),Y=_t(A["!ref"]),de=Array.isArray(A),ge=[];Be(O,0,c(1030)),Be(O,6,h(Y));for(var pe=Math.min(Y.e.r,8191),Ee=Y.s.r;Ee<=pe;++Ee)for(var He=lr(Ee),V=Y.s.c;V<=Y.e.c;++V){Ee===Y.s.r&&(ge[V]=Zt(V));var ft=ge[V]+He,qe=de?(A[Ee]||[])[V]:A[ft];if(!(!qe||qe.t=="z"))if(qe.t=="n")(qe.v|0)==qe.v&&qe.v>=-32768&&qe.v<=32767?Be(O,13,S(Ee,V,qe.v)):Be(O,14,_(Ee,V,qe.v));else{var tt=Pn(qe);Be(O,15,v(Ee,V,tt.slice(0,239)))}}return Be(O,1),O.end()}function s(A,P){var L=P||{};if(+L.codepage>=0&&Za(+L.codepage),L.type=="string")throw new Error("Cannot write WK3 to JS string");var O=sa();Be(O,0,o(A));for(var Y=0,de=0;Y<A.SheetNames.length;++Y)(A.Sheets[A.SheetNames[Y]]||{})["!ref"]&&Be(O,27,K(A.SheetNames[Y],de++));var ge=0;for(Y=0;Y<A.SheetNames.length;++Y){var pe=A.Sheets[A.SheetNames[Y]];if(!(!pe||!pe["!ref"])){for(var Ee=_t(pe["!ref"]),He=Array.isArray(pe),V=[],ft=Math.min(Ee.e.r,8191),qe=Ee.s.r;qe<=ft;++qe)for(var tt=lr(qe),Ne=Ee.s.c;Ne<=Ee.e.c;++Ne){qe===Ee.s.r&&(V[Ne]=Zt(Ne));var De=V[Ne]+tt,vt=He?(pe[qe]||[])[Ne]:pe[De];if(!(!vt||vt.t=="z"))if(vt.t=="n")Be(O,23,ne(qe,Ne,ge,vt.v));else{var Bt=Pn(vt);Be(O,22,D(qe,Ne,ge,Bt.slice(0,239)))}}++ge}}return Be(O,1),O.end()}function c(A){var P=ye(2);return P.write_shift(2,A),P}function o(A){var P=ye(26);P.write_shift(2,4096),P.write_shift(2,4),P.write_shift(4,0);for(var L=0,O=0,Y=0,de=0;de<A.SheetNames.length;++de){var ge=A.SheetNames[de],pe=A.Sheets[ge];if(!(!pe||!pe["!ref"])){++Y;var Ee=la(pe["!ref"]);L<Ee.e.r&&(L=Ee.e.r),O<Ee.e.c&&(O=Ee.e.c)}}return L>8191&&(L=8191),P.write_shift(2,L),P.write_shift(1,Y),P.write_shift(1,O),P.write_shift(2,0),P.write_shift(2,0),P.write_shift(1,1),P.write_shift(1,2),P.write_shift(4,0),P.write_shift(4,0),P}function u(A,P,L){var O={s:{c:0,r:0},e:{c:0,r:0}};return P==8&&L.qpro?(O.s.c=A.read_shift(1),A.l++,O.s.r=A.read_shift(2),O.e.c=A.read_shift(1),A.l++,O.e.r=A.read_shift(2),O):(O.s.c=A.read_shift(2),O.s.r=A.read_shift(2),P==12&&L.qpro&&(A.l+=2),O.e.c=A.read_shift(2),O.e.r=A.read_shift(2),P==12&&L.qpro&&(A.l+=2),O.s.c==65535&&(O.s.c=O.e.c=O.s.r=O.e.r=0),O)}function h(A){var P=ye(8);return P.write_shift(2,A.s.c),P.write_shift(2,A.s.r),P.write_shift(2,A.e.c),P.write_shift(2,A.e.r),P}function d(A,P,L){var O=[{c:0,r:0},{t:"n",v:0},0,0];return L.qpro&&L.vers!=20768?(O[0].c=A.read_shift(1),O[3]=A.read_shift(1),O[0].r=A.read_shift(2),A.l+=2):(O[2]=A.read_shift(1),O[0].c=A.read_shift(2),O[0].r=A.read_shift(2)),O}function p(A,P,L){var O=A.l+P,Y=d(A,P,L);if(Y[1].t="s",L.vers==20768){A.l++;var de=A.read_shift(1);return Y[1].v=A.read_shift(de,"utf8"),Y}return L.qpro&&A.l++,Y[1].v=A.read_shift(O-A.l,"cstr"),Y}function v(A,P,L){var O=ye(7+L.length);O.write_shift(1,255),O.write_shift(2,P),O.write_shift(2,A),O.write_shift(1,39);for(var Y=0;Y<O.length;++Y){var de=L.charCodeAt(Y);O.write_shift(1,de>=128?95:de)}return O.write_shift(1,0),O}function g(A,P,L){var O=d(A,P,L);return O[1].v=A.read_shift(2,"i"),O}function S(A,P,L){var O=ye(7);return O.write_shift(1,255),O.write_shift(2,P),O.write_shift(2,A),O.write_shift(2,L,"i"),O}function w(A,P,L){var O=d(A,P,L);return O[1].v=A.read_shift(8,"f"),O}function _(A,P,L){var O=ye(13);return O.write_shift(1,255),O.write_shift(2,P),O.write_shift(2,A),O.write_shift(8,L,"f"),O}function E(A,P,L){var O=A.l+P,Y=d(A,P,L);if(Y[1].v=A.read_shift(8,"f"),L.qpro)A.l=O;else{var de=A.read_shift(2);U(A.slice(A.l,A.l+de),Y),A.l+=de}return Y}function b(A,P,L){var O=P&32768;return P&=-32769,P=(O?A:0)+(P>=8192?P-16384:P),(O?"":"$")+(L?Zt(P):lr(P))}var F={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]},k=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function U(A,P){Or(A,0);for(var L=[],O=0,Y="",de="",ge="",pe="";A.l<A.length;){var Ee=A[A.l++];switch(Ee){case 0:L.push(A.read_shift(8,"f"));break;case 1:de=b(P[0].c,A.read_shift(2),!0),Y=b(P[0].r,A.read_shift(2),!1),L.push(de+Y);break;case 2:{var He=b(P[0].c,A.read_shift(2),!0),V=b(P[0].r,A.read_shift(2),!1);de=b(P[0].c,A.read_shift(2),!0),Y=b(P[0].r,A.read_shift(2),!1),L.push(He+V+":"+de+Y)}break;case 3:if(A.l<A.length){console.error("WK1 premature formula end");return}break;case 4:L.push("("+L.pop()+")");break;case 5:L.push(A.read_shift(2));break;case 6:{for(var ft="";Ee=A[A.l++];)ft+=String.fromCharCode(Ee);L.push('"'+ft.replace(/"/g,'""')+'"')}break;case 8:L.push("-"+L.pop());break;case 23:L.push("+"+L.pop());break;case 22:L.push("NOT("+L.pop()+")");break;case 20:case 21:pe=L.pop(),ge=L.pop(),L.push(["AND","OR"][Ee-20]+"("+ge+","+pe+")");break;default:if(Ee<32&&k[Ee])pe=L.pop(),ge=L.pop(),L.push(ge+k[Ee]+pe);else if(F[Ee]){if(O=F[Ee][1],O==69&&(O=A[A.l++]),O>L.length){console.error("WK1 bad formula parse 0x"+Ee.toString(16)+":|"+L.join("|")+"|");return}var qe=L.slice(-O);L.length-=O,L.push(F[Ee][0]+"("+qe.join(",")+")")}else return Ee<=7?console.error("WK1 invalid opcode "+Ee.toString(16)):Ee<=24?console.error("WK1 unsupported op "+Ee.toString(16)):Ee<=30?console.error("WK1 invalid opcode "+Ee.toString(16)):Ee<=115?console.error("WK1 unsupported function opcode "+Ee.toString(16)):console.error("WK1 unrecognized opcode "+Ee.toString(16))}}L.length==1?P[1].f=""+L[0]:console.error("WK1 bad formula parse |"+L.join("|")+"|")}function I(A){var P=[{c:0,r:0},{t:"n",v:0},0];return P[0].r=A.read_shift(2),P[3]=A[A.l++],P[0].c=A[A.l++],P}function W(A,P){var L=I(A);return L[1].t="s",L[1].v=A.read_shift(P-4,"cstr"),L}function D(A,P,L,O){var Y=ye(6+O.length);Y.write_shift(2,A),Y.write_shift(1,L),Y.write_shift(1,P),Y.write_shift(1,39);for(var de=0;de<O.length;++de){var ge=O.charCodeAt(de);Y.write_shift(1,ge>=128?95:ge)}return Y.write_shift(1,0),Y}function ee(A,P){var L=I(A);L[1].v=A.read_shift(2);var O=L[1].v>>1;if(L[1].v&1)switch(O&7){case 0:O=(O>>3)*5e3;break;case 1:O=(O>>3)*500;break;case 2:O=(O>>3)/20;break;case 3:O=(O>>3)/200;break;case 4:O=(O>>3)/2e3;break;case 5:O=(O>>3)/2e4;break;case 6:O=(O>>3)/16;break;case 7:O=(O>>3)/64;break}return L[1].v=O,L}function X(A,P){var L=I(A),O=A.read_shift(4),Y=A.read_shift(4),de=A.read_shift(2);if(de==65535)return O===0&&Y===3221225472?(L[1].t="e",L[1].v=15):O===0&&Y===3489660928?(L[1].t="e",L[1].v=42):L[1].v=0,L;var ge=de&32768;return de=(de&32767)-16446,L[1].v=(1-ge*2)*(Y*Math.pow(2,de+32)+O*Math.pow(2,de)),L}function ne(A,P,L,O){var Y=ye(14);if(Y.write_shift(2,A),Y.write_shift(1,L),Y.write_shift(1,P),O==0)return Y.write_shift(4,0),Y.write_shift(4,0),Y.write_shift(2,65535),Y;var de=0,ge=0,pe=0,Ee=0;return O<0&&(de=1,O=-O),ge=Math.log2(O)|0,O/=Math.pow(2,ge-31),Ee=O>>>0,(Ee&2147483648)==0&&(O/=2,++ge,Ee=O>>>0),O-=Ee,Ee|=2147483648,Ee>>>=0,O*=Math.pow(2,32),pe=O>>>0,Y.write_shift(4,pe),Y.write_shift(4,Ee),ge+=16383+(de?32768:0),Y.write_shift(2,ge),Y}function re(A,P){var L=X(A);return A.l+=P-14,L}function Q(A,P){var L=I(A),O=A.read_shift(4);return L[1].v=O>>6,L}function me(A,P){var L=I(A),O=A.read_shift(8,"f");return L[1].v=O,L}function Ce(A,P){var L=me(A);return A.l+=P-10,L}function ve(A,P){return A[A.l+P-1]==0?A.read_shift(P,"cstr"):""}function Z(A,P){var L=A[A.l++];L>P-1&&(L=P-1);for(var O="";O.length<L;)O+=String.fromCharCode(A[A.l++]);return O}function ie(A,P,L){if(!(!L.qpro||P<21)){var O=A.read_shift(1);A.l+=17,A.l+=1,A.l+=2;var Y=A.read_shift(P-21,"cstr");return[O,Y]}}function Re(A,P){for(var L={},O=A.l+P;A.l<O;){var Y=A.read_shift(2);if(Y==14e3){for(L[Y]=[0,""],L[Y][0]=A.read_shift(2);A[A.l];)L[Y][1]+=String.fromCharCode(A[A.l]),A.l++;A.l++}}return L}function K(A,P){var L=ye(5+A.length);L.write_shift(2,14e3),L.write_shift(2,P);for(var O=0;O<A.length;++O){var Y=A.charCodeAt(O);L[L.l++]=Y>127?95:Y}return L[L.l++]=0,L}var Ae={0:{n:"BOF",f:mr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:u},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:g},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:p},16:{n:"FORMULA",f:E},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:p},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:ve},222:{n:"SHEETNAMELP",f:Z},65535:{n:""}},j={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:W},23:{n:"NUMBER17",f:X},24:{n:"NUMBER18",f:ee},25:{n:"FORMULA19",f:re},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Re},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:Q},38:{n:"??"},39:{n:"NUMBER27",f:me},40:{n:"FORMULA28",f:Ce},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:ve},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:ie},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:n,book_to_wk3:s,to_workbook:t}})();function L6(e){var t={},r=e.match(Gr),n=0,s=!1;if(r)for(;n!=r.length;++n){var c=Qe(r[n]);switch(c[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!c.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if(c.val=="1")break;t.cp=t1[parseInt(c.val,10)];break;case"<outline":if(!c.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=c.val;break;case"<sz":t.sz=c.val;break;case"<strike":if(!c.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!c.val)break;switch(c.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting";break}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if(c.val=="0")break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if(c.val=="0")break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":c.rgb&&(t.color=c.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=c.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=c.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":break;case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(c[0].charCodeAt(1)!==47&&!s)throw new Error("Unrecognized rich format "+c[0])}}return t}var B6=(function(){var e=Ic("t"),t=Ic("rPr");function r(c){var o=c.match(e);if(!o)return{t:"s",v:""};var u={t:"s",v:yt(o[1])},h=c.match(t);return h&&(u.s=L6(h[1])),u}var n=/<(?:\w+:)?r>/g,s=/<\/(?:\w+:)?r>/;return function(o){return o.replace(n,"").split(s).map(r).filter(function(u){return u.v})}})(),U6=(function(){var t=/(\r\n|\n)/g;function r(s,c,o){var u=[];s.u&&u.push("text-decoration: underline;"),s.uval&&u.push("text-underline-style:"+s.uval+";"),s.sz&&u.push("font-size:"+s.sz+"pt;"),s.outline&&u.push("text-effect: outline;"),s.shadow&&u.push("text-shadow: auto;"),c.push('<span style="'+u.join("")+'">'),s.b&&(c.push("<b>"),o.push("</b>")),s.i&&(c.push("<i>"),o.push("</i>")),s.strike&&(c.push("<s>"),o.push("</s>"));var h=s.valign||"";return h=="superscript"||h=="super"?h="sup":h=="subscript"&&(h="sub"),h!=""&&(c.push("<"+h+">"),o.push("</"+h+">")),o.push("</span>"),s}function n(s){var c=[[],s.v,[]];return s.v?(s.s&&r(s.s,c[0],c[2]),c[0].join("")+c[1].replace(t,"<br/>")+c[2].join("")):""}return function(c){return c.map(n).join("")}})(),j6=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,I6=/<(?:\w+:)?r>/,z6=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function b1(e,t){var r=t?t.cellHTML:!0,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=yt(Lt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Lt(e),r&&(n.h=u1(n.t))):e.match(I6)&&(n.r=Lt(e),n.t=yt(Lt((e.replace(z6,"").match(j6)||[]).join("").replace(Gr,""))),r&&(n.h=U6(B6(n.r)))),n):{t:""}}var P6=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,H6=/<(?:\w+:)?(?:si|sstItem)>/g,V6=/<\/(?:\w+:)?(?:si|sstItem)>/;function W6(e,t){var r=[],n="";if(!e)return r;var s=e.match(P6);if(s){n=s[2].replace(H6,"").split(V6);for(var c=0;c!=n.length;++c){var o=b1(n[c].trim(),t);o!=null&&(r[r.length]=o)}s=Qe(s[1]),r.Count=s.count,r.Unique=s.uniqueCount}return r}var X6=/^\s|\s$|[\t\n\r]/;function V_(e,t){if(!t.bookSST)return"";var r=[or];r[r.length]=Le("sst",null,{xmlns:us[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var s=e[n],c="<si>";s.r?c+=s.r:(c+="<t",s.t||(s.t=""),s.t.match(X6)&&(c+=' xml:space="preserve"'),c+=">"+Rt(s.t)+"</t>"),c+="</si>",r[r.length]=c}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function G6(e){return[e.read_shift(4),e.read_shift(4)]}function q6(e,t){var r=[],n=!1;return Vn(e,function(c,o,u){switch(u){case 159:r.Count=c[0],r.Unique=c[1];break;case 19:r.push(c);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(o.T,!n||t.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}),r}function Y6(e,t){return t||(t=ye(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var K6=i8;function Z6(e){var t=sa();ke(t,159,Y6(e));for(var r=0;r<e.length;++r)ke(t,19,K6(e[r]));return ke(t,160),t.end()}function W_(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function In(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function $6(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=In(e,4),t.U=In(e,4),t.W=In(e,4),t}function Q6(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},s=e.read_shift(4),c=[];s-- >0;)c.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=c,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function J6(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(Q6(e));return t}function eC(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function tC(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=In(e,4),t.U=In(e,4),t.W=In(e,4),t}function rC(e){var t=tC(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function X_(e,t){var r=e.l+t,n={};n.Flags=e.read_shift(4)&63,e.l+=4,n.AlgID=e.read_shift(4);var s=!1;switch(n.AlgID){case 26126:case 26127:case 26128:s=n.Flags==36;break;case 26625:s=n.Flags==4;break;case 0:s=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!s)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function G_(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function aC(e){var t=In(e);switch(t.Minor){case 2:return[t.Minor,nC(e)];case 3:return[t.Minor,iC()];case 4:return[t.Minor,sC(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function nC(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),n=X_(e,r),s=G_(e,e.length-e.l);return{t:"Std",h:n,v:s}}function iC(){throw new Error("File is password-protected: ECMA-376 Extensible")}function sC(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(Gr,function(c){var o=Qe(c);switch(mn(o[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(u){n[u]=o[u]});break;case"<dataIntegrity":n.encryptedHmacKey=o.encryptedHmacKey,n.encryptedHmacValue=o.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=o.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(o);break;default:throw o[0]}}),n}function lC(e,t){var r={},n=r.EncryptionVersionInfo=In(e,4);if(t-=4,n.Minor!=2)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var s=e.read_shift(4);return t-=4,r.EncryptionHeader=X_(e,s),t-=s,r.EncryptionVerifier=G_(e,t),r}function cC(e){var t={},r=t.EncryptionVersionInfo=In(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function k1(e){var t=0,r,n=W_(e),s=n.length+1,c,o,u,h,d;for(r=_i(s),r[0]=n.length,c=1;c!=s;++c)r[c]=n[c-1];for(c=s-1;c>=0;--c)o=r[c],u=(t&16384)===0?0:1,h=t<<1&32767,d=u|h,t=d^o;return t^52811}var q_=(function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(o){return(o/2|o*128)&255},s=function(o,u){return n(o^u)},c=function(o){for(var u=t[o.length-1],h=104,d=o.length-1;d>=0;--d)for(var p=o[d],v=0;v!=7;++v)p&64&&(u^=r[h]),p*=2,--h;return u};return function(o){for(var u=W_(o),h=c(u),d=u.length,p=_i(16),v=0;v!=16;++v)p[v]=0;var g,S,w;for((d&1)===1&&(g=h>>8,p[d]=s(e[0],g),--d,g=h&255,S=u[u.length-1],p[d]=s(S,g));d>0;)--d,g=h>>8,p[d]=s(u[d],g),--d,g=h&255,p[d]=s(u[d],g);for(d=15,w=15-u.length;w>0;)g=h>>8,p[d]=s(e[w],g),--d,--w,g=h&255,p[d]=s(u[d],g),--d,--w;return p}})(),oC=function(e,t,r,n,s){s||(s=t),n||(n=q_(e));var c,o;for(c=0;c!=t.length;++c)o=t[c],o^=n[r],o=(o>>5|o<<3)&255,s[c]=o,++r;return[s,r,n]},fC=function(e){var t=0,r=q_(e);return function(n){var s=oC("",n,t,r);return t=s[1],s[0]}};function uC(e,t,r,n){var s={key:mr(e),verificationBytes:mr(e)};return r.password&&(s.verifier=k1(r.password)),n.valid=s.verificationBytes===s.verifier,n.valid&&(n.insitu=fC(r.password)),s}function hC(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,n.Info===1?n.Data=cC(e):n.Data=lC(e,t),n}function dC(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?hC(e,t-2,n):uC(e,r.biff>=8?t:t-2,r,n),n}var Y_=(function(){function e(s,c){switch(c.type){case"base64":return t(Sa(s),c);case"binary":return t(s,c);case"buffer":return t(ot&&Buffer.isBuffer(s)?s.toString("binary"):Ti(s),c);case"array":return t(ss(s),c)}throw new Error("Unrecognized type "+c.type)}function t(s,c){var o=c||{},u=o.dense?[]:{},h=s.match(/\\trowd.*?\\row\b/g);if(!h.length)throw new Error("RTF missing table");var d={s:{c:0,r:0},e:{c:0,r:h.length-1}};return h.forEach(function(p,v){Array.isArray(u)&&(u[v]=[]);for(var g=/\\\w+\b/g,S=0,w,_=-1;w=g.exec(p);){switch(w[0]){case"\\cell":var E=p.slice(S,g.lastIndex-w[0].length);if(E[0]==" "&&(E=E.slice(1)),++_,E.length){var b={v:E,t:"s"};Array.isArray(u)?u[v][_]=b:u[$e({r:v,c:_})]=b}break}S=g.lastIndex}_>d.e.c&&(d.e.c=_)}),u["!ref"]=at(d),u}function r(s,c){return bi(e(s,c),c)}function n(s){for(var c=["{\\rtf1\\ansi"],o=_t(s["!ref"]),u,h=Array.isArray(s),d=o.s.r;d<=o.e.r;++d){c.push("\\trowd\\trautofit1");for(var p=o.s.c;p<=o.e.c;++p)c.push("\\cellx"+(p+1));for(c.push("\\pard\\intbl"),p=o.s.c;p<=o.e.c;++p){var v=$e({r:d,c:p});u=h?(s[d]||[])[p]:s[v],!(!u||u.v==null&&(!u.f||u.F))&&(c.push(" "+(u.w||(Pn(u),u.w))),c.push("\\cell"))}c.push("\\pard\\intbl\\row")}return c.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}})();function xC(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Vc(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function pC(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.max(t,r,n),c=Math.min(t,r,n),o=s-c;if(o===0)return[0,0,t];var u=0,h=0,d=s+c;switch(h=o/(d>1?2-d:d),s){case t:u=((r-n)/o+6)%6;break;case r:u=(n-t)/o+2;break;case n:u=(t-r)/o+4;break}return[u/6,h,d/2]}function mC(e){var t=e[0],r=e[1],n=e[2],s=r*2*(n<.5?n:1-n),c=n-s/2,o=[c,c,c],u=6*t,h;if(r!==0)switch(u|0){case 0:case 6:h=s*u,o[0]+=s,o[1]+=h;break;case 1:h=s*(2-u),o[0]+=h,o[1]+=s;break;case 2:h=s*(u-2),o[1]+=s,o[2]+=h;break;case 3:h=s*(4-u),o[1]+=h,o[2]+=s;break;case 4:h=s*(u-4),o[2]+=s,o[0]+=h;break;case 5:h=s*(6-u),o[2]+=h,o[0]+=s;break}for(var d=0;d!=3;++d)o[d]=Math.round(o[d]*255);return o}function uf(e,t){if(t===0)return e;var r=pC(xC(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),Vc(mC(r))}var K_=6,vC=15,gC=1,Pr=K_;function Wc(e){return Math.floor((e+Math.round(128/Pr)/256)*Pr)}function Xc(e){return Math.floor((e-5)/Pr*100+.5)/100}function hf(e){return Math.round((e*Pr+5)/Pr*256)/256}function id(e){return hf(Xc(Wc(e)))}function A1(e){var t=Math.abs(e-id(e)),r=Pr;if(t>.005)for(Pr=gC;Pr<vC;++Pr)Math.abs(e-id(e))<=t&&(t=Math.abs(e-id(e)),r=Pr);Pr=r}function Si(e){e.width?(e.wpx=Wc(e.width),e.wch=Xc(e.wpx),e.MDW=Pr):e.wpx?(e.wch=Xc(e.wpx),e.width=hf(e.wch),e.MDW=Pr):typeof e.wch=="number"&&(e.width=hf(e.wch),e.wpx=Wc(e.width),e.MDW=Pr),e.customWidth&&delete e.customWidth}var yC=96,Z_=yC;function Gc(e){return e*96/Z_}function xl(e){return e*Z_/96}var _C={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function SC(e,t,r,n){t.Borders=[];var s={},c=!1;(e[0].match(Gr)||[]).forEach(function(o){var u=Qe(o);switch(mn(u[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":s={},u.diagonalUp&&(s.diagonalUp=Vt(u.diagonalUp)),u.diagonalDown&&(s.diagonalDown=Vt(u.diagonalDown)),t.Borders.push(s);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":c=!0;break;case"</ext>":c=!1;break;default:if(n&&n.WTF&&!c)throw new Error("unrecognized "+u[0]+" in borders")}})}function EC(e,t,r,n){t.Fills=[];var s={},c=!1;(e[0].match(Gr)||[]).forEach(function(o){var u=Qe(o);switch(mn(u[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":s={},t.Fills.push(s);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(s),s={};break;case"<patternFill":case"<patternFill>":u.patternType&&(s.patternType=u.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":s.bgColor||(s.bgColor={}),u.indexed&&(s.bgColor.indexed=parseInt(u.indexed,10)),u.theme&&(s.bgColor.theme=parseInt(u.theme,10)),u.tint&&(s.bgColor.tint=parseFloat(u.tint)),u.rgb&&(s.bgColor.rgb=u.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":s.fgColor||(s.fgColor={}),u.theme&&(s.fgColor.theme=parseInt(u.theme,10)),u.tint&&(s.fgColor.tint=parseFloat(u.tint)),u.rgb!=null&&(s.fgColor.rgb=u.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":c=!0;break;case"</ext>":c=!1;break;default:if(n&&n.WTF&&!c)throw new Error("unrecognized "+u[0]+" in fills")}})}function wC(e,t,r,n){t.Fonts=[];var s={},c=!1;(e[0].match(Gr)||[]).forEach(function(o){var u=Qe(o);switch(mn(u[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(s),s={};break;case"<name":u.val&&(s.name=Lt(u.val));break;case"<name/>":case"</name>":break;case"<b":s.bold=u.val?Vt(u.val):1;break;case"<b/>":s.bold=1;break;case"<i":s.italic=u.val?Vt(u.val):1;break;case"<i/>":s.italic=1;break;case"<u":switch(u.val){case"none":s.underline=0;break;case"single":s.underline=1;break;case"double":s.underline=2;break;case"singleAccounting":s.underline=33;break;case"doubleAccounting":s.underline=34;break}break;case"<u/>":s.underline=1;break;case"<strike":s.strike=u.val?Vt(u.val):1;break;case"<strike/>":s.strike=1;break;case"<outline":s.outline=u.val?Vt(u.val):1;break;case"<outline/>":s.outline=1;break;case"<shadow":s.shadow=u.val?Vt(u.val):1;break;case"<shadow/>":s.shadow=1;break;case"<condense":s.condense=u.val?Vt(u.val):1;break;case"<condense/>":s.condense=1;break;case"<extend":s.extend=u.val?Vt(u.val):1;break;case"<extend/>":s.extend=1;break;case"<sz":u.val&&(s.sz=+u.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":u.val&&(s.vertAlign=u.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":u.val&&(s.family=parseInt(u.val,10));break;case"<family/>":case"</family>":break;case"<scheme":u.val&&(s.scheme=u.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if(u.val=="1")break;u.codepage=t1[parseInt(u.val,10)];break;case"<color":if(s.color||(s.color={}),u.auto&&(s.color.auto=Vt(u.auto)),u.rgb)s.color.rgb=u.rgb.slice(-6);else if(u.indexed){s.color.index=parseInt(u.indexed,10);var h=Ji[s.color.index];s.color.index==81&&(h=Ji[1]),h||(h=Ji[1]),s.color.rgb=h[0].toString(16)+h[1].toString(16)+h[2].toString(16)}else u.theme&&(s.color.theme=parseInt(u.theme,10),u.tint&&(s.color.tint=parseFloat(u.tint)),u.theme&&r.themeElements&&r.themeElements.clrScheme&&(s.color.rgb=uf(r.themeElements.clrScheme[s.color.theme].rgb,s.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":c=!0;break;case"</AlternateContent>":c=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":c=!0;break;case"</ext>":c=!1;break;default:if(n&&n.WTF&&!c)throw new Error("unrecognized "+u[0]+" in fonts")}})}function TC(e,t,r){t.NumberFmt=[];for(var n=ar(Ke),s=0;s<n.length;++s)t.NumberFmt[n[s]]=Ke[n[s]];var c=e[0].match(Gr);if(c)for(s=0;s<c.length;++s){var o=Qe(c[s]);switch(mn(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":{var u=yt(Lt(o.formatCode)),h=parseInt(o.numFmtId,10);if(t.NumberFmt[h]=u,h>0){if(h>392){for(h=392;h>60&&t.NumberFmt[h]!=null;--h);t.NumberFmt[h]=u}jn(u,h)}}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}function bC(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=Le("numFmt",null,{numFmtId:n,formatCode:Rt(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=Le("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Bo=["numFmtId","fillId","fontId","borderId","xfId"],Uo=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function kC(e,t,r){t.CellXf=[];var n,s=!1;(e[0].match(Gr)||[]).forEach(function(c){var o=Qe(c),u=0;switch(mn(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(n=o,delete n[0],u=0;u<Bo.length;++u)n[Bo[u]]&&(n[Bo[u]]=parseInt(n[Bo[u]],10));for(u=0;u<Uo.length;++u)n[Uo[u]]&&(n[Uo[u]]=Vt(n[Uo[u]]));if(t.NumberFmt&&n.numFmtId>392){for(u=392;u>60;--u)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[u]){n.numFmtId=u;break}}t.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":var h={};o.vertical&&(h.vertical=o.vertical),o.horizontal&&(h.horizontal=o.horizontal),o.textRotation!=null&&(h.textRotation=o.textRotation),o.indent&&(h.indent=o.indent),o.wrapText&&(h.wrapText=Vt(o.wrapText)),n.alignment=h;break;case"</alignment>":break;case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":s=!0;break;case"</AlternateContent>":s=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(r&&r.WTF&&!s)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}function AC(e){var t=[];return t[t.length]=Le("cellXfs",null),e.forEach(function(r){t[t.length]=Le("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=Le("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var CC=(function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,s=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,c=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(u,h,d){var p={};if(!u)return p;u=u.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var v;return(v=u.match(t))&&TC(v,p,d),(v=u.match(s))&&wC(v,p,h,d),(v=u.match(n))&&EC(v,p,h,d),(v=u.match(c))&&SC(v,p,h,d),(v=u.match(r))&&kC(v,p,d),p}})();function $_(e,t){var r=[or,Le("styleSheet",null,{xmlns:us[0],"xmlns:vt":gr.vt})],n;return e.SSF&&(n=bC(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=AC(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function FC(e,t){var r=e.read_shift(2),n=Wr(e);return[r,n]}function RC(e,t,r){r||(r=ye(6+4*t.length)),r.write_shift(2,e),Tr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function OC(e,t,r){var n={};n.sz=e.read_shift(2)/20;var s=h8(e);s.fItalic&&(n.italic=1),s.fCondense&&(n.condense=1),s.fExtend&&(n.extend=1),s.fShadow&&(n.shadow=1),s.fOutline&&(n.outline=1),s.fStrikeout&&(n.strike=1);var c=e.read_shift(2);switch(c===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var o=e.read_shift(1);o!=0&&(n.underline=o);var u=e.read_shift(1);u>0&&(n.family=u);var h=e.read_shift(1);switch(h>0&&(n.charset=h),e.l++,n.color=u8(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Wr(e),n}function DC(e,t){t||(t=ye(153)),t.write_shift(2,e.sz*20),d8(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),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),cf(e.color,t);var n=0;return n=2,t.write_shift(1,n),Tr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var NC=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],sd,MC=Xr;function n2(e,t){t||(t=ye(84)),sd||(sd=Tf(NC));var r=sd[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(cf({auto:1},t),cf({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function LC(e,t){var r=e.l+t,n=e.read_shift(2),s=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:s}}function Q_(e,t,r){r||(r=ye(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Sc(e,t){return t||(t=ye(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var BC=Xr;function UC(e,t){return t||(t=ye(51)),t.write_shift(1,0),Sc(null,t),Sc(null,t),Sc(null,t),Sc(null,t),Sc(null,t),t.length>t.l?t.slice(0,t.l):t}function jC(e,t){return t||(t=ye(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,0),t.write_shift(1,0),lf(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function IC(e,t,r){var n=ye(2052);return n.write_shift(4,e),lf(t,n),lf(r,n),n.length>n.l?n.slice(0,n.l):n}function zC(e,t,r){var n={};n.NumberFmt=[];for(var s in Ke)n.NumberFmt[s]=Ke[s];n.CellXf=[],n.Fonts=[];var c=[],o=!1;return Vn(e,function(h,d,p){switch(p){case 44:n.NumberFmt[h[0]]=h[1],jn(h[1],h[0]);break;case 43:n.Fonts.push(h),h.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(h.color.rgb=uf(t.themeElements.clrScheme[h.color.theme].rgb,h.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:c[c.length-1]==617&&n.CellXf.push(h);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:c.push(p),o=!0;break;case 38:c.pop(),o=!1;break;default:if(d.T>0)c.push(p);else if(d.T<0)c.pop();else if(!o||r.WTF&&c[c.length-1]!=37)throw new Error("Unexpected record 0x"+p.toString(16))}}),n}function PC(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&++r}),r!=0&&(ke(e,615,en(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&ke(e,44,RC(s,t[s]))}),ke(e,616))}}function HC(e){var t=1;ke(e,611,en(t)),ke(e,43,DC({sz:12,color:{theme:1},name:"Calibri",family:2})),ke(e,612)}function VC(e){var t=2;ke(e,603,en(t)),ke(e,45,n2({patternType:"none"})),ke(e,45,n2({patternType:"gray125"})),ke(e,604)}function WC(e){var t=1;ke(e,613,en(t)),ke(e,46,UC()),ke(e,614)}function XC(e){var t=1;ke(e,626,en(t)),ke(e,47,Q_({numFmtId:0},65535)),ke(e,627)}function GC(e,t){ke(e,617,en(t.length)),t.forEach(function(r){ke(e,47,Q_(r,0))}),ke(e,618)}function qC(e){var t=1;ke(e,619,en(t)),ke(e,48,jC({xfId:0,name:"Normal"})),ke(e,620)}function YC(e){var t=0;ke(e,505,en(t)),ke(e,506)}function KC(e){var t=0;ke(e,508,IC(t,"TableStyleMedium9","PivotStyleMedium4")),ke(e,509)}function ZC(e,t){var r=sa();return ke(r,278),PC(r,e.SSF),HC(r),VC(r),WC(r),XC(r),GC(r,t.cellXfs),qC(r),YC(r),KC(r),ke(r,279),r.end()}var $C=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function QC(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Gr)||[]).forEach(function(s){var c=Qe(s);switch(c[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=c.val;break;case"<a:sysClr":n.rgb=c.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":c[0].charAt(1)==="/"?(t.themeElements.clrScheme[$C.indexOf(c[0])]=n,n={}):n.name=c[0].slice(3,c[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+c[0]+" in clrScheme")}})}function JC(){}function eF(){}var tF=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,rF=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,aF=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function nF(e,t,r){t.themeElements={};var n;[["clrScheme",tF,QC],["fontScheme",rF,JC],["fmtScheme",aF,eF]].forEach(function(s){if(!(n=e.match(s[1])))throw new Error(s[0]+" not found in themeElements");s[2](n,t,r)})}var iF=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function J_(e,t){(!e||e.length===0)&&(e=C1());var r,n={};if(!(r=e.match(iF)))throw new Error("themeElements not found in theme");return nF(r[0],n,t),n.raw=e,n}function C1(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[or];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ＭＳ Ｐゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ＭＳ Ｐゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function sF(e,t,r){var n=e.l+t,s=e.read_shift(4);if(s!==124226){if(!r.cellStyles){e.l=n;return}var c=e.slice(e.l);e.l=n;var o;try{o=Xy(c,{type:"array"})}catch{return}var u=_a(o,"theme/theme/theme1.xml",!0);if(u)return J_(u,r)}}function lF(e){return e.read_shift(4)}function cF(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=oF(e,4);break;case 2:t.xclrValue=D_(e);break;case 3:t.xclrValue=lF(e);break;case 4:e.l+=4;break}return e.l+=8,t}function oF(e,t){return Xr(e,t)}function fF(e,t){return Xr(e,t)}function uF(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=cF(e);break;case 6:n[1]=fF(e,r);break;case 14:case 15:n[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function hF(e,t){var r=e.l+t;e.l+=2;var n=e.read_shift(2);e.l+=2;for(var s=e.read_shift(2),c=[];s-- >0;)c.push(uF(e,r-e.l));return{ixfe:n,ext:c}}function dF(e,t){t.forEach(function(r){r[0]})}function xF(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Wr(e)}}function pF(e){var t=ye(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Tr(e.name,t),t.slice(0,t.l)}function mF(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function vF(e){var t=ye(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function gF(e,t){var r=ye(8+2*t.length);return r.write_shift(4,e),Tr(t,r),r.slice(0,r.l)}function yF(e){return e.l+=4,e.read_shift(4)!=0}function _F(e,t){var r=ye(8);return r.write_shift(4,e),r.write_shift(4,1),r}function SF(e,t,r){var n={Types:[],Cell:[],Value:[]},s=r||{},c=[],o=!1,u=2;return Vn(e,function(h,d,p){switch(p){case 335:n.Types.push({name:h.name});break;case 51:h.forEach(function(v){u==1?n.Cell.push({type:n.Types[v[0]-1].name,index:v[1]}):u==0&&n.Value.push({type:n.Types[v[0]-1].name,index:v[1]})});break;case 337:u=h?1:0;break;case 338:u=2;break;case 35:c.push(p),o=!0;break;case 36:c.pop(),o=!1;break;default:if(!d.T){if(!o||s.WTF&&c[c.length-1]!=35)throw new Error("Unexpected record 0x"+p.toString(16))}}}),n}function EF(){var e=sa();return ke(e,332),ke(e,334,en(1)),ke(e,335,pF({name:"XLDAPR",version:12e4,flags:3496657072})),ke(e,336),ke(e,339,gF(1,"XLDAPR")),ke(e,52),ke(e,35,en(514)),ke(e,4096,en(0)),ke(e,4097,Pa(1)),ke(e,36),ke(e,53),ke(e,340),ke(e,337,_F(1)),ke(e,51,vF([[1,0]])),ke(e,338),ke(e,333),e.end()}function wF(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var s=!1,c=2,o;return e.replace(Gr,function(u){var h=Qe(u);switch(mn(h[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":n.Types.push({name:h.name});break;case"</metadataType>":break;case"<futureMetadata":for(var d=0;d<n.Types.length;++d)n.Types[d].name==h.name&&(o=n.Types[d]);break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":c==1?n.Cell.push({type:n.Types[h.t-1].name,index:+h.v}):c==0&&n.Value.push({type:n.Types[h.t-1].name,index:+h.v});break;case"</rc>":break;case"<cellMetadata":c=1;break;case"</cellMetadata>":c=2;break;case"<valueMetadata":c=0;break;case"</valueMetadata>":c=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;case"<rvb":if(!o)break;o.offsets||(o.offsets=[]),o.offsets.push(+h.i);break;default:if(!s&&r.WTF)throw new Error("unrecognized "+h[0]+" in metadata")}return u}),n}function eS(){var e=[or];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  <metadataTypes count="1">
    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
  </metadataTypes>
  <futureMetadata name="XLDAPR" count="1">
    <bk>
      <extLst>
        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
        </ext>
      </extLst>
    </bk>
  </futureMetadata>
  <cellMetadata count="1">
    <bk>
      <rc t="1" v="0"/>
    </bk>
  </cellMetadata>
</metadata>`),e.join("")}function TF(e){var t=[];if(!e)return t;var r=1;return(e.match(Gr)||[]).forEach(function(n){var s=Qe(n);switch(s[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete s[0],s.i?r=s.i:s.i=r,t.push(s);break}}),t}function bF(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=$e(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}function kF(e,t,r){var n=[];return Vn(e,function(c,o,u){switch(u){case 63:n.push(c);break;default:if(!o.T)throw new Error("Unexpected record 0x"+u.toString(16))}}),n}function AF(e,t,r,n){if(!e)return e;var s=n||{},c=!1;Vn(e,function(u,h,d){switch(d){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:c=!0;break;case 36:c=!1;break;default:if(!h.T){if(!c||s.WTF)throw new Error("Unexpected record 0x"+d.toString(16))}}},s)}function CF(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var il=1024;function tS(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),s=[Le("xml",null,{"xmlns:v":va.v,"xmlns:o":va.o,"xmlns:x":va.x,"xmlns:mv":va.mv}).replace(/\/>/,">"),Le("o:shapelayout",Le("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Le("v:shapetype",[Le("v:stroke",null,{joinstyle:"miter"}),Le("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];il<e*1e3;)il+=1e3;return t.forEach(function(c){var o=$t(c[0]),u={color2:"#BEFF82",type:"gradient"};u.type=="gradient"&&(u.angle="-180");var h=u.type=="gradient"?Le("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,d=Le("v:fill",h,u),p={on:"t",obscured:"t"};++il,s=s.concat(["<v:shape"+zc({id:"_x0000_s"+il,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(c[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",d,Le("v:shadow",null,p),Le("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Mr("x:Anchor",[o.c+1,0,o.r+1,0,o.c+3,20,o.r+5,20].join(",")),Mr("x:AutoFill","False"),Mr("x:Row",String(o.r)),Mr("x:Column",String(o.c)),c[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),s.push("</xml>"),s.join("")}function i2(e,t,r,n){var s=Array.isArray(e),c;t.forEach(function(o){var u=$t(o.ref);if(s?(e[u.r]||(e[u.r]=[]),c=e[u.r][u.c]):c=e[o.ref],!c){c={t:"z"},s?e[u.r][u.c]=c:e[o.ref]=c;var h=_t(e["!ref"]||"BDWGO1000001:A1");h.s.r>u.r&&(h.s.r=u.r),h.e.r<u.r&&(h.e.r=u.r),h.s.c>u.c&&(h.s.c=u.c),h.e.c<u.c&&(h.e.c=u.c);var d=at(h);d!==e["!ref"]&&(e["!ref"]=d)}c.c||(c.c=[]);var p={a:o.author,t:o.t,r:o.r,T:r};o.h&&(p.h=o.h);for(var v=c.c.length-1;v>=0;--v){if(!r&&c.c[v].T)return;r&&!c.c[v].T&&c.c.splice(v,1)}if(r&&n){for(v=0;v<n.length;++v)if(p.a==n[v].id){p.a=n[v].name||p.a;break}}c.c.push(p)})}function FF(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],s=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);s&&s[1]&&s[1].split(/<\/\w*:?author>/).forEach(function(o){if(!(o===""||o.trim()==="")){var u=o.match(/<(?:\w+:)?author[^>]*>(.*)/);u&&r.push(u[1])}});var c=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return c&&c[1]&&c[1].split(/<\/\w*:?comment>/).forEach(function(o){if(!(o===""||o.trim()==="")){var u=o.match(/<(?:\w+:)?comment[^>]*>/);if(u){var h=Qe(u[0]),d={author:h.authorId&&r[h.authorId]||"sheetjsghost",ref:h.ref,guid:h.guid},p=$t(h.ref);if(!(t.sheetRows&&t.sheetRows<=p.r)){var v=o.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),g=!!v&&!!v[1]&&b1(v[1])||{r:"",t:"",h:""};d.r=g.r,g.r=="<t></t>"&&(g.t=g.h=""),d.t=(g.t||"").replace(/\r\n/g,`
`).replace(/\r/g,`
`),t.cellHTML&&(d.h=g.h),n.push(d)}}}}),n}function rS(e){var t=[or,Le("comments",null,{xmlns:us[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(s){var c=Rt(s.a);r.indexOf(c)==-1&&(r.push(c),t.push("<author>"+c+"</author>")),s.T&&s.ID&&r.indexOf("tc="+s.ID)==-1&&(r.push("tc="+s.ID),t.push("<author>tc="+s.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var s=0,c=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?s=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(h){h.a&&(s=r.indexOf(Rt(h.a))),c.push(h.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+s+'"><text>'),c.length<=1)t.push(Mr("t",Rt(c[0]||"")));else{for(var o=`Comment:
    `+c[0]+`
`,u=1;u<c.length;++u)o+=`Reply:
    `+c[u]+`
`;t.push(Mr("t",Rt(o)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function RF(e,t){var r=[],n=!1,s={},c=0;return e.replace(Gr,function(u,h){var d=Qe(u);switch(mn(d[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":s={author:d.personId,guid:d.id,ref:d.ref,T:1};break;case"</threadedComment>":s.t!=null&&r.push(s);break;case"<text>":case"<text":c=h+u.length;break;case"</text>":s.t=e.slice(c,h).replace(/\r\n/g,`
`).replace(/\r/g,`
`);break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+d[0]+" in threaded comments")}return u}),r}function OF(e,t,r){var n=[or,Le("ThreadedComments",null,{xmlns:gr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(s){var c="";(s[1]||[]).forEach(function(o,u){if(!o.T){delete o.ID;return}o.a&&t.indexOf(o.a)==-1&&t.push(o.a);var h={ref:s[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};u==0?c=h.id:h.parentId=c,o.ID=h.id,o.a&&(h.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),n.push(Le("threadedComment",Mr("text",o.t||""),h))})}),n.push("</ThreadedComments>"),n.join("")}function DF(e,t){var r=[],n=!1;return e.replace(Gr,function(c){var o=Qe(c);switch(mn(o[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":r.push({name:o.displayname,id:o.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return c}),r}function NF(e){var t=[or,Le("personList",null,{xmlns:gr.TCMNT,"xmlns:x":us[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(Le("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function MF(e){var t={};t.iauthor=e.read_shift(4);var r=ps(e);return t.rfx=r.s,t.ref=$e(r.s),e.l+=16,t}function LF(e,t){return t==null&&(t=ye(36)),t.write_shift(4,e[1].iauthor),Tl(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var BF=Wr;function UF(e){return Tr(e.slice(0,54))}function jF(e,t){var r=[],n=[],s={},c=!1;return Vn(e,function(u,h,d){switch(d){case 632:n.push(u);break;case 635:s=u;break;case 637:s.t=u.t,s.h=u.h,s.r=u.r;break;case 636:if(s.author=n[s.iauthor],delete s.iauthor,t.sheetRows&&s.rfx&&t.sheetRows<=s.rfx.r)break;s.t||(s.t=""),delete s.rfx,r.push(s);break;case 3072:break;case 35:c=!0;break;case 36:c=!1;break;case 37:break;case 38:break;default:if(!h.T){if(!c||t.WTF)throw new Error("Unexpected record 0x"+d.toString(16))}}}),r}function IF(e){var t=sa(),r=[];return ke(t,628),ke(t,630),e.forEach(function(n){n[1].forEach(function(s){r.indexOf(s.a)>-1||(r.push(s.a.slice(0,54)),ke(t,632,UF(s.a)))})}),ke(t,631),ke(t,633),e.forEach(function(n){n[1].forEach(function(s){s.iauthor=r.indexOf(s.a);var c={s:$t(n[0]),e:$t(n[0])};ke(t,635,LF([c,s])),s.t&&s.t.length>0&&ke(t,637,l8(s)),ke(t,636),delete s.iauthor})}),ke(t,634),ke(t,629),t.end()}var zF="application/vnd.ms-office.vbaProject";function PF(e){var t=Ge.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var s=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ge.utils.cfb_add(t,s,e.FileIndex[n].content)}}),Ge.write(t)}function HF(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var s=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");s.slice(-1)!=="/"&&Ge.utils.cfb_add(e,s,t.FileIndex[n].content)}})}var aS=["xlsb","xlsm","xlam","biff8","xla"];function VF(){return{"!type":"dialog"}}function WF(){return{"!type":"dialog"}}function XF(){return{"!type":"macro"}}function GF(){return{"!type":"macro"}}var cl=(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 r(n,s,c,o){var u=!1,h=!1;c.length==0?h=!0:c.charAt(0)=="["&&(h=!0,c=c.slice(1,-1)),o.length==0?u=!0:o.charAt(0)=="["&&(u=!0,o=o.slice(1,-1));var d=c.length>0?parseInt(c,10)|0:0,p=o.length>0?parseInt(o,10)|0:0;return u?p+=t.c:--p,h?d+=t.r:--d,s+(u?"":"$")+Zt(p)+(h?"":"$")+lr(d)}return function(s,c){return t=c,s.replace(e,r)}})(),F1=/(^|[^._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,R1=(function(){return function(t,r){return t.replace(F1,function(n,s,c,o,u,h){var d=m1(o)-(c?0:r.c),p=p1(h)-(u?0:r.r),v=p==0?"":u?p+1:"["+p+"]",g=d==0?"":c?d+1:"["+d+"]";return s+"R"+v+"C"+g})}})();function nS(e,t){return e.replace(F1,function(r,n,s,c,o,u){return n+(s=="$"?s+c:Zt(m1(c)+t.c))+(o=="$"?o+u:lr(p1(u)+t.r))})}function qF(e,t,r){var n=la(t),s=n.s,c=$t(r),o={r:c.r-s.r,c:c.c-s.c};return nS(e,o)}function YF(e){return e.length!=1}function s2(e){return e.replace(/_xlfn\./g,"")}function xr(e){e.l+=1}function Ei(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function iS(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return sS(e);r.biff==12&&(n=4)}var s=e.read_shift(n),c=e.read_shift(n),o=Ei(e),u=Ei(e);return{s:{r:s,c:o[0],cRel:o[1],rRel:o[2]},e:{r:c,c:u[0],cRel:u[1],rRel:u[2]}}}function sS(e){var t=Ei(e),r=Ei(e),n=e.read_shift(1),s=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:s,cRel:r[1],rRel:r[2]}}}function KF(e,t,r){if(r.biff<8)return sS(e);var n=e.read_shift(r.biff==12?4:2),s=e.read_shift(r.biff==12?4:2),c=Ei(e),o=Ei(e);return{s:{r:n,c:c[0],cRel:c[1],rRel:c[2]},e:{r:s,c:o[0],cRel:o[1],rRel:o[2]}}}function lS(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return ZF(e);var n=e.read_shift(r&&r.biff==12?4:2),s=Ei(e);return{r:n,c:s[0],cRel:s[1],rRel:s[2]}}function ZF(e){var t=Ei(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function $F(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function QF(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return JF(e);var s=e.read_shift(n>=12?4:2),c=e.read_shift(2),o=(c&16384)>>14,u=(c&32768)>>15;if(c&=16383,u==1)for(;s>524287;)s-=1048576;if(o==1)for(;c>8191;)c=c-16384;return{r:s,c,cRel:o,rRel:u}}function JF(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,s=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),s==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:s,rRel:n}}function eR(e,t,r){var n=(e[e.l++]&96)>>5,s=iS(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,s]}function tR(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2,"i"),c=8;if(r)switch(r.biff){case 5:e.l+=12,c=6;break;case 12:c=12;break}var o=iS(e,c,r);return[n,s,o]}function rR(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function aR(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2),c=8;if(r)switch(r.biff){case 5:e.l+=12,c=6;break;case 12:c=12;break}return e.l+=c,[n,s]}function nR(e,t,r){var n=(e[e.l++]&96)>>5,s=KF(e,t-1,r);return[n,s]}function iR(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function l2(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function sR(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),s=[],c=0;c<=n;++c)s.push(e.read_shift(r&&r.biff==2?1:2));return s}function lR(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function cR(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function oR(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function fR(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function cS(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function uR(e){return e.read_shift(2),cS(e)}function hR(e){return e.read_shift(2),cS(e)}function dR(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=lS(e,0,r);return[n,s]}function xR(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=QF(e,0,r);return[n,s]}function pR(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var c=lS(e,0,r);return[n,s,c]}function mR(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var s=e.read_shift(r&&r.biff<=3?1:2);return[yO[s],uS[s],n]}function vR(e,t,r){var n=e[e.l++],s=e.read_shift(1),c=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:gR(e);return[s,(c[0]===0?uS:gO)[c[1]]]}function gR(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function yR(e,t,r){e.l+=r&&r.biff==2?3:4}function _R(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function SR(e){return e.l++,Wn[e.read_shift(1)]}function ER(e){return e.l++,e.read_shift(2)}function wR(e){return e.l++,e.read_shift(1)!==0}function TR(e){return e.l++,Hr(e)}function bR(e,t,r){return e.l++,n0(e,t-1,r)}function kR(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=sr(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=Wn[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Hr(e);break;case 2:r[1]=ms(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function AR(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),s=[],c=0;c!=n;++c)s.push((r.biff==12?ps:Af)(e));return s}function CR(e,t,r){var n=0,s=0;r.biff==12?(n=e.read_shift(4),s=e.read_shift(4)):(s=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--s==0&&(s=256));for(var c=0,o=[];c!=n&&(o[c]=[]);++c)for(var u=0;u!=s;++u)o[c][u]=kR(e,r.biff);return o}function FR(e,t,r){var n=e.read_shift(1)>>>5&3,s=!r||r.biff>=8?4:2,c=e.read_shift(s);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,c]}function RR(e,t,r){if(r.biff==5)return OR(e);var n=e.read_shift(1)>>>5&3,s=e.read_shift(2),c=e.read_shift(4);return[n,s,c]}function OR(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function DR(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function NR(e,t,r){var n=e.read_shift(1)>>>5&3,s=e.read_shift(r&&r.biff==2?1:2);return[n,s]}function MR(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function LR(e,t,r){var n=(e[e.l++]&96)>>5,s=e.read_shift(2),c=4;if(r)switch(r.biff){case 5:c=15;break;case 12:c=6;break}return e.l+=c,[n,s]}var BR=Xr,UR=Xr,jR=Xr;function s0(e,t,r){return e.l+=2,[$F(e)]}function O1(e){return e.l+=6,[]}var IR=s0,zR=O1,PR=O1,HR=s0;function oS(e){return e.l+=2,[mr(e),e.read_shift(2)&1]}var VR=s0,WR=oS,XR=O1,GR=s0,qR=s0,YR=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function KR(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),s=e.read_shift(2),c=e.read_shift(2),o=YR[r>>2&31];return{ixti:t,coltype:r&3,rt:o,idx:n,c:s,C:c}}function ZR(e){return e.l+=2,[e.read_shift(4)]}function $R(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function QR(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function JR(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function eO(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function tO(e){return e.l+=4,[0,0]}var c2={1:{n:"PtgExp",f:_R},2:{n:"PtgTbl",f:jR},3:{n:"PtgAdd",f:xr},4:{n:"PtgSub",f:xr},5:{n:"PtgMul",f:xr},6:{n:"PtgDiv",f:xr},7:{n:"PtgPower",f:xr},8:{n:"PtgConcat",f:xr},9:{n:"PtgLt",f:xr},10:{n:"PtgLe",f:xr},11:{n:"PtgEq",f:xr},12:{n:"PtgGe",f:xr},13:{n:"PtgGt",f:xr},14:{n:"PtgNe",f:xr},15:{n:"PtgIsect",f:xr},16:{n:"PtgUnion",f:xr},17:{n:"PtgRange",f:xr},18:{n:"PtgUplus",f:xr},19:{n:"PtgUminus",f:xr},20:{n:"PtgPercent",f:xr},21:{n:"PtgParen",f:xr},22:{n:"PtgMissArg",f:xr},23:{n:"PtgStr",f:bR},26:{n:"PtgSheet",f:$R},27:{n:"PtgEndSheet",f:QR},28:{n:"PtgErr",f:SR},29:{n:"PtgBool",f:wR},30:{n:"PtgInt",f:ER},31:{n:"PtgNum",f:TR},32:{n:"PtgArray",f:iR},33:{n:"PtgFunc",f:mR},34:{n:"PtgFuncVar",f:vR},35:{n:"PtgName",f:FR},36:{n:"PtgRef",f:dR},37:{n:"PtgArea",f:eR},38:{n:"PtgMemArea",f:DR},39:{n:"PtgMemErr",f:BR},40:{n:"PtgMemNoMem",f:UR},41:{n:"PtgMemFunc",f:NR},42:{n:"PtgRefErr",f:MR},43:{n:"PtgAreaErr",f:rR},44:{n:"PtgRefN",f:xR},45:{n:"PtgAreaN",f:nR},46:{n:"PtgMemAreaN",f:JR},47:{n:"PtgMemNoMemN",f:eO},57:{n:"PtgNameX",f:RR},58:{n:"PtgRef3d",f:pR},59:{n:"PtgArea3d",f:tR},60:{n:"PtgRefErr3d",f:LR},61:{n:"PtgAreaErr3d",f:aR},255:{}},rO={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},aO={1:{n:"PtgElfLel",f:oS},2:{n:"PtgElfRw",f:GR},3:{n:"PtgElfCol",f:IR},6:{n:"PtgElfRwV",f:qR},7:{n:"PtgElfColV",f:HR},10:{n:"PtgElfRadical",f:VR},11:{n:"PtgElfRadicalS",f:XR},13:{n:"PtgElfColS",f:zR},15:{n:"PtgElfColSV",f:PR},16:{n:"PtgElfRadicalLel",f:WR},25:{n:"PtgList",f:KR},29:{n:"PtgSxName",f:ZR},255:{}},nO={0:{n:"PtgAttrNoop",f:tO},1:{n:"PtgAttrSemi",f:fR},2:{n:"PtgAttrIf",f:cR},4:{n:"PtgAttrChoose",f:sR},8:{n:"PtgAttrGoto",f:lR},16:{n:"PtgAttrSum",f:yR},32:{n:"PtgAttrBaxcel",f:l2},33:{n:"PtgAttrBaxcel",f:l2},64:{n:"PtgAttrSpace",f:uR},65:{n:"PtgAttrSpaceSemi",f:hR},128:{n:"PtgAttrIfError",f:oR},255:{}};function l0(e,t,r,n){if(n.biff<8)return Xr(e,t);for(var s=e.l+t,c=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=CR(e,0,n),c.push(r[o][1]);break;case"PtgMemArea":r[o][2]=AR(e,r[o][1],n),c.push(r[o][2]);break;case"PtgExp":n&&n.biff==12&&(r[o][1][1]=e.read_shift(4),c.push(r[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[o][0]}return t=s-e.l,t!==0&&c.push(Xr(e,t)),c}function c0(e,t,r){for(var n=e.l+t,s,c,o=[];n!=e.l;)t=n-e.l,c=e[e.l],s=c2[c]||c2[rO[c]],(c===24||c===25)&&(s=(c===24?aO:nO)[e[e.l+1]]),!s||!s.f?Xr(e,t):o.push([s.n,s.f(e,t,r)]);return o}function iO(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],s=[],c=0;c<n.length;++c){var o=n[c];if(o)switch(o[0]){case 2:s.push('"'+o[1].replace(/"/g,'""')+'"');break;default:s.push(o[1])}else s.push("")}t.push(s.join(","))}return t.join(";")}var sO={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function lO(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}function fS(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var s="";if(r.biff>8)switch(e[n[0]][0]){case 357:return s=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?s:s+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return s=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?s:s+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(c){return c.Name}).join(";;");default:return e[n[0]][0][3]?(s=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?s:s+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function o2(e,t,r){var n=fS(e,t,r);return n=="#REF"?n:lO(n,r)}function zr(e,t,r,n,s){var c=s&&s.biff||8,o={s:{c:0,r:0}},u=[],h,d,p,v=0,g=0,S,w="";if(!e[0]||!e[0][0])return"";for(var _=-1,E="",b=0,F=e[0].length;b<F;++b){var k=e[0][b];switch(k[0]){case"PtgUminus":u.push("-"+u.pop());break;case"PtgUplus":u.push("+"+u.pop());break;case"PtgPercent":u.push(u.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(h=u.pop(),d=u.pop(),_>=0){switch(e[0][_][1][0]){case 0:E=tr(" ",e[0][_][1][1]);break;case 1:E=tr("\r",e[0][_][1][1]);break;default:if(E="",s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][_][1][0])}d=d+E,_=-1}u.push(d+sO[k[0]]+h);break;case"PtgIsect":h=u.pop(),d=u.pop(),u.push(d+" "+h);break;case"PtgUnion":h=u.pop(),d=u.pop(),u.push(d+","+h);break;case"PtgRange":h=u.pop(),d=u.pop(),u.push(d+":"+h);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":p=kc(k[1][1],o,s),u.push(Ac(p,c));break;case"PtgRefN":p=r?kc(k[1][1],r,s):k[1][1],u.push(Ac(p,c));break;case"PtgRef3d":v=k[1][1],p=kc(k[1][2],o,s),w=o2(n,v,s),u.push(w+"!"+Ac(p,c));break;case"PtgFunc":case"PtgFuncVar":var U=k[1][0],I=k[1][1];U||(U=0),U&=127;var W=U==0?[]:u.slice(-U);u.length-=U,I==="User"&&(I=W.shift()),u.push(I+"("+W.join(",")+")");break;case"PtgBool":u.push(k[1]?"TRUE":"FALSE");break;case"PtgInt":u.push(k[1]);break;case"PtgNum":u.push(String(k[1]));break;case"PtgStr":u.push('"'+k[1].replace(/"/g,'""')+'"');break;case"PtgErr":u.push(k[1]);break;case"PtgAreaN":S=jg(k[1][1],r?{s:r}:o,s),u.push(rd(S,s));break;case"PtgArea":S=jg(k[1][1],o,s),u.push(rd(S,s));break;case"PtgArea3d":v=k[1][1],S=k[1][2],w=o2(n,v,s),u.push(w+"!"+rd(S,s));break;case"PtgAttrSum":u.push("SUM("+u.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":g=k[1][2];var D=(n.names||[])[g-1]||(n[0]||[])[g],ee=D?D.Name:"SH33TJSNAME"+String(g);ee&&ee.slice(0,6)=="_xlfn."&&!s.xlfn&&(ee=ee.slice(6)),u.push(ee);break;case"PtgNameX":var X=k[1][1];g=k[1][2];var ne;if(s.biff<=5)X<0&&(X=-X),n[X]&&(ne=n[X][g]);else{var re="";if(((n[X]||[])[0]||[])[0]==14849||(((n[X]||[])[0]||[])[0]==1025?n[X][g]&&n[X][g].itab>0&&(re=n.SheetNames[n[X][g].itab-1]+"!"):re=n.SheetNames[g-1]+"!"),n[X]&&n[X][g])re+=n[X][g].Name;else if(n[0]&&n[0][g])re+=n[0][g].Name;else{var Q=(fS(n,X,s)||"").split(";;");Q[g-1]?re=Q[g-1]:re+="SH33TJSERRX"}u.push(re);break}ne||(ne={Name:"SH33TJSERRY"}),u.push(ne.Name);break;case"PtgParen":var me="(",Ce=")";if(_>=0){switch(E="",e[0][_][1][0]){case 2:me=tr(" ",e[0][_][1][1])+me;break;case 3:me=tr("\r",e[0][_][1][1])+me;break;case 4:Ce=tr(" ",e[0][_][1][1])+Ce;break;case 5:Ce=tr("\r",e[0][_][1][1])+Ce;break;default:if(s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][_][1][0])}_=-1}u.push(me+u.pop()+Ce);break;case"PtgRefErr":u.push("#REF!");break;case"PtgRefErr3d":u.push("#REF!");break;case"PtgExp":p={c:k[1][1],r:k[1][0]};var ve={c:r.c,r:r.r};if(n.sharedf[$e(p)]){var Z=n.sharedf[$e(p)];u.push(zr(Z,o,ve,n,s))}else{var ie=!1;for(h=0;h!=n.arrayf.length;++h)if(d=n.arrayf[h],!(p.c<d[0].s.c||p.c>d[0].e.c)&&!(p.r<d[0].s.r||p.r>d[0].e.r)){u.push(zr(d[1],o,ve,n,s)),ie=!0;break}ie||u.push(k[1])}break;case"PtgArray":u.push("{"+iO(k[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":_=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":u.push("");break;case"PtgAreaErr":u.push("#REF!");break;case"PtgAreaErr3d":u.push("#REF!");break;case"PtgList":u.push("Table"+k[1].idx+"[#"+k[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":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");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(k));default:throw new Error("Unrecognized Formula Token: "+String(k))}var Re=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(s.biff!=3&&_>=0&&Re.indexOf(e[0][b][0])==-1){k=e[0][_];var K=!0;switch(k[1][0]){case 4:K=!1;case 0:E=tr(" ",k[1][1]);break;case 5:K=!1;case 1:E=tr("\r",k[1][1]);break;default:if(E="",s.WTF)throw new Error("Unexpected PtgAttrSpaceType "+k[1][0])}u.push((K?E:"")+u.pop()+(K?"":E)),_=-1}}if(u.length>1&&s.WTF)throw new Error("bad formula stack");return u[0]}function cO(e,t,r){var n=e.l+t,s=r.biff==2?1:2,c,o=e.read_shift(s);if(o==65535)return[[],Xr(e,t-2)];var u=c0(e,o,r);return t!==o+s&&(c=l0(e,t-o-s,u,r)),e.l=n,[u,c]}function oO(e,t,r){var n=e.l+t,s=r.biff==2?1:2,c,o=e.read_shift(s);if(o==65535)return[[],Xr(e,t-2)];var u=c0(e,o,r);return t!==o+s&&(c=l0(e,t-o-s,u,r)),e.l=n,[u,c]}function fO(e,t,r,n){var s=e.l+t,c=c0(e,n,r),o;return s!==e.l&&(o=l0(e,s-e.l,c,r)),[c,o]}function uO(e,t,r){var n=e.l+t,s,c=e.read_shift(2),o=c0(e,c,r);return c==65535?[[],Xr(e,t-2)]:(t!==c+2&&(s=l0(e,n-c-2,o,r)),[o,s])}function hO(e){var t;if(Bn(e,e.l+6)!==65535)return[Hr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function dO(e){if(e==null){var t=ye(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return ls(e);return ls(0)}function ld(e,t,r){var n=e.l+t,s=vn(e);r.biff==2&&++e.l;var c=hO(e),o=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var u=oO(e,n-e.l,r);return{cell:s,val:c[0],formula:u,shared:o>>3&1,tt:c[1]}}function xO(e,t,r,n,s){var c=os(t,r,s),o=dO(e.v),u=ye(6),h=33;u.write_shift(2,h),u.write_shift(4,0);for(var d=ye(e.bf.length),p=0;p<e.bf.length;++p)d[p]=e.bf[p];var v=wr([c,o,u,d]);return v}function Cf(e,t,r){var n=e.read_shift(4),s=c0(e,n,r),c=e.read_shift(4),o=c>0?l0(e,c,s,r):null;return[s,o]}var pO=Cf,Ff=Cf,mO=Cf,vO=Cf,gO={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"},uS={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"},yO={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 f2(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function _O(e){var t="of:="+e.replace(F1,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function cd(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function SO(e){return e.replace(/\./,"!")}var Fc={},ol={},Rc=typeof Map<"u";function D1(e,t,r){var n=0,s=e.length;if(r){if(Rc?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var c=Rc?r.get(t):r[t];n<c.length;++n)if(e[c[n]].t===t)return e.Count++,c[n]}}else for(;n<s;++n)if(e[n].t===t)return e.Count++,n;return e[s]={t},e.Count++,e.Unique++,r&&(Rc?(r.has(t)||r.set(t,[]),r.get(t).push(s)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(s))),s}function Rf(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(Pr=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=Xc(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=hf(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function rs(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function ki(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],s=60,c=e.length;if(n==null&&r.ssf){for(;s<392;++s)if(r.ssf[s]==null){jn(t.z,s),r.ssf[s]=t.z,r.revssf[t.z]=n=s;break}}for(s=0;s!=c;++s)if(e[s].numFmtId===n)return s;return e[c]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},c}function hS(e,t,r,n,s,c){try{n.cellNF&&(e.z=Ke[t])}catch(u){if(n.WTF)throw u}if(!(e.t==="z"&&!n.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Wt(e.v)),(!n||n.cellText!==!1)&&e.t!=="z")try{if(Ke[t]==null&&jn(gA[t]||"General",t),e.t==="e")e.w=e.w||Wn[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=jc(e.v);else if(e.t==="d"){var o=yr(e.v);(o|0)===o?e.w=o.toString(10):e.w=jc(o)}else{if(e.v===void 0)return"";e.w=is(e.v,ol)}else e.t==="d"?e.w=Wa(t,yr(e.v),ol):e.w=Wa(t,e.v,ol)}catch(u){if(n.WTF)throw u}if(n.cellStyles&&r!=null)try{e.s=c.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=uf(s.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=s.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=uf(s.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=s.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(u){if(n.WTF&&c.Fills)throw u}}}function EO(e,t,r){if(e&&e["!ref"]){var n=_t(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function wO(e,t){var r=_t(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=at(r))}var TO=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,bO=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,kO=/<(?:\w:)?hyperlink [^>]*>/mg,AO=/"(\w*:\w*)"/,CO=/<(?:\w:)?col\b[^>]*[\/]?>/g,FO=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,RO=/<(?:\w:)?pageMargins[^>]*\/>/g,dS=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,OO=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,DO=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function NO(e,t,r,n,s,c,o){if(!e)return e;n||(n={"!id":{}});var u=t.dense?[]:{},h={s:{r:2e6,c:2e6},e:{r:0,c:0}},d="",p="",v=e.match(bO);v?(d=e.slice(0,v.index),p=e.slice(v.index+v[0].length)):d=p=e;var g=d.match(dS);g?N1(g[0],u,s,r):(g=d.match(OO))&&LO(g[0],g[1]||"",u,s,r);var S=(d.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(S>0){var w=d.slice(S,S+50).match(AO);w&&wO(u,w[1])}var _=d.match(DO);_&&_[1]&&YO(_[1],s);var E=[];if(t.cellStyles){var b=d.match(CO);b&&VO(E,b)}v&&$O(v[1],u,t,h,c,o);var F=p.match(FO);F&&(u["!autofilter"]=XO(F[0]));var k=[],U=p.match(TO);if(U)for(S=0;S!=U.length;++S)k[S]=_t(U[S].slice(U[S].indexOf('"')+1));var I=p.match(kO);I&&zO(u,I,n);var W=p.match(RO);if(W&&(u["!margins"]=PO(Qe(W[0]))),!u["!ref"]&&h.e.c>=h.s.c&&h.e.r>=h.s.r&&(u["!ref"]=at(h)),t.sheetRows>0&&u["!ref"]){var D=_t(u["!ref"]);t.sheetRows<=+D.e.r&&(D.e.r=t.sheetRows-1,D.e.r>h.e.r&&(D.e.r=h.e.r),D.e.r<D.s.r&&(D.s.r=D.e.r),D.e.c>h.e.c&&(D.e.c=h.e.c),D.e.c<D.s.c&&(D.s.c=D.e.c),u["!fullref"]=u["!ref"],u["!ref"]=at(D))}return E.length>0&&(u["!cols"]=E),k.length>0&&(u["!merges"]=k),u}function MO(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+at(e[r])+'"/>';return t+"</mergeCells>"}function N1(e,t,r,n){var s=Qe(e);r.Sheets[n]||(r.Sheets[n]={}),s.codeName&&(r.Sheets[n].CodeName=yt(Lt(s.codeName)))}function LO(e,t,r,n,s){N1(e.slice(0,e.indexOf(">")),r,n,s)}function BO(e,t,r,n,s){var c=!1,o={},u=null;if(n.bookType!=="xlsx"&&t.vbaraw){var h=t.SheetNames[r];try{t.Workbook&&(h=t.Workbook.Sheets[r].CodeName||h)}catch{}c=!0,o.codeName=pn(Rt(h))}if(e&&e["!outline"]){var d={summaryBelow:1,summaryRight:1};e["!outline"].above&&(d.summaryBelow=0),e["!outline"].left&&(d.summaryRight=0),u=(u||"")+Le("outlinePr",null,d)}!c&&!u||(s[s.length]=Le("sheetPr",u,o))}var UO=["objects","scenarios","selectLockedCells","selectUnlockedCells"],jO=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function IO(e){var t={sheet:1};return UO.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),jO.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=k1(e.password).toString(16).toUpperCase()),Le("sheetProtection",null,t)}function zO(e,t,r){for(var n=Array.isArray(e),s=0;s!=t.length;++s){var c=Qe(Lt(t[s]),!0);if(!c.ref)return;var o=((r||{})["!id"]||[])[c.id];o?(c.Target=o.Target,c.location&&(c.Target+="#"+yt(c.location))):(c.Target="#"+yt(c.location),o={Target:c.Target,TargetMode:"Internal"}),c.Rel=o,c.tooltip&&(c.Tooltip=c.tooltip,delete c.tooltip);for(var u=_t(c.ref),h=u.s.r;h<=u.e.r;++h)for(var d=u.s.c;d<=u.e.c;++d){var p=$e({c:d,r:h});n?(e[h]||(e[h]=[]),e[h][d]||(e[h][d]={t:"z",v:void 0}),e[h][d].l=c):(e[p]||(e[p]={t:"z",v:void 0}),e[p].l=c)}}}function PO(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function HO(e){return rs(e),Le("pageMargins",null,e)}function VO(e,t){for(var r=!1,n=0;n!=t.length;++n){var s=Qe(t[n],!0);s.hidden&&(s.hidden=Vt(s.hidden));var c=parseInt(s.min,10)-1,o=parseInt(s.max,10)-1;for(s.outlineLevel&&(s.level=+s.outlineLevel||0),delete s.min,delete s.max,s.width=+s.width,!r&&s.width&&(r=!0,A1(s.width)),Si(s);c<=o;)e[c++]=Xt(s)}}function WO(e,t){for(var r=["<cols>"],n,s=0;s!=t.length;++s)(n=t[s])&&(r[r.length]=Le("col",null,Rf(s,n)));return r[r.length]="</cols>",r.join("")}function XO(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function GO(e,t,r,n){var s=typeof e.ref=="string"?e.ref:at(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var c=r.Workbook.Names,o=la(s);o.s.r==o.e.r&&(o.e.r=la(t["!ref"]).e.r,s=at(o));for(var u=0;u<c.length;++u){var h=c[u];if(h.Name=="_xlnm._FilterDatabase"&&h.Sheet==n){h.Ref="'"+r.SheetNames[n]+"'!"+s;break}}return u==c.length&&c.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+s}),Le("autoFilter",null,{ref:s})}var qO=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function YO(e,t){t.Views||(t.Views=[{}]),(e.match(qO)||[]).forEach(function(r,n){var s=Qe(r);t.Views[n]||(t.Views[n]={}),+s.zoomScale&&(t.Views[n].zoom=+s.zoomScale),Vt(s.rightToLeft)&&(t.Views[n].RTL=!0)})}function KO(e,t,r,n){var s={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(s.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Le("sheetViews",Le("sheetView",null,s),{})}function ZO(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var s="",c=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=Wn[e.v];break;case"d":n&&n.cellDates?s=Wt(e.v,-1).toISOString():(e=Xt(e),e.t="n",s=""+(e.v=yr(Wt(e.v)))),typeof e.z>"u"&&(e.z=Ke[14]);break;default:s=e.v;break}var u=Mr("v",Rt(s)),h={r:t},d=ki(n.cellXfs,e,n);switch(d!==0&&(h.s=d),e.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){u=Mr("v",""+D1(n.Strings,e.v,n.revStrings)),h.t="s";break}h.t="str";break}if(e.t!=c&&(e.t=c,e.v=o),typeof e.f=="string"&&e.f){var p=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;u=Le("f",Rt(e.f),p)+(e.v!=null?u:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(h.cm=1),Le("c",u,h)}var $O=(function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,s=/ref=["']([^"']*)["']/,c=Ic("v"),o=Ic("f");return function(h,d,p,v,g,S){for(var w=0,_="",E=[],b=[],F=0,k=0,U=0,I="",W,D,ee=0,X=0,ne,re,Q=0,me=0,Ce=Array.isArray(S.CellXf),ve,Z=[],ie=[],Re=Array.isArray(d),K=[],Ae={},j=!1,A=!!p.sheetStubs,P=h.split(t),L=0,O=P.length;L!=O;++L){_=P[L].trim();var Y=_.length;if(Y!==0){var de=0;e:for(w=0;w<Y;++w)switch(_[w]){case">":if(_[w-1]!="/"){++w;break e}if(p&&p.cellStyles){if(D=Qe(_.slice(de,w),!0),ee=D.r!=null?parseInt(D.r,10):ee+1,X=-1,p.sheetRows&&p.sheetRows<ee)continue;Ae={},j=!1,D.ht&&(j=!0,Ae.hpt=parseFloat(D.ht),Ae.hpx=xl(Ae.hpt)),D.hidden=="1"&&(j=!0,Ae.hidden=!0),D.outlineLevel!=null&&(j=!0,Ae.level=+D.outlineLevel),j&&(K[ee-1]=Ae)}break;case"<":de=w;break}if(de>=w)break;if(D=Qe(_.slice(de,w),!0),ee=D.r!=null?parseInt(D.r,10):ee+1,X=-1,!(p.sheetRows&&p.sheetRows<ee)){v.s.r>ee-1&&(v.s.r=ee-1),v.e.r<ee-1&&(v.e.r=ee-1),p&&p.cellStyles&&(Ae={},j=!1,D.ht&&(j=!0,Ae.hpt=parseFloat(D.ht),Ae.hpx=xl(Ae.hpt)),D.hidden=="1"&&(j=!0,Ae.hidden=!0),D.outlineLevel!=null&&(j=!0,Ae.level=+D.outlineLevel),j&&(K[ee-1]=Ae)),E=_.slice(w).split(e);for(var ge=0;ge!=E.length&&E[ge].trim().charAt(0)=="<";++ge);for(E=E.slice(ge),w=0;w!=E.length;++w)if(_=E[w].trim(),_.length!==0){if(b=_.match(r),F=w,k=0,U=0,_="<c "+(_.slice(0,1)=="<"?">":"")+_,b!=null&&b.length===2){for(F=0,I=b[1],k=0;k!=I.length&&!((U=I.charCodeAt(k)-64)<1||U>26);++k)F=26*F+U;--F,X=F}else++X;for(k=0;k!=_.length&&_.charCodeAt(k)!==62;++k);if(++k,D=Qe(_.slice(0,k),!0),D.r||(D.r=$e({r:ee-1,c:X})),I=_.slice(k),W={t:""},(b=I.match(c))!=null&&b[1]!==""&&(W.v=yt(b[1])),p.cellFormula){if((b=I.match(o))!=null&&b[1]!==""){if(W.f=yt(Lt(b[1])).replace(/\r\n/g,`
`),p.xlfn||(W.f=s2(W.f)),b[0].indexOf('t="array"')>-1)W.F=(I.match(s)||[])[1],W.F.indexOf(":")>-1&&Z.push([_t(W.F),W.F]);else if(b[0].indexOf('t="shared"')>-1){re=Qe(b[0]);var pe=yt(Lt(b[1]));p.xlfn||(pe=s2(pe)),ie[parseInt(re.si,10)]=[re,pe,D.r]}}else(b=I.match(/<f[^>]*\/>/))&&(re=Qe(b[0]),ie[re.si]&&(W.f=qF(ie[re.si][1],ie[re.si][2],D.r)));var Ee=$t(D.r);for(k=0;k<Z.length;++k)Ee.r>=Z[k][0].s.r&&Ee.r<=Z[k][0].e.r&&Ee.c>=Z[k][0].s.c&&Ee.c<=Z[k][0].e.c&&(W.F=Z[k][1])}if(D.t==null&&W.v===void 0)if(W.f||W.F)W.v=0,W.t="n";else if(A)W.t="z";else continue;else W.t=D.t||"n";switch(v.s.c>X&&(v.s.c=X),v.e.c<X&&(v.e.c=X),W.t){case"n":if(W.v==""||W.v==null){if(!A)continue;W.t="z"}else W.v=parseFloat(W.v);break;case"s":if(typeof W.v>"u"){if(!A)continue;W.t="z"}else ne=Fc[parseInt(W.v,10)],W.v=ne.t,W.r=ne.r,p.cellHTML&&(W.h=ne.h);break;case"str":W.t="s",W.v=W.v!=null?Lt(W.v):"",p.cellHTML&&(W.h=u1(W.v));break;case"inlineStr":b=I.match(n),W.t="s",b!=null&&(ne=b1(b[1]))?(W.v=ne.t,p.cellHTML&&(W.h=ne.h)):W.v="";break;case"b":W.v=Vt(W.v);break;case"d":p.cellDates?W.v=Wt(W.v,1):(W.v=yr(Wt(W.v,1)),W.t="n");break;case"e":(!p||p.cellText!==!1)&&(W.w=W.v),W.v=p_[W.v];break}if(Q=me=0,ve=null,Ce&&D.s!==void 0&&(ve=S.CellXf[D.s],ve!=null&&(ve.numFmtId!=null&&(Q=ve.numFmtId),p.cellStyles&&ve.fillId!=null&&(me=ve.fillId))),hS(W,Q,me,p,g,S),p.cellDates&&Ce&&W.t=="n"&&Sl(Ke[Q])&&(W.t="d",W.v=kf(W.v)),D.cm&&p.xlmeta){var He=(p.xlmeta.Cell||[])[+D.cm-1];He&&He.type=="XLDAPR"&&(W.D=!0)}if(Re){var V=$t(D.r);d[V.r]||(d[V.r]=[]),d[V.r][V.c]=W}else d[D.r]=W}}}}K.length>0&&(d["!rows"]=K)}})();function QO(e,t,r,n){var s=[],c=[],o=_t(e["!ref"]),u="",h,d="",p=[],v=0,g=0,S=e["!rows"],w=Array.isArray(e),_={r:d},E,b=-1;for(g=o.s.c;g<=o.e.c;++g)p[g]=Zt(g);for(v=o.s.r;v<=o.e.r;++v){for(c=[],d=lr(v),g=o.s.c;g<=o.e.c;++g){h=p[g]+d;var F=w?(e[v]||[])[g]:e[h];F!==void 0&&(u=ZO(F,h,e,t))!=null&&c.push(u)}(c.length>0||S&&S[v])&&(_={r:d},S&&S[v]&&(E=S[v],E.hidden&&(_.hidden=1),b=-1,E.hpx?b=Gc(E.hpx):E.hpt&&(b=E.hpt),b>-1&&(_.ht=b,_.customHeight=1),E.level&&(_.outlineLevel=E.level)),s[s.length]=Le("row",c.join(""),_))}if(S)for(;v<S.length;++v)S&&S[v]&&(_={r:v+1},E=S[v],E.hidden&&(_.hidden=1),b=-1,E.hpx?b=Gc(E.hpx):E.hpt&&(b=E.hpt),b>-1&&(_.ht=b,_.customHeight=1),E.level&&(_.outlineLevel=E.level),s[s.length]=Le("row","",_));return s.join("")}function xS(e,t,r,n){var s=[or,Le("worksheet",null,{xmlns:us[0],"xmlns:r":gr.r})],c=r.SheetNames[e],o=0,u="",h=r.Sheets[c];h==null&&(h={});var d=h["!ref"]||"A1",p=_t(d);if(p.e.c>16383||p.e.r>1048575){if(t.WTF)throw new Error("Range "+d+" exceeds format limit A1:XFD1048576");p.e.c=Math.min(p.e.c,16383),p.e.r=Math.min(p.e.c,1048575),d=at(p)}n||(n={}),h["!comments"]=[];var v=[];BO(h,r,e,t,s),s[s.length]=Le("dimension",null,{ref:d}),s[s.length]=KO(h,t,e,r),t.sheetFormat&&(s[s.length]=Le("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),h["!cols"]!=null&&h["!cols"].length>0&&(s[s.length]=WO(h,h["!cols"])),s[o=s.length]="<sheetData/>",h["!links"]=[],h["!ref"]!=null&&(u=QO(h,t),u.length>0&&(s[s.length]=u)),s.length>o+1&&(s[s.length]="</sheetData>",s[o]=s[o].replace("/>",">")),h["!protect"]&&(s[s.length]=IO(h["!protect"])),h["!autofilter"]!=null&&(s[s.length]=GO(h["!autofilter"],h,r,e)),h["!merges"]!=null&&h["!merges"].length>0&&(s[s.length]=MO(h["!merges"]));var g=-1,S,w=-1;return h["!links"].length>0&&(s[s.length]="<hyperlinks>",h["!links"].forEach(function(_){_[1].Target&&(S={ref:_[0]},_[1].Target.charAt(0)!="#"&&(w=Ft(n,-1,Rt(_[1].Target).replace(/#.*$/,""),ut.HLINK),S["r:id"]="rId"+w),(g=_[1].Target.indexOf("#"))>-1&&(S.location=Rt(_[1].Target.slice(g+1))),_[1].Tooltip&&(S.tooltip=Rt(_[1].Tooltip)),s[s.length]=Le("hyperlink",null,S))}),s[s.length]="</hyperlinks>"),delete h["!links"],h["!margins"]!=null&&(s[s.length]=HO(h["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(s[s.length]=Mr("ignoredErrors",Le("ignoredError",null,{numberStoredAsText:1,sqref:d}))),v.length>0&&(w=Ft(n,-1,"../drawings/drawing"+(e+1)+".xml",ut.DRAW),s[s.length]=Le("drawing",null,{"r:id":"rId"+w}),h["!drawing"]=v),h["!comments"].length>0&&(w=Ft(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ut.VML),s[s.length]=Le("legacyDrawing",null,{"r:id":"rId"+w}),h["!legacy"]=w),s.length>1&&(s[s.length]="</worksheet>",s[1]=s[1].replace("/>",">")),s.join("")}function JO(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var s=e.read_shift(2);e.l+=1;var c=e.read_shift(1);return e.l=n,c&7&&(r.level=c&7),c&16&&(r.hidden=!0),c&32&&(r.hpt=s/20),r}function eD(e,t,r){var n=ye(145),s=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var c=320;s.hpx?c=Gc(s.hpx)*20:s.hpt&&(c=s.hpt*20),n.write_shift(2,c),n.write_shift(1,0);var o=0;s.level&&(o|=s.level),s.hidden&&(o|=16),(s.hpx||s.hpt)&&(o|=32),n.write_shift(1,o),n.write_shift(1,0);var u=0,h=n.l;n.l+=4;for(var d={r:e,c:0},p=0;p<16;++p)if(!(t.s.c>p+1<<10||t.e.c<p<<10)){for(var v=-1,g=-1,S=p<<10;S<p+1<<10;++S){d.c=S;var w=Array.isArray(r)?(r[d.r]||[])[d.c]:r[$e(d)];w&&(v<0&&(v=S),g=S)}v<0||(++u,n.write_shift(4,v),n.write_shift(4,g))}var _=n.l;return n.l=h,n.write_shift(4,u),n.l=_,n.length>n.l?n.slice(0,n.l):n}function tD(e,t,r,n){var s=eD(n,r,t);(s.length>17||(t["!rows"]||[])[n])&&ke(e,0,s)}var rD=ps,aD=Tl;function nD(){}function iD(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=c8(e),r}function sD(e,t,r){r==null&&(r=ye(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var s=1;s<3;++s)r.write_shift(1,0);return cf({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),f_(e,r),r.slice(0,r.l)}function lD(e){var t=Xa(e);return[t]}function cD(e,t,r){return r==null&&(r=ye(8)),hs(t,r)}function oD(e){var t=ds(e);return[t]}function fD(e,t,r){return r==null&&(r=ye(4)),xs(t,r)}function uD(e){var t=Xa(e),r=e.read_shift(1);return[t,r,"b"]}function hD(e,t,r){return r==null&&(r=ye(9)),hs(t,r),r.write_shift(1,e.v?1:0),r}function dD(e){var t=ds(e),r=e.read_shift(1);return[t,r,"b"]}function xD(e,t,r){return r==null&&(r=ye(5)),xs(t,r),r.write_shift(1,e.v?1:0),r}function pD(e){var t=Xa(e),r=e.read_shift(1);return[t,r,"e"]}function mD(e,t,r){return r==null&&(r=ye(9)),hs(t,r),r.write_shift(1,e.v),r}function vD(e){var t=ds(e),r=e.read_shift(1);return[t,r,"e"]}function gD(e,t,r){return r==null&&(r=ye(8)),xs(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function yD(e){var t=Xa(e),r=e.read_shift(4);return[t,r,"s"]}function _D(e,t,r){return r==null&&(r=ye(12)),hs(t,r),r.write_shift(4,t.v),r}function SD(e){var t=ds(e),r=e.read_shift(4);return[t,r,"s"]}function ED(e,t,r){return r==null&&(r=ye(8)),xs(t,r),r.write_shift(4,t.v),r}function wD(e){var t=Xa(e),r=Hr(e);return[t,r,"n"]}function TD(e,t,r){return r==null&&(r=ye(16)),hs(t,r),ls(e.v,r),r}function pS(e){var t=ds(e),r=Hr(e);return[t,r,"n"]}function bD(e,t,r){return r==null&&(r=ye(12)),xs(t,r),ls(e.v,r),r}function kD(e){var t=Xa(e),r=_1(e);return[t,r,"n"]}function AD(e,t,r){return r==null&&(r=ye(12)),hs(t,r),u_(e.v,r),r}function CD(e){var t=ds(e),r=_1(e);return[t,r,"n"]}function FD(e,t,r){return r==null&&(r=ye(8)),xs(t,r),u_(e.v,r),r}function RD(e){var t=Xa(e),r=v1(e);return[t,r,"is"]}function OD(e){var t=Xa(e),r=Wr(e);return[t,r,"str"]}function DD(e,t,r){return r==null&&(r=ye(12+4*e.v.length)),hs(t,r),Tr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function ND(e){var t=ds(e),r=Wr(e);return[t,r,"str"]}function MD(e,t,r){return r==null&&(r=ye(8+4*e.v.length)),xs(t,r),Tr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function LD(e,t,r){var n=e.l+t,s=Xa(e);s.r=r["!row"];var c=e.read_shift(1),o=[s,c,"b"];if(r.cellFormula){e.l+=2;var u=Ff(e,n-e.l,r);o[3]=zr(u,null,s,r.supbooks,r)}else e.l=n;return o}function BD(e,t,r){var n=e.l+t,s=Xa(e);s.r=r["!row"];var c=e.read_shift(1),o=[s,c,"e"];if(r.cellFormula){e.l+=2;var u=Ff(e,n-e.l,r);o[3]=zr(u,null,s,r.supbooks,r)}else e.l=n;return o}function UD(e,t,r){var n=e.l+t,s=Xa(e);s.r=r["!row"];var c=Hr(e),o=[s,c,"n"];if(r.cellFormula){e.l+=2;var u=Ff(e,n-e.l,r);o[3]=zr(u,null,s,r.supbooks,r)}else e.l=n;return o}function jD(e,t,r){var n=e.l+t,s=Xa(e);s.r=r["!row"];var c=Wr(e),o=[s,c,"str"];if(r.cellFormula){e.l+=2;var u=Ff(e,n-e.l,r);o[3]=zr(u,null,s,r.supbooks,r)}else e.l=n;return o}var ID=ps,zD=Tl;function PD(e,t){return t==null&&(t=ye(4)),t.write_shift(4,e),t}function HD(e,t){var r=e.l+t,n=ps(e),s=g1(e),c=Wr(e),o=Wr(e),u=Wr(e);e.l=r;var h={rfx:n,relId:s,loc:c,display:u};return o&&(h.Tooltip=o),h}function VD(e,t){var r=ye(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Tl({s:$t(e[0]),e:$t(e[0])},r),y1("rId"+t,r);var n=e[1].Target.indexOf("#"),s=n==-1?"":e[1].Target.slice(n+1);return Tr(s||"",r),Tr(e[1].Tooltip||"",r),Tr("",r),r.slice(0,r.l)}function WD(){}function XD(e,t,r){var n=e.l+t,s=h_(e),c=e.read_shift(1),o=[s];if(o[2]=c,r.cellFormula){var u=pO(e,n-e.l,r);o[1]=u}else e.l=n;return o}function GD(e,t,r){var n=e.l+t,s=ps(e),c=[s];if(r.cellFormula){var o=vO(e,n-e.l,r);c[1]=o,e.l=n}else e.l=n;return c}function qD(e,t,r){r==null&&(r=ye(18));var n=Rf(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var s=0;return t.hidden&&(s|=1),typeof n.width=="number"&&(s|=2),t.level&&(s|=t.level<<8),r.write_shift(2,s),r}var mS=["left","right","top","bottom","header","footer"];function YD(e){var t={};return mS.forEach(function(r){t[r]=Hr(e)}),t}function KD(e,t){return t==null&&(t=ye(48)),rs(e),mS.forEach(function(r){ls(e[r],t)}),t}function ZD(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function $D(e,t,r){r==null&&(r=ye(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function QD(e){var t=ye(24);return t.write_shift(4,4),t.write_shift(4,1),Tl(e,t),t}function JD(e,t){return t==null&&(t=ye(66)),t.write_shift(2,e.password?k1(e.password):0),t.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(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function eN(){}function tN(){}function rN(e,t,r,n,s,c,o){if(!e)return e;var u=t||{};n||(n={"!id":{}});var h=u.dense?[]:{},d,p={s:{r:2e6,c:2e6},e:{r:0,c:0}},v=!1,g=!1,S,w,_,E,b,F,k,U,I,W=[];u.biff=12,u["!row"]=0;var D=0,ee=!1,X=[],ne={},re=u.supbooks||s.supbooks||[[]];if(re.sharedf=ne,re.arrayf=X,re.SheetNames=s.SheetNames||s.Sheets.map(function(Re){return Re.name}),!u.supbooks&&(u.supbooks=re,s.Names))for(var Q=0;Q<s.Names.length;++Q)re[0][Q+1]=s.Names[Q];var me=[],Ce=[],ve=!1;qc[16]={n:"BrtShortReal",f:pS};var Z;if(Vn(e,function(K,Ae,j){if(!g)switch(j){case 148:d=K;break;case 0:S=K,u.sheetRows&&u.sheetRows<=S.r&&(g=!0),U=lr(E=S.r),u["!row"]=S.r,(K.hidden||K.hpt||K.level!=null)&&(K.hpt&&(K.hpx=xl(K.hpt)),Ce[K.r]=K);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(w={t:K[2]},K[2]){case"n":w.v=K[1];break;case"s":k=Fc[K[1]],w.v=k.t,w.r=k.r;break;case"b":w.v=!!K[1];break;case"e":w.v=K[1],u.cellText!==!1&&(w.w=Wn[w.v]);break;case"str":w.t="s",w.v=K[1];break;case"is":w.t="s",w.v=K[1].t;break}if((_=o.CellXf[K[0].iStyleRef])&&hS(w,_.numFmtId,null,u,c,o),b=K[0].c==-1?b+1:K[0].c,u.dense?(h[E]||(h[E]=[]),h[E][b]=w):h[Zt(b)+U]=w,u.cellFormula){for(ee=!1,D=0;D<X.length;++D){var A=X[D];S.r>=A[0].s.r&&S.r<=A[0].e.r&&b>=A[0].s.c&&b<=A[0].e.c&&(w.F=at(A[0]),ee=!0)}!ee&&K.length>3&&(w.f=K[3])}if(p.s.r>S.r&&(p.s.r=S.r),p.s.c>b&&(p.s.c=b),p.e.r<S.r&&(p.e.r=S.r),p.e.c<b&&(p.e.c=b),u.cellDates&&_&&w.t=="n"&&Sl(Ke[_.numFmtId])){var P=Ki(w.v);P&&(w.t="d",w.v=new Date(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u))}Z&&(Z.type=="XLDAPR"&&(w.D=!0),Z=void 0);break;case 1:case 12:if(!u.sheetStubs||v)break;w={t:"z",v:void 0},b=K[0].c==-1?b+1:K[0].c,u.dense?(h[E]||(h[E]=[]),h[E][b]=w):h[Zt(b)+U]=w,p.s.r>S.r&&(p.s.r=S.r),p.s.c>b&&(p.s.c=b),p.e.r<S.r&&(p.e.r=S.r),p.e.c<b&&(p.e.c=b),Z&&(Z.type=="XLDAPR"&&(w.D=!0),Z=void 0);break;case 176:W.push(K);break;case 49:Z=((u.xlmeta||{}).Cell||[])[K-1];break;case 494:var L=n["!id"][K.relId];for(L?(K.Target=L.Target,K.loc&&(K.Target+="#"+K.loc),K.Rel=L):K.relId==""&&(K.Target="#"+K.loc),E=K.rfx.s.r;E<=K.rfx.e.r;++E)for(b=K.rfx.s.c;b<=K.rfx.e.c;++b)u.dense?(h[E]||(h[E]=[]),h[E][b]||(h[E][b]={t:"z",v:void 0}),h[E][b].l=K):(F=$e({c:b,r:E}),h[F]||(h[F]={t:"z",v:void 0}),h[F].l=K);break;case 426:if(!u.cellFormula)break;X.push(K),I=u.dense?h[E][b]:h[Zt(b)+U],I.f=zr(K[1],p,{r:S.r,c:b},re,u),I.F=at(K[0]);break;case 427:if(!u.cellFormula)break;ne[$e(K[0].s)]=K[1],I=u.dense?h[E][b]:h[Zt(b)+U],I.f=zr(K[1],p,{r:S.r,c:b},re,u);break;case 60:if(!u.cellStyles)break;for(;K.e>=K.s;)me[K.e--]={width:K.w/256,hidden:!!(K.flags&1),level:K.level},ve||(ve=!0,A1(K.w/256)),Si(me[K.e+1]);break;case 161:h["!autofilter"]={ref:at(K)};break;case 476:h["!margins"]=K;break;case 147:s.Sheets[r]||(s.Sheets[r]={}),K.name&&(s.Sheets[r].CodeName=K.name),(K.above||K.left)&&(h["!outline"]={above:K.above,left:K.left});break;case 137:s.Views||(s.Views=[{}]),s.Views[0]||(s.Views[0]={}),K.RTL&&(s.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:v=!0;break;case 36:v=!1;break;case 37:v=!0;break;case 38:v=!1;break;default:if(!Ae.T){if(!v||u.WTF)throw new Error("Unexpected record 0x"+j.toString(16))}}},u),delete u.supbooks,delete u["!row"],!h["!ref"]&&(p.s.r<2e6||d&&(d.e.r>0||d.e.c>0||d.s.r>0||d.s.c>0))&&(h["!ref"]=at(d||p)),u.sheetRows&&h["!ref"]){var ie=_t(h["!ref"]);u.sheetRows<=+ie.e.r&&(ie.e.r=u.sheetRows-1,ie.e.r>p.e.r&&(ie.e.r=p.e.r),ie.e.r<ie.s.r&&(ie.s.r=ie.e.r),ie.e.c>p.e.c&&(ie.e.c=p.e.c),ie.e.c<ie.s.c&&(ie.s.c=ie.e.c),h["!fullref"]=h["!ref"],h["!ref"]=at(ie))}return W.length>0&&(h["!merges"]=W),me.length>0&&(h["!cols"]=me),Ce.length>0&&(h["!rows"]=Ce),h}function aN(e,t,r,n,s,c,o){if(t.v===void 0)return!1;var u="";switch(t.t){case"b":u=t.v?"1":"0";break;case"d":t=Xt(t),t.z=t.z||Ke[14],t.v=yr(Wt(t.v)),t.t="n";break;case"n":case"e":u=""+t.v;break;default:u=t.v;break}var h={r,c:n};switch(h.s=ki(s.cellXfs,t,s),t.l&&c["!links"].push([$e(h),t.l]),t.c&&c["!comments"].push([$e(h),t.c]),t.t){case"s":case"str":return s.bookSST?(u=D1(s.Strings,t.v,s.revStrings),h.t="s",h.v=u,o?ke(e,18,ED(t,h)):ke(e,7,_D(t,h))):(h.t="str",o?ke(e,17,MD(t,h)):ke(e,6,DD(t,h))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?o?ke(e,13,FD(t,h)):ke(e,2,AD(t,h)):o?ke(e,16,bD(t,h)):ke(e,5,TD(t,h)),!0;case"b":return h.t="b",o?ke(e,15,xD(t,h)):ke(e,4,hD(t,h)),!0;case"e":return h.t="e",o?ke(e,14,gD(t,h)):ke(e,3,mD(t,h)),!0}return o?ke(e,12,fD(t,h)):ke(e,1,cD(t,h)),!0}function nN(e,t,r,n){var s=_t(t["!ref"]||"A1"),c,o="",u=[];ke(e,145);var h=Array.isArray(t),d=s.e.r;t["!rows"]&&(d=Math.max(s.e.r,t["!rows"].length-1));for(var p=s.s.r;p<=d;++p){o=lr(p),tD(e,t,s,p);var v=!1;if(p<=s.e.r)for(var g=s.s.c;g<=s.e.c;++g){p===s.s.r&&(u[g]=Zt(g)),c=u[g]+o;var S=h?(t[p]||[])[g]:t[c];if(!S){v=!1;continue}v=aN(e,S,p,g,n,t,v)}}ke(e,146)}function iN(e,t){!t||!t["!merges"]||(ke(e,177,PD(t["!merges"].length)),t["!merges"].forEach(function(r){ke(e,176,zD(r))}),ke(e,178))}function sN(e,t){!t||!t["!cols"]||(ke(e,390),t["!cols"].forEach(function(r,n){r&&ke(e,60,qD(n,r))}),ke(e,391))}function lN(e,t){!t||!t["!ref"]||(ke(e,648),ke(e,649,QD(_t(t["!ref"]))),ke(e,650))}function cN(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var s=Ft(r,-1,n[1].Target.replace(/#.*$/,""),ut.HLINK);ke(e,494,VD(n,s))}}),delete t["!links"]}function oN(e,t,r,n){if(t["!comments"].length>0){var s=Ft(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",ut.VML);ke(e,551,y1("rId"+s)),t["!legacy"]=s}}function fN(e,t,r,n){if(t["!autofilter"]){var s=t["!autofilter"],c=typeof s.ref=="string"?s.ref:at(s.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,u=la(c);u.s.r==u.e.r&&(u.e.r=la(t["!ref"]).e.r,c=at(u));for(var h=0;h<o.length;++h){var d=o[h];if(d.Name=="_xlnm._FilterDatabase"&&d.Sheet==n){d.Ref="'"+r.SheetNames[n]+"'!"+c;break}}h==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+c}),ke(e,161,Tl(_t(c))),ke(e,162)}}function uN(e,t,r){ke(e,133),ke(e,137,$D(t,r)),ke(e,138),ke(e,134)}function hN(e,t){t["!protect"]&&ke(e,535,JD(t["!protect"]))}function dN(e,t,r,n){var s=sa(),c=r.SheetNames[e],o=r.Sheets[c]||{},u=c;try{r&&r.Workbook&&(u=r.Workbook.Sheets[e].CodeName||u)}catch{}var h=_t(o["!ref"]||"A1");if(h.e.c>16383||h.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");h.e.c=Math.min(h.e.c,16383),h.e.r=Math.min(h.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],ke(s,129),(r.vbaraw||o["!outline"])&&ke(s,147,sD(u,o["!outline"])),ke(s,148,aD(h)),uN(s,o,r.Workbook),sN(s,o),nN(s,o,e,t),hN(s,o),fN(s,o,r,e),iN(s,o),cN(s,o,n),o["!margins"]&&ke(s,476,KD(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&lN(s,o),oN(s,o,e,n),ke(s,130),s.end()}function xN(e){var t=[],r=e.match(/^<c:numCache>/),n;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/mg)||[]).forEach(function(c){var o=c.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);o&&(t[+o[1]]=r?+o[2]:o[2])});var s=yt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/mg)||[]).forEach(function(c){n=c.replace(/<.*?>/g,"")}),[t,s,n]}function pN(e,t,r,n,s,c){var o=c||{"!type":"chart"};if(!e)return c;var u=0,h=0,d="A",p={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(v){var g=xN(v);p.s.r=p.s.c=0,p.e.c=u,d=Zt(u),g[0].forEach(function(S,w){o[d+lr(w)]={t:"n",v:S,z:g[1]},h=w}),p.e.r<h&&(p.e.r=h),++u}),u>0&&(o["!ref"]=at(p)),o}function mN(e,t,r,n,s){if(!e)return e;n||(n={"!id":{}});var c={"!type":"chart","!drawel":null,"!rel":""},o,u=e.match(dS);return u&&N1(u[0],c,s,r),(o=e.match(/drawing r:id="(.*?)"/))&&(c["!rel"]=o[1]),n["!id"][c["!rel"]]&&(c["!drawel"]=n["!id"][c["!rel"]]),c}function vN(e,t){e.l+=10;var r=Wr(e);return{name:r}}function gN(e,t,r,n,s){if(!e)return e;n||(n={"!id":{}});var c={"!type":"chart","!drawel":null,"!rel":""},o=!1;return Vn(e,function(h,d,p){switch(p){case 550:c["!rel"]=h;break;case 651:s.Sheets[r]||(s.Sheets[r]={}),h.name&&(s.Sheets[r].CodeName=h.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(!(d.T>0)){if(!(d.T<0)){if(!o||t.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}}}},t),n["!id"][c["!rel"]]&&(c["!drawel"]=n["!id"][c["!rel"]]),c}var M1=[["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"]],yN=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],_N=[],SN=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function u2(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],s=0;s!=t.length;++s){var c=t[s];if(n[c[0]]==null)n[c[0]]=c[1];else switch(c[2]){case"bool":typeof n[c[0]]=="string"&&(n[c[0]]=Vt(n[c[0]]));break;case"int":typeof n[c[0]]=="string"&&(n[c[0]]=parseInt(n[c[0]],10));break}}}function h2(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(e[n[0]]==null)e[n[0]]=n[1];else switch(n[2]){case"bool":typeof e[n[0]]=="string"&&(e[n[0]]=Vt(e[n[0]]));break;case"int":typeof e[n[0]]=="string"&&(e[n[0]]=parseInt(e[n[0]],10));break}}}function vS(e){h2(e.WBProps,M1),h2(e.CalcPr,SN),u2(e.WBView,yN),u2(e.Sheets,_N),ol.date1904=Vt(e.WBProps.date1904)}function EN(e){return!e.Workbook||!e.Workbook.WBProps?"false":Vt(e.Workbook.WBProps.date1904)?"true":"false"}var wN="][*?/\\".split("");function gS(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return wN.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function TN(e,t,r){e.forEach(function(n,s){gS(n);for(var c=0;c<s;++c)if(n==e[c])throw new Error("Duplicate Sheet Name: "+n);if(r){var o=t&&t[s]&&t[s].CodeName||n;if(o.charCodeAt(0)==95&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}})}function bN(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];TN(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)EO(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var kN=/<\w+:workbook/;function AN(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,s="xmlns",c={},o=0;if(e.replace(Gr,function(h,d){var p=Qe(h);switch(mn(p[0])){case"<?xml":break;case"<workbook":h.match(kN)&&(s="xmlns"+h.match(/<(\w+):/)[1]),r.xmlns=p[s];break;case"</workbook>":break;case"<fileVersion":delete p[0],r.AppVersion=p;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":M1.forEach(function(v){if(p[v[0]]!=null)switch(v[2]){case"bool":r.WBProps[v[0]]=Vt(p[v[0]]);break;case"int":r.WBProps[v[0]]=parseInt(p[v[0]],10);break;default:r.WBProps[v[0]]=p[v[0]]}}),p.codeName&&(r.WBProps.CodeName=Lt(p.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete p[0],r.WBView.push(p);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(p.state){case"hidden":p.Hidden=1;break;case"veryHidden":p.Hidden=2;break;default:p.Hidden=0}delete p.state,p.name=yt(Lt(p.name)),delete p[0],r.Sheets.push(p);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":c={},c.Name=Lt(p.name),p.comment&&(c.Comment=p.comment),p.localSheetId&&(c.Sheet=+p.localSheetId),Vt(p.hidden||"0")&&(c.Hidden=!0),o=d+h.length;break;case"</definedName>":c.Ref=yt(Lt(e.slice(o,d))),r.Names.push(c);break;case"<definedName/>":break;case"<calcPr":delete p[0],r.CalcPr=p;break;case"<calcPr/>":delete p[0],r.CalcPr=p;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&t.WTF)throw new Error("unrecognized "+p[0]+" in workbook")}return h}),us.indexOf(r.xmlns)===-1)throw new Error("Unknown Namespace: "+r.xmlns);return vS(r),r}function yS(e){var t=[or];t[t.length]=Le("workbook",null,{xmlns:us[0],"xmlns:r":gr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(M1.forEach(function(u){e.Workbook.WBProps[u[0]]!=null&&e.Workbook.WBProps[u[0]]!=u[1]&&(n[u[0]]=e.Workbook.WBProps[u[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Le("workbookPr",null,n);var s=e.Workbook&&e.Workbook.Sheets||[],c=0;if(s&&s[0]&&s[0].Hidden){for(t[t.length]="<bookViews>",c=0;c!=e.SheetNames.length&&!(!s[c]||!s[c].Hidden);++c);c==e.SheetNames.length&&(c=0),t[t.length]='<workbookView firstSheet="'+c+'" activeTab="'+c+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",c=0;c!=e.SheetNames.length;++c){var o={name:Rt(e.SheetNames[c].slice(0,31))};if(o.sheetId=""+(c+1),o["r:id"]="rId"+(c+1),s[c])switch(s[c].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden";break}t[t.length]=Le("sheet",null,o)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(u){var h={name:u.Name};u.Comment&&(h.comment=u.Comment),u.Sheet!=null&&(h.localSheetId=""+u.Sheet),u.Hidden&&(h.hidden="1"),u.Ref&&(t[t.length]=Le("definedName",Rt(u.Ref),h))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function CN(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Ad(e),r.name=Wr(e),r}function FN(e,t){return t||(t=ye(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),y1(e.strRelID,t),Tr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function RN(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var s=t>8?Wr(e):"";return s.length>0&&(r.CodeName=s),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function ON(e,t){t||(t=ye(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),f_(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function DN(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function NN(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var s=e.read_shift(4),c=o8(e),o=mO(e,0,r),u=g1(e);e.l=n;var h={Name:c,Ptg:o};return s<268435455&&(h.Sheet=s),u&&(h.Comment=u),h}function MN(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],s=!1;t||(t={}),t.biff=12;var c=[],o=[[]];return o.SheetNames=[],o.XTI=[],qc[16]={n:"BrtFRTArchID$",f:DN},Vn(e,function(h,d,p){switch(p){case 156:o.SheetNames.push(h.name),r.Sheets.push(h);break;case 153:r.WBProps=h;break;case 39:h.Sheet!=null&&(t.SID=h.Sheet),h.Ref=zr(h.Ptg,null,null,o,t),delete t.SID,delete h.Ptg,c.push(h);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([p,h]):o[0]=[p,h],o[o.length-1].XTI=[];break;case 362:o.length===0&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(h),o.XTI=o.XTI.concat(h);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(p),s=!0;break;case 36:n.pop(),s=!1;break;case 37:n.push(p),s=!0;break;case 38:n.pop(),s=!1;break;case 16:break;default:if(!d.T){if(!s||t.WTF&&n[n.length-1]!=37&&n[n.length-1]!=35)throw new Error("Unexpected record 0x"+p.toString(16))}}},t),vS(r),r.Names=c,r.supbooks=o,r}function LN(e,t){ke(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,s={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};ke(e,156,FN(s))}ke(e,144)}function BN(e,t){t||(t=ye(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Tr("SheetJS",t),Tr(ef.version,t),Tr(ef.version,t),Tr("7262",t),t.length>t.l?t.slice(0,t.l):t}function UN(e,t){t||(t=ye(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function jN(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,s=-1,c=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&s==-1?s=n:r[n].Hidden==1&&c==-1&&(c=n);c>s||(ke(e,135),ke(e,158,UN(s)),ke(e,136))}}function IN(e,t){var r=sa();return ke(r,131),ke(r,128,BN()),ke(r,153,ON(e.Workbook&&e.Workbook.WBProps||null)),jN(r,e),LN(r,e),ke(r,132),r.end()}function zN(e,t,r){return t.slice(-4)===".bin"?MN(e,r):AN(e,r)}function PN(e,t,r,n,s,c,o,u){return t.slice(-4)===".bin"?rN(e,n,r,s,c,o,u):NO(e,n,r,s,c,o,u)}function HN(e,t,r,n,s,c,o,u){return t.slice(-4)===".bin"?gN(e,n,r,s,c):mN(e,n,r,s,c)}function VN(e,t,r,n,s,c,o,u){return t.slice(-4)===".bin"?XF():GF()}function WN(e,t,r,n,s,c,o,u){return t.slice(-4)===".bin"?VF():WF()}function XN(e,t,r,n){return t.slice(-4)===".bin"?zC(e,r,n):CC(e,r,n)}function GN(e,t,r){return J_(e,r)}function qN(e,t,r){return t.slice(-4)===".bin"?q6(e,r):W6(e,r)}function YN(e,t,r){return t.slice(-4)===".bin"?jF(e,r):FF(e,r)}function KN(e,t,r){return t.slice(-4)===".bin"?kF(e):TF(e)}function ZN(e,t,r,n){return r.slice(-4)===".bin"?AF(e,t,r,n):void 0}function $N(e,t,r){return t.slice(-4)===".bin"?SF(e,t,r):wF(e,t,r)}function QN(e,t,r){return(t.slice(-4)===".bin"?IN:yS)(e)}function JN(e,t,r,n,s){return(t.slice(-4)===".bin"?dN:xS)(e,r,n,s)}function e7(e,t,r){return(t.slice(-4)===".bin"?ZC:$_)(e,r)}function t7(e,t,r){return(t.slice(-4)===".bin"?Z6:V_)(e,r)}function r7(e,t,r){return(t.slice(-4)===".bin"?IF:rS)(e)}function a7(e){return(e.slice(-4)===".bin"?EF:eS)()}var _S=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,SS=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Ka(e,t){var r=e.split(/\s+/),n=[];if(n[0]=r[0],r.length===1)return n;var s=e.match(_S),c,o,u,h;if(s)for(h=0;h!=s.length;++h)c=s[h].match(SS),(o=c[1].indexOf(":"))===-1?n[c[1]]=c[2].slice(1,c[2].length-1):(c[1].slice(0,6)==="xmlns:"?u="xmlns"+c[1].slice(6):u=c[1].slice(o+1),n[u]=c[2].slice(1,c[2].length-1));return n}function n7(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var n=e.match(_S),s,c,o,u;if(n)for(u=0;u!=n.length;++u)s=n[u].match(SS),(c=s[1].indexOf(":"))===-1?r[s[1]]=s[2].slice(1,s[2].length-1):(s[1].slice(0,6)==="xmlns:"?o="xmlns"+s[1].slice(6):o=s[1].slice(c+1),r[o]=s[2].slice(1,s[2].length-1));return r}var Oc;function i7(e,t){var r=Oc[e]||yt(e);return r==="General"?is(t):Wa(r,t)}function s7(e,t,r,n){var s=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":s=Vt(n);break;case"i2":case"int":s=parseInt(n,10);break;case"r4":case"float":s=parseFloat(n);break;case"date":case"dateTime.tz":s=Wt(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[yt(t)]=s}function l7(e,t,r){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||Wn[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=jc(e.v):e.w=is(e.v):e.w=i7(t||"General",e.v)}catch(c){if(r.WTF)throw c}try{var n=Oc[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&e.t=="n"&&Sl(n)){var s=Ki(e.v);s&&(e.t="d",e.v=new Date(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}catch(c){if(r.WTF)throw c}}}function c7(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=_C[n.Pattern]||n.Pattern)}e[t.ID]=t}function o7(e,t,r,n,s,c,o,u,h,d){var p="General",v=n.StyleID,g={};d=d||{};var S=[],w=0;for(v===void 0&&u&&(v=u.StyleID),v===void 0&&o&&(v=o.StyleID);c[v]!==void 0&&(c[v].nf&&(p=c[v].nf),c[v].Interior&&S.push(c[v].Interior),!!c[v].Parent);)v=c[v].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Vt(e);break;case"String":n.t="s",n.r=Fg(yt(e)),n.v=e.indexOf("<")>-1?yt(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),n.v=(Wt(e)-new Date(Date.UTC(1899,11,30)))/(1440*60*1e3),n.v!==n.v?n.v=yt(e):n.v<60&&(n.v=n.v-1),(!p||p=="General")&&(p="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=p_[e],d.cellText!==!1&&(n.w=e);break;default:e==""&&t==""?n.t="z":(n.t="s",n.v=Fg(t||e));break}if(l7(n,p,d),d.cellFormula!==!1)if(n.Formula){var _=yt(n.Formula);_.charCodeAt(0)==61&&(_=_.slice(1)),n.f=cl(_,s),delete n.Formula,n.ArrayRange=="RC"?n.F=cl("RC:RC",s):n.ArrayRange&&(n.F=cl(n.ArrayRange,s),h.push([_t(n.F),n.F]))}else for(w=0;w<h.length;++w)s.r>=h[w][0].s.r&&s.r<=h[w][0].e.r&&s.c>=h[w][0].s.c&&s.c<=h[w][0].e.c&&(n.F=h[w][1]);d.cellStyles&&(S.forEach(function(E){!g.patternType&&E.patternType&&(g.patternType=E.patternType)}),n.s=g),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function f7(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,`
`).replace(/\r/g,`
`),e.v=e.w=e.ixfe=void 0}function od(e,t){var r=t||{};El();var n=Ec(h1(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=Lt(n));var s=n.slice(0,1024).toLowerCase(),c=!1;if(s=s.replace(/".*?"/g,""),(s.indexOf(">")&1023)>Math.min(s.indexOf(",")&1023,s.indexOf(";")&1023)){var o=Xt(r);return o.type="string",dl.to_workbook(n,o)}if(s.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(vt){s.indexOf("<"+vt)>=0&&(c=!0)}),c)return K7(n,r);Oc={"General Number":"General","General Date":Ke[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Ke[15],"Short Date":Ke[14],"Long Time":Ke[19],"Medium Time":Ke[18],"Short Time":Ke[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Ke[2],Standard:Ke[4],Percent:Ke[10],Scientific:Ke[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var u,h=[],d,p={},v=[],g=r.dense?[]:{},S="",w={},_={},E=Ka('<Data ss:Type="String">'),b=0,F=0,k=0,U={s:{r:2e6,c:2e6},e:{r:0,c:0}},I={},W={},D="",ee=0,X=[],ne={},re={},Q=0,me=[],Ce=[],ve={},Z=[],ie,Re=!1,K=[],Ae=[],j={},A=0,P=0,L={Sheets:[],WBProps:{date1904:!1}},O={};Pc.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/mg,"");for(var Y="";u=Pc.exec(n);)switch(u[3]=(Y=u[3]).toLowerCase()){case"data":if(Y=="data"){if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else u[0].charAt(u[0].length-2)!=="/"&&h.push([u[3],!0]);break}if(h[h.length-1][1])break;u[1]==="/"?o7(n.slice(b,u.index),D,E,h[h.length-1][0]=="comment"?ve:w,{c:F,r:k},I,Z[F],_,K,r):(D="",E=Ka(u[0]),b=u.index+u[0].length);break;case"cell":if(u[1]==="/")if(Ce.length>0&&(w.c=Ce),(!r.sheetRows||r.sheetRows>k)&&w.v!==void 0&&(r.dense?(g[k]||(g[k]=[]),g[k][F]=w):g[Zt(F)+lr(k)]=w),w.HRef&&(w.l={Target:yt(w.HRef)},w.HRefScreenTip&&(w.l.Tooltip=w.HRefScreenTip),delete w.HRef,delete w.HRefScreenTip),(w.MergeAcross||w.MergeDown)&&(A=F+(parseInt(w.MergeAcross,10)|0),P=k+(parseInt(w.MergeDown,10)|0),X.push({s:{c:F,r:k},e:{c:A,r:P}})),!r.sheetStubs)w.MergeAcross?F=A+1:++F;else if(w.MergeAcross||w.MergeDown){for(var de=F;de<=A;++de)for(var ge=k;ge<=P;++ge)(de>F||ge>k)&&(r.dense?(g[ge]||(g[ge]=[]),g[ge][de]={t:"z"}):g[Zt(de)+lr(ge)]={t:"z"});F=A+1}else++F;else w=n7(u[0]),w.Index&&(F=+w.Index-1),F<U.s.c&&(U.s.c=F),F>U.e.c&&(U.e.c=F),u[0].slice(-2)==="/>"&&++F,Ce=[];break;case"row":u[1]==="/"||u[0].slice(-2)==="/>"?(k<U.s.r&&(U.s.r=k),k>U.e.r&&(U.e.r=k),u[0].slice(-2)==="/>"&&(_=Ka(u[0]),_.Index&&(k=+_.Index-1)),F=0,++k):(_=Ka(u[0]),_.Index&&(k=+_.Index-1),j={},(_.AutoFitHeight=="0"||_.Height)&&(j.hpx=parseInt(_.Height,10),j.hpt=Gc(j.hpx),Ae[k]=j),_.Hidden=="1"&&(j.hidden=!0,Ae[k]=j));break;case"worksheet":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"));v.push(S),U.s.r<=U.e.r&&U.s.c<=U.e.c&&(g["!ref"]=at(U),r.sheetRows&&r.sheetRows<=U.e.r&&(g["!fullref"]=g["!ref"],U.e.r=r.sheetRows-1,g["!ref"]=at(U))),X.length&&(g["!merges"]=X),Z.length>0&&(g["!cols"]=Z),Ae.length>0&&(g["!rows"]=Ae),p[S]=g}else U={s:{r:2e6,c:2e6},e:{r:0,c:0}},k=F=0,h.push([u[3],!1]),d=Ka(u[0]),S=yt(d.Name),g=r.dense?[]:{},X=[],K=[],Ae=[],O={name:S,Hidden:0},L.Sheets.push(O);break;case"table":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else{if(u[0].slice(-2)=="/>")break;h.push([u[3],!1]),Z=[],Re=!1}break;case"style":u[1]==="/"?c7(I,W,r):W=Ka(u[0]);break;case"numberformat":W.nf=yt(Ka(u[0]).Format||"General"),Oc[W.nf]&&(W.nf=Oc[W.nf]);for(var pe=0;pe!=392&&Ke[pe]!=W.nf;++pe);if(pe==392){for(pe=57;pe!=392;++pe)if(Ke[pe]==null){jn(W.nf,pe);break}}break;case"column":if(h[h.length-1][0]!=="table")break;if(ie=Ka(u[0]),ie.Hidden&&(ie.hidden=!0,delete ie.Hidden),ie.Width&&(ie.wpx=parseInt(ie.Width,10)),!Re&&ie.wpx>10){Re=!0,Pr=K_;for(var Ee=0;Ee<Z.length;++Ee)Z[Ee]&&Si(Z[Ee])}Re&&Si(ie),Z[ie.Index-1||Z.length]=ie;for(var He=0;He<+ie.Span;++He)Z[Z.length]=Xt(ie);break;case"namedrange":if(u[1]==="/")break;L.Names||(L.Names=[]);var V=Qe(u[0]),ft={Name:V.Name,Ref:cl(V.RefersTo.slice(1),{r:0,c:0})};L.Sheets.length>0&&(ft.Sheet=L.Sheets.length-1),L.Names.push(ft);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(u[0].slice(-2)==="/>")break;u[1]==="/"?D+=n.slice(ee,u.index):ee=u.index+u[0].length;break;case"interior":if(!r.cellStyles)break;W.Interior=Ka(u[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(u[0].slice(-2)==="/>")break;u[1]==="/"?M8(ne,Y,n.slice(Q,u.index)):Q=u.index+u[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else h.push([u[3],!1]);break;case"comment":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"));f7(ve),Ce.push(ve)}else h.push([u[3],!1]),d=Ka(u[0]),ve={a:d.Author};break;case"autofilter":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else if(u[0].charAt(u[0].length-2)!=="/"){var qe=Ka(u[0]);g["!autofilter"]={ref:cl(qe.Range).replace(/\$/g,"")},h.push([u[3],!0])}break;case"name":break;case"datavalidation":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else u[0].charAt(u[0].length-2)!=="/"&&h.push([u[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(u[1]==="/"){if((d=h.pop())[0]!==u[3])throw new Error("Bad state: "+d.join("|"))}else u[0].charAt(u[0].length-2)!=="/"&&h.push([u[3],!0]);break;case"null":break;default:if(h.length==0&&u[3]=="document"||h.length==0&&u[3]=="uof")return v2(n,r);var tt=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(u[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:tt=!1}break;case"componentoptions":switch(u[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:tt=!1}break;case"excelworkbook":switch(u[3]){case"date1904":L.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:tt=!1}break;case"workbookoptions":switch(u[3]){case"owcversion":break;case"height":break;case"width":break;default:tt=!1}break;case"worksheetoptions":switch(u[3]){case"visible":if(u[0].slice(-2)!=="/>")if(u[1]==="/")switch(n.slice(Q,u.index)){case"SheetHidden":O.Hidden=1;break;case"SheetVeryHidden":O.Hidden=2;break}else Q=u.index+u[0].length;break;case"header":g["!margins"]||rs(g["!margins"]={},"xlml"),isNaN(+Qe(u[0]).Margin)||(g["!margins"].header=+Qe(u[0]).Margin);break;case"footer":g["!margins"]||rs(g["!margins"]={},"xlml"),isNaN(+Qe(u[0]).Margin)||(g["!margins"].footer=+Qe(u[0]).Margin);break;case"pagemargins":var Ne=Qe(u[0]);g["!margins"]||rs(g["!margins"]={},"xlml"),isNaN(+Ne.Top)||(g["!margins"].top=+Ne.Top),isNaN(+Ne.Left)||(g["!margins"].left=+Ne.Left),isNaN(+Ne.Right)||(g["!margins"].right=+Ne.Right),isNaN(+Ne.Bottom)||(g["!margins"].bottom=+Ne.Bottom);break;case"displayrighttoleft":L.Views||(L.Views=[]),L.Views[0]||(L.Views[0]={}),L.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":g["!outline"]||(g["!outline"]={}),g["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":g["!outline"]||(g["!outline"]={}),g["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:tt=!1}break;case"pivottable":case"pivotcache":switch(u[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:tt=!1}break;case"pagebreaks":switch(u[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:tt=!1}break;case"autofilter":switch(u[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:tt=!1}break;case"querytable":switch(u[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:tt=!1}break;case"datavalidation":switch(u[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:tt=!1}break;case"sorting":case"conditionalformatting":switch(u[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:tt=!1}break;case"mapinfo":case"schema":case"data":switch(u[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:tt=!1}break;case"smarttags":break;default:tt=!1;break}if(tt||u[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+u[3]+"|"+h.join("|");if(h[h.length-1][0]==="customdocumentproperties"){if(u[0].slice(-2)==="/>")break;u[1]==="/"?s7(re,Y,me,n.slice(Q,u.index)):(me=u,Q=u.index+u[0].length);break}if(r.WTF)throw"Unrecognized tag: "+u[3]+"|"+h.join("|")}var De={};return!r.bookSheets&&!r.bookProps&&(De.Sheets=p),De.SheetNames=v,De.Workbook=L,De.SSF=Xt(Ke),De.Props=ne,De.Custprops=re,De}function Md(e,t){switch(B1(t=t||{}),t.type||"base64"){case"base64":return od(Sa(e),t);case"binary":case"buffer":case"file":return od(e,t);case"array":return od(Ti(e),t)}}function u7(e,t){var r=[];return e.Props&&r.push(L8(e.Props,t)),e.Custprops&&r.push(B8(e.Props,e.Custprops)),r.join("")}function h7(){return""}function d7(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,s){var c=[];c.push(Le("NumberFormat",null,{"ss:Format":Rt(Ke[n.numFmtId])}));var o={"ss:ID":"s"+(21+s)};r.push(Le("Style",c.join(""),o))}),Le("Styles",r.join(""))}function ES(e){return Le("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+R1(e.Ref,{r:0,c:0})})}function x7(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var s=t[n];s.Sheet==null&&(s.Name.match(/^_xlfn\./)||r.push(ES(s)))}return Le("Names",r.join(""))}function p7(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var s=n.Workbook.Names,c=[],o=0;o<s.length;++o){var u=s[o];u.Sheet==r&&(u.Name.match(/^_xlfn\./)||c.push(ES(u)))}return c.join("")}function m7(e,t,r,n){if(!e)return"";var s=[];if(e["!margins"]&&(s.push("<PageSetup>"),e["!margins"].header&&s.push(Le("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&s.push(Le("Footer",null,{"x:Margin":e["!margins"].footer})),s.push(Le("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"})),s.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)s.push(Le("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var c=0;c<r&&!(n.Workbook.Sheets[c]&&!n.Workbook.Sheets[c].Hidden);++c);c==r&&s.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&s.push("<DisplayRightToLeft/>"),e["!protect"]&&(s.push(Mr("ProtectContents","True")),e["!protect"].objects&&s.push(Mr("ProtectObjects","True")),e["!protect"].scenarios&&s.push(Mr("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?s.push(Mr("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&s.push(Mr("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(o){e["!protect"][o[0]]&&s.push("<"+o[1]+"/>")})),s.length==0?"":Le("WorksheetOptions",s.join(""),{xmlns:va.x})}function v7(e){return e.map(function(t){var r=jA(t.t||""),n=Le("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Le("Comment",n,{"ss:Author":t.a})}).join("")}function g7(e,t,r,n,s,c,o){if(!e||e.v==null&&e.f==null)return"";var u={};if(e.f&&(u["ss:Formula"]="="+Rt(R1(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var h=$t(e.F.slice(t.length+1));u["ss:ArrayRange"]="RC:R"+(h.r==o.r?"":"["+(h.r-o.r)+"]")+"C"+(h.c==o.c?"":"["+(h.c-o.c)+"]")}if(e.l&&e.l.Target&&(u["ss:HRef"]=Rt(e.l.Target),e.l.Tooltip&&(u["x:HRefScreenTip"]=Rt(e.l.Tooltip))),r["!merges"])for(var d=r["!merges"],p=0;p!=d.length;++p)d[p].s.c!=o.c||d[p].s.r!=o.r||(d[p].e.c>d[p].s.c&&(u["ss:MergeAcross"]=d[p].e.c-d[p].s.c),d[p].e.r>d[p].s.r&&(u["ss:MergeDown"]=d[p].e.r-d[p].s.r));var v="",g="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":v="Number",g=String(e.v);break;case"b":v="Boolean",g=e.v?"1":"0";break;case"e":v="Error",g=Wn[e.v];break;case"d":v="DateTime",g=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Ke[14]);break;case"s":v="String",g=UA(e.v||"");break}var S=ki(n.cellXfs,e,n);u["ss:StyleID"]="s"+(21+S),u["ss:Index"]=o.c+1;var w=e.v!=null?g:"",_=e.t=="z"?"":'<Data ss:Type="'+v+'">'+w+"</Data>";return(e.c||[]).length>0&&(_+=v7(e.c)),Le("Cell",_,u)}function y7(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=xl(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function _7(e,t,r,n){if(!e["!ref"])return"";var s=_t(e["!ref"]),c=e["!merges"]||[],o=0,u=[];e["!cols"]&&e["!cols"].forEach(function(E,b){Si(E);var F=!!E.width,k=Rf(b,E),U={"ss:Index":b+1};F&&(U["ss:Width"]=Wc(k.width)),E.hidden&&(U["ss:Hidden"]="1"),u.push(Le("Column",null,U))});for(var h=Array.isArray(e),d=s.s.r;d<=s.e.r;++d){for(var p=[y7(d,(e["!rows"]||[])[d])],v=s.s.c;v<=s.e.c;++v){var g=!1;for(o=0;o!=c.length;++o)if(!(c[o].s.c>v)&&!(c[o].s.r>d)&&!(c[o].e.c<v)&&!(c[o].e.r<d)){(c[o].s.c!=v||c[o].s.r!=d)&&(g=!0);break}if(!g){var S={r:d,c:v},w=$e(S),_=h?(e[d]||[])[v]:e[w];p.push(g7(_,w,e,t,r,n,S))}}p.push("</Row>"),p.length>2&&u.push(p.join(""))}return u.join("")}function S7(e,t,r){var n=[],s=r.SheetNames[e],c=r.Sheets[s],o=c?p7(c,t,e,r):"";return o.length>0&&n.push("<Names>"+o+"</Names>"),o=c?_7(c,t,e,r):"",o.length>0&&n.push("<Table>"+o+"</Table>"),n.push(m7(c,t,e,r)),n.join("")}function E7(e,t){t||(t={}),e.SSF||(e.SSF=Xt(Ke)),e.SSF&&(El(),wf(e.SSF),t.revssf=bf(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],ki(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(u7(e,t)),r.push(h7()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Le("Worksheet",S7(n,t,e),{"ss:Name":Rt(e.SheetNames[n])}));return r[2]=d7(e,t),r[3]=x7(e),or+Le("Workbook",r.join(""),{xmlns:va.ss,"xmlns:o":va.o,"xmlns:x":va.x,"xmlns:ss":va.ss,"xmlns:dt":va.dt,"xmlns:html":va.html})}function w7(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=x8(r),r.length-r.l<=4)return t;var n=r.read_shift(4);if(n==0||n>40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(n=r.read_shift(4),n!==1907505652)||(t.UnicodeClipboardFormat=p8(r),n=r.read_shift(4),n==0||n>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var T7=[60,1084,2066,2165,2175];function b7(e,t,r,n,s){var c=n,o=[],u=r.slice(r.l,r.l+c);if(s&&s.enc&&s.enc.insitu&&u.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:s.enc.insitu(u)}o.push(u),r.l+=c;for(var h=Bn(r,r.l),d=Ld[h],p=0;d!=null&&T7.indexOf(h)>-1;)c=Bn(r,r.l+2),p=r.l+4,h==2066?p+=4:(h==2165||h==2175)&&(p+=12),u=r.slice(p,r.l+4+c),o.push(u),r.l+=4+c,d=Ld[h=Bn(r,r.l)];var v=wr(o);Or(v,0);var g=0;v.lens=[];for(var S=0;S<o.length;++S)v.lens.push(g),g+=o[S].length;if(v.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+v.length+" < "+n;return t.f(v,v.length,s)}function un(e,t,r){if(e.t!=="z"&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=Ke[n])}catch(c){if(t.WTF)throw c}if(!t||t.cellText!==!1)try{e.t==="e"?e.w=e.w||Wn[e.v]:n===0||n=="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=jc(e.v):e.w=is(e.v):e.w=Wa(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(c){if(t.WTF)throw c}if(t.cellDates&&n&&e.t=="n"&&Sl(Ke[n]||String(n))){var s=Ki(e.v);s&&(e.t="d",e.v=new Date(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}}function jo(e,t,r){return{v:e,ixfe:t,t:r}}function k7(e,t){var r={opts:{}},n={},s=t.dense?[]:{},c={},o={},u=null,h=[],d="",p={},v,g="",S,w,_,E,b={},F=[],k,U,I=[],W=[],D={Sheets:[],WBProps:{date1904:!1},Views:[{}]},ee={},X=function(ze){return ze<8?Ji[ze]:ze<64&&W[ze-8]||Ji[ze]},ne=function(ze,nt,Ot){var lt=nt.XF.data;if(!(!lt||!lt.patternType||!Ot||!Ot.cellStyles)){nt.s={},nt.s.patternType=lt.patternType;var zt;(zt=Vc(X(lt.icvFore)))&&(nt.s.fgColor={rgb:zt}),(zt=Vc(X(lt.icvBack)))&&(nt.s.bgColor={rgb:zt})}},re=function(ze,nt,Ot){if(!(j>1)&&!(Ot.sheetRows&&ze.r>=Ot.sheetRows)){if(Ot.cellStyles&&nt.XF&&nt.XF.data&&ne(ze,nt,Ot),delete nt.ixfe,delete nt.XF,v=ze,g=$e(ze),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),ze.r<o.s.r&&(o.s.r=ze.r),ze.c<o.s.c&&(o.s.c=ze.c),ze.r+1>o.e.r&&(o.e.r=ze.r+1),ze.c+1>o.e.c&&(o.e.c=ze.c+1),Ot.cellFormula&&nt.f){for(var lt=0;lt<F.length;++lt)if(!(F[lt][0].s.c>ze.c||F[lt][0].s.r>ze.r)&&!(F[lt][0].e.c<ze.c||F[lt][0].e.r<ze.r)){nt.F=at(F[lt][0]),(F[lt][0].s.c!=ze.c||F[lt][0].s.r!=ze.r)&&delete nt.f,nt.f&&(nt.f=""+zr(F[lt][1],o,ze,K,Q));break}}Ot.dense?(s[ze.r]||(s[ze.r]=[]),s[ze.r][ze.c]=nt):s[g]=nt}},Q={enc:!1,sbcch:0,snames:[],sharedf:b,arrayf:F,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(Q.password=t.password);var me,Ce=[],ve=[],Z=[],ie=[],Re=!1,K=[];K.SheetNames=Q.snames,K.sharedf=Q.sharedf,K.arrayf=Q.arrayf,K.names=[],K.XTI=[];var Ae=0,j=0,A=0,P=[],L=[],O;Q.codepage=1200,Za(1200);for(var Y=!1;e.l<e.length-1;){var de=e.l,ge=e.read_shift(2);if(ge===0&&Ae===10)break;var pe=e.l===e.length?0:e.read_shift(2),Ee=Ld[ge];if(Ee&&Ee.f){if(t.bookSheets&&Ae===133&&ge!==133)break;if(Ae=ge,Ee.r===2||Ee.r==12){var He=e.read_shift(2);if(pe-=2,!Q.enc&&He!==ge&&((He&255)<<8|He>>8)!==ge)throw new Error("rt mismatch: "+He+"!="+ge);Ee.r==12&&(e.l+=10,pe-=10)}var V={};if(ge===10?V=Ee.f(e,pe,Q):V=b7(ge,Ee,e,pe,Q),j==0&&[9,521,1033,2057].indexOf(Ae)===-1)continue;switch(ge){case 34:r.opts.Date1904=D.WBProps.date1904=V;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(Q.enc||(e.l=0),Q.enc=V,!t.password)throw new Error("File is password-protected");if(V.valid==null)throw new Error("Encryption scheme unsupported");if(!V.valid)throw new Error("Password is incorrect");break;case 92:Q.lastuser=V;break;case 66:var ft=Number(V);switch(ft){case 21010:ft=1200;break;case 32768:ft=1e4;break;case 32769:ft=1252;break}Za(Q.codepage=ft),Y=!0;break;case 317:Q.rrtabid=V;break;case 25:Q.winlocked=V;break;case 439:r.opts.RefreshAll=V;break;case 12:r.opts.CalcCount=V;break;case 16:r.opts.CalcDelta=V;break;case 17:r.opts.CalcIter=V;break;case 13:r.opts.CalcMode=V;break;case 14:r.opts.CalcPrecision=V;break;case 95:r.opts.CalcSaveRecalc=V;break;case 15:Q.CalcRefMode=V;break;case 2211:r.opts.FullCalc=V;break;case 129:V.fDialog&&(s["!type"]="dialog"),V.fBelow||((s["!outline"]||(s["!outline"]={})).above=!0),V.fRight||((s["!outline"]||(s["!outline"]={})).left=!0);break;case 224:I.push(V);break;case 430:K.push([V]),K[K.length-1].XTI=[];break;case 35:case 547:K[K.length-1].push(V);break;case 24:case 536:O={Name:V.Name,Ref:zr(V.rgce,o,null,K,Q)},V.itab>0&&(O.Sheet=V.itab-1),K.names.push(O),K[0]||(K[0]=[],K[0].XTI=[]),K[K.length-1].push(V),V.Name=="_xlnm._FilterDatabase"&&V.itab>0&&V.rgce&&V.rgce[0]&&V.rgce[0][0]&&V.rgce[0][0][0]=="PtgArea3d"&&(L[V.itab-1]={ref:at(V.rgce[0][0][1][2])});break;case 22:Q.ExternCount=V;break;case 23:K.length==0&&(K[0]=[],K[0].XTI=[]),K[K.length-1].XTI=K[K.length-1].XTI.concat(V),K.XTI=K.XTI.concat(V);break;case 2196:if(Q.biff<8)break;O!=null&&(O.Comment=V[1]);break;case 18:s["!protect"]=V;break;case 19:V!==0&&Q.WTF&&console.error("Password verifier: "+V);break;case 133:c[V.pos]=V,Q.snames.push(V.name);break;case 10:{if(--j)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,s["!ref"]=at(o),t.sheetRows&&t.sheetRows<=o.e.r){var qe=o.e.r;o.e.r=t.sheetRows-1,s["!fullref"]=s["!ref"],s["!ref"]=at(o),o.e.r=qe}o.e.r++,o.e.c++}Ce.length>0&&(s["!merges"]=Ce),ve.length>0&&(s["!objects"]=ve),Z.length>0&&(s["!cols"]=Z),ie.length>0&&(s["!rows"]=ie),D.Sheets.push(ee)}d===""?p=s:n[d]=s,s=t.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(Q.biff===8&&(Q.biff={9:2,521:3,1033:4}[ge]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[V.BIFFVer]||8),Q.biffguess=V.BIFFVer==0,V.BIFFVer==0&&V.dt==4096&&(Q.biff=5,Y=!0,Za(Q.codepage=28591)),Q.biff==8&&V.BIFFVer==0&&V.dt==16&&(Q.biff=2),j++)break;if(s=t.dense?[]:{},Q.biff<8&&!Y&&(Y=!0,Za(Q.codepage=t.codepage||1252)),Q.biff<5||V.BIFFVer==0&&V.dt==4096){d===""&&(d="Sheet1"),o={s:{r:0,c:0},e:{r:0,c:0}};var tt={pos:e.l-pe,name:d};c[tt.pos]=tt,Q.snames.push(d)}else d=(c[de]||{name:""}).name;V.dt==32&&(s["!type"]="chart"),V.dt==64&&(s["!type"]="macro"),Ce=[],ve=[],Q.arrayf=F=[],Z=[],ie=[],Re=!1,ee={Hidden:(c[de]||{hs:0}).hs,name:d}}break;case 515:case 3:case 2:s["!type"]=="chart"&&(t.dense?(s[V.r]||[])[V.c]:s[$e({c:V.c,r:V.r})])&&++V.c,k={ixfe:V.ixfe,XF:I[V.ixfe]||{},v:V.val,t:"n"},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t);break;case 5:case 517:k={ixfe:V.ixfe,XF:I[V.ixfe],v:V.val,t:V.t},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t);break;case 638:k={ixfe:V.ixfe,XF:I[V.ixfe],v:V.rknum,t:"n"},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t);break;case 189:for(var Ne=V.c;Ne<=V.C;++Ne){var De=V.rkrec[Ne-V.c][0];k={ixfe:De,XF:I[De],v:V.rkrec[Ne-V.c][1],t:"n"},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:Ne,r:V.r},k,t)}break;case 6:case 518:case 1030:{if(V.val=="String"){u=V;break}if(k=jo(V.val,V.cell.ixfe,V.tt),k.XF=I[k.ixfe],t.cellFormula){var vt=V.formula;if(vt&&vt[0]&&vt[0][0]&&vt[0][0][0]=="PtgExp"){var Bt=vt[0][0][1][0],Qt=vt[0][0][1][1],br=$e({r:Bt,c:Qt});b[br]?k.f=""+zr(V.formula,o,V.cell,K,Q):k.F=((t.dense?(s[Bt]||[])[Qt]:s[br])||{}).F}else k.f=""+zr(V.formula,o,V.cell,K,Q)}A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re(V.cell,k,t),u=V}break;case 7:case 519:if(u)u.val=V,k=jo(V,u.cell.ixfe,"s"),k.XF=I[k.ixfe],t.cellFormula&&(k.f=""+zr(u.formula,o,u.cell,K,Q)),A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re(u.cell,k,t),u=null;else throw new Error("String record expects Formula");break;case 33:case 545:{F.push(V);var Lr=$e(V[0].s);if(S=t.dense?(s[V[0].s.r]||[])[V[0].s.c]:s[Lr],t.cellFormula&&S){if(!u||!Lr||!S)break;S.f=""+zr(V[1],o,V[0],K,Q),S.F=at(V[0])}}break;case 1212:{if(!t.cellFormula)break;if(g){if(!u)break;b[$e(u.cell)]=V[0],S=t.dense?(s[u.cell.r]||[])[u.cell.c]:s[$e(u.cell)],(S||{}).f=""+zr(V[0],o,v,K,Q)}}break;case 253:k=jo(h[V.isst].t,V.ixfe,"s"),h[V.isst].h&&(k.h=h[V.isst].h),k.XF=I[k.ixfe],A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t);break;case 513:t.sheetStubs&&(k={ixfe:V.ixfe,XF:I[V.ixfe],t:"z"},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t));break;case 190:if(t.sheetStubs)for(var ca=V.c;ca<=V.C;++ca){var bt=V.ixfe[ca-V.c];k={ixfe:bt,XF:I[bt],t:"z"},A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:ca,r:V.r},k,t)}break;case 214:case 516:case 4:k=jo(V.val,V.ixfe,"s"),k.XF=I[k.ixfe],A>0&&(k.z=P[k.ixfe>>8&63]),un(k,t,r.opts.Date1904),re({c:V.c,r:V.r},k,t);break;case 0:case 512:j===1&&(o=V);break;case 252:h=V;break;case 1054:if(Q.biff==4){P[A++]=V[1];for(var oa=0;oa<A+163&&Ke[oa]!=V[1];++oa);oa>=163&&jn(V[1],A+163)}else jn(V[1],V[0]);break;case 30:{P[A++]=V;for(var be=0;be<A+163&&Ke[be]!=V;++be);be>=163&&jn(V,A+163)}break;case 229:Ce=Ce.concat(V);break;case 93:ve[V.cmo[0]]=Q.lastobj=V;break;case 438:Q.lastobj.TxO=V;break;case 127:Q.lastobj.ImData=V;break;case 440:for(E=V[0].s.r;E<=V[0].e.r;++E)for(_=V[0].s.c;_<=V[0].e.c;++_)S=t.dense?(s[E]||[])[_]:s[$e({c:_,r:E})],S&&(S.l=V[1]);break;case 2048:for(E=V[0].s.r;E<=V[0].e.r;++E)for(_=V[0].s.c;_<=V[0].e.c;++_)S=t.dense?(s[E]||[])[_]:s[$e({c:_,r:E})],S&&S.l&&(S.l.Tooltip=V[1]);break;case 28:{if(Q.biff<=5&&Q.biff>=2)break;S=t.dense?(s[V[0].r]||[])[V[0].c]:s[$e(V[0])];var Ze=ve[V[2]];S||(t.dense?(s[V[0].r]||(s[V[0].r]=[]),S=s[V[0].r][V[0].c]={t:"z"}):S=s[$e(V[0])]={t:"z"},o.e.r=Math.max(o.e.r,V[0].r),o.s.r=Math.min(o.s.r,V[0].r),o.e.c=Math.max(o.e.c,V[0].c),o.s.c=Math.min(o.s.c,V[0].c)),S.c||(S.c=[]),w={a:V[1],t:Ze.TxO.t},S.c.push(w)}break;case 2173:dF(I[V.ixfe],V.ext);break;case 125:{if(!Q.cellStyles)break;for(;V.e>=V.s;)Z[V.e--]={width:V.w/256,level:V.level||0,hidden:!!(V.flags&1)},Re||(Re=!0,A1(V.w/256)),Si(Z[V.e+1])}break;case 520:{var Je={};V.level!=null&&(ie[V.r]=Je,Je.level=V.level),V.hidden&&(ie[V.r]=Je,Je.hidden=!0),V.hpt&&(ie[V.r]=Je,Je.hpt=V.hpt,Je.hpx=xl(V.hpt))}break;case 38:case 39:case 40:case 41:s["!margins"]||rs(s["!margins"]={}),s["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[ge]]=V;break;case 161:s["!margins"]||rs(s["!margins"]={}),s["!margins"].header=V.header,s["!margins"].footer=V.footer;break;case 574:V.RTL&&(D.Views[0].RTL=!0);break;case 146:W=V;break;case 2198:me=V;break;case 140:U=V;break;case 442:d?ee.CodeName=V||ee.name:D.WBProps.CodeName=V||"ThisWorkbook";break}}else Ee||console.error("Missing Info for XLS Record 0x"+ge.toString(16)),e.l+=pe}return r.SheetNames=ar(c).sort(function(ct,ze){return Number(ct)-Number(ze)}).map(function(ct){return c[ct].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&p["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=p)):r.Preamble=p,r.Sheets&&L.forEach(function(ct,ze){r.Sheets[r.SheetNames[ze]]["!autofilter"]=ct}),r.Strings=h,r.SSF=Xt(Ke),Q.enc&&(r.Encryption=Q.enc),me&&(r.Themes=me),r.Metadata={},U!==void 0&&(r.Metadata.Country=U),K.names.length>0&&(D.Names=K.names),r.Workbook=D,r}var Dc={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function A7(e,t,r){var n=Ge.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var s=qg(n,Cd,Dc.DSI);for(var c in s)t[c]=s[c]}catch(d){if(r.WTF)throw d}var o=Ge.find(e,"/!SummaryInformation");if(o&&o.size>0)try{var u=qg(o,Fd,Dc.SI);for(var h in u)t[h]==null&&(t[h]=u[h])}catch(d){if(r.WTF)throw d}t.HeadingPairs&&t.TitlesOfParts&&(S_(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function C7(e,t){var r=[],n=[],s=[],c=0,o,u=wg(Cd,"n"),h=wg(Fd,"n");if(e.Props)for(o=ar(e.Props),c=0;c<o.length;++c)(Object.prototype.hasOwnProperty.call(u,o[c])?r:Object.prototype.hasOwnProperty.call(h,o[c])?n:s).push([o[c],e.Props[o[c]]]);if(e.Custprops)for(o=ar(e.Custprops),c=0;c<o.length;++c)Object.prototype.hasOwnProperty.call(e.Props||{},o[c])||(Object.prototype.hasOwnProperty.call(u,o[c])?r:Object.prototype.hasOwnProperty.call(h,o[c])?n:s).push([o[c],e.Custprops[o[c]]]);var d=[];for(c=0;c<s.length;++c)C_.indexOf(s[c][0])>-1||__.indexOf(s[c][0])>-1||s[c][1]!=null&&d.push(s[c]);n.length&&Ge.utils.cfb_add(t,"/SummaryInformation",Yg(n,Dc.SI,h,Fd)),(r.length||d.length)&&Ge.utils.cfb_add(t,"/DocumentSummaryInformation",Yg(r,Dc.DSI,u,Cd,d.length?d:null,Dc.UDI))}function wS(e,t){t||(t={}),B1(t),a1(),t.codepage&&r1(t.codepage);var r,n;if(e.FullPaths){if(Ge.find(e,"/encryption"))throw new Error("File is password-protected");r=Ge.find(e,"!CompObj"),n=Ge.find(e,"/Workbook")||Ge.find(e,"/Book")}else{switch(t.type){case"base64":e=ya(Sa(e));break;case"binary":e=ya(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}Or(e,0),n={content:e}}var s,c;if(r&&w7(r),t.bookProps&&!t.bookSheets)s={};else{var o=ot?"buffer":"array";if(n&&n.content)s=k7(n.content,t);else if((c=Ge.find(e,"PerfectOffice_MAIN"))&&c.content)s=ts.to_workbook(c.content,(t.type=o,t));else if((c=Ge.find(e,"NativeContent_MAIN"))&&c.content)s=ts.to_workbook(c.content,(t.type=o,t));else throw(c=Ge.find(e,"MN0"))&&c.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&Ge.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(s.vbaraw=PF(e))}var u={};return e.FullPaths&&A7(e,u,t),s.Props=s.Custprops=u,t.bookFiles&&(s.cfb=e),s}function F7(e,t){var r=t||{},n=Ge.utils.cfb_new({root:"R"}),s="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":s="/Workbook",r.biff=8;break;case"biff5":s="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Ge.utils.cfb_add(n,s,TS(e,r)),r.biff==8&&(e.Props||e.Custprops)&&C7(e,n),r.biff==8&&e.vbaraw&&HF(n,Ge.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var qc={0:{f:JO},1:{f:lD},2:{f:kD},3:{f:pD},4:{f:uD},5:{f:wD},6:{f:OD},7:{f:yD},8:{f:jD},9:{f:UD},10:{f:LD},11:{f:BD},12:{f:oD},13:{f:CD},14:{f:vD},15:{f:dD},16:{f:pS},17:{f:ND},18:{f:SD},19:{f:v1},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:NN},40:{},42:{},43:{f:OC},44:{f:FC},45:{f:MC},46:{f:BC},47:{f:LC},48:{},49:{f:r8},50:{},51:{f:mF},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:I_},62:{f:RD},63:{f:bF},64:{f:eN},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Xr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:ZD},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:iD},148:{f:rD,p:16},151:{f:WD},152:{},153:{f:RN},154:{},155:{},156:{f:CN},157:{},158:{},159:{T:1,f:G6},160:{T:-1},161:{T:1,f:ps},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:ID},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:xF},336:{T:-1},337:{f:yF,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:Ad},357:{},358:{},359:{},360:{T:1},361:{},362:{f:j_},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:XD},427:{f:GD},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:YD},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:nD},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:HD},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:Ad},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:BF},633:{T:1},634:{T:-1},635:{T:1,f:MF},636:{T:-1},637:{f:s8},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:vN},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:tN},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:""}},Ld={6:{f:ld},10:{f:pi},12:{f:mr},13:{f:mr},14:{f:sr},15:{f:sr},16:{f:Hr},17:{f:sr},18:{f:sr},19:{f:mr},20:{f:e2},21:{f:e2},23:{f:j_},24:{f:r2},25:{f:sr},26:{},27:{},28:{f:t6},29:{},34:{f:sr},35:{f:t2},38:{f:Hr},39:{f:Hr},40:{f:Hr},41:{f:Hr},42:{f:sr},43:{f:sr},47:{f:dC},49:{f:C5},51:{f:mr},60:{},61:{f:w5},64:{f:sr},65:{f:A5},66:{f:mr},77:{},80:{},81:{},82:{},85:{f:mr},89:{},90:{},91:{},92:{f:h5},93:{f:n6},94:{},95:{f:sr},96:{},97:{},99:{f:sr},125:{f:I_},128:{f:V5},129:{f:x5},130:{f:mr},131:{f:sr},132:{f:sr},133:{f:p5},134:{},140:{f:h6},141:{f:mr},144:{},146:{f:p6},151:{},152:{},153:{},154:{},155:{},156:{f:mr},157:{},158:{},160:{f:E6},161:{f:g6},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:I5},190:{f:z5},193:{f:pi},197:{},198:{},199:{},200:{},201:{},202:{f:sr},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:mr},220:{},221:{f:sr},222:{},224:{f:H5},225:{f:u5},226:{f:pi},227:{},229:{f:r6},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:v5},253:{f:R5},255:{f:y5},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:F_},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:sr},353:{f:pi},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Y5},431:{f:sr},432:{},433:{},434:{},437:{},438:{f:l6},439:{f:sr},440:{f:c6},441:{},442:{f:i0},443:{},444:{f:mr},445:{},446:{},448:{f:pi},449:{f:E5,r:2},450:{f:pi},512:{f:$g},513:{f:S6},515:{f:G5},516:{f:D5},517:{f:Jg},519:{f:w6},520:{f:_5},523:{},545:{f:a2},549:{f:Zg},566:{},574:{f:b5},638:{f:j5},659:{},1048:{},1054:{f:M5},1084:{},1212:{f:Q5},2048:{f:f6},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Lo},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:pi},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:m6,r:12},2173:{f:hF,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:sr,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:$5,r:12},2197:{},2198:{f:sF,r:12},2199:{},2200:{},2201:{},2202:{f:J5,r:12},2203:{f:pi},2204:{},2205:{},2206:{},2207:{},2211:{f:S5},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:mr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:y6},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:x6},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:$g},1:{},2:{f:C6},3:{f:k6},4:{f:b6},5:{f:Jg},7:{f:R6},8:{},9:{f:Lo},11:{},22:{f:mr},30:{f:B5},31:{},32:{},33:{f:a2},36:{},37:{f:Zg},50:{f:O6},62:{},52:{},67:{},68:{f:mr},69:{},86:{},126:{},127:{f:T6},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:D6},223:{},234:{},354:{},421:{},518:{f:ld},521:{f:Lo},536:{f:r2},547:{f:t2},561:{},579:{},1030:{f:ld},1033:{f:Lo},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Be(e,t,r,n){var s=t;if(!isNaN(s)){var c=n||(r||[]).length||0,o=e.next(4);o.write_shift(2,s),o.write_shift(2,c),c>0&&x1(r)&&e.push(r)}}function R7(e,t,r,n){var s=(r||[]).length||0;if(s<=8224)return Be(e,t,r,s);var c=t;if(!isNaN(c)){for(var o=r.parts||[],u=0,h=0,d=0;d+(o[u]||8224)<=8224;)d+=o[u]||8224,u++;var p=e.next(4);for(p.write_shift(2,c),p.write_shift(2,d),e.push(r.slice(h,h+d)),h+=d;h<s;){for(p=e.next(4),p.write_shift(2,60),d=0;d+(o[u]||8224)<=8224;)d+=o[u]||8224,u++;p.write_shift(2,d),e.push(r.slice(h,h+d)),h+=d}}}function o0(e,t,r){return e||(e=ye(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function O7(e,t,r,n){var s=ye(9);return o0(s,e,t),R_(r,n||"b",s),s}function D7(e,t,r){var n=ye(8+2*r.length);return o0(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function N7(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var s=t.t=="d"?yr(Wt(t.v)):t.v;s==(s|0)&&s>=0&&s<65536?Be(e,2,F6(r,n,s)):Be(e,3,A6(r,n,s));return;case"b":case"e":Be(e,5,O7(r,n,t.v,t.t));return;case"s":case"str":Be(e,4,D7(r,n,(t.v||"").slice(0,255)));return}Be(e,1,o0(null,r,n))}function M7(e,t,r,n){var s=Array.isArray(t),c=_t(t["!ref"]||"A1"),o,u="",h=[];if(c.e.c>255||c.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");c.e.c=Math.min(c.e.c,255),c.e.r=Math.min(c.e.c,16383),o=at(c)}for(var d=c.s.r;d<=c.e.r;++d){u=lr(d);for(var p=c.s.c;p<=c.e.c;++p){d===c.s.r&&(h[p]=Zt(p)),o=h[p]+u;var v=s?(t[d]||[])[p]:t[o];v&&N7(e,v,d,p)}}}function L7(e,t){for(var r=t||{},n=sa(),s=0,c=0;c<e.SheetNames.length;++c)e.SheetNames[c]==r.sheet&&(s=c);if(s==0&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return Be(n,r.biff==4?1033:r.biff==3?521:9,T1(e,16,r)),M7(n,e.Sheets[e.SheetNames[s]],s,r),Be(n,10),n.end()}function B7(e,t,r){Be(e,49,F5({sz:12,name:"Arial"},r))}function U7(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var s=n[0];s<=n[1];++s)t[s]!=null&&Be(e,1054,L5(s,t[s],r))})}function j7(e,t){var r=ye(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),Be(e,2151,r),r=ye(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),L_(_t(t["!ref"]||"A1"),r),r.write_shift(4,4),Be(e,2152,r)}function I7(e,t){for(var r=0;r<16;++r)Be(e,224,Qg({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){Be(e,224,Qg(n,0,t))})}function z7(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];Be(e,440,o6(n)),n[1].Tooltip&&Be(e,2048,u6(n))}delete t["!links"]}function P7(e,t){if(t){var r=0;t.forEach(function(n,s){++r<=256&&n&&Be(e,125,v6(Rf(s,n),s))})}}function H7(e,t,r,n,s){var c=16+ki(s.cellXfs,t,s);if(t.v==null&&!t.bf){Be(e,513,os(r,n,c));return}if(t.bf)Be(e,6,xO(t,r,n,s,c));else switch(t.t){case"d":case"n":var o=t.t=="d"?yr(Wt(t.v)):t.v;Be(e,515,q5(r,n,o,c));break;case"b":case"e":Be(e,517,X5(r,n,t.v,c,s,t.t));break;case"s":case"str":if(s.bookSST){var u=D1(s.Strings,t.v,s.revStrings);Be(e,253,O5(r,n,u,c))}else Be(e,516,N5(r,n,(t.v||"").slice(0,255),c,s));break;default:Be(e,513,os(r,n,c))}}function V7(e,t,r){var n=sa(),s=r.SheetNames[e],c=r.Sheets[s]||{},o=(r||{}).Workbook||{},u=(o.Sheets||[])[e]||{},h=Array.isArray(c),d=t.biff==8,p,v="",g=[],S=_t(c["!ref"]||"A1"),w=d?65536:16384;if(S.e.c>255||S.e.r>=w){if(t.WTF)throw new Error("Range "+(c["!ref"]||"A1")+" exceeds format limit A1:IV16384");S.e.c=Math.min(S.e.c,255),S.e.r=Math.min(S.e.c,w-1)}Be(n,2057,T1(r,16,t)),Be(n,13,Pa(1)),Be(n,12,Pa(100)),Be(n,15,Kr(!0)),Be(n,17,Kr(!1)),Be(n,16,ls(.001)),Be(n,95,Kr(!0)),Be(n,42,Kr(!1)),Be(n,43,Kr(!1)),Be(n,130,Pa(1)),Be(n,128,W5()),Be(n,131,Kr(!1)),Be(n,132,Kr(!1)),d&&P7(n,c["!cols"]),Be(n,512,U5(S,t)),d&&(c["!links"]=[]);for(var _=S.s.r;_<=S.e.r;++_){v=lr(_);for(var E=S.s.c;E<=S.e.c;++E){_===S.s.r&&(g[E]=Zt(E)),p=g[E]+v;var b=h?(c[_]||[])[E]:c[p];b&&(H7(n,b,_,E,t),d&&b.l&&c["!links"].push([p,b.l]))}}var F=u.CodeName||u.name||s;return d&&Be(n,574,k5((o.Views||[])[0])),d&&(c["!merges"]||[]).length&&Be(n,229,a6(c["!merges"])),d&&z7(n,c),Be(n,442,O_(F)),d&&j7(n,c),Be(n,10),n.end()}function W7(e,t,r){var n=sa(),s=(e||{}).Workbook||{},c=s.Sheets||[],o=s.WBProps||{},u=r.biff==8,h=r.biff==5;if(Be(n,2057,T1(e,5,r)),r.bookType=="xla"&&Be(n,135),Be(n,225,u?Pa(1200):null),Be(n,193,X8(2)),h&&Be(n,191),h&&Be(n,192),Be(n,226),Be(n,92,d5("SheetJS",r)),Be(n,66,Pa(u?1200:1252)),u&&Be(n,353,Pa(0)),u&&Be(n,448),Be(n,317,_6(e.SheetNames.length)),u&&e.vbaraw&&Be(n,211),u&&e.vbaraw){var d=o.CodeName||"ThisWorkbook";Be(n,442,O_(d))}Be(n,156,Pa(17)),Be(n,25,Kr(!1)),Be(n,18,Kr(!1)),Be(n,19,Pa(0)),u&&Be(n,431,Kr(!1)),u&&Be(n,444,Pa(0)),Be(n,61,T5()),Be(n,64,Kr(!1)),Be(n,141,Pa(0)),Be(n,34,Kr(EN(e)=="true")),Be(n,14,Kr(!0)),u&&Be(n,439,Kr(!1)),Be(n,218,Pa(0)),B7(n,e,r),U7(n,e.SSF,r),I7(n,r),u&&Be(n,352,Kr(!1));var p=n.end(),v=sa();u&&Be(v,140,d6()),u&&r.Strings&&R7(v,252,g5(r.Strings)),Be(v,10);var g=v.end(),S=sa(),w=0,_=0;for(_=0;_<e.SheetNames.length;++_)w+=(u?12:11)+(u?2:1)*e.SheetNames[_].length;var E=p.length+w+g.length;for(_=0;_<e.SheetNames.length;++_){var b=c[_]||{};Be(S,133,m5({pos:E,hs:b.Hidden||0,dt:0,name:e.SheetNames[_]},r)),E+=t[_].length}var F=S.end();if(w!=F.length)throw new Error("BS8 "+w+" != "+F.length);var k=[];return p.length&&k.push(p),F.length&&k.push(F),g.length&&k.push(g),wr(k)}function X7(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=Xt(Ke)),e&&e.SSF&&(El(),wf(e.SSF),r.revssf=bf(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,U1(r),r.cellXfs=[],ki(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var s=0;s<e.SheetNames.length;++s)n[n.length]=V7(s,r,e);return n.unshift(W7(e,n,r)),wr(n)}function TS(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var s=la(n["!ref"]);s.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255).  Data may be lost.")}}var c=t||{};switch(c.biff||2){case 8:case 5:return X7(e,t);case 4:case 3:case 2:return L7(e,t)}throw new Error("invalid type "+c.bookType+" for BIFF")}function d2(e,t){var r=t||{},n=r.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var s=e.match(/<table/i);if(!s)throw new Error("Invalid HTML: could not find <table>");var c=e.match(/<\/table/i),o=s.index,u=c&&c.index||e.length,h=FA(e.slice(o,u),/(:?<tr[^>]*>)/i,"<tr>"),d=-1,p=0,v=0,g=0,S={s:{r:1e7,c:1e7},e:{r:0,c:0}},w=[];for(o=0;o<h.length;++o){var _=h[o].trim(),E=_.slice(0,3).toLowerCase();if(E=="<tr"){if(++d,r.sheetRows&&r.sheetRows<=d){--d;break}p=0;continue}if(!(E!="<td"&&E!="<th")){var b=_.split(/<\/t[dh]>/i);for(u=0;u<b.length;++u){var F=b[u].trim();if(F.match(/<t[dh]/i)){for(var k=F,U=0;k.charAt(0)=="<"&&(U=k.indexOf(">"))>-1;)k=k.slice(U+1);for(var I=0;I<w.length;++I){var W=w[I];W.s.c==p&&W.s.r<d&&d<=W.e.r&&(p=W.e.c+1,I=-1)}var D=Qe(F.slice(0,F.indexOf(">")));g=D.colspan?+D.colspan:1,((v=+D.rowspan)>1||g>1)&&w.push({s:{r:d,c:p},e:{r:d+(v||1)-1,c:p+g-1}});var ee=D.t||D["data-t"]||"";if(!k.length){p+=g;continue}if(k=Yy(k),S.s.r>d&&(S.s.r=d),S.e.r<d&&(S.e.r=d),S.s.c>p&&(S.s.c=p),S.e.c<p&&(S.e.c=p),!k.length){p+=g;continue}var X={t:"s",v:k};r.raw||!k.trim().length||ee=="s"||(k==="TRUE"?X={t:"b",v:!0}:k==="FALSE"?X={t:"b",v:!1}:isNaN(Ja(k))?isNaN(hl(k).getDate())||(X={t:"d",v:Wt(k)},r.cellDates||(X={t:"n",v:yr(X.v)}),X.z=r.dateNF||Ke[14]):X={t:"n",v:Ja(k)}),r.dense?(n[d]||(n[d]=[]),n[d][p]=X):n[$e({r:d,c:p})]=X,p+=g}}}}return n["!ref"]=at(S),w.length&&(n["!merges"]=w),n}function G7(e,t,r,n){for(var s=e["!merges"]||[],c=[],o=t.s.c;o<=t.e.c;++o){for(var u=0,h=0,d=0;d<s.length;++d)if(!(s[d].s.r>r||s[d].s.c>o)&&!(s[d].e.r<r||s[d].e.c<o)){if(s[d].s.r<r||s[d].s.c<o){u=-1;break}u=s[d].e.r-s[d].s.r+1,h=s[d].e.c-s[d].s.c+1;break}if(!(u<0)){var p=$e({r,c:o}),v=n.dense?(e[r]||[])[o]:e[p],g=v&&v.v!=null&&(v.h||u1(v.w||(Pn(v),v.w)||""))||"",S={};u>1&&(S.rowspan=u),h>1&&(S.colspan=h),n.editable?g='<span contenteditable="true">'+g+"</span>":v&&(S["data-t"]=v&&v.t||"z",v.v!=null&&(S["data-v"]=v.v),v.z!=null&&(S["data-z"]=v.z),v.l&&(v.l.Target||"#").charAt(0)!="#"&&(g='<a href="'+v.l.Target+'">'+g+"</a>")),S.id=(n.id||"sjs")+"-"+p,c.push(Le("td",g,S))}}var w="<tr>";return w+c.join("")+"</tr>"}var q7='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Y7="</body></html>";function K7(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find <table>");if(r.length==1)return bi(d2(r[0],t),t);var n=z1();return r.forEach(function(s,c){P1(n,d2(s,t),"Sheet"+(c+1))}),n}function Z7(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function bS(e,t){var r=t||{},n=r.header!=null?r.header:q7,s=r.footer!=null?r.footer:Y7,c=[n],o=la(e["!ref"]);r.dense=Array.isArray(e),c.push(Z7(e,o,r));for(var u=o.s.r;u<=o.e.r;++u)c.push(G7(e,o,u,r));return c.push("</table>"+s),c.join("")}function kS(e,t,r){var n=r||{},s=0,c=0;if(n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?$t(n.origin):n.origin;s=o.r,c=o.c}var u=t.getElementsByTagName("tr"),h=Math.min(n.sheetRows||1e7,u.length),d={s:{r:0,c:0},e:{r:s,c}};if(e["!ref"]){var p=la(e["!ref"]);d.s.r=Math.min(d.s.r,p.s.r),d.s.c=Math.min(d.s.c,p.s.c),d.e.r=Math.max(d.e.r,p.e.r),d.e.c=Math.max(d.e.c,p.e.c),s==-1&&(d.e.r=s=p.e.r+1)}var v=[],g=0,S=e["!rows"]||(e["!rows"]=[]),w=0,_=0,E=0,b=0,F=0,k=0;for(e["!cols"]||(e["!cols"]=[]);w<u.length&&_<h;++w){var U=u[w];if(x2(U)){if(n.display)continue;S[_]={hidden:!0}}var I=U.children;for(E=b=0;E<I.length;++E){var W=I[E];if(!(n.display&&x2(W))){var D=W.hasAttribute("data-v")?W.getAttribute("data-v"):W.hasAttribute("v")?W.getAttribute("v"):Yy(W.innerHTML),ee=W.getAttribute("data-z")||W.getAttribute("z");for(g=0;g<v.length;++g){var X=v[g];X.s.c==b+c&&X.s.r<_+s&&_+s<=X.e.r&&(b=X.e.c+1-c,g=-1)}k=+W.getAttribute("colspan")||1,((F=+W.getAttribute("rowspan")||1)>1||k>1)&&v.push({s:{r:_+s,c:b+c},e:{r:_+s+(F||1)-1,c:b+c+(k||1)-1}});var ne={t:"s",v:D},re=W.getAttribute("data-t")||W.getAttribute("t")||"";D!=null&&(D.length==0?ne.t=re||"z":n.raw||D.trim().length==0||re=="s"||(D==="TRUE"?ne={t:"b",v:!0}:D==="FALSE"?ne={t:"b",v:!1}:isNaN(Ja(D))?isNaN(hl(D).getDate())||(ne={t:"d",v:Wt(D)},n.cellDates||(ne={t:"n",v:yr(ne.v)}),ne.z=n.dateNF||Ke[14]):ne={t:"n",v:Ja(D)})),ne.z===void 0&&ee!=null&&(ne.z=ee);var Q="",me=W.getElementsByTagName("A");if(me&&me.length)for(var Ce=0;Ce<me.length&&!(me[Ce].hasAttribute("href")&&(Q=me[Ce].getAttribute("href"),Q.charAt(0)!="#"));++Ce);Q&&Q.charAt(0)!="#"&&(ne.l={Target:Q}),n.dense?(e[_+s]||(e[_+s]=[]),e[_+s][b+c]=ne):e[$e({c:b+c,r:_+s})]=ne,d.e.c<b+c&&(d.e.c=b+c),b+=k}}++_}return v.length&&(e["!merges"]=(e["!merges"]||[]).concat(v)),d.e.r=Math.max(d.e.r,_-1+s),e["!ref"]=at(d),_>=h&&(e["!fullref"]=at((d.e.r=u.length-w+_-1+s,d))),e}function AS(e,t){var r=t||{},n=r.dense?[]:{};return kS(n,e,t)}function $7(e,t){return bi(AS(e,t),t)}function x2(e){var t="",r=Q7(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function Q7(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function J7(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(n,s){return Array(parseInt(s,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"	").replace(/<text:line-break\/>/g,`
`),r=yt(t.replace(/<[^>]*>/g,""));return[r]}var p2={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function CS(e,t){var r=t||{},n=h1(e),s=[],c,o,u={name:""},h="",d=0,p,v,g={},S=[],w=r.dense?[]:{},_,E,b={value:""},F="",k=0,U=[],I=-1,W=-1,D={s:{r:1e6,c:1e7},e:{r:0,c:0}},ee=0,X={},ne=[],re={},Q=0,me=0,Ce=[],ve=1,Z=1,ie=[],Re={Names:[]},K={},Ae=["",""],j=[],A={},P="",L=0,O=!1,Y=!1,de=0;for(Pc.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");_=Pc.exec(n);)switch(_[3]=_[3].replace(/_.*$/,"")){case"table":case"工作表":_[1]==="/"?(D.e.c>=D.s.c&&D.e.r>=D.s.r?w["!ref"]=at(D):w["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=D.e.r&&(w["!fullref"]=w["!ref"],D.e.r=r.sheetRows-1,w["!ref"]=at(D)),ne.length&&(w["!merges"]=ne),Ce.length&&(w["!rows"]=Ce),p.name=p.名称||p.name,typeof JSON<"u"&&JSON.stringify(p),S.push(p.name),g[p.name]=w,Y=!1):_[0].charAt(_[0].length-2)!=="/"&&(p=Qe(_[0],!1),I=W=-1,D.s.r=D.s.c=1e7,D.e.r=D.e.c=0,w=r.dense?[]:{},ne=[],Ce=[],Y=!0);break;case"table-row-group":_[1]==="/"?--ee:++ee;break;case"table-row":case"行":if(_[1]==="/"){I+=ve,ve=1;break}if(v=Qe(_[0],!1),v.行号?I=v.行号-1:I==-1&&(I=0),ve=+v["number-rows-repeated"]||1,ve<10)for(de=0;de<ve;++de)ee>0&&(Ce[I+de]={level:ee});W=-1;break;case"covered-table-cell":_[1]!=="/"&&++W,r.sheetStubs&&(r.dense?(w[I]||(w[I]=[]),w[I][W]={t:"z"}):w[$e({r:I,c:W})]={t:"z"}),F="",U=[];break;case"table-cell":case"数据":if(_[0].charAt(_[0].length-2)==="/")++W,b=Qe(_[0],!1),Z=parseInt(b["number-columns-repeated"]||"1",10),E={t:"z",v:null},b.formula&&r.cellFormula!=!1&&(E.f=f2(yt(b.formula))),(b.数据类型||b["value-type"])=="string"&&(E.t="s",E.v=yt(b["string-value"]||""),r.dense?(w[I]||(w[I]=[]),w[I][W]=E):w[$e({r:I,c:W})]=E),W+=Z-1;else if(_[1]!=="/"){++W,F="",k=0,U=[],Z=1;var ge=ve?I+ve-1:I;if(W>D.e.c&&(D.e.c=W),W<D.s.c&&(D.s.c=W),I<D.s.r&&(D.s.r=I),ge>D.e.r&&(D.e.r=ge),b=Qe(_[0],!1),j=[],A={},E={t:b.数据类型||b["value-type"],v:null},r.cellFormula)if(b.formula&&(b.formula=yt(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(Q=parseInt(b["number-matrix-rows-spanned"],10)||0,me=parseInt(b["number-matrix-columns-spanned"],10)||0,re={s:{r:I,c:W},e:{r:I+Q-1,c:W+me-1}},E.F=at(re),ie.push([re,E.F])),b.formula)E.f=f2(b.formula);else for(de=0;de<ie.length;++de)I>=ie[de][0].s.r&&I<=ie[de][0].e.r&&W>=ie[de][0].s.c&&W<=ie[de][0].e.c&&(E.F=ie[de][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(Q=parseInt(b["number-rows-spanned"],10)||0,me=parseInt(b["number-columns-spanned"],10)||0,re={s:{r:I,c:W},e:{r:I+Q-1,c:W+me-1}},ne.push(re)),b["number-columns-repeated"]&&(Z=parseInt(b["number-columns-repeated"],10)),E.t){case"boolean":E.t="b",E.v=Vt(b["boolean-value"]);break;case"float":E.t="n",E.v=parseFloat(b.value);break;case"percentage":E.t="n",E.v=parseFloat(b.value);break;case"currency":E.t="n",E.v=parseFloat(b.value);break;case"date":E.t="d",E.v=Wt(b["date-value"]),r.cellDates||(E.t="n",E.v=yr(E.v)),E.z="m/d/yy";break;case"time":E.t="n",E.v=kA(b["time-value"])/86400,r.cellDates&&(E.t="d",E.v=kf(E.v)),E.z="HH:MM:SS";break;case"number":E.t="n",E.v=parseFloat(b.数据数值);break;default:if(E.t==="string"||E.t==="text"||!E.t)E.t="s",b["string-value"]!=null&&(F=yt(b["string-value"]),U=[]);else throw new Error("Unsupported value type "+E.t)}}else{if(O=!1,E.t==="s"&&(E.v=F||"",U.length&&(E.R=U),O=k==0),K.Target&&(E.l=K),j.length>0&&(E.c=j,j=[]),F&&r.cellText!==!1&&(E.w=F),O&&(E.t="z",delete E.v),(!O||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=I))for(var pe=0;pe<ve;++pe){if(Z=parseInt(b["number-columns-repeated"]||"1",10),r.dense)for(w[I+pe]||(w[I+pe]=[]),w[I+pe][W]=pe==0?E:Xt(E);--Z>0;)w[I+pe][W+Z]=Xt(E);else for(w[$e({r:I+pe,c:W})]=E;--Z>0;)w[$e({r:I+pe,c:W+Z})]=Xt(E);D.e.c<=W&&(D.e.c=W)}Z=parseInt(b["number-columns-repeated"]||"1",10),W+=Z-1,Z=0,E={},F="",U=[]}K={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(_[1]==="/"){if((c=s.pop())[0]!==_[3])throw"Bad state: "+c}else _[0].charAt(_[0].length-2)!=="/"&&s.push([_[3],!0]);break;case"annotation":if(_[1]==="/"){if((c=s.pop())[0]!==_[3])throw"Bad state: "+c;A.t=F,U.length&&(A.R=U),A.a=P,j.push(A)}else _[0].charAt(_[0].length-2)!=="/"&&s.push([_[3],!1]);P="",L=0,F="",k=0,U=[];break;case"creator":_[1]==="/"?P=n.slice(L,_.index):L=_.index+_[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(_[1]==="/"){if((c=s.pop())[0]!==_[3])throw"Bad state: "+c}else _[0].charAt(_[0].length-2)!=="/"&&s.push([_[3],!1]);F="",k=0,U=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(_[1]==="/"){if(X[u.name]=h,(c=s.pop())[0]!==_[3])throw"Bad state: "+c}else _[0].charAt(_[0].length-2)!=="/"&&(h="",u=Qe(_[0],!1),s.push([_[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(s[s.length-1][0]){case"time-style":case"date-style":o=Qe(_[0],!1),h+=p2[_[3]][o.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(s[s.length-1][0]){case"time-style":case"date-style":o=Qe(_[0],!1),h+=p2[_[3]][o.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(_[0].slice(-2)==="/>")break;if(_[1]==="/")switch(s[s.length-1][0]){case"number-style":case"date-style":case"time-style":h+=n.slice(d,_.index);break}else d=_.index+_[0].length;break;case"named-range":o=Qe(_[0],!1),Ae=cd(o["cell-range-address"]);var Ee={Name:o.name,Ref:Ae[0]+"!"+Ae[1]};Y&&(Ee.Sheet=S.length),Re.Names.push(Ee);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(s[s.length-1][0])>-1)break;if(_[1]==="/"&&(!b||!b["string-value"])){var He=J7(n.slice(k,_.index));F=(F.length>0?F+`
`:"")+He[0]}else Qe(_[0],!1),k=_.index+_[0].length;break;case"s":break;case"database-range":if(_[1]==="/")break;try{Ae=cd(Qe(_[0])["target-range-address"]),g[Ae[0]]["!autofilter"]={ref:Ae[1]}}catch{}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(_[1]!=="/"){if(K=Qe(_[0],!1),!K.href)break;K.Target=yt(K.href),delete K.href,K.Target.charAt(0)=="#"&&K.Target.indexOf(".")>-1?(Ae=cd(K.Target.slice(1)),K.Target="#"+Ae[0]+"!"+Ae[1]):K.Target.match(/^\.\.[\\\/]/)&&(K.Target=K.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(_[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(_)}}var V={Sheets:g,SheetNames:S,Workbook:Re};return r.bookSheets&&delete V.Sheets,V}function m2(e,t){t=t||{},za(e,"META-INF/manifest.xml")&&k8(pr(e,"META-INF/manifest.xml"),t);var r=_a(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=CS(Lt(r),t);return za(e,"meta.xml")&&(n.Props=g_(pr(e,"meta.xml"))),n}function v2(e,t){return CS(e,t)}var e9=(function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+zc({"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:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return or+t}})(),g2=(function(){var e=function(c){return Rt(c).replace(/  +/g,function(o){return'<text:s text:c="'+o.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=`          <table:table-cell />
`,r=`          <table:covered-table-cell/>
`,n=function(c,o,u){var h=[];h.push('      <table:table table:name="'+Rt(o.SheetNames[u])+`" table:style-name="ta1">
`);var d=0,p=0,v=la(c["!ref"]||"A1"),g=c["!merges"]||[],S=0,w=Array.isArray(c);if(c["!cols"])for(p=0;p<=v.e.c;++p)h.push("        <table:table-column"+(c["!cols"][p]?' table:style-name="co'+c["!cols"][p].ods+'"':"")+`></table:table-column>
`);var _="",E=c["!rows"]||[];for(d=0;d<v.s.r;++d)_=E[d]?' table:style-name="ro'+E[d].ods+'"':"",h.push("        <table:table-row"+_+`></table:table-row>
`);for(;d<=v.e.r;++d){for(_=E[d]?' table:style-name="ro'+E[d].ods+'"':"",h.push("        <table:table-row"+_+`>
`),p=0;p<v.s.c;++p)h.push(t);for(;p<=v.e.c;++p){var b=!1,F={},k="";for(S=0;S!=g.length;++S)if(!(g[S].s.c>p)&&!(g[S].s.r>d)&&!(g[S].e.c<p)&&!(g[S].e.r<d)){(g[S].s.c!=p||g[S].s.r!=d)&&(b=!0),F["table:number-columns-spanned"]=g[S].e.c-g[S].s.c+1,F["table:number-rows-spanned"]=g[S].e.r-g[S].s.r+1;break}if(b){h.push(r);continue}var U=$e({r:d,c:p}),I=w?(c[d]||[])[p]:c[U];if(I&&I.f&&(F["table:formula"]=Rt(_O(I.f)),I.F&&I.F.slice(0,U.length)==U)){var W=la(I.F);F["table:number-matrix-columns-spanned"]=W.e.c-W.s.c+1,F["table:number-matrix-rows-spanned"]=W.e.r-W.s.r+1}if(!I){h.push(t);continue}switch(I.t){case"b":k=I.v?"TRUE":"FALSE",F["office:value-type"]="boolean",F["office:boolean-value"]=I.v?"true":"false";break;case"n":k=I.w||String(I.v||0),F["office:value-type"]="float",F["office:value"]=I.v||0;break;case"s":case"str":k=I.v==null?"":I.v,F["office:value-type"]="string";break;case"d":k=I.w||Wt(I.v).toISOString(),F["office:value-type"]="date",F["office:date-value"]=Wt(I.v).toISOString(),F["table:style-name"]="ce1";break;default:h.push(t);continue}var D=e(k);if(I.l&&I.l.Target){var ee=I.l.Target;ee=ee.charAt(0)=="#"?"#"+SO(ee.slice(1)):ee,ee.charAt(0)!="#"&&!ee.match(/^\w+:/)&&(ee="../"+ee),D=Le("text:a",D,{"xlink:href":ee.replace(/&/g,"&amp;")})}h.push("          "+Le("table:table-cell",Le("text:p",D,{}),F)+`
`)}h.push(`        </table:table-row>
`)}return h.push(`      </table:table>
`),h.join("")},s=function(c,o){c.push(` <office:automatic-styles>
`),c.push(`  <number:date-style style:name="N37" number:automatic-order="true">
`),c.push(`   <number:month number:style="long"/>
`),c.push(`   <number:text>/</number:text>
`),c.push(`   <number:day number:style="long"/>
`),c.push(`   <number:text>/</number:text>
`),c.push(`   <number:year/>
`),c.push(`  </number:date-style>
`);var u=0;o.SheetNames.map(function(d){return o.Sheets[d]}).forEach(function(d){if(d&&d["!cols"]){for(var p=0;p<d["!cols"].length;++p)if(d["!cols"][p]){var v=d["!cols"][p];if(v.width==null&&v.wpx==null&&v.wch==null)continue;Si(v),v.ods=u;var g=d["!cols"][p].wpx+"px";c.push('  <style:style style:name="co'+u+`" style:family="table-column">
`),c.push('   <style:table-column-properties fo:break-before="auto" style:column-width="'+g+`"/>
`),c.push(`  </style:style>
`),++u}}});var h=0;o.SheetNames.map(function(d){return o.Sheets[d]}).forEach(function(d){if(d&&d["!rows"]){for(var p=0;p<d["!rows"].length;++p)if(d["!rows"][p]){d["!rows"][p].ods=h;var v=d["!rows"][p].hpx+"px";c.push('  <style:style style:name="ro'+h+`" style:family="table-row">
`),c.push('   <style:table-row-properties fo:break-before="auto" style:row-height="'+v+`"/>
`),c.push(`  </style:style>
`),++h}}}),c.push(`  <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
`),c.push(`   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
`),c.push(`  </style:style>
`),c.push(`  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
`),c.push(` </office:automatic-styles>
`)};return function(o,u){var h=[or],d=zc({"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"}),p=zc({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});u.bookType=="fods"?(h.push("<office:document"+d+p+`>
`),h.push(v_().replace(/office:document-meta/g,"office:meta"))):h.push("<office:document-content"+d+`>
`),s(h,o),h.push(`  <office:body>
`),h.push(`    <office:spreadsheet>
`);for(var v=0;v!=o.SheetNames.length;++v)h.push(n(o.Sheets[o.SheetNames[v]],o,v));return h.push(`    </office:spreadsheet>
`),h.push(`  </office:body>
`),u.bookType=="fods"?h.push("</office:document>"):h.push("</office:document-content>"),h.join("")}})();function FS(e,t){if(t.bookType=="fods")return g2(e,t);var r=c1(),n="",s=[],c=[];return n="mimetype",st(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",st(r,n,g2(e,t)),s.push([n,"text/xml"]),c.push([n,"ContentFile"]),n="styles.xml",st(r,n,e9(e,t)),s.push([n,"text/xml"]),c.push([n,"StylesFile"]),n="meta.xml",st(r,n,or+v_()),s.push([n,"text/xml"]),c.push([n,"MetadataFile"]),n="manifest.rdf",st(r,n,F8(c)),s.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",st(r,n,A8(s)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function fs(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Bd(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):Lt(Ti(e))}function t9(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):ya(pn(e))}function r9(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function wi(e){var t=e.reduce(function(s,c){return s+c.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(s){r.set(s,n),n+=s.length}),r}function y2(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function a9(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,n=e[t+14]&1,s=t+13;s>=t;--s)n=n*256+e[s];return(e[t+15]&128?-n:n)*Math.pow(10,r-6176)}function n9(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,s=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var c=0;s>=1;++c,s/=256)e[t+c]=s&255;e[t+15]|=r>=0?0:128}function Yc(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function Ct(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function rr(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function wt(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],s=Yc(e,r),c=s&7;s=Math.floor(s/8);var o=0,u;if(s==0)break;switch(c){case 0:{for(var h=r[0];e[r[0]++]>=128;);u=e.slice(h,r[0])}break;case 5:o=4,u=e.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,u=e.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=Yc(e,r),u=e.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(c," for Field ").concat(s," at offset ").concat(n))}var d={data:u,type:c};t[s]==null?t[s]=[d]:t[s].push(d)}return t}function Rr(e){var t=[];return e.forEach(function(r,n){r.forEach(function(s){s.data&&(t.push(Ct(n*8+s.type)),s.type==2&&t.push(Ct(s.data.length)),t.push(s.data))})}),wi(t)}function L1(e,t){return(e==null?void 0:e.map(function(r){return t(r.data)}))||[]}function ja(e){for(var t,r=[],n=[0];n[0]<e.length;){var s=Yc(e,n),c=wt(e.slice(n[0],n[0]+s));n[0]+=s;var o={id:rr(c[1][0].data),messages:[]};c[2].forEach(function(u){var h=wt(u.data),d=rr(h[3][0].data);o.messages.push({meta:h,data:e.slice(n[0],n[0]+d)}),n[0]+=d}),(t=c[3])!=null&&t[0]&&(o.merge=rr(c[3][0].data)>>>0>0),r.push(o)}return r}function rl(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:Ct(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:Ct(+!!r.merge),type:0}]);var s=[];r.messages.forEach(function(o){s.push(o.data),o.meta[3]=[{type:0,data:Ct(o.data.length)}],n[2].push({data:Rr(o.meta),type:2})});var c=Rr(n);t.push(Ct(c.length)),t.push(c),s.forEach(function(o){return t.push(o)})}),wi(t)}function i9(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Yc(t,r),s=[];r[0]<t.length;){var c=t[r[0]]&3;if(c==0){var o=t[r[0]++]>>2;if(o<60)++o;else{var u=o-59;o=t[r[0]],u>1&&(o|=t[r[0]+1]<<8),u>2&&(o|=t[r[0]+2]<<16),u>3&&(o|=t[r[0]+3]<<24),o>>>=0,o++,r[0]+=u}s.push(t.slice(r[0],r[0]+o)),r[0]+=o;continue}else{var h=0,d=0;if(c==1?(d=(t[r[0]]>>2&7)+4,h=(t[r[0]++]&224)<<3,h|=t[r[0]++]):(d=(t[r[0]++]>>2)+1,c==2?(h=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(h=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),s=[wi(s)],h==0)throw new Error("Invalid offset 0");if(h>s[0].length)throw new Error("Invalid offset beyond length");if(d>=h)for(s.push(s[0].slice(-h)),d-=h;d>=s[s.length-1].length;)s.push(s[s.length-1]),d-=s[s.length-1].length;s.push(s[0].slice(-h,-h+d))}}var p=wi(s);if(p.length!=n)throw new Error("Unexpected length: ".concat(p.length," != ").concat(n));return p}function Ia(e){for(var t=[],r=0;r<e.length;){var n=e[r++],s=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(i9(n,e.slice(r,r+s))),r+=s}if(r!==e.length)throw new Error("data is not a valid framed stream!");return wi(t)}function al(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),s=new Uint8Array(4);t.push(s);var c=Ct(n),o=c.length;t.push(c),n<=60?(o++,t.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),o+=n,s[0]=0,s[1]=o&255,s[2]=o>>8&255,s[3]=o>>16&255,r+=n}return wi(t)}function s9(e,t,r,n){var s=fs(e),c=s.getUint32(4,!0),o=(n>1?12:8)+y2(c&(n>1?3470:398))*4,u=-1,h=-1,d=NaN,p=new Date(2001,0,1);c&512&&(u=s.getUint32(o,!0),o+=4),o+=y2(c&(n>1?12288:4096))*4,c&16&&(h=s.getUint32(o,!0),o+=4),c&32&&(d=s.getFloat64(o,!0),o+=8),c&64&&(p.setTime(p.getTime()+s.getFloat64(o,!0)*1e3),o+=8);var v;switch(e[2]){case 0:break;case 2:v={t:"n",v:d};break;case 3:v={t:"s",v:t[h]};break;case 5:v={t:"d",v:p};break;case 6:v={t:"b",v:d>0};break;case 7:v={t:"n",v:d/86400};break;case 8:v={t:"e",v:0};break;case 9:if(u>-1)v={t:"s",v:r[u]};else if(h>-1)v={t:"s",v:t[h]};else if(!isNaN(d))v={t:"n",v:d};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return v}function l9(e,t,r){var n=fs(e),s=n.getUint32(8,!0),c=12,o=-1,u=-1,h=NaN,d=NaN,p=new Date(2001,0,1);s&1&&(h=a9(e,c),c+=16),s&2&&(d=n.getFloat64(c,!0),c+=8),s&4&&(p.setTime(p.getTime()+n.getFloat64(c,!0)*1e3),c+=8),s&8&&(u=n.getUint32(c,!0),c+=4),s&16&&(o=n.getUint32(c,!0),c+=4);var v;switch(e[1]){case 0:break;case 2:v={t:"n",v:h};break;case 3:v={t:"s",v:t[u]};break;case 5:v={t:"d",v:p};break;case 6:v={t:"b",v:d>0};break;case 7:v={t:"n",v:d/86400};break;case 8:v={t:"e",v:0};break;case 9:if(o>-1)v={t:"s",v:r[o]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(s&31," : ").concat(e.slice(0,4)));break;case 10:v={t:"n",v:h};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(s&31," : ").concat(e.slice(0,4)))}return v}function fd(e,t){var r=new Uint8Array(32),n=fs(r),s=12,c=0;switch(r[0]=5,e.t){case"n":r[1]=2,n9(r,s,e.v),c|=1,s+=16;break;case"b":r[1]=6,n.setFloat64(s,e.v?1:0,!0),c|=2,s+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(s,t.indexOf(e.v),!0),c|=8,s+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,c,!0),r.slice(0,s)}function ud(e,t){var r=new Uint8Array(32),n=fs(r),s=12,c=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(s,e.v,!0),c|=32,s+=8;break;case"b":r[2]=6,n.setFloat64(s,e.v?1:0,!0),c|=32,s+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(s,t.indexOf(e.v),!0),c|=16,s+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,c,!0),r.slice(0,s)}function c9(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return s9(e,t,r,e[0]);case 5:return l9(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Ir(e){var t=wt(e);return Yc(t[1][0].data)}function _2(e,t){var r=wt(t.data),n=rr(r[1][0].data),s=r[3],c=[];return(s||[]).forEach(function(o){var u=wt(o.data),h=rr(u[1][0].data)>>>0;switch(n){case 1:c[h]=Bd(u[3][0].data);break;case 8:{var d=e[Ir(u[9][0].data)][0],p=wt(d.data),v=e[Ir(p[1][0].data)][0],g=rr(v.meta[1][0].data);if(g!=2001)throw new Error("2000 unexpected reference to ".concat(g));var S=wt(v.data);c[h]=S[3].map(function(w){return Bd(w.data)}).join("")}break}}),c}function o9(e,t){var r,n,s,c,o,u,h,d,p,v,g,S,w,_,E=wt(e),b=rr(E[1][0].data)>>>0,F=rr(E[2][0].data)>>>0,k=((n=(r=E[8])==null?void 0:r[0])==null?void 0:n.data)&&rr(E[8][0].data)>0||!1,U,I;if((c=(s=E[7])==null?void 0:s[0])!=null&&c.data&&t!=0)U=(u=(o=E[7])==null?void 0:o[0])==null?void 0:u.data,I=(d=(h=E[6])==null?void 0:h[0])==null?void 0:d.data;else if((v=(p=E[4])==null?void 0:p[0])!=null&&v.data&&t!=1)U=(S=(g=E[4])==null?void 0:g[0])==null?void 0:S.data,I=(_=(w=E[3])==null?void 0:w[0])==null?void 0:_.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var W=k?4:1,D=fs(U),ee=[],X=0;X<U.length/2;++X){var ne=D.getUint16(X*2,!0);ne<65535&&ee.push([X,ne])}if(ee.length!=F)throw"Expected ".concat(F," cells, found ").concat(ee.length);var re=[];for(X=0;X<ee.length-1;++X)re[ee[X][0]]=I.subarray(ee[X][1]*W,ee[X+1][1]*W);return ee.length>=1&&(re[ee[ee.length-1][0]]=I.subarray(ee[ee.length-1][1]*W)),{R:b,cells:re}}function f9(e,t){var r,n=wt(t.data),s=(r=n==null?void 0:n[7])!=null&&r[0]?rr(n[7][0].data)>>>0>0?1:0:-1,c=L1(n[5],function(o){return o9(o,s)});return{nrows:rr(n[4][0].data)>>>0,data:c.reduce(function(o,u){return o[u.R]||(o[u.R]=[]),u.cells.forEach(function(h,d){if(o[u.R][d])throw new Error("Duplicate cell r=".concat(u.R," c=").concat(d));o[u.R][d]=h}),o},[])}}function u9(e,t,r){var n,s=wt(t.data),c={s:{r:0,c:0},e:{r:0,c:0}};if(c.e.r=(rr(s[6][0].data)>>>0)-1,c.e.r<0)throw new Error("Invalid row varint ".concat(s[6][0].data));if(c.e.c=(rr(s[7][0].data)>>>0)-1,c.e.c<0)throw new Error("Invalid col varint ".concat(s[7][0].data));r["!ref"]=at(c);var o=wt(s[4][0].data),u=_2(e,e[Ir(o[4][0].data)][0]),h=(n=o[17])!=null&&n[0]?_2(e,e[Ir(o[17][0].data)][0]):[],d=wt(o[3][0].data),p=0;d[1].forEach(function(v){var g=wt(v.data),S=e[Ir(g[2][0].data)][0],w=rr(S.meta[1][0].data);if(w!=6002)throw new Error("6001 unexpected reference to ".concat(w));var _=f9(e,S);_.data.forEach(function(E,b){E.forEach(function(F,k){var U=$e({r:p+b,c:k}),I=c9(F,u,h);I&&(r[U]=I)})}),p+=_.nrows})}function h9(e,t){var r=wt(t.data),n={"!ref":"A1"},s=e[Ir(r[2][0].data)],c=rr(s[0].meta[1][0].data);if(c!=6001)throw new Error("6000 unexpected reference to ".concat(c));return u9(e,s[0],n),n}function d9(e,t){var r,n=wt(t.data),s={name:(r=n[1])!=null&&r[0]?Bd(n[1][0].data):"",sheets:[]},c=L1(n[2],Ir);return c.forEach(function(o){e[o].forEach(function(u){var h=rr(u.meta[1][0].data);h==6e3&&s.sheets.push(h9(e,u))})}),s}function x9(e,t){var r=z1(),n=wt(t.data),s=L1(n[1],Ir);if(s.forEach(function(c){e[c].forEach(function(o){var u=rr(o.meta[1][0].data);if(u==2){var h=d9(e,o);h.sheets.forEach(function(d,p){P1(r,d,p==0?h.name:h.name+"_"+p,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function hd(e){var t,r,n,s,c={},o=[];if(e.FullPaths.forEach(function(h){if(h.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(h){if(h.name.match(/\.iwa$/)){var d;try{d=Ia(h.content)}catch(v){return console.log("?? "+h.content.length+" "+(v.message||v))}var p;try{p=ja(d)}catch(v){return console.log("## "+(v.message||v))}p.forEach(function(v){c[v.id]=v.messages,o.push(v.id)})}}),!o.length)throw new Error("File has no messages");var u=((s=(n=(r=(t=c==null?void 0:c[1])==null?void 0:t[0])==null?void 0:r.meta)==null?void 0:n[1])==null?void 0:s[0].data)&&rr(c[1][0].meta[1][0].data)==1&&c[1][0];if(u||o.forEach(function(h){c[h].forEach(function(d){var p=rr(d.meta[1][0].data)>>>0;if(p==1)if(!u)u=d;else throw new Error("Document has multiple roots")})}),!u)throw new Error("Cannot find Document root");return x9(c,u)}function p9(e,t,r){var n,s,c,o;if(!((n=e[6])!=null&&n[0])||!((s=e[7])!=null&&s[0]))throw"Mutation only works on post-BNC storages!";var u=((o=(c=e[8])==null?void 0:c[0])==null?void 0:o.data)&&rr(e[8][0].data)>0||!1;if(u)throw"Math only works with normal offsets";for(var h=0,d=fs(e[7][0].data),p=0,v=[],g=fs(e[4][0].data),S=0,w=[],_=0;_<t.length;++_){if(t[_]==null){d.setUint16(_*2,65535,!0),g.setUint16(_*2,65535);continue}d.setUint16(_*2,p,!0),g.setUint16(_*2,S,!0);var E,b;switch(typeof t[_]){case"string":E=fd({t:"s",v:t[_]},r),b=ud({t:"s",v:t[_]},r);break;case"number":E=fd({t:"n",v:t[_]},r),b=ud({t:"n",v:t[_]},r);break;case"boolean":E=fd({t:"b",v:t[_]},r),b=ud({t:"b",v:t[_]},r);break;default:throw new Error("Unsupported value "+t[_])}v.push(E),p+=E.length,w.push(b),S+=b.length,++h}for(e[2][0].data=Ct(h);_<e[7][0].data.length/2;++_)d.setUint16(_*2,65535,!0),g.setUint16(_*2,65535,!0);return e[6][0].data=wi(v),e[3][0].data=wi(w),h}function m9(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=la(r["!ref"]);n.s.r=n.s.c=0;var s=!1;n.e.c>9&&(s=!0,n.e.c=9),n.e.r>49&&(s=!0,n.e.r=49),s&&console.error("The Numbers writer is currently limited to ".concat(at(n)));var c=df(r,{range:n,header:1}),o=["~Sh33tJ5~"];c.forEach(function(P){return P.forEach(function(L){typeof L=="string"&&o.push(L)})});var u={},h=[],d=Ge.read(t.numbers,{type:"base64"});d.FileIndex.map(function(P,L){return[P,d.FullPaths[L]]}).forEach(function(P){var L=P[0],O=P[1];if(L.type==2&&L.name.match(/\.iwa/)){var Y=L.content,de=Ia(Y),ge=ja(de);ge.forEach(function(pe){h.push(pe.id),u[pe.id]={deps:[],location:O,type:rr(pe.messages[0].meta[1][0].data)}})}}),h.sort(function(P,L){return P-L});var p=h.filter(function(P){return P>1}).map(function(P){return[P,Ct(P)]});d.FileIndex.map(function(P,L){return[P,d.FullPaths[L]]}).forEach(function(P){var L=P[0];if(P[1],!!L.name.match(/\.iwa/)){var O=ja(Ia(L.content));O.forEach(function(Y){Y.messages.forEach(function(de){p.forEach(function(ge){Y.messages.some(function(pe){return rr(pe.meta[1][0].data)!=11006&&r9(pe.data,ge[1])})&&u[ge[0]].deps.push(Y.id)})})})}});for(var v=Ge.find(d,u[1].location),g=ja(Ia(v.content)),S,w=0;w<g.length;++w){var _=g[w];_.id==1&&(S=_)}var E=Ir(wt(S.messages[0].data)[1][0].data);for(v=Ge.find(d,u[E].location),g=ja(Ia(v.content)),w=0;w<g.length;++w)_=g[w],_.id==E&&(S=_);for(E=Ir(wt(S.messages[0].data)[2][0].data),v=Ge.find(d,u[E].location),g=ja(Ia(v.content)),w=0;w<g.length;++w)_=g[w],_.id==E&&(S=_);for(E=Ir(wt(S.messages[0].data)[2][0].data),v=Ge.find(d,u[E].location),g=ja(Ia(v.content)),w=0;w<g.length;++w)_=g[w],_.id==E&&(S=_);var b=wt(S.messages[0].data);{b[6][0].data=Ct(n.e.r+1),b[7][0].data=Ct(n.e.c+1);var F=Ir(b[46][0].data),k=Ge.find(d,u[F].location),U=ja(Ia(k.content));{for(var I=0;I<U.length&&U[I].id!=F;++I);if(U[I].id!=F)throw"Bad ColumnRowUIDMapArchive";var W=wt(U[I].messages[0].data);W[1]=[],W[2]=[],W[3]=[];for(var D=0;D<=n.e.c;++D){var ee=[];ee[1]=ee[2]=[{type:0,data:Ct(D+420690)}],W[1].push({type:2,data:Rr(ee)}),W[2].push({type:0,data:Ct(D)}),W[3].push({type:0,data:Ct(D)})}W[4]=[],W[5]=[],W[6]=[];for(var X=0;X<=n.e.r;++X)ee=[],ee[1]=ee[2]=[{type:0,data:Ct(X+726270)}],W[4].push({type:2,data:Rr(ee)}),W[5].push({type:0,data:Ct(X)}),W[6].push({type:0,data:Ct(X)});U[I].messages[0].data=Rr(W)}k.content=al(rl(U)),k.size=k.content.length,delete b[46];var ne=wt(b[4][0].data);{ne[7][0].data=Ct(n.e.r+1);var re=wt(ne[1][0].data),Q=Ir(re[2][0].data);k=Ge.find(d,u[Q].location),U=ja(Ia(k.content));{if(U[0].id!=Q)throw"Bad HeaderStorageBucket";var me=wt(U[0].messages[0].data);for(X=0;X<c.length;++X){var Ce=wt(me[2][0].data);Ce[1][0].data=Ct(X),Ce[4][0].data=Ct(c[X].length),me[2][X]={type:me[2][0].type,data:Rr(Ce)}}U[0].messages[0].data=Rr(me)}k.content=al(rl(U)),k.size=k.content.length;var ve=Ir(ne[2][0].data);k=Ge.find(d,u[ve].location),U=ja(Ia(k.content));{if(U[0].id!=ve)throw"Bad HeaderStorageBucket";for(me=wt(U[0].messages[0].data),D=0;D<=n.e.c;++D)Ce=wt(me[2][0].data),Ce[1][0].data=Ct(D),Ce[4][0].data=Ct(n.e.r+1),me[2][D]={type:me[2][0].type,data:Rr(Ce)};U[0].messages[0].data=Rr(me)}k.content=al(rl(U)),k.size=k.content.length;var Z=Ir(ne[4][0].data);(function(){for(var P=Ge.find(d,u[Z].location),L=ja(Ia(P.content)),O,Y=0;Y<L.length;++Y){var de=L[Y];de.id==Z&&(O=de)}var ge=wt(O.messages[0].data);{ge[3]=[];var pe=[];o.forEach(function(V,ft){pe[1]=[{type:0,data:Ct(ft)}],pe[2]=[{type:0,data:Ct(1)}],pe[3]=[{type:2,data:t9(V)}],ge[3].push({type:2,data:Rr(pe)})})}O.messages[0].data=Rr(ge);var Ee=rl(L),He=al(Ee);P.content=He,P.size=P.content.length})();var ie=wt(ne[3][0].data);{var Re=ie[1][0];delete ie[2];var K=wt(Re.data);{var Ae=Ir(K[2][0].data);(function(){for(var P=Ge.find(d,u[Ae].location),L=ja(Ia(P.content)),O,Y=0;Y<L.length;++Y){var de=L[Y];de.id==Ae&&(O=de)}var ge=wt(O.messages[0].data);{delete ge[6],delete ie[7];var pe=new Uint8Array(ge[5][0].data);ge[5]=[];for(var Ee=0,He=0;He<=n.e.r;++He){var V=wt(pe);Ee+=p9(V,c[He],o),V[1][0].data=Ct(He),ge[5].push({data:Rr(V),type:2})}ge[1]=[{type:0,data:Ct(n.e.c+1)}],ge[2]=[{type:0,data:Ct(n.e.r+1)}],ge[3]=[{type:0,data:Ct(Ee)}],ge[4]=[{type:0,data:Ct(n.e.r+1)}]}O.messages[0].data=Rr(ge);var ft=rl(L),qe=al(ft);P.content=qe,P.size=P.content.length})()}Re.data=Rr(K)}ne[3][0].data=Rr(ie)}b[4][0].data=Rr(ne)}S.messages[0].data=Rr(b);var j=rl(g),A=al(j);return v.content=A,v.size=v.content.length,d}function RS(e){return function(r){for(var n=0;n!=e.length;++n){var s=e[n];r[s[0]]===void 0&&(r[s[0]]=s[1]),s[2]==="n"&&(r[s[0]]=Number(r[s[0]]))}}}function B1(e){RS([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function U1(e){RS([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function v9(e){return ut.WS.indexOf(e)>-1?"sheet":e==ut.CS?"chart":e==ut.DS?"dialog":e==ut.MS?"macro":e&&e.length?e:"sheet"}function g9(e,t){if(!e)return 0;try{e=t.map(function(n){return n.id||(n.id=n.strRelID),[n.name,e["!id"][n.id].Target,v9(e["!id"][n.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function y9(e,t,r,n,s,c,o,u,h,d,p,v){try{c[n]=Cc(_a(e,r,!0),t);var g=pr(e,t),S;switch(u){case"sheet":S=PN(g,t,s,h,c[n],d,p,v);break;case"chart":if(S=HN(g,t,s,h,c[n],d,p,v),!S||!S["!drawel"])break;var w=Tc(S["!drawel"].Target,t),_=Hc(w),E=CF(_a(e,w,!0),Cc(_a(e,_,!0),w)),b=Tc(E,w),F=Hc(b);S=pN(_a(e,b,!0),b,h,Cc(_a(e,F,!0),b),d,S);break;case"macro":S=VN(g,t,s,h,c[n],d,p,v);break;case"dialog":S=WN(g,t,s,h,c[n],d,p,v);break;default:throw new Error("Unrecognized sheet type "+u)}o[n]=S;var k=[];c&&c[n]&&ar(c[n]).forEach(function(U){var I="";if(c[n][U].Type==ut.CMNT){I=Tc(c[n][U].Target,t);var W=YN(pr(e,I,!0),I,h);if(!W||!W.length)return;i2(S,W,!1)}c[n][U].Type==ut.TCMNT&&(I=Tc(c[n][U].Target,t),k=k.concat(RF(pr(e,I,!0),h)))}),k&&k.length&&i2(S,k,!0,h.people||[])}catch(U){if(h.WTF)throw U}}function La(e){return e.charAt(0)=="/"?e.slice(1):e}function _9(e,t){if(El(),t=t||{},B1(t),za(e,"META-INF/manifest.xml")||za(e,"objectdata.xml"))return m2(e,t);if(za(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof hd<"u"){if(e.FileIndex)return hd(e);var r=Ge.utils.cfb_new();return kg(e).forEach(function(Ce){st(r,Ce,OA(e,Ce))}),hd(r)}throw new Error("Unsupported NUMBERS file")}if(!za(e,"[Content_Types].xml"))throw za(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):za(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n=kg(e),s=T8(_a(e,"[Content_Types].xml")),c=!1,o,u;if(s.workbooks.length===0&&(u="xl/workbook.xml",pr(e,u,!0)&&s.workbooks.push(u)),s.workbooks.length===0){if(u="xl/workbook.bin",!pr(e,u,!0))throw new Error("Could not find workbook");s.workbooks.push(u),c=!0}s.workbooks[0].slice(-3)=="bin"&&(c=!0);var h={},d={};if(!t.bookSheets&&!t.bookProps){if(Fc=[],s.sst)try{Fc=qN(pr(e,La(s.sst)),s.sst,t)}catch(Ce){if(t.WTF)throw Ce}t.cellStyles&&s.themes.length&&(h=GN(_a(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(d=XN(pr(e,La(s.style)),s.style,h,t))}s.links.map(function(Ce){try{var ve=Cc(_a(e,Hc(La(Ce))),Ce);return ZN(pr(e,La(Ce)),ve,Ce,t)}catch{}});var p=zN(pr(e,La(s.workbooks[0])),s.workbooks[0],t),v={},g="";s.coreprops.length&&(g=pr(e,La(s.coreprops[0]),!0),g&&(v=g_(g)),s.extprops.length!==0&&(g=pr(e,La(s.extprops[0]),!0),g&&O8(g,v,t)));var S={};(!t.bookSheets||t.bookProps)&&s.custprops.length!==0&&(g=_a(e,La(s.custprops[0]),!0),g&&(S=N8(g,t)));var w={};if((t.bookSheets||t.bookProps)&&(p.Sheets?o=p.Sheets.map(function(ve){return ve.name}):v.Worksheets&&v.SheetNames.length>0&&(o=v.SheetNames),t.bookProps&&(w.Props=v,w.Custprops=S),t.bookSheets&&typeof o<"u"&&(w.SheetNames=o),t.bookSheets?w.SheetNames:t.bookProps))return w;o={};var _={};t.bookDeps&&s.calcchain&&(_=KN(pr(e,La(s.calcchain)),s.calcchain));var E=0,b={},F,k;{var U=p.Sheets;v.Worksheets=U.length,v.SheetNames=[];for(var I=0;I!=U.length;++I)v.SheetNames[I]=U[I].name}var W=c?"bin":"xml",D=s.workbooks[0].lastIndexOf("/"),ee=(s.workbooks[0].slice(0,D+1)+"_rels/"+s.workbooks[0].slice(D+1)+".rels").replace(/^\//,"");za(e,ee)||(ee="xl/_rels/workbook."+W+".rels");var X=Cc(_a(e,ee,!0),ee.replace(/_rels.*/,"s5s"));(s.metadata||[]).length>=1&&(t.xlmeta=$N(pr(e,La(s.metadata[0])),s.metadata[0],t)),(s.people||[]).length>=1&&(t.people=DF(pr(e,La(s.people[0])),t)),X&&(X=g9(X,p.Sheets));var ne=pr(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(E=0;E!=v.Worksheets;++E){var re="sheet";if(X&&X[E]?(F="xl/"+X[E][1].replace(/[\/]?xl\//,""),za(e,F)||(F=X[E][1]),za(e,F)||(F=ee.replace(/_rels\/.*$/,"")+X[E][1]),re=X[E][2]):(F="xl/worksheets/sheet"+(E+1-ne)+"."+W,F=F.replace(/sheet0\./,"sheet.")),k=F.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(E!=t.sheets)continue e;break;case"string":if(v.SheetNames[E].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var Q=!1,me=0;me!=t.sheets.length;++me)typeof t.sheets[me]=="number"&&t.sheets[me]==E&&(Q=1),typeof t.sheets[me]=="string"&&t.sheets[me].toLowerCase()==v.SheetNames[E].toLowerCase()&&(Q=1);if(!Q)continue e}}y9(e,F,k,v.SheetNames[E],E,b,o,re,t,p,h,d)}return w={Directory:s,Workbook:p,Props:v,Custprops:S,Deps:_,Sheets:o,SheetNames:v.SheetNames,Strings:Fc,Styles:d,Themes:h,SSF:Xt(Ke)},t&&t.bookFiles&&(e.files?(w.keys=n,w.files=e.files):(w.keys=[],w.files={},e.FullPaths.forEach(function(Ce,ve){Ce=Ce.replace(/^Root Entry[\/]/,""),w.keys.push(Ce),w.files[Ce]=e.FileIndex[ve]}))),t&&t.bookVBA&&(s.vba.length>0?w.vbaraw=pr(e,La(s.vba[0]),!0):s.defaults&&s.defaults.bin===zF&&(w.vbaraw=pr(e,"xl/vbaProject.bin",!0))),w}function S9(e,t){var r=t||{},n="Workbook",s=Ge.find(e,n);try{if(n="/!DataSpaces/Version",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);if($6(s.content),n="/!DataSpaces/DataSpaceMap",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);var c=J6(s.content);if(c.length!==1||c[0].comps.length!==1||c[0].comps[0].t!==0||c[0].name!=="StrongEncryptionDataSpace"||c[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=eC(s.content);if(o.length!=1||o[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);rC(s.content)}catch{}if(n="/EncryptionInfo",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);var u=aC(s.content);if(n="/EncryptedPackage",s=Ge.find(e,n),!s||!s.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(u[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(u[1],s.content,r.password||"",r);if(u[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(u[1],s.content,r.password||"",r);throw new Error("File is password-protected")}function E9(e,t){return t.bookType=="ods"?FS(e,t):t.bookType=="numbers"?m9(e,t):t.bookType=="xlsb"?w9(e,t):T9(e,t)}function w9(e,t){il=1024,e&&!e.SSF&&(e.SSF=Xt(Ke)),e&&e.SSF&&(El(),wf(e.SSF),t.revssf=bf(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,Rc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=aS.indexOf(t.bookType)>-1,s=E1();U1(t=t||{});var c=c1(),o="",u=0;if(t.cellXfs=[],ki(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",st(c,o,y_(e.Props,t)),s.coreprops.push(o),Ft(t.rels,2,o,ut.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var h=[],d=0;d<e.SheetNames.length;++d)(e.Workbook.Sheets[d]||{}).Hidden!=2&&h.push(e.SheetNames[d]);e.Props.SheetNames=h}for(e.Props.Worksheets=e.Props.SheetNames.length,st(c,o,E_(e.Props)),s.extprops.push(o),Ft(t.rels,3,o,ut.EXT_PROPS),e.Custprops!==e.Props&&ar(e.Custprops||{}).length>0&&(o="docProps/custom.xml",st(c,o,w_(e.Custprops)),s.custprops.push(o),Ft(t.rels,4,o,ut.CUST_PROPS)),u=1;u<=e.SheetNames.length;++u){var p={"!id":{}},v=e.Sheets[e.SheetNames[u-1]],g=(v||{})["!type"]||"sheet";switch(g){case"chart":default:o="xl/worksheets/sheet"+u+"."+r,st(c,o,JN(u-1,o,t,e,p)),s.sheets.push(o),Ft(t.wbrels,-1,"worksheets/sheet"+u+"."+r,ut.WS[0])}if(v){var S=v["!comments"],w=!1,_="";S&&S.length>0&&(_="xl/comments"+u+"."+r,st(c,_,r7(S,_)),s.comments.push(_),Ft(p,-1,"../comments"+u+"."+r,ut.CMNT),w=!0),v["!legacy"]&&w&&st(c,"xl/drawings/vmlDrawing"+u+".vml",tS(u,v["!comments"])),delete v["!comments"],delete v["!legacy"]}p["!id"].rId1&&st(c,Hc(o),ll(p))}return t.Strings!=null&&t.Strings.length>0&&(o="xl/sharedStrings."+r,st(c,o,t7(t.Strings,o,t)),s.strs.push(o),Ft(t.wbrels,-1,"sharedStrings."+r,ut.SST)),o="xl/workbook."+r,st(c,o,QN(e,o)),s.workbooks.push(o),Ft(t.rels,1,o,ut.WB),o="xl/theme/theme1.xml",st(c,o,C1(e.Themes,t)),s.themes.push(o),Ft(t.wbrels,-1,"theme/theme1.xml",ut.THEME),o="xl/styles."+r,st(c,o,e7(e,o,t)),s.styles.push(o),Ft(t.wbrels,-1,"styles."+r,ut.STY),e.vbaraw&&n&&(o="xl/vbaProject.bin",st(c,o,e.vbaraw),s.vba.push(o),Ft(t.wbrels,-1,"vbaProject.bin",ut.VBA)),o="xl/metadata."+r,st(c,o,a7(o)),s.metadata.push(o),Ft(t.wbrels,-1,"metadata."+r,ut.XLMETA),st(c,"[Content_Types].xml",m_(s,t)),st(c,"_rels/.rels",ll(t.rels)),st(c,"xl/_rels/workbook."+r+".rels",ll(t.wbrels)),delete t.revssf,delete t.ssf,c}function T9(e,t){il=1024,e&&!e.SSF&&(e.SSF=Xt(Ke)),e&&e.SSF&&(El(),wf(e.SSF),t.revssf=bf(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,Rc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=aS.indexOf(t.bookType)>-1,s=E1();U1(t=t||{});var c=c1(),o="",u=0;if(t.cellXfs=[],ki(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",st(c,o,y_(e.Props,t)),s.coreprops.push(o),Ft(t.rels,2,o,ut.CORE_PROPS),o="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var h=[],d=0;d<e.SheetNames.length;++d)(e.Workbook.Sheets[d]||{}).Hidden!=2&&h.push(e.SheetNames[d]);e.Props.SheetNames=h}e.Props.Worksheets=e.Props.SheetNames.length,st(c,o,E_(e.Props)),s.extprops.push(o),Ft(t.rels,3,o,ut.EXT_PROPS),e.Custprops!==e.Props&&ar(e.Custprops||{}).length>0&&(o="docProps/custom.xml",st(c,o,w_(e.Custprops)),s.custprops.push(o),Ft(t.rels,4,o,ut.CUST_PROPS));var p=["SheetJ5"];for(t.tcid=0,u=1;u<=e.SheetNames.length;++u){var v={"!id":{}},g=e.Sheets[e.SheetNames[u-1]],S=(g||{})["!type"]||"sheet";switch(S){case"chart":default:o="xl/worksheets/sheet"+u+"."+r,st(c,o,xS(u-1,t,e,v)),s.sheets.push(o),Ft(t.wbrels,-1,"worksheets/sheet"+u+"."+r,ut.WS[0])}if(g){var w=g["!comments"],_=!1,E="";if(w&&w.length>0){var b=!1;w.forEach(function(F){F[1].forEach(function(k){k.T==!0&&(b=!0)})}),b&&(E="xl/threadedComments/threadedComment"+u+"."+r,st(c,E,OF(w,p,t)),s.threadedcomments.push(E),Ft(v,-1,"../threadedComments/threadedComment"+u+"."+r,ut.TCMNT)),E="xl/comments"+u+"."+r,st(c,E,rS(w)),s.comments.push(E),Ft(v,-1,"../comments"+u+"."+r,ut.CMNT),_=!0}g["!legacy"]&&_&&st(c,"xl/drawings/vmlDrawing"+u+".vml",tS(u,g["!comments"])),delete g["!comments"],delete g["!legacy"]}v["!id"].rId1&&st(c,Hc(o),ll(v))}return t.Strings!=null&&t.Strings.length>0&&(o="xl/sharedStrings."+r,st(c,o,V_(t.Strings,t)),s.strs.push(o),Ft(t.wbrels,-1,"sharedStrings."+r,ut.SST)),o="xl/workbook."+r,st(c,o,yS(e)),s.workbooks.push(o),Ft(t.rels,1,o,ut.WB),o="xl/theme/theme1.xml",st(c,o,C1(e.Themes,t)),s.themes.push(o),Ft(t.wbrels,-1,"theme/theme1.xml",ut.THEME),o="xl/styles."+r,st(c,o,$_(e,t)),s.styles.push(o),Ft(t.wbrels,-1,"styles."+r,ut.STY),e.vbaraw&&n&&(o="xl/vbaProject.bin",st(c,o,e.vbaraw),s.vba.push(o),Ft(t.wbrels,-1,"vbaProject.bin",ut.VBA)),o="xl/metadata."+r,st(c,o,eS()),s.metadata.push(o),Ft(t.wbrels,-1,"metadata."+r,ut.XLMETA),p.length>1&&(o="xl/persons/person.xml",st(c,o,NF(p)),s.people.push(o),Ft(t.wbrels,-1,"persons/person.xml",ut.PEOPLE)),st(c,"[Content_Types].xml",m_(s,t)),st(c,"_rels/.rels",ll(t.rels)),st(c,"xl/_rels/workbook."+r+".rels",ll(t.wbrels)),delete t.revssf,delete t.ssf,c}function j1(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Sa(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function b9(e,t){return Ge.find(e,"EncryptedPackage")?S9(e,t):wS(e,t)}function k9(e,t){var r,n=e,s=t||{};return s.type||(s.type=ot&&Buffer.isBuffer(e)?"buffer":"base64"),r=Xy(n,s),_9(r,s)}function OS(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Md(e.slice(r),t);default:break e}return dl.to_workbook(e,t)}function A9(e,t){var r="",n=j1(e,t);switch(t.type){case"base64":r=Sa(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=ss(e);break;default:throw new Error("Unrecognized type "+t.type)}return n[0]==239&&n[1]==187&&n[2]==191&&(r=Lt(r)),t.type="binary",OS(r,t)}function C9(e,t){var r=e;return t.type=="base64"&&(r=Sa(r)),r=Bc.utils.decode(1200,r.slice(2),"str"),t.type="binary",OS(r,t)}function F9(e){return e.match(/[^\x00-\x7F]/)?pn(e):e}function dd(e,t,r,n){return n?(r.type="string",dl.to_workbook(e,r)):dl.to_workbook(t,r)}function Ud(e,t){a1();var r=t||{};if(typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer)return Ud(new Uint8Array(e),(r=Xt(r),r.type="array",r));typeof Uint8Array<"u"&&e instanceof Uint8Array&&!r.type&&(r.type=typeof Deno<"u"?"buffer":"array");var n=e,s=[0,0,0,0],c=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),ol={},r.dateNF&&(ol.dateNF=r.dateNF),r.type||(r.type=ot&&Buffer.isBuffer(e)?"buffer":"base64"),r.type=="file"&&(r.type=ot?"buffer":"binary",n=wA(e),typeof Uint8Array<"u"&&!ot&&(r.type="array")),r.type=="string"&&(c=!0,r.type="binary",r.codepage=65001,n=F9(e)),r.type=="array"&&typeof Uint8Array<"u"&&e instanceof Uint8Array&&typeof ArrayBuffer<"u"){var o=new ArrayBuffer(3),u=new Uint8Array(o);if(u.foo="bar",!u.foo)return r=Xt(r),r.type="array",Ud(n1(n),r)}switch((s=j1(n,r))[0]){case 208:if(s[1]===207&&s[2]===17&&s[3]===224&&s[4]===161&&s[5]===177&&s[6]===26&&s[7]===225)return b9(Ge.read(n,r),r);break;case 9:if(s[1]<=8)return wS(n,r);break;case 60:return Md(n,r);case 73:if(s[1]===73&&s[2]===42&&s[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(s[1]===68)return M6(n,r);break;case 84:if(s[1]===65&&s[2]===66&&s[3]===76)return P_.to_workbook(n,r);break;case 80:return s[1]===75&&s[2]<9&&s[3]<9?k9(n,r):dd(e,n,r,c);case 239:return s[3]===60?Md(n,r):dd(e,n,r,c);case 255:if(s[1]===254)return C9(n,r);if(s[1]===0&&s[2]===2&&s[3]===0)return ts.to_workbook(n,r);break;case 0:if(s[1]===0&&(s[2]>=2&&s[3]===0||s[2]===0&&(s[3]===8||s[3]===9)))return ts.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return Nd.to_workbook(n,r);case 123:if(s[1]===92&&s[2]===114&&s[3]===116)return Y_.to_workbook(n,r);break;case 10:case 13:case 32:return A9(n,r);case 137:if(s[1]===80&&s[2]===78&&s[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return N6.indexOf(s[0])>-1&&s[2]<=12&&s[3]<=31?Nd.to_workbook(n,r):dd(e,n,r,c)}function DS(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return r0(t.file,Ge.write(e,{type:ot?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Ge.write(e,t)}function R9(e,t){var r=Xt(t||{}),n=E9(e,r);return O9(n,r)}function O9(e,t){var r={},n=ot?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var s=e.FullPaths?Ge.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof s=="string"){if(t.type=="binary"||t.type=="base64")return s;s=new Uint8Array(Ef(s))}return t.password&&typeof encrypt_agile<"u"?DS(encrypt_agile(s,t.password),t):t.type==="file"?r0(t.file,s):t.type=="string"?Lt(s):s}function D9(e,t){var r=t||{},n=F7(e,r);return DS(n,r)}function xn(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Uc(pn(n));case"binary":return pn(n);case"string":return e;case"file":return r0(t.file,n,"utf8");case"buffer":return ot?Hn(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):xn(n,{type:"binary"}).split("").map(function(s){return s.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function N9(e,t){switch(t.type){case"base64":return Uc(e);case"binary":return e;case"string":return e;case"file":return r0(t.file,e,"binary");case"buffer":return ot?Hn(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Io(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?Uc(r):t.type=="string"?Lt(r):r;case"file":return r0(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function NS(e,t){a1(),bN(e);var r=Xt(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=NS(e,r);return r.type="array",Ef(n)}var s=0;if(r.sheet&&(typeof r.sheet=="number"?s=r.sheet:s=e.SheetNames.indexOf(r.sheet),!e.SheetNames[s]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return xn(E7(e,r),r);case"slk":case"sylk":return xn(z_.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"htm":case"html":return xn(bS(e.Sheets[e.SheetNames[s]],r),r);case"txt":return N9(MS(e.Sheets[e.SheetNames[s]],r),r);case"csv":return xn(I1(e.Sheets[e.SheetNames[s]],r),r,"\uFEFF");case"dif":return xn(P_.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"dbf":return Io(Nd.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"prn":return xn(dl.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"rtf":return xn(Y_.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"eth":return xn(H_.from_sheet(e.Sheets[e.SheetNames[s]],r),r);case"fods":return xn(FS(e,r),r);case"wk1":return Io(ts.sheet_to_wk1(e.Sheets[e.SheetNames[s]],r),r);case"wk3":return Io(ts.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Io(TS(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),D9(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return R9(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function M9(e,t,r,n,s,c,o,u){var h=lr(r),d=u.defval,p=u.raw||!Object.prototype.hasOwnProperty.call(u,"raw"),v=!0,g=s===1?[]:{};if(s!==1)if(Object.defineProperty)try{Object.defineProperty(g,"__rowNum__",{value:r,enumerable:!1})}catch{g.__rowNum__=r}else g.__rowNum__=r;if(!o||e[r])for(var S=t.s.c;S<=t.e.c;++S){var w=o?e[r][S]:e[n[S]+h];if(w===void 0||w.t===void 0){if(d===void 0)continue;c[S]!=null&&(g[c[S]]=d);continue}var _=w.v;switch(w.t){case"z":if(_==null)break;continue;case"e":_=_==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+w.t)}if(c[S]!=null){if(_==null)if(w.t=="e"&&_===null)g[c[S]]=null;else if(d!==void 0)g[c[S]]=d;else if(p&&_===null)g[c[S]]=null;else continue;else g[c[S]]=p&&(w.t!=="n"||w.t==="n"&&u.rawNumbers!==!1)?_:Pn(w,_,u);_!=null&&(v=!1)}}return{row:g,isempty:v}}function df(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,s=1,c=[],o=0,u="",h={s:{r:0,c:0},e:{r:0,c:0}},d=t||{},p=d.range!=null?d.range:e["!ref"];switch(d.header===1?n=1:d.header==="A"?n=2:Array.isArray(d.header)?n=3:d.header==null&&(n=0),typeof p){case"string":h=_t(p);break;case"number":h=_t(e["!ref"]),h.s.r=p;break;default:h=p}n>0&&(s=0);var v=lr(h.s.r),g=[],S=[],w=0,_=0,E=Array.isArray(e),b=h.s.r,F=0,k={};E&&!e[b]&&(e[b]=[]);var U=d.skipHidden&&e["!cols"]||[],I=d.skipHidden&&e["!rows"]||[];for(F=h.s.c;F<=h.e.c;++F)if(!(U[F]||{}).hidden)switch(g[F]=Zt(F),r=E?e[b][F]:e[g[F]+v],n){case 1:c[F]=F-h.s.c;break;case 2:c[F]=g[F];break;case 3:c[F]=d.header[F-h.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),u=o=Pn(r,null,d),_=k[o]||0,!_)k[o]=1;else{do u=o+"_"+_++;while(k[u]);k[o]=_,k[u]=1}c[F]=u}for(b=h.s.r+s;b<=h.e.r;++b)if(!(I[b]||{}).hidden){var W=M9(e,h,b,g,n,c,E,d);(W.isempty===!1||(n===1?d.blankrows!==!1:d.blankrows))&&(S[w++]=W.row)}return S.length=w,S}var S2=/"/g;function L9(e,t,r,n,s,c,o,u){for(var h=!0,d=[],p="",v=lr(r),g=t.s.c;g<=t.e.c;++g)if(n[g]){var S=u.dense?(e[r]||[])[g]:e[n[g]+v];if(S==null)p="";else if(S.v!=null){h=!1,p=""+(u.rawNumbers&&S.t=="n"?S.v:Pn(S,null,u));for(var w=0,_=0;w!==p.length;++w)if((_=p.charCodeAt(w))===s||_===c||_===34||u.forceQuotes){p='"'+p.replace(S2,'""')+'"';break}p=="ID"&&(p='"ID"')}else S.f!=null&&!S.F?(h=!1,p="="+S.f,p.indexOf(",")>=0&&(p='"'+p.replace(S2,'""')+'"')):p="";d.push(p)}return u.blankrows===!1&&h?null:d.join(o)}function I1(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var s=_t(e["!ref"]),c=n.FS!==void 0?n.FS:",",o=c.charCodeAt(0),u=n.RS!==void 0?n.RS:`
`,h=u.charCodeAt(0),d=new RegExp((c=="|"?"\\|":c)+"+$"),p="",v=[];n.dense=Array.isArray(e);for(var g=n.skipHidden&&e["!cols"]||[],S=n.skipHidden&&e["!rows"]||[],w=s.s.c;w<=s.e.c;++w)(g[w]||{}).hidden||(v[w]=Zt(w));for(var _=0,E=s.s.r;E<=s.e.r;++E)(S[E]||{}).hidden||(p=L9(e,s,E,v,o,h,c,n),p!=null&&(n.strip&&(p=p.replace(d,"")),(p||n.blankrows!==!1)&&r.push((_++?u:"")+p)));return delete n.dense,r.join("")}function MS(e,t){t||(t={}),t.FS="	",t.RS=`
`;var r=I1(e,t);return r}function B9(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var s=_t(e["!ref"]),c="",o=[],u,h=[],d=Array.isArray(e);for(u=s.s.c;u<=s.e.c;++u)o[u]=Zt(u);for(var p=s.s.r;p<=s.e.r;++p)for(c=lr(p),u=s.s.c;u<=s.e.c;++u)if(t=o[u]+c,r=d?(e[p]||[])[u]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}h[h.length]=t+"="+n}return h}function LS(e,t,r){var n=r||{},s=+!n.skipHeader,c=e||{},o=0,u=0;if(c&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var h=typeof n.origin=="string"?$t(n.origin):n.origin;o=h.r,u=h.c}var d,p={s:{c:0,r:0},e:{c:u,r:o+t.length-1+s}};if(c["!ref"]){var v=_t(c["!ref"]);p.e.c=Math.max(p.e.c,v.e.c),p.e.r=Math.max(p.e.r,v.e.r),o==-1&&(o=v.e.r+1,p.e.r=o+t.length-1+s)}else o==-1&&(o=0,p.e.r=t.length-1+s);var g=n.header||[],S=0;t.forEach(function(_,E){ar(_).forEach(function(b){(S=g.indexOf(b))==-1&&(g[S=g.length]=b);var F=_[b],k="z",U="",I=$e({c:u+S,r:o+E+s});d=Kc(c,I),F&&typeof F=="object"&&!(F instanceof Date)?c[I]=F:(typeof F=="number"?k="n":typeof F=="boolean"?k="b":typeof F=="string"?k="s":F instanceof Date?(k="d",n.cellDates||(k="n",F=yr(F)),U=n.dateNF||Ke[14]):F===null&&n.nullError&&(k="e",F=0),d?(d.t=k,d.v=F,delete d.w,delete d.R,U&&(d.z=U)):c[I]=d={t:k,v:F},U&&(d.z=U))})}),p.e.c=Math.max(p.e.c,u+g.length-1);var w=lr(o);if(s)for(S=0;S<g.length;++S)c[Zt(S+u)+w]={t:"s",v:g[S]};return c["!ref"]=at(p),c}function U9(e,t){return LS(null,e,t)}function Kc(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=$t(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Kc(e,$e(t)):Kc(e,$e({r:t,c:r||0}))}function j9(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function z1(){return{SheetNames:[],Sheets:{}}}function P1(e,t,r,n){var s=1;if(!r)for(;s<=65535&&e.SheetNames.indexOf(r="Sheet"+s)!=-1;++s,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var c=r.match(/(^.*?)(\d+)$/);s=c&&+c[2]||0;var o=c&&c[1]||r;for(++s;s<=65535&&e.SheetNames.indexOf(r=o+s)!=-1;++s);}if(gS(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function I9(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=j9(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function z9(e,t){return e.z=t,e}function BS(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function P9(e,t,r){return BS(e,"#"+t,r)}function H9(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function V9(e,t,r,n){for(var s=typeof t!="string"?t:_t(t),c=typeof t=="string"?t:at(t),o=s.s.r;o<=s.e.r;++o)for(var u=s.s.c;u<=s.e.c;++u){var h=Kc(e,o,u);h.t="n",h.F=c,delete h.v,o==s.s.r&&u==s.s.c&&(h.f=r,n&&(h.D=!0))}return e}var vi={encode_col:Zt,encode_row:lr,encode_cell:$e,encode_range:at,decode_col:m1,decode_row:p1,split_cell:t8,decode_cell:$t,decode_range:la,format_cell:Pn,sheet_add_aoa:o_,sheet_add_json:LS,sheet_add_dom:kS,aoa_to_sheet:wl,json_to_sheet:U9,table_to_sheet:AS,table_to_book:$7,sheet_to_csv:I1,sheet_to_txt:MS,sheet_to_json:df,sheet_to_html:bS,sheet_to_formulae:B9,sheet_to_row_object_array:df,sheet_get_cell:Kc,book_new:z1,book_append_sheet:P1,book_set_sheet_visibility:I9,cell_set_number_format:z9,cell_set_hyperlink:BS,cell_set_internal_link:P9,cell_add_comment:H9,sheet_set_array_formula:V9,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const W9=()=>{const[e,t]=q.useState("import"),[r,n]=q.useState(null),[s,c]=q.useState(!1),[o,u]=q.useState("idle"),[h,d]=q.useState(""),[p,v]=q.useState(0),g=q.useRef(null),S=()=>{u("idle"),d(""),v(0)},w=I=>{I.preventDefault(),I.stopPropagation(),I.type==="dragenter"||I.type==="dragover"?c(!0):I.type==="dragleave"&&c(!1)},_=I=>{if(I.preventDefault(),I.stopPropagation(),c(!1),S(),I.dataTransfer.files&&I.dataTransfer.files[0]){const W=I.dataTransfer.files[0];b(W)}},E=I=>{S(),I.target.files&&I.target.files[0]&&b(I.target.files[0])},b=async I=>{var X;const W=[".xlsx",".xls",".csv"],D=I.name.toLowerCase();if(!W.some(ne=>D.endsWith(ne))){u("error"),d("Formato no válido. Sube un archivo .xlsx, .xls o .csv."),n(null);return}if(I.size>20*1024*1024){u("error"),d("El archivo supera el límite de 20MB."),n(null);return}try{const ne=await I.arrayBuffer(),re=Ud(ne,{type:"array"}),Q=re.Sheets[re.SheetNames[0]],me=vi.decode_range(Q["!ref"]||"A1"),Ce=me.e.c+1;if(e==="delete")Ce>1?(u("warning"),d(`El archivo tiene ${Ce} columnas, pero la plantilla de borrado masivo solo debe contener la columna "placa". Es muy probable que estés intentando SUBIR/ACTUALIZAR placas en lugar de borrarlas. Revisa el archivo o cambia al modo SUBIR.`)):u("idle");else if(e==="import")if(Ce===1)u("warning"),d('El archivo solo tiene 1 columna. Para SUBIR/ACTUALIZAR placas se requiere al menos la columna "placa" y "nivel" (y opcionalmente ubicación/detalles). Es muy probable que estés usando una plantilla de BORRADO masivo por error. Revisa el archivo o cambia al modo BORRAR.');else{const ve=[];for(let Re=me.s.c;Re<=Math.min(me.e.c,3);Re++){const K=vi.encode_cell({r:me.s.r,c:Re}),Ae=(X=Q[K])==null?void 0:X.v;Ae&&ve.push(String(Ae).trim().toLowerCase())}const Z=ve.includes("placa"),ie=ve.includes("nivel");!Z||!ie?(u("warning"),d(`Las cabeceras del archivo no coinciden. La primera fila debe incluir "placa" y "nivel" de manera obligatoria. Cabeceras detectadas: [${ve.join(", ")}]. Por favor, usa la plantilla XLSX oficial.`)):u("idle")}}catch(ne){console.error("Error al pre-validar archivo:",ne)}n(I)},F=I=>{I.stopPropagation(),n(null),S(),g.current&&(g.current.value="")},k=()=>{o!=="loading"&&g.current&&g.current.click()},U=async()=>{var D,ee,X,ne;if(!r)return;u("loading"),v(10);const I=new FormData;I.append("excel",r);const W=e==="import"?"/api/v1/plates/import":"/api/v1/plates/delete-import";try{const re=await Dr.post(W,I,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:Q=>{const me=Q.total||r.size,Ce=Q.loaded,ve=Math.round(Ce*90/me)+10;v(Math.min(ve,95))}});v(100),setTimeout(()=>{re.data&&re.data.success?(u("success"),d(re.data.message||"Base de datos de placas procesada con éxito."),n(null)):(u("error"),d(re.data.error||"Ocurrió un error al procesar la subida."))},500)}catch(re){console.error("Error al subir archivo:",re),u("error");const Q=((ee=(D=re.response)==null?void 0:D.data)==null?void 0:ee.error)||((ne=(X=re.response)==null?void 0:X.data)==null?void 0:ne.message);d(Q||"Error de red o servidor. Intente de nuevo.")}};return y.jsxs("div",{className:"upload-screen-container",children:[y.jsxs("div",{style:{padding:"0.5rem 0.5rem 0 0.5rem"},children:[y.jsx("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--text-muted)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Consola del Sistema"}),y.jsx("h1",{style:{fontSize:"1.6rem",fontWeight:800,color:"var(--text-primary)",marginTop:"2px"},children:"Gestor de Base de Datos"})]}),y.jsxs("div",{className:"upload-slider-modes",children:[y.jsxs("button",{className:`upload-mode-btn ${e==="import"?"active-import":""}`,onClick:()=>{t("import"),S()},disabled:o==="loading",children:[y.jsx(lk,{size:14}),"SUBIR"]}),y.jsxs("button",{className:`upload-mode-btn ${e==="delete"?"active-delete":""}`,onClick:()=>{t("delete"),S()},disabled:o==="loading",children:[y.jsx($i,{size:14}),"BORRAR"]})]}),y.jsx("div",{className:"upload-center-illustration",children:y.jsx("div",{className:"illustration-circle-gradient",style:{background:e==="delete"?"linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-peach-light) 100%)":void 0},children:y.jsx(Qo,{size:28,color:e==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{transform:s?"scale(1.15)":"scale(1)",transition:"transform 0.25s"}})})}),y.jsxs("div",{className:`upload-dropzone ${s?"drag-active":""}`,onDragEnter:w,onDragOver:w,onDragLeave:w,onDrop:_,onClick:k,style:{borderColor:e==="delete"&&s?"var(--accent-red)":void 0,background:e==="delete"&&s?"var(--accent-red-light)":void 0},children:[y.jsx("input",{ref:g,type:"file",accept:".xlsx,.xls,.csv",onChange:E,style:{display:"none"},disabled:o==="loading"}),o==="loading"?y.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[y.jsx(Ha,{size:36,color:e==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{animation:"spin 1.5s linear infinite"}}),y.jsx("span",{style:{fontWeight:700,fontSize:"0.95rem",color:"var(--text-primary)"},children:"Procesando base de datos..."}),y.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Importando registros al motor de alta velocidad."}),y.jsx("div",{className:"progress-bar-container",children:y.jsx("div",{className:"progress-bar-fill",style:{width:`${p}%`,background:e==="delete"?"var(--accent-red)":"var(--accent-purple)"}})}),y.jsxs("span",{style:{fontSize:"0.7rem",fontWeight:800,color:e==="delete"?"var(--accent-red)":"var(--accent-purple)",letterSpacing:"0.5px"},children:[p,"% COMPLETADO"]})]}):r?y.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[y.jsx("div",{style:{background:e==="delete"?"var(--accent-red-light)":"var(--accent-purple-light)",borderRadius:"50%",width:"52px",height:"52px",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(wy,{size:24,color:e==="delete"?"var(--accent-red)":"var(--accent-purple)"})}),y.jsxs("div",{style:{width:"100%",maxWidth:"280px"},children:[y.jsx("div",{style:{fontWeight:800,fontSize:"0.9rem",color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r.name}),y.jsxs("div",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",marginTop:"2px"},children:[(r.size/1024).toFixed(1)," KB • Compatible"]})]}),y.jsxs("div",{style:{display:"flex",gap:"8px",width:"100%",maxWidth:"240px",marginTop:"10px"},children:[y.jsx("button",{onClick:F,style:{width:"44px",height:"44px",borderRadius:"12px",border:"1px solid rgba(239, 68, 68, 0.15)",background:"var(--accent-red-light)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--accent-red)",transition:"all 0.2s"},title:"Eliminar archivo",children:y.jsx($i,{size:16})}),y.jsxs("button",{onClick:I=>{I.stopPropagation(),U()},style:{flex:1,borderRadius:"12px",border:"none",background:e==="delete"?"var(--accent-red)":"var(--accent-purple)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",boxShadow:e==="delete"?"0 4px 12px rgba(239, 68, 68, 0.2)":"0 4px 12px rgba(123, 82, 242, 0.2)"},children:[y.jsx(ug,{size:14}),"EJECUTAR PROCESO"]})]})]}):y.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[y.jsx(ug,{size:32,color:"var(--text-secondary)",style:{marginBottom:"1rem",opacity:.8}}),y.jsx("span",{style:{fontWeight:800,fontSize:"0.95rem",color:"var(--text-primary)",marginBottom:"4px"},children:"Arrastra tu archivo aquí"}),y.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"o haz clic para explorar en tu equipo"}),y.jsx("div",{style:{fontSize:"0.65rem",color:"var(--text-muted)",marginTop:"1.2rem",background:"var(--bg-surface)",padding:"6px 12px",borderRadius:"8px",fontWeight:700},children:"RECOMENDADO .XLSX • COMPATIBLE .XLS .CSV • MÁX. 20MB"})]})]}),o==="warning"&&y.jsxs("div",{className:"upload-alert-card",style:{background:"rgba(245, 158, 11, 0.08)",border:"1px solid rgba(245, 158, 11, 0.2)",borderRadius:"20px",padding:"14px 18px",display:"flex",gap:"12px",alignItems:"flex-start"},children:[y.jsx(Jo,{size:20,color:"#D97706",style:{flexShrink:0,marginTop:"2px"}}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"#D97706",letterSpacing:"0.5px"},children:"ADVERTENCIA — ARCHIVO CON COLUMNAS EXTRA"}),y.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)",lineHeight:"1.4"},children:h}),y.jsx("span",{style:{fontSize:"0.68rem",color:"var(--text-secondary)",marginTop:"4px"},children:"Puedes continuar si estás seguro, pero revisa el archivo antes de ejecutar el proceso."})]})]}),o==="success"&&y.jsxs("div",{className:"upload-alert-card success",children:[y.jsx(tk,{size:20,color:"var(--accent-green)",style:{flexShrink:0}}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-green)",letterSpacing:"0.5px"},children:"PROCESO EXITOSO"}),y.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:h})]})]}),o==="error"&&y.jsxs("div",{className:"upload-alert-card error",children:[y.jsx($b,{size:20,color:"var(--accent-red)",style:{flexShrink:0}}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-red)",letterSpacing:"0.5px"},children:"ERROR AL PROCESAR"}),y.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:h})]})]}),y.jsx("div",{style:{minHeight:"60px"}})]})},X9=()=>{const{user:e}=_l(),[t,r]=q.useState([]),[n,s]=q.useState(!1),[c,o]=q.useState(!1),[u,h]=q.useState(!1),[d,p]=q.useState(!1),[v,g]=q.useState(!1),[S,w]=q.useState(null),[_,E]=q.useState({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),[b,F]=q.useState(""),[k,U]=q.useState(""),[I,W]=q.useState(""),[D,ee]=q.useState(1),[X,ne]=q.useState(!0),[re,Q]=q.useState(!1),me=async(O,Y,de=!1)=>{O===1?s(!0):Q(!0);try{const ge=await Dr.get("/api/v1/users",{params:{q:Y,page:O}});if(ge.data&&ge.data.success){const pe=ge.data.data,Ee=ge.data.meta;r(de||O===1?pe:He=>{const V=new Set(He.map(qe=>qe.id)),ft=pe.filter(qe=>!V.has(qe.id));return[...He,...ft]}),ne(Ee.has_more),ee(O)}}catch(ge){console.error("Error fetching users from server:",ge)}finally{s(!1),Q(!1)}};q.useEffect(()=>{const O=setTimeout(()=>{me(1,I,!0)},400);return()=>clearTimeout(O)},[I]);const Ce=O=>{const Y=O.currentTarget;Y.scrollHeight-Y.scrollTop<=Y.clientHeight+40&&!n&&!re&&X&&me(D+1,I)},ve=O=>{const{name:Y,value:de,type:ge}=O.target;let pe=de;ge==="checkbox"?pe=O.target.checked:(Y==="role"||Y==="level")&&(pe=parseInt(de,10)),E(Ee=>({...Ee,[Y]:pe}))},Z=()=>{F(""),U(""),E({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),h(!0)},ie=O=>{F(""),U(""),w(O),E({username:O.username,name:O.name,email:O.email||"",password:"",role:O.role,level:O.level,user_status:O.user_status}),p(!0)},Re=O=>{F(""),w(O),g(!0)},K=async O=>{var Y,de,ge,pe;O.preventDefault(),o(!0),F("");try{const Ee=await Dr.post("/api/v1/users",_);Ee.data&&Ee.data.success&&(U("Usuario creado correctamente"),setTimeout(()=>{h(!1),me(1,I,!0)},1e3))}catch(Ee){F(((de=(Y=Ee.response)==null?void 0:Y.data)==null?void 0:de.error)||((pe=(ge=Ee.response)==null?void 0:ge.data)==null?void 0:pe.message)||"Error al crear usuario.")}finally{o(!1)}},Ae=async O=>{var de,ge,pe,Ee;if(O.preventDefault(),!S)return;o(!0),F("");const Y={..._};Y.password||delete Y.password;try{const He=await Dr.put(`/api/v1/users/${S.id}`,Y);He.data&&He.data.success&&(U("Usuario actualizado correctamente"),setTimeout(()=>{p(!1),me(1,I,!0)},1e3))}catch(He){F(((ge=(de=He.response)==null?void 0:de.data)==null?void 0:ge.error)||((Ee=(pe=He.response)==null?void 0:pe.data)==null?void 0:Ee.message)||"Error al actualizar usuario.")}finally{o(!1)}},j=async()=>{var O,Y;if(S){o(!0),F("");try{const de=await Dr.delete(`/api/v1/users/${S.id}`);de.data&&de.data.success&&(g(!1),me(1,I,!0))}catch(de){F(((Y=(O=de.response)==null?void 0:O.data)==null?void 0:Y.error)||"Error al eliminar usuario.")}finally{o(!1)}}},A=async O=>{var Y,de;try{const ge=!O.user_status,pe=await Dr.put(`/api/v1/users/${O.id}`,{username:O.username,name:O.name,email:O.email,role:O.role,level:O.level,user_status:ge});pe.data&&pe.data.success&&r(Ee=>Ee.map(He=>He.id===O.id?{...He,user_status:ge}:He))}catch(ge){alert(((de=(Y=ge.response)==null?void 0:Y.data)==null?void 0:de.error)||"No fue posible cambiar el estado del usuario")}},P=O=>O===0?"Super Admin":O===1?"Administrador":"Usuario",L=O=>{switch(O){case 1:return"Nivel 1";case 2:return"Nivel 2";case 3:return"Nivel 3";case 4:return"Nivel 4";default:return`Nivel ${O}`}};return y.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[y.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{className:"date-text",children:"Gestión del Sistema"}),y.jsx("h1",{className:"user-title",children:"Gestor de Usuarios"})]})}),y.jsx("div",{className:"search-pill-wrapper",style:{padding:"0 1.5rem 1rem 1.5rem"},children:y.jsxs("div",{className:"search-pill-container",style:{height:"44px",borderRadius:"22px"},children:[y.jsx(Lc,{size:18,color:"var(--text-secondary)"}),y.jsx("input",{type:"text",placeholder:"Buscar usuario...",value:I,onChange:O=>W(O.target.value),style:{fontSize:"0.85rem"}}),I&&y.jsx("button",{onClick:()=>W(""),style:{border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(Qi,{size:16})})]})}),y.jsx("div",{className:"results-list-container",onScroll:Ce,style:{flex:1,paddingBottom:"1rem"},children:n?y.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:y.jsx(Ha,{size:32,className:"spin",color:"var(--accent-purple)"})}):t.length>0?t.map(O=>y.jsxs("div",{className:"plate-row-card",style:{opacity:O.user_status?1:.7,background:"var(--bg-card)",transition:"all 0.25s",padding:"12px 14px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"12px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",minWidth:0,flex:1},children:[y.jsxs("div",{className:"plate-avatar-badge",style:{background:O.role===0?"rgba(251, 191, 36, 0.12)":O.role===1?"var(--accent-purple-light)":"var(--accent-blue-light)",color:O.role===0?"#D97706":O.role===1?"var(--accent-purple)":"var(--accent-blue)",position:"relative",width:"38px",height:"38px",flexShrink:0},children:[O.name.substring(0,2).toUpperCase(),O.online_status&&y.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:"8px",height:"8px",borderRadius:"50%",background:"var(--accent-green)",border:"2px solid var(--bg-card)"},title:"En línea"})]}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"3px",minWidth:0,flex:1},children:[y.jsx("span",{style:{fontSize:"0.85rem",fontWeight:700,color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:O.name}),y.jsxs("div",{style:{display:"flex",gap:"4px",flexWrap:"wrap"},children:[y.jsx("span",{style:{fontSize:"0.58rem",fontWeight:800,padding:"1px 5px",borderRadius:"5px",background:O.role===0?"rgba(251, 191, 36, 0.15)":O.role===1?"var(--accent-purple-light)":"rgba(78, 167, 252, 0.1)",color:O.role===0?"#D97706":O.role===1?"var(--accent-purple)":"var(--accent-blue)",letterSpacing:"0.3px",textTransform:"uppercase"},children:P(O.role)}),y.jsx("span",{style:{fontSize:"0.58rem",fontWeight:800,padding:"1px 5px",borderRadius:"5px",background:"var(--bg-surface)",color:"var(--text-secondary)",letterSpacing:"0.3px",border:"1px solid rgba(0,0,0,0.02)"},children:L(O.level)})]})]})]}),y.jsx("div",{style:{display:"flex",gap:"6px",flexShrink:0,alignItems:"center"},children:O.role===0?y.jsx("div",{style:{width:"30px",height:"30px",borderRadius:"8px",background:"rgba(251, 191, 36, 0.08)",border:"1px solid rgba(251, 191, 36, 0.2)",display:"flex",alignItems:"center",justifyContent:"center",color:"#D97706"},title:"Super Admin protegido — sin acciones disponibles",children:y.jsx(Td,{size:12})}):y.jsxs(y.Fragment,{children:[y.jsx("button",{className:"circle-btn",onClick:()=>A(O),style:{width:"30px",height:"30px",borderRadius:"8px",color:O.user_status?"var(--accent-green)":"var(--text-muted)",background:O.user_status?"rgba(34, 197, 94, 0.08)":"rgba(255, 255, 255, 0.04)",border:O.user_status?"1px solid rgba(34, 197, 94, 0.15)":"1px solid rgba(255, 255, 255, 0.08)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},title:O.user_status?"Desactivar Usuario":"Activar Usuario",children:y.jsx(by,{size:12})}),y.jsx("button",{className:"circle-btn",onClick:()=>ie(O),style:{width:"30px",height:"30px",borderRadius:"8px",border:"1px solid rgba(123, 82, 242, 0.08)",display:"flex",alignItems:"center",justifyContent:"center"},title:"Editar",children:y.jsx(fg,{size:12})}),y.jsx("button",{className:"circle-btn",onClick:()=>Re(O),disabled:(e==null?void 0:e.id)===O.id,style:{width:"30px",height:"30px",borderRadius:"8px",color:(e==null?void 0:e.id)===O.id?"var(--text-muted)":"var(--accent-red)",background:(e==null?void 0:e.id)===O.id?"transparent":"rgba(239, 68, 68, 0.05)",border:(e==null?void 0:e.id)===O.id?"1px solid rgba(0,0,0,0.03)":"1px solid rgba(239, 68, 68, 0.1)",cursor:(e==null?void 0:e.id)===O.id?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center"},title:(e==null?void 0:e.id)===O.id?"No puedes eliminarte a ti mismo":"Eliminar",children:y.jsx($i,{size:12})})]})})]},O.id)):y.jsx("div",{style:{textAlign:"center",padding:"3rem 1.5rem",color:"var(--text-secondary)"},children:"No se encontraron usuarios"})}),re&&y.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"10px 0 20px 0",gap:"8px"},children:[y.jsx(Ha,{size:18,className:"spin",color:"var(--accent-purple)"}),y.jsx("span",{style:{fontSize:"0.75rem",fontWeight:600,color:"var(--text-secondary)"},children:"Cargando más usuarios..."})]}),y.jsx("button",{onClick:Z,title:"Nuevo Usuario",style:{position:"absolute",bottom:"100px",right:"24px",width:"52px",height:"52px",borderRadius:"50%",background:"var(--accent-purple)",color:"#FFFFFF",border:"none",boxShadow:"0 8px 24px rgba(123, 82, 242, 0.4)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:90,transition:"all 0.2s ease"},children:y.jsx(hg,{size:22})}),u&&y.jsx("div",{style:xd,children:y.jsxs("div",{className:"soft-card",style:pd,children:[y.jsxs("div",{style:E2,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[y.jsx(hg,{size:16,color:"var(--accent-purple)"}),y.jsx("h3",{style:{fontSize:"0.95rem",fontWeight:800},children:"Nuevo Usuario"})]}),y.jsx("button",{className:"circle-btn",onClick:()=>h(!1),style:{width:"28px",height:"28px"},children:y.jsx(Qi,{size:16})})]}),y.jsxs("form",{onSubmit:K,style:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"6px"},children:[b&&y.jsx("div",{style:md,children:b}),k&&y.jsx("div",{style:w2,children:k}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nombre Completo"}),y.jsx("input",{type:"text",name:"name",value:_.name,onChange:ve,placeholder:"Ej: Andres Perez",required:!0,style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nombre de Usuario (Login)"}),y.jsx("input",{type:"text",name:"username",value:_.username,onChange:ve,placeholder:"Ej: andres_perez",required:!0,style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Correo Electrónico (Opcional)"}),y.jsx("input",{type:"email",name:"email",value:_.email,onChange:ve,placeholder:"correo@ejemplo.com",style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Contraseña"}),y.jsx("input",{type:"password",name:"password",value:_.password,onChange:ve,placeholder:"Mínimo 6 caracteres",required:!0,style:mi})]}),y.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Rol"}),y.jsxs("select",{name:"role",value:_.role,onChange:ve,style:zo,children:[y.jsx("option",{value:2,children:"Usuario"}),y.jsx("option",{value:1,children:"Administrador"})]})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nivel de Acceso"}),y.jsxs("select",{name:"level",value:_.level,onChange:ve,style:zo,children:[y.jsx("option",{value:1,children:"Nivel 1"}),y.jsx("option",{value:2,children:"Nivel 2"}),y.jsx("option",{value:3,children:"Nivel 3"}),y.jsx("option",{value:4,children:"Nivel 4"})]})]})]}),y.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"6px",height:"38px",borderRadius:"12px",fontSize:"0.8rem"},disabled:c,children:c?y.jsx(Ha,{size:16,className:"spin"}):"REGISTRAR USUARIO"})]})]})}),d&&S&&y.jsx("div",{style:xd,children:y.jsxs("div",{className:"soft-card",style:pd,children:[y.jsxs("div",{style:E2,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[y.jsx(fg,{size:16,color:"var(--accent-purple)"}),y.jsx("h3",{style:{fontSize:"0.95rem",fontWeight:800},children:"Editar Usuario"})]}),y.jsx("button",{className:"circle-btn",onClick:()=>p(!1),style:{width:"28px",height:"28px"},children:y.jsx(Qi,{size:16})})]}),y.jsxs("form",{onSubmit:Ae,style:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"6px"},children:[b&&y.jsx("div",{style:md,children:b}),k&&y.jsx("div",{style:w2,children:k}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nombre Completo"}),y.jsx("input",{type:"text",name:"name",value:_.name,onChange:ve,required:!0,style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nombre de Usuario"}),y.jsx("input",{type:"text",name:"username",value:_.username,onChange:ve,required:!0,style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Correo Electrónico (Opcional)"}),y.jsx("input",{type:"email",name:"email",value:_.email,onChange:ve,style:mi})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsxs("label",{style:{...Ba,display:"flex",alignItems:"center",gap:"4px"},children:[y.jsx(Td,{size:12})," Nueva Contraseña (Dejar vacío para no cambiar)"]}),y.jsx("input",{type:"password",name:"password",value:_.password,onChange:ve,placeholder:"Contraseña nueva (opcional)",style:mi})]}),y.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Rol"}),y.jsxs("select",{name:"role",value:_.role,onChange:ve,style:zo,children:[y.jsx("option",{value:2,children:"Usuario"}),y.jsx("option",{value:1,children:"Administrador"})]})]}),y.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[y.jsx("label",{style:Ba,children:"Nivel de Acceso"}),y.jsxs("select",{name:"level",value:_.level,onChange:ve,style:zo,children:[y.jsx("option",{value:1,children:"Nivel 1"}),y.jsx("option",{value:2,children:"Nivel 2"}),y.jsx("option",{value:3,children:"Nivel 3"}),y.jsx("option",{value:4,children:"Nivel 4"})]})]})]}),y.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"6px",height:"38px",borderRadius:"12px",fontSize:"0.8rem"},disabled:c,children:c?y.jsx(Ha,{size:16,className:"spin"}):"GUARDAR CAMBIOS"})]})]})}),v&&S&&y.jsx("div",{style:xd,children:y.jsxs("div",{className:"soft-card",style:{...pd,maxWidth:"320px",textAlign:"center"},children:[y.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--accent-red)"},children:y.jsx($i,{size:44})}),y.jsx("h3",{style:{fontSize:"1.1rem",fontWeight:800,color:"var(--text-primary)"},children:"¿Eliminar usuario?"}),y.jsxs("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",marginTop:"6px",lineHeight:"1.4"},children:["Esta acción es permanente y eliminará a ",y.jsx("strong",{children:S.name})," (@",S.username,") de la base de datos junto con sus dispositivos autorizados."]}),b&&y.jsx("div",{style:{...md,marginTop:"10px"},children:b}),y.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"20px"},children:[y.jsx("button",{onClick:()=>g(!1),style:{flex:1,height:"42px",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.05)",background:"var(--bg-surface)",color:"var(--text-primary)",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"CANCELAR"}),y.jsx("button",{onClick:j,style:{flex:1,height:"42px",borderRadius:"12px",border:"none",background:"var(--accent-red)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},disabled:c,children:c?y.jsx(Ha,{size:14,className:"spin"}):"ELIMINAR"})]})]})})]})},xd={position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(18, 19, 26, 0.4)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",zIndex:300,display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem"},pd={width:"100%",maxWidth:"340px",background:"var(--bg-card)",borderRadius:"20px",padding:"1.2rem",boxShadow:"var(--shadow-soft)",animation:"scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1)",border:"1px solid rgba(255,255,255,0.08)"},E2={display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"0.6rem",color:"var(--text-primary)"},zo={width:"100%",height:"38px",borderRadius:"12px",background:"var(--bg-surface)",border:"1px solid transparent",padding:"0 10px",fontSize:"0.8rem",fontWeight:600,color:"var(--text-primary)",outline:"none",cursor:"pointer"},mi={height:"38px",borderRadius:"12px",padding:"0 12px",fontSize:"0.8rem"},Ba={fontSize:"0.68rem",marginBottom:"2px",display:"block"},md={background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"8px 12px",borderRadius:"10px",fontSize:"0.75rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.1)"},w2={background:"var(--accent-green-light)",color:"var(--accent-green)",padding:"8px 12px",borderRadius:"10px",fontSize:"0.75rem",fontWeight:600,border:"1px solid rgba(16, 185, 129, 0.1)"},G9=()=>new Promise((e,t)=>{if(window.jsQR){e(window.jsQR);return}const r=document.createElement("script");r.src="https://cdn.jsdelivr.net/npm/jsqr@1.4.0/dist/jsQR.min.js",r.async=!0,r.onload=()=>{e(window.jsQR)},r.onerror=n=>{t(n)},document.body.appendChild(r)}),q9=()=>{const[e,t]=q.useState(()=>document.body.classList.contains("dark"));q.useEffect(()=>{const be=new MutationObserver(()=>{t(document.body.classList.contains("dark"))});return be.observe(document.body,{attributes:!0,attributeFilter:["class"]}),()=>be.disconnect()},[]);const[r,n]=q.useState("devices"),[s,c]=q.useState(1),[o,u]=q.useState([]),[h,d]=q.useState(!1),[p,v]=q.useState(!1),[g,S]=q.useState(null),[w,_]=q.useState(!1),[E,b]=q.useState(null),[F,k]=q.useState(!1),[U,I]=q.useState(""),[W,D]=q.useState([]),[ee,X]=q.useState(null),[ne,re]=q.useState(""),[Q,me]=q.useState(""),[Ce,ve]=q.useState(!1),[Z,ie]=q.useState(!1),[Re,K]=q.useState(!1),[Ae,j]=q.useState(null),A=q.useRef(null),P=q.useRef(null),L=q.useRef(null),[O,Y]=q.useState(""),[de,ge]=q.useState(1),[pe,Ee]=q.useState(!0),[He,V]=q.useState(!1),ft=async(be,Ze,Je=!1)=>{be===1?d(!0):V(!0);try{const ct=await Dr.get("/api/v1/uuids",{params:{q:Ze,page:be}});if(ct.data&&ct.data.success){const ze=ct.data.data,nt=ct.data.meta;u(Je||be===1?ze:Ot=>{const lt=new Set(Ot.map(Kt=>Kt.id)),zt=ze.filter(Kt=>!lt.has(Kt.id));return[...Ot,...zt]}),Ee(nt.has_more),ge(be)}}catch(ct){console.error("Error fetching devices:",ct)}finally{d(!1),V(!1)}};q.useEffect(()=>{if(r!=="devices")return;const be=setTimeout(()=>{ft(1,O,!0)},400);return()=>clearTimeout(be)},[O,r]),q.useEffect(()=>{if(!F||!U.trim()){D([]);return}const be=setTimeout(async()=>{try{const Ze=await Dr.get("/api/v1/users",{params:{q:U}});Ze.data&&Ze.data.success&&D(Ze.data.data)}catch(Ze){console.error("Error buscando usuarios:",Ze)}},300);return()=>clearTimeout(be)},[U,F]);const qe=be=>{const Ze=be.currentTarget;Ze.scrollHeight-Ze.scrollTop<=Ze.clientHeight+40&&!h&&!He&&pe&&ft(de+1,O)},tt=(be,Ze)=>{navigator.clipboard.writeText(be),S(Ze),setTimeout(()=>S(null),2e3)},Ne=async be=>{var Ze,Je;try{const ct=be.status===1?0:1,ze=await Dr.put(`/api/v1/uuids/${be.id}`,{status:ct});ze.data&&ze.data.success&&u(nt=>nt.map(Ot=>Ot.id===be.id?{...Ot,status:ct}:Ot))}catch(ct){alert(((Je=(Ze=ct.response)==null?void 0:Ze.data)==null?void 0:Je.error)||"No fue posible cambiar el estado del dispositivo")}},De=be=>{b(be),_(!0)},vt=async()=>{var be,Ze;if(E){v(!0);try{const Je=await Dr.delete(`/api/v1/uuids/${E.id}`);Je.data&&Je.data.success&&(_(!1),ft(1,O,!0))}catch(Je){alert(((Ze=(be=Je.response)==null?void 0:be.data)==null?void 0:Ze.error)||"Error al eliminar el dispositivo")}finally{v(!1)}}},Bt=async()=>{try{me(""),await G9();const be=await navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});j(be),K(!0),A.current&&(A.current.srcObject=be,A.current.setAttribute("playsinline","true"),A.current.play())}catch(be){console.error("Error al acceder a la cámara:",be),me("No se pudo iniciar la cámara. Por favor verifica los permisos."),K(!1)}},Qt=()=>{L.current&&(cancelAnimationFrame(L.current),L.current=null),Ae&&(Ae.getTracks().forEach(be=>be.stop()),j(null)),K(!1)};q.useEffect(()=>{if(!Re||!Ae)return;const be=()=>{if(!(!A.current||!P.current||!Re)){if(A.current.readyState===A.current.HAVE_ENOUGH_DATA){const Ze=P.current,Je=Ze.getContext("2d");if(Je){Ze.height=200,Ze.width=260,Je.drawImage(A.current,0,0,Ze.width,Ze.height);const ct=Je.getImageData(0,0,Ze.width,Ze.height),ze=window.jsQR(ct.data,ct.width,ct.height,{inversionAttempts:"dontInvert"});if(ze&&ze.data){const nt=ze.data.trim();if(nt.includes("|")){const Ot=nt.split("|");if(Ot.length===2){const[lt,zt]=Ot;re(zt),I(lt),Dr.get("/api/v1/users",{params:{q:lt}}).then(Kt=>{if(Kt.data&&Kt.data.success&&Kt.data.data.length>0){const _r=Kt.data.data.find(bl=>bl.username.toLowerCase()===lt.toLowerCase());X(_r||Kt.data.data[0])}}).catch(Kt=>console.error("Error al buscar usuario escaneado:",Kt))}}else re(nt);Qt(),ie(!0);return}}}L.current=requestAnimationFrame(be)}};return L.current=requestAnimationFrame(be),()=>{L.current&&cancelAnimationFrame(L.current)}},[Re,Ae]),q.useEffect(()=>()=>{Ae&&Ae.getTracks().forEach(be=>be.stop())},[Ae]),q.useEffect(()=>{if(F){ie(!1);const be=setTimeout(()=>{Bt()},200);return()=>clearTimeout(be)}else Qt()},[F]);const br=async be=>{var Ze,Je;if(be.preventDefault(),!ee){me("Por favor selecciona un usuario.");return}if(!ne.trim()){me("Por favor ingresa o escanea un UUID.");return}ve(!0),me("");try{const ct=await Dr.post("/api/v1/uuids",{user_id:ee.id,uuid:ne.trim(),status:1});ct.data&&ct.data.success&&(k(!1),X(null),re(""),I(""),ft(1,O,!0))}catch(ct){me(((Je=(Ze=ct.response)==null?void 0:Ze.data)==null?void 0:Je.error)||"Error al vincular el dispositivo.")}finally{ve(!1)}},Lr=()=>{Qt(),k(!1),X(null),re(""),I(""),me("")},ca=(be,Ze)=>{const Je=NS(Ze,{bookType:"xlsx",type:"array"}),ct=new Blob([Je],{type:"application/octet-stream"}),ze=URL.createObjectURL(ct),nt=document.createElement("a");nt.href=ze,nt.download=be,document.body.appendChild(nt),nt.click(),document.body.removeChild(nt),URL.revokeObjectURL(ze)},bt=()=>{const be=vi.book_new(),ct=[["placa","nivel","ubicacion","detalles"],...[["ABC123",1,"Entrada Principal","Vehículo autorizado para visitantes"],["XYZ789",3,"Zonas Críticas","Vehículo de supervisión institucional"]]],ze=vi.aoa_to_sheet(ct);ze["!cols"]=[{wch:12},{wch:8},{wch:28},{wch:40}];const nt={fill:{fgColor:{rgb:"7B52F2"}},font:{bold:!0,color:{rgb:"FFFFFF"},sz:11},alignment:{horizontal:"center",vertical:"center"},border:{bottom:{style:"medium",color:{rgb:"5A3DC8"}}}};["A1","B1","C1","D1"].forEach(lt=>{ze[lt]&&(ze[lt].s=nt)});const Ot={fill:{fgColor:{rgb:"F4F0FF"}},font:{sz:10},alignment:{horizontal:"left",vertical:"center"}};["A2","B2","C2","D2","A3","B3","C3","D3"].forEach(lt=>{ze[lt]&&(ze[lt].s=Ot)}),vi.book_append_sheet(be,ze,"Carga_Placas"),ca("plantilla_carga_placas.xlsx",be)},oa=()=>{const be=vi.book_new(),ct=[["placa"],...[["ABC123"],["XYZ789"]]],ze=vi.aoa_to_sheet(ct);ze["!cols"]=[{wch:14}];const nt={fill:{fgColor:{rgb:"DC2626"}},font:{bold:!0,color:{rgb:"FFFFFF"},sz:11},alignment:{horizontal:"center",vertical:"center"},border:{bottom:{style:"medium",color:{rgb:"A31414"}}}};ze.A1&&(ze.A1.s=nt);const Ot={fill:{fgColor:{rgb:"FEF2F2"}},font:{sz:10},alignment:{horizontal:"center",vertical:"center"}};["A2","A3"].forEach(lt=>{ze[lt]&&(ze[lt].s=Ot)}),vi.book_append_sheet(be,ze,"Borrado_Masivo"),ca("plantilla_borrado_placas.xlsx",be)};return y.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%",overflow:"hidden"},children:[y.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingBottom:"0.8rem"},children:y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[y.jsx("span",{className:"date-text",children:"Configuración Global de Orion"}),y.jsx("h1",{className:"user-title",children:"Ajustes del Sistema"})]})}),y.jsxs("div",{style:{display:"flex",gap:"4px",margin:"0 1.5rem 1rem 1.5rem",padding:"4px",background:e?"#191B24":"#EBF0F5",borderRadius:"16px",border:e?"1px solid rgba(255, 255, 255, 0.03)":"1px solid rgba(255, 255, 255, 0.8)",boxShadow:e?"inset 4px 4px 8px #0C0D10, inset -4px -4px 8px #2A2C37":"inset 4px 4px 8px #C1C9D4, inset -4px -4px 8px #FFFFFF"},children:[y.jsxs("button",{onClick:()=>n("devices"),style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",padding:"11px 8px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:700,cursor:"pointer",transition:"all 0.2s ease",outline:"none",border:r==="devices"?e?"1px solid rgba(255, 255, 255, 0.05)":"1px solid rgba(255, 255, 255, 0.9)":"1px solid transparent",background:r==="devices"?"var(--accent-purple)":"transparent",color:r==="devices"?"#FFFFFF":"var(--text-secondary)",boxShadow:r==="devices"?e?"3px 3px 6px rgba(0, 0, 0, 0.3), inset 1.5px 1.5px 2px rgba(255,255,255,0.2)":"3px 3px 6px rgba(123, 82, 242, 0.35), inset 1.5px 1.5px 2px rgba(255,255,255,0.4)":"none"},children:[y.jsx(og,{size:14,color:r==="devices"?"#FFFFFF":"currentColor"}),"Dispositivos"]}),y.jsxs("button",{onClick:()=>n("templates"),style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",padding:"11px 8px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:700,cursor:"pointer",transition:"all 0.2s ease",outline:"none",border:r==="templates"?e?"1px solid rgba(255, 255, 255, 0.05)":"1px solid rgba(255, 255, 255, 0.9)":"1px solid transparent",background:r==="templates"?"var(--accent-purple)":"transparent",color:r==="templates"?"#FFFFFF":"var(--text-secondary)",boxShadow:r==="templates"?e?"3px 3px 6px rgba(0, 0, 0, 0.3), inset 1.5px 1.5px 2px rgba(255,255,255,0.2)":"3px 3px 6px rgba(123, 82, 242, 0.35), inset 1.5px 1.5px 2px rgba(255,255,255,0.4)":"none"},children:[y.jsx(Qo,{size:14,color:r==="templates"?"#FFFFFF":"currentColor"}),"Plantillas y Guía"]}),y.jsxs("button",{onClick:()=>n("security"),style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",padding:"11px 8px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:700,cursor:"pointer",transition:"all 0.2s ease",outline:"none",border:r==="security"?e?"1px solid rgba(255, 255, 255, 0.05)":"1px solid rgba(255, 255, 255, 0.9)":"1px solid transparent",background:r==="security"?"var(--accent-purple)":"transparent",color:r==="security"?"#FFFFFF":"var(--text-secondary)",boxShadow:r==="security"?e?"3px 3px 6px rgba(0, 0, 0, 0.3), inset 1.5px 1.5px 2px rgba(255,255,255,0.2)":"3px 3px 6px rgba(123, 82, 242, 0.35), inset 1.5px 1.5px 2px rgba(255,255,255,0.4)":"none"},children:[y.jsx(bd,{size:14,color:r==="security"?"#FFFFFF":"currentColor"}),"Seguridad"]})]}),y.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:[r==="devices"&&y.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:[y.jsxs("div",{style:{display:"flex",gap:"8px",padding:"1rem 1.5rem 0.2rem 1.5rem",alignItems:"center",justifyContent:"space-between"},children:[y.jsx("span",{style:{fontSize:"0.8rem",fontWeight:700,color:"var(--text-secondary)"},children:"Equipos Autorizados"}),y.jsxs("button",{onClick:()=>k(!0),style:{display:"flex",alignItems:"center",gap:"6px",padding:"8px 12px",borderRadius:"10px",background:"var(--accent-purple)",color:"#FFFFFF",border:"none",fontSize:"0.75rem",fontWeight:700,cursor:"pointer",outline:"none",transition:"opacity 0.2s"},onMouseEnter:be=>be.currentTarget.style.opacity="0.9",onMouseLeave:be=>be.currentTarget.style.opacity="1",children:[y.jsx(cg,{size:14}),"VINCULAR DISPOSITIVO"]})]}),y.jsx("div",{className:"search-pill-wrapper",style:{padding:"0.8rem 1.5rem"},children:y.jsxs("div",{className:"search-pill-container",style:{height:"44px",borderRadius:"22px"},children:[y.jsx(Lc,{size:18,color:"var(--text-secondary)"}),y.jsx("input",{type:"text",placeholder:"Buscar por UUID o usuario...",value:O,onChange:be=>Y(be.target.value),style:{fontSize:"0.85rem"}}),O&&y.jsx("button",{onClick:()=>Y(""),style:{border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(Qi,{size:16})})]})}),y.jsx("div",{className:"results-list-container",onScroll:qe,style:{flex:1,paddingBottom:"1rem"},children:h?y.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:y.jsx(Ha,{size:32,className:"spin",color:"var(--accent-purple)"})}):o.length>0?o.map(be=>y.jsxs("div",{className:"plate-row-card",style:{opacity:be.status===1?1:.65,background:"var(--bg-card)",transition:"all 0.25s",padding:"12px 14px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"12px",marginBottom:"8px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",minWidth:0,flex:1},children:[y.jsx("div",{className:"plate-avatar-badge",style:{background:"var(--bg-surface)",color:"var(--text-secondary)",width:"38px",height:"38px",flexShrink:0,borderRadius:"10px",border:"1px solid rgba(255,255,255,0.05)",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(og,{size:18})}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"3px",minWidth:0,flex:1},children:[y.jsx("span",{style:{fontSize:"0.85rem",fontWeight:700,color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:be.user?be.user.name:"Usuario Desconocido"}),y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[y.jsx("span",{style:{fontSize:"0.68rem",fontFamily:"monospace",color:"var(--text-secondary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"160px"},title:be.uuid,children:be.uuid}),y.jsx("button",{onClick:()=>tt(be.uuid,be.id),style:{border:"none",background:"transparent",cursor:"pointer",color:g===be.id?"var(--accent-green)":"var(--text-muted)",padding:"2px",display:"flex",alignItems:"center",justifyContent:"center",outline:"none"},title:"Copiar UUID",children:g===be.id?y.jsx($o,{size:11}):y.jsx(wd,{size:11})})]})]})]}),y.jsxs("div",{style:{display:"flex",gap:"6px",flexShrink:0,alignItems:"center"},children:[y.jsx("button",{className:"circle-btn",onClick:()=>Ne(be),style:{width:"30px",height:"30px",borderRadius:"8px",color:be.status===1?"var(--accent-green)":"var(--text-muted)",background:be.status===1?"rgba(34, 197, 94, 0.08)":"rgba(255, 255, 255, 0.04)",border:be.status===1?"1px solid rgba(34, 197, 94, 0.15)":"1px solid rgba(255, 255, 255, 0.08)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none"},title:be.status===1?"Desactivar Dispositivo":"Activar Dispositivo",children:y.jsx(by,{size:12})}),y.jsx("button",{className:"circle-btn",onClick:()=>De(be),style:{width:"30px",height:"30px",borderRadius:"8px",color:"var(--accent-red)",background:"rgba(239, 68, 68, 0.05)",border:"1px solid rgba(239, 68, 68, 0.1)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none"},title:"Eliminar",children:y.jsx($i,{size:12})})]})]},be.id)):y.jsx("div",{style:{textAlign:"center",padding:"3rem 1.5rem",color:"var(--text-secondary)"},children:"No se encontraron dispositivos autorizados"})}),He&&y.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"10px 0 20px 0",gap:"8px"},children:[y.jsx(Ha,{size:18,className:"spin",color:"var(--accent-purple)"}),y.jsx("span",{style:{fontSize:"0.75rem",fontWeight:600,color:"var(--text-secondary)"},children:"Cargando más..."})]})]}),r==="templates"&&y.jsxs("div",{style:{flex:1,overflowY:"auto",padding:"1rem 1.5rem 5rem 1.5rem",display:"flex",flexDirection:"column",gap:"1.2rem"},children:[y.jsxs("div",{className:"soft-card",style:{padding:"16px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px"},children:[y.jsx("div",{style:{background:e?"rgba(168, 85, 247, 0.1)":"var(--accent-purple-light)",color:"var(--accent-purple)",width:"32px",height:"32px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(ok,{size:16})}),y.jsx("h3",{style:{fontSize:"0.9rem",fontWeight:800,color:"var(--text-primary)"},children:"Plantillas Excel (.xlsx)"})]}),y.jsx("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",lineHeight:"1.4",marginBottom:"14px"},children:"Descarga los archivos Excel nativos listos para diligenciar. Solo abre, rellena los datos y sube el archivo — sin configuraciones adicionales."}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[y.jsxs("button",{onClick:bt,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"10px",height:"42px",borderRadius:"12px",background:"var(--accent-purple)",color:"#FFFFFF",border:"none",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",transition:"opacity 0.2s",outline:"none"},onMouseEnter:be=>be.currentTarget.style.opacity="0.9",onMouseLeave:be=>be.currentTarget.style.opacity="1",children:[y.jsx(Qo,{size:16}),"PLANTILLA DE CARGA (UPSERT) .XLSX"]}),y.jsxs("button",{onClick:oa,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"10px",height:"42px",borderRadius:"12px",background:e?"rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.03)",color:e?"#FFFFFF":"var(--text-primary)",border:e?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(0, 0, 0, 0.06)",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",transition:"background 0.2s, color 0.2s, border-color 0.2s",outline:"none"},onMouseEnter:be=>be.currentTarget.style.background=e?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.06)",onMouseLeave:be=>be.currentTarget.style.background=e?"rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.03)",children:[y.jsx($i,{size:16,color:"var(--accent-red)"}),"PLANTILLA DE BORRADO MASIVO .XLSX"]})]})]}),y.jsxs("div",{className:"soft-card",style:{padding:"16px"},children:[y.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"14px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[y.jsx("div",{style:{background:e?"rgba(168, 85, 247, 0.1)":"var(--accent-purple-light)",color:"var(--accent-purple)",width:"32px",height:"32px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(Vb,{size:16})}),y.jsx("h3",{style:{fontSize:"0.9rem",fontWeight:800,color:"var(--text-primary)"},children:"Guía de Uso Rápido"})]}),y.jsxs("span",{style:{fontSize:"0.72rem",fontWeight:700,color:"var(--accent-purple)",background:"rgba(168, 85, 247, 0.08)",padding:"2px 8px",borderRadius:"20px"},children:["Paso ",s," de 3"]})]}),y.jsxs("div",{style:{minHeight:"160px",display:"flex",flexDirection:"column",justifyContent:"center"},children:[s===1&&y.jsxs("div",{children:[y.jsx("h4",{style:{fontSize:"0.82rem",fontWeight:700,color:"var(--text-primary)",marginBottom:"6px"},children:"1. Descarga el Archivo CSV"}),y.jsx("p",{style:{fontSize:"0.76rem",color:"var(--text-secondary)",lineHeight:"1.4"},children:"Utiliza los botones de arriba para descargar el formato compatible. Microsoft Excel puede abrir y editar estos archivos de forma nativa."}),y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginTop:"10px",background:e?"rgba(255,255,255,0.02)":"rgba(0,0,0,0.02)",padding:"8px 12px",borderRadius:"8px",border:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.04)"},children:[y.jsx(vk,{size:14,color:"var(--accent-purple)",style:{flexShrink:0}}),y.jsx("span",{style:{fontSize:"0.7rem",color:"var(--text-muted)",lineHeight:"1.3"},children:"Asegúrate de NO modificar la cabecera (primera fila) del archivo. Solo rellena las filas de datos y guarda."})]})]}),s===2&&y.jsxs("div",{children:[y.jsx("h4",{style:{fontSize:"0.82rem",fontWeight:700,color:"var(--text-primary)",marginBottom:"8px"},children:"2. Estructura de las Columnas"}),y.jsx("div",{style:{overflowX:"auto"},children:y.jsxs("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"0.7rem",textAlign:"left",color:"var(--text-secondary)"},children:[y.jsx("thead",{children:y.jsxs("tr",{style:{borderBottom:e?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(0,0,0,0.08)"},children:[y.jsx("th",{style:{padding:"4px 0",fontWeight:700,color:"var(--text-primary)"},children:"Columna"}),y.jsx("th",{style:{padding:"4px 0",fontWeight:700,color:"var(--text-primary)"},children:"Obligatorio"}),y.jsx("th",{style:{padding:"4px 0",fontWeight:700,color:"var(--text-primary)"},children:"Formato"})]})}),y.jsxs("tbody",{children:[y.jsxs("tr",{style:{borderBottom:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.04)"},children:[y.jsx("td",{style:{padding:"5px 0",color:"var(--accent-purple)",fontFamily:"monospace"},children:"placa"}),y.jsx("td",{style:{padding:"5px 0"},children:"Sí"}),y.jsx("td",{style:{padding:"5px 0"},children:"6-7 letras/números (ej. ABC123)"})]}),y.jsxs("tr",{style:{borderBottom:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.04)"},children:[y.jsx("td",{style:{padding:"5px 0",color:"var(--accent-purple)",fontFamily:"monospace"},children:"nivel"}),y.jsx("td",{style:{padding:"5px 0"},children:"Sí (solo Carga)"}),y.jsx("td",{style:{padding:"5px 0"},children:"Entero del 1 al 4"})]}),y.jsxs("tr",{style:{borderBottom:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.04)"},children:[y.jsx("td",{style:{padding:"5px 0",color:"var(--accent-purple)",fontFamily:"monospace"},children:"ubicacion"}),y.jsx("td",{style:{padding:"5px 0"},children:"No"}),y.jsx("td",{style:{padding:"5px 0"},children:"Texto descriptivo libre"})]}),y.jsxs("tr",{children:[y.jsx("td",{style:{padding:"5px 0",color:"var(--accent-purple)",fontFamily:"monospace"},children:"detalles"}),y.jsx("td",{style:{padding:"5px 0"},children:"No"}),y.jsx("td",{style:{padding:"5px 0"},children:"Observaciones adicionales"})]})]})]})})]}),s===3&&y.jsxs("div",{children:[y.jsx("h4",{style:{fontSize:"0.82rem",fontWeight:700,color:"var(--text-primary)",marginBottom:"6px"},children:"3. Sube el Archivo en la Consola"}),y.jsxs("p",{style:{fontSize:"0.76rem",color:"var(--text-secondary)",lineHeight:"1.4"},children:["Dirígete a la pestaña de ",y.jsx("strong",{children:"Consola Excel"})," (icono de hoja de cálculo en el navbar inferior) y arrastra o selecciona el archivo .xlsx descargado."]}),y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginTop:"10px",background:"rgba(34, 197, 94, 0.04)",padding:"8px 12px",borderRadius:"8px",border:"1px solid rgba(34, 197, 94, 0.08)"},children:[y.jsx($o,{size:14,color:"var(--accent-green)",style:{flexShrink:0}}),y.jsx("span",{style:{fontSize:"0.7rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"¡Proceso Asíncrono! El servidor procesará los datos en segundo plano sin interrumpir tu navegación."})]})]})]}),y.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"16px",borderTop:e?"1px solid rgba(255,255,255,0.06)":"1px solid rgba(0,0,0,0.06)",paddingTop:"12px"},children:[y.jsxs("button",{onClick:()=>c(be=>Math.max(1,be-1)),disabled:s===1,style:{display:"flex",alignItems:"center",gap:"4px",background:"transparent",border:"none",color:s===1?"var(--text-muted)":e?"#FFFFFF":"var(--text-primary)",fontSize:"0.75rem",fontWeight:700,cursor:s===1?"default":"pointer",outline:"none"},children:[y.jsx(Ey,{size:16}),"Anterior"]}),y.jsxs("button",{onClick:()=>c(be=>Math.min(3,be+1)),disabled:s===3,style:{display:"flex",alignItems:"center",gap:"4px",background:"transparent",border:"none",color:s===3?"var(--text-muted)":e?"#FFFFFF":"var(--text-primary)",fontSize:"0.75rem",fontWeight:700,cursor:s===3?"default":"pointer",outline:"none"},children:["Siguiente",y.jsx(Kb,{size:16})]})]})]})]}),r==="security"&&y.jsxs("div",{style:{flex:1,overflowY:"auto",padding:"1rem 1.5rem 5rem 1.5rem",display:"flex",flexDirection:"column",gap:"1.2rem"},children:[y.jsxs("div",{className:"soft-card",style:{padding:"16px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px"},children:[y.jsx("div",{style:{background:e?"rgba(168, 85, 247, 0.1)":"var(--accent-purple-light)",color:"var(--accent-purple)",width:"32px",height:"32px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(Ay,{size:16})}),y.jsx("h3",{style:{fontSize:"0.9rem",fontWeight:800,color:"var(--text-primary)"},children:"Esquema de Roles"})]}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[y.jsxs("div",{style:{background:e?"rgba(251, 191, 36, 0.04)":"rgba(251, 191, 36, 0.06)",border:e?"1px solid rgba(251, 191, 36, 0.15)":"1px solid rgba(251, 191, 36, 0.25)",borderRadius:"12px",padding:"12px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"4px"},children:[y.jsx("span",{style:{fontSize:"0.62rem",fontWeight:800,color:"#92400e",background:"rgba(251, 191, 36, 0.25)",padding:"2px 8px",borderRadius:"20px"},children:"ROL 0"}),y.jsx("strong",{style:{fontSize:"0.8rem",color:"var(--text-primary)"},children:"Super Administrador"})]}),y.jsx("p",{style:{fontSize:"0.74rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Perfil exclusivo de desarrollador. No requiere autorización de dispositivo (UUID) para iniciar sesión. No puede ser eliminado, editado ni desactivado desde la aplicación."})]}),y.jsxs("div",{style:{background:e?"rgba(168, 85, 247, 0.04)":"var(--accent-purple-light)",border:e?"1px solid rgba(168, 85, 247, 0.12)":"1px solid rgba(168, 85, 247, 0.2)",borderRadius:"12px",padding:"12px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"4px"},children:[y.jsx("span",{style:{fontSize:"0.62rem",fontWeight:800,color:"#FFFFFF",background:"var(--accent-purple)",padding:"2px 8px",borderRadius:"20px"},children:"ROL 1"}),y.jsx("strong",{style:{fontSize:"0.8rem",color:"var(--text-primary)"},children:"Administrador del Sistema"})]}),y.jsx("p",{style:{fontSize:"0.74rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Control total sobre Orion API. Acceso exclusivo a la pestaña de Ajustes (UUIDs, descarga de plantillas, auditoría) y gestión de usuarios del sistema."})]}),y.jsxs("div",{style:{background:e?"rgba(255,255,255,0.02)":"rgba(0,0,0,0.02)",border:e?"1px solid rgba(255,255,255,0.05)":"1px solid rgba(0,0,0,0.05)",borderRadius:"12px",padding:"12px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"4px"},children:[y.jsx("span",{style:{fontSize:"0.62rem",fontWeight:800,color:e?"var(--text-secondary)":"var(--text-primary)",background:e?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.05)",padding:"2px 8px",borderRadius:"20px"},children:"ROL 2"}),y.jsx("strong",{style:{fontSize:"0.8rem",color:"var(--text-primary)"},children:"Usuario de Consulta / Operador"})]}),y.jsx("p",{style:{fontSize:"0.74rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Perfil limitado exclusivamente a la verificación del estado de placas vehiculares en tiempo real. No tiene visibilidad del panel de ajustes ni de usuarios."})]})]})]}),y.jsxs("div",{className:"soft-card",style:{padding:"16px"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px"},children:[y.jsx("div",{style:{background:e?"rgba(168, 85, 247, 0.1)":"var(--accent-purple-light)",color:"var(--accent-purple)",width:"32px",height:"32px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx(bd,{size:16})}),y.jsx("h3",{style:{fontSize:"0.9rem",fontWeight:800,color:"var(--text-primary)"},children:"Niveles de Placa (1 - 4)"})]}),y.jsx("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",lineHeight:"1.4",marginBottom:"14px"},children:"Niveles asignados a cada registro de placa para definir su estatus, visibilidad y criticidad ante una alerta de seguridad:"}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[y.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start",background:e?"rgba(255,255,255,0.01)":"rgba(0,0,0,0.01)",padding:"10px",borderRadius:"10px",border:e?"1px solid rgba(255,255,255,0.03)":"1px solid rgba(0,0,0,0.03)"},children:[y.jsx("span",{style:{fontSize:"0.7rem",fontWeight:800,color:e?"#FFFFFF":"var(--text-primary)",background:e?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.05)",padding:"2px 8px",borderRadius:"6px",flexShrink:0},children:"NIVEL 1"}),y.jsxs("div",{children:[y.jsx("strong",{style:{fontSize:"0.78rem",color:"var(--text-primary)",display:"block"},children:"Seguridad Básica / Público"}),y.jsx("span",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Acceso a vehículos estándar o de visitantes comunes sin alertas."})]})]}),y.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start",background:"rgba(59, 130, 246, 0.02)",padding:"10px",borderRadius:"10px",border:"1px solid rgba(59, 130, 246, 0.08)"},children:[y.jsx("span",{style:{fontSize:"0.7rem",fontWeight:800,color:"#FFFFFF",background:"var(--accent-blue)",padding:"2px 8px",borderRadius:"6px",flexShrink:0},children:"NIVEL 2"}),y.jsxs("div",{children:[y.jsx("strong",{style:{fontSize:"0.78rem",color:"var(--text-primary)",display:"block"},children:"Seguridad Intermedia"}),y.jsx("span",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Vehículos autorizados de contratistas o personal de planta recurrente."})]})]}),y.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start",background:"rgba(245, 158, 11, 0.02)",padding:"10px",borderRadius:"10px",border:"1px solid rgba(245, 158, 11, 0.08)"},children:[y.jsx("span",{style:{fontSize:"0.7rem",fontWeight:800,color:"#FFFFFF",background:e?"rgba(245, 158, 11, 0.4)":"#D97706",padding:"2px 8px",borderRadius:"6px",flexShrink:0},children:"NIVEL 3"}),y.jsxs("div",{children:[y.jsx("strong",{style:{fontSize:"0.78rem",color:"var(--text-primary)",display:"block"},children:"Seguridad Elevada"}),y.jsx("span",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Vehículos de directores, supervisores o entidades oficiales de control."})]})]}),y.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start",background:"rgba(239, 68, 68, 0.02)",padding:"10px",borderRadius:"10px",border:"1px solid rgba(239, 68, 68, 0.08)"},children:[y.jsx("span",{style:{fontSize:"0.7rem",fontWeight:800,color:"#FFFFFF",background:e?"rgba(239, 68, 68, 0.4)":"var(--accent-red)",padding:"2px 8px",borderRadius:"6px",flexShrink:0},children:"NIVEL 4"}),y.jsxs("div",{children:[y.jsxs("strong",{style:{fontSize:"0.78rem",color:"var(--text-primary)",display:"flex",alignItems:"center",gap:"4px"},children:["Restricción Absoluta",y.jsx(Jo,{size:12,color:"var(--accent-red)"})]}),y.jsx("span",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",lineHeight:"1.3"},children:"Alertas críticas inmediatas para vehículos de alta sensibilidad o restringidos."})]})]})]})]})]})]}),F&&y.jsx("div",{style:T2,children:y.jsxs("div",{className:"soft-card",style:{...b2,maxWidth:"360px",width:"100%",position:"relative"},children:[y.jsx("button",{onClick:Lr,style:{position:"absolute",top:"12px",right:"12px",border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",outline:"none"},children:y.jsx(Qi,{size:18})}),y.jsx("h3",{style:{fontSize:"1rem",fontWeight:800,color:"var(--text-primary)",marginBottom:"12px"},children:"Vincular Dispositivo"}),Q&&y.jsx("div",{style:{background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"8px 12px",borderRadius:"10px",fontSize:"0.75rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.1)",marginBottom:"12px"},children:Q}),y.jsxs("form",{onSubmit:br,style:{display:"flex",flexDirection:"column",gap:"12px"},children:[y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px",position:"relative"},children:[y.jsx("label",{style:{fontSize:"0.7rem",fontWeight:700,color:"var(--text-secondary)"},children:"1. Buscar Usuario / Operador"}),ee?y.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:e?"rgba(168, 85, 247, 0.08)":"var(--accent-purple-light)",border:e?"1px solid rgba(168, 85, 247, 0.2)":"1px solid rgba(168, 85, 247, 0.15)",padding:"8px 12px",borderRadius:"10px",fontSize:"0.8rem",color:"var(--text-primary)"},children:[y.jsxs("div",{children:[y.jsx("strong",{children:ee.name}),y.jsxs("span",{style:{fontSize:"0.7rem",color:"var(--text-secondary)",display:"block"},children:["@",ee.username]})]}),y.jsx("button",{type:"button",onClick:()=>X(null),style:{border:"none",background:"transparent",color:"var(--accent-red)",cursor:"pointer",outline:"none"},children:y.jsx(Qi,{size:14})})]}):y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"search-pill-container",style:{height:"38px",borderRadius:"10px",border:e?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(0,0,0,0.08)"},children:[y.jsx(Lc,{size:14,color:"var(--text-muted)"}),y.jsx("input",{type:"text",placeholder:"Escribe el nombre o usuario...",value:U,onChange:be=>I(be.target.value),style:{fontSize:"0.78rem"}})]}),W.length>0&&y.jsx("div",{style:{position:"absolute",top:"56px",left:0,right:0,background:"var(--bg-card)",border:e?"1px solid rgba(255,255,255,0.1)":"1px solid rgba(0,0,0,0.08)",borderRadius:"10px",maxHeight:"130px",overflowY:"auto",zIndex:310,boxShadow:"var(--shadow-soft)"},children:W.map(be=>y.jsxs("div",{onClick:()=>{X(be),D([])},style:{padding:"8px 12px",cursor:"pointer",borderBottom:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.04)",fontSize:"0.76rem",color:"var(--text-primary)",transition:"background 0.2s"},onMouseEnter:Ze=>Ze.currentTarget.style.background=e?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.03)",onMouseLeave:Ze=>Ze.currentTarget.style.background="transparent",children:[y.jsx("span",{style:{fontWeight:700},children:be.name}),y.jsxs("span",{style:{color:"var(--text-muted)",fontSize:"0.68rem",display:"block"},children:["@",be.username," • ",be.role===1?"Admin":"Operador"]})]},be.id))})]})]}),y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[y.jsx("label",{style:{fontSize:"0.7rem",fontWeight:700,color:"var(--text-secondary)"},children:"2. Identificador UUID"}),!Z&&y.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"8px",background:"rgba(0,0,0,0.2)",padding:"10px",borderRadius:"12px",border:e?"1px solid rgba(255,255,255,0.04)":"1px solid rgba(0,0,0,0.06)"},children:[y.jsxs("div",{style:{position:"relative",width:"260px",height:"200px",borderRadius:"8px",overflow:"hidden",border:"2px solid var(--accent-purple)",display:Re?"block":"none"},children:[y.jsx("video",{ref:A,style:{display:"none"}}),y.jsx("canvas",{ref:P,style:{width:"100%",height:"100%",display:"block"}}),y.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"2px",background:"var(--accent-red)",boxShadow:"0 0 8px var(--accent-red)",animation:"scannerLaser 2s linear infinite"}})]}),!Re&&y.jsxs("div",{style:{width:"260px",height:"200px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:"var(--bg-surface)",borderRadius:"8px",border:e?"1px dashed rgba(255,255,255,0.1)":"1px dashed rgba(0,0,0,0.15)"},children:[y.jsx(Ha,{className:"spin",size:24,color:"var(--accent-purple)"}),y.jsx("span",{style:{fontSize:"0.7rem",color:"var(--text-secondary)",marginTop:"8px"},children:"Iniciando cámara..."})]}),y.jsxs("button",{type:"button",onClick:()=>{Qt(),ie(!0)},style:{background:"transparent",border:"none",color:"var(--accent-purple)",cursor:"pointer",fontSize:"0.7rem",fontWeight:700,display:"flex",alignItems:"center",gap:"4px",outline:"none",marginTop:"4px"},children:[y.jsx(cg,{size:12}),"¿UUID enviado por chat? Ingresar manualmente"]})]}),Z&&y.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[y.jsxs("div",{style:{display:"flex",gap:"6px"},children:[y.jsx("div",{className:"search-pill-container",style:{height:"38px",borderRadius:"10px",border:e?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(0,0,0,0.08)",flex:1},children:y.jsx("input",{type:"text",placeholder:"Pega el UUID aquí (ej: orion_abc123...)",value:ne,onChange:be=>re(be.target.value),style:{fontSize:"0.78rem"}})}),y.jsx("button",{type:"button",onClick:async()=>{try{let be=await navigator.clipboard.readText();be=be.trim();const Ze=/UUID:\s*([a-zA-Z0-9_\-]+)/i,Je=be.match(Ze);Je&&Je[1]?re(Je[1]):re(be)}catch{alert("Por favor mantén presionado el campo y pega el texto de forma manual.")}},style:{width:"38px",height:"38px",borderRadius:"10px",background:e?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.02)",border:e?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(0,0,0,0.06)",color:"var(--text-secondary)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none"},title:"Pegar del portapapeles",children:y.jsx(wd,{size:14})})]}),y.jsxs("button",{type:"button",onClick:()=>{ie(!1),Bt()},style:{background:"transparent",border:"none",color:"var(--accent-purple)",cursor:"pointer",fontSize:"0.7rem",fontWeight:700,display:"flex",alignItems:"center",gap:"4px",outline:"none",alignSelf:"center",marginTop:"2px"},children:[y.jsx(Xb,{size:12}),"Volver a escanear código QR"]})]})]}),y.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"10px"},children:[y.jsx("button",{type:"button",onClick:Lr,style:{flex:1,height:"38px",borderRadius:"10px",background:e?"rgba(255,255,255,0.02)":"rgba(0,0,0,0.02)",border:e?"1px solid rgba(255,255,255,0.06)":"1px solid rgba(0,0,0,0.06)",color:"var(--text-primary)",fontWeight:700,fontSize:"0.78rem",cursor:"pointer",outline:"none"},children:"CANCELAR"}),y.jsx("button",{type:"submit",disabled:Ce||!Z&&!ne,style:{flex:1,height:"38px",borderRadius:"10px",background:"var(--accent-purple)",border:"none",color:"#FFFFFF",fontWeight:700,fontSize:"0.78rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"4px",outline:"none"},children:Ce?y.jsx(Ha,{size:14,className:"spin"}):"VINCULAR"})]})]})]})}),w&&E&&y.jsx("div",{style:T2,children:y.jsxs("div",{className:"soft-card",style:{...b2,maxWidth:"320px",textAlign:"center"},children:[y.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--accent-red)"},children:y.jsx($i,{size:44})}),y.jsx("h3",{style:{fontSize:"1.1rem",fontWeight:800,color:"var(--text-primary)"},children:"¿Eliminar dispositivo?"}),y.jsxs("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",marginTop:"6px",lineHeight:"1.4"},children:["Esta acción es permanente. El dispositivo con UUID ",y.jsx("strong",{style:{wordBreak:"break-all"},children:E.uuid})," asociado al usuario ",y.jsx("strong",{children:E.user?E.user.name:"desconocido"})," perderá la autorización de inmediato."]}),y.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"20px"},children:[y.jsx("button",{onClick:()=>_(!1),style:{flex:1,height:"42px",borderRadius:"12px",border:e?"1px solid rgba(255,255,255,0.06)":"1px solid rgba(0,0,0,0.05)",background:"var(--bg-surface)",color:"var(--text-primary)",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",outline:"none"},children:"CANCELAR"}),y.jsx("button",{onClick:vt,style:{flex:1,height:"42px",borderRadius:"12px",border:"none",background:"var(--accent-red)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",outline:"none"},disabled:p,children:p?y.jsx(Ha,{size:14,className:"spin"}):"ELIMINAR"})]})]})})]})},T2={position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(12, 13, 18, 0.4)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",zIndex:300,display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem"},b2={width:"100%",maxWidth:"340px",background:"var(--bg-card)",borderRadius:"20px",padding:"1.2rem",boxShadow:"var(--shadow-soft)",animation:"scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1)",border:"1px solid rgba(123, 82, 242, 0.08)"},Y9=()=>{const e=mf(),t=an(),{user:r,logout:n}=_l(),s=p=>e(p),c=p=>t.pathname===p,[o,u]=q.useState(()=>document.body.classList.contains("dark")),h=()=>{const p=!o;u(p),p?(document.body.classList.add("dark"),localStorage.setItem("theme","dark")):(document.body.classList.remove("dark"),localStorage.setItem("theme","light"))},d=async()=>{try{await n(),e("/login")}catch(p){console.error("Error logging out:",p)}};return y.jsxs("div",{className:"main-layout",children:[y.jsxs("div",{style:{position:"absolute",top:"20px",right:"24px",zIndex:1e3,display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx("div",{className:"theme-switch-track",onClick:h,title:o?"Desactivar Modo Oscuro":"Activar Modo Oscuro",children:y.jsx("div",{className:"theme-switch-thumb",children:o?y.jsx(Ty,{size:10,strokeWidth:3}):y.jsx(ky,{size:10,strokeWidth:3})})}),y.jsx("button",{onClick:d,title:"Cerrar Sesión",style:{width:"32px",height:"32px",borderRadius:"10px",background:"rgba(239, 68, 68, 0.08)",border:"1px solid rgba(239, 68, 68, 0.15)",color:"var(--accent-red)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.2s",outline:"none"},children:y.jsx(Tk,{size:14})})]}),y.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:0,color:"var(--radar-color, rgba(30, 31, 36, 0.035))",overflow:"hidden"},children:[y.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[y.jsx("defs",{children:y.jsx("pattern",{id:"dot-grid",width:"24",height:"24",patternUnits:"userSpaceOnUse",children:y.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"currentColor"})})}),y.jsx("rect",{width:"100%",height:"100%",fill:"url(#dot-grid)"})]}),y.jsxs("svg",{viewBox:"0 0 200 200",style:{position:"absolute",bottom:"12%",right:"-15%",width:"320px",height:"320px"},xmlns:"http://www.w3.org/2000/svg",children:[y.jsx("circle",{cx:"100",cy:"100",r:"85",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("circle",{cx:"100",cy:"100",r:"65",stroke:"currentColor",strokeWidth:"0.5",fill:"none",strokeDasharray:"4 3"}),y.jsx("circle",{cx:"100",cy:"100",r:"45",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("circle",{cx:"100",cy:"100",r:"25",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),y.jsx("line",{x1:"100",y1:"10",x2:"100",y2:"190",stroke:"currentColor",strokeWidth:"0.5"}),y.jsx("line",{x1:"10",y1:"100",x2:"190",y2:"100",stroke:"currentColor",strokeWidth:"0.5"}),y.jsx("line",{x1:"100",y1:"100",x2:"160.1",y2:"40.1",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})]}),y.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",background:"transparent",position:"relative",zIndex:1},children:y.jsx(X2,{})}),y.jsxs("div",{className:"bottom-nav-floating",children:[y.jsx("button",{className:`nav-item-btn ${c("/")?"active":""}`,onClick:()=>s("/"),title:"Búsqueda",children:y.jsx(Lc,{size:24,strokeWidth:c("/")?2.5:2})}),y.jsx("button",{className:`nav-item-btn ${c("/upload")?"active":""}`,onClick:()=>s("/upload"),title:"Consola Excel",children:y.jsx(Qo,{size:24,strokeWidth:c("/upload")?2.5:2})}),y.jsx("button",{className:`nav-item-btn ${c("/users")?"active":""}`,onClick:()=>s("/users"),title:"Usuarios",children:y.jsx(Ay,{size:24,strokeWidth:c("/users")?2.5:2})}),(r==null?void 0:r.role)===1&&y.jsx("button",{className:`nav-item-btn ${c("/devices")?"active":""}`,onClick:()=>s("/devices"),title:"Ajustes / Dispositivos",children:y.jsx(Rk,{size:24,strokeWidth:c("/devices")?2.5:2})})]})]})},K9=({children:e})=>{const{user:t,loading:r}=_l();return r?y.jsx("div",{style:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"var(--bg-surface)"},children:"Verificando credenciales..."}):!t||t.role!==1?y.jsx(Wd,{to:"/",replace:!0}):y.jsx(y.Fragment,{children:e})},Z9=()=>y.jsx(kT,{children:y.jsx(Mb,{children:y.jsxs(rT,{children:[y.jsx(hn,{path:"/login",element:y.jsx(Pk,{})}),y.jsx(hn,{element:y.jsx(Lb,{}),children:y.jsxs(hn,{element:y.jsx(Y9,{}),children:[y.jsx(hn,{path:"/",element:y.jsx(Wk,{})}),y.jsx(hn,{path:"/upload",element:y.jsx(W9,{})}),y.jsx(hn,{path:"/users",element:y.jsx(X9,{})}),y.jsx(hn,{path:"/devices",element:y.jsx(K9,{children:y.jsx(q9,{})})}),y.jsx(hn,{path:"/register",element:y.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[y.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),y.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"REGISTRO"})]})})]})}),y.jsx(hn,{path:"*",element:y.jsx(Wd,{to:"/",replace:!0})})]})})}),$9=localStorage.getItem("theme");$9==="dark"?document.body.classList.add("dark"):document.body.classList.remove("dark");tw.createRoot(document.getElementById("root")).render(y.jsx(qE.StrictMode,{children:y.jsx(Z9,{})}));
