1 line
444 KiB
JavaScript
1 line
444 KiB
JavaScript
"use strict";(self.webpackChunksheetjs_angular=self.webpackChunksheetjs_angular||[]).push([[179],{834:()=>{function Ot(e){return"function"==typeof e}function Dc(e){const r=e(n=>{Error.call(n),n.stack=(new Error).stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}const Tc=Dc(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:\n${r.map((n,i)=>`${i+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=r});function Vs(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class Wn{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const a of r)a.remove(this);else r.remove(this);const{initialTeardown:n}=this;if(Ot(n))try{n()}catch(a){t=a instanceof Tc?a.errors:[a]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const a of i)try{Cp(a)}catch(s){t=t??[],s instanceof Tc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Tc(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Cp(t);else{if(t instanceof Wn){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(t){const{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){const{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){const{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Vs(r,t)}remove(t){const{_finalizers:r}=this;r&&Vs(r,t),t instanceof Wn&&t._removeParent(this)}}Wn.EMPTY=(()=>{const e=new Wn;return e.closed=!0,e})();const Tp=Wn.EMPTY;function Sp(e){return e instanceof Wn||e&&"closed"in e&&Ot(e.remove)&&Ot(e.add)&&Ot(e.unsubscribe)}function Cp(e){Ot(e)?e():e.unsubscribe()}const aa={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sc={setTimeout(e,t,...r){const{delegate:n}=Sc;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=Sc;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function kp(e){Sc.setTimeout(()=>{const{onUnhandledError:t}=aa;if(!t)throw e;t(e)})}function Ap(){}const sD=Xu("C",void 0,void 0);function Xu(e,t,r){return{kind:e,value:t,error:r}}let sa=null;function Cc(e){if(aa.useDeprecatedSynchronousErrorHandling){const t=!sa;if(t&&(sa={errorThrown:!1,error:null}),e(),t){const{errorThrown:r,error:n}=sa;if(sa=null,r)throw n}}else e()}class Ku extends Wn{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sp(t)&&t.add(this)):this.destination=hD}static create(t,r,n){return new js(t,r,n)}next(t){this.isStopped?qu(function cD(e){return Xu("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?qu(function oD(e){return Xu("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?qu(sD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const uD=Function.prototype.bind;function Yu(e,t){return uD.call(e,t)}class fD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){kc(n)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){kc(n)}else kc(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){kc(r)}}}class js extends Ku{constructor(t,r,n){let i;if(super(),Ot(t)||!t)i={next:t??void 0,error:r??void 0,complete:n??void 0};else{let a;this&&aa.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Yu(t.next,a),error:t.error&&Yu(t.error,a),complete:t.complete&&Yu(t.complete,a)}):i=t}this.destination=new fD(i)}}function kc(e){aa.useDeprecatedSynchronousErrorHandling?function lD(e){aa.useDeprecatedSynchronousErrorHandling&&sa&&(sa.errorThrown=!0,sa.error=e)}(e):kp(e)}function qu(e,t){const{onStoppedNotification:r}=aa;r&&Sc.setTimeout(()=>r(e,t))}const hD={closed:!0,next:Ap,error:function dD(e){throw e},complete:Ap},Zu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fp(e){return e}let jr=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,i){const a=function gD(e){return e&&e instanceof Ku||function pD(e){return e&&Ot(e.next)&&Ot(e.error)&&Ot(e.complete)}(e)&&Sp(e)}(r)?r:new js(r,n,i);return Cc(()=>{const{operator:s,source:o}=this;a.add(s?s.call(a,o):o?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return new(n=Ip(n))((i,a)=>{const s=new js({next:o=>{try{r(o)}catch(c){a(c),s.unsubscribe()}},error:a,complete:i});this.subscribe(s)})}_subscribe(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)}[Zu](){return this}pipe(...r){return function bp(e){return 0===e.length?Fp:1===e.length?e[0]:function(r){return e.reduce((n,i)=>i(n),r)}}(r)(this)}toPromise(r){return new(r=Ip(r))((n,i)=>{let a;this.subscribe(s=>a=s,s=>i(s),()=>n(a))})}}return e.create=t=>new e(t),e})();function Ip(e){var t;return null!==(t=e??aa.Promise)&&void 0!==t?t:Promise}const mD=Dc(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Qu=(()=>{class e extends jr{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){const n=new Mp(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new mD}next(r){Cc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(r)}})}error(r){Cc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;const{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Cc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){const{hasError:n,isStopped:i,observers:a}=this;return n||i?Tp:(this.currentObservers=null,a.push(r),new Wn(()=>{this.currentObservers=null,Vs(a,r)}))}_checkFinalizedStatuses(r){const{hasError:n,thrownError:i,isStopped:a}=this;n?r.error(i):a&&r.complete()}asObservable(){const r=new jr;return r.source=this,r}}return e.create=(t,r)=>new Mp(t,r),e})();class Mp extends Qu{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===n||n.call(r,t)}error(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===n||n.call(r,t)}complete(){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===r||r.call(t)}_subscribe(t){var r,n;return null!==(n=null===(r=this.source)||void 0===r?void 0:r.subscribe(t))&&void 0!==n?n:Tp}}function $s(e){return t=>{if(function xD(e){return Ot(e?.lift)}(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ac(e,t,r,n,i){return new vD(e,t,r,n,i)}class vD extends Ku{constructor(t,r,n,i,a,s){super(t),this.onFinalize=a,this.shouldUnsubscribe=s,this._next=r?function(o){try{r(o)}catch(c){t.error(c)}}:super._next,this._error=i?function(o){try{i(o)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(o){t.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Li(e){return this instanceof Li?(this.v=e,this):new Li(e)}function Pp(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function rf(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(s){return new Promise(function(o,c){!function i(a,s,o,c){Promise.resolve(c).then(function(l){a({value:l,done:o})},s)}(o,c,(s=e[a](s)).done,s.value)})}}}const Lp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Bp(e){return Ot(e?.then)}function Up(e){return Ot(e[Zu])}function Hp(e){return Symbol.asyncIterator&&Ot(e?.[Symbol.asyncIterator])}function Vp(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const jp=function BD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $p(e){return Ot(e?.[jp])}function Wp(e){return function Rp(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(d){n[d]&&(i[d]=function(h){return new Promise(function(p,m){a.push([d,h,p,m])>1||o(d,h)})})}function o(d,h){try{!function c(d){d.value instanceof Li?Promise.resolve(d.value.v).then(l,u):f(a[0][2],d)}(n[d](h))}catch(p){f(a[0][3],p)}}function l(d){o("next",d)}function u(d){o("throw",d)}function f(d,h){d(h),a.shift(),a.length&&o(a[0][0],a[0][1])}}(this,arguments,function*(){const r=e.getReader();try{for(;;){const{value:n,done:i}=yield Li(r.read());if(i)return yield Li(void 0);yield yield Li(n)}}finally{r.releaseLock()}})}function Gp(e){return Ot(e?.getReader)}function Bi(e){if(e instanceof jr)return e;if(null!=e){if(Up(e))return function UD(e){return new jr(t=>{const r=e[Zu]();if(Ot(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Lp(e))return function HD(e){return new jr(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}(e);if(Bp(e))return function VD(e){return new jr(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,kp)})}(e);if(Hp(e))return zp(e);if($p(e))return function jD(e){return new jr(t=>{for(const r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(Gp(e))return function $D(e){return zp(Wp(e))}(e)}throw Vp(e)}function zp(e){return new jr(t=>{(function WD(e,t){var r,n,i,a;return function Np(e,t,r,n){return new(r||(r=Promise))(function(a,s){function o(u){try{l(n.next(u))}catch(f){s(f)}}function c(u){try{l(n.throw(u))}catch(f){s(f)}}function l(u){u.done?a(u.value):function i(a){return a instanceof r?a:new r(function(s){s(a)})}(u.value).then(o,c)}l((n=n.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Pp(e);!(n=yield r.next()).done;)if(t.next(n.value),t.closed)return}catch(s){i={error:s}}finally{try{n&&!n.done&&(a=r.return)&&(yield a.call(r))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(r=>t.error(r))})}function Ui(e,t,r,n=0,i=!1){const a=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(a),!i)return a}function Xp(e,t,r=1/0){return Ot(t)?Xp((n,i)=>function _D(e,t){return $s((r,n)=>{let i=0;r.subscribe(Ac(n,a=>{n.next(e.call(t,a,i++))}))})}((a,s)=>t(n,a,i,s))(Bi(e(n,i))),r):("number"==typeof t&&(r=t),$s((n,i)=>function GD(e,t,r,n,i,a,s,o){const c=[];let l=0,u=0,f=!1;const d=()=>{f&&!c.length&&!l&&t.complete()},h=m=>l<n?p(m):c.push(m),p=m=>{a&&t.next(m),l++;let g=!1;Bi(r(m,u++)).subscribe(Ac(t,x=>{i?.(x),a?h(x):t.next(x)},()=>{g=!0},void 0,()=>{if(g)try{for(l--;c.length&&l<n;){const x=c.shift();s?Ui(t,s,()=>p(x)):p(x)}d()}catch(x){t.error(x)}}))};return e.subscribe(Ac(t,h,()=>{f=!0,d()})),()=>{o?.()}}(n,i,e,r)))}const Kp=new jr(e=>e.complete());function nf(e){return e[e.length-1]}function Yp(e,t=0){return $s((r,n)=>{r.subscribe(Ac(n,i=>Ui(n,e,()=>n.next(i),t),()=>Ui(n,e,()=>n.complete(),t),i=>Ui(n,e,()=>n.error(i),t)))})}function qp(e,t=0){return $s((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Zp(e,t){if(!e)throw new Error("Iterable cannot be null");return new jr(r=>{Ui(r,t,()=>{const n=e[Symbol.asyncIterator]();Ui(r,t,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function iT(...e){const t=function YD(e){return function KD(e){return e&&Ot(e.schedule)}(nf(e))?e.pop():void 0}(e),r=function qD(e,t){return"number"==typeof nf(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?Bi(n[0]):function zD(e=1/0){return Xp(Fp,e)}(r)(function nT(e,t){return t?function rT(e,t){if(null!=e){if(Up(e))return function ZD(e,t){return Bi(e).pipe(qp(t),Yp(t))}(e,t);if(Lp(e))return function JD(e,t){return new jr(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(Bp(e))return function QD(e,t){return Bi(e).pipe(qp(t),Yp(t))}(e,t);if(Hp(e))return Zp(e,t);if($p(e))return function eT(e,t){return new jr(r=>{let n;return Ui(r,t,()=>{n=e[jp](),Ui(r,t,()=>{let i,a;try{({value:i,done:a}=n.next())}catch(s){return void r.error(s)}a?r.complete():r.next(i)},0,!0)}),()=>Ot(n?.return)&&n.return()})}(e,t);if(Gp(e))return function tT(e,t){return Zp(Wp(e),t)}(e,t)}throw Vp(e)}(e,t):Bi(e)}(n,t)):Kp}function af(e,t,...r){if(!0===t)return void e();if(!1===t)return;const n=new js({next:()=>{n.unsubscribe(),e()}});return Bi(t(...r)).subscribe(n)}function wt(e){for(let t in e)if(e[t]===wt)return t;throw Error("Could not find renamed property on target object.")}function Et(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Et).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function of(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const sT=wt({__forward_ref__:wt});function cf(e){return e.__forward_ref__=cf,e.toString=function(){return Et(this())},e}function Fe(e){return function lf(e){return"function"==typeof e&&e.hasOwnProperty(sT)&&e.__forward_ref__===cf}(e)?e():e}function uf(e){return e&&!!e.\u0275providers}const Fc="https://g.co/ng/security#xss";class De extends Error{constructor(t,r){super(bc(t,r)),this.code=t}}function bc(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Ne(e){return"string"==typeof e?e:null==e?"":String(e)}function Ic(e,t){throw new De(-201,!1)}function dn(e,t){null==e&&function dt(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(null==n?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}(t,e,null,"!=")}function Dt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Va(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mc(e){return Qp(e,Nc)||Qp(e,eg)}function Qp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Jp(e){return e&&(e.hasOwnProperty(ff)||e.hasOwnProperty(hT))?e[ff]:null}const Nc=wt({\u0275prov:wt}),ff=wt({\u0275inj:wt}),eg=wt({ngInjectableDef:wt}),hT=wt({ngInjectorDef:wt});var Me=(()=>((Me=Me||{})[Me.Default=0]="Default",Me[Me.Host=1]="Host",Me[Me.Self=2]="Self",Me[Me.SkipSelf=4]="SkipSelf",Me[Me.Optional=8]="Optional",Me))();let df;function hn(e){const t=df;return df=e,t}function tg(e,t,r){const n=Mc(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&Me.Optional?null:void 0!==t?t:void Ic(Et(e))}const kt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ws={},hf="__NG_DI_FLAG__",Oc="ngTempTokenPath",gT="ngTokenPath",mT=/\n/gm,xT="\u0275",rg="__source";let Gs;function ja(e){const t=Gs;return Gs=e,t}function vT(e,t=Me.Default){if(void 0===Gs)throw new De(-203,!1);return null===Gs?tg(e,void 0,t):Gs.get(e,t&Me.Optional?null:void 0,t)}function at(e,t=Me.Default){return(function pT(){return df}()||vT)(Fe(e),t)}function Rc(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pf(e){const t=[];for(let r=0;r<e.length;r++){const n=Fe(e[r]);if(Array.isArray(n)){if(0===n.length)throw new De(900,!1);let i,a=Me.Default;for(let s=0;s<n.length;s++){const o=n[s],c=yT(o);"number"==typeof c?-1===c?i=o.token:a|=c:i=o}t.push(at(i,a))}else t.push(at(n))}return t}function yT(e){return e[hf]}function di(e){return{toString:e}.toString()}var Gn=(()=>((Gn=Gn||{})[Gn.OnPush=0]="OnPush",Gn[Gn.Default=1]="Default",Gn))(),zn=(()=>{return(e=zn||(zn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",zn;var e})();const hi={},ut=[],Pc=wt({\u0275cmp:wt}),gf=wt({\u0275dir:wt}),mf=wt({\u0275pipe:wt}),ig=wt({\u0275mod:wt}),pi=wt({\u0275fac:wt}),Xs=wt({__NG_ELEMENT_ID__:wt});let DT=0;function ag(e){return di(()=>{const t=function og(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||ut,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sg(e.inputs,t),outputs:sg(e.outputs)}}(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||zn.Emulated,id:"c"+DT++,styles:e.styles||ut,_:null,schemas:e.schemas||null,tView:null};!function cg(e){e.features?.forEach(t=>t(e))}(r);const n=e.dependencies;return r.directiveDefs=Lc(n,!1),r.pipeDefs=Lc(n,!0),r})}function ST(e){return ht(e)||mr(e)}function CT(e){return null!==e}function Ks(e){return di(()=>({type:e.type,bootstrap:e.bootstrap||ut,declarations:e.declarations||ut,imports:e.imports||ut,exports:e.exports||ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function sg(e,t){if(null==e)return hi;const r={};for(const n in e)if(e.hasOwnProperty(n)){let i=e[n],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),r[i]=n,t&&(t[i]=a)}return r}function ht(e){return e[Pc]||null}function mr(e){return e[gf]||null}function Wr(e){return e[mf]||null}function Lc(e,t){if(!e)return null;const r=t?Wr:ST;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(CT)}const gi=0,xe=1,He=2,Rt=3,Fn=4,oa=5,xr=6,$a=7,Lt=8,Bc=9,Uc=10,Ge=11,xf=12,qs=13,lg=14,Wa=15,vr=16,Zs=17,Ga=18,Xn=19,Qs=20,ug=21,At=22,vf=1,fg=2,Hc=7,Vc=8,za=9,Mr=10;function rn(e){return Array.isArray(e)&&"object"==typeof e[vf]}function bn(e){return Array.isArray(e)&&!0===e[vf]}function _f(e){return 0!=(4&e.flags)}function Js(e){return e.componentOffset>-1}function In(e){return!!e.template}function AT(e){return 0!=(256&e[He])}function ca(e,t){return e.hasOwnProperty(pi)?e[pi]:null}class IT{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function pg(e){return e.type.prototype.ngOnChanges&&(e.setInput=NT),MT}function MT(){const e=mg(this),t=e?.current;if(t){const r=e.previous;if(r===hi)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function NT(e,t,r,n){const i=this.declaredInputs[r],a=mg(e)||function OT(e,t){return e[gg]=t}(e,{previous:hi,current:null}),s=a.current||(a.current={}),o=a.previous,c=o[i];s[i]=new IT(c&&c.currentValue,t,o===hi),e[n]=t}const gg="__ngSimpleChanges__";function mg(e){return e[gg]||null}const gn=function(e,t,r){};function hr(e){for(;Array.isArray(e);)e=e[gi];return e}function nn(e,t){return hr(t[e.index])}function _g(e,t){return e.data[t]}function Gr(e,t){const r=t[e];return rn(r)?r:r[gi]}function Gc(e){return 64==(64&e[He])}function Vi(e,t){return null==t?null:e[t]}function yg(e){e[Ga]=0}function wf(e,t){e[oa]+=t;let r=e,n=e[Rt];for(;null!==n&&(1===t&&1===r[oa]||-1===t&&0===r[oa]);)n[oa]+=t,r=n,n=n[Rt]}const Oe={lFrame:bg(null),bindingsEnabled:!0};function Eg(){return Oe.bindingsEnabled}function Q(){return Oe.lFrame.lView}function st(){return Oe.lFrame.tView}function pr(){let e=Dg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Dg(){return Oe.lFrame.currentTNode}function Kn(e,t){const r=Oe.lFrame;r.currentTNode=e,r.isParent=t}function Ef(){return Oe.lFrame.isParent}function YT(e,t){const r=Oe.lFrame;r.bindingIndex=r.bindingRootIndex=e,Tf(t)}function Tf(e){Oe.lFrame.currentDirectiveIndex=e}function kg(){return Oe.lFrame.currentQueryIndex}function Cf(e){Oe.lFrame.currentQueryIndex=e}function ZT(e){const t=e[xe];return 2===t.type?t.declTNode:1===t.type?e[xr]:null}function Ag(e,t,r){if(r&Me.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||r&Me.Host||(i=ZT(a),null===i||(a=a[Wa],10&i.type))););if(null===i)return!1;t=i,e=a}const n=Oe.lFrame=Fg();return n.currentTNode=t,n.lView=e,!0}function kf(e){const t=Fg(),r=e[xe];Oe.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Fg(){const e=Oe.lFrame,t=null===e?null:e.child;return null===t?bg(e):t}function bg(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ig(){const e=Oe.lFrame;return Oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mg=Ig;function Af(){const e=Ig();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function la(e){Oe.lFrame.selectedIndex=e}function zc(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){const a=e.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:o,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=a;s&&(e.contentHooks??(e.contentHooks=[])).push(-r,s),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),c&&(e.viewHooks??(e.viewHooks=[])).push(-r,c),l&&((e.viewHooks??(e.viewHooks=[])).push(r,l),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,l)),null!=u&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function Xc(e,t,r){Ng(e,t,3,r)}function Kc(e,t,r,n){(3&e[He])===r&&Ng(e,t,r,n)}function Ff(e,t){let r=e[He];(3&r)===t&&(r&=2047,r+=1,e[He]=r)}function Ng(e,t,r,n){const a=n??-1,s=t.length-1;let o=0;for(let c=void 0!==n?65535&e[Ga]:0;c<s;c++)if("number"==typeof t[c+1]){if(o=t[c],null!=n&&o>=n)break}else t[c]<0&&(e[Ga]+=65536),(o<a||-1==a)&&(sS(e,r,t,c),e[Ga]=(4294901760&e[Ga])+c+2),c++}function sS(e,t,r,n){const i=r[n]<0,a=r[n+1],o=e[i?-r[n]:r[n]];if(i){if(e[He]>>11<e[Ga]>>16&&(3&e[He])===t){e[He]+=2048,gn(4,o,a);try{a.call(o)}finally{gn(5,o,a)}}}else{gn(4,o,a);try{a.call(o)}finally{gn(5,o,a)}}}const Ya=-1;class to{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function If(e,t,r){let n=0;for(;n<r.length;){const i=r[n];if("number"==typeof i){if(0!==i)break;n++;const a=r[n++],s=r[n++],o=r[n++];e.setAttribute(t,s,o,a)}else{const a=i,s=r[++n];Rg(a)?e.setProperty(t,a,s):e.setAttribute(t,a,s),n++}}return n}function Og(e){return 3===e||4===e||6===e}function Rg(e){return 64===e.charCodeAt(0)}function ro(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){const i=t[n];"number"==typeof i?r=i:0===r||Pg(e,r,i,null,-1===r||2===r?t[++n]:null)}}return e}function Pg(e,t,r,n,i){let a=0,s=e.length;if(-1===t)s=-1;else for(;a<e.length;){const o=e[a++];if("number"==typeof o){if(o===t){s=-1;break}if(o>t){s=a-1;break}}}for(;a<e.length;){const o=e[a];if("number"==typeof o)break;if(o===r){if(null===n)return void(null!==i&&(e[a+1]=i));if(n===e[a+1])return void(e[a+2]=i)}a++,null!==n&&a++,null!==i&&a++}-1!==s&&(e.splice(s,0,t),a=s+1),e.splice(a++,0,r),null!==n&&e.splice(a++,0,n),null!==i&&e.splice(a++,0,i)}function Lg(e){return e!==Ya}function Yc(e){return 32767&e}function qc(e,t){let r=function uS(e){return e>>16}(e),n=t;for(;r>0;)n=n[Wa],r--;return n}let Mf=!0;function Zc(e){const t=Mf;return Mf=e,t}const Bg=255,Ug=5;let fS=0;const Yn={};function Qc(e,t){const r=Hg(e,t);if(-1!==r)return r;const n=t[xe];n.firstCreatePass&&(e.injectorIndex=t.length,Nf(n.data,e),Nf(t,null),Nf(n.blueprint,null));const i=Of(e,t),a=e.injectorIndex;if(Lg(i)){const s=Yc(i),o=qc(i,t),c=o[xe].data;for(let l=0;l<8;l++)t[a+l]=o[s+l]|c[s+l]}return t[a+8]=i,a}function Nf(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Of(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;null!==i;){if(n=Xg(i),null===n)return Ya;if(r++,i=i[Wa],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Ya}function Rf(e,t,r){!function dS(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(Xs)&&(n=r[Xs]),null==n&&(n=r[Xs]=fS++);const i=n&Bg;t.data[e+(i>>Ug)]|=1<<i}(e,t,r)}function Vg(e,t,r){if(r&Me.Optional||void 0!==e)return e;Ic()}function jg(e,t,r,n){if(r&Me.Optional&&void 0===n&&(n=null),!(r&(Me.Self|Me.Host))){const i=e[Bc],a=hn(void 0);try{return i?i.get(t,n,r&Me.Optional):tg(t,n,r&Me.Optional)}finally{hn(a)}}return Vg(n,0,r)}function $g(e,t,r,n=Me.Default,i){if(null!==e){if(1024&t[He]){const s=function vS(e,t,r,n,i){let a=e,s=t;for(;null!==a&&null!==s&&1024&s[He]&&!(256&s[He]);){const o=Wg(a,s,r,n|Me.Self,Yn);if(o!==Yn)return o;let c=a.parent;if(!c){const l=s[ug];if(l){const u=l.get(r,Yn,n);if(u!==Yn)return u}c=Xg(s),s=s[Wa]}a=c}return i}(e,t,r,n,Yn);if(s!==Yn)return s}const a=Wg(e,t,r,n,Yn);if(a!==Yn)return a}return jg(t,r,n,i)}function Wg(e,t,r,n,i){const a=function gS(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Xs)?e[Xs]:void 0;return"number"==typeof t?t>=0?t&Bg:mS:t}(r);if("function"==typeof a){if(!Ag(t,e,n))return n&Me.Host?Vg(i,0,n):jg(t,r,n,i);try{const s=a(n);if(null!=s||n&Me.Optional)return s;Ic()}finally{Mg()}}else if("number"==typeof a){let s=null,o=Hg(e,t),c=Ya,l=n&Me.Host?t[vr][xr]:null;for((-1===o||n&Me.SkipSelf)&&(c=-1===o?Of(e,t):t[o+8],c!==Ya&&zg(n,!1)?(s=t[xe],o=Yc(c),t=qc(c,t)):o=-1);-1!==o;){const u=t[xe];if(Gg(a,o,u.data)){const f=pS(o,t,r,s,n,l);if(f!==Yn)return f}c=t[o+8],c!==Ya&&zg(n,t[xe].data[o+8]===l)&&Gg(a,o,t)?(s=u,o=Yc(c),t=qc(c,t)):o=-1}}return i}function pS(e,t,r,n,i,a){const s=t[xe],o=s.data[e+8],u=Jc(o,s,r,null==n?Js(o)&&Mf:n!=s&&0!=(3&o.type),i&Me.Host&&a===o);return null!==u?ua(t,s,u,o):Yn}function Jc(e,t,r,n,i){const a=e.providerIndexes,s=t.data,o=1048575&a,c=e.directiveStart,u=a>>20,d=i?o+u:e.directiveEnd;for(let h=n?o:o+u;h<d;h++){const p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(i){const h=s[c];if(h&&In(h)&&h.type===r)return c}return null}function ua(e,t,r,n){let i=e[r];const a=t.data;if(function oS(e){return e instanceof to}(i)){const s=i;s.resolving&&function oT(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new De(-200,`Circular dependency in DI detected for ${e}${r}`)}(function ft(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ne(e)}(a[r]));const o=Zc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?hn(s.injectImpl):null;Ag(e,n,Me.Default);try{i=e[r]=s.factory(void 0,a,e,n),t.firstCreatePass&&r>=n.directiveStart&&function aS(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(n){const s=pg(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,s),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,s)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,i),a&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,a),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,a))}(r,a[r],t)}finally{null!==c&&hn(c),Zc(o),s.resolving=!1,Mg()}}return i}function Gg(e,t,r){return!!(r[t+(e>>Ug)]&1<<e)}function zg(e,t){return!(e&Me.Self||e&Me.Host&&t)}class qa{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return $g(this._tNode,this._lView,t,Rc(n),r)}}function mS(){return new qa(pr(),Q())}function Xg(e){const t=e[xe],r=t.type;return 2===r?t.declTNode:1===r?e[xr]:null}class ze{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Dt({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function fa(e,t){e.forEach(r=>Array.isArray(r)?fa(r,t):t(r))}function Yg(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function el(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var zr=(()=>((zr=zr||{})[zr.Important=1]="Important",zr[zr.DashCase=2]="DashCase",zr))();const zf=new Map;let WS=0;const Kf="__ngContext__";function _r(e,t){rn(t)?(e[Kf]=t[Qs],function zS(e){zf.set(e[Qs],e)}(t)):e[Kf]=t}let Yf;function qf(e,t){return Yf(e,t)}function lo(e){const t=e[Rt];return bn(t)?t[Rt]:t}function Zf(e){return m1(e[qs])}function Qf(e){return m1(e[Fn])}function m1(e){for(;null!==e&&!bn(e);)e=e[Fn];return e}function ns(e,t,r,n,i){if(null!=n){let a,s=!1;bn(n)?a=n:rn(n)&&(s=!0,n=n[gi]);const o=hr(n);0===e&&null!==r?null==i?E1(t,r,o):da(t,r,o,i||null,!0):1===e&&null!==r?da(t,r,o,i||null,!0):2===e?function s0(e,t,r){const n=sl(e,t);n&&function dC(e,t,r,n){e.removeChild(t,r,n)}(e,n,t,r)}(t,o,s):3===e&&t.destroyNode(o),null!=a&&function gC(e,t,r,n,i){const a=r[Hc];a!==hr(r)&&ns(t,e,n,a,i);for(let o=Mr;o<r.length;o++){const c=r[o];uo(c[xe],c,e,t,n,a)}}(t,e,a,r,i)}}function e0(e,t,r){return e.createElement(t,r)}function v1(e,t){const r=e[za],n=r.indexOf(t),i=t[Rt];512&t[He]&&(t[He]&=-513,wf(i,-1)),r.splice(n,1)}function t0(e,t){if(e.length<=Mr)return;const r=Mr+t,n=e[r];if(n){const i=n[Zs];null!==i&&i!==e&&v1(i,n),t>0&&(e[r-1][Fn]=n[Fn]);const a=el(e,Mr+t);!function iC(e,t){uo(e,t,t[Ge],2,null,null),t[gi]=null,t[xr]=null}(n[xe],n);const s=a[Xn];null!==s&&s.detachView(a[xe]),n[Rt]=null,n[Fn]=null,n[He]&=-65}return n}function _1(e,t){if(!(128&t[He])){const r=t[Ge];r.destroyNode&&uo(e,t,r,3,null,null),function oC(e){let t=e[qs];if(!t)return r0(e[xe],e);for(;t;){let r=null;if(rn(t))r=t[qs];else{const n=t[Mr];n&&(r=n)}if(!r){for(;t&&!t[Fn]&&t!==e;)rn(t)&&r0(t[xe],t),t=t[Rt];null===t&&(t=e),rn(t)&&r0(t[xe],t),r=t&&t[Fn]}t=r}}(t)}}function r0(e,t){if(!(128&t[He])){t[He]&=-65,t[He]|=128,function fC(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n<r.length;n+=2){const i=t[r[n]];if(!(i instanceof to)){const a=r[n+1];if(Array.isArray(a))for(let s=0;s<a.length;s+=2){const o=i[a[s]],c=a[s+1];gn(4,o,c);try{c.call(o)}finally{gn(5,o,c)}}else{gn(4,i,a);try{a.call(i)}finally{gn(5,i,a)}}}}}(e,t),function uC(e,t){const r=e.cleanup,n=t[$a];let i=-1;if(null!==r)for(let a=0;a<r.length-1;a+=2)if("string"==typeof r[a]){const s=r[a+3];s>=0?n[i=s]():n[i=-s].unsubscribe(),a+=2}else{const s=n[i=r[a+1]];r[a].call(s)}if(null!==n){for(let a=i+1;a<n.length;a++)(0,n[a])();t[$a]=null}}(e,t),1===t[xe].type&&t[Ge].destroy();const r=t[Zs];if(null!==r&&bn(t[Rt])){r!==t[Rt]&&v1(r,t);const n=t[Xn];null!==n&&n.detachView(e)}!function XS(e){zf.delete(e[Qs])}(t)}}function y1(e,t,r){return function w1(e,t,r){let n=t;for(;null!==n&&40&n.type;)n=(t=n).parent;if(null===n)return r[gi];{const{componentOffset:i}=n;if(i>-1){const{encapsulation:a}=e.data[n.directiveStart+i];if(a===zn.None||a===zn.Emulated)return null}return nn(n,r)}}(e,t.parent,r)}function da(e,t,r,n,i){e.insertBefore(t,r,n,i)}function E1(e,t,r){e.appendChild(t,r)}function D1(e,t,r,n,i){null!==n?da(e,t,r,n,i):E1(e,t,r)}function sl(e,t){return e.parentNode(t)}let n0,ll,l0,ul,C1=function S1(e,t,r){return 40&e.type?nn(e,r):null};function ol(e,t,r,n){const i=y1(e,n,t),a=t[Ge],o=function T1(e,t,r){return C1(e,t,r)}(n.parent||t[xr],n,t);if(null!=i)if(Array.isArray(r))for(let c=0;c<r.length;c++)D1(a,i,r[c],o,!1);else D1(a,i,r,o,!1);void 0!==n0&&n0(a,n,t,r,i)}function cl(e,t){if(null!==t){const r=t.type;if(3&r)return nn(t,e);if(4&r)return a0(-1,e[t.index]);if(8&r){const n=t.child;if(null!==n)return cl(e,n);{const i=e[t.index];return bn(i)?a0(-1,i):hr(i)}}if(32&r)return qf(t,e)()||hr(e[t.index]);{const n=A1(e,t);return null!==n?Array.isArray(n)?n[0]:cl(lo(e[vr]),n):cl(e,t.next)}}return null}function A1(e,t){return null!==t?e[vr][xr].projection[t.projection]:null}function a0(e,t){const r=Mr+e+1;if(r<t.length){const n=t[r],i=n[xe].firstChild;if(null!==i)return cl(n,i)}return t[Hc]}function o0(e,t,r,n,i,a,s){for(;null!=r;){const o=n[r.index],c=r.type;if(s&&0===t&&(o&&_r(hr(o),n),r.flags|=2),32!=(32&r.flags))if(8&c)o0(e,t,r.child,n,i,a,!1),ns(t,e,i,o,a);else if(32&c){const l=qf(r,n);let u;for(;u=l();)ns(t,e,i,u,a);ns(t,e,i,o,a)}else 16&c?F1(e,t,n,r,i,a):ns(t,e,i,o,a);r=s?r.projectionNext:r.next}}function uo(e,t,r,n,i,a){o0(r,n,e.firstChild,t,i,a,!1)}function F1(e,t,r,n,i,a){const s=r[vr],c=s[xr].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)ns(t,e,i,c[l],a);else o0(e,t,c,s[Rt],i,a,!0)}function b1(e,t,r){""===r?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function I1(e,t,r){const{mergedAttrs:n,classes:i,styles:a}=r;null!==n&&If(e,t,n),null!==i&&b1(e,t,i),null!==a&&function xC(e,t,r){e.setAttribute(t,"style",r)}(e,t,a)}function is(e){return function c0(){if(void 0===ll&&(ll=null,kt.trustedTypes))try{ll=kt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ll}()?.createHTML(e)||e}function N1(e){return function u0(){if(void 0===ul&&(ul=null,kt.trustedTypes))try{ul=kt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}class ha{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fc})`}}class EC extends ha{getTypeName(){return"HTML"}}class DC extends ha{getTypeName(){return"Style"}}class TC extends ha{getTypeName(){return"Script"}}class SC extends ha{getTypeName(){return"URL"}}class CC extends ha{getTypeName(){return"ResourceURL"}}function sn(e){return e instanceof ha?e.changingThisBreaksApplicationSecurity:e}function qn(e,t){const r=function kC(e){return e instanceof ha&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${Fc})`)}return r===t}class NC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const r=(new window.DOMParser).parseFromString(is(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.removeChild(r.firstChild),r)}catch{return null}}}class OC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=is(t),r}}const PC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fl(e){return(e=String(e)).match(PC)?e:"unsafe:"+e}function vi(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function fo(...e){const t={};for(const r of e)for(const n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}const L1=vi("area,br,col,hr,img,wbr"),B1=vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),U1=vi("rp,rt"),f0=fo(L1,fo(B1,vi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),fo(U1,vi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),fo(U1,B1)),d0=vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),H1=fo(d0,vi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),LC=vi("script,style,template");class BC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let r=t.firstChild,n=!0;for(;r;)if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild)r=r.firstChild;else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}return this.buf.join("")}startElement(t){const r=t.nodeName.toLowerCase();if(!f0.hasOwnProperty(r))return this.sanitizedSomething=!0,!LC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const n=t.attributes;for(let i=0;i<n.length;i++){const a=n.item(i),s=a.name,o=s.toLowerCase();if(!H1.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let c=a.value;d0[o]&&(c=fl(c)),this.buf.push(" ",s,'="',V1(c),'"')}return this.buf.push(">"),!0}endElement(t){const r=t.nodeName.toLowerCase();f0.hasOwnProperty(r)&&!L1.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(t){this.buf.push(V1(t))}checkClobberedElement(t,r){if(r&&(t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return r}}const UC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HC=/([^\#-~ |!])/g;function V1(e){return e.replace(/&/g,"&").replace(UC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(HC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let dl;function j1(e,t){let r=null;try{dl=dl||function P1(e){const t=new OC(e);return function RC(){try{return!!(new window.DOMParser).parseFromString(is(""),"text/html")}catch{return!1}}()?new NC(t):t}(e);let n=t?String(t):"";r=dl.getInertBodyElement(n);let i=5,a=n;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,n=a,a=r.innerHTML,r=dl.getInertBodyElement(n)}while(n!==a);return is((new BC).sanitizeChildren(h0(r)||r))}finally{if(r){const n=h0(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function h0(e){return"content"in e&&function VC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Tt=(()=>((Tt=Tt||{})[Tt.NONE=0]="NONE",Tt[Tt.HTML=1]="HTML",Tt[Tt.STYLE=2]="STYLE",Tt[Tt.SCRIPT=3]="SCRIPT",Tt[Tt.URL=4]="URL",Tt[Tt.RESOURCE_URL=5]="RESOURCE_URL",Tt))();function $1(e){const t=function ho(){const e=Q();return e&&e[xf]}();return t?N1(t.sanitize(Tt.HTML,e)||""):qn(e,"HTML")?N1(sn(e)):j1(function M1(){return void 0!==l0?l0:typeof document<"u"?document:void 0}(),Ne(e))}const z1=new ze("ENVIRONMENT_INITIALIZER"),X1=new ze("INJECTOR",-1),K1=new ze("INJECTOR_DEF_TYPES");class Y1{get(t,r=Ws){if(r===Ws){const n=new Error(`NullInjectorError: No provider for ${Et(t)}!`);throw n.name="NullInjectorError",n}return r}}function KC(...e){return{\u0275providers:q1(0,e),\u0275fromNgModule:!0}}function q1(e,...t){const r=[],n=new Set;let i;return fa(t,a=>{const s=a;p0(s,r,[],n)&&(i||(i=[]),i.push(s))}),void 0!==i&&Z1(i,r),r}function Z1(e,t){for(let r=0;r<e.length;r++){const{providers:i}=e[r];g0(i,a=>{t.push(a)})}}function p0(e,t,r,n){if(!(e=Fe(e)))return!1;let i=null,a=Jp(e);const s=!a&&ht(e);if(a||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(a=Jp(c),!a)return!1;i=c}const o=n.has(i);if(s){if(o)return!1;if(n.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)p0(l,t,r,n)}}else{if(!a)return!1;{if(null!=a.imports&&!o){let l;n.add(i);try{fa(a.imports,u=>{p0(u,t,r,n)&&(l||(l=[]),l.push(u))})}finally{}void 0!==l&&Z1(l,t)}if(!o){const l=ca(i)||(()=>new i);t.push({provide:i,useFactory:l,deps:ut},{provide:K1,useValue:i,multi:!0},{provide:z1,useValue:()=>at(i),multi:!0})}const c=a.providers;null==c||o||g0(c,u=>{t.push(u)})}}return i!==e&&void 0!==e.providers}function g0(e,t){for(let r of e)uf(r)&&(r=r.\u0275providers),Array.isArray(r)?g0(r,t):t(r)}const YC=wt({provide:String,useValue:wt});function m0(e){return null!==e&&"object"==typeof e&&YC in e}function pa(e){return"function"==typeof e}const x0=new ze("Set Injector scope."),hl={},ZC={};let v0;function pl(){return void 0===v0&&(v0=new Y1),v0}class as{}class em extends as{get destroyed(){return this._destroyed}constructor(t,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,y0(t,s=>this.processProvider(s)),this.records.set(X1,ss(void 0,this)),i.has("environment")&&this.records.set(as,ss(void 0,this));const a=this.records.get(x0);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(K1.multi,ut,Me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const r=ja(this),n=hn(void 0);try{return t()}finally{ja(r),hn(n)}}get(t,r=Ws,n=Me.Default){this.assertNotDestroyed(),n=Rc(n);const i=ja(this),a=hn(void 0);try{if(!(n&Me.SkipSelf)){let o=this.records.get(t);if(void 0===o){const c=function rk(e){return"function"==typeof e||"object"==typeof e&&e instanceof ze}(t)&&Mc(t);o=c&&this.injectableDefInScope(c)?ss(_0(t),hl):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(n&Me.Self?pl():this.parent).get(t,r=n&Me.Optional&&r===Ws?null:r)}catch(s){if("NullInjectorError"===s.name){if((s[Oc]=s[Oc]||[]).unshift(Et(t)),i)throw s;return function wT(e,t,r,n){const i=e[Oc];throw t[rg]&&i.unshift(t[rg]),e.message=function ET(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==xT?e.slice(2):e;let i=Et(t);if(Array.isArray(t))i=t.map(Et).join(" -> ");else if("object"==typeof t){let a=[];for(let s in t)if(t.hasOwnProperty(s)){let o=t[s];a.push(s+":"+("string"==typeof o?JSON.stringify(o):Et(o)))}i=`{${a.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(mT,"\n ")}`}("\n"+e.message,i,r,n),e[gT]=i,e[Oc]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{hn(a),ja(i)}}resolveInjectorInitializers(){const t=ja(this),r=hn(void 0);try{const n=this.get(z1.multi,ut,Me.Self);for(const i of n)i()}finally{ja(t),hn(r)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(Et(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new De(205,!1)}processProvider(t){let r=pa(t=Fe(t))?t:Fe(t&&t.provide);const n=function JC(e){return m0(e)?ss(void 0,e.useValue):ss(function tm(e,t,r){let n;if(pa(e)){const i=Fe(e);return ca(i)||_0(i)}if(m0(e))n=()=>Fe(e.useValue);else if(function J1(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...pf(e.deps||[]));else if(function Q1(e){return!(!e||!e.useExisting)}(e))n=()=>at(Fe(e.useExisting));else{const i=Fe(e&&(e.useClass||e.provide));if(!function ek(e){return!!e.deps}(e))return ca(i)||_0(i);n=()=>new i(...pf(e.deps))}return n}(e),hl)}(t);if(pa(t)||!0!==t.multi)this.records.get(r);else{let i=this.records.get(r);i||(i=ss(void 0,hl,!0),i.factory=()=>pf(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===hl&&(r.value=ZC,r.value=r.factory()),"object"==typeof r.value&&r.value&&function tk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=Fe(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}}function _0(e){const t=Mc(e),r=null!==t?t.factory:ca(e);if(null!==r)return r;if(e instanceof ze)throw new De(204,!1);if(e instanceof Function)return function QC(e){const t=e.length;if(t>0)throw function ao(e,t){const r=[];for(let n=0;n<e;n++)r.push(t);return r}(t,"?"),new De(204,!1);const r=function dT(e){return e&&(e[Nc]||e[eg])||null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new De(204,!1)}function ss(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function y0(e,t){for(const r of e)Array.isArray(r)?y0(r,t):r&&uf(r)?y0(r.\u0275providers,t):t(r)}class nk{}class rm{}class ak{resolveComponentFactory(t){throw function ik(e){const t=Error(`No component factory found for ${Et(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let gl=(()=>{class e{}return e.NULL=new ak,e})();function sk(){return os(pr(),Q())}function os(e,t){return new cs(nn(e,t))}let cs=(()=>{class e{constructor(r){this.nativeElement=r}}return e.__NG_ELEMENT_ID__=sk,e})();function ok(e){return e instanceof cs?e.nativeElement:e}class im{}let lk=(()=>{class e{}return e.\u0275prov=Dt({token:e,providedIn:"root",factory:()=>null}),e})();class w0{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const uk=new w0("15.2.9"),E0={},D0="ngOriginalError";function T0(e){return e[D0]}class ls{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&T0(t);for(;r&&T0(r);)r=T0(r);return r||null}}function om(e,t,r){let n=e.length;for(;;){const i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===n||e.charCodeAt(i+a)<=32)return i}r=i+1}}const cm="ng-template";function wk(e,t,r){let n=0,i=!0;for(;n<e.length;){let a=e[n++];if("string"==typeof a&&i){const s=e[n++];if(r&&"class"===a&&-1!==om(s.toLowerCase(),t,0))return!0}else{if(1===a){for(;n<e.length&&"string"==typeof(a=e[n++]);)if(a.toLowerCase()===t)return!0;return!1}"number"==typeof a&&(i=!1)}}return!1}function lm(e){return 4===e.type&&e.value!==cm}function Ek(e,t,r){return t===(4!==e.type||r?e.value:cm)}function Dk(e,t,r){let n=4;const i=e.attrs||[],a=function Ck(e){for(let t=0;t<e.length;t++)if(Og(e[t]))return t;return e.length}(i);let s=!1;for(let o=0;o<t.length;o++){const c=t[o];if("number"!=typeof c){if(!s)if(4&n){if(n=2|1&n,""!==c&&!Ek(e,c,r)||""===c&&1===t.length){if(Mn(n))return!1;s=!0}}else{const l=8&n?c:t[++o];if(8&n&&null!==e.attrs){if(!wk(e.attrs,l,r)){if(Mn(n))return!1;s=!0}continue}const f=Tk(8&n?"class":c,i,lm(e),r);if(-1===f){if(Mn(n))return!1;s=!0;continue}if(""!==l){let d;d=f>a?"":i[f+1].toLowerCase();const h=8&n?d:null;if(h&&-1!==om(h,l,0)||2&n&&l!==d){if(Mn(n))return!1;s=!0}}}}else{if(!s&&!Mn(n)&&!Mn(c))return!1;if(s&&Mn(c))continue;s=!1,n=c|1&n}}return Mn(n)||s}function Mn(e){return 0==(1&e)}function Tk(e,t,r,n){if(null===t)return-1;let i=0;if(n||!r){let a=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)a=!0;else{if(1===s||2===s){let o=t[++i];for(;"string"==typeof o;)o=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=a?1:2}return-1}return function kk(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){const n=e[r];if("number"==typeof n)return-1;if(n===t)return r;r++}return-1}(t,e)}function um(e,t,r=!1){for(let n=0;n<t.length;n++)if(Dk(e,t[n],r))return!0;return!1}function fm(e,t){return e?":not("+t.trim()+")":t}function Fk(e){let t=e[0],r=1,n=2,i="",a=!1;for(;r<e.length;){let s=e[r];if("string"==typeof s)if(2&n){const o=e[++r];i+="["+s+(o.length>0?'="'+o+'"':"")+"]"}else 8&n?i+="."+s:4&n&&(i+=" "+s);else""!==i&&!Mn(s)&&(t+=fm(a,i),i=""),n=s,a=a||!Mn(n);r++}return""!==i&&(t+=fm(a,i)),t}const Re={};function mm(e,t=null,r=null,n){const i=xm(e,t,r,n);return i.resolveInjectorInitializers(),i}function xm(e,t=null,r=null,n,i=new Set){const a=[r||ut,KC(e)];return n=n||("object"==typeof e?void 0:Et(e)),new em(a,t||pl(),n||null,i)}let ji=(()=>{class e{static create(r,n){if(Array.isArray(r))return mm({name:""},n,r,"");{const i=r.name??"";return mm({name:i},r.parent,r.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ws,e.NULL=new Y1,e.\u0275prov=Dt({token:e,providedIn:"any",factory:()=>at(X1)}),e.__NG_ELEMENT_ID__=-1,e})();function Xe(e,t=Me.Default){const r=Q();return null===r?at(e,t):$g(pr(),r,Fe(e),t)}function Tm(e,t){const r=e.contentQueries;if(null!==r)for(let n=0;n<r.length;n+=2){const a=r[n+1];if(-1!==a){const s=e.data[a];Cf(r[n]),s.contentQueries(2,t[a],a)}}}function xl(e,t,r,n,i,a,s,o,c,l,u){const f=t.blueprint.slice();return f[gi]=i,f[He]=76|n,(null!==u||e&&1024&e[He])&&(f[He]|=1024),yg(f),f[Rt]=f[Wa]=e,f[Lt]=r,f[Uc]=s||e&&e[Uc],f[Ge]=o||e&&e[Ge],f[xf]=c||e&&e[xf]||null,f[Bc]=l||e&&e[Bc]||null,f[xr]=a,f[Qs]=function GS(){return WS++}(),f[ug]=u,f[vr]=2==t.type?e[vr]:f,f}function ds(e,t,r,n,i){let a=e.data[t];if(null===a)a=function F0(e,t,r,n,i){const a=Dg(),s=Ef(),c=e.data[t]=function nA(e,t,r,n,i,a){return{type:r,index:n,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?a:a&&a.parent,r,t,n,i);return null===e.firstChild&&(e.firstChild=c),null!==a&&(s?null==a.child&&null!==c.parent&&(a.child=c):null===a.next&&(a.next=c,c.prev=a)),c}(e,t,r,n,i),function KT(){return Oe.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=r,a.value=n,a.attrs=i;const s=function eo(){const e=Oe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===s?-1:s.injectorIndex}return Kn(a,!0),a}function po(e,t,r,n){if(0===r)return-1;const i=t.length;for(let a=0;a<r;a++)t.push(n),e.blueprint.push(n),e.data.push(null);return i}function b0(e,t,r){kf(t);try{const n=e.viewQuery;null!==n&&U0(1,n,r);const i=e.template;null!==i&&Sm(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Tm(e,t),e.staticViewQueries&&U0(2,e.viewQuery,r);const a=e.components;null!==a&&function eA(e,t){for(let r=0;r<t.length;r++)DA(e,t[r])}(t,a)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{t[He]&=-5,Af()}}function vl(e,t,r,n){const i=t[He];if(128!=(128&i)){kf(t);try{yg(t),function Sg(e){return Oe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==r&&Sm(e,t,r,2,n);const s=3==(3&i);if(s){const l=e.preOrderCheckHooks;null!==l&&Xc(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Kc(t,l,0,null),Ff(t,0)}if(function wA(e){for(let t=Zf(e);null!==t;t=Qf(t)){if(!t[fg])continue;const r=t[za];for(let n=0;n<r.length;n++){const i=r[n];512&i[He]||wf(i[Rt],1),i[He]|=512}}}(t),function yA(e){for(let t=Zf(e);null!==t;t=Qf(t))for(let r=Mr;r<t.length;r++){const n=t[r],i=n[xe];Gc(n)&&vl(i,n,i.template,n[Lt])}}(t),null!==e.contentQueries&&Tm(e,t),s){const l=e.contentCheckHooks;null!==l&&Xc(t,l)}else{const l=e.contentHooks;null!==l&&Kc(t,l,1),Ff(t,1)}!function Qk(e,t){const r=e.hostBindingOpCodes;if(null!==r)try{for(let n=0;n<r.length;n++){const i=r[n];if(i<0)la(~i);else{const a=i,s=r[++n],o=r[++n];YT(s,a),o(2,t[a])}}}finally{la(-1)}}(e,t);const o=e.components;null!==o&&function Jk(e,t){for(let r=0;r<t.length;r++)EA(e,t[r])}(t,o);const c=e.viewQuery;if(null!==c&&U0(2,c,n),s){const l=e.viewCheckHooks;null!==l&&Xc(t,l)}else{const l=e.viewHooks;null!==l&&Kc(t,l,2),Ff(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[He]&=-41,512&t[He]&&(t[He]&=-513,wf(t[Rt],-1))}finally{Af()}}}function Sm(e,t,r,n,i){const a=function Or(){return Oe.lFrame.selectedIndex}(),s=2&n;try{la(-1),s&&t.length>At&&function dm(e,t,r,n){if(!n)if(3==(3&t[He])){const a=e.preOrderCheckHooks;null!==a&&Xc(t,a,r)}else{const a=e.preOrderHooks;null!==a&&Kc(t,a,0,r)}la(r)}(e,t,At,!1),gn(s?2:0,i),r(n,i)}finally{la(a),gn(s?3:1,i)}}function I0(e,t,r){if(_f(t)){const i=t.directiveEnd;for(let a=t.directiveStart;a<i;a++){const s=e.data[a];s.contentQueries&&s.contentQueries(1,r[a],a)}}}function Cm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=O0(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function O0(e,t,r,n,i,a,s,o,c,l){const u=At+n,f=u+i,d=function tA(e,t){const r=[];for(let n=0;n<t;n++)r.push(n<e?null:Re);return r}(u,f),h="function"==typeof l?l():l;return d[xe]={type:e,blueprint:d,template:r,queries:null,viewQuery:o,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1}}function km(e,t,r,n){const i=function Nm(e){return e[$a]||(e[$a]=[])}(t);null===r?i.push(n):(i.push(r),e.firstCreatePass&&function Om(e){return e.cleanup||(e.cleanup=[])}(e).push(n,i.length-1))}function Am(e,t,r,n){for(let i in e)if(e.hasOwnProperty(i)){r=null===r?{}:r;const a=e[i];null===n?Fm(r,t,i,a):n.hasOwnProperty(i)&&Fm(r,t,n[i],a)}return r}function Fm(e,t,r,n){e.hasOwnProperty(r)?e[r].push(t,n):e[r]=[t,n]}function bm(e,t,r,n,i,a){for(let l=0;l<n.length;l++)Rf(Qc(r,t),e,n[l].type);!function gA(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}(r,e.data.length,n.length);for(let l=0;l<n.length;l++){const u=n[l];u.providersResolver&&u.providersResolver(u)}let s=!1,o=!1,c=po(e,t,n.length,null);for(let l=0;l<n.length;l++){const u=n[l];r.mergedAttrs=ro(r.mergedAttrs,u.hostAttrs),mA(e,r,t,c,u),pA(c,u,i),null!==u.contentQueries&&(r.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(r.flags|=64);const f=u.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),s=!0),!o&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),o=!0),c++}!function iA(e,t,r){const i=t.directiveEnd,a=e.data,s=t.attrs,o=[];let c=null,l=null;for(let u=t.directiveStart;u<i;u++){const f=a[u],d=r?r.get(f):null,p=d?d.outputs:null;c=Am(f.inputs,u,c,d?d.inputs:null),l=Am(f.outputs,u,l,p);const m=null===c||null===s||lm(t)?null:_A(c,u,s);o.push(m)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=o,t.inputs=c,t.outputs=l}(e,r,a)}function Im(e,t,r){const n=r.directiveStart,i=r.directiveEnd,a=r.index,s=function qT(){return Oe.lFrame.currentDirectiveIndex}();try{la(a);for(let o=n;o<i;o++){const c=e.data[o],l=t[o];Tf(o),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&fA(c,l)}}finally{la(-1),Tf(s)}}function fA(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function P0(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function pA(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;In(t)&&(r[""]=e)}}function mA(e,t,r,n,i){e.data[n]=i;const a=i.factory||(i.factory=ca(i.type)),s=new to(a,In(i),Xe);e.blueprint[n]=s,r[n]=s,function cA(e,t,r,n,i){const a=i.hostBindings;if(a){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const o=~t.index;(function lA(e){let t=e.length;for(;t>0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(s)!=o&&s.push(o),s.push(r,n,a)}}(e,t,n,po(e,r,i.hostVars,Re),i)}function vA(e,t,r,n,i,a){const s=a[t];if(null!==s){const o=n.setInput;for(let c=0;c<s.length;){const l=s[c++],u=s[c++],f=s[c++];null!==o?n.setInput(r,f,l,u):r[u]=f}}}function _A(e,t,r){let n=null,i=0;for(;i<r.length;){const a=r[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===n&&(n=[]);const s=e[a];for(let o=0;o<s.length;o+=2)if(s[o]===t){n.push(a,s[o+1],r[i+1]);break}}i+=2}else i+=2;else i+=4}return n}function EA(e,t){const r=Gr(t,e);if(Gc(r)){const n=r[xe];48&r[He]?vl(n,r,n.template,r[Lt]):r[oa]>0&&B0(r)}}function B0(e){for(let n=Zf(e);null!==n;n=Qf(n))for(let i=Mr;i<n.length;i++){const a=n[i];if(Gc(a))if(512&a[He]){const s=a[xe];vl(s,a,s.template,a[Lt])}else a[oa]>0&&B0(a)}const r=e[xe].components;if(null!==r)for(let n=0;n<r.length;n++){const i=Gr(r[n],e);Gc(i)&&i[oa]>0&&B0(i)}}function DA(e,t){const r=Gr(t,e),n=r[xe];(function TA(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])})(n,r),b0(n,r,r[Lt])}function _l(e,t){return e[qs]?e[lg][Fn]=t:e[qs]=t,e[lg]=t,t}function yl(e){for(;e;){e[He]|=32;const t=lo(e);if(AT(e)&&!t)return e;e=t}return null}function wl(e,t,r,n=!0){const i=t[Uc];i.begin&&i.begin();try{vl(e,t,e.template,r)}catch(s){throw n&&function Pm(e,t){const r=e[Bc],n=r?r.get(ls,null):null;n&&n.handleError(t)}(t,s),s}finally{i.end&&i.end()}}function U0(e,t,r){Cf(0),t(e,r)}function H0(e,t,r,n,i){for(let a=0;a<r.length;){const s=r[a++],o=r[a++],c=t[s],l=e.data[s];null!==l.setInput?l.setInput(c,i,n,o):c[o]=i}}function El(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,a=0;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?a=o:1==a?i=of(i,o):2==a&&(n=of(n,o+": "+t[++s]+";"))}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=i:e.classesWithoutHost=i}function Dl(e,t,r,n,i=!1){for(;null!==r;){const a=t[r.index];if(null!==a&&n.push(hr(a)),bn(a))for(let o=Mr;o<a.length;o++){const c=a[o],l=c[xe].firstChild;null!==l&&Dl(c[xe],c,l,n)}const s=r.type;if(8&s)Dl(e,t,r.child,n);else if(32&s){const o=qf(r,t);let c;for(;c=o();)n.push(c)}else if(16&s){const o=A1(t,r);if(Array.isArray(o))n.push(...o);else{const c=lo(t[vr]);Dl(c[xe],c,o,n,!0)}}r=i?r.projectionNext:r.next}return n}class go{get rootNodes(){const t=this._lView,r=t[xe];return Dl(r,t,r.firstChild,[])}constructor(t,r){this._lView=t,this._cdRefInjectingView=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Lt]}set context(t){this._lView[Lt]=t}get destroyed(){return 128==(128&this._lView[He])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Rt];if(bn(t)){const r=t[Vc],n=r?r.indexOf(this):-1;n>-1&&(t0(t,n),el(r,n))}this._attachedToViewContainer=!1}_1(this._lView[xe],this._lView)}onDestroy(t){km(this._lView[xe],this._lView,null,t)}markForCheck(){yl(this._cdRefInjectingView||this._lView)}detach(){this._lView[He]&=-65}reattach(){this._lView[He]|=64}detectChanges(){wl(this._lView[xe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sC(e,t){uo(e,t,t[Ge],2,null,null)}(this._lView[xe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=t}}class SA extends go{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;wl(t[xe],t,t[Lt],!1)}checkNoChanges(){}get context(){return null}}class Lm extends gl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=ht(t);return new mo(r,this.ngModule)}}function Bm(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class kA{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=Rc(n);const i=this.injector.get(t,E0,n);return i!==E0||r===E0?i:this.parentInjector.get(t,r,n)}}class mo extends rm{get inputs(){return Bm(this.componentDef.inputs)}get outputs(){return Bm(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function bk(e){return e.map(Fk).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,i){let a=(i=i||this.ngModule)instanceof as?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const s=a?new kA(t,a):t,o=s.get(im,null);if(null===o)throw new De(407,!1);const c=s.get(lk,null),l=o.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",f=n?function rA(e,t,r){return e.selectRootElement(t,r===zn.ShadowDom)}(l,n,this.componentDef.encapsulation):e0(l,u,function CA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),d=this.componentDef.onPush?288:272,h=O0(0,null,null,1,0,null,null,null,null,null),p=xl(null,h,null,d,null,null,o,l,c,s,null);let m,g;kf(p);try{const x=this.componentDef;let _,v=null;x.findHostDirectiveDefs?(_=[],v=new Map,x.findHostDirectiveDefs(x,_,v),_.push(x)):_=[x];const S=function FA(e,t){const r=e[xe],n=At;return e[n]=t,ds(r,n,2,"#host",null)}(p,f),P=function bA(e,t,r,n,i,a,s,o){const c=i[xe];!function IA(e,t,r,n){for(const i of e)t.mergedAttrs=ro(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(El(t,t.mergedAttrs,!0),null!==r&&I1(n,r,t))}(n,e,t,s);const l=a.createRenderer(t,r),u=xl(i,Cm(r),null,r.onPush?32:16,i[e.index],e,a,l,o||null,null,null);return c.firstCreatePass&&P0(c,e,n.length-1),_l(i,u),i[e.index]=u}(S,f,x,_,p,o,l);g=_g(h,At),f&&function NA(e,t,r,n){if(n)If(e,r,["ng-version",uk.full]);else{const{attrs:i,classes:a}=function Ik(e){const t=[],r=[];let n=1,i=2;for(;n<e.length;){let a=e[n];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++n]):8===i&&r.push(a);else{if(!Mn(i))break;i=a}n++}return{attrs:t,classes:r}}(t.selectors[0]);i&&If(e,r,i),a&&a.length>0&&b1(e,r,a.join(" "))}}(l,x,f,n),void 0!==r&&function OA(e,t,r){const n=e.projection=[];for(let i=0;i<t.length;i++){const a=r[i];n.push(null!=a?Array.from(a):null)}}(g,this.ngContentSelectors,r),m=function MA(e,t,r,n,i,a){const s=pr(),o=i[xe],c=nn(s,i);bm(o,i,s,r,null,n);for(let u=0;u<r.length;u++)_r(ua(i,o,s.directiveStart+u,s),i);Im(o,i,s),c&&_r(c,i);const l=ua(i,o,s.directiveStart+s.componentOffset,s);if(e[Lt]=i[Lt]=l,null!==a)for(const u of a)u(l,t);return I0(o,s,e),l}(P,x,_,v,p,[RA]),b0(h,p,null)}finally{Af()}return new AA(this.componentType,m,os(g,p),p,g)}}class AA extends nk{constructor(t,r,n,i,a){super(),this.location=n,this._rootLView=i,this._tNode=a,this.instance=r,this.hostView=this.changeDetectorRef=new SA(i),this.componentType=t}setInput(t,r){const n=this._tNode.inputs;let i;if(null!==n&&(i=n[t])){const a=this._rootLView;H0(a[xe],a,i,t,r),yl(Gr(this._tNode.index,a))}}get injector(){return new qa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function RA(){const e=pr();zc(Q()[xe],e)}function $0(e,t,r){const n=Q();return function yr(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}(n,function Ka(){return Oe.lFrame.bindingIndex++}(),t)&&function on(e,t,r,n,i,a,s,o){const c=nn(t,r);let u,l=t.inputs;!o&&null!=l&&(u=l[n])?(H0(e,r,u,n,i),Js(t)&&function sA(e,t){const r=Gr(t,e);16&r[He]||(r[He]|=32)}(r,t.index)):3&t.type&&(n=function aA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),i=null!=s?s(i,t.value||"",n):i,a.setProperty(c,n,i))}(st(),function Mt(){const e=Oe.lFrame;return _g(e.tView,e.selectedIndex)}(),n,e,t,n[Ge],r,!1),$0}function W0(e,t,r,n,i){const s=i?"class":"style";H0(e,r,t.inputs[s],s,n)}function G0(e,t,r,n){const i=Q(),a=st(),s=At+e,o=i[Ge],c=a.firstCreatePass?function JA(e,t,r,n,i,a){const s=t.consts,c=ds(t,e,2,n,Vi(s,i));return function R0(e,t,r,n){if(Eg()){const i=null===n?null:{"":-1},a=function dA(e,t){const r=e.directiveRegistry;let n=null,i=null;if(r)for(let a=0;a<r.length;a++){const s=r[a];if(um(t,s.selectors,!1))if(n||(n=[]),In(s))if(null!==s.findHostDirectiveDefs){const o=[];i=i||new Map,s.findHostDirectiveDefs(s,o,i),n.unshift(...o,s),P0(e,t,o.length)}else n.unshift(s),P0(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,n,i),n.push(s)}return null===n?null:[n,i]}(e,r);let s,o;null===a?s=o=null:[s,o]=a,null!==s&&bm(e,t,r,s,i,o),i&&function hA(e,t,r){if(t){const n=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=r[t[i+1]];if(null==a)throw new De(-301,!1);n.push(t[i],a)}}}(r,n,i)}r.mergedAttrs=ro(r.mergedAttrs,r.attrs)}(t,r,c,Vi(s,a)),null!==c.attrs&&El(c,c.attrs,!1),null!==c.mergedAttrs&&El(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,a,i,t,r,n):a.data[s],l=i[s]=e0(o,t,function iS(){return Oe.lFrame.currentNamespace}()),u=function jc(e){return 1==(1&e.flags)}(c);return Kn(c,!0),I1(o,l,c),32!=(32&c.flags)&&ol(a,i,l,c),0===function HT(){return Oe.lFrame.elementDepthCount}()&&_r(l,i),function VT(){Oe.lFrame.elementDepthCount++}(),u&&(function M0(e,t,r){Eg()&&(function uA(e,t,r,n){const i=r.directiveStart,a=r.directiveEnd;Js(r)&&function xA(e,t,r){const n=nn(t,e),i=Cm(r),a=e[Uc],s=_l(e,xl(e,i,null,r.onPush?32:16,n,t,a,a.createRenderer(n,r),null,null,null));e[t.index]=s}(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||Qc(r,t),_r(n,t);const s=r.initialInputs;for(let o=i;o<a;o++){const c=e.data[o],l=ua(t,e,o,r);_r(l,t),null!==s&&vA(0,o-i,l,c,0,s),In(c)&&(Gr(r.index,t)[Lt]=ua(t,e,o,r))}}(e,t,r,nn(r,t)),64==(64&r.flags)&&Im(e,t,r))}(a,i,c),I0(a,c,i)),null!==n&&function N0(e,t,r=nn){const n=t.localNames;if(null!==n){let i=t.index+1;for(let a=0;a<n.length;a+=2){const s=n[a+1],o=-1===s?r(t,e):e[s];e[i++]=o}}}(i,c),G0}function z0(){let e=pr();Ef()?function Df(){Oe.lFrame.isParent=!1}():(e=e.parent,Kn(e,!1));const t=e;!function jT(){Oe.lFrame.elementDepthCount--}();const r=st();return r.firstCreatePass&&(zc(r,e),_f(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function cS(e){return 0!=(8&e.flags)}(t)&&W0(r,t,Q(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function lS(e){return 0!=(16&e.flags)}(t)&&W0(r,t,Q(),t.stylesWithoutHost,!1),z0}function X0(e,t,r,n){return G0(e,t,r,n),z0(),X0}function q0(e){return!!e&&"function"==typeof e.then}const rF=function tx(e){return!!e&&"function"==typeof e.subscribe},Ts="en-US";let Jx=Ts;class Ss{}class qb{}class Sv extends Ss{constructor(t,r){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lm(this);const n=function tn(e,t){const r=e[ig]||null;if(!r&&!0===t)throw new Error(`Type ${Et(e)} does not have '\u0275mod' property.`);return r}(t);this._bootstrapComponents=function _i(e){return e instanceof Function?e():e}(n.bootstrap),this._r3Injector=xm(t,r,[{provide:Ss,useValue:this},{provide:gl,useValue:this.componentFactoryResolver}],Et(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ld extends qb{constructor(t){super(),this.moduleType=t}create(t){return new Sv(this.moduleType,t)}}function fd(e){return t=>{setTimeout(e,void 0,t)}}const wi=class CI extends Qu{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let i=t,a=r||(()=>null),s=n;if(t&&"object"==typeof t){const c=t;i=c.next?.bind(c),a=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(a=fd(a),i&&(i=fd(i)),s&&(s=fd(s)));const o=super.subscribe({next:i,error:a,complete:s});return t instanceof Wn&&t.add(o),o}};function kI(){return this._results[Symbol.iterator]()}class dd{get changes(){return this._changes||(this._changes=new wi)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const r=dd.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=kI)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){const n=this;n.dirty=!1;const i=function mn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function yS(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],a=t[n];if(r&&(i=r(i),a=r(a)),a!==i)return!1}return!0}(n._results,i,r))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ei=(()=>{class e{}return e.__NG_ELEMENT_ID__=bI,e})();const AI=Ei,FI=class extends AI{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}createEmbeddedView(t,r){const n=this._declarationTContainer.tView,i=xl(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null,r||null);i[Zs]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Xn];return null!==s&&(i[Xn]=s.createEmbeddedView(n)),b0(n,i,t),new go(i)}};function bI(){return Ml(pr(),Q())}function Ml(e,t){return 4&e.type?new FI(t,e,os(e,t)):null}let ti=(()=>{class e{}return e.__NG_ELEMENT_ID__=II,e})();function II(){return Hv(pr(),Q())}const MI=ti,Bv=class extends MI{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return os(this._hostTNode,this._hostLView)}get injector(){return new qa(this._hostTNode,this._hostLView)}get parentInjector(){const t=Of(this._hostTNode,this._hostLView);if(Lg(t)){const r=qc(t,this._hostLView),n=Yc(t);return new qa(r[xe].data[n+8],r)}return new qa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=Uv(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-Mr}createEmbeddedView(t,r,n){let i,a;"number"==typeof n?i=n:null!=n&&(i=n.index,a=n.injector);const s=t.createEmbeddedView(r||{},a);return this.insert(s,i),s}createComponent(t,r,n,i,a){const s=t&&!function io(e){return"function"==typeof e}(t);let o;if(s)o=r;else{const f=r||{};o=f.index,n=f.injector,i=f.projectableNodes,a=f.environmentInjector||f.ngModuleRef}const c=s?t:new mo(ht(t)),l=n||this.parentInjector;if(!a&&null==c.ngModule){const d=(s?l:this.parentInjector).get(as,null);d&&(a=d)}const u=c.create(l,i,void 0,a);return this.insert(u.hostView,o),u}insert(t,r){const n=t._lView,i=n[xe];if(function UT(e){return bn(e[Rt])}(n)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const f=n[Rt],d=new Bv(f,f[xr],f[Rt]);d.detach(d.indexOf(t))}}const a=this._adjustIndex(r),s=this._lContainer;!function cC(e,t,r,n){const i=Mr+n,a=r.length;n>0&&(r[i-1][Fn]=t),n<a-Mr?(t[Fn]=r[i],Yg(r,Mr+n,t)):(r.push(t),t[Fn]=null),t[Rt]=r;const s=t[Zs];null!==s&&r!==s&&function lC(e,t){const r=e[za];t[vr]!==t[Rt][Rt][vr]&&(e[fg]=!0),null===r?e[za]=[t]:r.push(t)}(s,t);const o=t[Xn];null!==o&&o.insertView(e),t[He]|=64}(i,n,s,a);const o=a0(a,s),c=n[Ge],l=sl(c,s[Hc]);return null!==l&&function aC(e,t,r,n,i,a){n[gi]=i,n[xr]=t,uo(e,n,r,1,i,a)}(i,s[xr],c,n,l,o),t.attachToViewContainerRef(),Yg(hd(s),a,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=Uv(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=t0(this._lContainer,r);n&&(el(hd(this._lContainer),r),_1(n[xe],n))}detach(t){const r=this._adjustIndex(t,-1),n=t0(this._lContainer,r);return n&&null!=el(hd(this._lContainer),r)?new go(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Uv(e){return e[Vc]}function hd(e){return e[Vc]||(e[Vc]=[])}function Hv(e,t){let r;const n=t[e.index];if(bn(n))r=n;else{let i;if(8&e.type)i=hr(n);else{const a=t[Ge];i=a.createComment("");const s=nn(e,t);da(a,sl(a,s),i,function hC(e,t){return e.nextSibling(t)}(a,s),!1)}t[e.index]=r=function Mm(e,t,r,n){return[e,!0,!1,t,null,0,n,r,null,null]}(n,t,i,e),_l(t,r)}return new Bv(r,e,t)}class pd{constructor(t){this.queryList=t,this.matches=null}clone(){return new pd(this.queryList)}setDirty(){this.queryList.setDirty()}}class gd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const n=null!==t.contentQueries?t.contentQueries[0]:r.length,i=[];for(let a=0;a<n;a++){const s=r.getByIndex(a);i.push(this.queries[s.indexInDeclarationView].clone())}return new gd(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)null!==Kv(t,r).matches&&this.queries[r].setDirty()}}class Vv{constructor(t,r,n=null){this.predicate=t,this.flags=r,this.read=n}}class md{constructor(t=[]){this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){const i=null!==r?r.length:0,a=this.getByIndex(n).embeddedTView(t,i);a&&(a.indexInDeclarationView=n,null!==r?r.push(a):r=[a])}return null!==r?new md(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xd{constructor(t,r=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new xd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const r=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==r;)n=n.parent;return r===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const a=n[i];this.matchTNodeWithReadOption(t,r,NI(r,a)),this.matchTNodeWithReadOption(t,r,Jc(r,t,a,!1,!1))}else n===Ei?4&r.type&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Jc(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===cs||i===ti||i===Ei&&4&r.type)this.addMatch(r.index,-2);else{const a=Jc(r,t,i,!1,!1);null!==a&&this.addMatch(r.index,a)}else this.addMatch(r.index,n)}}addMatch(t,r){null===this.matches?this.matches=[t,r]:this.matches.push(t,r)}}function NI(e,t){const r=e.localNames;if(null!==r)for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1];return null}function RI(e,t,r,n){return-1===r?function OI(e,t){return 11&e.type?os(e,t):4&e.type?Ml(e,t):null}(t,e):-2===r?function PI(e,t,r){return r===cs?os(t,e):r===Ei?Ml(t,e):r===ti?Hv(t,e):void 0}(e,t,n):ua(e,e[xe],r,t)}function jv(e,t,r,n){const i=t[Xn].queries[n];if(null===i.matches){const a=e.data,s=r.matches,o=[];for(let c=0;c<s.length;c+=2){const l=s[c];o.push(l<0?null:RI(t,a[l],s[c+1],r.metadata.read))}i.matches=o}return i.matches}function vd(e,t,r,n){const i=e.queries.getByIndex(r),a=i.matches;if(null!==a){const s=jv(e,t,i,r);for(let o=0;o<a.length;o+=2){const c=a[o];if(c>0)n.push(s[o/2]);else{const l=a[o+1],u=t[-c];for(let f=Mr;f<u.length;f++){const d=u[f];d[Zs]===d[Rt]&&vd(d[xe],d,l,n)}if(null!==u[za]){const f=u[za];for(let d=0;d<f.length;d++){const h=f[d];vd(h[xe],h,l,n)}}}}}return n}function $v(e){const t=Q(),r=st(),n=kg();Cf(n+1);const i=Kv(r,n);if(e.dirty&&function BT(e){return 4==(4&e[He])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const a=i.crossesNgTemplate?vd(r,t,n,[]):jv(r,t,i,n);e.reset(a,ok),e.notifyOnChanges()}return!0}return!1}function Wv(e,t,r){const n=st();n.firstCreatePass&&(function Xv(e,t,r){null===e.queries&&(e.queries=new md),e.queries.track(new xd(t,r))}(n,new Vv(e,t,r),-1),2==(2&t)&&(n.staticViewQueries=!0)),function zv(e,t,r){const n=new dd(4==(4&r));km(e,t,n,n.destroy),null===t[Xn]&&(t[Xn]=new gd),t[Xn].queries.push(new pd(n))}(n,Q(),t)}function Kv(e,t){return e.queries.getByIndex(t)}function Ol(...e){}const h_=new ze("Application Initializer");let Rl=(()=>{class e{constructor(r){this.appInits=r,this.resolve=Ol,this.reject=Ol,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i})}runInitializers(){if(this.initialized)return;const r=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const a=this.appInits[i]();if(q0(a))r.push(a);else if(rF(a)){const s=new Promise((o,c)=>{a.subscribe({complete:o,error:c})});r.push(s)}}Promise.all(r).then(()=>{n()}).catch(i=>{this.reject(i)}),0===r.length&&n(),this.initialized=!0}}return e.\u0275fac=function(r){return new(r||e)(at(h_,8))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ko=new ze("AppId",{providedIn:"root",factory:function p_(){return`${Dd()}${Dd()}${Dd()}`}});function Dd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const g_=new ze("Platform Initializer"),m_=new ze("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Di=new ze("LocaleId",{providedIn:"root",factory:()=>function _T(e,t=Me.Default){return at(e,Rc(t))}(Di,Me.Optional|Me.SkipSelf)||function s4(){return typeof $localize<"u"&&$localize.locale||Ts}()}),f4=(()=>Promise.resolve(0))();function Td(e){typeof Zone>"u"?f4.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class wr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new wi(!1),this.onMicrotaskEmpty=new wi(!1),this.onStable=new wi(!1),this.onError=new wi(!1),typeof Zone>"u")throw new De(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function d4(){let e=kt.requestAnimationFrame,t=kt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function g4(e){const t=()=>{!function p4(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(kt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cd(e),e.isCheckStableRunning=!0,Sd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,a,s,o)=>{try{return __(e),r.invokeTask(i,a,s,o)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),y_(e)}},onInvoke:(r,n,i,a,s,o,c)=>{try{return __(e),r.invoke(i,a,s,o,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),y_(e)}},onHasTask:(r,n,i,a)=>{r.hasTask(i,a),n===i&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Cd(e),Sd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,n,i,a)=>(r.handleError(i,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!wr.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if(wr.isInAngularZone())throw new De(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,i){const a=this._inner,s=a.scheduleEventTask("NgZoneEvent: "+i,t,h4,Ol,Ol);try{return a.runTask(s,r,n)}finally{a.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const h4={};function Sd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Cd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function __(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function y_(e){e._nesting--,Sd(e)}class m4{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wi,this.onMicrotaskEmpty=new wi,this.onStable=new wi,this.onError=new wi}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,i){return t.apply(r,n)}}const w_=new ze(""),Pl=new ze("");let Fd,kd=(()=>{class e{constructor(r,n,i){this._ngZone=r,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Fd||(function x4(e){Fd=e}(i),i.addToWindow(n)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{wr.assertNotInAngularZone(),Td(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Td(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(r)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,n,i){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==a),r(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:i})}whenStable(r,n,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,n,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,n,i){return[]}}return e.\u0275fac=function(r){return new(r||e)(at(wr),at(Ad),at(Pl))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})(),Ad=(()=>{class e{constructor(){this._applications=new Map}registerApplication(r,n){this._applications.set(r,n)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,n=!0){return Fd?.findTestabilityInTree(this,r,n)??null}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ti=!1;let Wi=null;const E_=new ze("AllowMultipleToken"),bd=new ze("PlatformDestroyListeners"),v4=new ze("appBootstrapListener");function T_(e,t,r=[]){const n=`Platform: ${t}`,i=new ze(n);return(a=[])=>{let s=Id();if(!s||s.injector.get(E_,!1)){const o=[...r,...a,{provide:i,useValue:!0}];e?e(o):function w4(e){if(Wi&&!Wi.get(E_,!1))throw new De(400,!1);Wi=e;const t=e.get(C_);(function D_(e){const t=e.get(g_,null);t&&t.forEach(r=>r())})(e)}(function S_(e=[],t){return ji.create({name:t,providers:[{provide:x0,useValue:"platform"},{provide:bd,useValue:new Set([()=>Wi=null])},...e]})}(o,n))}return function D4(e){const t=Id();if(!t)throw new De(401,!1);return t}()}}function Id(){return Wi?.get(C_)??null}let C_=(()=>{class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,n){const i=function A_(e,t){let r;return r="noop"===e?new m4:("zone.js"===e?void 0:e)||new wr(t),r}(n?.ngZone,function k_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(n)),a=[{provide:wr,useValue:i}];return i.run(()=>{const s=ji.create({providers:a,parent:this.injector,name:r.moduleType.name}),o=r.create(s),c=o.injector.get(ls,null);if(!c)throw new De(402,!1);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:u=>{c.handleError(u)}});o.onDestroy(()=>{Ll(this._modules,o),l.unsubscribe()})}),function F_(e,t,r){try{const n=r();return q0(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(c,i,()=>{const l=o.injector.get(Rl);return l.runInitializers(),l.donePromise.then(()=>(function ev(e){dn(e,"Expected localeId to be defined"),"string"==typeof e&&(Jx=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Di,Ts)||Ts),this._moduleDoBootstrap(o),o))})})}bootstrapModule(r,n=[]){const i=b_({},n);return function _4(e,t,r){const n=new ld(r);return Promise.resolve(n)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,i))}_moduleDoBootstrap(r){const n=r.injector.get(Md);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>n.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new De(-403,!1);r.instance.ngDoBootstrap(n)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new De(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const r=this._injector.get(bd,null);r&&(r.forEach(n=>n()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(r){return new(r||e)(at(ji))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function b_(e,t){return Array.isArray(t)?t.reduce(b_,e):{...e,...t}}let Md=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(r,n,i){this._zone=r,this._injector=n,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new jr(o=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{o.next(this._stable),o.complete()})}),s=new jr(o=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{wr.assertNotInAngularZone(),Td(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,o.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{wr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{o.next(!1)}))});return()=>{c.unsubscribe(),l.unsubscribe()}});this.isStable=iT(a,s.pipe(function aT(e={}){const{connector:t=(()=>new Qu),resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=e;return a=>{let s,o,c,l=0,u=!1,f=!1;const d=()=>{o?.unsubscribe(),o=void 0},h=()=>{d(),s=c=void 0,u=f=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return $s((m,g)=>{l++,!f&&!u&&d();const x=c=c??t();g.add(()=>{l--,0===l&&!f&&!u&&(o=af(p,i))}),x.subscribe(g),!s&&l>0&&(s=new js({next:_=>x.next(_),error:_=>{f=!0,d(),o=af(h,r,_),x.error(_)},complete:()=>{u=!0,d(),o=af(h,n),x.complete()}}),Bi(m).subscribe(s))})(a)}}()))}bootstrap(r,n){const i=r instanceof rm;if(!this._injector.get(Rl).done){!i&&function Ys(e){const t=ht(e)||mr(e)||Wr(e);return null!==t&&t.standalone}(r);throw new De(405,Ti)}let s;s=i?r:this._injector.get(gl).resolveComponentFactory(r),this.componentTypes.push(s.componentType);const o=function y4(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ss),l=s.create(ji.NULL,[],n||s.selector,o),u=l.location.nativeElement,f=l.injector.get(w_,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Ll(this.components,l),f?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new De(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(r))}finally{this._runningTick=!1}}attachView(r){const n=r;this._views.push(n),n.attachToAppRef(this)}detachView(r){const n=r;Ll(this._views,n),n.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const n=this._injector.get(v4,[]);n.push(...this._bootstrapListeners),n.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ll(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new De(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(r){return new(r||e)(at(wr),at(as),at(ls))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ll(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const H4=T_(null,"core",[]);let V4=(()=>{class e{constructor(r){}}return e.\u0275fac=function(r){return new(r||e)(at(Md))},e.\u0275mod=Ks({type:e}),e.\u0275inj=Va({}),e})(),Ld=null;function Vl(){return Ld}class W4{}const Pn=new ze("DocumentToken");let oN=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ks({type:e}),e.\u0275inj=Va({}),e})();class UN extends W4{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class eh extends UN{static makeCurrent(){!function $4(e){Ld||(Ld=e)}(new eh)}onAndCancel(t,r,n){return t.addEventListener(r,n,!1),()=>{t.removeEventListener(r,n,!1)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return(r=r||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return"window"===r?window:"document"===r?t:"body"===r?t.body:null}getBaseHref(t){const r=function HN(){return Mo=Mo||document.querySelector("base"),Mo?Mo.getAttribute("href"):null}();return null==r?null:function VN(e){Jl=Jl||document.createElement("a"),Jl.setAttribute("href",e);const t=Jl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(r)}resetBaseElement(){Mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function FM(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[i,a]=-1==n?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===t)return decodeURIComponent(a)}return null}(document.cookie,t)}}let Jl,Mo=null;const ly=new ze("TRANSITION_ID"),$N=[{provide:h_,useFactory:function jN(e,t,r){return()=>{r.get(Rl).donePromise.then(()=>{const n=Vl(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let a=0;a<i.length;a++)n.remove(i[a])})}},deps:[ly,Pn,ji],multi:!0}];let GN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();const eu=new ze("EventManagerPlugins");let tu=(()=>{class e{constructor(r,n){this._zone=n,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,n,i){return this._findPluginFor(n).addEventListener(r,n,i)}addGlobalEventListener(r,n,i){return this._findPluginFor(n).addGlobalEventListener(r,n,i)}getZone(){return this._zone}_findPluginFor(r){const n=this._eventNameToPlugin.get(r);if(n)return n;const i=this._plugins;for(let a=0;a<i.length;a++){const s=i[a];if(s.supports(r))return this._eventNameToPlugin.set(r,s),s}throw new Error(`No event manager plugin found for event ${r}`)}}return e.\u0275fac=function(r){return new(r||e)(at(eu),at(wr))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();class uy{constructor(t){this._doc=t}addGlobalEventListener(t,r,n){const i=Vl().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${r}`);return this.addEventListener(i,r,n)}}let fy=(()=>{class e{constructor(){this.usageCount=new Map}addStyles(r){for(const n of r)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(r){for(const n of r)0===this.changeUsageCount(n,-1)&&this.onStyleRemoved(n)}onStyleRemoved(r){}onStyleAdded(r){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(r,n){const i=this.usageCount;let a=i.get(r)??0;return a+=n,a>0?i.set(r,a):i.delete(r),a}ngOnDestroy(){for(const r of this.getAllStyles())this.onStyleRemoved(r);this.usageCount.clear()}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})(),No=(()=>{class e extends fy{constructor(r){super(),this.doc=r,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(r){for(const n of this.hostNodes)this.addStyleToHost(n,r)}onStyleRemoved(r){const n=this.styleRef;n.get(r)?.forEach(a=>a.remove()),n.delete(r)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const n of this.getAllStyles())this.addStyleToHost(r,n)}removeHost(r){this.hostNodes.delete(r)}addStyleToHost(r,n){const i=this.doc.createElement("style");i.textContent=n,r.appendChild(i);const a=this.styleRef.get(n);a?a.push(i):this.styleRef.set(n,[i])}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return e.\u0275fac=function(r){return new(r||e)(at(Pn))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();const th={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},rh=/%COMP%/g,py=new ze("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function gy(e,t){return t.flat(100).map(r=>r.replace(rh,e))}function my(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let nh=(()=>{class e{constructor(r,n,i,a){this.eventManager=r,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestory=a,this.rendererByCompId=new Map,this.defaultRenderer=new ih(r)}createRenderer(r,n){if(!r||!n)return this.defaultRenderer;const i=this.getOrCreateRenderer(r,n);return i instanceof _y?i.applyToHost(r):i instanceof ah&&i.applyStyles(),i}getOrCreateRenderer(r,n){const i=this.rendererByCompId;let a=i.get(n.id);if(!a){const s=this.eventManager,o=this.sharedStylesHost,c=this.removeStylesOnCompDestory;switch(n.encapsulation){case zn.Emulated:a=new _y(s,o,n,this.appId,c);break;case zn.ShadowDom:return new QN(s,o,r,n);default:a=new ah(s,o,n,c)}a.onDestroy=()=>i.delete(n.id),i.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return e.\u0275fac=function(r){return new(r||e)(at(tu),at(No),at(ko),at(py))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();class ih{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,r){return r?document.createElementNS(th[r]||r,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,r){(vy(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(vy(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,i){if(i){r=i+":"+r;const a=th[i];a?t.setAttributeNS(a,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){const i=th[n];i?t.removeAttributeNS(i,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,i){i&(zr.DashCase|zr.Important)?t.style.setProperty(r,n,i&zr.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&zr.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t[r]=n}setValue(t,r){t.nodeValue=r}listen(t,r,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,r,my(n)):this.eventManager.addEventListener(t,r,my(n))}}function vy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class QN extends ih{constructor(t,r,n,i){super(t),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=gy(i.id,i.styles);for(const s of a){const o=document.createElement("style");o.textContent=s,this.shadowRoot.appendChild(o)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ah extends ih{constructor(t,r,n,i,a=n.id){super(t),this.sharedStylesHost=r,this.removeStylesOnCompDestory=i,this.rendererUsageCount=0,this.styles=gy(a,n.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class _y extends ah{constructor(t,r,n,i,a){const s=i+"-"+n.id;super(t,r,n,a,s),this.contentAttr=function YN(e){return"_ngcontent-%COMP%".replace(rh,e)}(s),this.hostAttr=function qN(e){return"_nghost-%COMP%".replace(rh,e)}(s)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){const n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}}let JN=(()=>{class e extends uy{constructor(r){super(r)}supports(r){return!0}addEventListener(r,n,i){return r.addEventListener(n,i,!1),()=>this.removeEventListener(r,n,i)}removeEventListener(r,n,i){return r.removeEventListener(n,i)}}return e.\u0275fac=function(r){return new(r||e)(at(Pn))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();const yy=["alt","control","meta","shift"],e3={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},t3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let r3=(()=>{class e extends uy{constructor(r){super(r)}supports(r){return null!=e.parseEventName(r)}addEventListener(r,n,i){const a=e.parseEventName(n),s=e.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vl().onAndCancel(r,a.domEventName,s))}static parseEventName(r){const n=r.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const a=e._normalizeKey(n.pop());let s="",o=n.indexOf("code");if(o>-1&&(n.splice(o,1),s="code."),yy.forEach(l=>{const u=n.indexOf(l);u>-1&&(n.splice(u,1),s+=l+".")}),s+=a,0!=n.length||0===a.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(r,n){let i=e3[r.key]||r.key,a="";return n.indexOf("code.")>-1&&(i=r.code,a="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),yy.forEach(s=>{s!==i&&(0,t3[s])(r)&&(a+=s+".")}),a+=i,a===n)}static eventCallback(r,n,i){return a=>{e.matchEventFullKeyCode(a,r)&&i.runGuarded(()=>n(a))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return e.\u0275fac=function(r){return new(r||e)(at(Pn))},e.\u0275prov=Dt({token:e,factory:e.\u0275fac}),e})();const s3=T_(H4,"browser",[{provide:m_,useValue:"browser"},{provide:g_,useValue:function n3(){eh.makeCurrent()},multi:!0},{provide:Pn,useFactory:function a3(){return function wC(e){l0=e}(document),document},deps:[]}]),Dy=new ze(""),Ty=[{provide:Pl,useClass:class WN{addToWindow(t){kt.getAngularTestability=(n,i=!0)=>{const a=t.findTestabilityInTree(n,i);if(null==a)throw new Error("Could not find testability for element.");return a},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(n=>{const i=kt.getAllAngularTestabilities();let a=i.length,s=!1;const o=function(c){s=s||c,a--,0==a&&n(s)};i.forEach(function(c){c.whenStable(o)})})}findTestabilityInTree(t,r,n){return null==r?null:t.getTestability(r)??(n?Vl().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},deps:[]},{provide:w_,useClass:kd,deps:[wr,Ad,Pl]},{provide:kd,useClass:kd,deps:[wr,Ad,Pl]}],Sy=[{provide:x0,useValue:"root"},{provide:ls,useFactory:function i3(){return new ls},deps:[]},{provide:eu,useClass:JN,multi:!0,deps:[Pn,wr,m_]},{provide:eu,useClass:r3,multi:!0,deps:[Pn]},{provide:nh,useClass:nh,deps:[tu,No,ko,py]},{provide:im,useExisting:nh},{provide:fy,useExisting:No},{provide:No,useClass:No,deps:[Pn]},{provide:tu,useClass:tu,deps:[eu,wr]},{provide:class dN{},useClass:GN,deps:[]},[]];let o3=(()=>{class e{constructor(r){}static withServerTransition(r){return{ngModule:e,providers:[{provide:ko,useValue:r.appId},{provide:ly,useExisting:ko},$N]}}}return e.\u0275fac=function(r){return new(r||e)(at(Dy,12))},e.\u0275mod=Ks({type:e}),e.\u0275inj=Va({providers:[...Sy,...Ty],imports:[oN,V4]}),e})();typeof window<"u"&&window;let Ay=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=Dt({token:e,factory:function(r){let n=null;return n=r?new(r||e):at(Fy),n},providedIn:"root"}),e})(),Fy=(()=>{class e extends Ay{constructor(r){super(),this._doc=r}sanitize(r,n){if(null==n)return null;switch(r){case Tt.NONE:return n;case Tt.HTML:return qn(n,"HTML")?sn(n):j1(this._doc,String(n)).toString();case Tt.STYLE:return qn(n,"Style")?sn(n):n;case Tt.SCRIPT:if(qn(n,"Script"))return sn(n);throw new Error("unsafe value used in a script context");case Tt.URL:return qn(n,"URL")?sn(n):fl(String(n));case Tt.RESOURCE_URL:if(qn(n,"ResourceURL"))return sn(n);throw new Error(`unsafe value used in a resource URL context (see ${Fc})`);default:throw new Error(`Unexpected SecurityContext ${r} (see ${Fc})`)}}bypassSecurityTrustHtml(r){return function AC(e){return new EC(e)}(r)}bypassSecurityTrustStyle(r){return function FC(e){return new DC(e)}(r)}bypassSecurityTrustScript(r){return function bC(e){return new TC(e)}(r)}bypassSecurityTrustUrl(r){return function IC(e){return new SC(e)}(r)}bypassSecurityTrustResourceUrl(r){return function MC(e){return new CC(e)}(r)}}return e.\u0275fac=function(r){return new(r||e)(at(Pn))},e.\u0275prov=Dt({token:e,factory:function(r){let n=null;return n=r?new r:function p3(e){return new Fy(e.get(Pn))}(at(ji)),n},providedIn:"root"}),e})();function by(e,t,r,n,i,a,s){try{var o=e[a](s),c=o.value}catch(l){return void r(l)}o.done?t(c):Promise.resolve(c).then(n,i)}var Be,nr=1200,_a=1252,m3=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],ch={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},ru=function(e){-1!=m3.indexOf(e)&&(_a=ch[0]=e)},yn=function(e){nr=e,ru(e)};function nu(){yn(1200),function x3(){ru(1252)}()}function iu(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function Iy(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 My(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 As=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?Iy(e.slice(2)):254==t&&255==r?My(e.slice(2)):65279==t?e.slice(1):e},Ro=function(t){return String.fromCharCode(t)},lh=function(t){return String.fromCharCode(t)},Ht=null,Ny=!0,wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function au(e){for(var t="",r=0,n=0,i=0,a=0,s=0,o=0,c=0,l=0;l<e.length;)a=(r=e.charCodeAt(l++))>>2,s=(3&r)<<4|(n=e.charCodeAt(l++))>>4,o=(15&n)<<2|(i=e.charCodeAt(l++))>>6,c=63&i,isNaN(n)?o=c=64:isNaN(i)&&(c=64),t+=wn.charAt(a)+wn.charAt(s)+wn.charAt(o)+wn.charAt(c);return t}function cn(e){var t="",a=0,s=0,o=0,c=0;e=e.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)a=wn.indexOf(e.charAt(l++)),s=wn.indexOf(e.charAt(l++)),t+=String.fromCharCode(a<<2|s>>4),64!==(o=wn.indexOf(e.charAt(l++)))&&(t+=String.fromCharCode((15&s)<<4|o>>2)),64!==(c=wn.indexOf(e.charAt(l++)))&&(t+=String.fromCharCode((3&o)<<6|c));return t}var Ke=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),ri=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(){}}(),Po=function(){if(typeof Buffer>"u")return!1;var e=ri([65,0]);return!!e&&1==e.toString("utf16le").length}();function zi(e){return Ke?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Oy(e){return Ke?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Lr=function(t){return Ke?ri(t,"binary"):t.split("").map(function(r){return 255&r.charCodeAt(0)})};function ni(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 uh(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return uh(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var Xt=Ke?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:ri(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),i=0;for(t=0,r=0;t<e.length;r+=i,++t)i=e[t].length,e[t]instanceof Uint8Array?n.set(e[t],r):n.set("string"==typeof e[t]?new Uint8Array(Lr(e[t])):new Uint8Array(e[t]),r);return n}return[].concat.apply([],e.map(function(a){return Array.isArray(a)?a:[].slice.call(a)}))},Er=/\u0000/g,Bo=/[\u0001-\u0006]/g;function Fs(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Un(e,t){var r=""+e;return r.length>=t?r:ot("0",t-r.length)+r}function fh(e,t){var r=""+e;return r.length>=t?r:ot(" ",t-r.length)+r}function su(e,t){var r=""+e;return r.length>=t?r:r+ot(" ",t-r.length)}var Ry=Math.pow(2,32);function bs(e,t){return e>Ry||e<-Ry?function D3(e,t){var r=""+Math.round(e);return r.length>=t?r:ot("0",t-r.length)+r}(e,t):function T3(e,t){var r=""+e;return r.length>=t?r:ot("0",t-r.length)+r}(Math.round(e),t)}function ou(e,t){return e.length>=7+(t=t||0)&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var Py=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],dh=[["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"]],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:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},Ly={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},C3={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 cu(e,t,r){for(var n=e<0?-1:1,i=e*n,a=0,s=1,o=0,c=1,l=0,u=0,f=Math.floor(i);l<t&&(o=(f=Math.floor(i))*s+a,u=f*l+c,!(i-f<5e-8));)i=1/(i-f),a=s,s=o,c=l,l=u;if(u>t&&(l>t?(u=c,o=a):(u=l,o=s)),!r)return[0,n*o,u];var d=Math.floor(n*o/u);return[d,n*o-d*u,u]}function Xi(e,t,r){if(e>2958465||e<0)return null;var n=0|e,i=Math.floor(86400*(e-n)),a=0,s=[],o={D:n,T:i,u:86400*(e-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(n+=1462),o.u>.9999&&(o.u=0,86400==++i&&(o.T=i=0,++n,++o.D)),60===n)s=r?[1317,10,29]:[1900,2,29],a=3;else if(0===n)s=r?[1317,8,29]:[1900,1,0],a=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),n<60&&(a=(a+6)%7),r&&(a=function M3(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}(c,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=i%60,i=Math.floor(i/60),o.M=i%60,i=Math.floor(i/60),o.H=i,o.q=a,o}var By=new Date(1899,11,31,0,0,0),k3=By.getTime(),A3=new Date(1900,2,1,0,0,0);function Uy(e,t){var r=e.getTime();return t?r-=1262304e5:e>=A3&&(r+=864e5),(r-(k3+6e4*(e.getTimezoneOffset()-By.getTimezoneOffset())))/864e5}function hh(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Uo(e){var r,t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return r=t>=-4&&t<=-1?e.toPrecision(10+t):Math.abs(t)<=9?function b3(e){var t=e<0?12:11,r=hh(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(e):10===t?e.toFixed(10).substr(0,12):function I3(e){var t=hh(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),hh(function F3(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(r.toUpperCase()))}function ya(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):Uo(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Yr(14,Uy(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function N3(e,t,r,n){var c,i="",a=0,s=0,o=r.y,l=0;switch(e){case 98:o=r.y+543;case 121:switch(t.length){case 1:case 2:c=o%100,l=2;break;default:c=o%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:c=r.m,l=t.length;break;case 3:return dh[r.m-1][1];case 5:return dh[r.m-1][0];default:return dh[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=r.d,l=t.length;break;case 3:return Py[r.q][0];default:return Py[r.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:c=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:c=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(s=n>=2?3===n?1e3:100:1===n?10:1,(a=Math.round(s*(r.S+r.u)))>=60*s&&(a=0),"s"===t?0===a?"0":""+a/s:(i=Un(a,2+n),"ss"===t?i.substr(0,2):"."+i.substr(2,t.length-1))):Un(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":c=24*r.D+r.H;break;case"[m]":case"[mm]":c=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":c=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:c=o,l=1}return l>0?Un(c,l):""}function Ci(e){if(e.length<=3)return e;for(var r=e.length%3,n=e.substr(0,r);r!=e.length;r+=3)n+=(n.length>0?",":"")+e.substr(r,3);return n}var Hy=/%/g;function Vy(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Vy(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),-1===(r=(t/Math.pow(10,a)).toPrecision(n+1+(i+a)%i)).indexOf("e")){var s=Math.floor(Math.log(t)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,c,l,u){return c+l+u.substr(0,(i+a)%i)+"."+u.substr(a)+"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 jy=/# (\?+)( ?)\/( ?)(\d+)/,$y=/^#*0*\.([0#]+)/,Wy=/\).*[0#]/,Gy=/\(###\) ###\\?-####/;function Br(e){for(var r,t="",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 zy(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function Xy(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 En(e,t,r){if(40===e.charCodeAt(0)&&!t.match(Wy)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?En("n",n,r):"("+En("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function R3(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return ki(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function O3(e,t,r){var n=t.replace(Hy,""),i=t.length-n.length;return ki(e,n,r*Math.pow(10,2*i))+ot("%",i)}(e,t,r);if(-1!==t.indexOf("E"))return Vy(t,r);if(36===t.charCodeAt(0))return"$"+En(e,t.substr(" "==t.charAt(1)?2:1),r);var i,a,s,o,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+bs(c,t.length);if(t.match(/^[#?]+$/))return"0"===(i=bs(r,0))&&(i=""),i.length>t.length?i:Br(t.substr(0,t.length-i.length))+i;if(a=t.match(jy))return function P3(e,t,r){var n=parseInt(e[4],10),i=Math.round(t*n),a=Math.floor(i/n),s=i-a*n,o=n;return r+(0===a?"":""+a)+" "+(0===s?ot(" ",e[1].length+1+e[4].length):fh(s,e[1].length)+e[2]+"/"+e[3]+Un(o,e[4].length))}(a,c,l);if(t.match(/^#+0+$/))return l+bs(c,t.length-t.indexOf("0"));if(a=t.match($y))return i=zy(r,a[1].length).replace(/^([^\.]+)$/,"$1."+Br(a[1])).replace(/\.$/,"."+Br(a[1])).replace(/\.(\d*)$/,function(p,m){return"."+m+ot("0",Br(a[1]).length-m.length)}),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+zy(c,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ci(bs(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+En(e,t,-r):Ci(""+(Math.floor(r)+function B3(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(r,a[1].length)))+"."+Un(Xy(r,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return En(e,t.replace(/^#,#*,/,""),r);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=Fs(En(e,t.replace(/[\\-]/g,""),r)),s=0,Fs(Fs(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s<i.length?i.charAt(s++):"0"===p?"0":""}));if(t.match(Gy))return"("+(i=En(e,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=cu(c,Math.pow(10,s)-1,!1),i=""+l," "==(u=ki("n",a[1],o[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],(u=su(o[2],s)).length<a[4].length&&(u=Br(a[4].substr(a[4].length-u.length))+u),i+=u;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),l+((o=cu(c,Math.pow(10,s)-1,!0))[0]||(o[1]?"":"0"))+" "+(o[1]?fh(o[1],s)+a[2]+"/"+a[3]+su(o[2],s):ot(" ",2*s+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=bs(r,0),t.length<=i.length?i:Br(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var f=t.indexOf(".")-s,d=t.length-i.length-f;return Br(t.substr(0,f)+i+t.substr(t.length-d))}if(a=t.match(/^00,000\.([#0]*0)$/))return s=Xy(r,a[1].length),r<0?"-"+En(e,t,-r):Ci(function U3(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?Un(0,3-p.length):"")+p})+"."+Un(s,a[1].length);switch(t){case"###,##0.00":return En(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var h=Ci(bs(c,0));return"0"!==h?l+h:"";case"###,###.00":return En(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return En(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function Ky(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Ky(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),!(r=(t/Math.pow(10,a)).toPrecision(n+1+(i+a)%i)).match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,c,l,u){return c+l+u.substr(0,(i+a)%i)+"."+u.substr(a)+"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 ii(e,t,r){if(40===e.charCodeAt(0)&&!t.match(Wy)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ii("n",n,r):"("+ii("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function H3(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return ki(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function V3(e,t,r){var n=t.replace(Hy,""),i=t.length-n.length;return ki(e,n,r*Math.pow(10,2*i))+ot("%",i)}(e,t,r);if(-1!==t.indexOf("E"))return Ky(t,r);if(36===t.charCodeAt(0))return"$"+ii(e,t.substr(" "==t.charAt(1)?2:1),r);var i,a,s,o,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+Un(c,t.length);if(t.match(/^[#?]+$/))return i=""+r,0===r&&(i=""),i.length>t.length?i:Br(t.substr(0,t.length-i.length))+i;if(a=t.match(jy))return function L3(e,t,r){return r+(0===t?"":""+t)+ot(" ",e[1].length+2+e[4].length)}(a,c,l);if(t.match(/^#+0+$/))return l+Un(c,t.length-t.indexOf("0"));if(a=t.match($y))return i=(i=(""+r).replace(/^([^\.]+)$/,"$1."+Br(a[1])).replace(/\.$/,"."+Br(a[1]))).replace(/\.(\d*)$/,function(p,m){return"."+m+ot("0",Br(a[1]).length-m.length)}),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return l+Ci(""+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ii(e,t,-r):Ci(""+r)+"."+ot("0",a[1].length);if(a=t.match(/^#,#*,#0/))return ii(e,t.replace(/^#,#*,/,""),r);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=Fs(ii(e,t.replace(/[\\-]/g,""),r)),s=0,Fs(Fs(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s<i.length?i.charAt(s++):"0"===p?"0":""}));if(t.match(Gy))return"("+(i=ii(e,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=cu(c,Math.pow(10,s)-1,!1),i=""+l," "==(u=ki("n",a[1],o[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],(u=su(o[2],s)).length<a[4].length&&(u=Br(a[4].substr(a[4].length-u.length))+u),i+=u;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),l+((o=cu(c,Math.pow(10,s)-1,!0))[0]||(o[1]?"":"0"))+" "+(o[1]?fh(o[1],s)+a[2]+"/"+a[3]+su(o[2],s):ot(" ",2*s+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return t.length<=(i=""+r).length?i:Br(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var f=t.indexOf(".")-s,d=t.length-i.length-f;return Br(t.substr(0,f)+i+t.substr(t.length-d))}if(a=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ii(e,t,-r):Ci(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?Un(0,3-p.length):"")+p})+"."+Un(0,a[1].length);switch(t){case"###,###":case"##,###":case"#,###":var h=Ci(""+c);return"0"!==h?l+h:"";default:if(t.match(/\.[0#?]*$/))return ii(e,t.slice(0,t.lastIndexOf(".")),r)+Br(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function ki(e,t,r){return(0|r)===r?ii(e,t,r):En(e,t,r)}var Yy=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ki(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":ou(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))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"\u4e0a":if("A/P"===e.substr(t,3).toUpperCase()||"AM/PM"===e.substr(t,5).toUpperCase()||"\u4e0a\u5348/\u4e0b\u5348"===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(Yy))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;default:++t}return!1}var qy=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Zy(e,t){if(null==t)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}return!1}function Yr(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:ke)[e])&&(n=r.table&&r.table[Ly[e]]||ke[Ly[e]]),null==n&&(n=C3[e]||"General")}if(ou(n,0))return ya(t,r);t instanceof Date&&(t=Uy(t,r.date1904));var i=function W3(e,t){var r=function j3(e){for(var t=[],r=!1,n=0,i=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(i,n-i),i=n+1}if(t[t.length]=e.substr(i),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}(e),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof t)return[4,4===r.length||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var a=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,a];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var s=r[0].match(qy),o=r[1].match(qy);return Zy(t,s)?[n,r[0]]:Zy(t,o)?[n,r[1]]:[n,r[null!=s&&null!=o?2:1]]}return[n,a]}(n,t);if(ou(i[1]))return ya(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function $3(e,t,r,n){for(var l,u,f,i=[],a="",s=0,o="",c="t",d="H";s<e.length;)switch(o=e.charAt(s)){case"G":if(!ou(e,s))throw new Error("unrecognized character "+o+" in "+e);i[i.length]={t:"G",v:"General"},s+=7;break;case'"':for(a="";34!==(f=e.charCodeAt(++s))&&s<e.length;)a+=String.fromCharCode(f);i[i.length]={t:"t",v:a},++s;break;case"\\":var h=e.charAt(++s);i[i.length]={t:"("===h||")"===h?h:"t",v:h},++s;break;case"_":i[i.length]={t:"t",v:" "},s+=2;break;case"@":i[i.length]={t:"T",v:t},++s;break;case"B":case"b":if("1"===e.charAt(s+1)||"2"===e.charAt(s+1)){if(null==l&&null==(l=Xi(t,r,"2"===e.charAt(s+1))))return"";i[i.length]={t:"X",v:e.substr(s,2)},c=o,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":o=o.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||null==l&&null==(l=Xi(t,r)))return"";for(a=o;++s<e.length&&e.charAt(s).toLowerCase()===o;)a+=o;"m"===o&&"h"===c.toLowerCase()&&(o="M"),"h"===o&&(o=d),i[i.length]={t:o,v:a},c=o;break;case"A":case"a":case"\u4e0a":var m={t:o,v:o};if(null==l&&(l=Xi(t,r)),"A/P"===e.substr(s,3).toUpperCase()?(null!=l&&(m.v=l.H>=12?e.charAt(s+2):o),m.t="T",d="h",s+=3):"AM/PM"===e.substr(s,5).toUpperCase()?(null!=l&&(m.v=l.H>=12?"PM":"AM"),m.t="T",s+=5,d="h"):"\u4e0a\u5348/\u4e0b\u5348"===e.substr(s,5).toUpperCase()?(null!=l&&(m.v=l.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),m.t="T",s+=5,d="h"):(m.t="t",++s),null==l&&"T"===m.t)return"";i[i.length]=m,c=o;break;case"[":for(a=o;"]"!==e.charAt(s++)&&s<e.length;)a+=e.charAt(s);if("]"!==a.slice(-1))throw'unterminated "[" block: |'+a+"|";if(a.match(Yy)){if(null==l&&null==(l=Xi(t,r)))return"";i[i.length]={t:"Z",v:a.toLowerCase()},c=a.charAt(1)}else a.indexOf("$")>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ki(e)||(i[i.length]={t:"t",v:a}));break;case".":if(null!=l){for(a=o;++s<e.length&&"0"===(o=e.charAt(s));)a+=o;i[i.length]={t:"s",v:a};break}case"0":case"#":for(a=o;++s<e.length&&"0#?.,E+-%".indexOf(o=e.charAt(s))>-1;)a+=o;i[i.length]={t:"n",v:a};break;case"?":for(a=o;e.charAt(++s)===o;)a+=o;i[i.length]={t:o,v:a},c=o;break;case"*":++s,(" "==e.charAt(s)||"*"==e.charAt(s))&&++s;break;case"(":case")":i[i.length]={t:1===n?"t":o,v:o},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=o;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)a+=e.charAt(s);i[i.length]={t:"D",v:a};break;case" ":i[i.length]={t:o,v:o},++s;break;case"$":i[i.length]={t:"t",v:"$"},++s;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(o))throw new Error("unrecognized character "+o+" in "+e);i[i.length]={t:"t",v:o},++s}var _,g=0,x=0;for(s=i.length-1,c="t";s>=0;--s)switch(i[s].t){case"h":case"H":i[s].t=d,c="h",g<1&&(g=1);break;case"s":(_=i[s].v.match(/\.0+$/))&&(x=Math.max(x,_[0].length-1)),g<3&&(g=3);case"d":case"y":case"M":case"e":c=i[s].t;break;case"m":"s"===c&&(i[s].t="M",g<2&&(g=2));break;case"X":break;case"Z":g<1&&i[s].v.match(/[Hh]/)&&(g=1),g<2&&i[s].v.match(/[Mm]/)&&(g=2),g<3&&i[s].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H);break;case 2:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M)}var S,v="";for(s=0;s<i.length;++s)switch(i[s].t){case"t":case"T":case" ":case"D":break;case"X":i[s].v="",i[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":i[s].v=N3(i[s].t.charCodeAt(0),i[s].v,l,x),i[s].t="t";break;case"n":case"?":for(S=s+1;null!=i[S]&&("?"===(o=i[S].t)||"D"===o||(" "===o||"t"===o)&&null!=i[S+1]&&("?"===i[S+1].t||"t"===i[S+1].t&&"/"===i[S+1].v)||"("===i[s].t&&(" "===o||"n"===o||")"===o)||"t"===o&&("/"===i[S].v||" "===i[S].v&&null!=i[S+1]&&"?"==i[S+1].t));)i[s].v+=i[S].v,i[S]={v:"",t:";"},++S;v+=i[s].v,s=S-1;break;case"G":i[s].t="t",i[s].v=ya(t,r)}var b,w,P="";if(v.length>0){40==v.charCodeAt(0)?(b=t<0&&45===v.charCodeAt(0)?-t:t,w=ki("n",v,b)):(w=ki("n",v,b=t<0&&n>1?-t:t),b<0&&i[0]&&"t"==i[0].t&&(w=w.substr(1),i[0].v="-"+i[0].v)),S=w.length-1;var M=i.length;for(s=0;s<i.length;++s)if(null!=i[s]&&"t"!=i[s].t&&i[s].v.indexOf(".")>-1){M=s;break}var I=i.length;if(M===i.length&&-1===w.indexOf("E")){for(s=i.length-1;s>=0;--s)null==i[s]||-1==="n?".indexOf(i[s].t)||(S>=i[s].v.length-1?i[s].v=w.substr(1+(S-=i[s].v.length),i[s].v.length):S<0?i[s].v="":(i[s].v=w.substr(0,S+1),S=-1),i[s].t="t",I=s);S>=0&&I<i.length&&(i[I].v=w.substr(0,S+1)+i[I].v)}else if(M!==i.length&&-1===w.indexOf("E")){for(S=w.indexOf(".")-1,s=M;s>=0;--s)if(null!=i[s]&&-1!=="n?".indexOf(i[s].t)){for(u=i[s].v.indexOf(".")>-1&&s===M?i[s].v.indexOf(".")-1:i[s].v.length-1,P=i[s].v.substr(u+1);u>=0;--u)S>=0&&("0"===i[s].v.charAt(u)||"#"===i[s].v.charAt(u))&&(P=w.charAt(S--)+P);i[s].v=P,i[s].t="t",I=s}for(S>=0&&I<i.length&&(i[I].v=w.substr(0,S+1)+i[I].v),S=w.indexOf(".")+1,s=M;s<i.length;++s)if(null!=i[s]&&(-1!=="n?(".indexOf(i[s].t)||s===M)){for(u=i[s].v.indexOf(".")>-1&&s===M?i[s].v.indexOf(".")+1:0,P=i[s].v.substr(0,u);u<i[s].v.length;++u)S<w.length&&(P+=w.charAt(S++));i[s].v=P,i[s].t="t",I=s}}}for(s=0;s<i.length;++s)null!=i[s]&&"n?".indexOf(i[s].t)>-1&&(i[s].v=ki(i[s].t,i[s].v,b=n>1&&t<0&&s>0&&"-"===i[s-1].v?-t:t),i[s].t="t");var L="";for(s=0;s!==i.length;++s)null!=i[s]&&(L+=i[s].v);return L}(i[1],t,r,i[0])}function Is(){ke=function S3(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]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',e}()}var G3={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"},Jy=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,K3={"d.m":"d\\.m"};function Yi(e,t){return function ph(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(null!=ke[r]){if(ke[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return ke[t]=e,t}(K3[e]||e,t)}var Ai,ew=function(){var e={version:"1.2.0"},r=function t(){for(var w=0,M=new Array(256),I=0;256!=I;++I)M[I]=w=1&(w=1&(w=1&(w=1&(w=1&(w=1&(w=1&(w=1&(w=I)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1)?-306674912^w>>>1:w>>>1;return typeof Int32Array<"u"?new Int32Array(M):M}(),i=function n(w){var M=0,I=0,L=0,H=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(L=0;256!=L;++L)H[L]=w[L];for(L=0;256!=L;++L)for(I=w[L],M=256+L;M<4096;M+=256)I=H[M]=I>>>8^w[255&I];var O=[];for(L=1;16!=L;++L)O[L-1]=typeof Int32Array<"u"&&"function"==typeof H.subarray?H.subarray(256*L,256*L+256):H.slice(256*L,256*L+256);return O}(r),a=i[0],s=i[1],o=i[2],c=i[3],l=i[4],u=i[5],f=i[6],d=i[7],h=i[8],p=i[9],m=i[10],g=i[11],x=i[12],_=i[13],v=i[14];return e.table=r,e.bstr=function S(w,M){for(var I=-1^M,L=0,H=w.length;L<H;)I=I>>>8^r[255&(I^w.charCodeAt(L++))];return~I},e.buf=function P(w,M){for(var I=-1^M,L=w.length-15,H=0;H<L;)I=v[w[H++]^255&I]^_[w[H++]^I>>8&255]^x[w[H++]^I>>16&255]^g[w[H++]^I>>>24]^m[w[H++]]^p[w[H++]]^h[w[H++]]^d[w[H++]]^f[w[H++]]^u[w[H++]]^l[w[H++]]^c[w[H++]]^o[w[H++]]^s[w[H++]]^a[w[H++]]^r[w[H++]];for(L+=15;H<L;)I=I>>>8^r[255&(I^w[H++])];return~I},e.str=function b(w,M){for(var I=-1^M,L=0,H=w.length,O=0,ee=0;L<H;)(O=w.charCodeAt(L++))<128?I=I>>>8^r[255&(I^O)]:O<2048?I=(I=I>>>8^r[255&(I^(192|O>>6&31))])>>>8^r[255&(I^(128|63&O))]:O>=55296&&O<57344?(O=64+(1023&O),ee=1023&w.charCodeAt(L++),I=(I=(I=(I=I>>>8^r[255&(I^(240|O>>8&7))])>>>8^r[255&(I^(128|O>>2&63))])>>>8^r[255&(I^(128|ee>>6&15|(3&O)<<4))])>>>8^r[255&(I^(128|63&ee))]):I=(I=(I=I>>>8^r[255&(I^(224|O>>12&15))])>>>8^r[255&(I^(128|O>>6&63))])>>>8^r[255&(I^(128|63&O))];return~I},e}(),Te=function(){var c,t={};function n(y){if("/"==y.charAt(y.length-1))return-1===y.slice(0,-1).indexOf("/")?y:n(y.slice(0,-1));var C=y.lastIndexOf("/");return-1===C?y:y.slice(0,C+1)}function i(y){if("/"==y.charAt(y.length-1))return i(y.slice(0,-1));var C=y.lastIndexOf("/");return-1===C?y:y.slice(C+1)}function a(y,C){"string"==typeof C&&(C=new Date(C));var E=C.getHours();E=(E=E<<6|C.getMinutes())<<5|C.getSeconds()>>>1,y.write_shift(2,E);var T=C.getFullYear()-1980;T=(T=T<<4|C.getMonth()+1)<<5|C.getDate(),y.write_shift(2,T)}function o(y){ar(y,0);for(var C={},E=0;y.l<=y.length-4;){var T=y.read_shift(2),k=y.read_shift(2),A=y.l+k,V={};switch(T){case 21589:1&(E=y.read_shift(1))&&(V.mtime=y.read_shift(4)),k>5&&(2&E&&(V.atime=y.read_shift(4)),4&E&&(V.ctime=y.read_shift(4))),V.mtime&&(V.mt=new Date(1e3*V.mtime));break;case 1:var X=y.read_shift(4),U=y.read_shift(4);V.usz=U*Math.pow(2,32)+X,X=y.read_shift(4),U=y.read_shift(4),V.csz=U*Math.pow(2,32)+X}y.l=A,C[T]=V}return C}function l(){return c||(c=Ai)}function u(y,C){if(80==y[0]&&75==y[1])return aD(y,C);if(109==(32|y[0])&&105==(32|y[1]))return function qH(y,C){if("mime-version:"!=J(y.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var E=C&&C.root||"",T=(Ke&&Buffer.isBuffer(y)?y.toString("binary"):J(y)).split("\r\n"),k=0,A="";for(k=0;k<T.length;++k)if(/^Content-Location:/i.test(A=T[k])&&(A=A.slice(A.indexOf("file")),E||(E=A.slice(0,A.lastIndexOf("/")+1)),A.slice(0,E.length)!=E))for(;E.length>0&&(E=(E=E.slice(0,E.length-1)).slice(0,E.lastIndexOf("/")+1),A.slice(0,E.length)!=E););var V=(T[1]||"").match(/boundary="(.*?)"/);if(!V)throw new Error("MAD cannot find boundary");var X="--"+(V[1]||""),W={FileIndex:[],FullPaths:[]};w(W);var ie,se=0;for(k=0;k<T.length;++k){var ve=T[k];ve!==X&&ve!==X+"--"||(se++&&YH(W,T.slice(ie,k),E),ie=k)}return W}(y,C);if(y.length<512)throw new Error("CFB file size "+y.length+" < 512");var E,k,A,V,X,U,T=512,j=[],W=y.slice(0,512);ar(W,0);var ie=function f(y){if(80==y[y.l]&&75==y[y.l+1])return[0,0];y.chk(te,"Header Signature: "),y.l+=16;var C=y.read_shift(2,"u");return[y.read_shift(2,"u"),C]}(W);switch(E=ie[0]){case 3:T=512;break;case 4:T=4096;break;case 0:if(0==ie[1])return aD(y,C);default:throw new Error("Major Version: Expected 3 or 4 saw "+E)}512!==T&&ar(W=y.slice(0,T),28);var se=y.slice(0,T);!function d(y,C){var E;switch(y.l+=2,E=y.read_shift(2)){case 9:if(3!=C)throw new Error("Sector Shift: Expected 9 saw "+E);break;case 12:if(4!=C)throw new Error("Sector Shift: Expected 12 saw "+E);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+E)}y.chk("0600","Mini Sector Shift: "),y.chk("000000000000","Reserved: ")}(W,E);var ve=W.read_shift(4,"i");if(3===E&&0!==ve)throw new Error("# Directory Sectors: Expected 0 saw "+ve);W.l+=4,V=W.read_shift(4,"i"),W.l+=4,W.chk("00100000","Mini Stream Cutoff Size: "),X=W.read_shift(4,"i"),k=W.read_shift(4,"i"),U=W.read_shift(4,"i"),A=W.read_shift(4,"i");for(var le=-1,ne=0;ne<109&&!((le=W.read_shift(4,"i"))<0);++ne)j[ne]=le;var Pe=function h(y,C){for(var E=Math.ceil(y.length/C)-1,T=[],k=1;k<E;++k)T[k-1]=y.slice(k*C,(k+1)*C);return T[E-1]=y.slice(E*C),T}(y,T);g(U,A,Pe,T,j);var Ct=function _(y,C,E,T){var k=y.length,A=[],V=[],X=[],U=[],j=T-1,W=0,ie=0,se=0,ve=0;for(W=0;W<k;++W)if(X=[],(se=W+C)>=k&&(se-=k),!V[se]){U=[];var le=[];for(ie=se;ie>=0;){le[ie]=!0,V[ie]=!0,X[X.length]=ie,U.push(y[ie]);var ne=E[Math.floor(4*ie/T)];if(T<4+(ve=4*ie&j))throw new Error("FAT boundary crossed: "+ie+" 4 "+T);if(!y[ne]||le[ie=Da(y[ne],ve)])break}A[se]={nodes:X,data:Ew([U])}}return A}(Pe,V,j,T);V<Ct.length&&(Ct[V].name="!Directory"),k>0&&X!==ee&&(Ct[X].name="!MiniFAT"),Ct[j[0]].name="!FAT",Ct.fat_addrs=j,Ct.ssz=T;var Jt=[],fn=[],wc=[];(function v(y,C,E,T,k,A,V,X){for(var ve,U=0,j=T.length?2:0,W=C[y].data,ie=0,se=0;ie<W.length;ie+=128){var le=W.slice(ie,ie+128);ar(le,64),se=le.read_shift(2),ve=mu(le,0,se-j),T.push(ve);var ne={name:ve,type:le.read_shift(1),color:le.read_shift(1),L:le.read_shift(4,"i"),R:le.read_shift(4,"i"),C:le.read_shift(4,"i"),clsid:le.read_shift(16),state:le.read_shift(4,"i"),start:0,size:0};0!==le.read_shift(2)+le.read_shift(2)+le.read_shift(2)+le.read_shift(2)&&(ne.ct=S(le,le.l-8)),0!==le.read_shift(2)+le.read_shift(2)+le.read_shift(2)+le.read_shift(2)&&(ne.mt=S(le,le.l-8)),ne.start=le.read_shift(4,"i"),ne.size=le.read_shift(4,"i"),ne.size<0&&ne.start<0&&(ne.size=ne.type=0,ne.start=ee,ne.name=""),5===ne.type?(U=ne.start,k>0&&U!==ee&&(C[U].name="!StreamData")):ne.size>=4096?(ne.storage="fat",void 0===C[ne.start]&&(C[ne.start]=x(E,ne.start,C.fat_addrs,C.ssz)),C[ne.start].name=ne.name,ne.content=C[ne.start].data.slice(0,ne.size)):(ne.storage="minifat",ne.size<0?ne.size=0:U!==ee&&ne.start!==ee&&C[U]&&(ne.content=m(ne,C[U].data,(C[X]||{}).data))),ne.content&&ar(ne.content,0),A[ve]=ne,V.push(ne)}})(V,Ct,Pe,Jt,k,{},fn,X),function p(y,C,E){for(var T=0,k=0,A=0,V=0,X=0,U=E.length,j=[],W=[];T<U;++T)j[T]=W[T]=T,C[T]=E[T];for(;X<W.length;++X)k=y[T=W[X]].L,A=y[T].R,V=y[T].C,j[T]===T&&(-1!==k&&j[k]!==k&&(j[T]=j[k]),-1!==A&&j[A]!==A&&(j[T]=j[A])),-1!==V&&(j[V]=T),-1!==k&&T!=j[T]&&(j[k]=j[T],W.lastIndexOf(k)<X&&W.push(k)),-1!==A&&T!=j[T]&&(j[A]=j[T],W.lastIndexOf(A)<X&&W.push(A));for(T=1;T<U;++T)j[T]===T&&(-1!==A&&j[A]!==A?j[T]=j[A]:-1!==k&&j[k]!==k&&(j[T]=j[k]));for(T=1;T<U;++T)if(0!==y[T].type){if((X=T)!=j[X])do{C[T]=C[X=j[X]]+"/"+C[T]}while(0!==X&&-1!==j[X]&&X!=j[X]);j[T]=-1}for(C[0]+="/",T=1;T<U;++T)2!==y[T].type&&(C[T]+="/")}(fn,wc,Jt),Jt.shift();var Ec={FileIndex:fn,FullPaths:wc};return C&&C.raw&&(Ec.raw={header:se,sectors:Pe}),Ec}function m(y,C,E){for(var k=y.size,A=[],V=y.start;E&&k>0&&V>=0;)A.push(C.slice(V*O,V*O+O)),k-=O,V=Da(E,4*V);return 0===A.length?G(0):Xt(A).slice(0,y.size)}function g(y,C,E,T,k){var A=ee;if(y===ee){if(0!==C)throw new Error("DIFAT chain shorter than expected")}else if(-1!==y){var V=E[y],X=(T>>>2)-1;if(!V)return;for(var U=0;U<X&&(A=Da(V,4*U))!==ee;++U)k.push(A);C>=1&&g(Da(V,T-4),C-1,E,T,k)}}function x(y,C,E,T,k){var A=[],V=[];k||(k=[]);var X=T-1,U=0,j=0;for(U=C;U>=0;){k[U]=!0,A[A.length]=U,V.push(y[U]);var W=E[Math.floor(4*U/T)];if(T<4+(j=4*U&X))throw new Error("FAT boundary crossed: "+U+" 4 "+T);if(!y[W])break;U=Da(y[W],j)}return{nodes:A,data:Ew([V])}}function S(y,C){return new Date(1e3*(ur(y,C+4)/1e7*Math.pow(2,32)+ur(y,C)/1e7-11644473600))}function w(y,C){var E=C||{},T=E.root||"Root Entry";if(y.FullPaths||(y.FullPaths=[]),y.FileIndex||(y.FileIndex=[]),y.FullPaths.length!==y.FileIndex.length)throw new Error("inconsistent CFB structure");0===y.FullPaths.length&&(y.FullPaths[0]=T+"/",y.FileIndex[0]={name:T,type:5}),E.CLSID&&(y.FileIndex[0].clsid=E.CLSID),function M(y){var C="\x01Sh33tJ5";if(!Te.find(y,"/"+C)){var E=G(4);E[0]=55,E[1]=E[3]=50,E[2]=54,y.FileIndex.push({name:C,type:2,content:E,size:4,L:69,R:69,C:69}),y.FullPaths.push(y.FullPaths[0]+C),I(y)}}(y)}function I(y,C){w(y);for(var E=!1,T=!1,k=y.FullPaths.length-1;k>=0;--k){var A=y.FileIndex[k];switch(A.type){case 0:T?E=!0:(y.FileIndex.pop(),y.FullPaths.pop());break;case 1:case 2:case 5:T=!0,isNaN(A.R*A.L*A.C)&&(E=!0),A.R>-1&&A.L>-1&&A.R==A.L&&(E=!0);break;default:E=!0}}if(E||C){var V=new Date(1987,1,19),X=0,U=Object.create?Object.create(null):{},j=[];for(k=0;k<y.FullPaths.length;++k)U[y.FullPaths[k]]=!0,0!==y.FileIndex[k].type&&j.push([y.FullPaths[k],y.FileIndex[k]]);for(k=0;k<j.length;++k){var W=n(j[k][0]);for(T=U[W];!T;){for(;n(W)&&!U[n(W)];)W=n(W);j.push([W,{name:i(W).replace("/",""),type:1,clsid:oe,ct:V,mt:V,content:null}]),U[W]=!0,T=U[W=n(j[k][0])]}}for(j.sort(function(ve,le){return function r(y,C){for(var E=y.split("/"),T=C.split("/"),k=0,A=0,V=Math.min(E.length,T.length);k<V;++k){if(A=E[k].length-T[k].length)return A;if(E[k]!=T[k])return E[k]<T[k]?-1:1}return E.length-T.length}(ve[0],le[0])}),y.FullPaths=[],y.FileIndex=[],k=0;k<j.length;++k)y.FullPaths[k]=j[k][0],y.FileIndex[k]=j[k][1];for(k=0;k<j.length;++k){var ie=y.FileIndex[k],se=y.FullPaths[k];if(ie.name=i(se).replace("/",""),ie.L=ie.R=ie.C=-(ie.color=1),ie.size=ie.content?ie.content.length:0,ie.start=0,ie.clsid=ie.clsid||oe,0===k)ie.C=j.length>1?1:-1,ie.size=0,ie.type=5;else if("/"==se.slice(-1)){for(X=k+1;X<j.length&&n(y.FullPaths[X])!=se;++X);for(ie.C=X>=j.length?-1:X,X=k+1;X<j.length&&n(y.FullPaths[X])!=n(se);++X);ie.R=X>=j.length?-1:X,ie.type=1}else n(y.FullPaths[k+1]||"")==n(se)&&(ie.R=k+1),ie.type=2}}}function L(y,C){var E=C||{};if("mad"==E.fileType)return function ZH(y,C){for(var E=C||{},T=E.boundary||"SheetJS",k=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(T="------="+T).slice(2)+'"',"","",""],A=y.FullPaths[0],V=A,X=y.FileIndex[0],U=1;U<y.FullPaths.length;++U)if(V=y.FullPaths[U].slice(A.length),(X=y.FileIndex[U]).size&&X.content&&"\x01Sh33tJ5"!=V){V=V.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Pe){return"_x"+Pe.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Pe){return"_u"+Pe.charCodeAt(0).toString(16)+"_"});for(var j=X.content,W=Ke&&Buffer.isBuffer(j)?j.toString("binary"):J(j),ie=0,se=Math.min(1024,W.length),ve=0,le=0;le<=se;++le)(ve=W.charCodeAt(le))>=32&&ve<128&&++ie;var ne=ie>=4*se/5;k.push(T),k.push("Content-Location: "+(E.root||"file:///C:/SheetJS/")+V),k.push("Content-Transfer-Encoding: "+(ne?"quoted-printable":"base64")),k.push("Content-Type: "+GH(X,V)),k.push(""),k.push(ne?XH(W):zH(W))}return k.push(T+"--\r\n"),k.join("\r\n")}(y,E);if("zip"===(I(y),E.fileType))return function WH(y,C){var E=C||{},T=[],k=[],A=G(1),V=E.compression?8:0,X=0,j=0,W=0,ie=0,se=0,ve=y.FullPaths[0],le=ve,ne=y.FileIndex[0],Pe=[],Ct=0;for(j=1;j<y.FullPaths.length;++j)if(le=y.FullPaths[j].slice(ve.length),(ne=y.FileIndex[j]).size&&ne.content&&"\x01Sh33tJ5"!=le){var Jr=ie,Jt=G(le.length);for(W=0;W<le.length;++W)Jt.write_shift(1,127&le.charCodeAt(W));Jt=Jt.slice(0,Jt.l),Pe[se]="string"==typeof ne.content?ew.bstr(ne.content,0):ew.buf(ne.content,0);var fn="string"==typeof ne.content?Lr(ne.content):ne.content;8==V&&(fn=F(fn)),(A=G(30)).write_shift(4,67324752),A.write_shift(2,20),A.write_shift(2,X),A.write_shift(2,V),ne.mt?a(A,ne.mt):A.write_shift(4,0),A.write_shift(-4,8&X?0:Pe[se]),A.write_shift(4,8&X?0:fn.length),A.write_shift(4,8&X?0:ne.content.length),A.write_shift(2,Jt.length),A.write_shift(2,0),ie+=A.length,T.push(A),ie+=Jt.length,T.push(Jt),ie+=fn.length,T.push(fn),8&X&&((A=G(12)).write_shift(-4,Pe[se]),A.write_shift(4,fn.length),A.write_shift(4,ne.content.length),ie+=A.l,T.push(A)),(A=G(46)).write_shift(4,33639248),A.write_shift(2,0),A.write_shift(2,20),A.write_shift(2,X),A.write_shift(2,V),A.write_shift(4,0),A.write_shift(-4,Pe[se]),A.write_shift(4,fn.length),A.write_shift(4,ne.content.length),A.write_shift(2,Jt.length),A.write_shift(2,0),A.write_shift(2,0),A.write_shift(2,0),A.write_shift(2,0),A.write_shift(4,0),A.write_shift(4,Jr),Ct+=A.l,k.push(A),Ct+=Jt.length,k.push(Jt),++se}return(A=G(22)).write_shift(4,101010256),A.write_shift(2,0),A.write_shift(2,0),A.write_shift(2,se),A.write_shift(2,se),A.write_shift(4,Ct),A.write_shift(4,ie),A.write_shift(2,0),Xt([Xt(T),Xt(k),A])}(y,E);var T=function(ve){for(var le=0,ne=0,Pe=0;Pe<ve.FileIndex.length;++Pe){var Ct=ve.FileIndex[Pe];if(Ct.content){var Jr=Ct.content.length;Jr>0&&(Jr<4096?le+=Jr+63>>6:ne+=Jr+511>>9)}}for(var Jt=ve.FullPaths.length+3>>2,wc=le+127>>7,Ec=(le+7>>3)+ne+Jt+wc,Ha=Ec+127>>7,Dp=Ha<=109?0:Math.ceil((Ha-109)/127);Ec+Ha+Dp+127>>7>Ha;)Dp=++Ha<=109?0:Math.ceil((Ha-109)/127);var Pi=[1,Dp,Ha,wc,Jt,ne,le,0];return ve.FileIndex[0].size=le<<6,Pi[7]=(ve.FileIndex[0].start=Pi[0]+Pi[1]+Pi[2]+Pi[3]+Pi[4]+Pi[5])+(Pi[6]+7>>3),Pi}(y),k=G(T[7]<<9),A=0,V=0;for(A=0;A<8;++A)k.write_shift(1,K[A]);for(A=0;A<8;++A)k.write_shift(2,0);for(k.write_shift(2,62),k.write_shift(2,3),k.write_shift(2,65534),k.write_shift(2,9),k.write_shift(2,6),A=0;A<3;++A)k.write_shift(2,0);for(k.write_shift(4,0),k.write_shift(4,T[2]),k.write_shift(4,T[0]+T[1]+T[2]+T[3]-1),k.write_shift(4,0),k.write_shift(4,4096),k.write_shift(4,T[3]?T[0]+T[1]+T[2]-1:ee),k.write_shift(4,T[3]),k.write_shift(-4,T[1]?T[0]-1:ee),k.write_shift(4,T[1]),A=0;A<109;++A)k.write_shift(-4,A<T[2]?T[1]+A:-1);if(T[1])for(V=0;V<T[1];++V){for(;A<236+127*V;++A)k.write_shift(-4,A<T[2]?T[1]+A:-1);k.write_shift(-4,V===T[1]-1?ee:V+1)}var X=function(ve){for(V+=ve;A<V-1;++A)k.write_shift(-4,A+1);ve&&(++A,k.write_shift(-4,ee))};for(V=A=0,V+=T[1];A<V;++A)k.write_shift(-4,Z.DIFSECT);for(V+=T[2];A<V;++A)k.write_shift(-4,Z.FATSECT);X(T[3]),X(T[4]);for(var U=0,j=0,W=y.FileIndex[0];U<y.FileIndex.length;++U)(W=y.FileIndex[U]).content&&!((j=W.content.length)<4096)&&(W.start=V,X(j+511>>9));for(X(T[6]+7>>3);511&k.l;)k.write_shift(-4,Z.ENDOFCHAIN);for(V=A=0,U=0;U<y.FileIndex.length;++U)(W=y.FileIndex[U]).content&&(j=W.content.length)&&!(j>=4096)&&(W.start=V,X(j+63>>6));for(;511&k.l;)k.write_shift(-4,Z.ENDOFCHAIN);for(A=0;A<T[4]<<2;++A){var ie=y.FullPaths[A];if(ie&&0!==ie.length){W=y.FileIndex[A],0===A&&(W.start=W.size?W.start-1:ee);var se=0===A&&E.root||W.name;if(se.length>32&&(console.error("Name "+se+" will be truncated to "+se.slice(0,32)),se=se.slice(0,32)),j=2*(se.length+1),k.write_shift(64,se,"utf16le"),k.write_shift(2,j),k.write_shift(1,W.type),k.write_shift(1,W.color),k.write_shift(-4,W.L),k.write_shift(-4,W.R),k.write_shift(-4,W.C),W.clsid)k.write_shift(16,W.clsid,"hex");else for(U=0;U<4;++U)k.write_shift(4,0);k.write_shift(4,W.state||0),k.write_shift(4,0),k.write_shift(4,0),k.write_shift(4,0),k.write_shift(4,0),k.write_shift(4,W.start),k.write_shift(4,W.size),k.write_shift(4,0)}else{for(U=0;U<17;++U)k.write_shift(4,0);for(U=0;U<3;++U)k.write_shift(4,-1);for(U=0;U<12;++U)k.write_shift(4,0)}}for(A=1;A<y.FileIndex.length;++A)if((W=y.FileIndex[A]).size>=4096)if(k.l=W.start+1<<9,Ke&&Buffer.isBuffer(W.content))W.content.copy(k,k.l,0,W.size),k.l+=W.size+511&-512;else{for(U=0;U<W.size;++U)k.write_shift(1,W.content[U]);for(;511&U;++U)k.write_shift(1,0)}for(A=1;A<y.FileIndex.length;++A)if((W=y.FileIndex[A]).size>0&&W.size<4096)if(Ke&&Buffer.isBuffer(W.content))W.content.copy(k,k.l,0,W.size),k.l+=W.size+63&-64;else{for(U=0;U<W.size;++U)k.write_shift(1,W.content[U]);for(;63&U;++U)k.write_shift(1,0)}if(Ke)k.l=k.length;else for(;k.l<k.length;)k.write_shift(1,0);return k}t.version="1.2.2";var Y,O=64,ee=-2,te="d0cf11e0a1b11ae1",K=[208,207,17,224,161,177,26,225],oe="00000000000000000000000000000000",Z={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:ee,FREESECT:-1,HEADER_SIGNATURE:te,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:oe,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function J(y){for(var C=new Array(y.length),E=0;E<y.length;++E)C[E]=String.fromCharCode(y[E]);return C.join("")}function F(y){return Y?Y.deflateRawSync(y):Qe(y)}for(var y,C,B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=[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],N=[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],re=typeof Uint8Array<"u",ue=re?new Uint8Array(256):[],de=0;de<256;++de)ue[de]=(void 0,255&((C=139536&((y=de)<<1|y<<11)|558144&(y<<5|y<<15))>>16|C>>8|C));function D(y,C){var E=ue[255&y];return C<=8?E>>>8-C:(E=E<<8|ue[y>>8&255],C<=16?E>>>16-C:(E=E<<8|ue[y>>16&255])>>>24-C)}function Ie(y,C){var E=7&C,T=C>>>3;return(y[T]|(E<=6?0:y[T+1]<<8))>>>E&3}function it(y,C){var E=7&C,T=C>>>3;return(y[T]|(E<=5?0:y[T+1]<<8))>>>E&7}function Ze(y,C){var E=7&C,T=C>>>3;return(y[T]|(E<=3?0:y[T+1]<<8))>>>E&31}function It(y,C){var E=7&C,T=C>>>3;return(y[T]|(E<=1?0:y[T+1]<<8))>>>E&127}function lt(y,C,E){var T=7&C,k=C>>>3,V=y[k]>>>T;return E<8-T||(V|=y[k+1]<<8-T,E<16-T)||(V|=y[k+2]<<16-T,E<24-T)||(V|=y[k+3]<<24-T),V&(1<<E)-1}function ye(y,C,E){var T=7&C,k=C>>>3;return T<=5?y[k]|=(7&E)<<T:(y[k]|=E<<T&255,y[k+1]=(7&E)>>8-T),C+3}function fe(y,C,E){return y[C>>>3]|=E=(1&E)<<(7&C),C+1}function br(y,C,E){var k=C>>>3;return y[k]|=255&(E<<=7&C),y[k+1]=E>>>=8,C+8}function ct(y,C,E){var k=C>>>3;return y[k]|=255&(E<<=7&C),y[k+1]=255&(E>>>=8),y[k+2]=E>>>8,C+16}function yt(y,C){var E=y.length,T=2*E>C?2*E:C+5,k=0;if(E>=C)return y;if(Ke){var A=Oy(T);if(y.copy)y.copy(A);else for(;k<y.length;++k)A[k]=y[k];return A}if(re){var V=new Uint8Array(T);if(V.set)V.set(y);else for(;k<E;++k)V[k]=y[k];return V}return y.length=T,y}function Hr(y){for(var C=new Array(y),E=0;E<y;++E)C[E]=0;return C}function Ir(y,C,E){var T=1,k=0,A=0,V=0,X=0,U=y.length,j=re?new Uint16Array(32):Hr(32);for(A=0;A<32;++A)j[A]=0;for(A=U;A<E;++A)y[A]=0;U=y.length;var W=re?new Uint16Array(U):Hr(U);for(A=0;A<U;++A)j[k=y[A]]++,T<k&&(T=k),W[A]=0;for(j[0]=0,A=1;A<=T;++A)j[A+16]=X=X+j[A-1]<<1;for(A=0;A<U;++A)0!=(X=y[A])&&(W[A]=j[X+16]++);var ie=0;for(A=0;A<U;++A)if(0!=(ie=y[A]))for(X=D(W[A],T)>>T-ie,V=(1<<T+4-ie)-1;V>=0;--V)C[X|V<<ie]=15&ie|A<<4;return T}var ia=re?new Uint16Array(512):Hr(512),yc=re?new Uint16Array(32):Hr(32);if(!re){for(var Vr=0;Vr<512;++Vr)ia[Vr]=0;for(Vr=0;Vr<32;++Vr)yc[Vr]=0}!function(){for(var y=[],C=0;C<32;C++)y.push(5);Ir(y,yc,32);var E=[];for(C=0;C<=143;C++)E.push(8);for(;C<=255;C++)E.push(9);for(;C<=279;C++)E.push(7);for(;C<=287;C++)E.push(8);Ir(E,ia,288)}();var fi=function(){for(var C=re?new Uint8Array(32768):[],E=0,T=0;E<N.length-1;++E)for(;T<N[E+1];++T)C[T]=E;for(;T<32768;++T)C[T]=29;var k=re?new Uint8Array(259):[];for(E=0,T=0;E<R.length-1;++E)for(;T<R[E+1];++T)k[T]=E;return function(U,j){return U.length<8?function A(X,U){for(var j=0;j<X.length;){var W=Math.min(65535,X.length-j);for(U.write_shift(1,+(j+W==X.length)),U.write_shift(2,W),U.write_shift(2,65535&~W);W-- >0;)U[U.l++]=X[j++]}return U.l}(U,j):function V(X,U){for(var j=0,W=0,ie=re?new Uint16Array(32768):[];W<X.length;){var se=Math.min(65535,X.length-W);if(se<10){for(7&(j=ye(U,j,+(W+se==X.length)))&&(j+=8-(7&j)),U.l=j/8|0,U.write_shift(2,se),U.write_shift(2,65535&~se);se-- >0;)U[U.l++]=X[W++];j=8*U.l}else{j=ye(U,j,+(W+se==X.length)+2);for(var ve=0;se-- >0;){var le=X[W],ne=-1,Pe=0;if((ne=ie[ve=32767&(ve<<5^le)])&&((ne|=-32768&W)>W&&(ne-=32768),ne<W))for(;X[ne+Pe]==X[W+Pe]&&Pe<250;)++Pe;if(Pe>2){(le=k[Pe])<=22?j=br(U,j,ue[le+1]>>1)-1:(br(U,j,3),br(U,j+=5,ue[le-23]>>5),j+=3);var Ct=le<8?0:le-4>>2;Ct>0&&(ct(U,j,Pe-R[le]),j+=Ct),j=br(U,j,ue[le=C[W-ne]]>>3),j-=3;var Jr=le<4?0:le-2>>1;Jr>0&&(ct(U,j,W-ne-N[le]),j+=Jr);for(var Jt=0;Jt<Pe;++Jt)ie[ve]=32767&W,ve=32767&(ve<<5^X[W]),++W;se-=Pe-1}else le<=143?le+=48:j=fe(U,j,1),j=br(U,j,ue[le]),ie[ve]=32767&W,++W}j=br(U,j,0)-1}}return U.l=(j+7)/8|0,U.l}(U,j)}}();function Qe(y){var C=G(50+Math.floor(1.1*y.length)),E=fi(y,C);return C.slice(0,E)}var Wt=re?new Uint16Array(32768):Hr(32768),An=re?new Uint16Array(32768):Hr(32768),lr=re?new Uint16Array(128):Hr(128),Ua=1,rD=1;function VH(y,C){var E=Ze(y,C)+257,T=Ze(y,C+=5)+1,k=function ge(y,C){var E=7&C,T=C>>>3;return(y[T]|(E<=4?0:y[T+1]<<8))>>>E&15}(y,C+=5)+4;C+=4;for(var A=0,V=re?new Uint8Array(19):Hr(19),X=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],U=1,j=re?new Uint8Array(8):Hr(8),W=re?new Uint8Array(8):Hr(8),ie=V.length,se=0;se<k;++se)V[B[se]]=A=it(y,C),U<A&&(U=A),j[A]++,C+=3;var ve=0;for(j[0]=0,se=1;se<=U;++se)W[se]=ve=ve+j[se-1]<<1;for(se=0;se<ie;++se)0!=(ve=V[se])&&(X[se]=W[ve]++);var le=0;for(se=0;se<ie;++se)if(0!=(le=V[se])){ve=ue[X[se]]>>8-le;for(var ne=(1<<7-le)-1;ne>=0;--ne)lr[ve|ne<<le]=7&le|se<<3}var Pe=[];for(U=1;Pe.length<E+T;)switch(ve=lr[It(y,C)],C+=7&ve,ve>>>=3){case 16:for(A=3+Ie(y,C),C+=2,ve=Pe[Pe.length-1];A-- >0;)Pe.push(ve);break;case 17:for(A=3+it(y,C),C+=3;A-- >0;)Pe.push(0);break;case 18:for(A=11+It(y,C),C+=7;A-- >0;)Pe.push(0);break;default:Pe.push(ve),U<ve&&(U=ve)}var Ct=Pe.slice(0,E),Jr=Pe.slice(E);for(se=E;se<286;++se)Ct[se]=0;for(se=T;se<30;++se)Jr[se]=0;return Ua=Ir(Ct,Wt,286),rD=Ir(Jr,An,30),C}function nD(y,C){var T=function jH(y,C){if(3==y[0]&&!(3&y[1]))return[zi(C),2];for(var E=0,T=0,k=Oy(C||1<<18),A=0,V=k.length>>>0,X=0,U=0;!(1&T);)if(T=it(y,E),E+=3,T>>>1)for(T>>1==1?(X=9,U=5):(E=VH(y,E),X=Ua,U=rD);;){!C&&V<A+32767&&(V=(k=yt(k,A+32767)).length);var W=lt(y,E,X),ie=T>>>1==1?ia[W]:Wt[W];if(E+=15&ie,(ie>>>=4)>>>8&255){if(256==ie)break;var se=(ie-=257)<8?0:ie-4>>2;se>5&&(se=0);var ve=A+R[ie];se>0&&(ve+=lt(y,E,se),E+=se),W=lt(y,E,U),E+=15&(ie=T>>>1==1?yc[W]:An[W]);var le=(ie>>>=4)<4?0:ie-2>>1,ne=N[ie];for(le>0&&(ne+=lt(y,E,le),E+=le),!C&&V<ve&&(V=(k=yt(k,ve+100)).length);A<ve;)k[A]=k[A-ne],++A}else k[A++]=ie}else{7&E&&(E+=8-(7&E));var j=y[E>>>3]|y[1+(E>>>3)]<<8;if(E+=32,j>0)for(!C&&V<A+j&&(V=(k=yt(k,A+j)).length);j-- >0;)k[A++]=y[E>>>3],E+=8}return C?[k,E+7>>>3]:[k.slice(0,A),E+7>>>3]}(y.slice(y.l||0),C);return y.l+=T[1],T[0]}function iD(y,C){if(!y)throw new Error(C);typeof console<"u"&&console.error(C)}function aD(y,C){var E=y;ar(E,0);var A={FileIndex:[],FullPaths:[]};w(A,{root:C.root});for(var V=E.length-4;(80!=E[V]||75!=E[V+1]||5!=E[V+2]||6!=E[V+3])&&V>=0;)--V;E.l=V+4,E.l+=4;var X=E.read_shift(2);E.l+=6;var U=E.read_shift(4);for(E.l=U,V=0;V<X;++V){E.l+=20;var j=E.read_shift(4),W=E.read_shift(4),ie=E.read_shift(2),se=E.read_shift(2),ve=E.read_shift(2);E.l+=8;var le=E.read_shift(4),ne=o(E.slice(E.l+ie,E.l+ie+se));E.l+=ie+se+ve;var Pe=E.l;E.l=le+4,ne&&ne[1]&&((ne[1]||{}).usz&&(W=ne[1].usz),(ne[1]||{}).csz&&(j=ne[1].csz)),$H(E,j,W,A,ne),E.l=Pe}return A}function $H(y,C,E,T,k){y.l+=2;var A=y.read_shift(2),V=y.read_shift(2),X=function s(y){var C=65535&y.read_shift(2),E=65535&y.read_shift(2),T=new Date,k=31&E,A=15&(E>>>=5);E>>>=4,T.setMilliseconds(0),T.setFullYear(E+1980),T.setMonth(A-1),T.setDate(k);var V=31&C,X=63&(C>>>=5);return T.setHours(C>>>=6),T.setMinutes(X),T.setSeconds(V<<1),T}(y);if(8257&A)throw new Error("Unsupported ZIP encryption");y.read_shift(4);for(var j=y.read_shift(4),W=y.read_shift(4),ie=y.read_shift(2),se=y.read_shift(2),ve="",le=0;le<ie;++le)ve+=String.fromCharCode(y[y.l++]);if(se){var ne=o(y.slice(y.l,y.l+se));(ne[21589]||{}).mt&&(X=ne[21589].mt),(ne[1]||{}).usz&&(W=ne[1].usz),(ne[1]||{}).csz&&(j=ne[1].csz),k&&((k[21589]||{}).mt&&(X=k[21589].mt),(k[1]||{}).usz&&(W=ne[1].usz),(k[1]||{}).csz&&(j=ne[1].csz))}y.l+=se;var Pe=y.slice(y.l,y.l+j);switch(V){case 8:Pe=function Ue(y,C){if(!Y)return nD(y,C);var T=new(0,Y.InflateRaw),k=T._processChunk(y.slice(y.l),T._finishFlushFlag);return y.l+=T.bytesRead,k}(y,W);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+V)}var Ct=!1;8&A&&(134695760==y.read_shift(4)&&(y.read_shift(4),Ct=!0),j=y.read_shift(4),W=y.read_shift(4)),j!=C&&iD(Ct,"Bad compressed size: "+C+" != "+j),W!=E&&iD(Ct,"Bad uncompressed size: "+E+" != "+W),Ep(T,ve,Pe,{unsafe:!0,mt:X})}var zu={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 GH(y,C){if(y.ctype)return y.ctype;var E=y.name||"",T=E.match(/\.([^\.]+)$/);return T&&zu[T[1]]||C&&(T=(E=C).match(/[\.\\]([^\.\\])+$/))&&zu[T[1]]?zu[T[1]]:"application/octet-stream"}function zH(y){for(var C=au(y),E=[],T=0;T<C.length;T+=76)E.push(C.slice(T,T+76));return E.join("\r\n")+"\r\n"}function XH(y){var C=y.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(j){var W=j.charCodeAt(0).toString(16).toUpperCase();return"="+(1==W.length?"0"+W:W)});"\n"==(C=C.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(C="=0D"+C.slice(1));for(var E=[],T=(C=C.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),k=0;k<T.length;++k){var A=T[k];if(0!=A.length)for(var V=0;V<A.length;){var X=76,U=A.slice(V,V+X);"="==U.charAt(X-1)?X--:"="==U.charAt(X-2)?X-=2:"="==U.charAt(X-3)&&(X-=3),U=A.slice(V,V+X),(V+=X)<A.length&&(U+="="),E.push(U)}else E.push("")}return E.join("\r\n")}function YH(y,C,E){for(var V,T="",k="",A="",X=0;X<10;++X){var U=C[X];if(!U||U.match(/^\s*$/))break;var j=U.match(/^(.*?):\s*([^\s].*)$/);if(j)switch(j[1].toLowerCase()){case"content-location":T=j[2].trim();break;case"content-type":A=j[2].trim();break;case"content-transfer-encoding":k=j[2].trim()}}switch(++X,k.toLowerCase()){case"base64":V=Lr(cn(C.slice(X).join("")));break;case"quoted-printable":V=function KH(y){for(var C=[],E=0;E<y.length;++E){for(var T=y[E];E<=y.length&&"="==T.charAt(T.length-1);)T=T.slice(0,T.length-1)+y[++E];C.push(T)}for(var k=0;k<C.length;++k)C[k]=C[k].replace(/[=][0-9A-Fa-f]{2}/g,function(A){return String.fromCharCode(parseInt(A.slice(1),16))});return Lr(C.join("\r\n"))}(C.slice(X));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+k)}var W=Ep(y,T.slice(E.length),V,{unsafe:!0});A&&(W.ctype=A)}function Ep(y,C,E,T){var k=T&&T.unsafe;k||w(y);var A=!k&&Te.find(y,C);if(!A){var V=y.FullPaths[0];C.slice(0,V.length)==V?V=C:("/"!=V.slice(-1)&&(V+="/"),V=(V+C).replace("//","/")),A={name:i(C),type:2},y.FileIndex.push(A),y.FullPaths.push(V),k||Te.utils.cfb_gc(y)}return A.content=E,A.size=E?E.length:0,T&&(T.CLSID&&(A.clsid=T.CLSID),T.mt&&(A.mt=T.mt),T.ct&&(A.ct=T.ct)),A}return t.find=function H(y,C){var E=y.FullPaths.map(function(U){return U.toUpperCase()}),T=E.map(function(U){var j=U.split("/");return j[j.length-("/"==U.slice(-1)?2:1)]}),k=!1;47===C.charCodeAt(0)?(k=!0,C=E[0].slice(0,-1)+C):k=-1!==C.indexOf("/");var A=C.toUpperCase(),V=!0===k?E.indexOf(A):T.indexOf(A);if(-1!==V)return y.FileIndex[V];var X=!A.match(Bo);for(A=A.replace(Er,""),X&&(A=A.replace(Bo,"!")),V=0;V<E.length;++V)if((X?E[V].replace(Bo,"!"):E[V]).replace(Er,"")==A||(X?T[V].replace(Bo,"!"):T[V]).replace(Er,"")==A)return y.FileIndex[V];return null},t.read=function b(y,C){var E=C&&C.type;switch(E||Ke&&Buffer.isBuffer(y)&&(E="buffer"),E||"base64"){case"file":return function P(y,C){return l(),u(c.readFileSync(y),C)}(y,C);case"base64":return u(Lr(cn(y)),C);case"binary":return u(Lr(y),C)}return u(y,C)},t.parse=u,t.write=function Ee(y,C){var E=L(y,C);switch(C&&C.type||"buffer"){case"file":return l(),c.writeFileSync(C.filename,E),E;case"binary":return"string"==typeof E?E:J(E);case"base64":return au("string"==typeof E?E:J(E));case"buffer":if(Ke)return Buffer.isBuffer(E)?E:ri(E);case"array":return"string"==typeof E?Lr(E):E}return E},t.writeFile=function pe(y,C,E){l();var T=L(y,E);c.writeFileSync(C,T)},t.utils={cfb_new:function QH(y){var C={};return w(C,y),C},cfb_add:Ep,cfb_del:function JH(y,C){w(y);var E=Te.find(y,C);if(E)for(var T=0;T<y.FileIndex.length;++T)if(y.FileIndex[T]==E)return y.FileIndex.splice(T,1),y.FullPaths.splice(T,1),!0;return!1},cfb_mov:function eV(y,C,E){w(y);var T=Te.find(y,C);if(T)for(var k=0;k<y.FileIndex.length;++k)if(y.FileIndex[k]==T)return y.FileIndex[k].name=i(E),y.FullPaths[k]=E,!0;return!1},cfb_gc:function tV(y){I(y,!0)},ReadShift:Go,CheckField:Ow,prep_blob:ar,bconcat:Xt,use_zlib:function Ce(y){try{var E=new(0,y.InflateRaw);if(E._processChunk(new Uint8Array([3,0]),E._finishFlushFlag),!E.bytesRead)throw new Error("zlib does not expose bytesRead");Y=y}catch(T){console.error("cannot use native zlib: "+(T.message||T))}},_deflateRaw:Qe,_inflateRaw:nD,consts:Z},t}();function Ft(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 lu(e){for(var t=[],r=Ft(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}var fu=new Date(1899,11,30,0,0,0);function Kt(e,t){var r=e.getTime();return t&&(r-=1263168e5),(r-(fu.getTime()+6e4*(e.getTimezoneOffset()-fu.getTimezoneOffset())))/864e5}var rw=new Date,J3=fu.getTime()+6e4*(rw.getTimezoneOffset()-fu.getTimezoneOffset()),nw=rw.getTimezoneOffset();function du(e){var t=new Date;return t.setTime(24*e*60*60*1e3+J3),t.getTimezoneOffset()!==nw&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-nw)),t}function eO(e){var t=0,r=0,n=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var a=1;a!=i.length;++a)if(i[a]){switch(r=1,a>3&&(n=!0),i[a].slice(i[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[a].slice(i[a].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(i[a],10)}return t}var iw=new Date("2017-02-19T19:06:09.000Z"),aw=isNaN(iw.getFullYear())?new Date("2/19/17"):iw,tO=2017==aw.getFullYear();function bt(e,t){var r=new Date(e);if(tO)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==aw.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function wa(e,t){if(Ke&&Buffer.isBuffer(e)){if(t&&Po){if(255==e[0]&&254==e[1])return ai(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return ai(My(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(255==e[0]&&254==e[1])return ai(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return ai(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82",\u0192:"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87",\u02c6:"\x88","\u2030":"\x89",\u0160:"\x8a","\u2039":"\x8b",\u0152:"\x8c",\u017d:"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99",\u0161:"\x9a","\u203a":"\x9b",\u0153:"\x9c",\u017e:"\x9e",\u0178:"\x9f"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,function(a){return r[a]||a})}catch{}for(var n=[],i=0;i!=e.length;++i)n.push(String.fromCharCode(e[i]));return n.join("")}function gt(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=gt(e[r]));return t}function ot(e,t){for(var r="";r.length<t;)r+=e;return r}function ln(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(i,a){return r=-r,a}),isNaN(t=Number(n)))?t:t/r}var rO=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/,iO=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ms(e){var t=e.toLowerCase(),n=t.replace(/\s+/g," ").trim().match(rO);if(n)return function nO(e){return e[2]?e[3]?e[4]?new Date(1899,11,30,+e[1]%12+("p"==e[7]?12:0),+e[2],+e[4],1e3*parseFloat(e[3])):new Date(1899,11,30,"p"==e[7]?12:0,+e[1],+e[2],1e3*parseFloat(e[3])):e[5]?new Date(1899,11,30,+e[1]%12+("p"==e[7]?12:0),+e[2],+e[5],e[6]?1e3*parseFloat(e[6]):0):new Date(1899,11,30,+e[1]%12+("p"==e[7]?12:0),+e[2],0,0):new Date(1899,11,30,+e[1]%12+("p"==e[7]?12:0),0,0,0)}(n);var i=new Date(e),a=new Date(NaN),s=i.getYear(),c=(i.getMonth(),i.getDate());if(isNaN(c))return a;if(t.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((t=t.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==iO.indexOf(t))return a}else if(t.replace(/[ap]m?/,"").match(/[a-z]/))return a;return s<0||s>8099||e.match(/[^-0-9:,\/\\]/)?a:i}var aO=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(r,n,i){if(e||"string"==typeof n)return r.split(n);for(var a=r.split(n),s=[a[0]],o=1;o<a.length;++o)s.push(i),s.push(a[o]);return s}}();function sw(e){return e?e.content&&e.type?wa(e.content,!0):e.data?As(e.data):e.asNodeBuffer&&Ke?As(e.asNodeBuffer().toString("binary")):e.asBinary?As(e.asBinary()):e._data&&e._data.getContent?As(wa(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function ow(e){if(!e)return null;if(e.data)return iu(e.data);if(e.asNodeBuffer&&Ke)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?iu(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Dn(e,t){for(var r=e.FullPaths||Ft(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),i=n.replace(/\\/g,"/"),a=0;a<r.length;++a){var s=r[a].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==s||i==s)return e.files?e.files[r[a]]:e.FileIndex[a]}return null}function gh(e,t){var r=Dn(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function Yt(e,t,r){if(!r)return function sO(e){return e&&".bin"===e.name.slice(-4)?ow(e):sw(e)}(gh(e,t));if(!t)return null;try{return Yt(e,t)}catch{return null}}function qr(e,t,r){if(!r)return sw(gh(e,t));if(!t)return null;try{return qr(e,t)}catch{return null}}function cw(e,t,r){if(!r)return ow(gh(e,t));if(!t)return null;try{return cw(e,t)}catch{return null}}function lw(e){for(var t=e.FullPaths||Ft(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function uw(e,t){switch(t.type){case"base64":return Te.read(e,{type:"base64"});case"binary":return Te.read(e,{type:"binary"});case"buffer":case"array":return Te.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function jo(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var i=n.shift();".."===i?r.pop():"."!==i&&r.push(i)}return r.join("/")}var Vt='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',oO=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,fw=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Dr=Vt.match(fw)?fw:/<[^>]*>/g,lO=/<\w*:/,uO=/<(\/?)\w+:/;function _e(e,t,r){for(var n={},i=0,a=0;i!==e.length&&32!==(a=e.charCodeAt(i))&&10!==a&&13!==a;++i);if(t||(n[0]=e.slice(0,i)),i===e.length)return n;var s=e.match(oO),o=0,c="",l=0,u="",f="",d=1;if(s)for(l=0;l!=s.length;++l){for(f=s[l],a=0;a!=f.length&&61!==f.charCodeAt(a);++a);for(u=f.slice(0,a).trim();32==f.charCodeAt(a+1);)++a;for(d=34==(i=f.charCodeAt(a+1))||39==i?1:0,c=f.slice(a+1+d,f.length-d),o=0;o!=u.length&&58!==u.charCodeAt(o);++o);if(o===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var h=(5===o&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(o+1);if(n[h]&&"ext"==u.slice(o-3,o))continue;n[h]=c,r||(n[h.toLowerCase()]=c)}}return n}function Hn(e){return e.replace(uO,"<$1")}var dw={""":'"',"'":"'",">":">","<":"<","&":"&"},xh=lu(dw),et=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;function r(n){var i=n+"",a=i.indexOf("<![CDATA[");if(-1==a)return i.replace(e,function(o,c){return dw[o]||String.fromCharCode(parseInt(c,o.indexOf("x")>-1?16:10))||o}).replace(t,function(o,c){return String.fromCharCode(parseInt(c,16))});var s=i.indexOf("]]>");return r(i.slice(0,a))+i.slice(a+9,s)+r(i.slice(s+3))}return function(i,a){var s=r(i);return a?s.replace(/\r\n/g,"\n"):s}}(),vh=/[&<>'"]/g,pw=/[\u0000-\u001f]/g;function hu(e){return(e+"").replace(vh,function(r){return xh[r]}).replace(/\n/g,"<br/>").replace(pw,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var gw=function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}}();function mt(e){switch(e){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function _h(e){for(var t="",r=0,n=0,i=0,a=0,s=0,o=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(i=e.charCodeAt(r++),n>191&&n<224?(s=(31&n)<<6,s|=63&i,t+=String.fromCharCode(s)):(a=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&a):(o=((7&n)<<18|(63&i)<<12|(63&a)<<6|63&(s=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function mw(e){var r,n,o,t=zi(2*e.length),i=1,a=0,s=0;for(n=0;n<e.length;n+=i)i=1,(o=e.charCodeAt(n))<128?r=o:o<224?(r=64*(31&o)+(63&e.charCodeAt(n+1)),i=2):o<240?(r=4096*(15&o)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),i=3):(i=4,r=262144*(7&o)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),s=55296+((r-=65536)>>>10&1023),r=56320+(1023&r)),0!==s&&(t[a++]=255&s,t[a++]=s>>>8,s=0),t[a++]=r%256,t[a++]=r>>>8;return t.slice(0,a).toString("ucs2")}function xw(e){return ri(e,"binary").toString("utf8")}var pu="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",xt=Ke&&(xw(pu)==_h(pu)&&xw||mw(pu)==_h(pu)&&mw)||_h,ai=Ke?function(e){return ri(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,i=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+(63&n)));break;case n>=55296&&n<57344:n-=55296,i=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},$o=function(){var e={};return function(r,n){var i=r+"|"+(n||"");return e[i]?e[i]:e[i]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+r+">",n||"")}}(),vw=function(){var e=[["nbsp"," "],["middot","\xb7"],["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,"\n").replace(/<[^>]*>/g,""),i=0;i<e.length;++i)n=n.replace(e[i][0],e[i][1]);return n}}(),pO=function(){var e={};return function(r){return void 0!==e[r]?e[r]:e[r]=new RegExp("<(?:vt:)?"+r+">([\\s\\S]*?)</(?:vt:)?"+r+">","g")}}(),gO=/<\/?(?:vt:)?variant>/g,mO=/<(?:vt:)([^>]*)>([\s\S]*)</;function _w(e,t){var r=_e(e),n=e.match(pO(r.baseType))||[],i=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return i}return n.forEach(function(a){var s=a.replace(gO,"").match(mO);s&&i.push({v:xt(s[2]),t:s[1]})}),i}var yw=/(^\s|\s$|\n)/;function ae(e,t,r){return"<"+e+(null!=r?function Wo(e){return Ft(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}(r):"")+(null!=t?(t.match(yw)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function gu(e){if(Ke&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return xt(ni(uh(e)));throw new Error("Bad input format: expected Buffer or string")}var qt=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/gm,ir={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Ea=["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"],ww=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var i=0,a=e[0][n].length;i<a;i+=10240)t.push.apply(t,e[0][n].slice(i,i+10240));return t},Ew=Ke?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:ri(t)})):ww(e)}:ww,Dw=function(e,t,r){for(var n=[],i=t;i<r;i+=2)n.push(String.fromCharCode(Fi(e,i)));return n.join("").replace(Er,"")},mu=Ke?function(e,t,r){return Buffer.isBuffer(e)&&Po?e.toString("utf16le",t,r).replace(Er,""):Dw(e,t,r)}:Dw,Tw=function(e,t,r){for(var n=[],i=t;i<t+r;++i)n.push(("0"+e[i].toString(16)).slice(-2));return n.join("")},Sw=Ke?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Tw(e,t,r)}:Tw,Cw=function(e,t,r){for(var n=[],i=t;i<r;i++)n.push(String.fromCharCode(Os(e,i)));return n.join("")},Ns=Ke?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Cw(t,r,n)}:Cw,kw=function(e,t){var r=ur(e,t);return r>0?Ns(e,t+4,t+4+r-1):""},wh=kw,Aw=function(e,t){var r=ur(e,t);return r>0?Ns(e,t+4,t+4+r-1):""},Eh=Aw,Fw=function(e,t){var r=2*ur(e,t);return r>0?Ns(e,t+4,t+4+r-1):""},Dh=Fw,bw=function(t,r){var n=ur(t,r);return n>0?mu(t,r+4,r+4+n):""},Th=bw,Iw=function(e,t){var r=ur(e,t);return r>0?Ns(e,t+4,t+4+r):""},Sh=Iw,Mw=function(e,t){return function vO(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],a=5;a>=0;--a)i=256*i+e[t+a];return 2047==n?0==i?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}(e,t)},xu=Mw,Ch=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};Ke&&(wh=function(t,r){if(!Buffer.isBuffer(t))return kw(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Eh=function(t,r){if(!Buffer.isBuffer(t))return Aw(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Dh=function(t,r){if(!Buffer.isBuffer(t)||!Po)return Fw(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},Th=function(t,r){if(!Buffer.isBuffer(t)||!Po)return bw(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Sh=function(t,r){if(!Buffer.isBuffer(t))return Iw(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},xu=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Mw(t,r)},Ch=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array}),typeof Be<"u"&&function Nw(){mu=function(e,t,r){return Be.utils.decode(1200,e.slice(t,r)).replace(Er,"")},Ns=function(e,t,r){return Be.utils.decode(65001,e.slice(t,r))},wh=function(e,t){var r=ur(e,t);return r>0?Be.utils.decode(_a,e.slice(t+4,t+4+r-1)):""},Eh=function(e,t){var r=ur(e,t);return r>0?Be.utils.decode(nr,e.slice(t+4,t+4+r-1)):""},Dh=function(e,t){var r=2*ur(e,t);return r>0?Be.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},Th=function(e,t){var r=ur(e,t);return r>0?Be.utils.decode(1200,e.slice(t+4,t+4+r)):""},Sh=function(e,t){var r=ur(e,t);return r>0?Be.utils.decode(65001,e.slice(t+4,t+4+r)):""}}();var Os=function(e,t){return e[t]},Fi=function(e,t){return 256*e[t+1]+e[t]},yO=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},ur=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Da=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},wO=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Go(e,t){var n,i,s,o,c,l,r="",a=[];switch(t){case"dbcs":if(l=this.l,Ke&&Buffer.isBuffer(this)&&Po)r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c)r+=String.fromCharCode(Fi(this,l)),l+=2;e*=2;break;case"utf8":r=Ns(this,this.l,this.l+e);break;case"utf16le":r=mu(this,this.l,this.l+(e*=2));break;case"wstr":if(!(typeof Be<"u"))return Go.call(this,e,"dbcs");r=Be.utils.decode(nr,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":r=wh(this,this.l),e=4+ur(this,this.l);break;case"lpstr-cp":r=Eh(this,this.l),e=4+ur(this,this.l);break;case"lpwstr":r=Dh(this,this.l),e=4+2*ur(this,this.l);break;case"lpp4":e=4+ur(this,this.l),r=Th(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+ur(this,this.l),r=Sh(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,r="";0!==(s=Os(this,this.l+e++));)a.push(Ro(s));r=a.join("");break;case"_wstr":for(e=0,r="";0!==(s=Fi(this,this.l+e));)a.push(Ro(s)),e+=2;e+=2,r=a.join("");break;case"dbcs-cont":for(r="",l=this.l,c=0;c<e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return s=Os(this,l),this.l=l+1,o=Go.call(this,e-c,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(Ro(Fi(this,l))),l+=2}r=a.join(""),e*=2;break;case"cpstr":if(typeof Be<"u"){r=Be.utils.decode(nr,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(r="",l=this.l,c=0;c!=e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return s=Os(this,l),this.l=l+1,o=Go.call(this,e-c,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(Ro(Os(this,l))),l+=1}r=a.join("");break;default:switch(e){case 1:return n=Os(this,this.l),this.l++,n;case 2:return n=("i"===t?yO:Fi)(this,this.l),this.l+=2,n;case 4:case-4:return"i"!==t&&128&this[this.l+3]?(i=ur(this,this.l),this.l+=4,i):(n=(e>0?Da:wO)(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return i=8==e?xu(this,this.l):xu([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,i;e=8;case 16:r=Sw(this,this.l,e)}}return this.l+=e,r}var EO=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},DO=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},TO=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function SO(e,t,r){var n=0,i=0;if("dbcs"===r){for(i=0;i!=t.length;++i)TO(this,t.charCodeAt(i),this.l+2*i);n=2*t.length}else if("sbcs"===r||"cpstr"==r)if(typeof Be<"u"&&874==_a){for(i=0;i!=t.length;++i){var a=Be.utils.encode(_a,t.charAt(i));this[this.l+i]=a[0]}n=t.length}else if(typeof Be<"u"&&"cpstr"==r){if((a=Be.utils.encode(nr,t)).length==t.length)for(i=0;i<t.length;++i)0==a[i]&&0!=t.charCodeAt(i)&&(a[i]=95);if(a.length==2*t.length)for(i=0;i<t.length;++i)0==a[2*i]&&0==a[2*i+1]&&0!=t.charCodeAt(i)&&(a[2*i]=95);for(i=0;i<a.length;++i)this[this.l+i]=a[i];n=a.length}else{for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);n=t.length}else{if("hex"===r){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var o=t.charCodeAt(i);this[this.l++]=255&o,this[this.l++]=o>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(e){case 1:n=1,this[this.l]=255&t;break;case 2:n=2,this[this.l]=255&t,this[this.l+1]=255&(t>>>=8);break;case 3:n=3,this[this.l]=255&t,this[this.l+1]=255&(t>>>=8),this[this.l+2]=255&(t>>>=8);break;case 4:n=4,EO(this,t,this.l);break;case 8:if(n=8,"f"===r){!function _O(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,i=0,a=0,s=n?-t:t;isFinite(s)?0==s?i=a=0:(i=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var o=0;o<=5;++o,a/=256)e[r+o]=255&a;e[r+6]=(15&i)<<4|15&a,e[r+7]=i>>4|n}(this,t,this.l);break}case 16:break;case-4:n=4,DO(this,t,this.l)}}return this.l+=n,this}function Ow(e,t){var r=Sw(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function ar(e,t){e.l=t,e.read_shift=Go,e.chk=Ow,e.write_shift=SO}function Tr(e,t){e.l+=t}function G(e){var t=zi(e);return ar(t,0),t}function bi(e,t,r){if(e){var n,i,a;ar(e,e.l||0);for(var s=e.length,o=0,c=0;e.l<s;){128&(o=e.read_shift(1))&&(o=(127&o)+((127&e.read_shift(1))<<7));var l=hc[o]||hc[65535];for(a=127&(n=e.read_shift(1)),i=1;i<4&&128&n;++i)a+=(127&(n=e.read_shift(1)))<<7*i;c=e.l+a;var u=l.f&&l.f(e,a,r);if(e.l=c,t(u,l,o))return}}}function Zr(){var e=[],t=Ke?256:2048,r=function(l){var u=G(l);return ar(u,0),u},n=r(t),i=function(){n&&(n.l&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n)),n=null)},a=function(l){return n&&l<n.length-n.l?n:(i(),n=r(Math.max(l+1,t)))};return{next:a,push:function(l){i(),null==(n=l).l&&(n.l=n.length),a(t)},end:function(){return i(),Xt(e)},_bufs:e}}function zo(e,t,r){var n=gt(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 Rw(e,t,r){var n=gt(e);return n.s=zo(n.s,t.s,r),n.e=zo(n.e,t.s,r),n}function Xo(e,t){if(e.cRel&&e.c<0)for(e=gt(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=gt(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=qe(e);return!e.cRel&&null!=e.cRel&&(r=function AO(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),!e.rRel&&null!=e.rRel&&(r=function CO(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function kh(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Xo(e.s,t.biff)+":"+Xo(e.e,t.biff):(e.s.rRel?"":"$")+tt(e.s.r)+":"+(e.e.rRel?"":"$")+tt(e.e.r):(e.s.cRel?"":"$")+Ye(e.s.c)+":"+(e.e.cRel?"":"$")+Ye(e.e.c)}function Ah(e){return parseInt(function kO(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function tt(e){return""+(e+1)}function Fh(e){for(var t=function FO(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Ye(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 pt(e){for(var t=0,r=0,n=0;n<e.length;++n){var i=e.charCodeAt(n);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:t-1}}function qe(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 sr(e){var t=e.indexOf(":");return-1==t?{s:pt(e),e:pt(e)}:{s:pt(e.slice(0,t)),e:pt(e.slice(t+1))}}function Le(e,t){return typeof t>"u"||"number"==typeof t?Le(e.s,e.e):("string"!=typeof e&&(e=qe(e)),"string"!=typeof t&&(t=qe(t)),e==t?e:e+":"+t)}function rt(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,a=e.length;for(r=0;n<a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(t.s.c=--r,r=0;n<a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(t.s.r=--r,n===a||10!=i)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(t.e.c=--r,r=0;n!=a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return t.e.r=--r,t}function si(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Ii[e.v]||e.v:function Pw(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Yr(e.z,r?Kt(t):t)}catch{}try{return e.w=Yr((e.XF||{}).numFmtId||(r?14:0),r?Kt(t):t)}catch{return""+t}}(e,null==t?e.v:t))}function qi(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Lw(e,t,r){var n=r||{},i=e?null!=e["!data"]:n.dense;null!=Ht&&null==i&&(i=Ht);var a=e||{};i&&!a["!data"]&&(a["!data"]=[]);var s=0,o=0;if(a&&null!=n.origin){if("number"==typeof n.origin)s=n.origin;else{var c="string"==typeof n.origin?pt(n.origin):n.origin;s=c.r,o=c.c}a["!ref"]||(a["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var u=rt(a["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==s&&(l.e.r=s=u.e.r+1)}for(var f=[],d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");var h=s+d,p=""+(h+1);i&&(a["!data"][h]||(a["!data"][h]=[]),f=a["!data"][h]);for(var m=0;m!=t[d].length;++m)if(!(typeof t[d][m]>"u")){var g={v:t[d][m]},x=o+m;if(l.s.r>h&&(l.s.r=h),l.s.c>x&&(l.s.c=x),l.e.r<h&&(l.e.r=h),l.e.c<x&&(l.e.c=x),!t[d][m]||"object"!=typeof t[d][m]||Array.isArray(t[d][m])||t[d][m]instanceof Date)if(Array.isArray(g.v)&&(g.f=t[d][m][1],g.v=g.v[0]),null===g.v)if(g.f)g.t="n";else if(n.nullError)g.t="e",g.v=0;else{if(!n.sheetStubs)continue;g.t="z"}else"number"==typeof g.v?g.t="n":"boolean"==typeof g.v?g.t="b":g.v instanceof Date?(g.z=n.dateNF||ke[14],n.cellDates?(g.t="d",g.w=Yr(g.z,Kt(g.v,n.date1904))):(g.t="n",g.v=Kt(g.v,n.date1904),g.w=Yr(g.z,g.v))):g.t="s";else g=t[d][m];if(i)f[x]&&f[x].z&&(g.z=f[x].z),f[x]=g;else{var _=Ye(x)+p;a[_]&&a[_].z&&(g.z=a[_].z),a[_]=g}}}return l.s.c<1e7&&(a["!ref"]=Le(l)),a}function Rs(e,t){return Lw(null,e,t)}function Sr(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function MO(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function bh(e,t){var r=e.l,n=e.read_shift(1),i=Sr(e),a=[],s={t:i,h:i};if(1&n){for(var o=e.read_shift(4),c=0;c!=o;++c)a.push(MO(e));s.r=a}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}var RO=bh;function Tn(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 Sa(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}var LO=Sr;function Ih(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}var BO=Sr,Mh=Ih;function Oh(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var i=0===n?xu([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Da(t,0)>>2;return r?i/100:i}function Hw(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var ka=Hw;function Cr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Vw(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Rh=2,Qr=3,jw=12,$w=81,YO=[80,$w],Ph={1:{n:"CodePage",t:Rh},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Qr},5:{n:"LineCount",t:Qr},6:{n:"ParagraphCount",t:Qr},7:{n:"SlideCount",t:Qr},8:{n:"NoteCount",t:Qr},9:{n:"HiddenCount",t:Qr},10:{n:"MultimediaClipCount",t:Qr},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Qr},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Qr,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Lh={1:{n:"CodePage",t:Rh},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Qr},15:{n:"WordCount",t:Qr},16:{n:"CharCount",t:Qr},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:Qr},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ww={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"},qO=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function ZO(e){return e.map(function(t){return[t>>16&255,t>>8&255,255&t]})}var Fa=gt(ZO([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ii={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Bh={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Uh=["_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"],Hh={"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"},We={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",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Zo(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Qo(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(Dr)||[]).forEach(function(i){var a=_e(i);if("<Relationship"===a[0]){var s={};s.Type=a.Type,s.Target=et(a.Target),s.Id=a.Id,a.TargetMode&&(s.TargetMode=a.TargetMode);var o="External"===a.TargetMode?a.Target:jo(a.Target,t);r[o]=s,n[a.Id]=s}}),r["!id"]=n,r}var eR="application/vnd.oasis.opendocument.spreadsheet",Sn=[["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"]],aR=function(){for(var e=new Array(Sn.length),t=0;t<Sn.length;++t){var r=Sn[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 Kw(e){var t={};e=xt(e);for(var r=0;r<Sn.length;++r){var n=Sn[r],i=e.match(aR[r]);null!=i&&i.length>0&&(t[n[1]]=et(i[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=bt(t[n[1]]))}return t}var ba=[["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"]];function Zw(e,t,r,n){var i=[];if("string"==typeof e)i=_w(e,n);else for(var a=0;a<e.length;++a)i=i.concat(e[a].map(function(u){return{v:u}}));var s="string"==typeof t?_w(t,n).map(function(u){return u.v}):t,o=0,c=0;if(s.length>0)for(var l=0;l!==i.length;l+=2){switch(c=+i[l+1].v,i[l].v){case"Worksheets":case"\u5de5\u4f5c\u8868":case"\u041b\u0438\u0441\u0442\u044b":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30ef\u30fc\u30af\u30b7\u30fc\u30c8":case"\u05d2\u05dc\u05d9\u05d5\u05e0\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4":case"Arbeitsbl\xe4tter":case"\xc7al\u0131\u015fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xe1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xe1lculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=s.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540d\u524d\u4ed8\u304d\u4e00\u89a7":case"Benannte Bereiche":case"Navngivne omr\xe5der":r.NamedRanges=c,r.DefinedNames=s.slice(o,o+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=s.slice(o,o+c)}o+=c}}var Wh,oR=/<[^>]+>[^<]*/g,$h={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function lR(e,t,r){Wh||(Wh=lu($h)),e[t=Wh[t]||t]=r}function Gh(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function e2(e,t,r){var n=e.l,i=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return i}function t2(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function r2(e,t,r){return 31===t?t2(e):e2(e,0,r)}function zh(e,t,r){return r2(e,t,!1===r?0:4)}function mR(e){var t=e.l,r=Du(e,$w);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,Du(e,Qr)]}function n2(e,t){for(var r=e.read_shift(4),n={},i=0;i!=r;++i){var a=e.read_shift(4),s=e.read_shift(4);n[a]=e.read_shift(s,1200===t?"utf16le":"utf8").replace(Er,"").replace(Bo,"!"),1200===t&&s%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function i2(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Du(e,t,r){var i,n=e.read_shift(2),a=r||{};if(e.l+=2,t!==jw&&n!==t&&-1===YO.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&n)))throw new Error("Expected type "+t+" saw "+n);switch(t===jw?n:t){case 2:return i=e.read_shift(2,"i"),a.raw||(e.l+=2),i;case 3:return e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return e.read_shift(4);case 30:return e2(e,0,4).replace(Er,"");case 31:return t2(e);case 64:return Gh(e);case 65:return i2(e);case 71:return function vR(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return zh(e,n,!a.raw).replace(Er,"");case 81:return function hR(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return r2(e,t,0)}(e,n).replace(Er,"");case 4108:return function xR(e){for(var t=e.read_shift(4),r=[],n=0;n<t/2;++n)r.push(mR(e));return r}(e);case 4126:case 4127:return 4127==n?function pR(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var i=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Er,""),e.l-i&2&&(e.l+=2)}return r}(e):function gR(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Er,"");return r}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function s2(e,t){var r=e.l,n=e.read_shift(4),i=e.read_shift(4),a=[],s=0,o=0,c=-1,l={};for(s=0;s!=i;++s){var u=e.read_shift(4),f=e.read_shift(4);a[s]=[u,f+r]}a.sort(function(_,v){return _[1]-v[1]});var d={};for(s=0;s!=i;++s){if(e.l!==a[s][1]){var h=!0;if(s>0&&t)switch(t[a[s-1][0]].t){case 2:e.l+2===a[s][1]&&(e.l+=2,h=!1);break;case 80:case 4108:e.l<=a[s][1]&&(e.l=a[s][1],h=!1)}if((!t||0==s)&&e.l<=a[s][1]&&(h=!1,e.l=a[s][1]),h)throw new Error("Read Error: Expected address "+a[s][1]+" at "+e.l+" :"+s)}if(t){if(0==a[s][0]&&a.length>s+1&&a[s][1]==a[s+1][1])continue;var p=t[a[s][0]];if(d[p.n]=Du(e,p.t,{raw:!0}),"version"===p.p&&(d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(65535&d[p.n])).slice(-4)),"CodePage"==p.n)switch(d[p.n]){case 0:d[p.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:yn(o=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n])}}else if(1===a[s][0]){if(o=d.CodePage=Du(e,Rh),yn(o),-1!==c){var m=e.l;e.l=a[c][1],l=n2(e,o),e.l=m}}else if(0===a[s][0]){if(0===o){c=s,e.l=a[s+1][1];continue}l=n2(e,o)}else{var x,g=l[a[s][0]];switch(e[e.l]){case 65:e.l+=4,x=i2(e);break;case 30:case 31:e.l+=4,x=zh(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,x=e.read_shift(4,"i");break;case 19:e.l+=4,x=e.read_shift(4);break;case 5:e.l+=4,x=e.read_shift(8,"f");break;case 11:e.l+=4,x=jt(e,4);break;case 64:e.l+=4,x=bt(Gh(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[g]=x}}return e.l=r+n,d}function l2(e,t,r){var n=e.content;if(!n)return{};ar(n,0);var i,a,s,o,c=0;n.chk("feff","Byte Order: "),n.read_shift(2);var l=n.read_shift(4),u=n.read_shift(16);if(u!==Te.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(1!==(i=n.read_shift(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(a=n.read_shift(16),o=n.read_shift(4),1===i&&o!==n.l)throw new Error("Length mismatch: "+o+" !== "+n.l);2===i&&(s=n.read_shift(16),c=n.read_shift(4));var p,f=s2(n,t),d={SystemIdentifier:l};for(var h in f)d[h]=f[h];if(d.FMTID=a,1===i)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{p=s2(n,null)}catch{}for(h in p)d[h]=p[h];return d.FMTID=[a,s],d}function Zi(e,t){return e.read_shift(t),null}function jt(e,t){return 1===e.read_shift(t)}function $t(e){return e.read_shift(2,"u")}function f2(e,t){return function wR(e,t,r){for(var n=[],i=e.l+t;e.l<i;)n.push(r(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return n}(e,t,$t)}function Jo(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),i="sbcs-cont",a=nr;r&&r.biff>=8&&(nr=1200),r&&8!=r.biff?12==r.biff&&(i="wstr"):e.read_shift(1)&&(i="dbcs-cont"),r.biff>=2&&r.biff<=5&&(i="cpstr");var o=n?e.read_shift(n,i):"";return nr=a,o}function DR(e){var t=nr;nr=1200;var c,r=e.read_shift(2),n=e.read_shift(1),i=4&n,a=8&n,s=1+(1&n),o=0,l={};a&&(o=e.read_shift(2)),i&&(c=e.read_shift(4));var f=0===r?"":e.read_shift(r,2==s?"dbcs-cont":"sbcs-cont");return a&&(e.l+=4*o),i&&(e.l+=c),l.t=f,a||(l.raw="<t>"+l.t+"</t>",l.r=l.t),nr=t,l}function Ia(e,t,r){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 i=e.read_shift(1);return e.read_shift(t,0===i?"sbcs-cont":"dbcs-cont")}function ec(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Ia(e,n,r)}function Ma(e,t,r){if(r.biff>5)return ec(e,0,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Tu(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(Er,""):""}function g2(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function m2(e,t){var r=g2(e);return r[3]=0,r}function oi(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function NR(e,t,r){var n=r.biff>8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function x2(e){return[e.read_shift(2),Oh(e)]}function Su(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r}}}function _2(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r}}}var RR=_2;function y2(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 kr(e){e.l+=2,e.l+=e.read_shift(2)}var BR={0:kr,4:kr,5:kr,6:kr,7:function LR(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:kr,9:kr,10:kr,11:kr,12:kr,13:function PR(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:kr,15:kr,16:kr,17:kr,18:kr,19:kr,20:kr,21:y2};function Cu(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),(t-=2)>=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 w2(e,t,r){var n=0;r&&2==r.biff||(n=e.read_shift(2));var i=e.read_shift(2);return r&&2==r.biff&&(n=1-(i>>15),i&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},i]}var fP=Ma;function E2(e,t,r){var n=e.l+t,i=8!=r.biff&&r.biff?2:4,a=e.read_shift(i),s=e.read_shift(i),o=e.read_shift(2),c=e.read_shift(2);return e.l=n,{s:{r:a,c:o},e:{r:s,c}}}function T2(e,t,r){var n=oi(e);(2==r.biff||9==t)&&++e.l;var i=function ER(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return n.val=i,n.t=!0===i||!1===i?"b":"e",n}var S2=function MR(e,t,r){return 0===t?"":Ma(e,0,r)};function C2(e,t,r){var i,n=e.read_shift(2),a={fBuiltIn:1&n,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 14849===r.sbcch&&(i=function OR(e,t,r){e.l+=4;var n=e.l+(t-=4),i=Jo(e,0,r),a=e.read_shift(2);if(a!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+a);return e.l+=a,i}(e,t-2,r)),a.body=i||e.read_shift(t-2),"string"==typeof i&&(a.Name=i),a}function k2(e,t,r){var n=e.l+t,i=e.read_shift(2),a=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var l=Ia(e,s,r);32&i&&(l=Uh[l.charCodeAt(0)]);var u=n-e.l;r&&2==r.biff&&--u;var f=n!=e.l&&0!==o&&u>0?function z5(e,t,r,n){var s,i=e.l+t,a=cc(e,n,r);return i!==e.l&&(s=oc(e,i-e.l,a,r)),[a,s]}(e,u,r,o):[];return{chKey:a,Name:l,itab:c,rgce:f}}function A2(e,t,r){if(r.biff<8||!(r.biff>8)&&t==e[e.l]+(3==e[e.l+1]?1:0)+1)return function F2(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Jo(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],i=e.l+t,a=e.read_shift(r.biff>8?4:2);0!=a--;)n.push(NR(e,0,r));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return n}function b2(e,t,r){var n=RR(e,6);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,W5(e,t,r)]}var MP={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 i=e.read_shift(1);return e.l+=i,e.l=r,{fmt:n}}};function I2(e,t,r){if(!r.cellStyles)return Tr(e,t);var n=r&&r.biff>=12?4:2,i=e.read_shift(n),a=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),c=e.read_shift(2);2==n&&(e.l+=2);var l={s:i,e:a,w:s,ixfe:o,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}var KP=oi,YP=f2,qP=ec,s8=[2,3,48,49,131,139,140,245],Kh=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=lu({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 n(o,c){var l=c||{};l.dateNF||(l.dateNF="yyyymmdd");var u=Rs(function r(o,c){var l=[],u=zi(1);switch(c.type){case"base64":u=Lr(cn(o));break;case"binary":u=Lr(o);break;case"buffer":case"array":u=o}ar(u,0);var f=u.read_shift(1),d=!!(136&f),h=!1,p=!1;switch(f){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:h=!0,d=!0;break;case 140:p=!0;break;default:throw new Error("DBF Unsupported Version: "+f.toString(16))}var m=0,g=521;2==f&&(m=u.read_shift(2)),u.l+=3,2!=f&&(m=u.read_shift(4)),m>1048576&&(m=1e6),2!=f&&(g=u.read_shift(2));var x=u.read_shift(2),_=c.codepage||1252;2!=f&&(u.l+=16,u.read_shift(1),0!==u[u.l]&&(_=e[u[u.l]]),u.l+=1,u.l+=2),p&&(u.l+=36);for(var v=[],S={},P=Math.min(u.length,2==f?521:g-10-(h?264:0)),b=p?32:11;u.l<P&&13!=u[u.l];)switch(S={},S.name=(typeof Be<"u"?Be.utils.decode(_,u.slice(u.l,u.l+b)):ni(u.slice(u.l,u.l+b))).replace(/[\u0000\r\n].*$/g,""),u.l+=b,S.type=String.fromCharCode(u.read_shift(1)),2!=f&&!p&&(S.offset=u.read_shift(4)),S.len=u.read_shift(1),2==f&&(S.offset=u.read_shift(2)),S.dec=u.read_shift(1),S.name.length&&v.push(S),2!=f&&(u.l+=p?13:14),S.type){case"B":(!h||8!=S.len)&&c.WTF&&console.log("Skipping "+S.name+":"+S.type);break;case"G":case"P":c.WTF&&console.log("Skipping "+S.name+":"+S.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: "+S.type)}if(13!==u[u.l]&&(u.l=g-1),13!==u.read_shift(1))throw new Error("DBF Terminator not found "+u.l+" "+u[u.l]);u.l=g;var w=0,M=0;for(l[0]=[],M=0;M!=v.length;++M)l[0][M]=v[M].name;for(;m-- >0;)if(42!==u[u.l])for(++u.l,l[++w]=[],M=0,M=0;M!=v.length;++M){var I=u.slice(u.l,u.l+v[M].len);u.l+=v[M].len,ar(I,0);var L=typeof Be<"u"?Be.utils.decode(_,I):ni(I);switch(v[M].type){case"C":L.trim().length&&(l[w][M]=L.replace(/\s+$/,""));break;case"D":l[w][M]=8===L.length?new Date(+L.slice(0,4),+L.slice(4,6)-1,+L.slice(6,8)):L;break;case"F":l[w][M]=parseFloat(L.trim());break;case"+":case"I":l[w][M]=p?2147483648^I.read_shift(-4,"i"):I.read_shift(4,"i");break;case"L":switch(L.trim().toUpperCase()){case"Y":case"T":l[w][M]=!0;break;case"N":case"F":l[w][M]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+L+"|")}break;case"M":if(!d)throw new Error("DBF Unexpected MEMO for type "+f.toString(16));l[w][M]="##MEMO##"+(p?parseInt(L.trim(),10):I.read_shift(4));break;case"N":(L=L.replace(/\u0000/g,"").trim())&&"."!=L&&(l[w][M]=+L||0);break;case"@":l[w][M]=new Date(I.read_shift(-8,"f")-621356832e5);break;case"T":l[w][M]=new Date(864e5*(I.read_shift(4)-2440588)+I.read_shift(4));break;case"Y":l[w][M]=I.read_shift(4,"i")/1e4+I.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[w][M]=-I.read_shift(-8,"f");break;case"B":if(h&&8==v[M].len){l[w][M]=I.read_shift(8,"f");break}case"G":case"P":I.l+=v[M].len;break;case"0":if("_NullFlags"===v[M].name)break;default:throw new Error("DBF Unsupported data type "+v[M].type)}}else u.l+=x;if(2!=f&&u.l<u.length&&26!=u[u.l++])throw new Error("DBF EOF Marker missing "+(u.l-1)+" of "+u.length+" "+u[u.l-1].toString(16));return c&&c.sheetRows&&(l=l.slice(0,c.sheetRows)),c.DBF=v,l}(o,l),l);return u["!cols"]=l.DBF.map(function(f){return{wch:f.len,DBF:f}}),delete l.DBF,u}var a={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function i(o,c){try{var l=qi(n(o,c),c);return l.bookType="dbf",l}catch(u){if(c&&c.WTF)throw u}return{SheetNames:[],Sheets:{}}},to_sheet:n,from_sheet:function s(o,c){var l=c||{},u=nr;if(+l.codepage>=0&&yn(+l.codepage),"string"==l.type)throw new Error("Cannot write DBF to JS string");var f=Zr(),d=ju(o,{header:1,raw:!0,cellDates:!0}),h=d[0],p=d.slice(1),m=o["!cols"]||[],g=0,x=0,_=0,v=1;for(g=0;g<h.length;++g)if(((m[g]||{}).DBF||{}).name)h[g]=m[g].DBF.name,++_;else if(null!=h[g]){if(++_,"number"==typeof h[g]&&(h[g]=h[g].toString(10)),"string"!=typeof h[g])throw new Error("DBF Invalid column name "+h[g]+" |"+typeof h[g]+"|");if(h.indexOf(h[g])!==g)for(x=0;x<1024;++x)if(-1==h.indexOf(h[g]+"_"+x)){h[g]+="_"+x;break}}var S=rt(o["!ref"]),P=[],b=[],w=[];for(g=0;g<=S.e.c-S.s.c;++g){var M="",I="",L=0,H=[];for(x=0;x<p.length;++x)null!=p[x][g]&&H.push(p[x][g]);if(0!=H.length&&null!=h[g]){for(x=0;x<H.length;++x){switch(typeof H[x]){case"number":I="B";break;case"string":default:I="C";break;case"boolean":I="L";break;case"object":I=H[x]instanceof Date?"D":"C"}L=Math.max(L,(typeof Be<"u"&&"string"==typeof H[x]?Be.utils.encode(_a,H[x]):String(H[x])).length),M=M&&M!=I?"C":I}L>250&&(L=250),"C"==(I=((m[g]||{}).DBF||{}).type)&&m[g].DBF.len>L&&(L=m[g].DBF.len),"B"==M&&"N"==I&&(M="N",w[g]=m[g].DBF.dec,L=m[g].DBF.len),b[g]="C"==M||"N"==I?L:a[M]||0,v+=b[g],P[g]=M}else P[g]="?"}var O=f.next(32);for(O.write_shift(4,318902576),O.write_shift(4,p.length),O.write_shift(2,296+32*_),O.write_shift(2,v),g=0;g<4;++g)O.write_shift(4,0);var ee=+t[nr]||3;for(O.write_shift(4,0|ee<<8),e[ee]!=+l.codepage&&(l.codepage&&console.error("DBF Unsupported codepage "+nr+", using 1252"),nr=1252),g=0,x=0;g<h.length;++g)if(null!=h[g]){var te=f.next(32),K=(h[g].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);te.write_shift(1,K,"sbcs"),te.write_shift(1,"?"==P[g]?"C":P[g],"sbcs"),te.write_shift(4,x),te.write_shift(1,b[g]||a[P[g]]||0),te.write_shift(1,w[g]||0),te.write_shift(1,2),te.write_shift(4,0),te.write_shift(1,0),te.write_shift(4,0),te.write_shift(4,0),x+=b[g]||a[P[g]]||0}var oe=f.next(264);for(oe.write_shift(4,13),g=0;g<65;++g)oe.write_shift(4,0);for(g=0;g<p.length;++g){var Z=f.next(v);for(Z.write_shift(1,0),x=0;x<h.length;++x)if(null!=h[x])switch(P[x]){case"L":Z.write_shift(1,null==p[g][x]?63:p[g][x]?84:70);break;case"B":Z.write_shift(8,p[g][x]||0,"f");break;case"N":var pe="0";for("number"==typeof p[g][x]&&(pe=p[g][x].toFixed(w[x]||0)),pe.length>b[x]&&(pe=pe.slice(0,b[x])),_=0;_<b[x]-pe.length;++_)Z.write_shift(1,32);Z.write_shift(1,pe,"sbcs");break;case"D":p[g][x]?(Z.write_shift(4,("0000"+p[g][x].getFullYear()).slice(-4),"sbcs"),Z.write_shift(2,("00"+(p[g][x].getMonth()+1)).slice(-2),"sbcs"),Z.write_shift(2,("00"+p[g][x].getDate()).slice(-2),"sbcs")):Z.write_shift(8,"00000000","sbcs");break;case"C":var J=Z.l,Ee=String(null!=p[g][x]?p[g][x]:"").slice(0,b[x]);for(Z.write_shift(1,Ee,"cpstr"),J+=b[x]-Z.l,_=0;_<J;++_)Z.write_shift(1,32)}}return nr=u,f.next(1).write_shift(1,26),f.end()}}}(),M2=function(){var e={AA:"\xc0",BA:"\xc1",CA:"\xc2",DA:195,HA:"\xc4",JA:197,AE:"\xc8",BE:"\xc9",CE:"\xca",HE:"\xcb",AI:"\xcc",BI:"\xcd",CI:"\xce",HI:"\xcf",AO:"\xd2",BO:"\xd3",CO:"\xd4",DO:213,HO:"\xd6",AU:"\xd9",BU:"\xda",CU:"\xdb",HU:"\xdc",Aa:"\xe0",Ba:"\xe1",Ca:"\xe2",Da:227,Ha:"\xe4",Ja:229,Ae:"\xe8",Be:"\xe9",Ce:"\xea",He:"\xeb",Ai:"\xec",Bi:"\xed",Ci:"\xee",Hi:"\xef",Ao:"\xf2",Bo:"\xf3",Co:"\xf4",Do:245,Ho:"\xf6",Au:"\xf9",Bu:"\xfa",Cu:"\xfb",Hu:"\xfc",KC:"\xc7",Kc:"\xe7",q:"\xe6",z:"\u0153",a:"\xc6",j:"\u0152",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("+Ft(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(f,d){var h=e[d];return"number"==typeof h?lh(h):h},n=function(f,d,h){var p=d.charCodeAt(0)-32<<4|h.charCodeAt(0)-48;return 59==p?f:lh(p)};function a(f,d){var L,h=f.split(/[\n\r]+/),p=-1,m=-1,g=0,x=0,_=[],v=[],S=null,P={},b=[],w=[],M=[],I=0,H={Workbook:{WBProps:{},Names:[]}};for(+d.codepage>=0&&yn(+d.codepage);g!==h.length;++g){I=0;var K,O=h[g].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),ee=O.replace(/;;/g,"\0").split(";").map(function(z){return z.replace(/\u0000/g,";")});if(O.length>0)switch(ee[0]){case"ID":case"E":case"B":case"W":break;case"O":for(x=1;x<ee.length;++x)if("V"===ee[x].charAt(0)){var oe=parseInt(ee[x].slice(1),10);oe>=1&&oe<=4&&(H.Workbook.WBProps.date1904=!0)}break;case"P":"P"===ee[1].charAt(0)&&v.push(O.slice(3).replace(/;;/g,";"));break;case"NN":var Z={Sheet:0};for(x=1;x<ee.length;++x)switch(ee[x].charAt(0)){case"N":Z.Name=ee[x].slice(1);break;case"E":Z.Ref=(d&&d.sheet||"Sheet1")+"!"+Ra(ee[x].slice(1))}H.Workbook.Names.push(Z);break;case"C":var pe=!1,J=!1,Ee=!1,Y=!1,Ce=-1,Ue=-1,F="",B="z";for(x=1;x<ee.length;++x)switch(ee[x].charAt(0)){case"A":case"G":break;case"X":m=parseInt(ee[x].slice(1),10)-1,J=!0;break;case"Y":for(p=parseInt(ee[x].slice(1),10)-1,J||(m=0),L=_.length;L<=p;++L)_[L]=[];break;case"K":'"'===(K=ee[x].slice(1)).charAt(0)?(K=K.slice(1,K.length-1),B="s"):"TRUE"===K||"FALSE"===K?(K="TRUE"===K,B="b"):isNaN(ln(K))?isNaN(Ms(K).getDate())||(K=bt(K),B="d",d.cellDates||(B="n",K=Kt(K,H.Workbook.WBProps.date1904))):(K=ln(K),B="n",null!==S&&Ki(S)&&d.cellDates&&(K=du(H.Workbook.WBProps.date1904?K+1462:K),B="d")),typeof Be<"u"&&"string"==typeof K&&"string"!=(d||{}).type&&(d||{}).codepage&&(K=Be.utils.decode(d.codepage,K)),pe=!0;break;case"E":Y=!0,F=Ra(ee[x].slice(1),{r:p,c:m});break;case"S":Ee=!0;break;case"R":Ce=parseInt(ee[x].slice(1),10)-1;break;case"C":Ue=parseInt(ee[x].slice(1),10)-1;break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+O)}if(pe&&(_[p][m]?(_[p][m].t=B,_[p][m].v=K):_[p][m]={t:B,v:K},S&&(_[p][m].z=S),!1!==d.cellText&&S&&(_[p][m].w=Yr(_[p][m].z,_[p][m].v,{date1904:H.Workbook.WBProps.date1904})),S=null),Ee){if(Y)throw new Error("SYLK shared formula cannot have own formula");var R=Ce>-1&&_[Ce][Ue];if(!R||!R[1])throw new Error("SYLK shared formula cannot find base");F=z2(R[1],{r:p-Ce,c:m-Ue})}F&&(_[p][m]?_[p][m].f=F:_[p][m]={t:"n",f:F});break;case"F":var N=0;for(x=1;x<ee.length;++x)switch(ee[x].charAt(0)){case"X":m=parseInt(ee[x].slice(1),10)-1,++N;break;case"Y":for(p=parseInt(ee[x].slice(1),10)-1,L=_.length;L<=p;++L)_[L]=[];break;case"M":I=parseInt(ee[x].slice(1),10)/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":S=v[parseInt(ee[x].slice(1),10)];break;case"W":for(M=ee[x].slice(1).split(" "),L=parseInt(M[0],10);L<=parseInt(M[1],10);++L)I=parseInt(M[2],10),w[L-1]=0===I?{hidden:!0}:{wch:I};break;case"C":w[m=parseInt(ee[x].slice(1),10)-1]||(w[m]={});break;case"R":b[p=parseInt(ee[x].slice(1),10)-1]||(b[p]={}),I>0?(b[p].hpt=I,b[p].hpx=Us(I)):0===I&&(b[p].hidden=!0);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+O)}N<1&&(S=null);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+O)}}return b.length>0&&(P["!rows"]=b),w.length>0&&(P["!cols"]=w),w.forEach(function(z){Qi(z)}),d&&d.sheetRows&&(_=_.slice(0,d.sheetRows)),[_,P,H]}function o(f,d,h,p){var m="C;Y"+(h+1)+";X"+(p+1)+";K";switch(f.t){case"n":m+=f.v||0,f.f&&!f.F&&(m+=";E"+Mu(f.f,{r:h,c:p}));break;case"b":m+=f.v?"TRUE":"FALSE";break;case"e":m+=f.w||f.v;break;case"d":m+='"'+(f.w||f.v)+'"';break;case"s":m+='"'+(null==f.v?"":String(f.v)).replace(/"/g,"").replace(/;/g,";;")+'"'}return m}return e["|"]=254,{to_workbook:function s(f,d){var h=function i(f,d){switch(d.type){case"base64":return a(cn(f),d);case"binary":return a(f,d);case"buffer":return a(Ke&&Buffer.isBuffer(f)?f.toString("binary"):ni(f),d);case"array":return a(wa(f),d)}throw new Error("Unrecognized type "+d.type)}(f,d),p=h[0],m=h[1],g=h[2],x=gt(d);x.date1904=(((g||{}).Workbook||{}).WBProps||{}).date1904;var _=Rs(p,x);Ft(m).forEach(function(S){_[S]=m[S]});var v=qi(_,d);return Ft(g).forEach(function(S){v[S]=g[S]}),v.bookType="sylk",v},from_sheet:function u(f,d,h){var x,p=["ID;PSheetJS;N;E"],m=[],g=rt(f["!ref"]),_=null!=f["!data"],v="\r\n",S=(((h||{}).Workbook||{}).WBProps||{}).date1904;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),f["!cols"]&&function c(f,d){d.forEach(function(h,p){var m="F;W"+(p+1)+" "+(p+1)+" ";h.hidden?m+="0":("number"==typeof h.width&&!h.wpx&&(h.wpx=rc(h.width)),"number"==typeof h.wpx&&!h.wch&&(h.wch=nc(h.wpx)),"number"==typeof h.wch&&(m+=Math.round(h.wch)))," "!=m.charAt(m.length-1)&&f.push(m)})}(p,f["!cols"]),f["!rows"]&&function l(f,d){d.forEach(function(h,p){var m="F;";h.hidden?m+="M0;":h.hpt?m+="M"+20*h.hpt+";":h.hpx&&(m+="M"+20*ic(h.hpx)+";"),m.length>2&&f.push(m+"R"+(p+1))})}(p,f["!rows"]),p.push("B;Y"+(g.e.r-g.s.r+1)+";X"+(g.e.c-g.s.c+1)+";D"+[g.s.c,g.s.r,g.e.c,g.e.r].join(" ")),p.push("O;L;D;B"+(S?";V4":"")+";K47;G100 0.001");for(var P=g.s.r;P<=g.e.r;++P)if(!_||f["!data"][P]){for(var b=[],w=g.s.c;w<=g.e.c;++w)(x=_?f["!data"][P][w]:f[Ye(w)+tt(P)])&&(null!=x.v||x.f&&!x.F)&&b.push(o(x,0,P,w));m.push(b.join(v))}return p.join(v)+v+m.join(v)+v+"E"+v}}}(),N2=function(){function t(o,c){for(var l=o.split("\n"),u=-1,f=-1,d=0,h=[];d!==l.length;++d)if("BOT"!==l[d].trim()){if(!(u<0)){for(var p=l[d].trim().split(","),m=p[0],g=p[1],x=l[++d]||"";1&(x.match(/["]/g)||[]).length&&d<l.length-1;)x+="\n"+l[++d];switch(x=x.trim(),+m){case-1:if("BOT"===x){h[++u]=[],f=0;continue}if("EOD"!==x)throw new Error("Unrecognized DIF special command "+x);break;case 0:h[u][f]="TRUE"===x||"FALSE"!==x&&(isNaN(ln(g))?isNaN(Ms(g).getDate())?g:bt(g):ln(g)),++f;break;case 1:x=(x=x.slice(1,x.length-1)).replace(/""/g,'"'),Ny&&x&&x.match(/^=".*"$/)&&(x=x.slice(2,-1)),h[u][f++]=""!==x?x:null}if("EOD"===x)break}}else h[++u]=[],f=0;return c&&c.sheetRows&&(h=h.slice(0,c.sheetRows)),h}function r(o,c){return Rs(function e(o,c){switch(c.type){case"base64":return t(cn(o),c);case"binary":return t(o,c);case"buffer":return t(Ke&&Buffer.isBuffer(o)?o.toString("binary"):ni(o),c);case"array":return t(wa(o),c)}throw new Error("Unrecognized type "+c.type)}(o,c),c)}function i(o,c){return"0,"+String(o)+"\r\n"+c}function a(o){return'1,0\r\n"'+o.replace(/"/g,'""')+'"'}return{to_workbook:function n(o,c){var l=qi(r(o,c),c);return l.bookType="dif",l},to_sheet:r,from_sheet:function s(o){for(var c=Ny,l=rt(o["!ref"]),u=null!=o["!data"],f=['TABLE\r\n0,1\r\n"sheetjs"\r\n',"VECTORS\r\n0,"+(l.e.r-l.s.r+1)+'\r\n""\r\n',"TUPLES\r\n0,"+(l.e.c-l.s.c+1)+'\r\n""\r\n','DATA\r\n0,0\r\n""\r\n'],d=l.s.r;d<=l.e.r;++d){for(var h=u?o["!data"][d]:[],p="-1,0\r\nBOT\r\n",m=l.s.c;m<=l.e.c;++m){var g=u?h&&h[m]:o[qe({r:d,c:m})];if(null!=g){switch(g.t){case"n":p+=c?null!=g.w?"0,"+g.w+"\r\nV":null!=g.v?i(g.v,"V"):null==g.f||g.F?'1,0\r\n""':a("="+g.f):null==g.v?'1,0\r\n""':i(g.v,"V");break;case"b":p+=g.v?i(1,"TRUE"):i(0,"FALSE");break;case"s":p+=a(!c||isNaN(+g.v)?g.v:'="'+g.v+'"');break;case"d":g.w||(g.w=Yr(g.z||ke[14],Kt(bt(g.v)))),p+=c?i(g.w,"V"):a(g.w);break;default:p+='1,0\r\n""'}p+="\r\n"}else p+='1,0\r\n""\r\n'}f.push(p)}return f.join("")+"-1,0\r\nEOD"}}}(),O2=function(){function e(f){return f.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(f){return f.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function n(f,d){return Rs(function r(f,d){for(var h=f.split("\n"),p=-1,m=-1,g=0,x=[];g!==h.length;++g){var _=h[g].trim().split(":");if("cell"===_[0]){var v=pt(_[1]);if(x.length<=v.r)for(p=x.length;p<=v.r;++p)x[p]||(x[p]=[]);switch(p=v.r,m=v.c,_[2]){case"t":x[p][m]=e(_[3]);break;case"v":x[p][m]=+_[3];break;case"vtf":var S=_[_.length-1];case"vtc":x[p][m]="nl"===_[3]?!!+_[4]:+_[4],"vtf"==_[2]&&(x[p][m]=[x[p][m],S])}}}return d&&d.sheetRows&&(x=x.slice(0,d.sheetRows)),x}(f,d),d)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),c="--SocialCalcSpreadsheetControlSave--";function l(f){if(!f||!f["!ref"])return"";for(var p,d=[],h=[],m="",g=sr(f["!ref"]),x=null!=f["!data"],_=g.s.r;_<=g.e.r;++_)for(var v=g.s.c;v<=g.e.c;++v)if(m=qe({r:_,c:v}),(p=x?(f["!data"][_]||[])[v]:f[m])&&null!=p.v&&"z"!==p.t){switch(h=["cell",m,"t"],p.t){case"s":case"str":h.push(t(p.v));break;case"n":p.f?(h[2]="vtf",h[3]="n",h[4]=p.v,h[5]=t(p.f)):(h[2]="v",h[3]=p.v);break;case"b":h[2]="vt"+(p.f?"f":"c"),h[3]="nl",h[4]=p.v?"1":"0",h[5]=t(p.f||(p.v?"TRUE":"FALSE"));break;case"d":var S=Kt(bt(p.v));h[2]="vtc",h[3]="nd",h[4]=""+S,h[5]=p.w||Yr(p.z||ke[14],S);break;case"e":continue}d.push(h.join(":"))}return d.push("sheet:c:"+(g.e.c-g.s.c+1)+":r:"+(g.e.r-g.s.r+1)+":tvf:1"),d.push("valueformat:1:text-wiki"),d.join("\n")}return{to_workbook:function i(f,d){return qi(n(f,d),d)},to_sheet:n,from_sheet:function u(f){return[a,s,o,s,l(f),c].join("\n")}}}(),Bs=function(){function e(u,f,d,h,p){p.raw?f[d][h]=u:""===u||(f[d][h]="TRUE"===u||"FALSE"!==u&&(isNaN(ln(u))?isNaN(Ms(u).getDate())?u:bt(u):ln(u)))}var r={44:",",9:"\t",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(u){for(var f={},d=!1,h=0,p=0;h<u.length;++h)34==(p=u.charCodeAt(h))?d=!d:!d&&p in r&&(f[p]=(f[p]||0)+1);for(h in p=[],f)Object.prototype.hasOwnProperty.call(f,h)&&p.push([f[h],h]);if(!p.length)for(h in f=n)Object.prototype.hasOwnProperty.call(f,h)&&p.push([f[h],h]);return p.sort(function(m,g){return m[0]-g[0]||n[m[1]]-n[g[1]]}),r[p.pop()[1]]||44}function s(u,f){return!f||!f.PRN||f.FS||"sep="==u.slice(0,4)||u.indexOf("\t")>=0||u.indexOf(",")>=0||u.indexOf(";")>=0?function a(u,f){var d=f||{},h="";null!=Ht&&null==d.dense&&(d.dense=Ht);var p={};d.dense&&(p["!data"]=[]);var m={s:{c:0,r:0},e:{c:0,r:0}};"sep="==u.slice(0,4)?13==u.charCodeAt(5)&&10==u.charCodeAt(6)?(h=u.charAt(4),u=u.slice(7)):13==u.charCodeAt(5)||10==u.charCodeAt(5)?(h=u.charAt(4),u=u.slice(6)):h=i(u.slice(0,1024)):h=d&&d.FS?d.FS:i(u.slice(0,1024));var g=0,x=0,_=0,v=0,S=0,P=h.charCodeAt(0),b=!1,w=0,M=u.charCodeAt(0),I=null!=d.dateNF?function z3(e){var t="number"==typeof e?ke[e]:e;return t=t.replace(Jy,"(\\d+)"),new RegExp("^"+t+"$")}(d.dateNF):null;function L(){var H=u.slice(v,S);"\r"==H.slice(-1)&&(H=H.slice(0,-1));var O={};if('"'==H.charAt(0)&&'"'==H.charAt(H.length-1)&&(H=H.slice(1,-1).replace(/""/g,'"')),0===H.length?O.t="z":d.raw||0===H.trim().length?(O.t="s",O.v=H):61==H.charCodeAt(0)?34==H.charCodeAt(1)&&34==H.charCodeAt(H.length-1)?(O.t="s",O.v=H.slice(2,-1).replace(/""/g,'"')):function b6(e){return 1!=e.length}(H)?(O.t="n",O.f=H.slice(1)):(O.t="s",O.v=H):"TRUE"==H?(O.t="b",O.v=!0):"FALSE"==H?(O.t="b",O.v=!1):isNaN(_=ln(H))?!isNaN((_=Ms(H)).getDate())||I&&H.match(I)?(O.z=d.dateNF||ke[14],I&&H.match(I)&&(H=function X3(e,t,r){var n=-1,i=-1,a=-1,s=-1,o=-1,c=-1;(t.match(Jy)||[]).forEach(function(f,d){var h=parseInt(r[d+1],10);switch(f.toLowerCase().charAt(0)){case"y":n=h;break;case"d":a=h;break;case"h":s=h;break;case"s":c=h;break;case"m":s>=0?o=h:i=h}}),c>=0&&-1==o&&i>=0&&(o=i,i=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==s&&-1==o&&-1==c?l:-1==n&&-1==i&&-1==a?u:l+"T"+u}(0,d.dateNF,H.match(I)||[]),_=bt(H,1)),d.cellDates?(O.t="d",O.v=_):(O.t="n",O.v=Kt(_)),!1!==d.cellText&&(O.w=Yr(O.z,O.v instanceof Date?Kt(O.v):O.v)),d.cellNF||delete O.z):(O.t="s",O.v=H):(O.t="n",!1!==d.cellText&&(O.w=H),O.v=_),"z"==O.t||(d.dense?(p["!data"][g]||(p["!data"][g]=[]),p["!data"][g][x]=O):p[qe({c:x,r:g})]=O),M=u.charCodeAt(v=S+1),m.e.c<x&&(m.e.c=x),m.e.r<g&&(m.e.r=g),w==P)++x;else if(x=0,++g,d.sheetRows&&d.sheetRows<=g)return!0}e:for(;S<u.length;++S)switch(w=u.charCodeAt(S)){case 34:34===M&&(b=!b);break;case 13:if(b)break;10==u.charCodeAt(S+1)&&++S;case P:case 10:if(!b&&L())break e}return S-v>0&&L(),p["!ref"]=Le(m),p}(u,f):Rs(function t(u,f){var d=f||{},h=[];if(!u||0===u.length)return h;for(var p=u.split(/[\r\n]/),m=p.length-1;m>=0&&0===p[m].length;)--m;for(var g=10,x=0,_=0;_<=m;++_)-1==(x=p[_].indexOf(" "))?x=p[_].length:x++,g=Math.max(g,x);for(_=0;_<=m;++_){h[_]=[];var v=0;for(e(p[_].slice(0,g).trim(),h,_,v,d),v=1;v<=(p[_].length-g)/10+1;++v)e(p[_].slice(g+10*(v-1),g+10*v).trim(),h,_,v,d)}return d.sheetRows&&(h=h.slice(0,d.sheetRows)),h}(u,f),f)}function o(u,f){var d="",h="string"==f.type?[0,0,0,0]:mp(u,f);switch(f.type){case"base64":d=cn(u);break;case"binary":case"string":d=u;break;case"buffer":d=65001==f.codepage?u.toString("utf8"):f.codepage&&typeof Be<"u"?Be.utils.decode(f.codepage,u):Ke&&Buffer.isBuffer(u)?u.toString("binary"):ni(u);break;case"array":d=wa(u);break;default:throw new Error("Unrecognized type "+f.type)}return 239==h[0]&&187==h[1]&&191==h[2]?d=xt(d.slice(3)):"string"!=f.type&&"buffer"!=f.type&&65001==f.codepage?d=xt(d):"binary"==f.type&&typeof Be<"u"&&f.codepage&&(d=Be.utils.decode(f.codepage,Be.utils.encode(28591,d))),"socialcalc:version:"==d.slice(0,19)?O2.to_sheet("string"==f.type?d:xt(d),f):s(d,f)}return{to_workbook:function c(u,f){return qi(o(u,f),f)},to_sheet:o,from_sheet:function l(u){for(var h,f=[],d=rt(u["!ref"]),p=null!=u["!data"],m=d.s.r;m<=d.e.r;++m){for(var g=[],x=d.s.c;x<=d.e.c;++x){var _=qe({r:m,c:x});if((h=p?(u["!data"][m]||[])[x]:u[_])&&null!=h.v){for(var v=(h.w||(si(h),h.w)||"").slice(0,10);v.length<10;)v+=" ";g.push(v+(0===x?" ":""))}else g.push(" ")}f.push(g.join(""))}return f.join("\n")}}}(),Oa=function(){function e(F,B,R){if(F){ar(F,F.l||0);for(var N=R.Enum||Y;F.l<F.length;){var z=F.read_shift(2),re=N[z]||N[65535],ue=F.read_shift(2),de=F.l+ue,D=re.f&&re.f(F,ue,R);if(F.l=de,B(D,re,z))return}}}function r(F,B){if(!F)return F;var R=B||{};null!=Ht&&null==R.dense&&(R.dense=Ht);var N={},z="Sheet1",re="",ue=0,de={},D=[],Ie=[],it=[];R.dense&&(it=N["!data"]=[]);var ge={s:{r:0,c:0},e:{r:0,c:0}},Ze=R.sheetRows||0;if(81==F[4]&&80==F[5]&&87==F[6])return function Ue(F,B){ar(F,0);var R=B||{};null!=Ht&&null==R.dense&&(R.dense=Ht);var N={};R.dense&&(N["!data"]=[]);var z=[],re="",de={s:{r:-1,c:-1},e:{r:-1,c:-1}},D=0,Ie=0,it=0,ge=0,Ze={SheetNames:[],Sheets:{}};e:for(;F.l<F.length;){var It=F.read_shift(2),lt=F.read_shift(2),ye=F.slice(F.l,F.l+lt);switch(ar(ye,0),It){case 1:if(962023505!=ye.read_shift(4))throw"Bad QPW9 BOF!";break;case 2:break e;case 1025:case 1026:case 1032:default:break;case 1031:for(ye.l+=12;ye.l<ye.length;)D=ye.read_shift(2),Ie=ye.read_shift(1),z.push(ye.read_shift(D,"cstr"));break;case 1537:var fe=ye.read_shift(2);N={},R.dense&&(N["!data"]=[]),de.s.c=ye.read_shift(2),de.e.c=ye.read_shift(2),de.s.r=ye.read_shift(4),de.e.r=ye.read_shift(4),ye.l+=4,ye.l+2<ye.length&&(D=ye.read_shift(2),Ie=ye.read_shift(1),re=0==D?"":ye.read_shift(D,"cstr")),re||(re=Ye(fe));break;case 1538:if(de.s.c>255||de.s.r>999999)break;de.e.c<de.s.c&&(de.e.c=de.s.c),de.e.r<de.s.r&&(de.e.r=de.s.r),N["!ref"]=Le(de),Wu(Ze,N,re);break;case 2561:it=ye.read_shift(2),de.e.c<it&&(de.e.c=it),de.s.c>it&&(de.s.c=it),ge=ye.read_shift(4),de.s.r>ge&&(de.s.r=ge),ge=ye.read_shift(4),de.e.r<ge&&(de.e.r=ge);break;case 3073:ge=ye.read_shift(4),D=ye.read_shift(4),de.s.r>ge&&(de.s.r=ge),de.e.r<ge+D-1&&(de.e.r=ge+D-1);for(var br=Ye(it);ye.l<ye.length;){var ct={t:"z"},yt=ye.read_shift(1);128&yt&&(ye.l+=2);var Hr=64&yt?ye.read_shift(2)-1:0;switch(31&yt){case 1:break;case 2:ct={t:"n",v:ye.read_shift(2)};break;case 3:ct={t:"n",v:ye.read_shift(2,"i")};break;case 5:ct={t:"n",v:ye.read_shift(8,"f")};break;case 7:ct={t:"s",v:z[Ie=ye.read_shift(4)-1]};break;case 8:ct={t:"n",v:ye.read_shift(8,"f")},ye.l+=2,ye.l+=4;break;default:throw"Unrecognized QPW cell type "+(31&yt)}var Ir=0;if(32&yt)switch(31&yt){case 2:case 7:Ir=ye.read_shift(2);break;case 3:Ir=ye.read_shift(2,"i");break;default:throw"Unsupported delta for QPW cell type "+(31&yt)}for(!R.sheetStubs&&"z"==ct.t||(null!=N["!data"]?(N["!data"][ge]||(N["!data"][ge]=[]),N["!data"][ge][it]=ct):N[br+tt(ge)]=ct),++ge,--D;Hr-- >0&&D>=0;){if(32&yt)switch(31&yt){case 2:ct={t:"n",v:ct.v+Ir&65535};break;case 3:(ct={t:"n",v:ct.v+Ir&65535}).v>32767&&(ct.v-=65536);break;case 7:ct={t:"s",v:z[Ie=Ie+Ir>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(31&yt)}else switch(31&yt){case 1:ct={t:"z"};break;case 2:ct={t:"n",v:ye.read_shift(2)};break;case 7:ct={t:"s",v:z[Ie=ye.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(31&yt)}!R.sheetStubs&&"z"==ct.t||(null!=N["!data"]?(N["!data"][ge]||(N["!data"][ge]=[]),N["!data"][ge][it]=ct):N[br+tt(ge)]=ct),++ge,--D}}}F.l+=lt}return Ze}(F,B);if(0==F[2]&&(8==F[3]||9==F[3])&&F.length>=16&&5==F[14]&&108===F[15])throw new Error("Unsupported Works 3 for Mac file");if(2==F[2])R.Enum=Y,e(F,function(fe,br,ct){switch(ct){case 0:R.vers=fe,fe>=4096&&(R.qpro=!0);break;case 255:R.vers=fe,R.works=!0;break;case 6:ge=fe;break;case 204:fe&&(re=fe);break;case 222:re=fe;break;case 15:case 51:(!R.qpro&&!R.works||51==ct)&&fe[1].v.charCodeAt(0)<48&&(fe[1].v=fe[1].v.slice(1)),(R.works||R.works2)&&(fe[1].v=fe[1].v.replace(/\r\n/g,"\n"));case 13:case 14:case 16:14==ct&&112==(112&fe[2])&&(15&fe[2])>1&&(15&fe[2])<15&&(fe[1].z=R.dateNF||ke[14],R.cellDates&&(fe[1].t="d",fe[1].v=du(fe[1].v))),R.qpro&&fe[3]>ue&&(N["!ref"]=Le(ge),de[z]=N,D.push(z),N={},R.dense&&(it=N["!data"]=[]),ge={s:{r:0,c:0},e:{r:0,c:0}},ue=fe[3],z=re||"Sheet"+(ue+1),re="");var yt=R.dense?(it[fe[0].r]||[])[fe[0].c]:N[qe(fe[0])];if(yt){yt.t=fe[1].t,yt.v=fe[1].v,null!=fe[1].z&&(yt.z=fe[1].z),null!=fe[1].f&&(yt.f=fe[1].f);break}R.dense?(it[fe[0].r]||(it[fe[0].r]=[]),it[fe[0].r][fe[0].c]=fe[1]):N[qe(fe[0])]=fe[1];break;case 21509:R.works2=!0}},R);else{if(26!=F[2]&&14!=F[2])throw new Error("Unrecognized LOTUS BOF "+F[2]);R.Enum=Ce,14==F[2]&&(R.qpro=!0,F.l=0),e(F,function(fe,br,ct){switch(ct){case 204:z=fe;break;case 22:fe[1].v.charCodeAt(0)<48&&(fe[1].v=fe[1].v.slice(1)),fe[1].v=fe[1].v.replace(/\x0F./g,function(yt){return String.fromCharCode(yt.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:case 24:case 25:case 37:case 39:case 40:if(fe[3]>ue&&(N["!ref"]=Le(ge),de[z]=N,D.push(z),N={},R.dense&&(it=N["!data"]=[]),ge={s:{r:0,c:0},e:{r:0,c:0}},z="Sheet"+((ue=fe[3])+1)),Ze>0&&fe[0].r>=Ze)break;R.dense?(it[fe[0].r]||(it[fe[0].r]=[]),it[fe[0].r][fe[0].c]=fe[1]):N[qe(fe[0])]=fe[1],ge.e.c<fe[0].c&&(ge.e.c=fe[0].c),ge.e.r<fe[0].r&&(ge.e.r=fe[0].r);break;case 27:fe[14e3]&&(Ie[fe[14e3][0]]=fe[14e3][1]);break;case 1537:Ie[fe[0]]=fe[1],fe[0]==ue&&(z=fe[1])}},R)}if(N["!ref"]=Le(ge),de[re||z]=N,D.push(re||z),!Ie.length)return{SheetNames:D,Sheets:de};for(var It={},lt=[],ye=0;ye<Ie.length;++ye)de[D[ye]]?(lt.push(Ie[ye]||D[ye]),It[Ie[ye]]=de[Ie[ye]]||de[D[ye]]):(lt.push(Ie[ye]),It[Ie[ye]]={"!ref":"A1"});return{SheetNames:lt,Sheets:It}}function l(F,B,R){var N=[{c:0,r:0},{t:"n",v:0},0,0];return R.qpro&&20768!=R.vers?(N[0].c=F.read_shift(1),N[3]=F.read_shift(1),N[0].r=F.read_shift(2),F.l+=2):R.works?(N[0].c=F.read_shift(2),N[0].r=F.read_shift(2),N[2]=F.read_shift(2)):(N[2]=F.read_shift(1),N[0].c=F.read_shift(2),N[0].r=F.read_shift(2)),N}function f(F,B,R){var N=G(7+R.length);N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,F),N.write_shift(1,39);for(var z=0;z<N.length;++z){var re=R.charCodeAt(z);N.write_shift(1,re>=128?95:re)}return N.write_shift(1,0),N}function p(F,B,R){var N=G(7);return N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,F),N.write_shift(2,R,"i"),N}function g(F,B,R){var N=G(13);return N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,F),N.write_shift(8,R,"f"),N}function _(F,B,R){var N=32768&B;return B=(N?F:0)+((B&=-32769)>=8192?B-16384:B),(N?"":"$")+(R?Ye(B):tt(B))}var v={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],63:["ROUND",2],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},S=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function b(F){var B=[{c:0,r:0},{t:"n",v:0},0];return B[0].r=F.read_shift(2),B[3]=F[F.l++],B[0].c=F[F.l++],B}function M(F,B,R,N){var z=G(6+N.length);z.write_shift(2,F),z.write_shift(1,R),z.write_shift(1,B),z.write_shift(1,39);for(var re=0;re<N.length;++re){var ue=N.charCodeAt(re);z.write_shift(1,ue>=128?95:ue)}return z.write_shift(1,0),z}function L(F,B){var R=b(F),N=F.read_shift(4),z=F.read_shift(4),re=F.read_shift(2);if(65535==re)return 0===N&&3221225472===z?(R[1].t="e",R[1].v=15):0===N&&3489660928===z?(R[1].t="e",R[1].v=42):R[1].v=0,R;var ue=32768&re;return re=(32767&re)-16446,R[1].v=(1-2*ue)*(z*Math.pow(2,re+32)+N*Math.pow(2,re)),R}function H(F,B,R,N){var z=G(14);if(z.write_shift(2,F),z.write_shift(1,R),z.write_shift(1,B),0==N)return z.write_shift(4,0),z.write_shift(4,0),z.write_shift(2,65535),z;var re=0,ue=0,D=0;return N<0&&(re=1,N=-N),ue=0|Math.log2(N),2147483648&(D=(N/=Math.pow(2,ue-31))>>>0)||(++ue,D=(N/=2)>>>0),N-=D,D|=2147483648,D>>>=0,N*=Math.pow(2,32),z.write_shift(4,N>>>0),z.write_shift(4,D),z.write_shift(2,ue+=16383+(re?32768:0)),z}function te(F,B){var R=b(F),N=F.read_shift(8,"f");return R[1].v=N,R}function oe(F,B){return 0==F[F.l+B-1]?F.read_shift(B,"cstr"):""}function Ee(F,B){var R=G(5+F.length);R.write_shift(2,14e3),R.write_shift(2,B);for(var N=0;N<F.length;++N){var z=F.charCodeAt(N);R[R.l++]=z>127?95:z}return R[R.l++]=0,R}var Y={0:{n:"BOF",f:$t},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function o(F,B,R){var N={s:{c:0,r:0},e:{c:0,r:0}};return 8==B&&R.qpro?(N.s.c=F.read_shift(1),F.l++,N.s.r=F.read_shift(2),N.e.c=F.read_shift(1),F.l++,N.e.r=F.read_shift(2),N):(N.s.c=F.read_shift(2),N.s.r=F.read_shift(2),12==B&&R.qpro&&(F.l+=2),N.e.c=F.read_shift(2),N.e.r=F.read_shift(2),12==B&&R.qpro&&(F.l+=2),65535==N.s.c&&(N.s.c=N.e.c=N.s.r=N.e.r=0),N)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function h(F,B,R){var N=l(F,0,R);return N[1].v=F.read_shift(2,"i"),N}},14:{n:"NUMBER",f:function m(F,B,R){var N=l(F,0,R);return N[1].v=F.read_shift(8,"f"),N}},15:{n:"LABEL",f:function u(F,B,R){var N=F.l+B,z=l(F,0,R);if(z[1].t="s",20768==R.vers){F.l++;var re=F.read_shift(1);return z[1].v=F.read_shift(re,"utf8"),z}return R.qpro&&F.l++,z[1].v=F.read_shift(N-F.l,"cstr"),z}},16:{n:"FORMULA",f:function x(F,B,R){var N=F.l+B,z=l(F,0,R);if(z[1].v=F.read_shift(8,"f"),R.qpro)F.l=N;else{var re=F.read_shift(2);(function P(F,B){ar(F,0);for(var R=[],N=0,z="",re="",ue="",de="";F.l<F.length;){var D=F[F.l++];switch(D){case 0:R.push(F.read_shift(8,"f"));break;case 1:re=_(B[0].c,F.read_shift(2),!0),z=_(B[0].r,F.read_shift(2),!1),R.push(re+z);break;case 2:var Ie=_(B[0].c,F.read_shift(2),!0),it=_(B[0].r,F.read_shift(2),!1);re=_(B[0].c,F.read_shift(2),!0),z=_(B[0].r,F.read_shift(2),!1),R.push(Ie+it+":"+re+z);break;case 3:if(F.l<F.length)return void console.error("WK1 premature formula end");break;case 4:R.push("("+R.pop()+")");break;case 5:R.push(F.read_shift(2));break;case 6:for(var ge="";D=F[F.l++];)ge+=String.fromCharCode(D);R.push('"'+ge.replace(/"/g,'""')+'"');break;case 8:R.push("-"+R.pop());break;case 23:R.push("+"+R.pop());break;case 22:R.push("NOT("+R.pop()+")");break;case 20:case 21:de=R.pop(),ue=R.pop(),R.push(["AND","OR"][D-20]+"("+ue+","+de+")");break;default:if(D<32&&S[D])de=R.pop(),ue=R.pop(),R.push(ue+S[D]+de);else{if(!v[D])return D<=7?console.error("WK1 invalid opcode "+D.toString(16)):D<=24?console.error("WK1 unsupported op "+D.toString(16)):D<=30?console.error("WK1 invalid opcode "+D.toString(16)):D<=115?console.error("WK1 unsupported function opcode "+D.toString(16)):console.error("WK1 unrecognized opcode "+D.toString(16));if(69==(N=v[D][1])&&(N=F[F.l++]),N>R.length)return void console.error("WK1 bad formula parse 0x"+D.toString(16)+":|"+R.join("|")+"|");var Ze=R.slice(-N);R.length-=N,R.push(v[D][0]+"("+Ze.join(",")+")")}}}1==R.length?B[1].f=""+R[0]:console.error("WK1 bad formula parse |"+R.join("|")+"|")})(F.slice(F.l,F.l+re),z),F.l+=re}return z}},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:function d(F,B,R){var N=F.l+B,z=l(F,0,R);if(z[1].t="s",20768==R.vers){var re=F.read_shift(1);return z[1].v=F.read_shift(re,"utf8"),z}return z[1].v=F.read_shift(N-F.l,"cstr"),z}},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:oe},222:{n:"SHEETNAMELP",f:function Z(F,B){var R=F[F.l++];R>B-1&&(R=B-1);for(var N="";N.length<R;)N+=String.fromCharCode(F[F.l++]);return N}},255:{n:"BOF",f:$t},65535:{n:""}},Ce={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:function w(F,B){var R=b(F);return R[1].t="s",R[1].v=F.read_shift(B-4,"cstr"),R}},23:{n:"NUMBER17",f:L},24:{n:"NUMBER18",f:function I(F,B){var R=b(F);R[1].v=F.read_shift(2);var N=R[1].v>>1;if(1&R[1].v)switch(7&N){case 0:N=5e3*(N>>3);break;case 1:N=500*(N>>3);break;case 2:N=(N>>3)/20;break;case 3:N=(N>>3)/200;break;case 4:N=(N>>3)/2e3;break;case 5:N=(N>>3)/2e4;break;case 6:N=(N>>3)/16;break;case 7:N=(N>>3)/64}return R[1].v=N,R}},25:{n:"FORMULA19",f:function O(F,B){var R=L(F);return F.l+=B-14,R}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function J(F,B){for(var R={},N=F.l+B;F.l<N;){var z=F.read_shift(2);if(14e3==z){for(R[z]=[0,""],R[z][0]=F.read_shift(2);F[F.l];)R[z][1]+=String.fromCharCode(F[F.l]),F.l++;F.l++}}return R}},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:function ee(F,B){var R=b(F),N=F.read_shift(4);return R[1].v=N>>6,R}},38:{n:"??"},39:{n:"NUMBER27",f:te},40:{n:"FORMULA28",f:function K(F,B){var R=te(F);return F.l+=B-12,R}},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:oe},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function pe(F,B,R){if(R.qpro&&!(B<21)){var N=F.read_shift(1);return F.l+=17,F.l+=1,F.l+=2,[N,F.read_shift(B-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function n(F,B){var R=B||{};if(+R.codepage>=0&&yn(+R.codepage),"string"==R.type)throw new Error("Cannot write WK1 to JS string");var N=Zr(),z=rt(F["!ref"]),re=null!=F["!data"],ue=[];ce(N,0,function a(F){var B=G(2);return B.write_shift(2,F),B}(1030)),ce(N,6,function c(F){var B=G(8);return B.write_shift(2,F.s.c),B.write_shift(2,F.s.r),B.write_shift(2,F.e.c),B.write_shift(2,F.e.r),B}(z));for(var de=Math.min(z.e.r,8191),D=z.s.c;D<=z.e.c;++D)ue[D]=Ye(D);for(var Ie=z.s.r;Ie<=de;++Ie){var it=tt(Ie);for(D=z.s.c;D<=z.e.c;++D){var ge=re?(F["!data"][Ie]||[])[D]:F[ue[D]+it];ge&&"z"!=ge.t&&("n"==ge.t?(0|ge.v)==ge.v&&ge.v>=-32768&&ge.v<=32767?ce(N,13,p(Ie,D,ge.v)):ce(N,14,g(Ie,D,ge.v)):ce(N,15,f(Ie,D,si(ge).slice(0,239))))}}return ce(N,1),N.end()},book_to_wk3:function i(F,B){var R=B||{};if(+R.codepage>=0&&yn(+R.codepage),"string"==R.type)throw new Error("Cannot write WK3 to JS string");var N=Zr();ce(N,0,function s(F){var B=G(26);B.write_shift(2,4096),B.write_shift(2,4),B.write_shift(4,0);for(var R=0,N=0,z=0,re=0;re<F.SheetNames.length;++re){var de=F.Sheets[F.SheetNames[re]];if(de&&de["!ref"]){++z;var D=sr(de["!ref"]);R<D.e.r&&(R=D.e.r),N<D.e.c&&(N=D.e.c)}}return R>8191&&(R=8191),B.write_shift(2,R),B.write_shift(1,z),B.write_shift(1,N),B.write_shift(2,0),B.write_shift(2,0),B.write_shift(1,1),B.write_shift(1,2),B.write_shift(4,0),B.write_shift(4,0),B}(F));for(var z=0,re=0;z<F.SheetNames.length;++z)(F.Sheets[F.SheetNames[z]]||{})["!ref"]&&ce(N,27,Ee(F.SheetNames[z],re++));var ue=0;for(z=0;z<F.SheetNames.length;++z){var de=F.Sheets[F.SheetNames[z]];if(de&&de["!ref"]){for(var D=rt(de["!ref"]),Ie=null!=de["!data"],it=[],ge=Math.min(D.e.r,8191),Ze=D.s.r;Ze<=ge;++Ze)for(var It=tt(Ze),lt=D.s.c;lt<=D.e.c;++lt){Ze===D.s.r&&(it[lt]=Ye(lt));var fe=Ie?(de["!data"][Ze]||[])[lt]:de[it[lt]+It];fe&&"z"!=fe.t&&("n"==fe.t?ce(N,23,H(Ze,lt,ue,fe.v)):ce(N,22,M(Ze,lt,ue,si(fe).slice(0,239))))}++ue}}return ce(N,1),N.end()},to_workbook:function t(F,B){switch(B.type){case"base64":return r(Lr(cn(F)),B);case"binary":return r(Lr(F),B);case"buffer":case"array":return r(F,B)}throw"Unsupported type "+B.type}}}(),l8=function(){var e=$o("t"),t=$o("rPr");function r(a){var s=a.match(e);if(!s)return{t:"s",v:""};var o={t:"s",v:et(s[1])},c=a.match(t);return c&&(o.s=function c8(e){var t={},r=e.match(Dr),n=0,i=!1;if(r)for(;n!=r.length;++n){var a=_e(r[n]);switch(a[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!a.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==a.val)break;t.cp=ch[parseInt(a.val,10)];break;case"<outline":if(!a.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=a.val;break;case"<sz":t.sz=a.val;break;case"<strike":if(!a.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!a.val)break;switch(a.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==a.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==a.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":a.rgb&&(t.color=a.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=a.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=a.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==a[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+a[0])}}return t}(c[1])),o}var n=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(s){return s.replace(n,"").split(i).map(r).filter(function(o){return o.v})}}(),u8=function(){var t=/(\r\n|\n)/g;function n(i){var a=[[],i.v,[]];return i.v?(i.s&&function r(i,a,s){var o=[];i.u&&o.push("text-decoration: underline;"),i.uval&&o.push("text-underline-style:"+i.uval+";"),i.sz&&o.push("font-size:"+i.sz+"pt;"),i.outline&&o.push("text-effect: outline;"),i.shadow&&o.push("text-shadow: auto;"),a.push('<span style="'+o.join("")+'">'),i.b&&(a.push("<b>"),s.push("</b>")),i.i&&(a.push("<i>"),s.push("</i>")),i.strike&&(a.push("<s>"),s.push("</s>"));var c=i.valign||"";"superscript"==c||"super"==c?c="sup":"subscript"==c&&(c="sub"),""!=c&&(a.push("<"+c+">"),s.push("</"+c+">")),s.push("</span>")}(i.s,a[0],a[2]),a[0].join("")+a[1].replace(t,"<br/>")+a[2].join("")):""}return function(a){return a.map(n).join("")}}(),f8=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,d8=/<(?:\w+:)?r\b[^>]*>/,h8=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Yh(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=et(xt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),!0),n.r=xt(e),r&&(n.h=hu(n.t))):e.match(d8)&&(n.r=xt(e),n.t=et(xt((e.replace(h8,"").match(f8)||[]).join("").replace(Dr,"")),!0),r&&(n.h=u8(l8(n.r)))),n):{t:""}}var p8=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,g8=/<(?:\w+:)?(?:si|sstItem)>/g,m8=/<\/(?:\w+:)?(?:si|sstItem)>/;function R2(e){if(typeof Be<"u")return Be.utils.encode(_a,e);for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function Mi(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 C8(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},i=e.read_shift(4),a=[];i-- >0;)a.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=a,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function P2(e,t){var r=e.l+t,n={};n.Flags=63&e.read_shift(4),e.l+=4,n.AlgID=e.read_shift(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=36==n.Flags;break;case 26625:i=4==n.Flags;break;case 0:i=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)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 L2(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 M8(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4);return{t:"Std",h:P2(e,r),v:L2(e,e.length-e.l)}}function N8(){throw new Error("File is password-protected: ECMA-376 Extensible")}function O8(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(Dr,function(a){var s=_e(a);switch(Hn(s[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach(function(o){n[o]=s[o]});break;case"<dataIntegrity":n.encryptedHmacKey=s.encryptedHmacKey,n.encryptedHmacValue=s.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=s.uri;break;case"<encryptedKey":n.encs.push(s);break;default:throw s[0]}}),n}var B2=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],i=function(s,o){return function(s){return 255&(s/2|128*s)}(s^o)};return function(s){for(var o=R2(s),c=function(s){for(var o=t[s.length-1],c=104,l=s.length-1;l>=0;--l)for(var u=s[l],f=0;7!=f;++f)64&u&&(o^=r[c]),u*=2,--c;return o}(o),l=o.length,u=zi(16),f=0;16!=f;++f)u[f]=0;var p;for(1==(1&l)&&(u[l]=i(e[0],c>>8),u[--l]=i(o[o.length-1],255&c));l>0;)u[--l]=i(o[l],c>>8),u[--l]=i(o[l],255&c);for(l=15,p=15-o.length;p>0;)u[l]=i(e[p],c>>8),--p,u[--l]=i(o[l],255&c),--l,--p;return u}}();function ku(e,t){var r=t||{},n={},i=r.dense;i&&(n["!data"]=[]);var a=e.match(/\\trowd[\s\S]*?\\row\b/g);if(!a)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:a.length-1}},o=[];return a.forEach(function(c,l){i&&(o=n["!data"][l]=[]);for(var d,u=/\\[\w\-]+\b/g,f=0,h=-1,p=[];null!=(d=u.exec(c));){var m=c.slice(f,u.lastIndex-d[0].length);switch(32==m.charCodeAt(0)&&(m=m.slice(1)),m.length&&p.push(m),d[0]){case"\\cell":if(++h,p.length){var g={v:p.join(""),t:"s"};"TRUE"==g.v||"FALSE"==g.v?(g.v="TRUE"==g.v,g.t="b"):isNaN(ln(g.v))||(g.t="n",!1!==r.cellText&&(g.w=g.v),g.v=ln(g.v)),i?o[h]=g:n[qe({r:l,c:h})]=g}p=[];break;case"\\par":p.push("\n")}f=u.lastIndex}h>s.e.c&&(s.e.c=h)}),n["!ref"]=Le(s),n}function tc(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function Au(e,t){if(0===t)return e;var r=function z8(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(t,r,n),a=Math.min(t,r,n),s=i-a;if(0===s)return[0,0,t];var c,o=0,l=i+a;switch(c=s/(l>1?2-l:l),i){case t:o=((r-n)/s+6)%6;break;case r:o=(n-t)/s+2;break;case n:o=(t-r)/s+4}return[o/6,c,l/2]}(function G8(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)]}(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),tc(function X8(e){var c,r=e[1],n=e[2],i=2*r*(n<.5?n:1-n),a=n-i/2,s=[a,a,a],o=6*e[0];if(0!==r)switch(0|o){case 0:case 6:c=i*o,s[0]+=i,s[1]+=c;break;case 1:s[0]+=c=i*(2-o),s[1]+=i;break;case 2:c=i*(o-2),s[1]+=i,s[2]+=c;break;case 3:s[1]+=c=i*(4-o),s[2]+=i;break;case 4:c=i*(o-4),s[2]+=i,s[0]+=c;break;case 5:s[2]+=c=i*(6-o),s[0]+=i}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(r))}var U2=6,K8=15,Y8=1,Ar=U2;function rc(e){return Math.floor((e+Math.round(128/Ar)/256)*Ar)}function nc(e){return Math.floor((e-5)/Ar*100+.5)/100}function Fu(e){return Math.round((e*Ar+5)/Ar*256)/256}function Zh(e){return Fu(nc(rc(e)))}function Qh(e){var t=Math.abs(e-Zh(e)),r=Ar;if(t>.005)for(Ar=Y8;Ar<K8;++Ar)Math.abs(e-Zh(e))<=t&&(t=Math.abs(e-Zh(e)),r=Ar);Ar=r}function Qi(e){e.width?(e.wpx=rc(e.width),e.wch=nc(e.wpx),e.MDW=Ar):e.wpx?(e.wch=nc(e.wpx),e.width=Fu(e.wch),e.MDW=Ar):"number"==typeof e.wch&&(e.width=Fu(e.wch),e.wpx=rc(e.width),e.MDW=Ar),e.customWidth&&delete e.customWidth}var H2=96;function ic(e){return 96*e/H2}function Us(e){return e*H2/96}var Z8={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"},bu=["numFmtId","fillId","fontId","borderId","xfId"],Iu=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],aL=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,i=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,c,l){var f,u={};return o?((f=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(t))&&function tL(e,t,r){t.NumberFmt=[];for(var n=Ft(ke),i=0;i<n.length;++i)t.NumberFmt[n[i]]=ke[n[i]];var a=e[0].match(Dr);if(a)for(i=0;i<a.length;++i){var s=_e(a[i]);switch(Hn(s[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var o=et(xt(s.formatCode)),c=parseInt(s.numFmtId,10);if(t.NumberFmt[c]=o,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}Yi(o,c)}break;default:if(r.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}(f,u,l),(f=o.match(i))&&function eL(e,t,r,n){t.Fonts=[];var i={},a=!1;(e[0].match(Dr)||[]).forEach(function(s){var o=_e(s);switch(Hn(o[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":t.Fonts.push(i),i={};break;case"<name":o.val&&(i.name=xt(o.val));break;case"<b":i.bold=o.val?mt(o.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=o.val?mt(o.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(o.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=o.val?mt(o.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=o.val?mt(o.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=o.val?mt(o.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=o.val?mt(o.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=o.val?mt(o.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":o.val&&(i.sz=+o.val);break;case"<vertAlign":o.val&&(i.vertAlign=o.val);break;case"<family":o.val&&(i.family=parseInt(o.val,10));break;case"<scheme":o.val&&(i.scheme=o.val);break;case"<charset":if("1"==o.val)break;o.codepage=ch[parseInt(o.val,10)];break;case"<color":if(i.color||(i.color={}),o.auto&&(i.color.auto=mt(o.auto)),o.rgb)i.color.rgb=o.rgb.slice(-6);else if(o.indexed){i.color.index=parseInt(o.indexed,10);var c=Fa[i.color.index];81==i.color.index&&(c=Fa[1]),c||(c=Fa[1]),i.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else o.theme&&(i.color.theme=parseInt(o.theme,10),o.tint&&(i.color.tint=parseFloat(o.tint)),o.theme&&r.themeElements&&r.themeElements.clrScheme&&(i.color.rgb=Au(r.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+o[0]+" in fonts")}})}(f,u,c,l),(f=o.match(n))&&function J8(e,t,r,n){t.Fills=[];var i={},a=!1;(e[0].match(Dr)||[]).forEach(function(s){var o=_e(s);switch(Hn(o[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":t.Fills.push(i={});break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":o.patternType&&(i.patternType=o.patternType);break;case"<bgColor":i.bgColor||(i.bgColor={}),o.indexed&&(i.bgColor.indexed=parseInt(o.indexed,10)),o.theme&&(i.bgColor.theme=parseInt(o.theme,10)),o.tint&&(i.bgColor.tint=parseFloat(o.tint)),o.rgb&&(i.bgColor.rgb=o.rgb.slice(-6));break;case"<fgColor":i.fgColor||(i.fgColor={}),o.theme&&(i.fgColor.theme=parseInt(o.theme,10)),o.tint&&(i.fgColor.tint=parseFloat(o.tint)),null!=o.rgb&&(i.fgColor.rgb=o.rgb.slice(-6));break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+o[0]+" in fills")}})}(f,u,0,l),(f=o.match(a))&&function Q8(e,t,r,n){t.Borders=[];var i={},a=!1;(e[0].match(Dr)||[]).forEach(function(s){var o=_e(s);switch(Hn(o[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":i={},o.diagonalUp&&(i.diagonalUp=mt(o.diagonalUp)),o.diagonalDown&&(i.diagonalDown=mt(o.diagonalDown)),t.Borders.push(i);break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+o[0]+" in borders")}})}(f,u,0,l),(f=o.match(r))&&function nL(e,t,r){t.CellXf=[];var n,i=!1;(e[0].match(Dr)||[]).forEach(function(a){var s=_e(a),o=0;switch(Hn(s[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(n=s)[0],o=0;o<bu.length;++o)n[bu[o]]&&(n[bu[o]]=parseInt(n[bu[o]],10));for(o=0;o<Iu.length;++o)n[Iu[o]]&&(n[Iu[o]]=mt(n[Iu[o]]));if(t.NumberFmt&&n.numFmtId>392)for(o=392;o>60;--o)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[o]){n.numFmtId=o;break}t.CellXf.push(n);break;case"<alignment":case"<alignment/>":var c={};s.vertical&&(c.vertical=s.vertical),s.horizontal&&(c.horizontal=s.horizontal),null!=s.textRotation&&(c.textRotation=s.textRotation),s.indent&&(c.indent=s.indent),s.wrapText&&(c.wrapText=mt(s.wrapText)),n.alignment=c;break;case"<AlternateContent":case"<ext":i=!0;break;case"</AlternateContent>":case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+s[0]+" in cellXfs")}})}(f,u,l),u):u}}(),dL=Tr,pL=Tr,FL=["</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 bL(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Dr)||[]).forEach(function(i){var a=_e(i);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.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>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[FL.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}})}function IL(){}function ML(){}var NL=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,OL=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,RL=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/,LL=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function $2(e,t){(!e||0===e.length)&&(e=function ep(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[Vt];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="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',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="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',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("")}());var r,n={};if(!(r=e.match(LL)))throw new Error("themeElements not found in theme");return function PL(e,t,r){var n;t.themeElements={},[["clrScheme",NL,bL],["fontScheme",OL,IL],["fmtScheme",RL,ML]].forEach(function(i){if(!(n=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,t,r)})}(r[0],n,t),n.raw=e,n}function $L(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]=function HL(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function VL(e,t){return Tr(e,t)}(e,4);break;case 2:t.xclrValue=g2(e);break;case 3:t.xclrValue=function UL(e){return e.read_shift(4)}(e)}return e.l+=8,t}(e);break;case 6:n[1]=function jL(e,t){return Tr(e,t)}(e,r);break;case 14:case 15:n[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function GL(e,t){t.forEach(function(r){})}function G2(e,t,r,n){var a,i=null!=e["!data"];t.forEach(function(s){var o=pt(s.ref);if(!(o.r<0||o.c<0)){if(i?(e["!data"][o.r]||(e["!data"][o.r]=[]),a=e["!data"][o.r][o.c]):a=e[s.ref],!a){a={t:"z"},i?e["!data"][o.r][o.c]=a:e[s.ref]=a;var c=rt(e["!ref"]||"BDWGO1000001:A1");c.s.r>o.r&&(c.s.r=o.r),c.e.r<o.r&&(c.e.r=o.r),c.s.c>o.c&&(c.s.c=o.c),c.e.c<o.c&&(c.e.c=o.c);var l=Le(c);e["!ref"]=l}a.c||(a.c=[]);var u={a:s.author,t:s.t,r:s.r,T:r};s.h&&(u.h=s.h);for(var f=a.c.length-1;f>=0;--f){if(!r&&a.c[f].T)return;r&&!a.c[f].T&&a.c.splice(f,1)}if(r&&n)for(f=0;f<n.length;++f)if(u.a==n[f].id){u.a=n[f].name||u.a;break}a.c.push(u)}})}var x6=Sr,w6="application/vnd.ms-office.vbaProject",Ra=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,i,a,s){var o=!1,c=!1;0==a.length?c=!0:"["==a.charAt(0)&&(c=!0,a=a.slice(1,-1)),0==s.length?o=!0:"["==s.charAt(0)&&(o=!0,s=s.slice(1,-1));var l=a.length>0?0|parseInt(a,10):0,u=s.length>0?0|parseInt(s,10):0;return o?u+=t.c:--u,c?l+=t.r:--l,i+(o?"":"$")+Ye(u)+(c?"":"$")+tt(l)}return function(i,a){return t=a,i.replace(e,r)}}(),tp=/(^|[^._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,Mu=function(){return function(t,r){return t.replace(tp,function(n,i,a,s,o,c){var l=Fh(s)-(a?0:r.c),u=Ah(c)-(o?0:r.r);return i+"R"+("$"==o?u+1:0==u?"":"["+u+"]")+"C"+("$"==a?l+1:0==l?"":"["+l+"]")})}}();function z2(e,t){return e.replace(tp,function(r,n,i,a,s,o){return n+("$"==i?i+a:Ye(Fh(a)+t.c))+("$"==s?s+o:tt(Ah(o)+t.r))})}function F6(e,t,r){var i=sr(t).s,a=pt(r);return z2(e,{r:a.r-i.r,c:a.c-i.c})}function X2(e){return e.replace(/_xlfn\./g,"")}function Zt(e){e.l+=1}function Ji(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function K2(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Y2(e);12==r.biff&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),s=Ji(e,2),o=Ji(e,2);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function Y2(e){var t=Ji(e,2),r=Ji(e,2),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function q2(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function M6(e){var t=Ji(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e.read_shift(r&&12==r.biff?4:2),i=Ji(e,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function N6(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Z2(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function Q2(e){return[e.read_shift(1),e.read_shift(1)]}function c5(e,t){var r=[e.read_shift(1)];if(12==t)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}switch(r[0]){case 4:r[1]=jt(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Ii[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Cr(e);break;case 2:r[1]=Ma(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function l5(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),i=[],a=0;a!=n;++a)i.push((12==r.biff?ka:Su)(e,8));return i}function u5(e,t,r){var n=0,i=0;12==r.biff?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--i&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var o=0;o!=i;++o)s[a][o]=c5(e,r.biff);return s}function sc(e,t,r){return e.l+=2,[N6(e)]}function rp(e){return e.l+=6,[]}function J2(e){return e.l+=2,[$t(e),1&e.read_shift(2)]}var b5=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],eE={1:{n:"PtgExp",f:function r5(e,t,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Tr},3:{n:"PtgAdd",f:Zt},4:{n:"PtgSub",f:Zt},5:{n:"PtgMul",f:Zt},6:{n:"PtgDiv",f:Zt},7:{n:"PtgPower",f:Zt},8:{n:"PtgConcat",f:Zt},9:{n:"PtgLt",f:Zt},10:{n:"PtgLe",f:Zt},11:{n:"PtgEq",f:Zt},12:{n:"PtgGe",f:Zt},13:{n:"PtgGt",f:Zt},14:{n:"PtgNe",f:Zt},15:{n:"PtgIsect",f:Zt},16:{n:"PtgUnion",f:Zt},17:{n:"PtgRange",f:Zt},18:{n:"PtgUplus",f:Zt},19:{n:"PtgUminus",f:Zt},20:{n:"PtgPercent",f:Zt},21:{n:"PtgParen",f:Zt},22:{n:"PtgMissArg",f:Zt},23:{n:"PtgStr",f:function o5(e,t,r){return e.l++,Jo(e,0,r)}},26:{n:"PtgSheet",f:function N5(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function O5(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function n5(e){return e.l++,Ii[e.read_shift(1)]}},29:{n:"PtgBool",f:function a5(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function i5(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function s5(e){return e.l++,Cr(e)}},32:{n:"PtgArray",f:function V6(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function Q6(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(r&&r.biff<=3?1:2);return[dB[i],iE[i],n]}},34:{n:"PtgFuncVar",f:function J6(e,t,r){var n=e[e.l++],i=e.read_shift(1),a=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:function e5(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[i,(0===a[0]?iE:fB)[a[1]]]}},35:{n:"PtgName",f:function f5(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(!r||r.biff>=8?4:2);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,a]}},36:{n:"PtgRef",f:function Y6(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,q2(e,0,r)]}},37:{n:"PtgArea",f:function P6(e,t,r){return[(96&e[e.l++])>>5,K2(e,0,r)]}},38:{n:"PtgMemArea",f:function p5(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Tr},40:{n:"PtgMemNoMem",f:Tr},41:{n:"PtgMemFunc",f:function g5(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function m5(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function B6(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function q6(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var i=function O6(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function R6(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==i&&r>=128&&(r-=256),{r:t,c:r,cRel:i,rRel:n}}(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),s=(16384&a)>>14,o=(32768&a)>>15;if(a&=16383,1==o)for(;i>524287;)i-=1048576;if(1==s)for(;a>8191;)a-=16384;return{r:i,c:a,cRel:s,rRel:o}}(e,0,r);return[n,i]}},45:{n:"PtgAreaN",f:function H6(e,t,r){var n=(96&e[e.l++])>>5,i=function I6(e,t,r){if(r.biff<8)return Y2(e);var n=e.read_shift(12==r.biff?4:2),i=e.read_shift(12==r.biff?4:2),a=Ji(e,2),s=Ji(e,2);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}(e,0,r);return[n,i]}},46:{n:"PtgMemAreaN",f:function R5(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function P5(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function d5(e,t,r){return 5==r.biff?function h5(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]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function Z6(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[n,i,q2(e,0,r)]}},59:{n:"PtgArea3d",f:function L6(e,t,r){var n=(96&e[e.l++])>>5,i=e.read_shift(2,"i");if(r&&5===r.biff)e.l+=12;return[n,i,K2(e,0,r)]}},60:{n:"PtgRefErr3d",f:function x5(e,t,r){var n=(96&e[e.l++])>>5,i=e.read_shift(2),a=4;if(r)switch(r.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[n,i]}},61:{n:"PtgAreaErr3d",f:function U6(e,t,r){var n=(96&e[e.l++])>>5,i=e.read_shift(2),a=8;if(r)switch(r.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[n,i]}},255:{}},B5={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},U5={1:{n:"PtgElfLel",f:J2},2:{n:"PtgElfRw",f:sc},3:{n:"PtgElfCol",f:sc},6:{n:"PtgElfRwV",f:sc},7:{n:"PtgElfColV",f:sc},10:{n:"PtgElfRadical",f:sc},11:{n:"PtgElfRadicalS",f:rp},13:{n:"PtgElfColS",f:rp},15:{n:"PtgElfColSV",f:rp},16:{n:"PtgElfRadicalLel",f:J2},25:{n:"PtgList",f:function I5(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2);return{ixti:t,coltype:3&r,rt:b5[r>>2&31],idx:n,c:i,C:a}}},29:{n:"PtgSxName",f:function M5(e){return e.l+=2,[e.read_shift(4)]}},255:{}},H5={0:{n:"PtgAttrNoop",f:function L5(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function z6(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function W6(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function j6(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(r&&2==r.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function $6(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function t5(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Z2},33:{n:"PtgAttrBaxcel",f:Z2},64:{n:"PtgAttrSpace",f:function X6(e){return e.read_shift(2),Q2(e)}},65:{n:"PtgAttrSpaceSemi",f:function K6(e){return e.read_shift(2),Q2(e)}},128:{n:"PtgAttrIfError",f:function G6(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function oc(e,t,r,n){if(n.biff<8)return Tr(e,t);for(var i=e.l+t,a=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=u5(e,0,n),a.push(r[s][1]);break;case"PtgMemArea":r[s][2]=l5(e,0,n),a.push(r[s][2]);break;case"PtgExp":n&&12==n.biff&&(r[s][1][1]=e.read_shift(4),a.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return 0!=(t=i-e.l)&&a.push(Tr(e,t)),a}function cc(e,t,r){for(var i,a,n=e.l+t,s=[];n!=e.l;)t=n-e.l,i=eE[a=e[e.l]]||eE[B5[a]],(24===a||25===a)&&(i=(24===a?U5:H5)[e[e.l+1]]),i&&i.f?s.push([i.n,i.f(e,t,r)]):Tr(e,t);return s}function V5(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],i=[],a=0;a<n.length;++a){var s=n[a];i.push(s?2===s[0]?'"'+s[1].replace(/"/g,'""')+'"':s[1]:"")}t.push(i.join(","))}return t.join(";")}var j5={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function $5(e,t){var r=e.lastIndexOf("!"),n=t.lastIndexOf("!");return-1==r&&-1==n?e+":"+t:r>0&&n>0&&e.slice(0,r).toLowerCase()==t.slice(0,n).toLowerCase()?e+":"+t.slice(n+1):(console.error("Cannot hydrate range",e,t),e+":"+t)}function tE(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),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(e[n[0]][0]){case 357:return i=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function rE(e,t,r){var n=tE(e,t,r);return"#REF"==n?n:function Yo(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.replace(/'/g,"''")+"'":e}(n,r)}function Fr(e,t,r,n,i){var c,l,u,h,a=i&&i.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},o=[],f=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",x=0,_=e[0].length;x<_;++x){var v=e[0][x];switch(v[0]){case"PtgUminus":o.push("-"+o.pop());break;case"PtgUplus":o.push("+"+o.pop());break;case"PtgPercent":o.push(o.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(c=o.pop(),l=o.pop(),m>=0){switch(e[0][m][1][0]){case 0:g=ot(" ",e[0][m][1][1]);break;case 1:g=ot("\r",e[0][m][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}l+=g,m=-1}o.push(l+j5[v[0]]+c);break;case"PtgIsect":c=o.pop(),l=o.pop(),o.push(l+" "+c);break;case"PtgUnion":c=o.pop(),l=o.pop(),o.push(l+","+c);break;case"PtgRange":c=o.pop(),l=o.pop(),o.push($5(l,c));break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":u=zo(v[1][1],s,i),o.push(Xo(u,a));break;case"PtgRefN":u=r?zo(v[1][1],r,i):v[1][1],o.push(Xo(u,a));break;case"PtgRef3d":f=v[1][1],u=zo(v[1][2],s,i),p=rE(n,f,i),o.push(p+"!"+Xo(u,a));break;case"PtgFunc":case"PtgFuncVar":var P=v[1][0],b=v[1][1];P||(P=0);var w=0==(P&=127)?[]:o.slice(-P);o.length-=P,"User"===b&&(b=w.shift()),o.push(b+"("+w.join(",")+")");break;case"PtgBool":o.push(v[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":o.push(v[1]);break;case"PtgNum":o.push(String(v[1]));break;case"PtgStr":o.push('"'+v[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":h=Rw(v[1][1],r?{s:r}:s,i),o.push(kh(h,i));break;case"PtgArea":h=Rw(v[1][1],s,i),o.push(kh(h,i));break;case"PtgArea3d":h=v[1][2],p=rE(n,f=v[1][1],i),o.push(p+"!"+kh(h,i));break;case"PtgAttrSum":o.push("SUM("+o.pop()+")");break;case"PtgName":var M=(n.names||[])[(d=v[1][2])-1]||(n[0]||[])[d],I=M?M.Name:"SH33TJSNAME"+String(d);I&&"_xlfn."==I.slice(0,6)&&!i.xlfn&&(I=I.slice(6)),o.push(I);break;case"PtgNameX":var H,L=v[1][1];if(d=v[1][2],!(i.biff<=5)){var O="";if(14849==((n[L]||[])[0]||[])[0]||(1025==((n[L]||[])[0]||[])[0]?n[L][d]&&n[L][d].itab>0&&(O=n.SheetNames[n[L][d].itab-1]+"!"):O=n.SheetNames[d-1]+"!"),n[L]&&n[L][d])O+=n[L][d].Name;else if(n[0]&&n[0][d])O+=n[0][d].Name;else{var ee=(tE(n,L,i)||"").split(";;");ee[d-1]?O=ee[d-1]:O+="SH33TJSERRX"}o.push(O);break}L<0&&(L=-L),n[L]&&(H=n[L][d]),H||(H={Name:"SH33TJSERRY"}),o.push(H.Name);break;case"PtgParen":var te="(",K=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:te=ot(" ",e[0][m][1][1])+te;break;case 3:te=ot("\r",e[0][m][1][1])+te;break;case 4:K=ot(" ",e[0][m][1][1])+K;break;case 5:K=ot("\r",e[0][m][1][1])+K;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}o.push(te+o.pop()+K);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":o.push("#REF!");break;case"PtgExp":var oe={c:r.c,r:r.r};if(n.sharedf[qe(u={c:v[1][1],r:v[1][0]})]){var Z=n.sharedf[qe(u)];o.push(Fr(Z,0,oe,n,i))}else{var pe=!1;for(c=0;c!=n.arrayf.length;++c)if(!(u.c<(l=n.arrayf[c])[0].s.c||u.c>l[0].e.c||u.r<l[0].s.r||u.r>l[0].e.r)){o.push(Fr(l[1],0,oe,n,i)),pe=!0;break}pe||o.push(v[1])}break;case"PtgArray":o.push("{"+V5(v[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=x;break;case"PtgMissArg":o.push("");break;case"PtgList":o.push("Table"+v[1].idx+"[#"+v[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(v))}if(3!=i.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][x][0])){var Ee=!0;switch((v=e[0][m])[1][0]){case 4:Ee=!1;case 0:g=ot(" ",v[1][1]);break;case 5:Ee=!1;case 1:g=ot("\r",v[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+v[1][0])}o.push((Ee?g:"")+o.pop()+(Ee?"":g)),m=-1}}if(o.length>1&&i.WTF)throw new Error("bad formula stack");return"TRUE"==o[0]||"FALSE"!=o[0]&&o[0]}function W5(e,t,r){var a,n=e.l+t,i=2==r.biff?1:2,s=e.read_shift(i);if(65535==s)return[[],Tr(e,t-2)];var o=cc(e,s,r);return t!==s+i&&(a=oc(e,t-s-i,o,r)),e.l=n,[o,a]}function X5(e,t,r){var i,n=e.l+t,a=e.read_shift(2),s=cc(e,a,r);return 65535==a?[[],Tr(e,t-2)]:(t!==a+2&&(i=oc(e,n-a-2,s,r)),[s,i])}function np(e,t,r){var n=e.l+t,i=oi(e);2==r.biff&&++e.l;var a=function K5(e){var t;if(65535!==Fi(e,e.l+6))return[Cr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],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[]}(e),s=e.read_shift(1);2!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var o=function G5(e,t,r){var a,n=e.l+t,i=2==r.biff?1:2,s=e.read_shift(i);if(65535==s)return[[],Tr(e,t-2)];var o=cc(e,s,r);return t!==s+i&&(a=oc(e,t-s-i,o,r)),e.l=n,[o,a]}(e,n-e.l,r);return{cell:i,val:a[0],formula:o,shared:s>>3&1,tt:a[1]}}function Nu(e,t,r){var n=e.read_shift(4),i=cc(e,n,r),a=e.read_shift(4);return[i,a>0?oc(e,a,i,r):null]}var Z5=Nu,Ou=Nu,Q5=Nu,J5=Nu,fB={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"},iE={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"},dB={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 aE(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")})).replace(/\$'([^']|'')+'/g,function(t){return t.slice(1)})).replace(/\$([^\]\. #$]+)/g,function(t,r){return r.match(/^([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})?$/)?t:r})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function ip(e){var t=(e=(e=e.replace(/\$'([^']|'')+'/g,function(n){return n.slice(1)})).replace(/\$([^\]\. #$]+)/g,function(n,i){return i.match(/^([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})?$/)?n:i})).split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var lc={},Hs={};function Pa(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function oE(e,t,r,n,i,a){try{n.cellNF&&(e.z=ke[t])}catch(o){if(n.WTF)throw o}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=bt(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==ke[t]&&Yi(G3[t]||"General",t),"e"===e.t)e.w=e.w||Ii[e.v];else if(0===t)if("n"===e.t)e.w=(0|e.v)===e.v?e.v.toString(10):Uo(e.v);else if("d"===e.t){var s=Kt(e.v);e.w=(0|s)===s?s.toString(10):Uo(s)}else{if(void 0===e.v)return"";e.w=ya(e.v,Hs)}else e.w=Yr(t,"d"===e.t?Kt(e.v):e.v,Hs)}catch(o){if(n.WTF)throw o}if(n.cellStyles&&null!=r)try{e.s=a.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Au(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Au(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(n.WTF&&a.Fills)throw o}}}var mB=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,xB=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,vB=/<(?:\w:)?hyperlink [^>]*>/gm,_B=/"(\w*:\w*)"/,yB=/<(?:\w:)?col\b[^>]*[\/]?>/g,wB=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,EB=/<(?:\w:)?pageMargins[^>]*\/>/g,cE=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,DB=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,TB=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function sp(e,t,r,n){var i=_e(e);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=et(xt(i.codeName)))}var UB=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g,$B=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,a=$o("v"),s=$o("f");return function(c,l,u,f,d,h){for(var b,w,L,H,K,p=0,m="",g=[],x=[],_=0,v=0,S=0,P="",M=0,I=0,O=0,ee=0,te=Array.isArray(h.CellXf),oe=[],Z=[],pe=null!=l["!data"],J=[],Ee={},Y=!1,Ce=!!u.sheetStubs,Ue=c.split(t),F=0,B=Ue.length;F!=B;++F){var R=(m=Ue[F].trim()).length;if(0!==R){var N=0;e:for(p=0;p<R;++p)switch(m[p]){case">":if("/"!=m[p-1]){++p;break e}if(u&&u.cellStyles){if(M=null!=(w=_e(m.slice(N,p),!0)).r?parseInt(w.r,10):M+1,I=-1,u.sheetRows&&u.sheetRows<M)continue;Ee={},Y=!1,w.ht&&(Y=!0,Ee.hpt=parseFloat(w.ht),Ee.hpx=Us(Ee.hpt)),w.hidden&&mt(w.hidden)&&(Y=!0,Ee.hidden=!0),null!=w.outlineLevel&&(Y=!0,Ee.level=+w.outlineLevel),Y&&(J[M-1]=Ee)}break;case"<":N=p}if(N>=p)break;if(M=null!=(w=_e(m.slice(N,p),!0)).r?parseInt(w.r,10):M+1,I=-1,!(u.sheetRows&&u.sheetRows<M)){u.nodim||(f.s.r>M-1&&(f.s.r=M-1),f.e.r<M-1&&(f.e.r=M-1)),u&&u.cellStyles&&(Ee={},Y=!1,w.ht&&(Y=!0,Ee.hpt=parseFloat(w.ht),Ee.hpx=Us(Ee.hpt)),w.hidden&&mt(w.hidden)&&(Y=!0,Ee.hidden=!0),null!=w.outlineLevel&&(Y=!0,Ee.level=+w.outlineLevel),Y&&(J[M-1]=Ee)),g=m.slice(p).split(e);for(var z=0;z!=g.length&&"<"==g[z].trim().charAt(0);++z);for(g=g.slice(z),p=0;p!=g.length;++p)if(0!==(m=g[p].trim()).length){if(x=m.match(r),_=p,v=0,S=0,m="<c "+("<"==m.slice(0,1)?">":"")+m,null!=x&&2===x.length){for(_=0,P=x[1],v=0;v!=P.length&&!((S=P.charCodeAt(v)-64)<1||S>26);++v)_=26*_+S;I=--_}else++I;for(v=0;v!=m.length&&62!==m.charCodeAt(v);++v);if(++v,(w=_e(m.slice(0,v),!0)).r||(w.r=qe({r:M-1,c:I})),b={t:""},null!=(x=(P=m.slice(v)).match(a))&&""!==x[1]&&(b.v=et(x[1])),u.cellFormula){if(null!=(x=P.match(s))&&""!==x[1]){if(b.f=et(xt(x[1]),!0),u.xlfn||(b.f=X2(b.f)),x[0].indexOf('t="array"')>-1)b.F=(P.match(i)||[])[1],b.F.indexOf(":")>-1&&oe.push([rt(b.F),b.F]);else if(x[0].indexOf('t="shared"')>-1){H=_e(x[0]);var re=et(xt(x[1]));u.xlfn||(re=X2(re)),Z[parseInt(H.si,10)]=[H,re,w.r]}}else(x=P.match(/<f[^>]*\/>/))&&Z[(H=_e(x[0])).si]&&(b.f=F6(Z[H.si][1],Z[H.si][2],w.r));var ue=pt(w.r);for(v=0;v<oe.length;++v)ue.r>=oe[v][0].s.r&&ue.r<=oe[v][0].e.r&&ue.c>=oe[v][0].s.c&&ue.c<=oe[v][0].e.c&&(b.F=oe[v][1])}if(null==w.t&&void 0===b.v)if(b.f||b.F)b.v=0,b.t="n";else{if(!Ce)continue;b.t="z"}else b.t=w.t||"n";switch(f.s.c>I&&(f.s.c=I),f.e.c<I&&(f.e.c=I),b.t){case"n":if(""==b.v||null==b.v){if(!Ce)continue;b.t="z"}else b.v=parseFloat(b.v);break;case"s":if(typeof b.v>"u"){if(!Ce)continue;b.t="z"}else L=lc[parseInt(b.v,10)],b.v=L.t,b.r=L.r,u.cellHTML&&(b.h=L.h);break;case"str":b.t="s",b.v=null!=b.v?et(xt(b.v),!0):"",u.cellHTML&&(b.h=hu(b.v));break;case"inlineStr":x=P.match(n),b.t="s",null!=x&&(L=Yh(x[1]))?(b.v=L.t,u.cellHTML&&(b.h=L.h)):b.v="";break;case"b":b.v=mt(b.v);break;case"d":u.cellDates?b.v=bt(b.v,1):(b.v=Kt(bt(b.v,1)),b.t="n");break;case"e":(!u||!1!==u.cellText)&&(b.w=b.v),b.v=Bh[b.v]}if(O=ee=0,K=null,te&&void 0!==w.s&&null!=(K=h.CellXf[w.s])&&(null!=K.numFmtId&&(O=K.numFmtId),u.cellStyles&&null!=K.fillId&&(ee=K.fillId)),oE(b,O,ee,u,d,h),u.cellDates&&te&&"n"==b.t&&Ki(ke[O])&&(b.t="d",b.v=du(b.v)),w.cm&&u.xlmeta){var de=(u.xlmeta.Cell||[])[+w.cm-1];de&&"XLDAPR"==de.type&&(b.D=!0)}var D;u.nodim&&(D=pt(w.r),f.s.r>D.r&&(f.s.r=D.r),f.e.r<D.r&&(f.e.r=D.r)),pe?(D=pt(w.r),l["!data"][D.r]||(l["!data"][D.r]=[]),l["!data"][D.r][D.c]=b):l[w.r]=b}}}}J.length>0&&(l["!rows"]=J)}}(),YB=ka;function lE(e){return[Sa(e),Cr(e),"n"]}var M9=ka,uE=["left","right","top","bottom","header","footer"];var op=[["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"]],d7=[["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"]],h7=[],p7=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function fE(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],i=0;i!=t.length;++i){var a=t[i];if(null==n[a[0]])n[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof n[a[0]]&&(n[a[0]]=mt(n[a[0]]));break;case"int":"string"==typeof n[a[0]]&&(n[a[0]]=parseInt(n[a[0]],10))}}}function dE(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=mt(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function hE(e){dE(e.WBProps,op),dE(e.CalcPr,p7),fE(e.WBView,d7),fE(e.Sheets,h7),Hs.date1904=mt(e.WBProps.date1904)}var m7=":][*?/\\".split("");var v7=/<\w+:workbook/;function S7(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function B7(e,t,r,n,i,a,s,o){return".bin"===t.slice(-4)?function Y9(e,t,r,n,i,a,s){if(!e)return e;var o=t||{};n||(n={"!id":{}}),null!=Ht&&null==o.dense&&(o.dense=Ht);var c={};o.dense&&(c["!data"]=[]);var l,p,m,g,x,_,v,S,P,b,u={s:{r:2e6,c:2e6},e:{r:0,c:0}},f=[],d=!1,h=!1,w=[];o.biff=12,o["!row"]=0;var M=0,I=!1,L=[],H={},O=o.supbooks||i.supbooks||[[]];if(O.sharedf=H,O.arrayf=L,O.SheetNames=i.SheetNames||i.Sheets.map(function(Ee){return Ee.name}),!o.supbooks&&(o.supbooks=O,i.Names))for(var ee=0;ee<i.Names.length;++ee)O[0][ee+1]=i.Names[ee];var Z,pe,te=[],K=[],oe=!1;if(hc[16]={n:"BrtShortReal",f:lE},bi(e,function(Y,Ce,Ue){if(!h)switch(Ue){case 148:l=Y;break;case 0:p=Y,o.sheetRows&&o.sheetRows<=p.r&&(h=!0),P=tt(x=p.r),o["!row"]=p.r,(Y.hidden||Y.hpt||null!=Y.level)&&(Y.hpt&&(Y.hpx=Us(Y.hpt)),K[Y.r]=Y);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(m={t:Y[2]},Y[2]){case"n":m.v=Y[1];break;case"s":m.v=(S=lc[Y[1]]).t,m.r=S.r;break;case"b":m.v=!!Y[1];break;case"e":m.v=Y[1],!1!==o.cellText&&(m.w=Ii[m.v]);break;case"str":m.t="s",m.v=Y[1];break;case"is":m.t="s",m.v=Y[1].t}if((g=s.CellXf[Y[0].iStyleRef])&&oE(m,g.numFmtId,null,o,a,s),_=-1==Y[0].c?_+1:Y[0].c,o.dense?(c["!data"][x]||(c["!data"][x]=[]),c["!data"][x][_]=m):c[Ye(_)+P]=m,o.cellFormula){for(I=!1,M=0;M<L.length;++M){var F=L[M];p.r>=F[0].s.r&&p.r<=F[0].e.r&&_>=F[0].s.c&&_<=F[0].e.c&&(m.F=Le(F[0]),I=!0)}!I&&Y.length>3&&(m.f=Y[3])}if(u.s.r>p.r&&(u.s.r=p.r),u.s.c>_&&(u.s.c=_),u.e.r<p.r&&(u.e.r=p.r),u.e.c<_&&(u.e.c=_),o.cellDates&&g&&"n"==m.t&&Ki(ke[g.numFmtId])){var B=Xi(m.v);B&&(m.t="d",m.v=new Date(B.y,B.m-1,B.d,B.H,B.M,B.S,B.u))}Z&&("XLDAPR"==Z.type&&(m.D=!0),Z=void 0),pe&&(pe=void 0);break;case 1:case 12:if(!o.sheetStubs||d)break;m={t:"z",v:void 0},_=-1==Y[0].c?_+1:Y[0].c,o.dense?(c["!data"][x]||(c["!data"][x]=[]),c["!data"][x][_]=m):c[Ye(_)+P]=m,u.s.r>p.r&&(u.s.r=p.r),u.s.c>_&&(u.s.c=_),u.e.r<p.r&&(u.e.r=p.r),u.e.c<_&&(u.e.c=_),Z&&("XLDAPR"==Z.type&&(m.D=!0),Z=void 0),pe&&(pe=void 0);break;case 176:w.push(Y);break;case 49:Z=((o.xlmeta||{}).Cell||[])[Y-1];break;case 494:var R=n["!id"][Y.relId];for(R?(Y.Target=R.Target,Y.loc&&(Y.Target+="#"+Y.loc),Y.Rel=R):""==Y.relId&&(Y.Target="#"+Y.loc),x=Y.rfx.s.r;x<=Y.rfx.e.r;++x)for(_=Y.rfx.s.c;_<=Y.rfx.e.c;++_)o.dense?(c["!data"][x]||(c["!data"][x]=[]),c["!data"][x][_]||(c["!data"][x][_]={t:"z",v:void 0}),c["!data"][x][_].l=Y):(v=Ye(_)+tt(x),c[v]||(c[v]={t:"z",v:void 0}),c[v].l=Y);break;case 426:if(!o.cellFormula)break;L.push(Y),(b=o.dense?c["!data"][x][_]:c[Ye(_)+P]).f=Fr(Y[1],0,{r:p.r,c:_},O,o),b.F=Le(Y[0]);break;case 427:if(!o.cellFormula)break;H[qe(Y[0].s)]=Y[1],(b=o.dense?c["!data"][x][_]:c[Ye(_)+P]).f=Fr(Y[1],0,{r:p.r,c:_},O,o);break;case 60:if(!o.cellStyles)break;for(;Y.e>=Y.s;)te[Y.e--]={width:Y.w/256,hidden:!!(1&Y.flags),level:Y.level},oe||(oe=!0,Qh(Y.w/256)),Qi(te[Y.e+1]);break;case 161:c["!autofilter"]={ref:Le(Y)};break;case 476:c["!margins"]=Y;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),Y.name&&(i.Sheets[r].CodeName=Y.name),(Y.above||Y.left)&&(c["!outline"]={above:Y.above,left:Y.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),Y.RTL&&(i.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151: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:d=!0;break;case 36:d=!1;break;case 37:f.push(Ue),d=!0;break;case 38:f.pop(),d=!1;break;default:if(!Ce.T&&(!d||o.WTF))throw new Error("Unexpected record 0x"+Ue.toString(16))}},o),delete o.supbooks,delete o["!row"],!c["!ref"]&&(u.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(c["!ref"]=Le(l||u)),o.sheetRows&&c["!ref"]){var J=rt(c["!ref"]);o.sheetRows<=+J.e.r&&(J.e.r=o.sheetRows-1,J.e.r>u.e.r&&(J.e.r=u.e.r),J.e.r<J.s.r&&(J.s.r=J.e.r),J.e.c>u.e.c&&(J.e.c=u.e.c),J.e.c<J.s.c&&(J.s.c=J.e.c),c["!fullref"]=c["!ref"],c["!ref"]=Le(J))}return w.length>0&&(c["!merges"]=w),te.length>0&&(c["!cols"]=te),K.length>0&&(c["!rows"]=K),c}(e,n,r,i,a,s,o):function SB(e,t,r,n,i,a,s){if(!e)return e;n||(n={"!id":{}}),null!=Ht&&null==t.dense&&(t.dense=Ht);var o={};t.dense&&(o["!data"]=[]);var c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(xB);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var d=l.match(cE);d?sp(d[0],0,i,r):(d=l.match(DB))&&function kB(e,t,r,n,i){sp(e.slice(0,e.indexOf(">")),0,n,i)}(d[0],0,0,i,r);var h=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(h>0){var p=l.slice(h,h+50).match(_B);p&&(!t||!t.nodim)&&function gB(e,t){var r=rt(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=Le(r))}(o,p[1])}var m=l.match(TB);m&&m[1]&&function HB(e,t){t.Views||(t.Views=[{}]),(e.match(UB)||[]).forEach(function(r,n){var i=_e(r);t.Views[n]||(t.Views[n]={}),+i.zoomScale&&(t.Views[n].zoom=+i.zoomScale),i.rightToLeft&&mt(i.rightToLeft)&&(t.Views[n].RTL=!0)})}(m[1],i);var g=[];if(t.cellStyles){var x=l.match(yB);x&&function RB(e,t){for(var r=!1,n=0;n!=t.length;++n){var i=_e(t[n],!0);i.hidden&&(i.hidden=mt(i.hidden));var a=parseInt(i.min,10)-1,s=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,Qh(i.width)),Qi(i);a<=s;)e[a++]=gt(i)}}(g,x)}f&&$B(f[1],o,t,c,a,s);var _=u.match(wB);_&&(o["!autofilter"]=function LB(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(_[0]));var v=[],S=u.match(mB);if(S)for(h=0;h!=S.length;++h)v[h]=rt(S[h].slice(S[h].indexOf('"')+1));var P=u.match(vB);P&&function MB(e,t,r){for(var n=null!=e["!data"],i=0;i!=t.length;++i){var a=_e(xt(t[i]),!0);if(!a.ref)return;var s=((r||{})["!id"]||[])[a.id];s?(a.Target=s.Target,a.location&&(a.Target+="#"+et(a.location))):(a.Target="#"+et(a.location),s={Target:a.Target,TargetMode:"Internal"}),a.Rel=s,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var o=rt(a.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var u=Ye(l)+tt(c);n?(e["!data"][c]||(e["!data"][c]=[]),e["!data"][c][l]||(e["!data"][c][l]={t:"z",v:void 0}),e["!data"][c][l].l=a):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=a)}}}(o,P,n);var b=u.match(EB);if(b&&(o["!margins"]=function NB(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}(_e(b[0]))),t&&t.nodim&&(c.s.c=c.s.r=0),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=Le(c)),t.sheetRows>0&&o["!ref"]){var w=rt(o["!ref"]);t.sheetRows<=+w.e.r&&(w.e.r=t.sheetRows-1,w.e.r>c.e.r&&(w.e.r=c.e.r),w.e.r<w.s.r&&(w.s.r=w.e.r),w.e.c>c.e.c&&(w.e.c=c.e.c),w.e.c<w.s.c&&(w.s.c=w.e.c),o["!fullref"]=o["!ref"],o["!ref"]=Le(w))}return g.length>0&&(o["!cols"]=g),v.length>0&&(o["!merges"]=v),o}(e,n,r,i,a,s,o)}var fc,mE=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,xE=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function jn(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),1===r.length)return n;var a,s,c,i=e.match(mE);if(i)for(c=0;c!=i.length;++c)-1===(s=(a=i[c].match(xE))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(s+1)]=a[2].slice(1,a[2].length-1);return n}function K7(e){var r={};if(1===e.split(/\s+/).length)return r;var i,a,o,n=e.match(mE);if(n)for(o=0;o!=n.length;++o)-1===(a=(i=n[o].match(xE))[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):r["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(a+1)]=i[2].slice(1,i[2].length-1);return r}function q7(e,t,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=mt(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=bt(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[et(t)]=i}function Q7(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Z8[n.Pattern]||n.Pattern)}e[t.ID]=t}function J7(e,t,r,n,i,a,s,o,c,l){var u="General",f=n.StyleID,d={};l=l||{};var h=[],p=0;for(void 0===f&&o&&(f=o.StyleID),void 0===f&&s&&(f=s.StyleID);void 0!==a[f]&&(a[f].nf&&(u=a[f].nf),a[f].Interior&&h.push(a[f].Interior),a[f].Parent);)f=a[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=mt(e);break;case"String":n.t="s",n.r=gw(et(e)),n.v=e.indexOf("<")>-1?et(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(bt(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=et(e):n.v<60&&(n.v=n.v-1),(!u||"General"==u)&&(u="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Bh[e],!1!==l.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=gw(t||e))}if(function Z7(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{e.w="e"===e.t?e.w||Ii[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.v.toString(10):Uo(e.v):ya(e.v):function Y7(e,t){var r=fc[e]||et(e);return"General"===r?ya(t):Yr(r,t)}(t||"General",e.v)}catch(a){if(r.WTF)throw a}try{var n=fc[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&Ki(n)){var i=Xi(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(a){if(r.WTF)throw a}}}(n,u,l),!1!==l.cellFormula)if(n.Formula){var m=et(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=Ra(m,i),delete n.Formula,"RC"==n.ArrayRange?n.F=Ra("RC:RC",i):n.ArrayRange&&(n.F=Ra(n.ArrayRange,i),c.push([rt(n.F),n.F]))}else for(p=0;p<c.length;++p)i.r>=c[p][0].s.r&&i.r<=c[p][0].e.r&&i.c>=c[p][0].s.c&&i.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(h.forEach(function(g){!d.patternType&&g.patternType&&(d.patternType=g.patternType)}),n.s=d),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function eU(e){return Uh.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}function tU(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function cp(e,t){var r=t||{};Is();var n=As(gu(e));("binary"==r.type||"array"==r.type||"base64"==r.type)&&(n=typeof Be<"u"?Be.utils.decode(65001,iu(n)):xt(n));var i=n.slice(0,1024).toLowerCase(),a=!1;if((1023&(i=i.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&i.indexOf(","),1023&i.indexOf(";"))){var s=gt(r);return s.type="string",Bs.to_workbook(n,s)}if(-1==i.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach(function(lt){i.indexOf("<"+lt)>=0&&(a=!0)}),a)return function LU(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length){var n=qi(yE(r[0],t),t);return n.bookType="html",n}var i={SheetNames:[],Sheets:{}};return r.forEach(function(a,s){Wu(i,yE(a,t),"Sheet"+(s+1))}),i.bookType="html",i}(n,r);fc={"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 o,l,c=[];null!=Ht&&null==r.dense&&(r.dense=Ht);var u={},f=[],d={},h="";r.dense&&(d["!data"]=[]);var Z,p={},m={},g=jn('<Data ss:Type="String">'),x=0,_=0,v=0,S={s:{r:2e6,c:2e6},e:{r:0,c:0}},P={},b={},w="",M=0,I=[],L={},H={},O=0,ee=[],te=[],K={},oe=[],pe=!1,J=[],Ee=[],Y={},Ce=0,Ue=0,F={Sheets:[],WBProps:{date1904:!1}},B={};qt.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var R="";o=qt.exec(n);)switch(o[3]=(R=o[3]).toLowerCase()){case"data":if("data"==R){if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&c.push([o[3],!0]);break}if(c[c.length-1][1])break;"/"===o[1]?J7(n.slice(x,o.index),w,g,"comment"==c[c.length-1][0]?K:p,{c:_,r:v},P,oe[_],m,J,r):(w="",g=jn(o[0]),x=o.index+o[0].length);break;case"cell":if("/"===o[1])if(te.length>0&&(p.c=te),(!r.sheetRows||r.sheetRows>v)&&void 0!==p.v&&(r.dense?(d["!data"][v]||(d["!data"][v]=[]),d["!data"][v][_]=p):d[Ye(_)+tt(v)]=p),p.HRef&&(p.l={Target:et(p.HRef)},p.HRefScreenTip&&(p.l.Tooltip=p.HRefScreenTip),delete p.HRef,delete p.HRefScreenTip),(p.MergeAcross||p.MergeDown)&&(Ce=_+(0|parseInt(p.MergeAcross,10)),Ue=v+(0|parseInt(p.MergeDown,10)),(Ce>_||Ue>v)&&I.push({s:{c:_,r:v},e:{c:Ce,r:Ue}})),r.sheetStubs)if(p.MergeAcross||p.MergeDown){for(var N=_;N<=Ce;++N)for(var z=v;z<=Ue;++z)(N>_||z>v)&&(r.dense?(d["!data"][z]||(d["!data"][z]=[]),d["!data"][z][N]={t:"z"}):d[Ye(N)+tt(z)]={t:"z"});_=Ce+1}else++_;else p.MergeAcross?_=Ce+1:++_;else(p=K7(o[0])).Index&&(_=+p.Index-1),_<S.s.c&&(S.s.c=_),_>S.e.c&&(S.e.c=_),"/>"===o[0].slice(-2)&&++_,te=[];break;case"row":"/"===o[1]||"/>"===o[0].slice(-2)?(v<S.s.r&&(S.s.r=v),v>S.e.r&&(S.e.r=v),"/>"===o[0].slice(-2)&&(m=jn(o[0])).Index&&(v=+m.Index-1),_=0,++v):((m=jn(o[0])).Index&&(v=+m.Index-1),Y={},("0"==m.AutoFitHeight||m.Height)&&(Y.hpx=parseInt(m.Height,10),Y.hpt=ic(Y.hpx),Ee[v]=Y),"1"==m.Hidden&&(Y.hidden=!0,Ee[v]=Y));break;case"worksheet":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"));f.push(h),S.s.r<=S.e.r&&S.s.c<=S.e.c&&(d["!ref"]=Le(S),r.sheetRows&&r.sheetRows<=S.e.r&&(d["!fullref"]=d["!ref"],S.e.r=r.sheetRows-1,d["!ref"]=Le(S))),I.length&&(d["!merges"]=I),oe.length>0&&(d["!cols"]=oe),Ee.length>0&&(d["!rows"]=Ee),u[h]=d}else S={s:{r:2e6,c:2e6},e:{r:0,c:0}},v=_=0,c.push([o[3],!1]),l=jn(o[0]),h=et(l.Name),d={},r.dense&&(d["!data"]=[]),I=[],J=[],Ee=[],F.Sheets.push(B={name:h,Hidden:0});break;case"table":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==o[0].slice(-2))break;c.push([o[3],!1]),oe=[],pe=!1}break;case"style":"/"===o[1]?Q7(P,b,r):b=jn(o[0]);break;case"numberformat":b.nf=et(jn(o[0]).Format||"General"),fc[b.nf]&&(b.nf=fc[b.nf]);for(var re=0;392!=re&&ke[re]!=b.nf;++re);if(392==re)for(re=57;392!=re;++re)if(null==ke[re]){Yi(b.nf,re);break}break;case"column":if("table"!==c[c.length-1][0]||"/"===o[1])break;if((Z=jn(o[0])).Hidden&&(Z.hidden=!0,delete Z.Hidden),Z.Width&&(Z.wpx=parseInt(Z.Width,10)),!pe&&Z.wpx>10){pe=!0,Ar=U2;for(var ue=0;ue<oe.length;++ue)oe[ue]&&Qi(oe[ue])}pe&&Qi(Z),oe[Z.Index-1||oe.length]=Z;for(var de=0;de<+Z.Span;++de)oe[oe.length]=gt(Z);break;case"namedrange":if("/"===o[1])break;F.Names||(F.Names=[]);var D=_e(o[0]),Ie={Name:eU(D.Name),Ref:Ra(D.RefersTo.slice(1),{r:0,c:0})};F.Sheets.length>0&&(Ie.Sheet=F.Sheets.length-1),F.Names.push(Ie);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===o[0].slice(-2))break;"/"===o[1]?w+=n.slice(M,o.index):M=o.index+o[0].length;break;case"interior":if(!r.cellStyles)break;b.Interior=jn(o[0]);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("/>"===o[0].slice(-2))break;"/"===o[1]?lR(L,R,n.slice(O,o.index)):O=o.index+o[0].length;break;case"styles":case"workbook":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else c.push([o[3],!1]);break;case"comment":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"));tU(K),te.push(K)}else c.push([o[3],!1]),K={a:(l=jn(o[0])).Author};break;case"autofilter":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==o[0].charAt(o[0].length-2)){var it=jn(o[0]);d["!autofilter"]={ref:Ra(it.Range).replace(/\$/g,"")},c.push([o[3],!0])}break;case"datavalidation":if("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&c.push([o[3],!0]);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("/"===o[1]){if((l=c.pop())[0]!==o[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&c.push([o[3],!0]);break;default:if(0==c.length&&"document"==o[3]||0==c.length&&"uof"==o[3])return ME(n,r);var ge=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:ge=!1}break;case"componentoptions":switch(o[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:ge=!1}break;case"excelworkbook":switch(o[3]){case"date1904":F.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:ge=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":case"height":case"width":break;default:ge=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if("/>"!==o[0].slice(-2))if("/"===o[1])switch(n.slice(O,o.index)){case"SheetHidden":B.Hidden=1;break;case"SheetVeryHidden":B.Hidden=2}else O=o.index+o[0].length;break;case"header":d["!margins"]||Pa(d["!margins"]={},"xlml"),isNaN(+_e(o[0]).Margin)||(d["!margins"].header=+_e(o[0]).Margin);break;case"footer":d["!margins"]||Pa(d["!margins"]={},"xlml"),isNaN(+_e(o[0]).Margin)||(d["!margins"].footer=+_e(o[0]).Margin);break;case"pagemargins":var Ze=_e(o[0]);d["!margins"]||Pa(d["!margins"]={},"xlml"),isNaN(+Ze.Top)||(d["!margins"].top=+Ze.Top),isNaN(+Ze.Left)||(d["!margins"].left=+Ze.Left),isNaN(+Ze.Right)||(d["!margins"].right=+Ze.Right),isNaN(+Ze.Bottom)||(d["!margins"].bottom=+Ze.Bottom);break;case"displayrighttoleft":F.Views||(F.Views=[]),F.Views[0]||(F.Views[0]={}),F.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;default:ge=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:ge=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:ge=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:ge=!1}break;case"querytable":switch(o[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:ge=!1}break;case"datavalidation":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:ge=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:ge=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:ge=!1}break;case"smarttags":break;default:ge=!1}if(ge||o[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===o[0].slice(-2))break;"/"===o[1]?q7(H,R,ee,n.slice(O,o.index)):(ee=o,O=o.index+o[0].length);break}if(r.WTF)throw"Unrecognized tag: "+o[3]+"|"+c.join("|")}var It={};return!r.bookSheets&&!r.bookProps&&(It.Sheets=u),It.SheetNames=f,It.Workbook=F,It.SSF=gt(ke),It.Props=L,It.Custprops=H,It.bookType="xlml",It}function lp(e,t){switch(pp(t=t||{}),t.type||"base64"){case"base64":return cp(cn(e),t);case"binary":case"buffer":case"file":return cp(e,t);case"array":return cp(ni(e),t)}}var gU=[60,1084,2066,2165,2175];function mU(e,t,r,n,i){var a=n,s=[],o=r.slice(r.l,r.l+a);if(i&&i.enc&&i.enc.insitu&&o.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:case 133:break;default:i.enc.insitu(o)}s.push(o),r.l+=a;for(var c=Fi(r,r.l),l=fp[c],u=0;null!=l&&gU.indexOf(c)>-1;)a=Fi(r,r.l+2),u=r.l+4,2066==c?u+=4:(2165==c||2175==c)&&(u+=12),o=r.slice(u,r.l+4+a),s.push(o),r.l+=4+a,l=fp[c=Fi(r,r.l)];var f=Xt(s);ar(f,0);var d=0;f.lens=[];for(var h=0;h<s.length;++h)f.lens.push(d),d+=s[h].length;if(f.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+f.length+" < "+n;return t.f(f,f.length,i)}function ci(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=ke[n])}catch(a){if(t.WTF)throw a}if(!t||!1!==t.cellText)try{e.w="e"===e.t?e.w||Ii[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.v.toString(10):Uo(e.v):ya(e.v):Yr(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(a){if(t.WTF)throw a}if(t.cellDates&&n&&"n"==e.t&&Ki(ke[n]||String(n))){var i=Xi(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Pu(e,t,r){return{v:e,ixfe:t,t:r}}var dc={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function up(e,t){var r,n,i,a;if(t||(t={}),pp(t),nu(),t.codepage&&ru(t.codepage),e.FullPaths){if(Te.find(e,"/encryption"))throw new Error("File is password-protected");r=Te.find(e,"!CompObj"),n=Te.find(e,"/Workbook")||Te.find(e,"/Book")}else{switch(t.type){case"base64":e=Lr(cn(e));break;case"binary":e=Lr(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}ar(e,0),n={content:e}}if(r&&function pU(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function $O(e){return Vw(e,1)}(r),r.length-r.l<=4)return t;var n=r.read_shift(4);if(0==n||n>40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||1907505652!==(n=r.read_shift(4))||(t.UnicodeClipboardFormat=function WO(e){return Vw(e,2)}(r),0==(n=r.read_shift(4))||n>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}(r),t.bookProps&&!t.bookSheets)i={};else{var s=Ke?"buffer":"array";if(n&&n.content)i=function xU(e,t){var r={opts:{}},n={};null!=Ht&&null==t.dense&&(t.dense=Ht);var i={};t.dense&&(i["!data"]=[]);var f,h,m,g,v,S,a={},s={},o=null,c=[],l="",u={},d="",x={},_=[],P=[],b=[],w={Sheets:[],WBProps:{date1904:!1},Views:[{}]},M={},I=function(Qe){return Qe<8?Fa[Qe]:Qe<64&&b[Qe-8]||Fa[Qe]},H=function(Qe,Wt,An){if(!(Y>1||An.sheetRows&&Qe.r>=An.sheetRows)){if(An.cellStyles&&Wt.XF&&Wt.XF.data&&function(Qe,Wt,An){var Ua,lr=Wt.XF.data;lr&&lr.patternType&&An&&An.cellStyles&&(Wt.s={},Wt.s.patternType=lr.patternType,(Ua=tc(I(lr.icvFore)))&&(Wt.s.fgColor={rgb:Ua}),(Ua=tc(I(lr.icvBack)))&&(Wt.s.bgColor={rgb:Ua}))}(0,Wt,An),delete Wt.ixfe,delete Wt.XF,f=Qe,d=qe(Qe),(!s||!s.s||!s.e)&&(s={s:{r:0,c:0},e:{r:0,c:0}}),Qe.r<s.s.r&&(s.s.r=Qe.r),Qe.c<s.s.c&&(s.s.c=Qe.c),Qe.r+1>s.e.r&&(s.e.r=Qe.r+1),Qe.c+1>s.e.c&&(s.e.c=Qe.c+1),An.cellFormula&&Wt.f)for(var lr=0;lr<_.length;++lr)if(!(_[lr][0].s.c>Qe.c||_[lr][0].s.r>Qe.r||_[lr][0].e.c<Qe.c||_[lr][0].e.r<Qe.r)){Wt.F=Le(_[lr][0]),(_[lr][0].s.c!=Qe.c||_[lr][0].s.r!=Qe.r)&&delete Wt.f,Wt.f&&(Wt.f=""+Fr(_[lr][1],0,Qe,J,O));break}An.dense?(i["!data"][Qe.r]||(i["!data"][Qe.r]=[]),i["!data"][Qe.r][Qe.c]=Wt):i[d]=Wt}},O={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:_,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(O.password=t.password);var ee,te=[],K=[],oe=[],Z=[],pe=!1,J=[];J.SheetNames=O.snames,J.sharedf=O.sharedf,J.arrayf=O.arrayf,J.names=[],J.XTI=[];var B,Ee=0,Y=0,Ce=0,Ue=[],F=[];O.codepage=1200,yn(1200);for(var R=!1;e.l<e.length-1;){var N=e.l,z=e.read_shift(2);if(0===z&&10===Ee)break;var re=e.l===e.length?0:e.read_shift(2),ue=fp[z];if(0==Y&&-1==[9,521,1033,2057].indexOf(z))break;if(ue&&ue.f){if(t.bookSheets&&133===Ee&&133!==z)break;if(Ee=z,2===ue.r||12==ue.r){var de=e.read_shift(2);if(re-=2,!O.enc&&de!==z&&((255&de)<<8|de>>8)!==z)throw new Error("rt mismatch: "+de+"!="+z);12==ue.r&&(e.l+=10,re-=10)}var D={};if(D=10===z?ue.f(e,re,O):mU(z,ue,e,re,O),0==Y&&-1===[9,521,1033,2057].indexOf(Ee))continue;switch(z){case 34:r.opts.Date1904=w.WBProps.date1904=D;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(O.enc||(e.l=0),O.enc=D,!t.password)throw new Error("File is password-protected");if(null==D.valid)throw new Error("Encryption scheme unsupported");if(!D.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=D;break;case 66:var Ie=Number(D);switch(Ie){case 21010:Ie=1200;break;case 32768:Ie=1e4;break;case 32769:Ie=1252}yn(O.codepage=Ie),R=!0;break;case 317:O.rrtabid=D;break;case 25:O.winlocked=D;break;case 439:r.opts.RefreshAll=D;break;case 12:r.opts.CalcCount=D;break;case 16:r.opts.CalcDelta=D;break;case 17:r.opts.CalcIter=D;break;case 13:r.opts.CalcMode=D;break;case 14:r.opts.CalcPrecision=D;break;case 95:r.opts.CalcSaveRecalc=D;break;case 15:O.CalcRefMode=D;break;case 2211:r.opts.FullCalc=D;break;case 129:D.fDialog&&(i["!type"]="dialog"),D.fBelow||((i["!outline"]||(i["!outline"]={})).above=!0),D.fRight||((i["!outline"]||(i["!outline"]={})).left=!0);break;case 224:P.push(D);break;case 430:J.push([D]),J[J.length-1].XTI=[];break;case 35:case 547:J[J.length-1].push(D);break;case 24:case 536:B={Name:D.Name,Ref:Fr(D.rgce,0,null,J,O)},D.itab>0&&(B.Sheet=D.itab-1),J.names.push(B),J[0]||(J[0]=[],J[0].XTI=[]),J[J.length-1].push(D),"_xlnm._FilterDatabase"==D.Name&&D.itab>0&&D.rgce&&D.rgce[0]&&D.rgce[0][0]&&"PtgArea3d"==D.rgce[0][0][0]&&(F[D.itab-1]={ref:Le(D.rgce[0][0][1][2])});break;case 22:O.ExternCount=D;break;case 23:0==J.length&&(J[0]=[],J[0].XTI=[]),J[J.length-1].XTI=J[J.length-1].XTI.concat(D),J.XTI=J.XTI.concat(D);break;case 2196:if(O.biff<8)break;null!=B&&(B.Comment=D[1]);break;case 18:i["!protect"]=D;break;case 19:0!==D&&O.WTF&&console.error("Password verifier: "+D);break;case 133:a[D.pos]=D,O.snames.push(D.name);break;case 10:if(--Y)break;if(s.e){if(s.e.r>0&&s.e.c>0){if(s.e.r--,s.e.c--,i["!ref"]=Le(s),t.sheetRows&&t.sheetRows<=s.e.r){var it=s.e.r;s.e.r=t.sheetRows-1,i["!fullref"]=i["!ref"],i["!ref"]=Le(s),s.e.r=it}s.e.r++,s.e.c++}te.length>0&&(i["!merges"]=te),K.length>0&&(i["!objects"]=K),oe.length>0&&(i["!cols"]=oe),Z.length>0&&(i["!rows"]=Z),w.Sheets.push(M)}""===l?u=i:n[l]=i,i={},t.dense&&(i["!data"]=[]);break;case 9:case 521:case 1033:case 2057:if(8===O.biff&&(O.biff={9:2,521:3,1033:4}[z]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[D.BIFFVer]||8),O.biffguess=0==D.BIFFVer,0==D.BIFFVer&&4096==D.dt&&(O.biff=5,R=!0,yn(O.codepage=28591)),8==O.biff&&0==D.BIFFVer&&16==D.dt&&(O.biff=2),Y++)break;if(i={},t.dense&&(i["!data"]=[]),O.biff<8&&!R&&(R=!0,yn(O.codepage=t.codepage||1252)),O.biff<5||0==D.BIFFVer&&4096==D.dt){""===l&&(l="Sheet1"),s={s:{r:0,c:0},e:{r:0,c:0}};var ge={pos:e.l-re,name:l};a[ge.pos]=ge,O.snames.push(l)}else l=(a[N]||{name:""}).name;32==D.dt&&(i["!type"]="chart"),64==D.dt&&(i["!type"]="macro"),te=[],K=[],O.arrayf=_=[],oe=[],Z=[],pe=!1,M={Hidden:(a[N]||{hs:0}).hs,name:l};break;case 515:case 3:case 2:"chart"==i["!type"]&&(t.dense?(i["!data"][D.r]||[])[D.c]:i[Ye(D.c)+tt(D.r)])&&++D.c,v={ixfe:D.ixfe,XF:P[D.ixfe]||{},v:D.val,t:"n"},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t);break;case 5:case 517:v={ixfe:D.ixfe,XF:P[D.ixfe],v:D.val,t:D.t},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t);break;case 638:v={ixfe:D.ixfe,XF:P[D.ixfe],v:D.rknum,t:"n"},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t);break;case 189:for(var Ze=D.c;Ze<=D.C;++Ze){var It=D.rkrec[Ze-D.c][0];v={ixfe:It,XF:P[It],v:D.rkrec[Ze-D.c][1],t:"n"},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:Ze,r:D.r},v,t)}break;case 6:case 518:case 1030:if("String"==D.val){o=D;break}if((v=Pu(D.val,D.cell.ixfe,D.tt)).XF=P[v.ixfe],t.cellFormula){var lt=D.formula;if(lt&<[0]&<[0][0]&&"PtgExp"==lt[0][0][0]){var ye=lt[0][0][1][0],fe=lt[0][0][1][1],br=qe({r:ye,c:fe});x[br]?v.f=""+Fr(D.formula,0,D.cell,J,O):v.F=((t.dense?(i["!data"][ye]||[])[fe]:i[br])||{}).F}else v.f=""+Fr(D.formula,0,D.cell,J,O)}Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H(D.cell,v,t),o=D;break;case 7:case 519:if(!o)throw new Error("String record expects Formula");o.val=D,(v=Pu(D,o.cell.ixfe,"s")).XF=P[v.ixfe],t.cellFormula&&(v.f=""+Fr(o.formula,0,o.cell,J,O)),Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H(o.cell,v,t),o=null;break;case 33:case 545:_.push(D);var ct=qe(D[0].s);if(h=t.dense?(i["!data"][D[0].s.r]||[])[D[0].s.c]:i[ct],t.cellFormula&&h){if(!o||!ct||!h)break;h.f=""+Fr(D[1],0,D[0],J,O),h.F=Le(D[0])}break;case 1212:if(!t.cellFormula)break;if(d){if(!o)break;x[qe(o.cell)]=D[0],((h=t.dense?(i["!data"][o.cell.r]||[])[o.cell.c]:i[qe(o.cell)])||{}).f=""+Fr(D[0],0,f,J,O)}break;case 253:v=Pu(c[D.isst].t,D.ixfe,"s"),c[D.isst].h&&(v.h=c[D.isst].h),v.XF=P[v.ixfe],Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t);break;case 513:t.sheetStubs&&(v={ixfe:D.ixfe,XF:P[D.ixfe],t:"z"},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t));break;case 190:if(t.sheetStubs)for(var yt=D.c;yt<=D.C;++yt){var Hr=D.ixfe[yt-D.c];v={ixfe:Hr,XF:P[Hr],t:"z"},Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:yt,r:D.r},v,t)}break;case 214:case 516:case 4:(v=Pu(D.val,D.ixfe,"s")).XF=P[v.ixfe],Ce>0&&(v.z=Ue[v.ixfe>>8&63]),ci(v,t,r.opts.Date1904),H({c:D.c,r:D.r},v,t);break;case 0:case 512:1===Y&&(s=D);break;case 252:c=D;break;case 1054:if(4==O.biff){Ue[Ce++]=D[1];for(var Ir=0;Ir<Ce+163&&ke[Ir]!=D[1];++Ir);Ir>=163&&Yi(D[1],Ce+163)}else Yi(D[1],D[0]);break;case 30:Ue[Ce++]=D;for(var ia=0;ia<Ce+163&&ke[ia]!=D;++ia);ia>=163&&Yi(D,Ce+163);break;case 229:te=te.concat(D);break;case 93:K[D.cmo[0]]=O.lastobj=D;break;case 438:O.lastobj.TxO=D;break;case 127:O.lastobj.ImData=D;break;case 440:for(g=D[0].s.r;g<=D[0].e.r;++g)for(m=D[0].s.c;m<=D[0].e.c;++m)(h=t.dense?(i["!data"][g]||[])[m]:i[qe({c:m,r:g})])&&(h.l=D[1]);break;case 2048:for(g=D[0].s.r;g<=D[0].e.r;++g)for(m=D[0].s.c;m<=D[0].e.c;++m)(h=t.dense?(i["!data"][g]||[])[m]:i[qe({c:m,r:g})])&&h.l&&(h.l.Tooltip=D[1]);break;case 28:if(O.biff<=5&&O.biff>=2)break;h=t.dense?(i["!data"][D[0].r]||[])[D[0].c]:i[qe(D[0])];var yc=K[D[2]];h||(t.dense?(i["!data"][D[0].r]||(i["!data"][D[0].r]=[]),h=i["!data"][D[0].r][D[0].c]={t:"z"}):h=i[qe(D[0])]={t:"z"},s.e.r=Math.max(s.e.r,D[0].r),s.s.r=Math.min(s.s.r,D[0].r),s.e.c=Math.max(s.e.c,D[0].c),s.s.c=Math.min(s.s.c,D[0].c)),h.c||(h.c=[]),h.c.push({a:D[1],t:yc.TxO.t});break;case 2173:GL(0,D.ext);break;case 125:if(!O.cellStyles)break;for(;D.e>=D.s;)oe[D.e--]={width:D.w/256,level:D.level||0,hidden:!!(1&D.flags)},pe||(pe=!0,Qh(D.w/256)),Qi(oe[D.e+1]);break;case 520:var Vr={};null!=D.level&&(Z[D.r]=Vr,Vr.level=D.level),D.hidden&&(Z[D.r]=Vr,Vr.hidden=!0),D.hpt&&(Z[D.r]=Vr,Vr.hpt=D.hpt,Vr.hpx=Us(D.hpt));break;case 38:case 39:case 40:case 41:i["!margins"]||Pa(i["!margins"]={}),i["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[z]]=D;break;case 161:i["!margins"]||Pa(i["!margins"]={}),i["!margins"].header=D.header,i["!margins"].footer=D.footer;break;case 574:D.RTL&&(w.Views[0].RTL=!0);break;case 146:b=D;break;case 2198:ee=D;break;case 140:S=D;break;case 442:l?M.CodeName=D||M.name:w.WBProps.CodeName=D||"ThisWorkbook"}}else ue||console.error("Missing Info for XLS Record 0x"+z.toString(16)),e.l+=re}return r.SheetNames=Ft(a).sort(function(fi,Qe){return Number(fi)-Number(Qe)}).map(function(fi){return a[fi].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&u["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=u)):r.Preamble=u,r.Sheets&&F.forEach(function(fi,Qe){r.Sheets[r.SheetNames[Qe]]["!autofilter"]=fi}),r.Strings=c,r.SSF=gt(ke),O.enc&&(r.Encryption=O.enc),ee&&(r.Themes=ee),r.Metadata={},void 0!==S&&(r.Metadata.Country=S),J.names.length>0&&(w.Names=J.names),r.Workbook=w,r}(n.content,t);else if((a=Te.find(e,"PerfectOffice_MAIN"))&&a.content)i=Oa.to_workbook(a.content,(t.type=s,t));else{if(!(a=Te.find(e,"NativeContent_MAIN"))||!a.content)throw(a=Te.find(e,"MN0"))&&a.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=Oa.to_workbook(a.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&Te.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function E6(e){var t=Te.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Te.utils.cfb_add(t,i,e.FileIndex[n].content)}}),Te.write(t)}(e))}var o={};return e.FullPaths&&function vU(e,t,r){var n=Te.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=l2(n,Ph,dc.DSI);for(var a in i)t[a]=i[a]}catch(l){if(r.WTF)throw l}var s=Te.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var o=l2(s,Lh,dc.SI);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(l){if(r.WTF)throw l}t.HeadingPairs&&t.TitlesOfParts&&(Zw(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,o,t),i.Props=i.Custprops=o,t.bookFiles&&(i.cfb=e),i}var hc={0:{f:function zB(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,7&a&&(r.level=7&a),16&a&&(r.hidden=!0),32&a&&(r.hpt=i/20),r}},1:{f:function e9(e){return[Tn(e)]}},2:{f:function _9(e){return[Tn(e),Oh(e),"n"]}},3:{f:function c9(e){return[Tn(e),e.read_shift(1),"e"]}},4:{f:function i9(e){return[Tn(e),e.read_shift(1),"b"]}},5:{f:function m9(e){return[Tn(e),Cr(e),"n"]}},6:{f:function T9(e){return[Tn(e),Sr(e),"str"]}},7:{f:function d9(e){return[Tn(e),e.read_shift(4),"s"]}},8:{f:function I9(e,t,r){var n=e.l+t,i=Tn(e);i.r=r["!row"];var s=[i,Sr(e),"str"];if(r.cellFormula){e.l+=2;var o=Ou(e,n-e.l,r);s[3]=Fr(o,0,i,r.supbooks,r)}else e.l=n;return s}},9:{f:function b9(e,t,r){var n=e.l+t,i=Tn(e);i.r=r["!row"];var s=[i,Cr(e),"n"];if(r.cellFormula){e.l+=2;var o=Ou(e,n-e.l,r);s[3]=Fr(o,0,i,r.supbooks,r)}else e.l=n;return s}},10:{f:function A9(e,t,r){var n=e.l+t,i=Tn(e);i.r=r["!row"];var s=[i,e.read_shift(1),"b"];if(r.cellFormula){e.l+=2;var o=Ou(e,n-e.l,r);s[3]=Fr(o,0,i,r.supbooks,r)}else e.l=n;return s}},11:{f:function F9(e,t,r){var n=e.l+t,i=Tn(e);i.r=r["!row"];var s=[i,e.read_shift(1),"e"];if(r.cellFormula){e.l+=2;var o=Ou(e,n-e.l,r);s[3]=Fr(o,0,i,r.supbooks,r)}else e.l=n;return s}},12:{f:function r9(e){return[Sa(e)]}},13:{f:function w9(e){return[Sa(e),Oh(e),"n"]}},14:{f:function u9(e){return[Sa(e),e.read_shift(1),"e"]}},15:{f:function s9(e){return[Sa(e),e.read_shift(1),"b"]}},16:{f:lE},17:{f:function C9(e){return[Sa(e),Sr(e),"str"]}},18:{f:function p9(e){return[Sa(e),e.read_shift(4),"s"]}},19:{f:bh},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:function C7(e,t,r){var n=e.l+t,i=e.read_shift(4);e.l+=1;var a=e.read_shift(4),s=BO(e),o=Q5(e,0,r),c=Ih(e);32&i&&(s="_xlnm."+s),e.l=n;var l={Name:s,Ptg:o,Flags:i};return a<268435455&&(l.Sheet=a),c&&(l.Comment=c),l}},40:{},42:{},43:{f:function lL(e,t,r){var n={};n.sz=e.read_shift(2)/20;var i=function VO(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1),700===e.read_shift(2)&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var s=e.read_shift(1);0!=s&&(n.underline=s);var o=e.read_shift(1);o>0&&(n.family=o);var c=e.read_shift(1);switch(c>0&&(n.charset=c),e.l++,n.color=function HO(e){var t={},n=e.read_shift(1)>>>1,i=e.read_shift(1),a=e.read_shift(2,"i"),s=e.read_shift(1),o=e.read_shift(1),c=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=i;var l=Fa[i];l&&(t.rgb=tc(l));break;case 2:t.rgb=tc([s,o,c]);break;case 3:t.theme=i}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=Sr(e),n}},44:{f:function oL(e,t){return[e.read_shift(2),Sr(e)]}},45:{f:dL},46:{f:pL},47:{f:function hL(e,t){var r=e.l+t,n=e.read_shift(2),i=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:i}}},48:{},49:{f:function IO(e){return e.read_shift(4,"i")}},50:{},51:{f:function KL(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:I2},62:{f:function D9(e){return[Tn(e),bh(e),"is"]}},63:{f:function i6(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=qe(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function X9(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Tr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function $9(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function QB(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=LO(e,t-19),r}},148:{f:YB,p:16},151:{f:function L9(){}},152:{},153:{f:function D7(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var i=t>8?Sr(e):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function w7(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Mh(e,t-8),r.name=Sr(e),r}},157:{},158:{},159:{T:1,f:function y8(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:ka},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:M9},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function zL(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Sr(e)}}},336:{T:-1},337:{f:function ZL(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Mh},357:{},358:{},359:{},360:{T:1},361:{},362:{f:A2},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function B9(e,t,r){var n=e.l+t,i=Hw(e),a=e.read_shift(1),s=[i];if(s[2]=a,r.cellFormula){var o=Z5(e,n-e.l,r);s[1]=o}else e.l=n;return s}},427:{f:function U9(e,t,r){var n=e.l+t,a=[ka(e,16)];if(r.cellFormula){var s=J5(e,n-e.l,r);a[1]=s,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function V9(e){var t={};return uE.forEach(function(r){t[r]=Cr(e)}),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function ZB(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function R9(e,t){var r=e.l+t,n=ka(e,16),i=Ih(e),a=Sr(e),s=Sr(e),o=Sr(e);e.l=r;var c={rfx:n,relId:i,loc:a,display:o};return s&&(c.Tooltip=s),c}},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:Mh},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:x6},633:{T:1},634:{T:-1},635:{T:1,f:function g6(e){var t={};t.iauthor=e.read_shift(4);var r=ka(e,16);return t.rfx=r.s,t.ref=qe(r.s),e.l+=16,t}},636:{T:-1},637:{f:RO},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function u7(e,t){return e.l+=10,{name:Sr(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function K9(){}},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:""}},fp={6:{f:np},10:{f:Zi},12:{f:$t},13:{f:$t},14:{f:jt},15:{f:jt},16:{f:Cr},17:{f:jt},18:{f:jt},19:{f:$t},20:{f:S2},21:{f:S2},23:{f:A2},24:{f:k2},25:{f:jt},26:{},27:{},28:{f:function AP(e,t,r){return function kP(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),o=Ma(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:i},o,s,a]}}(e,0,r)}},29:{},34:{f:jt},35:{f:C2},38:{f:Cr},39:{f:Cr},40:{f:Cr},41:{f:Cr},42:{f:jt},43:{f:jt},47:{f:function V8(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?function H8(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,n.Data=1===n.Info?function P8(e){var t={},r=t.EncryptionVersionInfo=Mi(e,4);if(1!=r.Major||1!=r.Minor)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}(e):function R8(e,t){var r={},n=r.EncryptionVersionInfo=Mi(e,4);if(t-=4,2!=n.Minor)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 i=e.read_shift(4);return t-=4,r.EncryptionHeader=P2(e,i),r.EncryptionVerifier=L2(e,t-=i),r}(e,t),n}(e,t-2,n):function U8(e,t,r,n){var i={key:$t(e),verificationBytes:$t(e)};r.password&&(i.verifier=function qh(e){var r,a,t=0,n=R2(e),i=n.length+1;for((r=zi(i))[0]=n.length,a=1;a!=i;++a)r[a]=n[a-1];for(a=i-1;a>=0;--a)t=((16384&t?1:0)|t<<1&32767)^r[a];return 52811^t}(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=function(e){var t=0,r=B2(e);return function(n){var i=function(e,t,r,n,i){var a,s;for(i||(i=t),n||(n=B2("")),a=0;a!=t.length;++a)s=t[a],i[a]=s=255&((s^=n[r])>>5|s<<3),++r;return[i,r,n]}(0,n,t,r);return t=i[1],i[0]}}(r.password))}(e,0,r,n),n}},49:{f:function nP(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}return n.name=Jo(e,0,r),n}},51:{f:$t},60:{},61:{f:function QR(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{f:jt},65:{f:function rP(){}},66:{f:$t},77:{},80:{},81:{},82:{},85:{f:$t},89:{},90:{},91:{},92:{f:function VR(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,i=Ma(e,0,r);return e.read_shift(t+n-e.l),i}},93:{f:function IP(e,t,r){if(r&&r.biff<8)return function NP(e,t,r){e.l+=4;var n=e.read_shift(2),i=e.read_shift(2),a=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;var s=[];return s.push((MP[n]||Tr)(e,t-=36,r)),{cmo:[i,n,a],ft:s}}(e,t,r);var n=y2(e),i=function UR(e,t){for(var r=e.l+t,n=[];e.l<r;){var i=e.read_shift(2);e.l-=2;try{n[i]=BR[i](e,r-e.l)}catch{return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22);return{cmo:n,ft:i}}},94:{},95:{f:jt},96:{},97:{},99:{f:jt},125:{f:I2},128:{f:function vP(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{f:function $R(e,t,r){var n=r&&8==r.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:$t},131:{f:jt},132:{f:jt},133:{f:function WR(e,t,r){var n=e.read_shift(4),i=3&e.read_shift(1),a=e.read_shift(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var s=Jo(e,0,r);return 0===s.length&&(s="Sheet1"),{pos:n,hs:i,dt:a,name:s}}},134:{},140:{f:function UP(e){var r,t=[0,0];return r=e.read_shift(2),t[0]=Ww[r]||r,r=e.read_shift(2),t[1]=Ww[r]||r,t}},141:{f:$t},144:{},146:{f:function jP(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(m2(e));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:$t},157:{},158:{},160:{f:YP},161:{f:function GP(e,t){var r={};return t<32||(e.l+=16,r.header=Cr(e),r.footer=Cr(e),e.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function pP(e,t){for(var r=e.l+t-2,n=e.read_shift(2),i=e.read_shift(2),a=[];e.l<r;)a.push(x2(e));if(e.l!==r)throw new Error("MulRK read error");var s=e.read_shift(2);if(a.length!=s-i+1)throw new Error("MulRK length mismatch");return{r:n,c:i,C:s,rkrec:a}}},190:{f:function gP(e,t){for(var r=e.l+t-2,n=e.read_shift(2),i=e.read_shift(2),a=[];e.l<r;)a.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var s=e.read_shift(2);if(a.length!=s-i+1)throw new Error("MulBlank length mismatch");return{r:n,c:i,C:s,ixfe:a}}},193:{f:Zi},197:{},198:{},199:{},200:{},201:{},202:{f:jt},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:$t},220:{},221:{f:jt},222:{},224:{f:function xP(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,n.data=function mP(e,t,r,n){var i={},a=e.read_shift(4),s=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return i.patternType=qO[o>>26],n.cellStyles&&(i.alc=7&a,i.fWrap=a>>3&1,i.alcV=a>>4&7,i.fJustLast=a>>7&1,i.trot=a>>8&255,i.cIndent=a>>16&15,i.fShrinkToFit=a>>20&1,i.iReadOrder=a>>22&2,i.fAtrNum=a>>26&1,i.fAtrFnt=a>>27&1,i.fAtrAlc=a>>28&1,i.fAtrBdr=a>>29&1,i.fAtrPat=a>>30&1,i.fAtrProt=a>>31&1,i.dgLeft=15&s,i.dgRight=s>>4&15,i.dgTop=s>>8&15,i.dgBottom=s>>12&15,i.icvLeft=s>>16&127,i.icvRight=s>>23&127,i.grbitDiag=s>>30&3,i.icvTop=127&o,i.icvBottom=o>>7&127,i.icvDiag=o>>14&127,i.dgDiag=o>>21&15,i.icvFore=127&c,i.icvBack=c>>7&127,i.fsxButton=c>>14&1),i}(e,0,0,r),n}},225:{f:function HR(e,t){return 0===t||e.read_shift(2),1200}},226:{f:Zi},227:{},229:{f:function FP(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(Su(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function zR(e,t){for(var r=e.l+t,n=e.read_shift(4),i=e.read_shift(4),a=[],s=0;s!=i&&e.l<r;++s)a.push(DR(e));return a.Count=n,a.Unique=i,a}},253:{f:function aP(e){var t=oi(e);return t.isst=e.read_shift(4),t}},255:{f:function KR(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:f2},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:jt},353:{f:Zi},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function DP(e,t,r){var n=e.l+t,i=e.read_shift(2),a=e.read_shift(2);if(r.sbcch=a,1025==a||14849==a)return[a,i];if(a<1||a>255)throw new Error("Unexpected SupBook type: "+a);for(var s=Ia(e,a),o=[];n>e.l;)o.push(ec(e));return[a,i,s,o]}},431:{f:jt},432:{},433:{},434:{},437:{},438:{f:function OP(e,t,r){var n=e.l,i="";try{e.l+=4,-1==[0,5,7,11,12,14].indexOf((r.lastobj||{cmo:[0,0]}).cmo[1])?e.l+=6:function SR(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);e.l+=2}(e);var o=e.read_shift(2);e.read_shift(2),$t(e);var c=e.read_shift(2);e.l+=c;for(var l=1;l<e.lens.length-1;++l){if(e.l-n!=e.lens[l])throw new Error("TxO: bad continue record");var u=e[e.l];if((i+=Ia(e,e.lens[l+1]-e.lens[l]-1)).length>=(u?o:2*o))break}if(i.length!==o&&i.length!==2*o)throw new Error("cchText: "+o+" != "+i.length);return e.l=n+t,{t:i}}catch{return e.l=n+t,{t:i}}}},439:{f:jt},440:{f:function RP(e,t){var r=Su(e);e.l+=16;var n=function FR(e,t){var r=e.l+t,n=e.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var i=e.read_shift(2);e.l+=2;var a,s,o,c,u,f,l="";16&i&&(a=Tu(e)),128&i&&(s=Tu(e)),257==(257&i)&&(o=Tu(e)),1==(257&i)&&(c=function AR(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return function CR(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(n=!0),e.l=r);var i=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Er,"");return n&&(e.l+=24),i}(e);case"0303000000000000c000000000000046":return function kR(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return r+n.replace(/\\/g,"/");var a=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return r+e.read_shift(a>>1,"utf16le").replace(Er,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}(e)),8&i&&(l=Tu(e)),32&i&&(u=e.read_shift(16)),64&i&&(f=Gh(e)),e.l=r;var d=s||o||c||"";d&&l&&(d+="#"+l),d||(d="#"+l),2&i&&"/"==d.charAt(0)&&"/"!=d.charAt(1)&&(d="file://"+d);var h={Target:d};return u&&(h.guid=u),f&&(h.time=f),a&&(h.Tooltip=a),h}(e,t-24);return[r,n]}},441:{},442:{f:ec},443:{},444:{f:$t},445:{},446:{},448:{f:Zi},449:{f:function ZR(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{f:Zi},512:{f:E2},513:{f:KP},515:{f:function wP(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=oi(e),i=Cr(e);return n.val=i,n}},516:{f:function oP(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var i=oi(e);2==r.biff&&e.l++;var a=ec(e,0,r);return i.val=a,i}},517:{f:T2},519:{f:qP},520:{f:function YR(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,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{},545:{f:b2},549:{f:w2},566:{},574:{f:function eP(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{f:function hP(e){var t=e.read_shift(2),r=e.read_shift(2),n=x2(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function lP(e,t,r){return[e.read_shift(2),Ma(e,0,r)]}},1084:{},1212:{f:function SP(e,t,r){var n=_2(e);e.l++;var i=e.read_shift(1);return[X5(e,t-=8,r),i,n]}},2048:{f:function LP(e,t){e.read_shift(2);var r=Su(e),n=e.read_shift((t-10)/2,"dbcs-cont");return[r,n=n.replace(Er,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Cu},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:Zi},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function $P(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{f:function WL(e,t){e.l+=2;var n=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),a=[];i-- >0;)a.push($L(e));return{ixfe:n,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:jt,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function TP(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),i=e.read_shift(2);return[Ia(e,n,r),Ia(e,i,r)]}e.l+=t},r:12},2197:{},2198:{f:function BL(e,t,r){var n=e.l+t;if(124226!==e.read_shift(4)){if(!r.cellStyles)return void(e.l=n);var s,a=e.slice(e.l);e.l=n;try{s=uw(a,{type:"array"})}catch{return}var o=qr(s,"theme/theme/theme1.xml",!0);if(o)return $2(o,r)}},r:12},2199:{},2200:{},2201:{},2202:{f:function CP(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12},2203:{f:Zi},2204:{},2205:{},2206:{},2207:{},2211:{f:function qR(e){var t=function IR(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}},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:$t},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function zP(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var i=e.read_shift(1);return e.l+=3,16&i&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function VP(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(m2(e));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:E2},1:{},2:{f:function t8(e){var t=oi(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}},3:{f:function JP(e){var t=oi(e);++e.l;var r=Cr(e);return t.t="n",t.val=r,t}},4:{f:function QP(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=oi(e);++e.l;var i=Ma(e,0,r);return n.t="str",n.val=i,n}},5:{f:T2},7:{f:function n8(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}},8:{},9:{f:Cu},11:{},22:{f:$t},30:{f:fP},31:{},32:{},33:{f:b2},36:{},37:{f:w2},50:{f:function i8(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{},52:{},67:{},68:{f:$t},69:{},86:{},126:{},127:{f:function ZP(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),i={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,i}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function a8(e,t,r){var n=e.l+t,i=oi(e),a=e.read_shift(2),s=Ia(e,a,r);return e.l=n,i.t="str",i.val=s,i}},223:{},234:{},354:{},421:{},518:{f:np},521:{f:Cu},536:{f:k2},547:{f:C2},561:{},579:{},1030:{f:np},1033:{f:Cu},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function ce(e,t,r,n){var i=t;if(!isNaN(i)){var a=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&&Ch(r)&&e.push(r)}}function yE(e,t){var r=t||{},n=null!=r.dense?r.dense:Ht,i={};n&&(i["!data"]=[]);var a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),o=a.index,c=s&&s.index||e.length,l=aO(e.slice(o,c),/(:?<tr[^>]*>)/i,"<tr>"),u=-1,f=0,d=0,h=0,p={s:{r:1e7,c:1e7},e:{r:0,c:0}},m=[];for(o=0;o<l.length;++o){var g=l[o].trim(),x=g.slice(0,3).toLowerCase();if("<tr"!=x){if("<td"==x||"<th"==x){var _=g.split(/<\/t[dh]>/i);for(c=0;c<_.length;++c){var v=_[c].trim();if(v.match(/<t[dh]/i)){for(var S=v,P=0;"<"==S.charAt(0)&&(P=S.indexOf(">"))>-1;)S=S.slice(P+1);for(var b=0;b<m.length;++b){var w=m[b];w.s.c==f&&w.s.r<u&&u<=w.e.r&&(f=w.e.c+1,b=-1)}var M=_e(v.slice(0,v.indexOf(">")));h=M.colspan?+M.colspan:1,((d=+M.rowspan)>1||h>1)&&m.push({s:{r:u,c:f},e:{r:u+(d||1)-1,c:f+h-1}});var I=M.t||M["data-t"]||"";if(!S.length){f+=h;continue}if(S=vw(S),p.s.r>u&&(p.s.r=u),p.e.r<u&&(p.e.r=u),p.s.c>f&&(p.s.c=f),p.e.c<f&&(p.e.c=f),!S.length){f+=h;continue}var L={t:"s",v:S};r.raw||!S.trim().length||"s"==I||("TRUE"===S?L={t:"b",v:!0}:"FALSE"===S?L={t:"b",v:!1}:isNaN(ln(S))?isNaN(Ms(S).getDate())||(L={t:"d",v:bt(S)},r.cellDates||(L={t:"n",v:Kt(L.v)}),L.z=r.dateNF||ke[14]):L={t:"n",v:ln(S)}),n?(i["!data"][u]||(i["!data"][u]=[]),i["!data"][u][f]=L):i[qe({r:u,c:f})]=L,f+=h}}}}else{if(++u,r.sheetRows&&r.sheetRows<=u){--u;break}f=0}}return i["!ref"]=Le(p),m.length&&(i["!merges"]=m),i}function wE(e,t,r,n){for(var i=e["!merges"]||[],a=[],s={},o=null!=e["!data"],c=t.s.c;c<=t.e.c;++c){for(var l=0,u=0,f=0;f<i.length;++f)if(!(i[f].s.r>r||i[f].s.c>c||i[f].e.r<r||i[f].e.c<c)){if(i[f].s.r<r||i[f].s.c<c){l=-1;break}l=i[f].e.r-i[f].s.r+1,u=i[f].e.c-i[f].s.c+1;break}if(!(l<0)){var d=Ye(c)+tt(r),h=o?(e["!data"][r]||[])[c]:e[d],p=h&&null!=h.v&&(h.h||hu(h.w||(si(h),h.w)||""))||"";s={},l>1&&(s.rowspan=l),u>1&&(s.colspan=u),n.editable?p='<span contenteditable="true">'+p+"</span>":h&&(s["data-t"]=h&&h.t||"z",null!=h.v&&(s["data-v"]=h.v),null!=h.z&&(s["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(p='<a href="'+hu(h.l.Target)+'">'+p+"</a>")),s.id=(n.id||"sjs")+"-"+d,a.push(ae("td",p,s))}}return"<tr>"+a.join("")+"</tr>"}var EE='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',DE="</body></html>";function CE(e,t,r){var n=t.rows;if(!n)throw"Unsupported origin when "+t.tagName+" is not a TABLE";var i=r||{},a=null!=e["!data"],s=0,o=0;if(null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?pt(i.origin):i.origin;s=c.r,o=c.c}var l=Math.min(i.sheetRows||1e7,n.length),u={s:{r:0,c:0},e:{r:s,c:o}};if(e["!ref"]){var f=sr(e["!ref"]);u.s.r=Math.min(u.s.r,f.s.r),u.s.c=Math.min(u.s.c,f.s.c),u.e.r=Math.max(u.e.r,f.e.r),u.e.c=Math.max(u.e.c,f.e.c),-1==s&&(u.e.r=s=f.e.r+1)}var d=[],h=0,p=e["!rows"]||(e["!rows"]=[]),m=0,g=0,x=0,_=0,v=0,S=0;for(e["!cols"]||(e["!cols"]=[]);m<n.length&&g<l;++m){var P=n[m];if(AE(P)){if(i.display)continue;p[g]={hidden:!0}}var b=P.cells;for(x=_=0;x<b.length;++x){var w=b[x];if(!i.display||!AE(w)){var M=w.hasAttribute("data-v")?w.getAttribute("data-v"):w.hasAttribute("v")?w.getAttribute("v"):vw(w.innerHTML),I=w.getAttribute("data-z")||w.getAttribute("z");for(h=0;h<d.length;++h){var L=d[h];L.s.c==_+o&&L.s.r<g+s&&g+s<=L.e.r&&(_=L.e.c+1-o,h=-1)}S=+w.getAttribute("colspan")||1,((v=+w.getAttribute("rowspan")||1)>1||S>1)&&d.push({s:{r:g+s,c:_+o},e:{r:g+s+(v||1)-1,c:_+o+(S||1)-1}});var H={t:"s",v:M},O=w.getAttribute("data-t")||w.getAttribute("t")||"";null!=M&&(0==M.length?H.t=O||"z":i.raw||0==M.trim().length||"s"==O||("TRUE"===M?H={t:"b",v:!0}:"FALSE"===M?H={t:"b",v:!1}:isNaN(ln(M))?isNaN(Ms(M).getDate())||(H={t:"d",v:bt(M)},i.cellDates||(H={t:"n",v:Kt(H.v)}),H.z=i.dateNF||ke[14]):H={t:"n",v:ln(M)})),void 0===H.z&&null!=I&&(H.z=I);var ee="",te=w.getElementsByTagName("A");if(te&&te.length)for(var K=0;K<te.length&&(!te[K].hasAttribute("href")||"#"==(ee=te[K].getAttribute("href")).charAt(0));++K);ee&&"#"!=ee.charAt(0)&&"javascript:"!=ee.slice(0,11).toLowerCase()&&(H.l={Target:ee}),a?(e["!data"][g+s]||(e["!data"][g+s]=[]),e["!data"][g+s][_+o]=H):e[qe({c:_+o,r:g+s})]=H,u.e.c<_+o&&(u.e.c=_+o),_+=S}}++g}return d.length&&(e["!merges"]=(e["!merges"]||[]).concat(d)),u.e.r=Math.max(u.e.r,g-1+s),e["!ref"]=Le(u),g>=l&&(e["!fullref"]=Le((u.e.r=n.length-m+g-1+s,u))),e}function kE(e,t){var n={};return(t||{}).dense&&(n["!data"]=[]),CE(n,e,t)}function AE(e){var t="",r=function UU(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function HU(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,i){return Array(parseInt(i,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[et(t.replace(/<[^>]*>/g,""))]}function FE(e,t,r){var n=r||{},i=gu(e);qt.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");for(var a,s,l,o="",c="",u=0,f=-1,h="";a=qt.exec(i);)switch(a[3]=a[3].replace(/_.*$/,"")){case"number-style":case"currency-style":case"percentage-style":case"date-style":case"time-style":case"text-style":"/"===a[1]?("false"==s["truncate-on-overflow"]&&(o.match(/h/)?o=o.replace(/h+/,"[$&]"):o.match(/m/)?o=o.replace(/m+/,"[$&]"):o.match(/s/)&&(o=o.replace(/s+/,"[$&]"))),n[s.name]=o,o=""):"/"!==a[0].charAt(a[0].length-2)&&(o="",s=_e(a[0],!1));break;case"boolean-style":"/"===a[1]?(n[s.name]="General",o=""):"/"!==a[0].charAt(a[0].length-2)&&(o="",s=_e(a[0],!1));break;case"boolean":o+="General";break;case"text":"/"===a[1]?o+="%"==(h=i.slice(f,qt.lastIndex-a[0].length))&&"<number:percentage-style"==s[0]?"%":'"'+h.replace(/"/g,'""')+'"':"/"!==a[0].charAt(a[0].length-2)&&(f=qt.lastIndex);break;case"day":"short"===(l=_e(a[0],!1)).style?o+="d":o+="dd";break;case"day-of-week":switch((l=_e(a[0],!1)).style){case"short":default:o+="ddd";break;case"long":o+="dddd"}break;case"era":"short"===(l=_e(a[0],!1)).style?o+="ee":o+="eeee";break;case"hours":"short"===(l=_e(a[0],!1)).style?o+="h":o+="hh";break;case"minutes":"short"===(l=_e(a[0],!1)).style?o+="m":o+="mm";break;case"month":switch((l=_e(a[0],!1)).textual&&(o+="mm"),l.style){case"short":default:o+="m";break;case"long":o+="mm"}break;case"seconds":"short"===(l=_e(a[0],!1)).style?o+="s":o+="ss",l["decimal-places"]&&(o+="."+ot("0",+l["decimal-places"]));break;case"year":switch((l=_e(a[0],!1)).style){case"short":default:o+="yy";break;case"long":o+="yyyy"}break;case"am-pm":o+="AM/PM";break;case"week-of-year":case"quarter":console.error("Excel does not support ODS format token "+a[3]);break;case"fill-character":"/"===a[1]?o+='"'+(h=i.slice(f,qt.lastIndex-a[0].length)).replace(/"/g,'""')+'"*':"/"!==a[0].charAt(a[0].length-2)&&(f=qt.lastIndex);break;case"scientific-number":o+="0."+ot("0",+(l=_e(a[0],!1))["min-decimal-places"]||+l["decimal-places"]||2)+ot("?",+l["decimal-places"]-+l["min-decimal-places"]||0)+"E"+(mt(l["forced-exponent-sign"])?"+":"")+ot("0",+l["min-exponent-digits"]||2);break;case"fraction":o+=+(l=_e(a[0],!1))["min-integer-digits"]?ot("0",+l["min-integer-digits"]):"#",o+=" ",o+=ot("?",+l["min-numerator-digits"]||1),o+="/",o+=+l["denominator-value"]?l["denominator-value"]:ot("?",+l["min-denominator-digits"]||1);break;case"currency-symbol":"/"===a[1]?o+='"'+i.slice(f,qt.lastIndex-a[0].length).replace(/"/g,'""')+'"':"/"!==a[0].charAt(a[0].length-2)?f=qt.lastIndex:o+="$";break;case"text-properties":switch(((l=_e(a[0],!1)).color||"").toLowerCase().replace("#","")){case"ff0000":case"red":o="[Red]"+o}break;case"text-content":o+="@";break;case"map":l=_e(a[0],!1),"value()>=0"==et(l.condition)?o=n[l["apply-style-name"]]+";"+o:console.error("ODS number format may be incorrect: "+l.condition);break;case"number":if("/"===a[1])break;c="",c+=ot("0",+(l=_e(a[0],!1))["min-integer-digits"]||1),mt(l.grouping)&&(c=Ci(ot("#",Math.max(0,4-c.length))+c)),(+l["min-decimal-places"]||+l["decimal-places"])&&(c+="."),+l["min-decimal-places"]&&(c+=ot("0",+l["min-decimal-places"]||1)),+l["decimal-places"]-(+l["min-decimal-places"]||0)&&(c+=ot("0",+l["decimal-places"]-(+l["min-decimal-places"]||0))),o+=c;break;case"embedded-text":"/"===a[1]?0==u?o+='"'+i.slice(f,qt.lastIndex-a[0].length).replace(/"/g,'""')+'"':o=o.slice(0,u)+'"'+i.slice(f,qt.lastIndex-a[0].length).replace(/"/g,'""')+'"'+o.slice(u):"/"!==a[0].charAt(a[0].length-2)&&(f=qt.lastIndex,u=-+_e(a[0],!1).position||0)}return n}function bE(e,t,r){var n=t||{};null!=Ht&&null==n.dense&&(n.dense=Ht);var s,o,c,f,d,i=gu(e),a=[],u=0,h={},p=[],m={};n.dense&&(m["!data"]=[]);var g,x,_={value:""},v="",S=0,b=[],w=-1,M=-1,I={s:{r:1e6,c:1e7},e:{r:0,c:0}},L=0,H=r||{},O={},ee=[],te={},K=0,oe=0,Z=[],pe=1,J=1,Ee=[],Y={Names:[],WBProps:{}},Ce={},Ue=["",""],F=[],B={},R="",N=0,z=!1,re=!1,ue=0,de=0;for(qt.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");g=qt.exec(i);)switch(g[3]=g[3].replace(/_.*$/,"")){case"table":case"\u5de5\u4f5c\u8868":"/"===g[1]?(m["!ref"]=I.e.c>=I.s.c&&I.e.r>=I.s.r?Le(I):"A1:A1",n.sheetRows>0&&n.sheetRows<=I.e.r&&(m["!fullref"]=m["!ref"],I.e.r=n.sheetRows-1,m["!ref"]=Le(I)),ee.length&&(m["!merges"]=ee),Z.length&&(m["!rows"]=Z),f.name=f.\u540d\u79f0||f.name,typeof JSON<"u"&&JSON.stringify(f),p.push(f.name),h[f.name]=m,re=!1):"/"!==g[0].charAt(g[0].length-2)&&(f=_e(g[0],!1),w=M=-1,I.s.r=I.s.c=1e7,I.e.r=I.e.c=0,m={},n.dense&&(m["!data"]=[]),ee=[],Z=[],re=!0);break;case"table-row-group":"/"===g[1]?--L:++L;break;case"table-row":case"\u884c":if("/"===g[1]){w+=pe,pe=1;break}if((d=_e(g[0],!1)).\u884c\u53f7?w=d.\u884c\u53f7-1:-1==w&&(w=0),(pe=+d["number-rows-repeated"]||1)<10)for(ue=0;ue<pe;++ue)L>0&&(Z[w+ue]={level:L});M=-1;break;case"covered-table-cell":"/"!==g[1]&&++M,n.sheetStubs&&(n.dense?(m["!data"][w]||(m["!data"][w]=[]),m["!data"][w][M]={t:"z"}):m[qe({r:w,c:M})]={t:"z"}),v="",b=[];break;case"table-cell":case"\u6570\u636e":if("/"===g[0].charAt(g[0].length-2))++M,_=_e(g[0],!1),J=parseInt(_["number-columns-repeated"]||"1",10),x={t:"z",v:null},_.formula&&0!=n.cellFormula&&(x.f=aE(et(_.formula))),_["style-name"]&&O[_["style-name"]]&&(x.z=O[_["style-name"]]),"string"==(_.\u6570\u636e\u7c7b\u578b||_["value-type"])&&(x.t="s",x.v=et(_["string-value"]||""),n.dense?(m["!data"][w]||(m["!data"][w]=[]),m["!data"][w][M]=x):m[Ye(M)+tt(w)]=x),M+=J-1;else if("/"!==g[1]){v="",S=0,b=[],J=1;var D=pe?w+pe-1:w;if(++M>I.e.c&&(I.e.c=M),M<I.s.c&&(I.s.c=M),w<I.s.r&&(I.s.r=w),D>I.e.r&&(I.e.r=D),F=[],B={},x={t:(_=_e(g[0],!1)).\u6570\u636e\u7c7b\u578b||_["value-type"],v:null},_["style-name"]&&O[_["style-name"]]&&(x.z=O[_["style-name"]]),n.cellFormula)if(_.formula&&(_.formula=et(_.formula)),_["number-matrix-columns-spanned"]&&_["number-matrix-rows-spanned"]&&(K=parseInt(_["number-matrix-rows-spanned"],10)||0,oe=parseInt(_["number-matrix-columns-spanned"],10)||0,x.F=Le(te={s:{r:w,c:M},e:{r:w+K-1,c:M+oe-1}}),Ee.push([te,x.F])),_.formula)x.f=aE(_.formula);else for(ue=0;ue<Ee.length;++ue)w>=Ee[ue][0].s.r&&w<=Ee[ue][0].e.r&&M>=Ee[ue][0].s.c&&M<=Ee[ue][0].e.c&&(x.F=Ee[ue][1]);switch((_["number-columns-spanned"]||_["number-rows-spanned"])&&(K=parseInt(_["number-rows-spanned"],10)||0,oe=parseInt(_["number-columns-spanned"],10)||0,ee.push(te={s:{r:w,c:M},e:{r:w+K-1,c:M+oe-1}})),_["number-columns-repeated"]&&(J=parseInt(_["number-columns-repeated"],10)),x.t){case"boolean":x.t="b",x.v=mt(_["boolean-value"])||+_["boolean-value"]>=1;break;case"float":case"percentage":case"currency":x.t="n",x.v=parseFloat(_.value);break;case"date":x.t="d",x.v=bt(_["date-value"]),n.cellDates||(x.t="n",x.v=Kt(x.v,Y.WBProps.date1904)-de),x.z||(x.z="m/d/yy");break;case"time":x.t="n",x.v=eO(_["time-value"])/86400,n.cellDates&&(x.t="d",x.v=du(x.v)),x.z||(x.z="HH:MM:SS");break;case"number":x.t="n",x.v=parseFloat(_.\u6570\u636e\u6570\u503c);break;default:if("string"!==x.t&&"text"!==x.t&&x.t)throw new Error("Unsupported value type "+x.t);x.t="s",null!=_["string-value"]&&(v=et(_["string-value"]),b=[])}}else{if(z=!1,"s"===x.t&&(x.v=v||"",b.length&&(x.R=b),z=0==S),Ce.Target&&(x.l=Ce),F.length>0&&(x.c=F,F=[]),v&&!1!==n.cellText&&(x.w=v),z&&(x.t="z",delete x.v),(!z||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=w))for(var Ie=0;Ie<pe;++Ie){if(J=parseInt(_["number-columns-repeated"]||"1",10),n.dense)for(m["!data"][w+Ie]||(m["!data"][w+Ie]=[]),m["!data"][w+Ie][M]=0==Ie?x:gt(x);--J>0;)m["!data"][w+Ie][M+J]=gt(x);else for(m[qe({r:w+Ie,c:M})]=x;--J>0;)m[qe({r:w+Ie,c:M+J})]=gt(x);I.e.c<=M&&(I.e.c=M)}M+=(J=parseInt(_["number-columns-repeated"]||"1",10))-1,J=0,x={},v="",b=[]}Ce={};break;case"document":case"document-content":case"\u7535\u5b50\u8868\u683c\u6587\u6863":case"spreadsheet":case"\u4e3b\u4f53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===g[1]){if((s=a.pop())[0]!==g[3])throw"Bad state: "+s}else"/"!==g[0].charAt(g[0].length-2)&&a.push([g[3],!0]);break;case"annotation":if("/"===g[1]){if((s=a.pop())[0]!==g[3])throw"Bad state: "+s;B.t=v,b.length&&(B.R=b),B.a=R,F.push(B)}else"/"!==g[0].charAt(g[0].length-2)&&a.push([g[3],!1]);R="",N=0,v="",S=0,b=[];break;case"creator":"/"===g[1]?R=i.slice(N,g.index):N=g.index+g[0].length;break;case"meta":case"\u5143\u6570\u636e":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("/"===g[1]){if((s=a.pop())[0]!==g[3])throw"Bad state: "+s}else"/"!==g[0].charAt(g[0].length-2)&&a.push([g[3],!1]);v="",S=0,b=[];break;case"scientific-number":case"currency-symbol":case"fill-character":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"number":case"fraction":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":case"boolean":case"text-content":case"text-properties":case"embedded-text":case"body":case"\u7535\u5b50\u8868\u683c":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"\u6807\u9898":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":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":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":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":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"text-style":case"boolean-style":case"number-style":case"currency-style":case"percentage-style":case"date-style":case"time-style":if("/"===g[1]){var it=qt.lastIndex;FE(i.slice(c,qt.lastIndex),0,H),qt.lastIndex=it}else"/"!==g[0].charAt(g[0].length-2)&&(c=qt.lastIndex-g[0].length);break;case"style":var ge=_e(g[0],!1);"table-cell"==ge.family&&H[ge["data-style-name"]]&&(O[ge.name]=H[ge["data-style-name"]]);break;case"text":if("/>"===g[0].slice(-2))break;if("/"===g[1])switch(a[a.length-1][0]){case"number-style":case"date-style":case"time-style":i.slice(u,g.index)}else u=g.index+g[0].length;break;case"named-range":Ue=ip((o=_e(g[0],!1))["cell-range-address"]);var Ze={Name:o.name,Ref:Ue[0]+"!"+Ue[1]};re&&(Ze.Sheet=p.length),Y.Names.push(Ze);break;case"null-date":switch((o=_e(g[0],!1))["date-value"]){case"1904-01-01":Y.WBProps.date1904=!0;case"1900-01-01":de=0}break;case"p":case"\u6587\u672c\u4e32":if(["master-styles"].indexOf(a[a.length-1][0])>-1)break;if("/"!==g[1]||_&&_["string-value"])_e(g[0],!1),S=g.index+g[0].length;else{var It=HU(i.slice(S,g.index));v=(v.length>0?v+"\n":"")+It[0]}break;case"database-range":if("/"===g[1])break;try{h[(Ue=ip(_e(g[0])["target-range-address"]))[0]]["!autofilter"]={ref:Ue[1]}}catch{}break;case"a":if("/"!==g[1]){if(!(Ce=_e(g[0],!1)).href)break;Ce.Target=et(Ce.href),delete Ce.href,"#"==Ce.Target.charAt(0)&&Ce.Target.indexOf(".")>-1?(Ue=ip(Ce.Target.slice(1)),Ce.Target="#"+Ue[0]+"!"+Ue[1]):Ce.Target.match(/^\.\.[\\\/]/)&&(Ce.Target=Ce.Target.slice(3))}break;default:switch(g[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5b57:":break;default:if(n.WTF)throw new Error(g)}}var lt={Sheets:h,SheetNames:p,Workbook:Y};return n.bookSheets&&delete lt.Sheets,lt}function ME(e,t){var r=bE(e,t);return r.bookType="fods",r}var Qt=function(){try{return typeof Uint8Array>"u"||typeof Uint8Array.prototype.subarray>"u"?"slice":typeof Buffer<"u"?typeof Buffer.prototype.subarray>"u"?"slice":("function"==typeof Buffer.from?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?"subarray":"slice":"subarray"}catch{return"slice"}}();function Ni(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function dr(e){return typeof TextDecoder<"u"?(new TextDecoder).decode(e):xt(ni(e))}function ta(e){for(var t=0,r=0;r<e.length;++r)t+=e[r].length;var n=new Uint8Array(t),i=0;for(r=0;r<e.length;++r){var a=e[r],s=a.length;if(s<250)for(var o=0;o<s;++o)n[i++]=a[o];else n.set(a,i),i+=s}return n}function dp(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function gc(e,t){var r=t.l,n=127&e[r];e:if(e[r++]>=128&&(n|=(127&e[r])<<7,e[r++]<128||(n|=(127&e[r])<<14,e[r++]<128)||(n|=(127&e[r])<<21,e[r++]<128)||(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)||(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)||(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)))break e;return t.l=r,n}function nt(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128||(r|=(127&e[t])<<14,e[t++]<128)||(r|=(127&e[t])<<21,e[t++]<128))break e;r|=(127&e[t])<<28}return r}function he(e){for(var t=[],r={l:0};r.l<e.length;){var n=r.l,i=gc(e,r),a=7&i;i=i/8|0;var s,o=r.l;switch(a){case 0:for(;e[o++]>=128;);s=e[Qt](r.l,o),r.l=o;break;case 1:s=e[Qt](o,o+8),r.l=o+8;break;case 2:var c=gc(e,r);s=e[Qt](r.l,r.l+c),r.l+=c;break;case 5:s=e[Qt](o,o+4),r.l=o+4;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var l={data:s,type:a};null==t[i]&&(t[i]=[]),t[i].push(l)}return t}function La(e,t){return e?.map(function(r){return t(r.data)})||[]}function GU(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r={l:0},n=gc(t,r),i=[],a=r.l;a<t.length;){var s=3&t[a];if(0!=s){var l=0,u=0;if(1==s?(u=4+(t[a]>>2&7),l=(224&t[a++])<<3,l|=t[a++]):(u=1+(t[a++]>>2),2==s?(l=t[a]|t[a+1]<<8,a+=2):(l=(t[a]|t[a+1]<<8|t[a+2]<<16|t[a+3]<<24)>>>0,a+=4)),0==l)throw new Error("Invalid offset 0");for(var f=i.length-1,d=l;f>=0&&d>=i[f].length;)d-=i[f].length,--f;if(f<0){if(0!=d)throw new Error("Invalid offset beyond length");d=i[f=0].length}if(u<d)i.push(i[f][Qt](i[f].length-d,i[f].length-d+u));else{for(d>0&&(i.push(i[f][Qt](i[f].length-d)),u-=d),++f;u>=i[f].length;)i.push(i[f]),u-=i[f].length,++f;u&&i.push(i[f][Qt](0,u))}i.length>25&&(i=[ta(i)])}else{var o=t[a++]>>2;if(o<60)++o;else{var c=o-59;o=t[a],c>1&&(o|=t[a+1]<<8),c>2&&(o|=t[a+2]<<16),c>3&&(o|=t[a+3]<<24),o>>>=0,o++,a+=c}i.push(t[Qt](a,a+o)),a+=o}}for(var h=0,p=0;p<i.length;++p)h+=i[p].length;if(h!=n)throw new Error("Unexpected length: ".concat(h," != ").concat(n));return i}var zU=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[]}};function BE(e,t,r,n,i){var a,s,o,c,u=t>>8,f=u>=5?i:n;e:if(r&(u>4?8:4)&&"n"==e.t&&7==(255&t)){var d=null!=(a=f[7])&&a[0]?nt(f[7][0].data):-1;if(-1==d)break e;var h=null!=(s=f[15])&&s[0]?nt(f[15][0].data):-1,p=null!=(o=f[16])&&o[0]?nt(f[16][0].data):-1,m=null!=(c=f[40])&&c[0]?nt(f[40][0].data):-1,g=e.v,x=g;t:if(m){if(0==g){h=p=2;break t}h=g>=604800?1:g>=86400?2:g>=3600?4:g>=60?8:g>=1?16:32,Math.floor(g)!=g?p=32:g%60?p=16:g%3600?p=8:g%86400?p=4:g%604800&&(p=2),p<h&&(p=h)}if(-1==h||-1==p)break e;var _=[],v=[];1==h&&(x=g/604800,1==p?v.push('d"d"'):g-=604800*(x|=0),_.push(x+(2==d?" week"+(1==x?"":"s"):1==d?"w":""))),h<=2&&p>=2&&(x=g/86400,p>2&&(g-=86400*(x|=0)),v.push('d"d"'),_.push(x+(2==d?" day"+(1==x?"":"s"):1==d?"d":""))),h<=4&&p>=4&&(x=g/3600,p>4&&(g-=3600*(x|=0)),v.push((h>=4?"[h]":"h")+'"h"'),_.push(x+(2==d?" hour"+(1==x?"":"s"):1==d?"h":""))),h<=8&&p>=8&&(x=g/60,p>8&&(g-=60*(x|=0)),v.push((h>=8?"[m]":"m")+'"m"'),_.push(0==d?(8==h&&8==p||x>=10?"":"0")+x:x+(2==d?" minute"+(1==x?"":"s"):1==d?"m":""))),h<=16&&p>=16&&(x=g,p>16&&(g-=x|=0),v.push((h>=16?"[s]":"s")+'"s"'),_.push(0==d?(16==p&&16==h||x>=10?"":"0")+x:x+(2==d?" second"+(1==x?"":"s"):1==d?"s":""))),p>=32&&(x=Math.round(1e3*g),h<32&&v.push('.000"ms"'),_.push(0==d?(x>=100?"":x>=10?"0":"00")+x:x+(2==d?" millisecond"+(1==x?"":"s"):1==d?"ms":""))),e.w=_.join(0==d?":":" "),e.z=v.join(0==d?'":"':" "),0==d&&(e.w=e.w.replace(/:(\d\d\d)$/,".$1"))}}function YU(e,t){switch(e[0]){case 0:case 1:case 2:case 3:case 4:return function XU(e,t,r){var n=Ni(e),i=n.getUint32(4,!0),a=-1,s=-1,o=-1,c=NaN,l=new Date(2001,0,1),u=r>1?12:8;2&i&&(o=n.getUint32(u,!0),u+=4),u+=4*dp(i&(r>1?3468:396)),512&i&&(a=n.getUint32(u,!0),u+=4),u+=4*dp(i&(r>1?12288:4096)),16&i&&(s=n.getUint32(u,!0),u+=4),32&i&&(c=n.getFloat64(u,!0),u+=8),64&i&&(l.setTime(l.getTime()+1e3*n.getFloat64(u,!0)),u+=8),r>1&&255&(i=n.getUint32(8,!0)>>>16)&&(-1==o&&(o=n.getUint32(u,!0)),u+=4);var f,d=e[r>=4?1:2];switch(d){case 0:return;case 2:case 7:f={t:"n",v:c};break;case 3:f={t:"s",v:t.sst[s]};break;case 5:f={t:"d",v:l};break;case 6:f={t:"b",v:c>0};break;case 8:f={t:"e",v:0};break;case 9:if(!(a>-1))throw new Error("Unsupported cell type ".concat(e[Qt](0,4)));f={t:"s",v:t.rsst[a]};break;default:throw new Error("Unsupported cell type ".concat(e[Qt](0,4)))}return o>-1&&BE(f,d|r<<8,i,t.ofmt[o],t.nfmt[o]),7==d&&(f.v/=86400),f}(e,t,e[0]);case 5:return function KU(e,t){var r=Ni(e),i=(r.getUint32(4,!0),r.getUint32(8,!0)),a=12,s=-1,o=-1,c=-1,l=NaN,u=NaN,f=new Date(2001,0,1);1&i&&(l=function $U(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,n=1&e[t+14],i=t+13;i>=t;--i)n=256*n+e[i];return(128&e[t+15]?-n:n)*Math.pow(10,r-6176)}(e,a),a+=16),2&i&&(u=r.getFloat64(a,!0),a+=8),4&i&&(f.setTime(f.getTime()+1e3*r.getFloat64(a,!0)),a+=8),8&i&&(o=r.getUint32(a,!0),a+=4),16&i&&(s=r.getUint32(a,!0),a+=4);var d,h=e[1];switch(h){case 0:return;case 2:case 10:d={t:"n",v:l};break;case 3:d={t:"s",v:t.sst[o]};break;case 5:d={t:"d",v:f};break;case 6:d={t:"b",v:u>0};break;case 7:d={t:"n",v:u};break;case 8:d={t:"e",v:0};break;case 9:d={t:"s",v:t.rsst[s]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&i," : ").concat(e[Qt](0,4)))}return a+=4*dp(8160&i),516096&i&&(-1==c&&(c=r.getUint32(a,!0)),a+=4),c>-1&&BE(d,1280|h,i>>13,t.ofmt[c],t.nfmt[c]),7==h&&(d.v/=86400),d}(e,t);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function _t(e){return nt(he(e)[1][0].data)}function Uu(e,t){var r=he(t.data),n=nt(r[1][0].data),a=[];return(r[3]||[]).forEach(function(s){var o=he(s.data);if(o[1]){var c=nt(o[1][0].data)>>>0;switch(n){case 1:a[c]=dr(o[3][0].data);break;case 8:var u=he(e[_t(o[9][0].data)][0].data),f=e[_t(u[1][0].data)][0],d=nt(f.meta[1][0].data);if(2001!=d)throw new Error("2000 unexpected reference to ".concat(d));var h=he(f.data);a[c]=h[3].map(function(p){return dr(p.data)}).join("");break;case 2:a[c]=he(o[6][0].data);break;default:throw n}}}),a}function JU(e,t,r){var n=he(t.data),i={"!ref":"A1"};r?.dense&&(i["!data"]=[]);var a=e[_t(n[2][0].data)],s=nt(a[0].meta[1][0].data);if(6001!=s)throw new Error("6000 unexpected reference to ".concat(s));return function QU(e,t,r){var n,i,a,s,o,c,l=he(t.data),u={s:{r:0,c:0},e:{r:0,c:0}};if(u.e.r=(nt(l[6][0].data)>>>0)-1,u.e.r<0)throw new Error("Invalid row varint ".concat(l[6][0].data));if(u.e.c=(nt(l[7][0].data)>>>0)-1,u.e.c<0)throw new Error("Invalid col varint ".concat(l[7][0].data));r["!ref"]=Le(u);var f=null!=r["!data"],d=r,h=he(l[4][0].data),p=zU();null!=(n=h[4])&&n[0]&&(p.sst=Uu(e,e[_t(h[4][0].data)][0])),null!=(i=h[11])&&i[0]&&(p.ofmt=Uu(e,e[_t(h[11][0].data)][0])),null!=(a=h[17])&&a[0]&&(p.rsst=Uu(e,e[_t(h[17][0].data)][0])),null!=(s=h[22])&&s[0]&&(p.nfmt=Uu(e,e[_t(h[22][0].data)][0]));var m=he(h[3][0].data),g=0;if(m[1].forEach(function(v){var S=he(v.data),P=e[_t(S[2][0].data)][0],b=nt(P.meta[1][0].data);if(6002!=b)throw new Error("6001 unexpected reference to ".concat(b));var w=function ZU(e,t){var r,n=he(t.data),i=-1;null!=(r=n?.[7])&&r[0]&&(i=nt(n[7][0].data)>>>0?1:0);var a=La(n[5],function(s){return function qU(e,t){var r,n,i,a,s,o,c,l,u,f,d,h,p,m,S,P,g=he(e),x=nt(g[1][0].data)>>>0,_=nt(g[2][0].data)>>>0,v=(null==(n=null==(r=g[8])?void 0:r[0])?void 0:n.data)&&nt(g[8][0].data)>0||!1;if(null!=(a=null==(i=g[7])?void 0:i[0])&&a.data&&0!=t)S=null==(o=null==(s=g[7])?void 0:s[0])?void 0:o.data,P=null==(l=null==(c=g[6])?void 0:c[0])?void 0:l.data;else{if(null==(f=null==(u=g[4])?void 0:u[0])||!f.data||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");S=null==(h=null==(d=g[4])?void 0:d[0])?void 0:h.data,P=null==(m=null==(p=g[3])?void 0:p[0])?void 0:m.data}for(var b=v?4:1,w=Ni(S),M=[],I=0;I<S.length/2;++I){var L=w.getUint16(2*I,!0);L<65535&&M.push([I,L])}if(M.length!=_)throw"Expected ".concat(_," cells, found ").concat(M.length);var H=[];for(I=0;I<M.length-1;++I)H[M[I][0]]=P[Qt](M[I][1]*b,M[I+1][1]*b);return M.length>=1&&(H[M[M.length-1][0]]=P[Qt](M[M.length-1][1]*b)),{R:x,cells:H}}(s,i)});return{nrows:nt(n[4][0].data)>>>0,data:a.reduce(function(s,o){return s[o.R]||(s[o.R]=[]),o.cells.forEach(function(c,l){if(s[o.R][l])throw new Error("Duplicate cell r=".concat(o.R," c=").concat(l));s[o.R][l]=c}),s},[])}}(0,P);w.data.forEach(function(M,I){M.forEach(function(L,H){var O=YU(L,p);O&&(f?(d["!data"][g+I]||(d["!data"][g+I]=[]),d["!data"][g+I][H]=O):r[Ye(H)+tt(g+I)]=O)})}),g+=w.nrows}),null!=(o=h[13])&&o[0]){var x=e[_t(h[13][0].data)][0],_=nt(x.meta[1][0].data);if(6144!=_)throw new Error("Expected merge type 6144, found ".concat(_));r["!merges"]=null==(c=he(x.data))?void 0:c[1].map(function(v){var S=he(v.data),P=Ni(he(S[1][0].data)[1][0].data),b=Ni(he(S[2][0].data)[1][0].data);return{s:{r:P.getUint16(0,!0),c:P.getUint16(2,!0)},e:{r:P.getUint16(0,!0)+b.getUint16(0,!0)-1,c:P.getUint16(2,!0)+b.getUint16(2,!0)-1}}})}}(e,a[0],i),i}function hp(e,t){var r,n,i,a,s,o,c,l={},u=[];if(e.FullPaths.forEach(function(d){if(d.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(d){if(d.name.match(/\.iwa$/)&&0==d.content[0]){var h,p;try{h=function vc(e){Array.isArray(e)&&(e=new Uint8Array(e));for(var t=[],r=0;r<e.length;){var n=e[r++],i=e[r]|e[r+1]<<8|e[r+2]<<16;t.push.apply(t,GU(n,e[Qt](r+=3,r+i))),r+=i}if(r!==e.length)throw new Error("data is not a valid framed stream!");return 1==t.length?t[0]:ta(t)}(d.content)}catch(m){return console.log("?? "+d.content.length+" "+(m.message||m))}try{p=function mc(e){for(var t,r=[],n={l:0};n.l<e.length;){var i=gc(e,n),a=he(e[Qt](n.l,n.l+i));n.l+=i;var s={id:nt(a[1][0].data),messages:[]};a[2].forEach(function(o){var c=he(o.data),l=nt(c[3][0].data);s.messages.push({meta:c,data:e[Qt](n.l,n.l+l)}),n.l+=l}),null!=(t=a[3])&&t[0]&&(s.merge=nt(a[3][0].data)>>>0>0),r.push(s)}return r}(h)}catch(m){return console.log("## "+(m.message||m))}p.forEach(function(m){l[m.id]=m.messages,u.push(m.id)})}}),!u.length)throw new Error("File has no messages");if(null!=(i=null==(n=null==(r=l?.[1])?void 0:r[0].meta)?void 0:n[1])&&i[0].data&&1e4==nt(l[1][0].meta[1][0].data))throw new Error("Pages documents are not supported");var f=(null==(c=null==(o=null==(s=null==(a=l?.[1])?void 0:a[0])?void 0:s.meta)?void 0:o[1])?void 0:c[0].data)&&1==nt(l[1][0].meta[1][0].data)&&l[1][0];if(f||u.forEach(function(d){l[d].forEach(function(h){if(1==nt(h.meta[1][0].data)>>>0){if(f)throw new Error("Document has multiple roots");f=h}})}),!f)throw new Error("Cannot find Document root");return function tH(e,t,r){var n,i={SheetNames:[],Sheets:{}},a=he(t.data);if(null!=(n=a[2])&&n[0])throw new Error("Keynote presentations are not supported");if(La(a[1],_t).forEach(function(o){e[o].forEach(function(c){if(2==nt(c.meta[1][0].data)){var u=function eH(e,t,r){var n,i=he(t.data),a={name:null!=(n=i[1])&&n[0]?dr(i[1][0].data):"",sheets:[]};return La(i[2],_t).forEach(function(o){e[o].forEach(function(c){6e3==nt(c.meta[1][0].data)&&a.sheets.push(JU(e,c,r))})}),a}(e,c,r);u.sheets.forEach(function(f,d){Wu(i,f,0==d?u.name:u.name+"_"+d,!0)})}})}),0==i.SheetNames.length)throw new Error("Empty NUMBERS file");return i.bookType="numbers",i}(l,f,t)}function pp(e){!function VE(e){return function(r){for(var n=0;n!=e.length;++n){var i=e[n];void 0===r[i[0]]&&(r[i[0]]=i[1]),"n"===i[2]&&(r[i[0]]=Number(r[i[0]]))}}}([["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 cH(e){return We.WS.indexOf(e)>-1?"sheet":We.CS&&e==We.CS?"chart":We.DS&&e==We.DS?"dialog":We.MS&&e==We.MS?"macro":e&&e.length?e:"sheet"}function uH(e,t,r,n,i,a,s,o,c,l,u,f){try{a[n]=Qo(qr(e,r,!0),t);var h,d=Yt(e,t);switch(o){case"sheet":h=B7(d,t,i,c,a[n],l,u,f);break;case"chart":if(!(h=function U7(e,t,r,n,i,a,s,o){return".bin"===t.slice(-4)?function f7(e,t,r,n,i){if(!e)return e;n||(n={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},s=[],o=!1;return bi(e,function(l,u,f){switch(f){case 550:a["!rel"]=l;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),l.name&&(i.Sheets[r].CodeName=l.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:s.push(f);break;case 38:s.pop();break;default:if(u.T>0)s.push(f);else if(u.T<0)s.pop();else if(!o||t.WTF)throw new Error("Unexpected record 0x"+f.toString(16))}},t),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}(e,n,r,i,a):function l7(e,t,r,n,i){if(!e)return e;n||(n={"!id":{}});var s,a={"!type":"chart","!drawel":null,"!rel":""},o=e.match(cE);return o&&sp(o[0],0,i,r),(s=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=s[1]),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}(e,0,r,i,a)}(d,t,i,c,a[n],l))||!h["!drawel"])break;var p=jo(h["!drawel"].Target,t),m=Zo(p),g=function o6(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(qr(e,p,!0),Qo(qr(e,m,!0),p)),x=jo(g,p),_=Zo(x);h=function c7(e,t,r,n,i,a){var s=a||{"!type":"chart"};if(!e)return a;var o=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(f){var d=function o7(e){var n,t=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(a){var s=a.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);s&&(t[+s[1]]=r?+s[2]:s[2])});var i=et((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(a){n=a.replace(/<.*?>/g,"")}),[t,i,n]}(f);u.s.r=u.s.c=0,u.e.c=o,l=Ye(o),d[0].forEach(function(h,p){s["!data"]?(s["!data"][p]||(s["!data"][p]=[]),s["!data"][p][o]={t:"n",v:h,z:d[1]}):s[l+tt(p)]={t:"n",v:h,z:d[1]},c=p}),u.e.r<c&&(u.e.r=c),++o}),o>0&&(s["!ref"]=Le(u)),s}(qr(e,x,!0),0,0,Qo(qr(e,_,!0),x),0,h);break;case"macro":h=function H7(e,t,r,n,i,a,s,o){return t.slice(-4),{"!type":"macro"}}(0,t);break;case"dialog":h=function V7(e,t,r,n,i,a,s,o){return t.slice(-4),{"!type":"dialog"}}(0,t);break;default:throw new Error("Unrecognized sheet type "+o)}s[n]=h;var v=[],S=[];a&&a[n]&&Ft(a[n]).forEach(function(P){var b="";if(a[n][P].Type==We.CMNT){if(b=jo(a[n][P].Target,t),!(v=function W7(e,t,r){return".bin"===t.slice(-4)?function _6(e,t){var r=[],n=[],i={},a=!1;return bi(e,function(o,c,l){switch(l){case 632:n.push(o);break;case 635:i=o;break;case 637:i.t=o.t,i.h=o.h,i.r=o.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:case 37:case 38:break;case 35:a=!0;break;case 36:a=!1;break;default:if(!c.T&&(!a||t.WTF))throw new Error("Unexpected record 0x"+l.toString(16))}}),r}(e,r):function l6(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(s){if(""!==s&&""!==s.trim()){var o=s.match(/<(?:\w+:)?author[^>]*>(.*)/);o&&r.push(o[1])}});var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach(function(s){if(""!==s&&""!==s.trim()){var o=s.match(/<(?:\w+:)?comment[^>]*>/);if(o){var c=_e(o[0]),l={author:c.authorId&&r[c.authorId]||"sheetjsghost",ref:c.ref,guid:c.guid},u=pt(c.ref);if(!(t.sheetRows&&t.sheetRows<=u.r)){var f=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),d=!!f&&!!f[1]&&Yh(f[1])||{r:"",t:"",h:""};l.r=d.r,"<t></t>"==d.r&&(d.t=d.h=""),l.t=(d.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(l.h=d.h),n.push(l)}}}}),n}(e,r)}(Yt(e,b,!0),b,c))||!v.length)return;G2(h,v,!1)}a[n][P].Type==We.TCMNT&&(b=jo(a[n][P].Target,t),S=S.concat(function f6(e,t){var r=[],n=!1,i={},a=0;return e.replace(Dr,function(o,c){var l=_e(o);switch(Hn(l[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":i={author:l.personId,guid:l.id,ref:l.ref,T:1};break;case"</threadedComment>":null!=i.t&&r.push(i);break;case"<text>":case"<text":a=c+o.length;break;case"</text>":i.t=e.slice(a,c).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":case"<ext":n=!0;break;case"</mentions>":case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return o}),r}(Yt(e,b,!0),c)))}),S&&S.length&&G2(h,S,!0,c.people||[])}catch(P){if(c.WTF)throw P}}function kn(e){return"/"==e.charAt(0)?e.slice(1):e}function jE(e,t){if(Is(),pp(t=t||{}),Dn(e,"META-INF/manifest.xml")||Dn(e,"objectdata.xml"))return function IE(e,t){t=t||{},Dn(e,"META-INF/manifest.xml")&&function tR(e,t){for(var n,i,r=gu(e);n=qt.exec(r);)switch(n[3]){case"manifest":break;case"file-entry":if("/"==(i=_e(n[0],!1)).path&&i.type!==eR)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}}(Yt(e,"META-INF/manifest.xml"),t);var r=qr(e,"styles.xml"),n=r&&FE(xt(r)),i=qr(e,"content.xml");if(!i)throw new Error("Missing content.xml in ODS / UOF file");var a=bE(xt(i),t,n);return Dn(e,"meta.xml")&&(a.Props=Kw(Yt(e,"meta.xml"))),a.bookType="ods",a}(e,t);if(Dn(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(e.FileIndex)return hp(e,t);var r=Te.utils.cfb_new();return lw(e).forEach(function(K){!function je(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=Ke?ri(r):function E3(e){for(var t=[],r=0,n=e.length+250,i=zi(e.length+255),a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s<128)i[r++]=s;else if(s<2048)i[r++]=192|s>>6&31,i[r++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var o=1023&e.charCodeAt(++a);i[r++]=240|s>>8&7,i[r++]=128|s>>2&63,i[r++]=128|o>>6&15|(3&s)<<4,i[r++]=128|63&o}else i[r++]=224|s>>12&15,i[r++]=128|s>>6&63,i[r++]=128|63&s;r>n&&(t.push(i.slice(0,r)),r=0,i=zi(65535),n=65530)}return t.push(i.slice(0,r)),Xt(t)}(r),Te.utils.cfb_add(e,t,n);Te.utils.cfb_add(e,t,r)}else e.file(t,r)}(r,K,cw(e,K))}),hp(r,t)}if(!Dn(e,"[Content_Types].xml")){if(Dn(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Dn(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var n=Te.find(e,"Index.zip");if(n)return delete(t=gt(t)).type,"string"==typeof n.content&&(t.type="binary"),typeof Bun<"u"&&Buffer.isBuffer(n.content)?Ba(new Uint8Array(n.content),t):Ba(n.content,t);throw new Error("Unsupported ZIP file")}var o,c,i=lw(e),a=function JO(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(Dr)||[]).forEach(function(n){var i=_e(n);switch(i[0].replace(lO,"<")){case"<?xml":break;case"<Types":t.xmlns=i["xmlns"+(i[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[i.Extension.toLowerCase()]=i.ContentType;break;case"<Override":void 0!==t[Hh[i.ContentType]]&&t[Hh[i.ContentType]].push(i.PartName)}}),t.xmlns!==ir.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}(qr(e,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&Yt(e,c="xl/workbook.xml",!0)&&a.workbooks.push(c),0===a.workbooks.length){if(!Yt(e,c="xl/workbook.bin",!0))throw new Error("Could not find workbook");a.workbooks.push(c),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var l={},u={};if(!t.bookSheets&&!t.bookProps){if(lc=[],a.sst)try{lc=function $7(e,t,r){return".bin"===t.slice(-4)?function w8(e,t){var r=[],n=!1;return bi(e,function(a,s,o){switch(o){case 159:r.Count=a[0],r.Unique=a[1];break;case 19:r.push(a);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(!n||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),r}(e,r):function x8(e,t){var r=[],n="";if(!e)return r;var i=e.match(p8);if(i){n=i[2].replace(g8,"").split(m8);for(var a=0;a!=n.length;++a){var s=Yh(n[a].trim(),t);null!=s&&(r[r.length]=s)}i=_e(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}(e,r)}(Yt(e,kn(a.sst)),a.sst,t)}catch(K){if(t.WTF)throw K}t.cellStyles&&a.themes.length&&(l=$2(qr(e,a.themes[0].replace(/^\//,""),!0)||"",t)),a.style&&(u=function j7(e,t,r,n){return".bin"===t.slice(-4)?function vL(e,t,r){var n={NumberFmt:[]};for(var i in ke)n.NumberFmt[i]=ke[i];n.CellXf=[],n.Fonts=[];var a=[],s=!1;return bi(e,function(c,l,u){switch(u){case 44:n.NumberFmt[c[0]]=c[1],Yi(c[1],c[0]);break;case 43:n.Fonts.push(c),null!=c.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(c.color.rgb=Au(t.themeElements.clrScheme[c.color.theme].rgb,c.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:617==a[a.length-1]&&n.CellXf.push(c);break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(u),s=!0;break;case 38:a.pop(),s=!1;break;default:if(l.T>0)a.push(u);else if(l.T<0)a.pop();else if(!s||r.WTF&&37!=a[a.length-1])throw new Error("Unexpected record 0x"+u.toString(16))}}),n}(e,r,n):aL(e,r,n)}(Yt(e,kn(a.style)),a.style,l,t))}a.links.map(function(K){try{return Qo(qr(e,Zo(kn(K))),K),function z7(e,t,r,n){return".bin"===r.slice(-4)?function s6(e,t,r,n){if(!e)return e;var i=n||{},a=!1;bi(e,function(c,l,u){switch(u){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:a=!0;break;case 36:a=!1;break;default:if(!l.T&&(!a||i.WTF))throw new Error("Unexpected record 0x"+u.toString(16))}},i)}(e,0,0,n):void 0}(Yt(e,kn(K)),0,K,t)}catch{}});var f=function L7(e,t,r){return".bin"===t.slice(-4)?function A7(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;t||(t={}),t.biff=12;var a=[],s=[[]];return s.SheetNames=[],s.XTI=[],hc[16]={n:"BrtFRTArchID$",f:S7},bi(e,function(c,l,u){switch(u){case 156:s.SheetNames.push(c.name),r.Sheets.push(c);break;case 153:r.WBProps=c;break;case 39:null!=c.Sheet&&(t.SID=c.Sheet),c.Ref=Fr(c.Ptg,0,null,s,t),delete t.SID,delete c.Ptg,a.push(c);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353: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:case 16:break;case 357:case 358:case 355:case 667:s[0].length?s.push([u,c]):s[0]=[u,c],s[s.length-1].XTI=[];break;case 362:0===s.length&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(c),s.XTI=s.XTI.concat(c);break;case 35:case 37:n.push(u),i=!0;break;case 36:case 38:n.pop(),i=!1;break;default:if(!l.T&&(!i||t.WTF&&37!=n[n.length-1]&&35!=n[n.length-1]))throw new Error("Unexpected record 0x"+u.toString(16))}},t),hE(r),r.Names=a,r.supbooks=s,r}(e,r):function _7(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",a={},s=0;if(e.replace(Dr,function(c,l){var u=_e(c);switch(Hn(u[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":c.match(v7)&&(i="xmlns"+c.match(/<(\w+):/)[1]),r.xmlns=u[i];break;case"<fileVersion":delete u[0],r.AppVersion=u;break;case"<workbookPr":case"<workbookPr/>":op.forEach(function(f){if(null!=u[f[0]])switch(f[2]){case"bool":r.WBProps[f[0]]=mt(u[f[0]]);break;case"int":r.WBProps[f[0]]=parseInt(u[f[0]],10);break;default:r.WBProps[f[0]]=u[f[0]]}}),u.codeName&&(r.WBProps.CodeName=xt(u.codeName));break;case"<workbookView":case"<workbookView/>":delete u[0],r.WBView.push(u);break;case"<sheet":switch(u.state){case"hidden":u.Hidden=1;break;case"veryHidden":u.Hidden=2;break;default:u.Hidden=0}delete u.state,u.name=et(xt(u.name)),delete u[0],r.Sheets.push(u);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":n=!1;break;case"<definedName":(a={}).Name=xt(u.name),u.comment&&(a.Comment=u.comment),u.localSheetId&&(a.Sheet=+u.localSheetId),mt(u.hidden||"0")&&(a.Hidden=!0),s=l+c.length;break;case"</definedName>":a.Ref=et(xt(e.slice(s,l))),r.Names.push(a);break;case"<calcPr":case"<calcPr/>":delete u[0],r.CalcPr=u;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+u[0]+" in workbook")}return c}),-1===Ea.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return hE(r),r}(e,r)}(Yt(e,kn(a.workbooks[0])),a.workbooks[0],t),d={},h="";a.coreprops.length&&((h=Yt(e,kn(a.coreprops[0]),!0))&&(d=Kw(h)),0!==a.extprops.length&&(h=Yt(e,kn(a.extprops[0]),!0))&&function sR(e,t,r){var n={};t||(t={}),e=xt(e),ba.forEach(function(i){var a=(e.match($o(i[0]))||[])[1];switch(i[2]){case"string":a&&(t[i[1]]=et(a));break;case"bool":t[i[1]]="true"===a;break;case"raw":var s=e.match(new RegExp("<"+i[0]+"[^>]*>([\\s\\S]*?)</"+i[0]+">"));s&&s.length>0&&(n[i[1]]=s[1])}}),n.HeadingPairs&&n.TitlesOfParts&&Zw(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,d,t));var p={};(!t.bookSheets||t.bookProps)&&0!==a.custprops.length&&(h=qr(e,kn(a.custprops[0]),!0))&&(p=function cR(e,t){var r={},n="",i=e.match(oR);if(i)for(var a=0;a!=i.length;++a){var s=i[a],o=_e(s);switch(Hn(o[0])){case"<?xml":case"<Properties":break;case"<property":n=et(o.name);break;case"</property>":n=null;break;default:if(0===s.indexOf("<vt:")){var c=s.split(">"),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":r[n]=et(u);break;case"bool":r[n]=mt(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=bt(u);break;default:if("/"==l.slice(-1))break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",s,l,c)}}else if("</"!==s.slice(0,2)&&t.WTF)throw new Error(s)}}return r}(h,t));var m={};if((t.bookSheets||t.bookProps)&&(f.Sheets?o=f.Sheets.map(function(oe){return oe.name}):d.Worksheets&&d.SheetNames.length>0&&(o=d.SheetNames),t.bookProps&&(m.Props=d,m.Custprops=p),t.bookSheets&&typeof o<"u"&&(m.SheetNames=o),t.bookSheets?m.SheetNames:t.bookProps))return m;o={};var g={};t.bookDeps&&a.calcchain&&(g=function G7(e,t,r){return".bin"===t.slice(-4)?function a6(e,t,r){var n=[];return bi(e,function(s,o,c){if(63===c)n.push(s);else if(!o.T)throw new Error("Unexpected record 0x"+c.toString(16))}),n}(e):function n6(e){var t=[];if(!e)return t;var r=1;return(e.match(Dr)||[]).forEach(function(n){var i=_e(n);switch(i[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete i[0],i.i?r=i.i:i.i=r,t.push(i)}}),t}(e)}(Yt(e,kn(a.calcchain)),a.calcchain));var v,S,x=0,_={},P=f.Sheets;d.Worksheets=P.length,d.SheetNames=[];for(var b=0;b!=P.length;++b)d.SheetNames[b]=P[b].name;var w=s?"bin":"xml",M=a.workbooks[0].lastIndexOf("/"),I=(a.workbooks[0].slice(0,M+1)+"_rels/"+a.workbooks[0].slice(M+1)+".rels").replace(/^\//,"");Dn(e,I)||(I="xl/_rels/workbook."+w+".rels");var L=Qo(qr(e,I,!0),I.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=function X7(e,t,r){return".bin"===t.slice(-4)?function JL(e,t,r){var n={Types:[],Cell:[],Value:[]},i=r||{},a=[],s=!1,o=2;return bi(e,function(c,l,u){switch(u){case 335:n.Types.push({name:c.name});break;case 51:c.forEach(function(f){1==o?n.Cell.push({type:n.Types[f[0]-1].name,index:f[1]}):0==o&&n.Value.push({type:n.Types[f[0]-1].name,index:f[1]})});break;case 337:o=c?1:0;break;case 338:o=2;break;case 35:a.push(u),s=!0;break;case 36:a.pop(),s=!1;break;default:if(!l.T&&(!s||i.WTF&&35!=a[a.length-1]))throw new Error("Unexpected record 0x"+u.toString(16))}}),n}(e,0,r):function t6(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var s,i=!1,a=2;return e.replace(Dr,function(o){var c=_e(o);switch(Hn(c[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":n.Types.push({name:c.name});break;case"<futureMetadata":for(var l=0;l<n.Types.length;++l)n.Types[l].name==c.name&&(s=n.Types[l]);break;case"<rc":1==a?n.Cell.push({type:n.Types[c.t-1].name,index:+c.v}):0==a&&n.Value.push({type:n.Types[c.t-1].name,index:+c.v});break;case"<cellMetadata":a=1;break;case"</cellMetadata>":case"</valueMetadata>":a=2;break;case"<valueMetadata":a=0;break;case"<ext":i=!0;break;case"</ext>":i=!1;break;case"<rvb":if(!s)break;s.offsets||(s.offsets=[]),s.offsets.push(+c.i);break;default:if(!i&&r?.WTF)throw new Error("unrecognized "+c[0]+" in metadata")}return o}),n}(e,0,r)}(Yt(e,kn(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=function h6(e,t){var r=[],n=!1;return e.replace(Dr,function(a){var s=_e(a);switch(Hn(s[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":r.push({name:s.displayname,id:s.id});break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return a}),r}(Yt(e,kn(a.people[0])),t)),L&&(L=function lH(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,cH(e["!id"][n.id].Type)]})}catch{return null}return e&&0!==e.length?e:null}(L,f.Sheets));var H=Yt(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(x=0;x!=d.Worksheets;++x){var O="sheet";if(L&&L[x]?(v="xl/"+L[x][1].replace(/[\/]?xl\//,""),Dn(e,v)||(v=L[x][1]),Dn(e,v)||(v=I.replace(/_rels\/.*$/,"")+L[x][1]),O=L[x][2]):v=(v="xl/worksheets/sheet"+(x+1-H)+"."+w).replace(/sheet0\./,"sheet."),S=v.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(x!=t.sheets)continue e;break;case"string":if(d.SheetNames[x].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var ee=!1,te=0;te!=t.sheets.length;++te)"number"==typeof t.sheets[te]&&t.sheets[te]==x&&(ee=1),"string"==typeof t.sheets[te]&&t.sheets[te].toLowerCase()==d.SheetNames[x].toLowerCase()&&(ee=1);if(!ee)continue e}}uH(e,v,S,d.SheetNames[x],x,_,o,O,t,f,l,u)}return m={Directory:a,Workbook:f,Props:d,Custprops:p,Deps:g,Sheets:o,SheetNames:d.SheetNames,Strings:lc,Styles:u,Themes:l,SSF:gt(ke)},t&&t.bookFiles&&(e.files?(m.keys=i,m.files=e.files):(m.keys=[],m.files={},e.FullPaths.forEach(function(K,oe){K=K.replace(/^Root Entry[\/]/,""),m.keys.push(K),m.files[K]=e.FileIndex[oe]}))),t&&t.bookVBA&&(a.vba.length>0?m.vbaraw=Yt(e,kn(a.vba[0]),!0):a.defaults&&a.defaults.bin===w6&&(m.vbaraw=Yt(e,"xl/vbaProject.bin",!0))),m.bookType=s?"xlsb":"xlsx",m}function fH(e,t){var r=t||{},n="Workbook",i=Te.find(e,n);try{if(!(i=Te.find(e,n="/!DataSpaces/Version"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function S8(e){var t={};t.id=e.read_shift(0,"lpp4"),t.R=Mi(e,4),t.U=Mi(e,4),t.W=Mi(e,4)}(i.content),!(i=Te.find(e,n="/!DataSpaces/DataSpaceMap"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=function k8(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(C8(e));return t}(i.content);if(1!==a.length||1!==a[0].comps.length||0!==a[0].comps[0].t||"StrongEncryptionDataSpace"!==a[0].name||"EncryptedPackage"!==a[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(!(i=Te.find(e,n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function A8(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(i.content);if(1!=s.length||"StrongEncryptionTransform"!=s[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(!(i=Te.find(e,n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);!function b8(e){var t=function F8(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=Mi(e,4),t.U=Mi(e,4),t.W=Mi(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}(i.content)}catch{}if(!(i=Te.find(e,n="/EncryptionInfo"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function I8(e){var t=Mi(e);switch(t.Minor){case 2:return[t.Minor,M8(e)];case 3:return[t.Minor,N8()];case 4:return[t.Minor,O8(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(i.content);if(!(i=Te.find(e,n="/EncryptedPackage"))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==o[0]&&typeof decrypt_agile<"u")return decrypt_agile(o[1],i.content,r.password||"",r);if(2==o[0]&&typeof decrypt_std76<"u")return decrypt_std76(o[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function mp(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=cn(e.slice(0,12));break;case"binary":r=e;break;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 WE(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 lp(e.slice(r),t);default:break e}return Bs.to_workbook(e,t)}function xp(e,t,r,n){return n?(r.type="string",Bs.to_workbook(e,r)):Bs.to_workbook(t,r)}function Ba(e,t){nu();var r=t||{};if(r.codepage&&typeof Be>"u"&&console.error("Codepage tables are not loaded. Non-ASCII characters may not give expected results"),typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer)return Ba(new Uint8Array(e),((r=gt(r)).type="array",r));typeof Uint8Array<"u"&&e instanceof Uint8Array&&!r.type&&(r.type=typeof Deno<"u"?"buffer":"array");var i,n=e,a=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),Hs={},r.dateNF&&(Hs.dateNF=r.dateNF),r.type||(r.type=Ke&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=Ke?"buffer":"binary",n=function Z3(e){if(typeof Ai<"u")return Ai.readFileSync(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)}(e),typeof Uint8Array<"u"&&!Ke&&(r.type="array")),"string"==r.type&&(a=!0,r.type="binary",r.codepage=65001,n=function xH(e){return e.match(/[^\x00-\x7F]/)?ai(e):e}(e)),"array"==r.type&&typeof Uint8Array<"u"&&e instanceof Uint8Array&&typeof ArrayBuffer<"u"){var s=new ArrayBuffer(3),o=new Uint8Array(s);if(o.foo="bar",!o.foo)return(r=gt(r)).type="array",Ba(uh(n),r)}switch((i=mp(n,r))[0]){case 208:if(207===i[1]&&17===i[2]&&224===i[3]&&161===i[4]&&177===i[5]&&26===i[6]&&225===i[7])return function hH(e,t){return Te.find(e,"EncryptedPackage")?fH(e,t):up(e,t)}(Te.read(n,r),r);break;case 9:if(i[1]<=8)return up(n,r);break;case 60:return lp(n,r);case 73:if(73===i[1]&&42===i[2]&&0===i[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===i[1])return function o8(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var i=M2.to_workbook(e,r);return r.WTF=n,i}catch(a){if(r.WTF=n,!a.message.match(/SYLK bad record ID/)&&n)throw a;return Bs.to_workbook(e,t)}}(n,r);break;case 84:if(65===i[1]&&66===i[2]&&76===i[3])return N2.to_workbook(n,r);break;case 80:return 75===i[1]&&i[2]<9&&i[3]<9?function pH(e,t){var n=e,i=t||{};return i.type||(i.type=Ke&&Buffer.isBuffer(e)?"buffer":"base64"),jE(uw(n,i),i)}(n,r):xp(e,n,r,a);case 239:return 60===i[3]?lp(n,r):xp(e,n,r,a);case 255:if(254===i[1])return function mH(e,t){var r=e;return"base64"==t.type&&(r=cn(r)),typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer&&(r=new Uint8Array(e)),r=typeof Be<"u"?Be.utils.decode(1200,r.slice(2),"str"):Ke&&Buffer.isBuffer(e)?e.slice(2).toString("utf16le"):typeof Uint8Array<"u"&&r instanceof Uint8Array?typeof TextDecoder<"u"?new TextDecoder("utf-16le").decode(r.slice(2)):function v3(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e[2*r]+(e[2*r+1]<<8));return t.join("")}(r.slice(2)):Iy(r.slice(2)),t.type="binary",WE(r,t)}(n,r);if(0===i[1]&&2===i[2]&&0===i[3])return Oa.to_workbook(n,r);break;case 0:if(0===i[1]&&(i[2]>=2&&0===i[3]||0===i[2]&&(8===i[3]||9===i[3])))return Oa.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return Kh.to_workbook(n,r);case 123:if(92===i[1]&&114===i[2]&&116===i[3])return function $8(e,t){var r=qi(function j8(e,t){switch(t.type){case"base64":return ku(cn(e),t);case"binary":return ku(e,t);case"buffer":return ku(Ke&&Buffer.isBuffer(e)?e.toString("binary"):ni(e),t);case"array":return ku(wa(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),t);return r.bookType="rtf",r}(n,r);break;case 10:case 13:case 32:return function gH(e,t){var r="",n=mp(e,t);switch(t.type){case"base64":r=cn(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=wa(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=xt(r)),t.type="binary",WE(r,t)}(n,r);case 137:if(80===i[1]&&78===i[2]&&71===i[3])throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(231===i[1])throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(236===i[1])throw new Error("Unsupported Multiplan 2.x file!");if(237===i[1])throw new Error("Unsupported Multiplan 3.x file!")}return s8.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?Kh.to_workbook(n,r):xp(e,n,r,a)}function YE(e,t,r,n,i,a,s){var o=tt(r),c=s.defval,l=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),u=!0,f=null!=e["!data"],d=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:r,enumerable:!1})}catch{d.__rowNum__=r}else d.__rowNum__=r;if(!f||e["!data"][r])for(var h=t.s.c;h<=t.e.c;++h){var p=f?(e["!data"][r]||[])[h]:e[n[h]+o];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[h]){if(null==m)if("e"==p.t&&null===m)d[a[h]]=null;else if(void 0!==c)d[a[h]]=c;else{if(!l||null!==m)continue;d[a[h]]=null}else d[a[h]]=l&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:si(p,m,s);null!=m&&(u=!1)}}else{if(void 0===c)continue;null!=a[h]&&(d[a[h]]=c)}}return{row:d,isempty:u}}function ju(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,i=1,a=[],s=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},u=null!=l.range?l.range:e["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof u){case"string":c=rt(u);break;case"number":(c=rt(e["!ref"])).s.r=u;break;default:c=u}n>0&&(i=0);var f=tt(c.s.r),d=[],h=[],p=0,m=0,g=null!=e["!data"],x=c.s.r,_=0,v={};g&&!e["!data"][x]&&(e["!data"][x]=[]);var S=l.skipHidden&&e["!cols"]||[],P=l.skipHidden&&e["!rows"]||[];for(_=c.s.c;_<=c.e.c;++_)if(!(S[_]||{}).hidden)switch(d[_]=Ye(_),r=g?e["!data"][x][_]:e[d[_]+f],n){case 1:a[_]=_-c.s.c;break;case 2:a[_]=d[_];break;case 3:a[_]=l.header[_-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),o=s=si(r,null,l),m=v[s]||0){do{o=s+"_"+m++}while(v[o]);v[s]=m,v[o]=1}else v[s]=1;a[_]=o}for(x=c.s.r+i;x<=c.e.r;++x)if(!(P[x]||{}).hidden){var b=YE(e,c,x,d,n,a,l);(!1===b.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(h[p++]=b.row)}return h.length=p,h}var qE=/"/g;function ZE(e,t,r,n,i,a,s,o){for(var c=!0,l=[],u="",f=tt(r),d=null!=e["!data"],h=d&&e["!data"][r]||[],p=t.s.c;p<=t.e.c;++p)if(n[p]){var m=d?h[p]:e[n[p]+f];if(null==m)u="";else if(null!=m.v){c=!1,u=""+(o.rawNumbers&&"n"==m.t?m.v:si(m,null,o));for(var g=0,x=0;g!==u.length;++g)if((x=u.charCodeAt(g))===i||x===a||34===x||o.forceQuotes){u='"'+u.replace(qE,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==m.f||m.F?u="":(c=!1,(u="="+m.f).indexOf(",")>=0&&(u='"'+u.replace(qE,'""')+'"'));l.push(u)}return!1===o.blankrows&&c?null:l.join(s)}function yp(e,t){var r=[],n=t??{};if(null==e||null==e["!ref"])return"";for(var i=rt(e["!ref"]),a=void 0!==n.FS?n.FS:",",s=a.charCodeAt(0),o=void 0!==n.RS?n.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==a?"\\|":a)+"+$"),u="",f=[],d=n.skipHidden&&e["!cols"]||[],h=n.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(f[p]=Ye(p));for(var m=0,g=i.s.r;g<=i.e.r;++g)(h[g]||{}).hidden||null!=(u=ZE(e,i,g,f,s,c,a,n))&&(n.strip&&(u=u.replace(l,"")),(u||!1!==n.blankrows)&&r.push((m++?o:"")+u));return r.join("")}function JE(e,t,r){var n=r||{},i=e?null!=e["!data"]:n.dense;null!=Ht&&null==i&&(i=Ht);var a=+!n.skipHeader,s=e||{};!e&&i&&(s["!data"]=[]);var o=0,c=0;if(s&&null!=n.origin)if("number"==typeof n.origin)o=n.origin;else{var l="string"==typeof n.origin?pt(n.origin):n.origin;o=l.r,c=l.c}var u={s:{c:0,r:0},e:{c,r:o+t.length-1+a}};if(s["!ref"]){var f=rt(s["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==o&&(u.e.r=(o=f.e.r+1)+t.length-1+a)}else-1==o&&(o=0,u.e.r=t.length-1+a);var d=n.header||[],h=0,p=[];t.forEach(function(g,x){i&&!s["!data"][o+x+a]&&(s["!data"][o+x+a]=[]),i&&(p=s["!data"][o+x+a]),Ft(g).forEach(function(_){-1==(h=d.indexOf(_))&&(d[h=d.length]=_);var v=g[_],S="z",P="",b=i?"":Ye(c+h)+tt(o+x+a),w=i?p[c+h]:s[b];!v||"object"!=typeof v||v instanceof Date?("number"==typeof v?S="n":"boolean"==typeof v?S="b":"string"==typeof v?S="s":v instanceof Date?(S="d",n.cellDates||(S="n",v=Kt(v)),P=null!=w&&w.z&&Ki(w.z)?w.z:n.dateNF||ke[14]):null===v&&n.nullError&&(S="e",v=0),w?(w.t=S,w.v=v,delete w.w,delete w.R,P&&(w.z=P)):i?p[c+h]=w={t:S,v}:s[b]=w={t:S,v},P&&(w.z=P)):i?p[c+h]=v:s[b]=v})}),u.e.c=Math.max(u.e.c,c+d.length-1);var m=tt(o);if(i&&!s["!data"][o]&&(s["!data"][o]=[]),a)for(h=0;h<d.length;++h)i?s["!data"][o][h+c]={t:"s",v:d[h]}:s[Ye(h+c)+m]={t:"s",v:d[h]};return s["!ref"]=Le(u),s}function $u(e,t,r){if("string"==typeof t){if(null!=e["!data"]){var n=pt(t);return e["!data"][n.r]||(e["!data"][n.r]=[]),e["!data"][n.r][n.c]||(e["!data"][n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return $u(e,"number"!=typeof t?qe(t):Ye(r||0)+tt(t))}function Wu(e,t,r,n){var i=1;if(!r)for(;i<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+i);++i,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var a=r.match(/(^.*?)(\d+)$/);i=a&&+a[2]||0;var s=a&&a[1]||r;for(++i;i<=65535&&-1!=e.SheetNames.indexOf(r=s+i);++i);}if(function pE(e,t){try{if(""==e)throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(39==e.charCodeAt(0)||39==e.charCodeAt(e.length-1))throw new Error("Sheet name cannot start or end with apostrophe (')");if("history"==e.toLowerCase())throw new Error("Sheet name cannot be 'History'");m7.forEach(function(r){if(-1!=e.indexOf(r))throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(r){if(t)return!1;throw r}return!0}(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 eD(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var tD={encode_col:Ye,encode_row:tt,encode_cell:qe,encode_range:Le,decode_col:Fh,decode_row:Ah,split_cell:function bO(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:pt,decode_range:sr,format_cell:si,sheet_add_aoa:Lw,sheet_add_json:JE,sheet_add_dom:CE,aoa_to_sheet:Rs,json_to_sheet:function CH(e,t){return JE(null,e,t)},table_to_sheet:kE,table_to_book:function BU(e,t){return qi(kE(e,t),t)},sheet_to_csv:yp,sheet_to_txt:function QE(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=yp(e,t);if(typeof Be>"u"||"string"==t.type)return r;var n=Be.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n},sheet_to_json:ju,sheet_to_html:function SE(e,t){var r=t||{},i=null!=r.footer?r.footer:DE,a=[null!=r.header?r.header:EE],s=sr(e["!ref"]);a.push(function TE(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}(0,0,r));for(var o=s.s.r;o<=s.e.r;++o)a.push(wE(e,s,o,r));return a.push("</table>"+i),a.join("")},sheet_to_formulae:function SH(e){var r,t="",n="";if(null==e||null==e["!ref"])return[];var o,i=rt(e["!ref"]),a="",s=[],c=[],l=null!=e["!data"];for(o=i.s.c;o<=i.e.c;++o)s[o]=Ye(o);for(var u=i.s.r;u<=i.e.r;++u)for(a=tt(u),o=i.s.c;o<=i.e.c;++o)if(t=s[o]+a,n="",void 0!==(r=l?(e["!data"][u]||[])[o]:e[t])){if(null!=r.F){if(t=r.F,!r.f)continue;n=r.f,-1==t.indexOf(":")&&(t=t+":"+t)}if(null!=r.f)n=r.f;else{if("z"==r.t)continue;if("n"==r.t&&null!=r.v)n=""+r.v;else if("b"==r.t)n=r.v?"TRUE":"FALSE";else if(void 0!==r.w)n="'"+r.w;else{if(void 0===r.v)continue;n="s"==r.t?"'"+r.v:""+r.v}}c[c.length]=t+"="+n}return c},sheet_to_row_object_array:ju,sheet_get_cell:$u,book_new:function wp(){return{SheetNames:[],Sheets:{}}},book_append_sheet:Wu,book_set_sheet_visibility:function AH(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function kH(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(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},cell_set_number_format:function FH(e,t){return e.z=t,e},cell_set_hyperlink:eD,cell_set_internal_link:function bH(e,t,r){return eD(e,"#"+t,r)},cell_add_comment:function IH(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})},sheet_set_array_formula:function MH(e,t,r,n){for(var i="string"!=typeof t?t:rt(t),a="string"==typeof t?t:Le(t),s=i.s.r;s<=i.e.r;++s)for(var o=i.s.c;o<=i.e.c;++o){var c=$u(e,s,o);c.t="n",c.F=a,delete c.v,s==i.s.r&&o==i.s.c&&(c.f=r,n&&(c.D=!0))}var l=sr(e["!ref"]);return l.s.r>i.s.r&&(l.s.r=i.s.r),l.s.c>i.s.c&&(l.s.c=i.s.c),l.e.r<i.e.r&&(l.e.r=i.e.r),l.e.c<i.e.c&&(l.e.c=i.e.c),e["!ref"]=Le(l),e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const BH=["tableau"];let UH=(()=>{class e{constructor(r){this.sanitizer=r,this.html=""}ngOnInit(){var r=this;!function g3(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function s(c){by(a,n,i,s,o,"next",c)}function o(c){by(a,n,i,s,o,"throw",c)}s(void 0)})}}(function*(){const a=Ba(yield(yield fetch("/assets/write.dbf")).arrayBuffer()),s=tD.sheet_to_html(a.Sheets[a.SheetNames[0]]);r.html=r.sanitizer.bypassSecurityTrustHtml(s)})()}}return e.\u0275fac=function(r){return new(r||e)(Xe(Ay))},e.\u0275cmp=ag({type:e,selectors:[["app-root"]],viewQuery:function(r,n){if(1&r&&Wv(BH,5),2&r){let i;$v(i=function Gv(){return function BI(e,t){return e[Xn].queries[t].queryList}(Q(),kg())}())&&(n.tabeller=i.first)}},decls:2,vars:1,consts:[["role","main",1,"content",3,"innerHTML"],["tableau",""]],template:function(r,n){1&r&&X0(0,"div",0,1),2&r&&$0("innerHTML",n.html,$1)},encapsulation:2}),e})(),HH=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ks({type:e,bootstrap:[UH]}),e.\u0275inj=Va({imports:[o3]}),e})();s3().bootstrapModule(HH).catch(e=>console.error(e))}},Ot=>{Ot(Ot.s=834)}]); |