@studioindia/designx 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ var oo=Object.defineProperty,uo=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,qn=(n,e,t)=>e in n?oo(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,me=(n,e)=>{for(var t in e||(e={}))co.call(e,t)&&qn(n,t,e[t]);if(fi)for(var t of fi(e))fo.call(e,t)&&qn(n,t,e[t]);return n},He=(n,e)=>uo(n,lo(e)),se=(n,e,t)=>qn(n,typeof e!="symbol"?e+"":e,t),ho=(n,e,t)=>new Promise((s,c)=>{var l=f=>{try{i(t.next(f))}catch(S){c(S)}},p=f=>{try{i(t.throw(f))}catch(S){c(S)}},i=f=>f.done?s(f.value):Promise.resolve(f.value).then(l,p);i((t=t.apply(n,e)).next())});class Ht{constructor(e){se(this,"rootKey"),this.rootKey=e}}const po=Object.seal({});class ce extends Ht{constructor(e){super(e),se(this,"root"),this.root=new Array}prepForXml(e){var t;e.stack.push(this);const s=this.root.map(c=>c instanceof Ht?c.prepForXml(e):c).filter(c=>c!==void 0);return e.stack.pop(),{[this.rootKey]:s.length?s.length===1&&((t=s[0])!=null&&t._attr)?s[0]:s:po}}addChildElement(e){return this.root.push(e),this}}class zt extends ce{constructor(e,t){super(e),se(this,"includeIfEmpty"),this.includeIfEmpty=t}prepForXml(e){const t=super.prepForXml(e);if(this.includeIfEmpty||t&&(typeof t[this.rootKey]!="object"||Object.keys(t[this.rootKey]).length))return t}}class we extends Ht{constructor(e){super("_attr"),se(this,"xmlKeys"),this.root=e}prepForXml(e){const t={};return Object.entries(this.root).forEach(([s,c])=>{if(c!==void 0){const l=this.xmlKeys&&this.xmlKeys[s]||s;t[l]=c}}),{_attr:t}}}class mo extends Ht{constructor(e){super("_attr"),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:s})=>s!==void 0).reduce((s,{key:c,value:l})=>He(me({},s),{[c]:l}),{})}}}class Ae extends we{constructor(){super(...arguments),se(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var Re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Yt={},Nt={exports:{}},hi;function Zn(){if(hi)return Nt.exports;hi=1;var n=typeof Reflect=="object"?Reflect:null,e=n&&typeof n.apply=="function"?n.apply:function(A,P,L){return Function.prototype.apply.call(A,P,L)},t;n&&typeof n.ownKeys=="function"?t=n.ownKeys:Object.getOwnPropertySymbols?t=function(A){return Object.getOwnPropertyNames(A).concat(Object.getOwnPropertySymbols(A))}:t=function(A){return Object.getOwnPropertyNames(A)};function s(u){console&&console.warn&&console.warn(u)}var c=Number.isNaN||function(A){return A!==A};function l(){l.init.call(this)}Nt.exports=l,Nt.exports.once=o,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var p=10;function i(u){if(typeof u!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof u)}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return p},set:function(u){if(typeof u!="number"||u<0||c(u))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+u+".");p=u}}),l.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(A){if(typeof A!="number"||A<0||c(A))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+A+".");return this._maxListeners=A,this};function f(u){return u._maxListeners===void 0?l.defaultMaxListeners:u._maxListeners}l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(A){for(var P=[],L=1;L<arguments.length;L++)P.push(arguments[L]);var W=A==="error",N=this._events;if(N!==void 0)W=W&&N.error===void 0;else if(!W)return!1;if(W){var Z;if(P.length>0&&(Z=P[0]),Z instanceof Error)throw Z;var oe=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw oe.context=Z,oe}var C=N[A];if(C===void 0)return!1;if(typeof C=="function")e(C,this,P);else for(var M=C.length,w=R(C,M),L=0;L<M;++L)e(w[L],this,P);return!0};function S(u,A,P,L){var W,N,Z;if(i(P),N=u._events,N===void 0?(N=u._events=Object.create(null),u._eventsCount=0):(N.newListener!==void 0&&(u.emit("newListener",A,P.listener?P.listener:P),N=u._events),Z=N[A]),Z===void 0)Z=N[A]=P,++u._eventsCount;else if(typeof Z=="function"?Z=N[A]=L?[P,Z]:[Z,P]:L?Z.unshift(P):Z.push(P),W=f(u),W>0&&Z.length>W&&!Z.warned){Z.warned=!0;var oe=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(A)+" listeners added. Use emitter.setMaxListeners() to increase limit");oe.name="MaxListenersExceededWarning",oe.emitter=u,oe.type=A,oe.count=Z.length,s(oe)}return u}l.prototype.addListener=function(A,P){return S(this,A,P,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(A,P){return S(this,A,P,!0)};function T(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function I(u,A,P){var L={fired:!1,wrapFn:void 0,target:u,type:A,listener:P},W=T.bind(L);return W.listener=P,L.wrapFn=W,W}l.prototype.once=function(A,P){return i(P),this.on(A,I(this,A,P)),this},l.prototype.prependOnceListener=function(A,P){return i(P),this.prependListener(A,I(this,A,P)),this},l.prototype.removeListener=function(A,P){var L,W,N,Z,oe;if(i(P),W=this._events,W===void 0)return this;if(L=W[A],L===void 0)return this;if(L===P||L.listener===P)--this._eventsCount===0?this._events=Object.create(null):(delete W[A],W.removeListener&&this.emit("removeListener",A,L.listener||P));else if(typeof L!="function"){for(N=-1,Z=L.length-1;Z>=0;Z--)if(L[Z]===P||L[Z].listener===P){oe=L[Z].listener,N=Z;break}if(N<0)return this;N===0?L.shift():v(L,N),L.length===1&&(W[A]=L[0]),W.removeListener!==void 0&&this.emit("removeListener",A,oe||P)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(A){var P,L,W;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[A]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[A]),this;if(arguments.length===0){var N=Object.keys(L),Z;for(W=0;W<N.length;++W)Z=N[W],Z!=="removeListener"&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(P=L[A],typeof P=="function")this.removeListener(A,P);else if(P!==void 0)for(W=P.length-1;W>=0;W--)this.removeListener(A,P[W]);return this};function k(u,A,P){var L=u._events;if(L===void 0)return[];var W=L[A];return W===void 0?[]:typeof W=="function"?P?[W.listener||W]:[W]:P?x(W):R(W,W.length)}l.prototype.listeners=function(A){return k(this,A,!0)},l.prototype.rawListeners=function(A){return k(this,A,!1)},l.listenerCount=function(u,A){return typeof u.listenerCount=="function"?u.listenerCount(A):E.call(u,A)},l.prototype.listenerCount=E;function E(u){var A=this._events;if(A!==void 0){var P=A[u];if(typeof P=="function")return 1;if(P!==void 0)return P.length}return 0}l.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function R(u,A){for(var P=new Array(A),L=0;L<A;++L)P[L]=u[L];return P}function v(u,A){for(;A+1<u.length;A++)u[A]=u[A+1];u.pop()}function x(u){for(var A=new Array(u.length),P=0;P<A.length;++P)A[P]=u[P].listener||u[P];return A}function o(u,A){return new Promise(function(P,L){function W(Z){u.removeListener(A,N),L(Z)}function N(){typeof u.removeListener=="function"&&u.removeListener("error",W),P([].slice.call(arguments))}m(u,A,N,{once:!0}),A!=="error"&&y(u,W,{once:!0})})}function y(u,A,P){typeof u.on=="function"&&m(u,"error",A,P)}function m(u,A,P,L){if(typeof u.on=="function")L.once?u.once(A,P):u.on(A,P);else if(typeof u.addEventListener=="function")u.addEventListener(A,function W(N){L.once&&u.removeEventListener(A,W),P(N)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof u)}return Nt.exports}var Ct={exports:{}},di;function ze(){return di||(di=1,typeof Object.create=="function"?Ct.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Ct.exports=function(e,t){if(t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}}),Ct.exports}function go(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ws={exports:{}},_e=ws.exports={},De,Fe;function Gn(){throw new Error("setTimeout has not been defined")}function Kn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?De=setTimeout:De=Gn}catch{De=Gn}try{typeof clearTimeout=="function"?Fe=clearTimeout:Fe=Kn}catch{Fe=Kn}})();function ys(n){if(De===setTimeout)return setTimeout(n,0);if((De===Gn||!De)&&setTimeout)return De=setTimeout,setTimeout(n,0);try{return De(n,0)}catch{try{return De.call(null,n,0)}catch{return De.call(this,n,0)}}}function wo(n){if(Fe===clearTimeout)return clearTimeout(n);if((Fe===Kn||!Fe)&&clearTimeout)return Fe=clearTimeout,clearTimeout(n);try{return Fe(n)}catch{try{return Fe.call(null,n)}catch{return Fe.call(this,n)}}}var Me=[],rt=!1,Ze,Wt=-1;function yo(){!rt||!Ze||(rt=!1,Ze.length?Me=Ze.concat(Me):Wt=-1,Me.length&&vs())}function vs(){if(!rt){var n=ys(yo);rt=!0;for(var e=Me.length;e;){for(Ze=Me,Me=[];++Wt<e;)Ze&&Ze[Wt].run();Wt=-1,e=Me.length}Ze=null,rt=!1,wo(n)}}_e.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];Me.push(new bs(n,e)),Me.length===1&&!rt&&ys(vs)};function bs(n,e){this.fun=n,this.array=e}bs.prototype.run=function(){this.fun.apply(null,this.array)};_e.title="browser";_e.browser=!0;_e.env={};_e.argv=[];_e.version="";_e.versions={};function je(){}_e.on=je;_e.addListener=je;_e.once=je;_e.off=je;_e.removeListener=je;_e.removeAllListeners=je;_e.emit=je;_e.prependListener=je;_e.prependOnceListener=je;_e.listeners=function(n){return[]};_e.binding=function(n){throw new Error("process.binding is not supported")};_e.cwd=function(){return"/"};_e.chdir=function(n){throw new Error("process.chdir is not supported")};_e.umask=function(){return 0};var vo=ws.exports;const pe=go(vo);var $t,pi;function _s(){return pi||(pi=1,$t=Zn().EventEmitter),$t}var Jt={},pt={},mi;function bo(){if(mi)return pt;mi=1,pt.byteLength=i,pt.toByteArray=S,pt.fromByteArray=k;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,l=s.length;c<l;++c)n[c]=s[c],e[s.charCodeAt(c)]=c;e[45]=62,e[95]=63;function p(E){var R=E.length;if(R%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var v=E.indexOf("=");v===-1&&(v=R);var x=v===R?0:4-v%4;return[v,x]}function i(E){var R=p(E),v=R[0],x=R[1];return(v+x)*3/4-x}function f(E,R,v){return(R+v)*3/4-v}function S(E){var R,v=p(E),x=v[0],o=v[1],y=new t(f(E,x,o)),m=0,u=o>0?x-4:x,A;for(A=0;A<u;A+=4)R=e[E.charCodeAt(A)]<<18|e[E.charCodeAt(A+1)]<<12|e[E.charCodeAt(A+2)]<<6|e[E.charCodeAt(A+3)],y[m++]=R>>16&255,y[m++]=R>>8&255,y[m++]=R&255;return o===2&&(R=e[E.charCodeAt(A)]<<2|e[E.charCodeAt(A+1)]>>4,y[m++]=R&255),o===1&&(R=e[E.charCodeAt(A)]<<10|e[E.charCodeAt(A+1)]<<4|e[E.charCodeAt(A+2)]>>2,y[m++]=R>>8&255,y[m++]=R&255),y}function T(E){return n[E>>18&63]+n[E>>12&63]+n[E>>6&63]+n[E&63]}function I(E,R,v){for(var x,o=[],y=R;y<v;y+=3)x=(E[y]<<16&16711680)+(E[y+1]<<8&65280)+(E[y+2]&255),o.push(T(x));return o.join("")}function k(E){for(var R,v=E.length,x=v%3,o=[],y=16383,m=0,u=v-x;m<u;m+=y)o.push(I(E,m,m+y>u?u:m+y));return x===1?(R=E[v-1],o.push(n[R>>2]+n[R<<4&63]+"==")):x===2&&(R=(E[v-2]<<8)+E[v-1],o.push(n[R>>10]+n[R>>4&63]+n[R<<2&63]+"=")),o.join("")}return pt}var Ot={},gi;function _o(){return gi||(gi=1,Ot.read=function(n,e,t,s,c){var l,p,i=c*8-s-1,f=(1<<i)-1,S=f>>1,T=-7,I=t?c-1:0,k=t?-1:1,E=n[e+I];for(I+=k,l=E&(1<<-T)-1,E>>=-T,T+=i;T>0;l=l*256+n[e+I],I+=k,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=s;T>0;p=p*256+n[e+I],I+=k,T-=8);if(l===0)l=1-S;else{if(l===f)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,s),l=l-S}return(E?-1:1)*p*Math.pow(2,l-s)},Ot.write=function(n,e,t,s,c,l){var p,i,f,S=l*8-c-1,T=(1<<S)-1,I=T>>1,k=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=s?0:l-1,R=s?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(i=isNaN(e)?1:0,p=T):(p=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-p))<1&&(p--,f*=2),p+I>=1?e+=k/f:e+=k*Math.pow(2,1-I),e*f>=2&&(p++,f/=2),p+I>=T?(i=0,p=T):p+I>=1?(i=(e*f-1)*Math.pow(2,c),p=p+I):(i=e*Math.pow(2,I-1)*Math.pow(2,c),p=0));c>=8;n[t+E]=i&255,E+=R,i/=256,c-=8);for(p=p<<c|i,S+=c;S>0;n[t+E]=p&255,E+=R,p/=256,S-=8);n[t+E-R]|=v*128}),Ot}var wi;function qt(){return wi||(wi=1,(function(n){var e=bo(),t=_o(),s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=i,n.SlowBuffer=y,n.INSPECT_MAX_BYTES=50;var c=2147483647;n.kMaxLength=c,i.TYPED_ARRAY_SUPPORT=l(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{var _=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(_,r),_.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function p(_){if(_>c)throw new RangeError('The value "'+_+'" is invalid for option "size"');var r=new Uint8Array(_);return Object.setPrototypeOf(r,i.prototype),r}function i(_,r,a){if(typeof _=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return I(_)}return f(_,r,a)}i.poolSize=8192;function f(_,r,a){if(typeof _=="string")return k(_,r);if(ArrayBuffer.isView(_))return R(_);if(_==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _);if(J(_,ArrayBuffer)||_&&J(_.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(J(_,SharedArrayBuffer)||_&&J(_.buffer,SharedArrayBuffer)))return v(_,r,a);if(typeof _=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var d=_.valueOf&&_.valueOf();if(d!=null&&d!==_)return i.from(d,r,a);var B=x(_);if(B)return B;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof _[Symbol.toPrimitive]=="function")return i.from(_[Symbol.toPrimitive]("string"),r,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _)}i.from=function(_,r,a){return f(_,r,a)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function S(_){if(typeof _!="number")throw new TypeError('"size" argument must be of type number');if(_<0)throw new RangeError('The value "'+_+'" is invalid for option "size"')}function T(_,r,a){return S(_),_<=0?p(_):r!==void 0?typeof a=="string"?p(_).fill(r,a):p(_).fill(r):p(_)}i.alloc=function(_,r,a){return T(_,r,a)};function I(_){return S(_),p(_<0?0:o(_)|0)}i.allocUnsafe=function(_){return I(_)},i.allocUnsafeSlow=function(_){return I(_)};function k(_,r){if((typeof r!="string"||r==="")&&(r="utf8"),!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var a=m(_,r)|0,d=p(a),B=d.write(_,r);return B!==a&&(d=d.slice(0,B)),d}function E(_){for(var r=_.length<0?0:o(_.length)|0,a=p(r),d=0;d<r;d+=1)a[d]=_[d]&255;return a}function R(_){if(J(_,Uint8Array)){var r=new Uint8Array(_);return v(r.buffer,r.byteOffset,r.byteLength)}return E(_)}function v(_,r,a){if(r<0||_.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(_.byteLength<r+(a||0))throw new RangeError('"length" is outside of buffer bounds');var d;return r===void 0&&a===void 0?d=new Uint8Array(_):a===void 0?d=new Uint8Array(_,r):d=new Uint8Array(_,r,a),Object.setPrototypeOf(d,i.prototype),d}function x(_){if(i.isBuffer(_)){var r=o(_.length)|0,a=p(r);return a.length===0||_.copy(a,0,0,r),a}if(_.length!==void 0)return typeof _.length!="number"||h(_.length)?p(0):E(_);if(_.type==="Buffer"&&Array.isArray(_.data))return E(_.data)}function o(_){if(_>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return _|0}function y(_){return+_!=_&&(_=0),i.alloc(+_)}i.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==i.prototype},i.compare=function(r,a){if(J(r,Uint8Array)&&(r=i.from(r,r.offset,r.byteLength)),J(a,Uint8Array)&&(a=i.from(a,a.offset,a.byteLength)),!i.isBuffer(r)||!i.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===a)return 0;for(var d=r.length,B=a.length,q=0,j=Math.min(d,B);q<j;++q)if(r[q]!==a[q]){d=r[q],B=a[q];break}return d<B?-1:B<d?1:0},i.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(r,a){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return i.alloc(0);var d;if(a===void 0)for(a=0,d=0;d<r.length;++d)a+=r[d].length;var B=i.allocUnsafe(a),q=0;for(d=0;d<r.length;++d){var j=r[d];if(J(j,Uint8Array))q+j.length>B.length?i.from(j).copy(B,q):Uint8Array.prototype.set.call(B,j,q);else if(i.isBuffer(j))j.copy(B,q);else throw new TypeError('"list" argument must be an Array of Buffers');q+=j.length}return B};function m(_,r){if(i.isBuffer(_))return _.length;if(ArrayBuffer.isView(_)||J(_,ArrayBuffer))return _.byteLength;if(typeof _!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _);var a=_.length,d=arguments.length>2&&arguments[2]===!0;if(!d&&a===0)return 0;for(var B=!1;;)switch(r){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return g(_).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return O(_).length;default:if(B)return d?-1:g(_).length;r=(""+r).toLowerCase(),B=!0}}i.byteLength=m;function u(_,r,a){var d=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,r>>>=0,a<=r))return"";for(_||(_="utf8");;)switch(_){case"hex":return Q(this,r,a);case"utf8":case"utf-8":return w(this,r,a);case"ascii":return z(this,r,a);case"latin1":case"binary":return ne(this,r,a);case"base64":return M(this,r,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,a);default:if(d)throw new TypeError("Unknown encoding: "+_);_=(_+"").toLowerCase(),d=!0}}i.prototype._isBuffer=!0;function A(_,r,a){var d=_[r];_[r]=_[a],_[a]=d}i.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var a=0;a<r;a+=2)A(this,a,a+1);return this},i.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var a=0;a<r;a+=4)A(this,a,a+3),A(this,a+1,a+2);return this},i.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var a=0;a<r;a+=8)A(this,a,a+7),A(this,a+1,a+6),A(this,a+2,a+5),A(this,a+3,a+4);return this},i.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?w(this,0,r):u.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(r){if(!i.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:i.compare(this,r)===0},i.prototype.inspect=function(){var r="",a=n.INSPECT_MAX_BYTES;return r=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(r+=" ... "),"<Buffer "+r+">"},s&&(i.prototype[s]=i.prototype.inspect),i.prototype.compare=function(r,a,d,B,q){if(J(r,Uint8Array)&&(r=i.from(r,r.offset,r.byteLength)),!i.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(a===void 0&&(a=0),d===void 0&&(d=r?r.length:0),B===void 0&&(B=0),q===void 0&&(q=this.length),a<0||d>r.length||B<0||q>this.length)throw new RangeError("out of range index");if(B>=q&&a>=d)return 0;if(B>=q)return-1;if(a>=d)return 1;if(a>>>=0,d>>>=0,B>>>=0,q>>>=0,this===r)return 0;for(var j=q-B,re=d-a,ae=Math.min(j,re),ie=this.slice(B,q),fe=r.slice(a,d),he=0;he<ae;++he)if(ie[he]!==fe[he]){j=ie[he],re=fe[he];break}return j<re?-1:re<j?1:0};function P(_,r,a,d,B){if(_.length===0)return-1;if(typeof a=="string"?(d=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,h(a)&&(a=B?0:_.length-1),a<0&&(a=_.length+a),a>=_.length){if(B)return-1;a=_.length-1}else if(a<0)if(B)a=0;else return-1;if(typeof r=="string"&&(r=i.from(r,d)),i.isBuffer(r))return r.length===0?-1:L(_,r,a,d,B);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?B?Uint8Array.prototype.indexOf.call(_,r,a):Uint8Array.prototype.lastIndexOf.call(_,r,a):L(_,[r],a,d,B);throw new TypeError("val must be string, number or Buffer")}function L(_,r,a,d,B){var q=1,j=_.length,re=r.length;if(d!==void 0&&(d=String(d).toLowerCase(),d==="ucs2"||d==="ucs-2"||d==="utf16le"||d==="utf-16le")){if(_.length<2||r.length<2)return-1;q=2,j/=2,re/=2,a/=2}function ae(xe,We){return q===1?xe[We]:xe.readUInt16BE(We*q)}var ie;if(B){var fe=-1;for(ie=a;ie<j;ie++)if(ae(_,ie)===ae(r,fe===-1?0:ie-fe)){if(fe===-1&&(fe=ie),ie-fe+1===re)return fe*q}else fe!==-1&&(ie-=ie-fe),fe=-1}else for(a+re>j&&(a=j-re),ie=a;ie>=0;ie--){for(var he=!0,de=0;de<re;de++)if(ae(_,ie+de)!==ae(r,de)){he=!1;break}if(he)return ie}return-1}i.prototype.includes=function(r,a,d){return this.indexOf(r,a,d)!==-1},i.prototype.indexOf=function(r,a,d){return P(this,r,a,d,!0)},i.prototype.lastIndexOf=function(r,a,d){return P(this,r,a,d,!1)};function W(_,r,a,d){a=Number(a)||0;var B=_.length-a;d?(d=Number(d),d>B&&(d=B)):d=B;var q=r.length;d>q/2&&(d=q/2);for(var j=0;j<d;++j){var re=parseInt(r.substr(j*2,2),16);if(h(re))return j;_[a+j]=re}return j}function N(_,r,a,d){return F(g(r,_.length-a),_,a,d)}function Z(_,r,a,d){return F(H(r),_,a,d)}function oe(_,r,a,d){return F(O(r),_,a,d)}function C(_,r,a,d){return F(U(r,_.length-a),_,a,d)}i.prototype.write=function(r,a,d,B){if(a===void 0)B="utf8",d=this.length,a=0;else if(d===void 0&&typeof a=="string")B=a,d=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(d)?(d=d>>>0,B===void 0&&(B="utf8")):(B=d,d=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var q=this.length-a;if((d===void 0||d>q)&&(d=q),r.length>0&&(d<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var j=!1;;)switch(B){case"hex":return W(this,r,a,d);case"utf8":case"utf-8":return N(this,r,a,d);case"ascii":case"latin1":case"binary":return Z(this,r,a,d);case"base64":return oe(this,r,a,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,r,a,d);default:if(j)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),j=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(_,r,a){return r===0&&a===_.length?e.fromByteArray(_):e.fromByteArray(_.slice(r,a))}function w(_,r,a){a=Math.min(_.length,a);for(var d=[],B=r;B<a;){var q=_[B],j=null,re=q>239?4:q>223?3:q>191?2:1;if(B+re<=a){var ae,ie,fe,he;switch(re){case 1:q<128&&(j=q);break;case 2:ae=_[B+1],(ae&192)===128&&(he=(q&31)<<6|ae&63,he>127&&(j=he));break;case 3:ae=_[B+1],ie=_[B+2],(ae&192)===128&&(ie&192)===128&&(he=(q&15)<<12|(ae&63)<<6|ie&63,he>2047&&(he<55296||he>57343)&&(j=he));break;case 4:ae=_[B+1],ie=_[B+2],fe=_[B+3],(ae&192)===128&&(ie&192)===128&&(fe&192)===128&&(he=(q&15)<<18|(ae&63)<<12|(ie&63)<<6|fe&63,he>65535&&he<1114112&&(j=he))}}j===null?(j=65533,re=1):j>65535&&(j-=65536,d.push(j>>>10&1023|55296),j=56320|j&1023),d.push(j),B+=re}return ee(d)}var K=4096;function ee(_){var r=_.length;if(r<=K)return String.fromCharCode.apply(String,_);for(var a="",d=0;d<r;)a+=String.fromCharCode.apply(String,_.slice(d,d+=K));return a}function z(_,r,a){var d="";a=Math.min(_.length,a);for(var B=r;B<a;++B)d+=String.fromCharCode(_[B]&127);return d}function ne(_,r,a){var d="";a=Math.min(_.length,a);for(var B=r;B<a;++B)d+=String.fromCharCode(_[B]);return d}function Q(_,r,a){var d=_.length;(!r||r<0)&&(r=0),(!a||a<0||a>d)&&(a=d);for(var B="",q=r;q<a;++q)B+=$[_[q]];return B}function le(_,r,a){for(var d=_.slice(r,a),B="",q=0;q<d.length-1;q+=2)B+=String.fromCharCode(d[q]+d[q+1]*256);return B}i.prototype.slice=function(r,a){var d=this.length;r=~~r,a=a===void 0?d:~~a,r<0?(r+=d,r<0&&(r=0)):r>d&&(r=d),a<0?(a+=d,a<0&&(a=0)):a>d&&(a=d),a<r&&(a=r);var B=this.subarray(r,a);return Object.setPrototypeOf(B,i.prototype),B};function V(_,r,a){if(_%1!==0||_<0)throw new RangeError("offset is not uint");if(_+r>a)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(r,a,d){r=r>>>0,a=a>>>0,d||V(r,a,this.length);for(var B=this[r],q=1,j=0;++j<a&&(q*=256);)B+=this[r+j]*q;return B},i.prototype.readUintBE=i.prototype.readUIntBE=function(r,a,d){r=r>>>0,a=a>>>0,d||V(r,a,this.length);for(var B=this[r+--a],q=1;a>0&&(q*=256);)B+=this[r+--a]*q;return B},i.prototype.readUint8=i.prototype.readUInt8=function(r,a){return r=r>>>0,a||V(r,1,this.length),this[r]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(r,a){return r=r>>>0,a||V(r,2,this.length),this[r]|this[r+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(r,a){return r=r>>>0,a||V(r,2,this.length),this[r]<<8|this[r+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(r,a){return r=r>>>0,a||V(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(r,a){return r=r>>>0,a||V(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},i.prototype.readIntLE=function(r,a,d){r=r>>>0,a=a>>>0,d||V(r,a,this.length);for(var B=this[r],q=1,j=0;++j<a&&(q*=256);)B+=this[r+j]*q;return q*=128,B>=q&&(B-=Math.pow(2,8*a)),B},i.prototype.readIntBE=function(r,a,d){r=r>>>0,a=a>>>0,d||V(r,a,this.length);for(var B=a,q=1,j=this[r+--B];B>0&&(q*=256);)j+=this[r+--B]*q;return q*=128,j>=q&&(j-=Math.pow(2,8*a)),j},i.prototype.readInt8=function(r,a){return r=r>>>0,a||V(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},i.prototype.readInt16LE=function(r,a){r=r>>>0,a||V(r,2,this.length);var d=this[r]|this[r+1]<<8;return d&32768?d|4294901760:d},i.prototype.readInt16BE=function(r,a){r=r>>>0,a||V(r,2,this.length);var d=this[r+1]|this[r]<<8;return d&32768?d|4294901760:d},i.prototype.readInt32LE=function(r,a){return r=r>>>0,a||V(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},i.prototype.readInt32BE=function(r,a){return r=r>>>0,a||V(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},i.prototype.readFloatLE=function(r,a){return r=r>>>0,a||V(r,4,this.length),t.read(this,r,!0,23,4)},i.prototype.readFloatBE=function(r,a){return r=r>>>0,a||V(r,4,this.length),t.read(this,r,!1,23,4)},i.prototype.readDoubleLE=function(r,a){return r=r>>>0,a||V(r,8,this.length),t.read(this,r,!0,52,8)},i.prototype.readDoubleBE=function(r,a){return r=r>>>0,a||V(r,8,this.length),t.read(this,r,!1,52,8)};function D(_,r,a,d,B,q){if(!i.isBuffer(_))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>B||r<q)throw new RangeError('"value" argument is out of bounds');if(a+d>_.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(r,a,d,B){if(r=+r,a=a>>>0,d=d>>>0,!B){var q=Math.pow(2,8*d)-1;D(this,r,a,d,q,0)}var j=1,re=0;for(this[a]=r&255;++re<d&&(j*=256);)this[a+re]=r/j&255;return a+d},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(r,a,d,B){if(r=+r,a=a>>>0,d=d>>>0,!B){var q=Math.pow(2,8*d)-1;D(this,r,a,d,q,0)}var j=d-1,re=1;for(this[a+j]=r&255;--j>=0&&(re*=256);)this[a+j]=r/re&255;return a+d},i.prototype.writeUint8=i.prototype.writeUInt8=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,1,255,0),this[a]=r&255,a+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,2,65535,0),this[a]=r&255,this[a+1]=r>>>8,a+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,2,65535,0),this[a]=r>>>8,this[a+1]=r&255,a+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,4,4294967295,0),this[a+3]=r>>>24,this[a+2]=r>>>16,this[a+1]=r>>>8,this[a]=r&255,a+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,4,4294967295,0),this[a]=r>>>24,this[a+1]=r>>>16,this[a+2]=r>>>8,this[a+3]=r&255,a+4},i.prototype.writeIntLE=function(r,a,d,B){if(r=+r,a=a>>>0,!B){var q=Math.pow(2,8*d-1);D(this,r,a,d,q-1,-q)}var j=0,re=1,ae=0;for(this[a]=r&255;++j<d&&(re*=256);)r<0&&ae===0&&this[a+j-1]!==0&&(ae=1),this[a+j]=(r/re>>0)-ae&255;return a+d},i.prototype.writeIntBE=function(r,a,d,B){if(r=+r,a=a>>>0,!B){var q=Math.pow(2,8*d-1);D(this,r,a,d,q-1,-q)}var j=d-1,re=1,ae=0;for(this[a+j]=r&255;--j>=0&&(re*=256);)r<0&&ae===0&&this[a+j+1]!==0&&(ae=1),this[a+j]=(r/re>>0)-ae&255;return a+d},i.prototype.writeInt8=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,1,127,-128),r<0&&(r=255+r+1),this[a]=r&255,a+1},i.prototype.writeInt16LE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,2,32767,-32768),this[a]=r&255,this[a+1]=r>>>8,a+2},i.prototype.writeInt16BE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,2,32767,-32768),this[a]=r>>>8,this[a+1]=r&255,a+2},i.prototype.writeInt32LE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,4,2147483647,-2147483648),this[a]=r&255,this[a+1]=r>>>8,this[a+2]=r>>>16,this[a+3]=r>>>24,a+4},i.prototype.writeInt32BE=function(r,a,d){return r=+r,a=a>>>0,d||D(this,r,a,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[a]=r>>>24,this[a+1]=r>>>16,this[a+2]=r>>>8,this[a+3]=r&255,a+4};function X(_,r,a,d,B,q){if(a+d>_.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function Y(_,r,a,d,B){return r=+r,a=a>>>0,B||X(_,r,a,4),t.write(_,r,a,d,23,4),a+4}i.prototype.writeFloatLE=function(r,a,d){return Y(this,r,a,!0,d)},i.prototype.writeFloatBE=function(r,a,d){return Y(this,r,a,!1,d)};function te(_,r,a,d,B){return r=+r,a=a>>>0,B||X(_,r,a,8),t.write(_,r,a,d,52,8),a+8}i.prototype.writeDoubleLE=function(r,a,d){return te(this,r,a,!0,d)},i.prototype.writeDoubleBE=function(r,a,d){return te(this,r,a,!1,d)},i.prototype.copy=function(r,a,d,B){if(!i.isBuffer(r))throw new TypeError("argument should be a Buffer");if(d||(d=0),!B&&B!==0&&(B=this.length),a>=r.length&&(a=r.length),a||(a=0),B>0&&B<d&&(B=d),B===d||r.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(d<0||d>=this.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),r.length-a<B-d&&(B=r.length-a+d);var q=B-d;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,d,B):Uint8Array.prototype.set.call(r,this.subarray(d,B),a),q},i.prototype.fill=function(r,a,d,B){if(typeof r=="string"){if(typeof a=="string"?(B=a,a=0,d=this.length):typeof d=="string"&&(B=d,d=this.length),B!==void 0&&typeof B!="string")throw new TypeError("encoding must be a string");if(typeof B=="string"&&!i.isEncoding(B))throw new TypeError("Unknown encoding: "+B);if(r.length===1){var q=r.charCodeAt(0);(B==="utf8"&&q<128||B==="latin1")&&(r=q)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(a<0||this.length<a||this.length<d)throw new RangeError("Out of range index");if(d<=a)return this;a=a>>>0,d=d===void 0?this.length:d>>>0,r||(r=0);var j;if(typeof r=="number")for(j=a;j<d;++j)this[j]=r;else{var re=i.isBuffer(r)?r:i.from(r,B),ae=re.length;if(ae===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(j=0;j<d-a;++j)this[j+a]=re[j%ae]}return this};var G=/[^+/0-9A-Za-z-_]/g;function b(_){if(_=_.split("=")[0],_=_.trim().replace(G,""),_.length<2)return"";for(;_.length%4!==0;)_=_+"=";return _}function g(_,r){r=r||1/0;for(var a,d=_.length,B=null,q=[],j=0;j<d;++j){if(a=_.charCodeAt(j),a>55295&&a<57344){if(!B){if(a>56319){(r-=3)>-1&&q.push(239,191,189);continue}else if(j+1===d){(r-=3)>-1&&q.push(239,191,189);continue}B=a;continue}if(a<56320){(r-=3)>-1&&q.push(239,191,189),B=a;continue}a=(B-55296<<10|a-56320)+65536}else B&&(r-=3)>-1&&q.push(239,191,189);if(B=null,a<128){if((r-=1)<0)break;q.push(a)}else if(a<2048){if((r-=2)<0)break;q.push(a>>6|192,a&63|128)}else if(a<65536){if((r-=3)<0)break;q.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((r-=4)<0)break;q.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return q}function H(_){for(var r=[],a=0;a<_.length;++a)r.push(_.charCodeAt(a)&255);return r}function U(_,r){for(var a,d,B,q=[],j=0;j<_.length&&!((r-=2)<0);++j)a=_.charCodeAt(j),d=a>>8,B=a%256,q.push(B),q.push(d);return q}function O(_){return e.toByteArray(b(_))}function F(_,r,a,d){for(var B=0;B<d&&!(B+a>=r.length||B>=_.length);++B)r[B+a]=_[B];return B}function J(_,r){return _ instanceof r||_!=null&&_.constructor!=null&&_.constructor.name!=null&&_.constructor.name===r.name}function h(_){return _!==_}var $=(function(){for(var _="0123456789abcdef",r=new Array(256),a=0;a<16;++a)for(var d=a*16,B=0;B<16;++B)r[d+B]=_[a]+_[B];return r})()})(Jt)),Jt}var Qt={},er={},tr,yi;function Es(){return yi||(yi=1,tr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),s=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var c=42;e[t]=c;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var p=Object.getOwnPropertySymbols(e);if(p.length!==1||p[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==c||i.enumerable!==!0)return!1}return!0}),tr}var rr,vi;function Yn(){if(vi)return rr;vi=1;var n=Es();return rr=function(){return n()&&!!Symbol.toStringTag},rr}var nr,bi;function As(){return bi||(bi=1,nr=Object),nr}var ir,_i;function Eo(){return _i||(_i=1,ir=Error),ir}var ar,Ei;function Ao(){return Ei||(Ei=1,ar=EvalError),ar}var sr,Ai;function xo(){return Ai||(Ai=1,sr=RangeError),sr}var or,xi;function So(){return xi||(xi=1,or=ReferenceError),or}var ur,Si;function xs(){return Si||(Si=1,ur=SyntaxError),ur}var lr,Ti;function Gt(){return Ti||(Ti=1,lr=TypeError),lr}var cr,Ri;function To(){return Ri||(Ri=1,cr=URIError),cr}var fr,Ii;function Ro(){return Ii||(Ii=1,fr=Math.abs),fr}var hr,ki;function Io(){return ki||(ki=1,hr=Math.floor),hr}var dr,Ni;function ko(){return Ni||(Ni=1,dr=Math.max),dr}var pr,Ci;function No(){return Ci||(Ci=1,pr=Math.min),pr}var mr,Oi;function Co(){return Oi||(Oi=1,mr=Math.pow),mr}var gr,Di;function Oo(){return Di||(Di=1,gr=Math.round),gr}var wr,Fi;function Do(){return Fi||(Fi=1,wr=Number.isNaN||function(e){return e!==e}),wr}var yr,Pi;function Fo(){if(Pi)return yr;Pi=1;var n=Do();return yr=function(t){return n(t)||t===0?t:t<0?-1:1},yr}var vr,Li;function Po(){return Li||(Li=1,vr=Object.getOwnPropertyDescriptor),vr}var br,Bi;function _t(){if(Bi)return br;Bi=1;var n=Po();if(n)try{n([],"length")}catch{n=null}return br=n,br}var _r,Ui;function Kt(){if(Ui)return _r;Ui=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return _r=n,_r}var Er,Mi;function Lo(){if(Mi)return Er;Mi=1;var n=typeof Symbol<"u"&&Symbol,e=Es();return Er=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Er}var Ar,ji;function Ss(){return ji||(ji=1,Ar=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ar}var xr,Wi;function Ts(){if(Wi)return xr;Wi=1;var n=As();return xr=n.getPrototypeOf||null,xr}var Sr,Hi;function Bo(){if(Hi)return Sr;Hi=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,s="[object Function]",c=function(f,S){for(var T=[],I=0;I<f.length;I+=1)T[I]=f[I];for(var k=0;k<S.length;k+=1)T[k+f.length]=S[k];return T},l=function(f,S){for(var T=[],I=S,k=0;I<f.length;I+=1,k+=1)T[k]=f[I];return T},p=function(i,f){for(var S="",T=0;T<i.length;T+=1)S+=i[T],T+1<i.length&&(S+=f);return S};return Sr=function(f){var S=this;if(typeof S!="function"||e.apply(S)!==s)throw new TypeError(n+S);for(var T=l(arguments,1),I,k=function(){if(this instanceof I){var o=S.apply(this,c(T,arguments));return Object(o)===o?o:this}return S.apply(f,c(T,arguments))},E=t(0,S.length-T.length),R=[],v=0;v<E;v++)R[v]="$"+v;if(I=Function("binder","return function ("+p(R,",")+"){ return binder.apply(this,arguments); }")(k),S.prototype){var x=function(){};x.prototype=S.prototype,I.prototype=new x,x.prototype=null}return I},Sr}var Tr,zi;function Et(){if(zi)return Tr;zi=1;var n=Bo();return Tr=Function.prototype.bind||n,Tr}var Rr,qi;function $n(){return qi||(qi=1,Rr=Function.prototype.call),Rr}var Ir,Gi;function Jn(){return Gi||(Gi=1,Ir=Function.prototype.apply),Ir}var kr,Ki;function Uo(){return Ki||(Ki=1,kr=typeof Reflect<"u"&&Reflect&&Reflect.apply),kr}var Nr,Vi;function Rs(){if(Vi)return Nr;Vi=1;var n=Et(),e=Jn(),t=$n(),s=Uo();return Nr=s||n.call(t,e),Nr}var Cr,Xi;function Qn(){if(Xi)return Cr;Xi=1;var n=Et(),e=Gt(),t=$n(),s=Rs();return Cr=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return s(n,t,l)},Cr}var Or,Zi;function Mo(){if(Zi)return Or;Zi=1;var n=Qn(),e=_t(),t;try{t=[].__proto__===Array.prototype}catch(p){if(!p||typeof p!="object"||!("code"in p)||p.code!=="ERR_PROTO_ACCESS")throw p}var s=!!t&&e&&e(Object.prototype,"__proto__"),c=Object,l=c.getPrototypeOf;return Or=s&&typeof s.get=="function"?n([s.get]):typeof l=="function"?(function(i){return l(i==null?i:c(i))}):!1,Or}var Dr,Yi;function Is(){if(Yi)return Dr;Yi=1;var n=Ss(),e=Ts(),t=Mo();return Dr=n?function(c){return n(c)}:e?function(c){if(!c||typeof c!="object"&&typeof c!="function")throw new TypeError("getProto: not an object");return e(c)}:t?function(c){return t(c)}:null,Dr}var Fr,$i;function jo(){if($i)return Fr;$i=1;var n=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Et();return Fr=t.call(n,e),Fr}var Pr,Ji;function ks(){if(Ji)return Pr;Ji=1;var n,e=As(),t=Eo(),s=Ao(),c=xo(),l=So(),p=xs(),i=Gt(),f=To(),S=Ro(),T=Io(),I=ko(),k=No(),E=Co(),R=Oo(),v=Fo(),x=Function,o=function(H){try{return x('"use strict"; return ('+H+").constructor;")()}catch{}},y=_t(),m=Kt(),u=function(){throw new i},A=y?(function(){try{return arguments.callee,u}catch{try{return y(arguments,"callee").get}catch{return u}}})():u,P=Lo()(),L=Is(),W=Ts(),N=Ss(),Z=Jn(),oe=$n(),C={},M=typeof Uint8Array>"u"||!L?n:L(Uint8Array),w={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":P&&L?L([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":C,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&L?L(L([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!L?n:L(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":c,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!L?n:L(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&L?L(""[Symbol.iterator]()):n,"%Symbol%":P?Symbol:n,"%SyntaxError%":p,"%ThrowTypeError%":A,"%TypedArray%":M,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":oe,"%Function.prototype.apply%":Z,"%Object.defineProperty%":m,"%Object.getPrototypeOf%":W,"%Math.abs%":S,"%Math.floor%":T,"%Math.max%":I,"%Math.min%":k,"%Math.pow%":E,"%Math.round%":R,"%Math.sign%":v,"%Reflect.getPrototypeOf%":N};if(L)try{null.error}catch(H){var K=L(L(H));w["%Error.prototype%"]=K}var ee=function H(U){var O;if(U==="%AsyncFunction%")O=o("async function () {}");else if(U==="%GeneratorFunction%")O=o("function* () {}");else if(U==="%AsyncGeneratorFunction%")O=o("async function* () {}");else if(U==="%AsyncGenerator%"){var F=H("%AsyncGeneratorFunction%");F&&(O=F.prototype)}else if(U==="%AsyncIteratorPrototype%"){var J=H("%AsyncGenerator%");J&&L&&(O=L(J.prototype))}return w[U]=O,O},z={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=Et(),Q=jo(),le=ne.call(oe,Array.prototype.concat),V=ne.call(Z,Array.prototype.splice),D=ne.call(oe,String.prototype.replace),X=ne.call(oe,String.prototype.slice),Y=ne.call(oe,RegExp.prototype.exec),te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,b=function(U){var O=X(U,0,1),F=X(U,-1);if(O==="%"&&F!=="%")throw new p("invalid intrinsic syntax, expected closing `%`");if(F==="%"&&O!=="%")throw new p("invalid intrinsic syntax, expected opening `%`");var J=[];return D(U,te,function(h,$,_,r){J[J.length]=_?D(r,G,"$1"):$||h}),J},g=function(U,O){var F=U,J;if(Q(z,F)&&(J=z[F],F="%"+J[0]+"%"),Q(w,F)){var h=w[F];if(h===C&&(h=ee(F)),typeof h>"u"&&!O)throw new i("intrinsic "+U+" exists, but is not available. Please file an issue!");return{alias:J,name:F,value:h}}throw new p("intrinsic "+U+" does not exist!")};return Pr=function(U,O){if(typeof U!="string"||U.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof O!="boolean")throw new i('"allowMissing" argument must be a boolean');if(Y(/^%?[^%]*%?$/,U)===null)throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var F=b(U),J=F.length>0?F[0]:"",h=g("%"+J+"%",O),$=h.name,_=h.value,r=!1,a=h.alias;a&&(J=a[0],V(F,le([0,1],a)));for(var d=1,B=!0;d<F.length;d+=1){var q=F[d],j=X(q,0,1),re=X(q,-1);if((j==='"'||j==="'"||j==="`"||re==='"'||re==="'"||re==="`")&&j!==re)throw new p("property names with quotes must have matching quotes");if((q==="constructor"||!B)&&(r=!0),J+="."+q,$="%"+J+"%",Q(w,$))_=w[$];else if(_!=null){if(!(q in _)){if(!O)throw new i("base intrinsic for "+U+" exists, but the property is not available.");return}if(y&&d+1>=F.length){var ae=y(_,q);B=!!ae,B&&"get"in ae&&!("originalValue"in ae.get)?_=ae.get:_=_[q]}else B=Q(_,q),_=_[q];B&&!r&&(w[$]=_)}}return _},Pr}var Lr,Qi;function Ns(){if(Qi)return Lr;Qi=1;var n=ks(),e=Qn(),t=e([n("%String.prototype.indexOf%")]);return Lr=function(c,l){var p=n(c,!!l);return typeof p=="function"&&t(c,".prototype.")>-1?e([p]):p},Lr}var Br,ea;function Wo(){if(ea)return Br;ea=1;var n=Yn()(),e=Ns(),t=e("Object.prototype.toString"),s=function(i){return n&&i&&typeof i=="object"&&Symbol.toStringTag in i?!1:t(i)==="[object Arguments]"},c=function(i){return s(i)?!0:i!==null&&typeof i=="object"&&"length"in i&&typeof i.length=="number"&&i.length>=0&&t(i)!=="[object Array]"&&"callee"in i&&t(i.callee)==="[object Function]"},l=(function(){return s(arguments)})();return s.isLegacyArguments=c,Br=l?s:c,Br}var Ur,ta;function Ho(){if(ta)return Ur;ta=1;var n=Object.prototype.toString,e=Function.prototype.toString,t=/^\s*(?:function)?\*/,s=Yn()(),c=Object.getPrototypeOf,l=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch{}},p;return Ur=function(f){if(typeof f!="function")return!1;if(t.test(e.call(f)))return!0;if(!s){var S=n.call(f);return S==="[object GeneratorFunction]"}if(!c)return!1;if(typeof p>"u"){var T=l();p=T?c(T):!1}return c(f)===p},Ur}var Mr,ra;function zo(){if(ra)return Mr;ra=1;var n=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,s;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw s}}),s={},e(function(){throw 42},null,t)}catch(y){y!==s&&(e=null)}else e=null;var c=/^\s*class\b/,l=function(m){try{var u=n.call(m);return c.test(u)}catch{return!1}},p=function(m){try{return l(m)?!1:(n.call(m),!0)}catch{return!1}},i=Object.prototype.toString,f="[object Object]",S="[object Function]",T="[object GeneratorFunction]",I="[object HTMLAllCollection]",k="[object HTML document.all class]",E="[object HTMLCollection]",R=typeof Symbol=="function"&&!!Symbol.toStringTag,v=!(0 in[,]),x=function(){return!1};if(typeof document=="object"){var o=document.all;i.call(o)===i.call(document.all)&&(x=function(m){if((v||!m)&&(typeof m>"u"||typeof m=="object"))try{var u=i.call(m);return(u===I||u===k||u===E||u===f)&&m("")==null}catch{}return!1})}return Mr=e?function(m){if(x(m))return!0;if(!m||typeof m!="function"&&typeof m!="object")return!1;try{e(m,null,t)}catch(u){if(u!==s)return!1}return!l(m)&&p(m)}:function(m){if(x(m))return!0;if(!m||typeof m!="function"&&typeof m!="object")return!1;if(R)return p(m);if(l(m))return!1;var u=i.call(m);return u!==S&&u!==T&&!/^\[object HTML/.test(u)?!1:p(m)},Mr}var jr,na;function qo(){if(na)return jr;na=1;var n=zo(),e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,s=function(f,S,T){for(var I=0,k=f.length;I<k;I++)t.call(f,I)&&(T==null?S(f[I],I,f):S.call(T,f[I],I,f))},c=function(f,S,T){for(var I=0,k=f.length;I<k;I++)T==null?S(f.charAt(I),I,f):S.call(T,f.charAt(I),I,f)},l=function(f,S,T){for(var I in f)t.call(f,I)&&(T==null?S(f[I],I,f):S.call(T,f[I],I,f))};function p(i){return e.call(i)==="[object Array]"}return jr=function(f,S,T){if(!n(S))throw new TypeError("iterator must be a function");var I;arguments.length>=3&&(I=T),p(f)?s(f,S,I):typeof f=="string"?c(f,S,I):l(f,S,I)},jr}var Wr,ia;function Go(){return ia||(ia=1,Wr=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Wr}var Hr,aa;function Ko(){if(aa)return Hr;aa=1;var n=Go(),e=typeof globalThis>"u"?Re:globalThis;return Hr=function(){for(var s=[],c=0;c<n.length;c++)typeof e[n[c]]=="function"&&(s[s.length]=n[c]);return s},Hr}var zr={exports:{}},qr,sa;function Vo(){if(sa)return qr;sa=1;var n=Kt(),e=xs(),t=Gt(),s=_t();return qr=function(l,p,i){if(!l||typeof l!="object"&&typeof l!="function")throw new t("`obj` must be an object or a function`");if(typeof p!="string"&&typeof p!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,S=arguments.length>4?arguments[4]:null,T=arguments.length>5?arguments[5]:null,I=arguments.length>6?arguments[6]:!1,k=!!s&&s(l,p);if(n)n(l,p,{configurable:T===null&&k?k.configurable:!T,enumerable:f===null&&k?k.enumerable:!f,value:i,writable:S===null&&k?k.writable:!S});else if(I||!f&&!S&&!T)l[p]=i;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},qr}var Gr,oa;function Xo(){if(oa)return Gr;oa=1;var n=Kt(),e=function(){return!!n};return e.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},Gr=e,Gr}var Kr,ua;function Zo(){if(ua)return Kr;ua=1;var n=ks(),e=Vo(),t=Xo()(),s=_t(),c=Gt(),l=n("%Math.floor%");return Kr=function(i,f){if(typeof i!="function")throw new c("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||l(f)!==f)throw new c("`length` must be a positive 32-bit integer");var S=arguments.length>2&&!!arguments[2],T=!0,I=!0;if("length"in i&&s){var k=s(i,"length");k&&!k.configurable&&(T=!1),k&&!k.writable&&(I=!1)}return(T||I||!S)&&(t?e(i,"length",f,!0,!0):e(i,"length",f)),i},Kr}var Vr,la;function Yo(){if(la)return Vr;la=1;var n=Et(),e=Jn(),t=Rs();return Vr=function(){return t(n,e,arguments)},Vr}var ca;function $o(){return ca||(ca=1,(function(n){var e=Zo(),t=Kt(),s=Qn(),c=Yo();n.exports=function(p){var i=s(arguments),f=p.length-(arguments.length-1);return e(i,1+(f>0?f:0),!0)},t?t(n.exports,"apply",{value:c}):n.exports.apply=c})(zr)),zr.exports}var Xr,fa;function Cs(){if(fa)return Xr;fa=1;var n=qo(),e=Ko(),t=$o(),s=Ns(),c=_t(),l=Is(),p=s("Object.prototype.toString"),i=Yn()(),f=typeof globalThis>"u"?Re:globalThis,S=e(),T=s("String.prototype.slice"),I=s("Array.prototype.indexOf",!0)||function(x,o){for(var y=0;y<x.length;y+=1)if(x[y]===o)return y;return-1},k={__proto__:null};i&&c&&l?n(S,function(v){var x=new f[v];if(Symbol.toStringTag in x&&l){var o=l(x),y=c(o,Symbol.toStringTag);if(!y&&o){var m=l(o);y=c(m,Symbol.toStringTag)}k["$"+v]=t(y.get)}}):n(S,function(v){var x=new f[v],o=x.slice||x.set;o&&(k["$"+v]=t(o))});var E=function(x){var o=!1;return n(k,function(y,m){if(!o)try{"$"+y(x)===m&&(o=T(m,1))}catch{}}),o},R=function(x){var o=!1;return n(k,function(y,m){if(!o)try{y(x),o=T(m,1)}catch{}}),o};return Xr=function(x){if(!x||typeof x!="object")return!1;if(!i){var o=T(p(x),8,-1);return I(S,o)>-1?o:o!=="Object"?!1:R(x)}return c?E(x):null},Xr}var Zr,ha;function Jo(){if(ha)return Zr;ha=1;var n=Cs();return Zr=function(t){return!!n(t)},Zr}var da;function Qo(){return da||(da=1,(function(n){var e=Wo(),t=Ho(),s=Cs(),c=Jo();function l(d){return d.call.bind(d)}var p=typeof BigInt<"u",i=typeof Symbol<"u",f=l(Object.prototype.toString),S=l(Number.prototype.valueOf),T=l(String.prototype.valueOf),I=l(Boolean.prototype.valueOf);if(p)var k=l(BigInt.prototype.valueOf);if(i)var E=l(Symbol.prototype.valueOf);function R(d,B){if(typeof d!="object")return!1;try{return B(d),!0}catch{return!1}}n.isArgumentsObject=e,n.isGeneratorFunction=t,n.isTypedArray=c;function v(d){return typeof Promise<"u"&&d instanceof Promise||d!==null&&typeof d=="object"&&typeof d.then=="function"&&typeof d.catch=="function"}n.isPromise=v;function x(d){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(d):c(d)||X(d)}n.isArrayBufferView=x;function o(d){return s(d)==="Uint8Array"}n.isUint8Array=o;function y(d){return s(d)==="Uint8ClampedArray"}n.isUint8ClampedArray=y;function m(d){return s(d)==="Uint16Array"}n.isUint16Array=m;function u(d){return s(d)==="Uint32Array"}n.isUint32Array=u;function A(d){return s(d)==="Int8Array"}n.isInt8Array=A;function P(d){return s(d)==="Int16Array"}n.isInt16Array=P;function L(d){return s(d)==="Int32Array"}n.isInt32Array=L;function W(d){return s(d)==="Float32Array"}n.isFloat32Array=W;function N(d){return s(d)==="Float64Array"}n.isFloat64Array=N;function Z(d){return s(d)==="BigInt64Array"}n.isBigInt64Array=Z;function oe(d){return s(d)==="BigUint64Array"}n.isBigUint64Array=oe;function C(d){return f(d)==="[object Map]"}C.working=typeof Map<"u"&&C(new Map);function M(d){return typeof Map>"u"?!1:C.working?C(d):d instanceof Map}n.isMap=M;function w(d){return f(d)==="[object Set]"}w.working=typeof Set<"u"&&w(new Set);function K(d){return typeof Set>"u"?!1:w.working?w(d):d instanceof Set}n.isSet=K;function ee(d){return f(d)==="[object WeakMap]"}ee.working=typeof WeakMap<"u"&&ee(new WeakMap);function z(d){return typeof WeakMap>"u"?!1:ee.working?ee(d):d instanceof WeakMap}n.isWeakMap=z;function ne(d){return f(d)==="[object WeakSet]"}ne.working=typeof WeakSet<"u"&&ne(new WeakSet);function Q(d){return ne(d)}n.isWeakSet=Q;function le(d){return f(d)==="[object ArrayBuffer]"}le.working=typeof ArrayBuffer<"u"&&le(new ArrayBuffer);function V(d){return typeof ArrayBuffer>"u"?!1:le.working?le(d):d instanceof ArrayBuffer}n.isArrayBuffer=V;function D(d){return f(d)==="[object DataView]"}D.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&D(new DataView(new ArrayBuffer(1),0,1));function X(d){return typeof DataView>"u"?!1:D.working?D(d):d instanceof DataView}n.isDataView=X;var Y=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function te(d){return f(d)==="[object SharedArrayBuffer]"}function G(d){return typeof Y>"u"?!1:(typeof te.working>"u"&&(te.working=te(new Y)),te.working?te(d):d instanceof Y)}n.isSharedArrayBuffer=G;function b(d){return f(d)==="[object AsyncFunction]"}n.isAsyncFunction=b;function g(d){return f(d)==="[object Map Iterator]"}n.isMapIterator=g;function H(d){return f(d)==="[object Set Iterator]"}n.isSetIterator=H;function U(d){return f(d)==="[object Generator]"}n.isGeneratorObject=U;function O(d){return f(d)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=O;function F(d){return R(d,S)}n.isNumberObject=F;function J(d){return R(d,T)}n.isStringObject=J;function h(d){return R(d,I)}n.isBooleanObject=h;function $(d){return p&&R(d,k)}n.isBigIntObject=$;function _(d){return i&&R(d,E)}n.isSymbolObject=_;function r(d){return F(d)||J(d)||h(d)||$(d)||_(d)}n.isBoxedPrimitive=r;function a(d){return typeof Uint8Array<"u"&&(V(d)||G(d))}n.isAnyArrayBuffer=a,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(d){Object.defineProperty(n,d,{enumerable:!1,value:function(){throw new Error(d+" is not supported in userland")}})})})(er)),er}var Yr,pa;function eu(){return pa||(pa=1,Yr=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}),Yr}var ma;function Os(){return ma||(ma=1,(function(n){var e=Object.getOwnPropertyDescriptors||function(X){for(var Y=Object.keys(X),te={},G=0;G<Y.length;G++)te[Y[G]]=Object.getOwnPropertyDescriptor(X,Y[G]);return te},t=/%[sdj%]/g;n.format=function(D){if(!A(D)){for(var X=[],Y=0;Y<arguments.length;Y++)X.push(p(arguments[Y]));return X.join(" ")}for(var Y=1,te=arguments,G=te.length,b=String(D).replace(t,function(H){if(H==="%%")return"%";if(Y>=G)return H;switch(H){case"%s":return String(te[Y++]);case"%d":return Number(te[Y++]);case"%j":try{return JSON.stringify(te[Y++])}catch{return"[Circular]"}default:return H}}),g=te[Y];Y<G;g=te[++Y])y(g)||!N(g)?b+=" "+g:b+=" "+p(g);return b},n.deprecate=function(D,X){if(typeof pe<"u"&&pe.noDeprecation===!0)return D;if(typeof pe>"u")return function(){return n.deprecate(D,X).apply(this,arguments)};var Y=!1;function te(){if(!Y){if(pe.throwDeprecation)throw new Error(X);pe.traceDeprecation?console.trace(X):console.error(X),Y=!0}return D.apply(this,arguments)}return te};var s={},c=/^$/;if(pe.env.NODE_DEBUG){var l=pe.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+l+"$","i")}n.debuglog=function(D){if(D=D.toUpperCase(),!s[D])if(c.test(D)){var X=pe.pid;s[D]=function(){var Y=n.format.apply(n,arguments);console.error("%s %d: %s",D,X,Y)}}else s[D]=function(){};return s[D]};function p(D,X){var Y={seen:[],stylize:f};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),o(X)?Y.showHidden=X:X&&n._extend(Y,X),L(Y.showHidden)&&(Y.showHidden=!1),L(Y.depth)&&(Y.depth=2),L(Y.colors)&&(Y.colors=!1),L(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=i),T(Y,D,Y.depth)}n.inspect=p,p.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(D,X){var Y=p.styles[X];return Y?"\x1B["+p.colors[Y][0]+"m"+D+"\x1B["+p.colors[Y][1]+"m":D}function f(D,X){return D}function S(D){var X={};return D.forEach(function(Y,te){X[Y]=!0}),X}function T(D,X,Y){if(D.customInspect&&X&&C(X.inspect)&&X.inspect!==n.inspect&&!(X.constructor&&X.constructor.prototype===X)){var te=X.inspect(Y,D);return A(te)||(te=T(D,te,Y)),te}var G=I(D,X);if(G)return G;var b=Object.keys(X),g=S(b);if(D.showHidden&&(b=Object.getOwnPropertyNames(X)),oe(X)&&(b.indexOf("message")>=0||b.indexOf("description")>=0))return k(X);if(b.length===0){if(C(X)){var H=X.name?": "+X.name:"";return D.stylize("[Function"+H+"]","special")}if(W(X))return D.stylize(RegExp.prototype.toString.call(X),"regexp");if(Z(X))return D.stylize(Date.prototype.toString.call(X),"date");if(oe(X))return k(X)}var U="",O=!1,F=["{","}"];if(x(X)&&(O=!0,F=["[","]"]),C(X)){var J=X.name?": "+X.name:"";U=" [Function"+J+"]"}if(W(X)&&(U=" "+RegExp.prototype.toString.call(X)),Z(X)&&(U=" "+Date.prototype.toUTCString.call(X)),oe(X)&&(U=" "+k(X)),b.length===0&&(!O||X.length==0))return F[0]+U+F[1];if(Y<0)return W(X)?D.stylize(RegExp.prototype.toString.call(X),"regexp"):D.stylize("[Object]","special");D.seen.push(X);var h;return O?h=E(D,X,Y,g,b):h=b.map(function($){return R(D,X,Y,g,$,O)}),D.seen.pop(),v(h,U,F)}function I(D,X){if(L(X))return D.stylize("undefined","undefined");if(A(X)){var Y="'"+JSON.stringify(X).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(Y,"string")}if(u(X))return D.stylize(""+X,"number");if(o(X))return D.stylize(""+X,"boolean");if(y(X))return D.stylize("null","null")}function k(D){return"["+Error.prototype.toString.call(D)+"]"}function E(D,X,Y,te,G){for(var b=[],g=0,H=X.length;g<H;++g)ne(X,String(g))?b.push(R(D,X,Y,te,String(g),!0)):b.push("");return G.forEach(function(U){U.match(/^\d+$/)||b.push(R(D,X,Y,te,U,!0))}),b}function R(D,X,Y,te,G,b){var g,H,U;if(U=Object.getOwnPropertyDescriptor(X,G)||{value:X[G]},U.get?U.set?H=D.stylize("[Getter/Setter]","special"):H=D.stylize("[Getter]","special"):U.set&&(H=D.stylize("[Setter]","special")),ne(te,G)||(g="["+G+"]"),H||(D.seen.indexOf(U.value)<0?(y(Y)?H=T(D,U.value,null):H=T(D,U.value,Y-1),H.indexOf(`
2
+ `)>-1&&(b?H=H.split(`
3
+ `).map(function(O){return" "+O}).join(`
4
+ `).slice(2):H=`
5
+ `+H.split(`
6
+ `).map(function(O){return" "+O}).join(`
7
+ `))):H=D.stylize("[Circular]","special")),L(g)){if(b&&G.match(/^\d+$/))return H;g=JSON.stringify(""+G),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=D.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=D.stylize(g,"string"))}return g+": "+H}function v(D,X,Y){var te=D.reduce(function(G,b){return b.indexOf(`
8
+ `)>=0,G+b.replace(/\u001b\[\d\d?m/g,"").length+1},0);return te>60?Y[0]+(X===""?"":X+`
9
+ `)+" "+D.join(`,
10
+ `)+" "+Y[1]:Y[0]+X+" "+D.join(", ")+" "+Y[1]}n.types=Qo();function x(D){return Array.isArray(D)}n.isArray=x;function o(D){return typeof D=="boolean"}n.isBoolean=o;function y(D){return D===null}n.isNull=y;function m(D){return D==null}n.isNullOrUndefined=m;function u(D){return typeof D=="number"}n.isNumber=u;function A(D){return typeof D=="string"}n.isString=A;function P(D){return typeof D=="symbol"}n.isSymbol=P;function L(D){return D===void 0}n.isUndefined=L;function W(D){return N(D)&&w(D)==="[object RegExp]"}n.isRegExp=W,n.types.isRegExp=W;function N(D){return typeof D=="object"&&D!==null}n.isObject=N;function Z(D){return N(D)&&w(D)==="[object Date]"}n.isDate=Z,n.types.isDate=Z;function oe(D){return N(D)&&(w(D)==="[object Error]"||D instanceof Error)}n.isError=oe,n.types.isNativeError=oe;function C(D){return typeof D=="function"}n.isFunction=C;function M(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D>"u"}n.isPrimitive=M,n.isBuffer=eu();function w(D){return Object.prototype.toString.call(D)}function K(D){return D<10?"0"+D.toString(10):D.toString(10)}var ee=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function z(){var D=new Date,X=[K(D.getHours()),K(D.getMinutes()),K(D.getSeconds())].join(":");return[D.getDate(),ee[D.getMonth()],X].join(" ")}n.log=function(){console.log("%s - %s",z(),n.format.apply(n,arguments))},n.inherits=ze(),n._extend=function(D,X){if(!X||!N(X))return D;for(var Y=Object.keys(X),te=Y.length;te--;)D[Y[te]]=X[Y[te]];return D};function ne(D,X){return Object.prototype.hasOwnProperty.call(D,X)}var Q=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(X){if(typeof X!="function")throw new TypeError('The "original" argument must be of type Function');if(Q&&X[Q]){var Y=X[Q];if(typeof Y!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Y,Q,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Y}function Y(){for(var te,G,b=new Promise(function(U,O){te=U,G=O}),g=[],H=0;H<arguments.length;H++)g.push(arguments[H]);g.push(function(U,O){U?G(U):te(O)});try{X.apply(this,g)}catch(U){G(U)}return b}return Object.setPrototypeOf(Y,Object.getPrototypeOf(X)),Q&&Object.defineProperty(Y,Q,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Y,e(X))},n.promisify.custom=Q;function le(D,X){if(!D){var Y=new Error("Promise was rejected with a falsy value");Y.reason=D,D=Y}return X(D)}function V(D){if(typeof D!="function")throw new TypeError('The "original" argument must be of type Function');function X(){for(var Y=[],te=0;te<arguments.length;te++)Y.push(arguments[te]);var G=Y.pop();if(typeof G!="function")throw new TypeError("The last argument must be of type Function");var b=this,g=function(){return G.apply(b,arguments)};D.apply(this,Y).then(function(H){pe.nextTick(g.bind(null,null,H))},function(H){pe.nextTick(le.bind(null,H,g))})}return Object.setPrototypeOf(X,Object.getPrototypeOf(D)),Object.defineProperties(X,e(D)),X}n.callbackify=V})(Qt)),Qt}var $r,ga;function tu(){if(ga)return $r;ga=1;function n(R,v){var x=Object.keys(R);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(R);v&&(o=o.filter(function(y){return Object.getOwnPropertyDescriptor(R,y).enumerable})),x.push.apply(x,o)}return x}function e(R){for(var v=1;v<arguments.length;v++){var x=arguments[v]!=null?arguments[v]:{};v%2?n(Object(x),!0).forEach(function(o){t(R,o,x[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(x)):n(Object(x)).forEach(function(o){Object.defineProperty(R,o,Object.getOwnPropertyDescriptor(x,o))})}return R}function t(R,v,x){return v=p(v),v in R?Object.defineProperty(R,v,{value:x,enumerable:!0,configurable:!0,writable:!0}):R[v]=x,R}function s(R,v){if(!(R instanceof v))throw new TypeError("Cannot call a class as a function")}function c(R,v){for(var x=0;x<v.length;x++){var o=v[x];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(R,p(o.key),o)}}function l(R,v,x){return v&&c(R.prototype,v),Object.defineProperty(R,"prototype",{writable:!1}),R}function p(R){var v=i(R,"string");return typeof v=="symbol"?v:String(v)}function i(R,v){if(typeof R!="object"||R===null)return R;var x=R[Symbol.toPrimitive];if(x!==void 0){var o=x.call(R,v);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(R)}var f=qt(),S=f.Buffer,T=Os(),I=T.inspect,k=I&&I.custom||"inspect";function E(R,v,x){S.prototype.copy.call(R,v,x)}return $r=(function(){function R(){s(this,R),this.head=null,this.tail=null,this.length=0}return l(R,[{key:"push",value:function(x){var o={data:x,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}},{key:"unshift",value:function(x){var o={data:x,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var o=this.head,y=""+o.data;o=o.next;)y+=x+o.data;return y}},{key:"concat",value:function(x){if(this.length===0)return S.alloc(0);for(var o=S.allocUnsafe(x>>>0),y=this.head,m=0;y;)E(y.data,o,m),m+=y.data.length,y=y.next;return o}},{key:"consume",value:function(x,o){var y;return x<this.head.data.length?(y=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?y=this.shift():y=o?this._getString(x):this._getBuffer(x),y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var o=this.head,y=1,m=o.data;for(x-=m.length;o=o.next;){var u=o.data,A=x>u.length?u.length:x;if(A===u.length?m+=u:m+=u.slice(0,x),x-=A,x===0){A===u.length?(++y,o.next?this.head=o.next:this.head=this.tail=null):(this.head=o,o.data=u.slice(A));break}++y}return this.length-=y,m}},{key:"_getBuffer",value:function(x){var o=S.allocUnsafe(x),y=this.head,m=1;for(y.data.copy(o),x-=y.data.length;y=y.next;){var u=y.data,A=x>u.length?u.length:x;if(u.copy(o,o.length-x,0,A),x-=A,x===0){A===u.length?(++m,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=u.slice(A));break}++m}return this.length-=m,o}},{key:k,value:function(x,o){return I(this,e(e({},o),{},{depth:0,customInspect:!1}))}}]),R})(),$r}var Jr,wa;function Ds(){if(wa)return Jr;wa=1;function n(p,i){var f=this,S=this._readableState&&this._readableState.destroyed,T=this._writableState&&this._writableState.destroyed;return S||T?(i?i(p):p&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pe.nextTick(c,this,p)):pe.nextTick(c,this,p)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(p||null,function(I){!i&&I?f._writableState?f._writableState.errorEmitted?pe.nextTick(t,f):(f._writableState.errorEmitted=!0,pe.nextTick(e,f,I)):pe.nextTick(e,f,I):i?(pe.nextTick(t,f),i(I)):pe.nextTick(t,f)}),this)}function e(p,i){c(p,i),t(p)}function t(p){p._writableState&&!p._writableState.emitClose||p._readableState&&!p._readableState.emitClose||p.emit("close")}function s(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function c(p,i){p.emit("error",i)}function l(p,i){var f=p._readableState,S=p._writableState;f&&f.autoDestroy||S&&S.autoDestroy?p.destroy(i):p.emit("error",i)}return Jr={destroy:n,undestroy:s,errorOrDestroy:l},Jr}var Qr={},ya;function ct(){if(ya)return Qr;ya=1;function n(i,f){i.prototype=Object.create(f.prototype),i.prototype.constructor=i,i.__proto__=f}var e={};function t(i,f,S){S||(S=Error);function T(k,E,R){return typeof f=="string"?f:f(k,E,R)}var I=(function(k){n(E,k);function E(R,v,x){return k.call(this,T(R,v,x))||this}return E})(S);I.prototype.name=S.name,I.prototype.code=i,e[i]=I}function s(i,f){if(Array.isArray(i)){var S=i.length;return i=i.map(function(T){return String(T)}),S>2?"one of ".concat(f," ").concat(i.slice(0,S-1).join(", "),", or ")+i[S-1]:S===2?"one of ".concat(f," ").concat(i[0]," or ").concat(i[1]):"of ".concat(f," ").concat(i[0])}else return"of ".concat(f," ").concat(String(i))}function c(i,f,S){return i.substr(0,f.length)===f}function l(i,f,S){return(S===void 0||S>i.length)&&(S=i.length),i.substring(S-f.length,S)===f}function p(i,f,S){return typeof S!="number"&&(S=0),S+f.length>i.length?!1:i.indexOf(f,S)!==-1}return t("ERR_INVALID_OPT_VALUE",function(i,f){return'The value "'+f+'" is invalid for option "'+i+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(i,f,S){var T;typeof f=="string"&&c(f,"not ")?(T="must not be",f=f.replace(/^not /,"")):T="must be";var I;if(l(i," argument"))I="The ".concat(i," ").concat(T," ").concat(s(f,"type"));else{var k=p(i,".")?"property":"argument";I='The "'.concat(i,'" ').concat(k," ").concat(T," ").concat(s(f,"type"))}return I+=". Received type ".concat(typeof S),I},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(i){return"The "+i+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(i){return"Cannot call "+i+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(i){return"Unknown encoding: "+i},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Qr.codes=e,Qr}var en,va;function Fs(){if(va)return en;va=1;var n=ct().codes.ERR_INVALID_OPT_VALUE;function e(s,c,l){return s.highWaterMark!=null?s.highWaterMark:c?s[l]:null}function t(s,c,l,p){var i=e(c,p,l);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var f=p?l:"highWaterMark";throw new n(f,i)}return Math.floor(i)}return s.objectMode?16:16*1024}return en={getHighWaterMark:t},en}var tn,ba;function ru(){if(ba)return tn;ba=1,tn=n;function n(t,s){if(e("noDeprecation"))return t;var c=!1;function l(){if(!c){if(e("throwDeprecation"))throw new Error(s);e("traceDeprecation")?console.trace(s):console.warn(s),c=!0}return t.apply(this,arguments)}return l}function e(t){try{if(!Re.localStorage)return!1}catch{return!1}var s=Re.localStorage[t];return s==null?!1:String(s).toLowerCase()==="true"}return tn}var rn,_a;function Ps(){if(_a)return rn;_a=1,rn=W;function n(G){var b=this;this.next=null,this.entry=null,this.finish=function(){te(b,G)}}var e;W.WritableState=P;var t={deprecate:ru()},s=_s(),c=qt().Buffer,l=(typeof Re<"u"?Re:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function p(G){return c.from(G)}function i(G){return c.isBuffer(G)||G instanceof l}var f=Ds(),S=Fs(),T=S.getHighWaterMark,I=ct().codes,k=I.ERR_INVALID_ARG_TYPE,E=I.ERR_METHOD_NOT_IMPLEMENTED,R=I.ERR_MULTIPLE_CALLBACK,v=I.ERR_STREAM_CANNOT_PIPE,x=I.ERR_STREAM_DESTROYED,o=I.ERR_STREAM_NULL_VALUES,y=I.ERR_STREAM_WRITE_AFTER_END,m=I.ERR_UNKNOWN_ENCODING,u=f.errorOrDestroy;ze()(W,s);function A(){}function P(G,b,g){e=e||at(),G=G||{},typeof g!="boolean"&&(g=b instanceof e),this.objectMode=!!G.objectMode,g&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=T(this,G,"writableHighWaterMark",g),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var H=G.decodeStrings===!1;this.decodeStrings=!H,this.defaultEncoding=G.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(U){ee(b,U)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=G.emitClose!==!1,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}P.prototype.getBuffer=function(){for(var b=this.bufferedRequest,g=[];b;)g.push(b),b=b.next;return g},(function(){try{Object.defineProperty(P.prototype,"buffer",{get:t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var L;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(L=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(b){return L.call(this,b)?!0:this!==W?!1:b&&b._writableState instanceof P}})):L=function(b){return b instanceof this};function W(G){e=e||at();var b=this instanceof e;if(!b&&!L.call(W,this))return new W(G);this._writableState=new P(G,this,b),this.writable=!0,G&&(typeof G.write=="function"&&(this._write=G.write),typeof G.writev=="function"&&(this._writev=G.writev),typeof G.destroy=="function"&&(this._destroy=G.destroy),typeof G.final=="function"&&(this._final=G.final)),s.call(this)}W.prototype.pipe=function(){u(this,new v)};function N(G,b){var g=new y;u(G,g),pe.nextTick(b,g)}function Z(G,b,g,H){var U;return g===null?U=new o:typeof g!="string"&&!b.objectMode&&(U=new k("chunk",["string","Buffer"],g)),U?(u(G,U),pe.nextTick(H,U),!1):!0}W.prototype.write=function(G,b,g){var H=this._writableState,U=!1,O=!H.objectMode&&i(G);return O&&!c.isBuffer(G)&&(G=p(G)),typeof b=="function"&&(g=b,b=null),O?b="buffer":b||(b=H.defaultEncoding),typeof g!="function"&&(g=A),H.ending?N(this,g):(O||Z(this,H,G,g))&&(H.pendingcb++,U=C(this,H,O,G,b,g)),U},W.prototype.cork=function(){this._writableState.corked++},W.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&Q(this,G))},W.prototype.setDefaultEncoding=function(b){if(typeof b=="string"&&(b=b.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((b+"").toLowerCase())>-1))throw new m(b);return this._writableState.defaultEncoding=b,this},Object.defineProperty(W.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function oe(G,b,g){return!G.objectMode&&G.decodeStrings!==!1&&typeof b=="string"&&(b=c.from(b,g)),b}Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C(G,b,g,H,U,O){if(!g){var F=oe(b,H,U);H!==F&&(g=!0,U="buffer",H=F)}var J=b.objectMode?1:H.length;b.length+=J;var h=b.length<b.highWaterMark;if(h||(b.needDrain=!0),b.writing||b.corked){var $=b.lastBufferedRequest;b.lastBufferedRequest={chunk:H,encoding:U,isBuf:g,callback:O,next:null},$?$.next=b.lastBufferedRequest:b.bufferedRequest=b.lastBufferedRequest,b.bufferedRequestCount+=1}else M(G,b,!1,J,H,U,O);return h}function M(G,b,g,H,U,O,F){b.writelen=H,b.writecb=F,b.writing=!0,b.sync=!0,b.destroyed?b.onwrite(new x("write")):g?G._writev(U,b.onwrite):G._write(U,O,b.onwrite),b.sync=!1}function w(G,b,g,H,U){--b.pendingcb,g?(pe.nextTick(U,H),pe.nextTick(X,G,b),G._writableState.errorEmitted=!0,u(G,H)):(U(H),G._writableState.errorEmitted=!0,u(G,H),X(G,b))}function K(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}function ee(G,b){var g=G._writableState,H=g.sync,U=g.writecb;if(typeof U!="function")throw new R;if(K(g),b)w(G,g,H,b,U);else{var O=le(g)||G.destroyed;!O&&!g.corked&&!g.bufferProcessing&&g.bufferedRequest&&Q(G,g),H?pe.nextTick(z,G,g,O,U):z(G,g,O,U)}}function z(G,b,g,H){g||ne(G,b),b.pendingcb--,H(),X(G,b)}function ne(G,b){b.length===0&&b.needDrain&&(b.needDrain=!1,G.emit("drain"))}function Q(G,b){b.bufferProcessing=!0;var g=b.bufferedRequest;if(G._writev&&g&&g.next){var H=b.bufferedRequestCount,U=new Array(H),O=b.corkedRequestsFree;O.entry=g;for(var F=0,J=!0;g;)U[F]=g,g.isBuf||(J=!1),g=g.next,F+=1;U.allBuffers=J,M(G,b,!0,b.length,U,"",O.finish),b.pendingcb++,b.lastBufferedRequest=null,O.next?(b.corkedRequestsFree=O.next,O.next=null):b.corkedRequestsFree=new n(b),b.bufferedRequestCount=0}else{for(;g;){var h=g.chunk,$=g.encoding,_=g.callback,r=b.objectMode?1:h.length;if(M(G,b,!1,r,h,$,_),g=g.next,b.bufferedRequestCount--,b.writing)break}g===null&&(b.lastBufferedRequest=null)}b.bufferedRequest=g,b.bufferProcessing=!1}W.prototype._write=function(G,b,g){g(new E("_write()"))},W.prototype._writev=null,W.prototype.end=function(G,b,g){var H=this._writableState;return typeof G=="function"?(g=G,G=null,b=null):typeof b=="function"&&(g=b,b=null),G!=null&&this.write(G,b),H.corked&&(H.corked=1,this.uncork()),H.ending||Y(this,H,g),this},Object.defineProperty(W.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function le(G){return G.ending&&G.length===0&&G.bufferedRequest===null&&!G.finished&&!G.writing}function V(G,b){G._final(function(g){b.pendingcb--,g&&u(G,g),b.prefinished=!0,G.emit("prefinish"),X(G,b)})}function D(G,b){!b.prefinished&&!b.finalCalled&&(typeof G._final=="function"&&!b.destroyed?(b.pendingcb++,b.finalCalled=!0,pe.nextTick(V,G,b)):(b.prefinished=!0,G.emit("prefinish")))}function X(G,b){var g=le(b);if(g&&(D(G,b),b.pendingcb===0&&(b.finished=!0,G.emit("finish"),b.autoDestroy))){var H=G._readableState;(!H||H.autoDestroy&&H.endEmitted)&&G.destroy()}return g}function Y(G,b,g){b.ending=!0,X(G,b),g&&(b.finished?pe.nextTick(g):G.once("finish",g)),b.ended=!0,G.writable=!1}function te(G,b,g){var H=G.entry;for(G.entry=null;H;){var U=H.callback;b.pendingcb--,U(g),H=H.next}b.corkedRequestsFree.next=G}return Object.defineProperty(W.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(b){this._writableState&&(this._writableState.destroyed=b)}}),W.prototype.destroy=f.destroy,W.prototype._undestroy=f.undestroy,W.prototype._destroy=function(G,b){b(G)},rn}var nn,Ea;function at(){if(Ea)return nn;Ea=1;var n=Object.keys||function(S){var T=[];for(var I in S)T.push(I);return T};nn=p;var e=Ls(),t=Ps();ze()(p,e);for(var s=n(t.prototype),c=0;c<s.length;c++){var l=s[c];p.prototype[l]||(p.prototype[l]=t.prototype[l])}function p(S){if(!(this instanceof p))return new p(S);e.call(this,S),t.call(this,S),this.allowHalfOpen=!0,S&&(S.readable===!1&&(this.readable=!1),S.writable===!1&&(this.writable=!1),S.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",i)))}Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(p.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(p.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function i(){this._writableState.ended||pe.nextTick(f,this)}function f(S){S.end()}return Object.defineProperty(p.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(T){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=T,this._writableState.destroyed=T)}}),nn}var an={},Dt={exports:{}},Aa;function nu(){return Aa||(Aa=1,(function(n,e){var t=qt(),s=t.Buffer;function c(p,i){for(var f in p)i[f]=p[f]}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?n.exports=t:(c(t,e),e.Buffer=l);function l(p,i,f){return s(p,i,f)}c(s,l),l.from=function(p,i,f){if(typeof p=="number")throw new TypeError("Argument must not be a number");return s(p,i,f)},l.alloc=function(p,i,f){if(typeof p!="number")throw new TypeError("Argument must be a number");var S=s(p);return i!==void 0?typeof f=="string"?S.fill(i,f):S.fill(i):S.fill(0),S},l.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return s(p)},l.allocUnsafeSlow=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(p)}})(Dt,Dt.exports)),Dt.exports}var xa;function Vn(){if(xa)return an;xa=1;var n=nu().Buffer,e=n.isEncoding||function(o){switch(o=""+o,o&&o.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(o){if(!o)return"utf8";for(var y;;)switch(o){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return o;default:if(y)return;o=(""+o).toLowerCase(),y=!0}}function s(o){var y=t(o);if(typeof y!="string"&&(n.isEncoding===e||!e(o)))throw new Error("Unknown encoding: "+o);return y||o}an.StringDecoder=c;function c(o){this.encoding=s(o);var y;switch(this.encoding){case"utf16le":this.text=I,this.end=k,y=4;break;case"utf8":this.fillLast=f,y=4;break;case"base64":this.text=E,this.end=R,y=3;break;default:this.write=v,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(y)}c.prototype.write=function(o){if(o.length===0)return"";var y,m;if(this.lastNeed){if(y=this.fillLast(o),y===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m<o.length?y?y+this.text(o,m):this.text(o,m):y||""},c.prototype.end=T,c.prototype.text=S,c.prototype.fillLast=function(o){if(this.lastNeed<=o.length)return o.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);o.copy(this.lastChar,this.lastTotal-this.lastNeed,0,o.length),this.lastNeed-=o.length};function l(o){return o<=127?0:o>>5===6?2:o>>4===14?3:o>>3===30?4:o>>6===2?-1:-2}function p(o,y,m){var u=y.length-1;if(u<m)return 0;var A=l(y[u]);return A>=0?(A>0&&(o.lastNeed=A-1),A):--u<m||A===-2?0:(A=l(y[u]),A>=0?(A>0&&(o.lastNeed=A-2),A):--u<m||A===-2?0:(A=l(y[u]),A>=0?(A>0&&(A===2?A=0:o.lastNeed=A-3),A):0))}function i(o,y,m){if((y[0]&192)!==128)return o.lastNeed=0,"�";if(o.lastNeed>1&&y.length>1){if((y[1]&192)!==128)return o.lastNeed=1,"�";if(o.lastNeed>2&&y.length>2&&(y[2]&192)!==128)return o.lastNeed=2,"�"}}function f(o){var y=this.lastTotal-this.lastNeed,m=i(this,o);if(m!==void 0)return m;if(this.lastNeed<=o.length)return o.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);o.copy(this.lastChar,y,0,o.length),this.lastNeed-=o.length}function S(o,y){var m=p(this,o,y);if(!this.lastNeed)return o.toString("utf8",y);this.lastTotal=m;var u=o.length-(m-this.lastNeed);return o.copy(this.lastChar,0,u),o.toString("utf8",y,u)}function T(o){var y=o&&o.length?this.write(o):"";return this.lastNeed?y+"�":y}function I(o,y){if((o.length-y)%2===0){var m=o.toString("utf16le",y);if(m){var u=m.charCodeAt(m.length-1);if(u>=55296&&u<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=o[o.length-2],this.lastChar[1]=o[o.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=o[o.length-1],o.toString("utf16le",y,o.length-1)}function k(o){var y=o&&o.length?this.write(o):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,m)}return y}function E(o,y){var m=(o.length-y)%3;return m===0?o.toString("base64",y):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=o[o.length-1]:(this.lastChar[0]=o[o.length-2],this.lastChar[1]=o[o.length-1]),o.toString("base64",y,o.length-m))}function R(o){var y=o&&o.length?this.write(o):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function v(o){return o.toString(this.encoding)}function x(o){return o&&o.length?this.write(o):""}return an}var sn,Sa;function ei(){if(Sa)return sn;Sa=1;var n=ct().codes.ERR_STREAM_PREMATURE_CLOSE;function e(l){var p=!1;return function(){if(!p){p=!0;for(var i=arguments.length,f=new Array(i),S=0;S<i;S++)f[S]=arguments[S];l.apply(this,f)}}}function t(){}function s(l){return l.setHeader&&typeof l.abort=="function"}function c(l,p,i){if(typeof p=="function")return c(l,null,p);p||(p={}),i=e(i||t);var f=p.readable||p.readable!==!1&&l.readable,S=p.writable||p.writable!==!1&&l.writable,T=function(){l.writable||k()},I=l._writableState&&l._writableState.finished,k=function(){S=!1,I=!0,f||i.call(l)},E=l._readableState&&l._readableState.endEmitted,R=function(){f=!1,E=!0,S||i.call(l)},v=function(m){i.call(l,m)},x=function(){var m;if(f&&!E)return(!l._readableState||!l._readableState.ended)&&(m=new n),i.call(l,m);if(S&&!I)return(!l._writableState||!l._writableState.ended)&&(m=new n),i.call(l,m)},o=function(){l.req.on("finish",k)};return s(l)?(l.on("complete",k),l.on("abort",x),l.req?o():l.on("request",o)):S&&!l._writableState&&(l.on("end",T),l.on("close",T)),l.on("end",R),l.on("finish",k),p.error!==!1&&l.on("error",v),l.on("close",x),function(){l.removeListener("complete",k),l.removeListener("abort",x),l.removeListener("request",o),l.req&&l.req.removeListener("finish",k),l.removeListener("end",T),l.removeListener("close",T),l.removeListener("finish",k),l.removeListener("end",R),l.removeListener("error",v),l.removeListener("close",x)}}return sn=c,sn}var on,Ta;function iu(){if(Ta)return on;Ta=1;var n;function e(m,u,A){return u=t(u),u in m?Object.defineProperty(m,u,{value:A,enumerable:!0,configurable:!0,writable:!0}):m[u]=A,m}function t(m){var u=s(m,"string");return typeof u=="symbol"?u:String(u)}function s(m,u){if(typeof m!="object"||m===null)return m;var A=m[Symbol.toPrimitive];if(A!==void 0){var P=A.call(m,u);if(typeof P!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(m)}var c=ei(),l=Symbol("lastResolve"),p=Symbol("lastReject"),i=Symbol("error"),f=Symbol("ended"),S=Symbol("lastPromise"),T=Symbol("handlePromise"),I=Symbol("stream");function k(m,u){return{value:m,done:u}}function E(m){var u=m[l];if(u!==null){var A=m[I].read();A!==null&&(m[S]=null,m[l]=null,m[p]=null,u(k(A,!1)))}}function R(m){pe.nextTick(E,m)}function v(m,u){return function(A,P){m.then(function(){if(u[f]){A(k(void 0,!0));return}u[T](A,P)},P)}}var x=Object.getPrototypeOf(function(){}),o=Object.setPrototypeOf((n={get stream(){return this[I]},next:function(){var u=this,A=this[i];if(A!==null)return Promise.reject(A);if(this[f])return Promise.resolve(k(void 0,!0));if(this[I].destroyed)return new Promise(function(N,Z){pe.nextTick(function(){u[i]?Z(u[i]):N(k(void 0,!0))})});var P=this[S],L;if(P)L=new Promise(v(P,this));else{var W=this[I].read();if(W!==null)return Promise.resolve(k(W,!1));L=new Promise(this[T])}return this[S]=L,L}},e(n,Symbol.asyncIterator,function(){return this}),e(n,"return",function(){var u=this;return new Promise(function(A,P){u[I].destroy(null,function(L){if(L){P(L);return}A(k(void 0,!0))})})}),n),x),y=function(u){var A,P=Object.create(o,(A={},e(A,I,{value:u,writable:!0}),e(A,l,{value:null,writable:!0}),e(A,p,{value:null,writable:!0}),e(A,i,{value:null,writable:!0}),e(A,f,{value:u._readableState.endEmitted,writable:!0}),e(A,T,{value:function(W,N){var Z=P[I].read();Z?(P[S]=null,P[l]=null,P[p]=null,W(k(Z,!1))):(P[l]=W,P[p]=N)},writable:!0}),A));return P[S]=null,c(u,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var W=P[p];W!==null&&(P[S]=null,P[l]=null,P[p]=null,W(L)),P[i]=L;return}var N=P[l];N!==null&&(P[S]=null,P[l]=null,P[p]=null,N(k(void 0,!0))),P[f]=!0}),u.on("readable",R.bind(null,P)),P};return on=y,on}var un,Ra;function au(){return Ra||(Ra=1,un=function(){throw new Error("Readable.from is not available in the browser")}),un}var ln,Ia;function Ls(){if(Ia)return ln;Ia=1,ln=N;var n;N.ReadableState=W,Zn().EventEmitter;var e=function(F,J){return F.listeners(J).length},t=_s(),s=qt().Buffer,c=(typeof Re<"u"?Re:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(O){return s.from(O)}function p(O){return s.isBuffer(O)||O instanceof c}var i=Os(),f;i&&i.debuglog?f=i.debuglog("stream"):f=function(){};var S=tu(),T=Ds(),I=Fs(),k=I.getHighWaterMark,E=ct().codes,R=E.ERR_INVALID_ARG_TYPE,v=E.ERR_STREAM_PUSH_AFTER_EOF,x=E.ERR_METHOD_NOT_IMPLEMENTED,o=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,y,m,u;ze()(N,t);var A=T.errorOrDestroy,P=["error","close","destroy","pause","resume"];function L(O,F,J){if(typeof O.prependListener=="function")return O.prependListener(F,J);!O._events||!O._events[F]?O.on(F,J):Array.isArray(O._events[F])?O._events[F].unshift(J):O._events[F]=[J,O._events[F]]}function W(O,F,J){n=n||at(),O=O||{},typeof J!="boolean"&&(J=F instanceof n),this.objectMode=!!O.objectMode,J&&(this.objectMode=this.objectMode||!!O.readableObjectMode),this.highWaterMark=k(this,O,"readableHighWaterMark",J),this.buffer=new S,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=O.emitClose!==!1,this.autoDestroy=!!O.autoDestroy,this.destroyed=!1,this.defaultEncoding=O.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,O.encoding&&(y||(y=Vn().StringDecoder),this.decoder=new y(O.encoding),this.encoding=O.encoding)}function N(O){if(n=n||at(),!(this instanceof N))return new N(O);var F=this instanceof n;this._readableState=new W(O,this,F),this.readable=!0,O&&(typeof O.read=="function"&&(this._read=O.read),typeof O.destroy=="function"&&(this._destroy=O.destroy)),t.call(this)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(F){this._readableState&&(this._readableState.destroyed=F)}}),N.prototype.destroy=T.destroy,N.prototype._undestroy=T.undestroy,N.prototype._destroy=function(O,F){F(O)},N.prototype.push=function(O,F){var J=this._readableState,h;return J.objectMode?h=!0:typeof O=="string"&&(F=F||J.defaultEncoding,F!==J.encoding&&(O=s.from(O,F),F=""),h=!0),Z(this,O,F,!1,h)},N.prototype.unshift=function(O){return Z(this,O,null,!0,!1)};function Z(O,F,J,h,$){f("readableAddChunk",F);var _=O._readableState;if(F===null)_.reading=!1,ee(O,_);else{var r;if($||(r=C(_,F)),r)A(O,r);else if(_.objectMode||F&&F.length>0)if(typeof F!="string"&&!_.objectMode&&Object.getPrototypeOf(F)!==s.prototype&&(F=l(F)),h)_.endEmitted?A(O,new o):oe(O,_,F,!0);else if(_.ended)A(O,new v);else{if(_.destroyed)return!1;_.reading=!1,_.decoder&&!J?(F=_.decoder.write(F),_.objectMode||F.length!==0?oe(O,_,F,!1):Q(O,_)):oe(O,_,F,!1)}else h||(_.reading=!1,Q(O,_))}return!_.ended&&(_.length<_.highWaterMark||_.length===0)}function oe(O,F,J,h){F.flowing&&F.length===0&&!F.sync?(F.awaitDrain=0,O.emit("data",J)):(F.length+=F.objectMode?1:J.length,h?F.buffer.unshift(J):F.buffer.push(J),F.needReadable&&z(O)),Q(O,F)}function C(O,F){var J;return!p(F)&&typeof F!="string"&&F!==void 0&&!O.objectMode&&(J=new R("chunk",["string","Buffer","Uint8Array"],F)),J}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(O){y||(y=Vn().StringDecoder);var F=new y(O);this._readableState.decoder=F,this._readableState.encoding=this._readableState.decoder.encoding;for(var J=this._readableState.buffer.head,h="";J!==null;)h+=F.write(J.data),J=J.next;return this._readableState.buffer.clear(),h!==""&&this._readableState.buffer.push(h),this._readableState.length=h.length,this};var M=1073741824;function w(O){return O>=M?O=M:(O--,O|=O>>>1,O|=O>>>2,O|=O>>>4,O|=O>>>8,O|=O>>>16,O++),O}function K(O,F){return O<=0||F.length===0&&F.ended?0:F.objectMode?1:O!==O?F.flowing&&F.length?F.buffer.head.data.length:F.length:(O>F.highWaterMark&&(F.highWaterMark=w(O)),O<=F.length?O:F.ended?F.length:(F.needReadable=!0,0))}N.prototype.read=function(O){f("read",O),O=parseInt(O,10);var F=this._readableState,J=O;if(O!==0&&(F.emittedReadable=!1),O===0&&F.needReadable&&((F.highWaterMark!==0?F.length>=F.highWaterMark:F.length>0)||F.ended))return f("read: emitReadable",F.length,F.ended),F.length===0&&F.ended?g(this):z(this),null;if(O=K(O,F),O===0&&F.ended)return F.length===0&&g(this),null;var h=F.needReadable;f("need readable",h),(F.length===0||F.length-O<F.highWaterMark)&&(h=!0,f("length less than watermark",h)),F.ended||F.reading?(h=!1,f("reading or ended",h)):h&&(f("do read"),F.reading=!0,F.sync=!0,F.length===0&&(F.needReadable=!0),this._read(F.highWaterMark),F.sync=!1,F.reading||(O=K(J,F)));var $;return O>0?$=b(O,F):$=null,$===null?(F.needReadable=F.length<=F.highWaterMark,O=0):(F.length-=O,F.awaitDrain=0),F.length===0&&(F.ended||(F.needReadable=!0),J!==O&&F.ended&&g(this)),$!==null&&this.emit("data",$),$};function ee(O,F){if(f("onEofChunk"),!F.ended){if(F.decoder){var J=F.decoder.end();J&&J.length&&(F.buffer.push(J),F.length+=F.objectMode?1:J.length)}F.ended=!0,F.sync?z(O):(F.needReadable=!1,F.emittedReadable||(F.emittedReadable=!0,ne(O)))}}function z(O){var F=O._readableState;f("emitReadable",F.needReadable,F.emittedReadable),F.needReadable=!1,F.emittedReadable||(f("emitReadable",F.flowing),F.emittedReadable=!0,pe.nextTick(ne,O))}function ne(O){var F=O._readableState;f("emitReadable_",F.destroyed,F.length,F.ended),!F.destroyed&&(F.length||F.ended)&&(O.emit("readable"),F.emittedReadable=!1),F.needReadable=!F.flowing&&!F.ended&&F.length<=F.highWaterMark,G(O)}function Q(O,F){F.readingMore||(F.readingMore=!0,pe.nextTick(le,O,F))}function le(O,F){for(;!F.reading&&!F.ended&&(F.length<F.highWaterMark||F.flowing&&F.length===0);){var J=F.length;if(f("maybeReadMore read 0"),O.read(0),J===F.length)break}F.readingMore=!1}N.prototype._read=function(O){A(this,new x("_read()"))},N.prototype.pipe=function(O,F){var J=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=O;break;case 1:h.pipes=[h.pipes,O];break;default:h.pipes.push(O);break}h.pipesCount+=1,f("pipe count=%d opts=%j",h.pipesCount,F);var $=(!F||F.end!==!1)&&O!==pe.stdout&&O!==pe.stderr,_=$?a:fe;h.endEmitted?pe.nextTick(_):J.once("end",_),O.on("unpipe",r);function r(he,de){f("onunpipe"),he===J&&de&&de.hasUnpiped===!1&&(de.hasUnpiped=!0,q())}function a(){f("onend"),O.end()}var d=V(J);O.on("drain",d);var B=!1;function q(){f("cleanup"),O.removeListener("close",ae),O.removeListener("finish",ie),O.removeListener("drain",d),O.removeListener("error",re),O.removeListener("unpipe",r),J.removeListener("end",a),J.removeListener("end",fe),J.removeListener("data",j),B=!0,h.awaitDrain&&(!O._writableState||O._writableState.needDrain)&&d()}J.on("data",j);function j(he){f("ondata");var de=O.write(he);f("dest.write",de),de===!1&&((h.pipesCount===1&&h.pipes===O||h.pipesCount>1&&U(h.pipes,O)!==-1)&&!B&&(f("false write response, pause",h.awaitDrain),h.awaitDrain++),J.pause())}function re(he){f("onerror",he),fe(),O.removeListener("error",re),e(O,"error")===0&&A(O,he)}L(O,"error",re);function ae(){O.removeListener("finish",ie),fe()}O.once("close",ae);function ie(){f("onfinish"),O.removeListener("close",ae),fe()}O.once("finish",ie);function fe(){f("unpipe"),J.unpipe(O)}return O.emit("pipe",J),h.flowing||(f("pipe resume"),J.resume()),O};function V(O){return function(){var J=O._readableState;f("pipeOnDrain",J.awaitDrain),J.awaitDrain&&J.awaitDrain--,J.awaitDrain===0&&e(O,"data")&&(J.flowing=!0,G(O))}}N.prototype.unpipe=function(O){var F=this._readableState,J={hasUnpiped:!1};if(F.pipesCount===0)return this;if(F.pipesCount===1)return O&&O!==F.pipes?this:(O||(O=F.pipes),F.pipes=null,F.pipesCount=0,F.flowing=!1,O&&O.emit("unpipe",this,J),this);if(!O){var h=F.pipes,$=F.pipesCount;F.pipes=null,F.pipesCount=0,F.flowing=!1;for(var _=0;_<$;_++)h[_].emit("unpipe",this,{hasUnpiped:!1});return this}var r=U(F.pipes,O);return r===-1?this:(F.pipes.splice(r,1),F.pipesCount-=1,F.pipesCount===1&&(F.pipes=F.pipes[0]),O.emit("unpipe",this,J),this)},N.prototype.on=function(O,F){var J=t.prototype.on.call(this,O,F),h=this._readableState;return O==="data"?(h.readableListening=this.listenerCount("readable")>0,h.flowing!==!1&&this.resume()):O==="readable"&&!h.endEmitted&&!h.readableListening&&(h.readableListening=h.needReadable=!0,h.flowing=!1,h.emittedReadable=!1,f("on readable",h.length,h.reading),h.length?z(this):h.reading||pe.nextTick(X,this)),J},N.prototype.addListener=N.prototype.on,N.prototype.removeListener=function(O,F){var J=t.prototype.removeListener.call(this,O,F);return O==="readable"&&pe.nextTick(D,this),J},N.prototype.removeAllListeners=function(O){var F=t.prototype.removeAllListeners.apply(this,arguments);return(O==="readable"||O===void 0)&&pe.nextTick(D,this),F};function D(O){var F=O._readableState;F.readableListening=O.listenerCount("readable")>0,F.resumeScheduled&&!F.paused?F.flowing=!0:O.listenerCount("data")>0&&O.resume()}function X(O){f("readable nexttick read 0"),O.read(0)}N.prototype.resume=function(){var O=this._readableState;return O.flowing||(f("resume"),O.flowing=!O.readableListening,Y(this,O)),O.paused=!1,this};function Y(O,F){F.resumeScheduled||(F.resumeScheduled=!0,pe.nextTick(te,O,F))}function te(O,F){f("resume",F.reading),F.reading||O.read(0),F.resumeScheduled=!1,O.emit("resume"),G(O),F.flowing&&!F.reading&&O.read(0)}N.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function G(O){var F=O._readableState;for(f("flow",F.flowing);F.flowing&&O.read()!==null;);}N.prototype.wrap=function(O){var F=this,J=this._readableState,h=!1;O.on("end",function(){if(f("wrapped end"),J.decoder&&!J.ended){var r=J.decoder.end();r&&r.length&&F.push(r)}F.push(null)}),O.on("data",function(r){if(f("wrapped data"),J.decoder&&(r=J.decoder.write(r)),!(J.objectMode&&r==null)&&!(!J.objectMode&&(!r||!r.length))){var a=F.push(r);a||(h=!0,O.pause())}});for(var $ in O)this[$]===void 0&&typeof O[$]=="function"&&(this[$]=(function(a){return function(){return O[a].apply(O,arguments)}})($));for(var _=0;_<P.length;_++)O.on(P[_],this.emit.bind(this,P[_]));return this._read=function(r){f("wrapped _read",r),h&&(h=!1,O.resume())},this},typeof Symbol=="function"&&(N.prototype[Symbol.asyncIterator]=function(){return m===void 0&&(m=iu()),m(this)}),Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(F){this._readableState&&(this._readableState.flowing=F)}}),N._fromList=b,Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function b(O,F){if(F.length===0)return null;var J;return F.objectMode?J=F.buffer.shift():!O||O>=F.length?(F.decoder?J=F.buffer.join(""):F.buffer.length===1?J=F.buffer.first():J=F.buffer.concat(F.length),F.buffer.clear()):J=F.buffer.consume(O,F.decoder),J}function g(O){var F=O._readableState;f("endReadable",F.endEmitted),F.endEmitted||(F.ended=!0,pe.nextTick(H,F,O))}function H(O,F){if(f("endReadableNT",O.endEmitted,O.length),!O.endEmitted&&O.length===0&&(O.endEmitted=!0,F.readable=!1,F.emit("end"),O.autoDestroy)){var J=F._writableState;(!J||J.autoDestroy&&J.finished)&&F.destroy()}}typeof Symbol=="function"&&(N.from=function(O,F){return u===void 0&&(u=au()),u(N,O,F)});function U(O,F){for(var J=0,h=O.length;J<h;J++)if(O[J]===F)return J;return-1}return ln}var cn,ka;function Bs(){if(ka)return cn;ka=1,cn=i;var n=ct().codes,e=n.ERR_METHOD_NOT_IMPLEMENTED,t=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=n.ERR_TRANSFORM_WITH_LENGTH_0,l=at();ze()(i,l);function p(T,I){var k=this._transformState;k.transforming=!1;var E=k.writecb;if(E===null)return this.emit("error",new t);k.writechunk=null,k.writecb=null,I!=null&&this.push(I),E(T);var R=this._readableState;R.reading=!1,(R.needReadable||R.length<R.highWaterMark)&&this._read(R.highWaterMark)}function i(T){if(!(this instanceof i))return new i(T);l.call(this,T),this._transformState={afterTransform:p.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,T&&(typeof T.transform=="function"&&(this._transform=T.transform),typeof T.flush=="function"&&(this._flush=T.flush)),this.on("prefinish",f)}function f(){var T=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(I,k){S(T,I,k)}):S(this,null,null)}i.prototype.push=function(T,I){return this._transformState.needTransform=!1,l.prototype.push.call(this,T,I)},i.prototype._transform=function(T,I,k){k(new e("_transform()"))},i.prototype._write=function(T,I,k){var E=this._transformState;if(E.writecb=k,E.writechunk=T,E.writeencoding=I,!E.transforming){var R=this._readableState;(E.needTransform||R.needReadable||R.length<R.highWaterMark)&&this._read(R.highWaterMark)}},i.prototype._read=function(T){var I=this._transformState;I.writechunk!==null&&!I.transforming?(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform)):I.needTransform=!0},i.prototype._destroy=function(T,I){l.prototype._destroy.call(this,T,function(k){I(k)})};function S(T,I,k){if(I)return T.emit("error",I);if(k!=null&&T.push(k),T._writableState.length)throw new c;if(T._transformState.transforming)throw new s;return T.push(null)}return cn}var fn,Na;function su(){if(Na)return fn;Na=1,fn=e;var n=Bs();ze()(e,n);function e(t){if(!(this instanceof e))return new e(t);n.call(this,t)}return e.prototype._transform=function(t,s,c){c(null,t)},fn}var hn,Ca;function ou(){if(Ca)return hn;Ca=1;var n;function e(k){var E=!1;return function(){E||(E=!0,k.apply(void 0,arguments))}}var t=ct().codes,s=t.ERR_MISSING_ARGS,c=t.ERR_STREAM_DESTROYED;function l(k){if(k)throw k}function p(k){return k.setHeader&&typeof k.abort=="function"}function i(k,E,R,v){v=e(v);var x=!1;k.on("close",function(){x=!0}),n===void 0&&(n=ei()),n(k,{readable:E,writable:R},function(y){if(y)return v(y);x=!0,v()});var o=!1;return function(y){if(!x&&!o){if(o=!0,p(k))return k.abort();if(typeof k.destroy=="function")return k.destroy();v(y||new c("pipe"))}}}function f(k){k()}function S(k,E){return k.pipe(E)}function T(k){return!k.length||typeof k[k.length-1]!="function"?l:k.pop()}function I(){for(var k=arguments.length,E=new Array(k),R=0;R<k;R++)E[R]=arguments[R];var v=T(E);if(Array.isArray(E[0])&&(E=E[0]),E.length<2)throw new s("streams");var x,o=E.map(function(y,m){var u=m<E.length-1,A=m>0;return i(y,u,A,function(P){x||(x=P),P&&o.forEach(f),!u&&(o.forEach(f),v(x))})});return E.reduce(S)}return hn=I,hn}var dn,Oa;function ti(){if(Oa)return dn;Oa=1,dn=t;var n=Zn().EventEmitter,e=ze();e(t,n),t.Readable=Ls(),t.Writable=Ps(),t.Duplex=at(),t.Transform=Bs(),t.PassThrough=su(),t.finished=ei(),t.pipeline=ou(),t.Stream=t;function t(){n.call(this)}return t.prototype.pipe=function(s,c){var l=this;function p(E){s.writable&&s.write(E)===!1&&l.pause&&l.pause()}l.on("data",p);function i(){l.readable&&l.resume&&l.resume()}s.on("drain",i),!s._isStdio&&(!c||c.end!==!1)&&(l.on("end",S),l.on("close",T));var f=!1;function S(){f||(f=!0,s.end())}function T(){f||(f=!0,typeof s.destroy=="function"&&s.destroy())}function I(E){if(k(),n.listenerCount(this,"error")===0)throw E}l.on("error",I),s.on("error",I);function k(){l.removeListener("data",p),s.removeListener("drain",i),l.removeListener("end",S),l.removeListener("close",T),l.removeListener("error",I),s.removeListener("error",I),l.removeListener("end",k),l.removeListener("close",k),s.removeListener("close",k)}return l.on("end",k),l.on("close",k),s.on("close",k),s.emit("pipe",l),s},dn}var Da;function uu(){return Da||(Da=1,(function(n){(function(e){e.parser=function(b,g){return new s(b,g)},e.SAXParser=s,e.SAXStream=T,e.createStream=S,e.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function s(b,g){if(!(this instanceof s))return new s(b,g);var H=this;l(H),H.q=H.c="",H.bufferCheckPosition=e.MAX_BUFFER_LENGTH,H.opt=g||{},H.opt.lowercase=H.opt.lowercase||H.opt.lowercasetags,H.looseCase=H.opt.lowercase?"toLowerCase":"toUpperCase",H.tags=[],H.closed=H.closedRoot=H.sawRoot=!1,H.tag=H.error=null,H.strict=!!b,H.noscript=!!(b||H.opt.noscript),H.state=N.BEGIN,H.strictEntities=H.opt.strictEntities,H.ENTITIES=H.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),H.attribList=[],H.opt.xmlns&&(H.ns=Object.create(v)),H.trackPosition=H.opt.position!==!1,H.trackPosition&&(H.position=H.line=H.column=0),oe(H,"onready")}Object.create||(Object.create=function(b){function g(){}g.prototype=b;var H=new g;return H}),Object.keys||(Object.keys=function(b){var g=[];for(var H in b)b.hasOwnProperty(H)&&g.push(H);return g});function c(b){for(var g=Math.max(e.MAX_BUFFER_LENGTH,10),H=0,U=0,O=t.length;U<O;U++){var F=b[t[U]].length;if(F>g)switch(t[U]){case"textNode":M(b);break;case"cdata":C(b,"oncdata",b.cdata),b.cdata="";break;case"script":C(b,"onscript",b.script),b.script="";break;default:K(b,"Max buffer length exceeded: "+t[U])}H=Math.max(H,F)}var J=e.MAX_BUFFER_LENGTH-H;b.bufferCheckPosition=J+b.position}function l(b){for(var g=0,H=t.length;g<H;g++)b[t[g]]=""}function p(b){M(b),b.cdata!==""&&(C(b,"oncdata",b.cdata),b.cdata=""),b.script!==""&&(C(b,"onscript",b.script),b.script="")}s.prototype={end:function(){ee(this)},write:G,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){p(this)}};var i;try{i=ti().Stream}catch{i=function(){}}var f=e.EVENTS.filter(function(b){return b!=="error"&&b!=="end"});function S(b,g){return new T(b,g)}function T(b,g){if(!(this instanceof T))return new T(b,g);i.apply(this),this._parser=new s(b,g),this.writable=!0,this.readable=!0;var H=this;this._parser.onend=function(){H.emit("end")},this._parser.onerror=function(U){H.emit("error",U),H._parser.error=null},this._decoder=null,f.forEach(function(U){Object.defineProperty(H,"on"+U,{get:function(){return H._parser["on"+U]},set:function(O){if(!O)return H.removeAllListeners(U),H._parser["on"+U]=O,O;H.on(U,O)},enumerable:!0,configurable:!1})})}T.prototype=Object.create(i.prototype,{constructor:{value:T}}),T.prototype.write=function(b){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(b)){if(!this._decoder){var g=Vn().StringDecoder;this._decoder=new g("utf8")}b=this._decoder.write(b)}return this._parser.write(b.toString()),this.emit("data",b),!0},T.prototype.end=function(b){return b&&b.length&&this.write(b),this._parser.end(),!0},T.prototype.on=function(b,g){var H=this;return!H._parser["on"+b]&&f.indexOf(b)!==-1&&(H._parser["on"+b]=function(){var U=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);U.splice(0,0,b),H.emit.apply(H,U)}),i.prototype.on.call(H,b,g)};var I="[CDATA[",k="DOCTYPE",E="http://www.w3.org/XML/1998/namespace",R="http://www.w3.org/2000/xmlns/",v={xml:E,xmlns:R},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function u(b){return b===" "||b===`
11
+ `||b==="\r"||b===" "}function A(b){return b==='"'||b==="'"}function P(b){return b===">"||u(b)}function L(b,g){return b.test(g)}function W(b,g){return!L(b,g)}var N=0;e.STATE={BEGIN:N++,BEGIN_WHITESPACE:N++,TEXT:N++,TEXT_ENTITY:N++,OPEN_WAKA:N++,SGML_DECL:N++,SGML_DECL_QUOTED:N++,DOCTYPE:N++,DOCTYPE_QUOTED:N++,DOCTYPE_DTD:N++,DOCTYPE_DTD_QUOTED:N++,COMMENT_STARTING:N++,COMMENT:N++,COMMENT_ENDING:N++,COMMENT_ENDED:N++,CDATA:N++,CDATA_ENDING:N++,CDATA_ENDING_2:N++,PROC_INST:N++,PROC_INST_BODY:N++,PROC_INST_ENDING:N++,OPEN_TAG:N++,OPEN_TAG_SLASH:N++,ATTRIB:N++,ATTRIB_NAME:N++,ATTRIB_NAME_SAW_WHITE:N++,ATTRIB_VALUE:N++,ATTRIB_VALUE_QUOTED:N++,ATTRIB_VALUE_CLOSED:N++,ATTRIB_VALUE_UNQUOTED:N++,ATTRIB_VALUE_ENTITY_Q:N++,ATTRIB_VALUE_ENTITY_U:N++,CLOSE_TAG:N++,CLOSE_TAG_SAW_WHITE:N++,SCRIPT:N++,SCRIPT_ENDING:N++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(b){var g=e.ENTITIES[b],H=typeof g=="number"?String.fromCharCode(g):g;e.ENTITIES[b]=H});for(var Z in e.STATE)e.STATE[e.STATE[Z]]=Z;N=e.STATE;function oe(b,g,H){b[g]&&b[g](H)}function C(b,g,H){b.textNode&&M(b),oe(b,g,H)}function M(b){b.textNode=w(b.opt,b.textNode),b.textNode&&oe(b,"ontext",b.textNode),b.textNode=""}function w(b,g){return b.trim&&(g=g.trim()),b.normalize&&(g=g.replace(/\s+/g," ")),g}function K(b,g){return M(b),b.trackPosition&&(g+=`
12
+ Line: `+b.line+`
13
+ Column: `+b.column+`
14
+ Char: `+b.c),g=new Error(g),b.error=g,oe(b,"onerror",g),b}function ee(b){return b.sawRoot&&!b.closedRoot&&z(b,"Unclosed root tag"),b.state!==N.BEGIN&&b.state!==N.BEGIN_WHITESPACE&&b.state!==N.TEXT&&K(b,"Unexpected end"),M(b),b.c="",b.closed=!0,oe(b,"onend"),s.call(b,b.strict,b.opt),b}function z(b,g){if(typeof b!="object"||!(b instanceof s))throw new Error("bad call to strictFail");b.strict&&K(b,g)}function ne(b){b.strict||(b.tagName=b.tagName[b.looseCase]());var g=b.tags[b.tags.length-1]||b,H=b.tag={name:b.tagName,attributes:{}};b.opt.xmlns&&(H.ns=g.ns),b.attribList.length=0,C(b,"onopentagstart",H)}function Q(b,g){var H=b.indexOf(":"),U=H<0?["",b]:b.split(":"),O=U[0],F=U[1];return g&&b==="xmlns"&&(O="xmlns",F=""),{prefix:O,local:F}}function le(b){if(b.strict||(b.attribName=b.attribName[b.looseCase]()),b.attribList.indexOf(b.attribName)!==-1||b.tag.attributes.hasOwnProperty(b.attribName)){b.attribName=b.attribValue="";return}if(b.opt.xmlns){var g=Q(b.attribName,!0),H=g.prefix,U=g.local;if(H==="xmlns")if(U==="xml"&&b.attribValue!==E)z(b,"xml: prefix must be bound to "+E+`
15
+ Actual: `+b.attribValue);else if(U==="xmlns"&&b.attribValue!==R)z(b,"xmlns: prefix must be bound to "+R+`
16
+ Actual: `+b.attribValue);else{var O=b.tag,F=b.tags[b.tags.length-1]||b;O.ns===F.ns&&(O.ns=Object.create(F.ns)),O.ns[U]=b.attribValue}b.attribList.push([b.attribName,b.attribValue])}else b.tag.attributes[b.attribName]=b.attribValue,C(b,"onattribute",{name:b.attribName,value:b.attribValue});b.attribName=b.attribValue=""}function V(b,g){if(b.opt.xmlns){var H=b.tag,U=Q(b.tagName);H.prefix=U.prefix,H.local=U.local,H.uri=H.ns[U.prefix]||"",H.prefix&&!H.uri&&(z(b,"Unbound namespace prefix: "+JSON.stringify(b.tagName)),H.uri=U.prefix);var O=b.tags[b.tags.length-1]||b;H.ns&&O.ns!==H.ns&&Object.keys(H.ns).forEach(function(j){C(b,"onopennamespace",{prefix:j,uri:H.ns[j]})});for(var F=0,J=b.attribList.length;F<J;F++){var h=b.attribList[F],$=h[0],_=h[1],r=Q($,!0),a=r.prefix,d=r.local,B=a===""?"":H.ns[a]||"",q={name:$,value:_,prefix:a,local:d,uri:B};a&&a!=="xmlns"&&!B&&(z(b,"Unbound namespace prefix: "+JSON.stringify(a)),q.uri=a),b.tag.attributes[$]=q,C(b,"onattribute",q)}b.attribList.length=0}b.tag.isSelfClosing=!!g,b.sawRoot=!0,b.tags.push(b.tag),C(b,"onopentag",b.tag),g||(!b.noscript&&b.tagName.toLowerCase()==="script"?b.state=N.SCRIPT:b.state=N.TEXT,b.tag=null,b.tagName=""),b.attribName=b.attribValue="",b.attribList.length=0}function D(b){if(!b.tagName){z(b,"Weird empty close tag."),b.textNode+="</>",b.state=N.TEXT;return}if(b.script){if(b.tagName!=="script"){b.script+="</"+b.tagName+">",b.tagName="",b.state=N.SCRIPT;return}C(b,"onscript",b.script),b.script=""}var g=b.tags.length,H=b.tagName;b.strict||(H=H[b.looseCase]());for(var U=H;g--;){var O=b.tags[g];if(O.name!==U)z(b,"Unexpected close tag");else break}if(g<0){z(b,"Unmatched closing tag: "+b.tagName),b.textNode+="</"+b.tagName+">",b.state=N.TEXT;return}b.tagName=H;for(var F=b.tags.length;F-- >g;){var J=b.tag=b.tags.pop();b.tagName=b.tag.name,C(b,"onclosetag",b.tagName);var h={};for(var $ in J.ns)h[$]=J.ns[$];var _=b.tags[b.tags.length-1]||b;b.opt.xmlns&&J.ns!==_.ns&&Object.keys(J.ns).forEach(function(r){var a=J.ns[r];C(b,"onclosenamespace",{prefix:r,uri:a})})}g===0&&(b.closedRoot=!0),b.tagName=b.attribValue=b.attribName="",b.attribList.length=0,b.state=N.TEXT}function X(b){var g=b.entity,H=g.toLowerCase(),U,O="";return b.ENTITIES[g]?b.ENTITIES[g]:b.ENTITIES[H]?b.ENTITIES[H]:(g=H,g.charAt(0)==="#"&&(g.charAt(1)==="x"?(g=g.slice(2),U=parseInt(g,16),O=U.toString(16)):(g=g.slice(1),U=parseInt(g,10),O=U.toString(10))),g=g.replace(/^0+/,""),isNaN(U)||O.toLowerCase()!==g?(z(b,"Invalid character entity"),"&"+b.entity+";"):String.fromCodePoint(U))}function Y(b,g){g==="<"?(b.state=N.OPEN_WAKA,b.startTagPosition=b.position):u(g)||(z(b,"Non-whitespace before first tag."),b.textNode=g,b.state=N.TEXT)}function te(b,g){var H="";return g<b.length&&(H=b.charAt(g)),H}function G(b){var g=this;if(this.error)throw this.error;if(g.closed)return K(g,"Cannot write after close. Assign an onready handler.");if(b===null)return ee(g);typeof b=="object"&&(b=b.toString());for(var H=0,U="";U=te(b,H++),g.c=U,!!U;)switch(g.trackPosition&&(g.position++,U===`
17
+ `?(g.line++,g.column=0):g.column++),g.state){case N.BEGIN:if(g.state=N.BEGIN_WHITESPACE,U==="\uFEFF")continue;Y(g,U);continue;case N.BEGIN_WHITESPACE:Y(g,U);continue;case N.TEXT:if(g.sawRoot&&!g.closedRoot){for(var O=H-1;U&&U!=="<"&&U!=="&";)U=te(b,H++),U&&g.trackPosition&&(g.position++,U===`
18
+ `?(g.line++,g.column=0):g.column++);g.textNode+=b.substring(O,H-1)}U==="<"&&!(g.sawRoot&&g.closedRoot&&!g.strict)?(g.state=N.OPEN_WAKA,g.startTagPosition=g.position):(!u(U)&&(!g.sawRoot||g.closedRoot)&&z(g,"Text data outside of root node."),U==="&"?g.state=N.TEXT_ENTITY:g.textNode+=U);continue;case N.SCRIPT:U==="<"?g.state=N.SCRIPT_ENDING:g.script+=U;continue;case N.SCRIPT_ENDING:U==="/"?g.state=N.CLOSE_TAG:(g.script+="<"+U,g.state=N.SCRIPT);continue;case N.OPEN_WAKA:if(U==="!")g.state=N.SGML_DECL,g.sgmlDecl="";else if(!u(U))if(L(x,U))g.state=N.OPEN_TAG,g.tagName=U;else if(U==="/")g.state=N.CLOSE_TAG,g.tagName="";else if(U==="?")g.state=N.PROC_INST,g.procInstName=g.procInstBody="";else{if(z(g,"Unencoded <"),g.startTagPosition+1<g.position){var F=g.position-g.startTagPosition;U=new Array(F).join(" ")+U}g.textNode+="<"+U,g.state=N.TEXT}continue;case N.SGML_DECL:(g.sgmlDecl+U).toUpperCase()===I?(C(g,"onopencdata"),g.state=N.CDATA,g.sgmlDecl="",g.cdata=""):g.sgmlDecl+U==="--"?(g.state=N.COMMENT,g.comment="",g.sgmlDecl=""):(g.sgmlDecl+U).toUpperCase()===k?(g.state=N.DOCTYPE,(g.doctype||g.sawRoot)&&z(g,"Inappropriately located doctype declaration"),g.doctype="",g.sgmlDecl=""):U===">"?(C(g,"onsgmldeclaration",g.sgmlDecl),g.sgmlDecl="",g.state=N.TEXT):(A(U)&&(g.state=N.SGML_DECL_QUOTED),g.sgmlDecl+=U);continue;case N.SGML_DECL_QUOTED:U===g.q&&(g.state=N.SGML_DECL,g.q=""),g.sgmlDecl+=U;continue;case N.DOCTYPE:U===">"?(g.state=N.TEXT,C(g,"ondoctype",g.doctype),g.doctype=!0):(g.doctype+=U,U==="["?g.state=N.DOCTYPE_DTD:A(U)&&(g.state=N.DOCTYPE_QUOTED,g.q=U));continue;case N.DOCTYPE_QUOTED:g.doctype+=U,U===g.q&&(g.q="",g.state=N.DOCTYPE);continue;case N.DOCTYPE_DTD:g.doctype+=U,U==="]"?g.state=N.DOCTYPE:A(U)&&(g.state=N.DOCTYPE_DTD_QUOTED,g.q=U);continue;case N.DOCTYPE_DTD_QUOTED:g.doctype+=U,U===g.q&&(g.state=N.DOCTYPE_DTD,g.q="");continue;case N.COMMENT:U==="-"?g.state=N.COMMENT_ENDING:g.comment+=U;continue;case N.COMMENT_ENDING:U==="-"?(g.state=N.COMMENT_ENDED,g.comment=w(g.opt,g.comment),g.comment&&C(g,"oncomment",g.comment),g.comment=""):(g.comment+="-"+U,g.state=N.COMMENT);continue;case N.COMMENT_ENDED:U!==">"?(z(g,"Malformed comment"),g.comment+="--"+U,g.state=N.COMMENT):g.state=N.TEXT;continue;case N.CDATA:U==="]"?g.state=N.CDATA_ENDING:g.cdata+=U;continue;case N.CDATA_ENDING:U==="]"?g.state=N.CDATA_ENDING_2:(g.cdata+="]"+U,g.state=N.CDATA);continue;case N.CDATA_ENDING_2:U===">"?(g.cdata&&C(g,"oncdata",g.cdata),C(g,"onclosecdata"),g.cdata="",g.state=N.TEXT):U==="]"?g.cdata+="]":(g.cdata+="]]"+U,g.state=N.CDATA);continue;case N.PROC_INST:U==="?"?g.state=N.PROC_INST_ENDING:u(U)?g.state=N.PROC_INST_BODY:g.procInstName+=U;continue;case N.PROC_INST_BODY:if(!g.procInstBody&&u(U))continue;U==="?"?g.state=N.PROC_INST_ENDING:g.procInstBody+=U;continue;case N.PROC_INST_ENDING:U===">"?(C(g,"onprocessinginstruction",{name:g.procInstName,body:g.procInstBody}),g.procInstName=g.procInstBody="",g.state=N.TEXT):(g.procInstBody+="?"+U,g.state=N.PROC_INST_BODY);continue;case N.OPEN_TAG:L(o,U)?g.tagName+=U:(ne(g),U===">"?V(g):U==="/"?g.state=N.OPEN_TAG_SLASH:(u(U)||z(g,"Invalid character in tag name"),g.state=N.ATTRIB));continue;case N.OPEN_TAG_SLASH:U===">"?(V(g,!0),D(g)):(z(g,"Forward-slash in opening tag not followed by >"),g.state=N.ATTRIB);continue;case N.ATTRIB:if(u(U))continue;U===">"?V(g):U==="/"?g.state=N.OPEN_TAG_SLASH:L(x,U)?(g.attribName=U,g.attribValue="",g.state=N.ATTRIB_NAME):z(g,"Invalid attribute name");continue;case N.ATTRIB_NAME:U==="="?g.state=N.ATTRIB_VALUE:U===">"?(z(g,"Attribute without value"),g.attribValue=g.attribName,le(g),V(g)):u(U)?g.state=N.ATTRIB_NAME_SAW_WHITE:L(o,U)?g.attribName+=U:z(g,"Invalid attribute name");continue;case N.ATTRIB_NAME_SAW_WHITE:if(U==="=")g.state=N.ATTRIB_VALUE;else{if(u(U))continue;z(g,"Attribute without value"),g.tag.attributes[g.attribName]="",g.attribValue="",C(g,"onattribute",{name:g.attribName,value:""}),g.attribName="",U===">"?V(g):L(x,U)?(g.attribName=U,g.state=N.ATTRIB_NAME):(z(g,"Invalid attribute name"),g.state=N.ATTRIB)}continue;case N.ATTRIB_VALUE:if(u(U))continue;A(U)?(g.q=U,g.state=N.ATTRIB_VALUE_QUOTED):(z(g,"Unquoted attribute value"),g.state=N.ATTRIB_VALUE_UNQUOTED,g.attribValue=U);continue;case N.ATTRIB_VALUE_QUOTED:if(U!==g.q){U==="&"?g.state=N.ATTRIB_VALUE_ENTITY_Q:g.attribValue+=U;continue}le(g),g.q="",g.state=N.ATTRIB_VALUE_CLOSED;continue;case N.ATTRIB_VALUE_CLOSED:u(U)?g.state=N.ATTRIB:U===">"?V(g):U==="/"?g.state=N.OPEN_TAG_SLASH:L(x,U)?(z(g,"No whitespace between attributes"),g.attribName=U,g.attribValue="",g.state=N.ATTRIB_NAME):z(g,"Invalid attribute name");continue;case N.ATTRIB_VALUE_UNQUOTED:if(!P(U)){U==="&"?g.state=N.ATTRIB_VALUE_ENTITY_U:g.attribValue+=U;continue}le(g),U===">"?V(g):g.state=N.ATTRIB;continue;case N.CLOSE_TAG:if(g.tagName)U===">"?D(g):L(o,U)?g.tagName+=U:g.script?(g.script+="</"+g.tagName,g.tagName="",g.state=N.SCRIPT):(u(U)||z(g,"Invalid tagname in closing tag"),g.state=N.CLOSE_TAG_SAW_WHITE);else{if(u(U))continue;W(x,U)?g.script?(g.script+="</"+U,g.state=N.SCRIPT):z(g,"Invalid tagname in closing tag."):g.tagName=U}continue;case N.CLOSE_TAG_SAW_WHITE:if(u(U))continue;U===">"?D(g):z(g,"Invalid characters in closing tag");continue;case N.TEXT_ENTITY:case N.ATTRIB_VALUE_ENTITY_Q:case N.ATTRIB_VALUE_ENTITY_U:var J,h;switch(g.state){case N.TEXT_ENTITY:J=N.TEXT,h="textNode";break;case N.ATTRIB_VALUE_ENTITY_Q:J=N.ATTRIB_VALUE_QUOTED,h="attribValue";break;case N.ATTRIB_VALUE_ENTITY_U:J=N.ATTRIB_VALUE_UNQUOTED,h="attribValue";break}U===";"?(g[h]+=X(g),g.entity="",g.state=J):L(g.entity.length?m:y,U)?g.entity+=U:(z(g,"Invalid character in entity name"),g[h]+="&"+g.entity+U,g.entity="",g.state=J);continue;default:throw new Error(g,"Unknown state: "+g.state)}return g.position>=g.bufferCheckPosition&&c(g),g}String.fromCodePoint||(function(){var b=String.fromCharCode,g=Math.floor,H=function(){var U=16384,O=[],F,J,h=-1,$=arguments.length;if(!$)return"";for(var _="";++h<$;){var r=Number(arguments[h]);if(!isFinite(r)||r<0||r>1114111||g(r)!==r)throw RangeError("Invalid code point: "+r);r<=65535?O.push(r):(r-=65536,F=(r>>10)+55296,J=r%1024+56320,O.push(F,J)),(h+1===$||O.length>U)&&(_+=b.apply(null,O),O.length=0)}return _};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:H,configurable:!0,writable:!0}):String.fromCodePoint=H})()})(n)})(Yt)),Yt}var pn,Fa;function ri(){return Fa||(Fa=1,pn={isArray:function(n){return Array.isArray?Array.isArray(n):Object.prototype.toString.call(n)==="[object Array]"}}),pn}var mn,Pa;function ni(){if(Pa)return mn;Pa=1;var n=ri().isArray;return mn={copyOptions:function(e){var t,s={};for(t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);return s},ensureFlagExists:function(e,t){(!(e in t)||typeof t[e]!="boolean")&&(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||typeof e.spaces!="number"&&typeof e.spaces!="string")&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!("alwaysArray"in e)||typeof e.alwaysArray!="boolean"&&!n(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+"Key"in t)||typeof t[e+"Key"]!="string")&&(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}},mn}var gn,La;function Us(){if(La)return gn;La=1;var n=uu(),e=ni(),t=ri().isArray,s,c;function l(o){return s=e.copyOptions(o),e.ensureFlagExists("ignoreDeclaration",s),e.ensureFlagExists("ignoreInstruction",s),e.ensureFlagExists("ignoreAttributes",s),e.ensureFlagExists("ignoreText",s),e.ensureFlagExists("ignoreComment",s),e.ensureFlagExists("ignoreCdata",s),e.ensureFlagExists("ignoreDoctype",s),e.ensureFlagExists("compact",s),e.ensureFlagExists("alwaysChildren",s),e.ensureFlagExists("addParent",s),e.ensureFlagExists("trim",s),e.ensureFlagExists("nativeType",s),e.ensureFlagExists("nativeTypeAttributes",s),e.ensureFlagExists("sanitize",s),e.ensureFlagExists("instructionHasAttributes",s),e.ensureFlagExists("captureSpacesBetweenElements",s),e.ensureAlwaysArrayExists(s),e.ensureKeyExists("declaration",s),e.ensureKeyExists("instruction",s),e.ensureKeyExists("attributes",s),e.ensureKeyExists("text",s),e.ensureKeyExists("comment",s),e.ensureKeyExists("cdata",s),e.ensureKeyExists("doctype",s),e.ensureKeyExists("type",s),e.ensureKeyExists("name",s),e.ensureKeyExists("elements",s),e.ensureKeyExists("parent",s),e.checkFnExists("doctype",s),e.checkFnExists("instruction",s),e.checkFnExists("cdata",s),e.checkFnExists("comment",s),e.checkFnExists("text",s),e.checkFnExists("instructionName",s),e.checkFnExists("elementName",s),e.checkFnExists("attributeName",s),e.checkFnExists("attributeValue",s),e.checkFnExists("attributes",s),s}function p(o){var y=Number(o);if(!isNaN(y))return y;var m=o.toLowerCase();return m==="true"?!0:m==="false"?!1:o}function i(o,y){var m;if(s.compact){if(!c[s[o+"Key"]]&&(t(s.alwaysArray)?s.alwaysArray.indexOf(s[o+"Key"])!==-1:s.alwaysArray)&&(c[s[o+"Key"]]=[]),c[s[o+"Key"]]&&!t(c[s[o+"Key"]])&&(c[s[o+"Key"]]=[c[s[o+"Key"]]]),o+"Fn"in s&&typeof y=="string"&&(y=s[o+"Fn"](y,c)),o==="instruction"&&("instructionFn"in s||"instructionNameFn"in s)){for(m in y)if(y.hasOwnProperty(m))if("instructionFn"in s)y[m]=s.instructionFn(y[m],m,c);else{var u=y[m];delete y[m],y[s.instructionNameFn(m,u,c)]=u}}t(c[s[o+"Key"]])?c[s[o+"Key"]].push(y):c[s[o+"Key"]]=y}else{c[s.elementsKey]||(c[s.elementsKey]=[]);var A={};if(A[s.typeKey]=o,o==="instruction"){for(m in y)if(y.hasOwnProperty(m))break;A[s.nameKey]="instructionNameFn"in s?s.instructionNameFn(m,y,c):m,s.instructionHasAttributes?(A[s.attributesKey]=y[m][s.attributesKey],"instructionFn"in s&&(A[s.attributesKey]=s.instructionFn(A[s.attributesKey],m,c))):("instructionFn"in s&&(y[m]=s.instructionFn(y[m],m,c)),A[s.instructionKey]=y[m])}else o+"Fn"in s&&(y=s[o+"Fn"](y,c)),A[s[o+"Key"]]=y;s.addParent&&(A[s.parentKey]=c),c[s.elementsKey].push(A)}}function f(o){if("attributesFn"in s&&o&&(o=s.attributesFn(o,c)),(s.trim||"attributeValueFn"in s||"attributeNameFn"in s||s.nativeTypeAttributes)&&o){var y;for(y in o)if(o.hasOwnProperty(y)&&(s.trim&&(o[y]=o[y].trim()),s.nativeTypeAttributes&&(o[y]=p(o[y])),"attributeValueFn"in s&&(o[y]=s.attributeValueFn(o[y],y,c)),"attributeNameFn"in s)){var m=o[y];delete o[y],o[s.attributeNameFn(y,o[y],c)]=m}}return o}function S(o){var y={};if(o.body&&(o.name.toLowerCase()==="xml"||s.instructionHasAttributes)){for(var m=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,u;(u=m.exec(o.body))!==null;)y[u[1]]=u[2]||u[3]||u[4];y=f(y)}if(o.name.toLowerCase()==="xml"){if(s.ignoreDeclaration)return;c[s.declarationKey]={},Object.keys(y).length&&(c[s.declarationKey][s.attributesKey]=y),s.addParent&&(c[s.declarationKey][s.parentKey]=c)}else{if(s.ignoreInstruction)return;s.trim&&(o.body=o.body.trim());var A={};s.instructionHasAttributes&&Object.keys(y).length?(A[o.name]={},A[o.name][s.attributesKey]=y):A[o.name]=o.body,i("instruction",A)}}function T(o,y){var m;if(typeof o=="object"&&(y=o.attributes,o=o.name),y=f(y),"elementNameFn"in s&&(o=s.elementNameFn(o,c)),s.compact){if(m={},!s.ignoreAttributes&&y&&Object.keys(y).length){m[s.attributesKey]={};var u;for(u in y)y.hasOwnProperty(u)&&(m[s.attributesKey][u]=y[u])}!(o in c)&&(t(s.alwaysArray)?s.alwaysArray.indexOf(o)!==-1:s.alwaysArray)&&(c[o]=[]),c[o]&&!t(c[o])&&(c[o]=[c[o]]),t(c[o])?c[o].push(m):c[o]=m}else c[s.elementsKey]||(c[s.elementsKey]=[]),m={},m[s.typeKey]="element",m[s.nameKey]=o,!s.ignoreAttributes&&y&&Object.keys(y).length&&(m[s.attributesKey]=y),s.alwaysChildren&&(m[s.elementsKey]=[]),c[s.elementsKey].push(m);m[s.parentKey]=c,c=m}function I(o){s.ignoreText||!o.trim()&&!s.captureSpacesBetweenElements||(s.trim&&(o=o.trim()),s.nativeType&&(o=p(o)),s.sanitize&&(o=o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),i("text",o))}function k(o){s.ignoreComment||(s.trim&&(o=o.trim()),i("comment",o))}function E(o){var y=c[s.parentKey];s.addParent||delete c[s.parentKey],c=y}function R(o){s.ignoreCdata||(s.trim&&(o=o.trim()),i("cdata",o))}function v(o){s.ignoreDoctype||(o=o.replace(/^ /,""),s.trim&&(o=o.trim()),i("doctype",o))}function x(o){o.note=o}return gn=function(o,y){var m=n.parser(!0,{}),u={};if(c=u,s=l(y),m.opt={strictEntities:!0},m.onopentag=T,m.ontext=I,m.oncomment=k,m.onclosetag=E,m.onerror=x,m.oncdata=R,m.ondoctype=v,m.onprocessinginstruction=S,m.write(o).close(),u[s.elementsKey]){var A=u[s.elementsKey];delete u[s.elementsKey],u[s.elementsKey]=A,delete u.text}return u},gn}var wn,Ba;function lu(){if(Ba)return wn;Ba=1;var n=ni(),e=Us();function t(s){var c=n.copyOptions(s);return n.ensureSpacesExists(c),c}return wn=function(s,c){var l,p,i,f;return l=t(c),p=e(s,l),f="compact"in l&&l.compact?"_parent":"parent","addParent"in l&&l.addParent?i=JSON.stringify(p,function(S,T){return S===f?"_":T},l.spaces):i=JSON.stringify(p,null,l.spaces),i.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},wn}var yn,Ua;function Ms(){if(Ua)return yn;Ua=1;var n=ni(),e=ri().isArray,t,s;function c(m){var u=n.copyOptions(m);return n.ensureFlagExists("ignoreDeclaration",u),n.ensureFlagExists("ignoreInstruction",u),n.ensureFlagExists("ignoreAttributes",u),n.ensureFlagExists("ignoreText",u),n.ensureFlagExists("ignoreComment",u),n.ensureFlagExists("ignoreCdata",u),n.ensureFlagExists("ignoreDoctype",u),n.ensureFlagExists("compact",u),n.ensureFlagExists("indentText",u),n.ensureFlagExists("indentCdata",u),n.ensureFlagExists("indentAttributes",u),n.ensureFlagExists("indentInstruction",u),n.ensureFlagExists("fullTagEmptyElement",u),n.ensureFlagExists("noQuotesForNativeAttributes",u),n.ensureSpacesExists(u),typeof u.spaces=="number"&&(u.spaces=Array(u.spaces+1).join(" ")),n.ensureKeyExists("declaration",u),n.ensureKeyExists("instruction",u),n.ensureKeyExists("attributes",u),n.ensureKeyExists("text",u),n.ensureKeyExists("comment",u),n.ensureKeyExists("cdata",u),n.ensureKeyExists("doctype",u),n.ensureKeyExists("type",u),n.ensureKeyExists("name",u),n.ensureKeyExists("elements",u),n.checkFnExists("doctype",u),n.checkFnExists("instruction",u),n.checkFnExists("cdata",u),n.checkFnExists("comment",u),n.checkFnExists("text",u),n.checkFnExists("instructionName",u),n.checkFnExists("elementName",u),n.checkFnExists("attributeName",u),n.checkFnExists("attributeValue",u),n.checkFnExists("attributes",u),n.checkFnExists("fullTagEmptyElement",u),u}function l(m,u,A){return(!A&&m.spaces?`
19
+ `:"")+Array(u+1).join(m.spaces)}function p(m,u,A){if(u.ignoreAttributes)return"";"attributesFn"in u&&(m=u.attributesFn(m,s,t));var P,L,W,N,Z=[];for(P in m)m.hasOwnProperty(P)&&m[P]!==null&&m[P]!==void 0&&(N=u.noQuotesForNativeAttributes&&typeof m[P]!="string"?"":'"',L=""+m[P],L=L.replace(/"/g,"&quot;"),W="attributeNameFn"in u?u.attributeNameFn(P,L,s,t):P,Z.push(u.spaces&&u.indentAttributes?l(u,A+1,!1):" "),Z.push(W+"="+N+("attributeValueFn"in u?u.attributeValueFn(L,P,s,t):L)+N));return m&&Object.keys(m).length&&u.spaces&&u.indentAttributes&&Z.push(l(u,A,!1)),Z.join("")}function i(m,u,A){return t=m,s="xml",u.ignoreDeclaration?"":"<?xml"+p(m[u.attributesKey],u,A)+"?>"}function f(m,u,A){if(u.ignoreInstruction)return"";var P;for(P in m)if(m.hasOwnProperty(P))break;var L="instructionNameFn"in u?u.instructionNameFn(P,m[P],s,t):P;if(typeof m[P]=="object")return t=m,s=L,"<?"+L+p(m[P][u.attributesKey],u,A)+"?>";var W=m[P]?m[P]:"";return"instructionFn"in u&&(W=u.instructionFn(W,P,s,t)),"<?"+L+(W?" "+W:"")+"?>"}function S(m,u){return u.ignoreComment?"":"<!--"+("commentFn"in u?u.commentFn(m,s,t):m)+"-->"}function T(m,u){return u.ignoreCdata?"":"<![CDATA["+("cdataFn"in u?u.cdataFn(m,s,t):m.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function I(m,u){return u.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in u?u.doctypeFn(m,s,t):m)+">"}function k(m,u){return u.ignoreText?"":(m=""+m,m=m.replace(/&amp;/g,"&"),m=m.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in u?u.textFn(m,s,t):m)}function E(m,u){var A;if(m.elements&&m.elements.length)for(A=0;A<m.elements.length;++A)switch(m.elements[A][u.typeKey]){case"text":if(u.indentText)return!0;break;case"cdata":if(u.indentCdata)return!0;break;case"instruction":if(u.indentInstruction)return!0;break;case"doctype":case"comment":case"element":return!0;default:return!0}return!1}function R(m,u,A){t=m,s=m.name;var P=[],L="elementNameFn"in u?u.elementNameFn(m.name,m):m.name;P.push("<"+L),m[u.attributesKey]&&P.push(p(m[u.attributesKey],u,A));var W=m[u.elementsKey]&&m[u.elementsKey].length||m[u.attributesKey]&&m[u.attributesKey]["xml:space"]==="preserve";return W||("fullTagEmptyElementFn"in u?W=u.fullTagEmptyElementFn(m.name,m):W=u.fullTagEmptyElement),W?(P.push(">"),m[u.elementsKey]&&m[u.elementsKey].length&&(P.push(v(m[u.elementsKey],u,A+1)),t=m,s=m.name),P.push(u.spaces&&E(m,u)?`
20
+ `+Array(A+1).join(u.spaces):""),P.push("</"+L+">")):P.push("/>"),P.join("")}function v(m,u,A,P){return m.reduce(function(L,W){var N=l(u,A,P&&!L);switch(W.type){case"element":return L+N+R(W,u,A);case"comment":return L+N+S(W[u.commentKey],u);case"doctype":return L+N+I(W[u.doctypeKey],u);case"cdata":return L+(u.indentCdata?N:"")+T(W[u.cdataKey],u);case"text":return L+(u.indentText?N:"")+k(W[u.textKey],u);case"instruction":var Z={};return Z[W[u.nameKey]]=W[u.attributesKey]?W:W[u.instructionKey],L+(u.indentInstruction?N:"")+f(Z,u,A)}},"")}function x(m,u,A){var P;for(P in m)if(m.hasOwnProperty(P))switch(P){case u.parentKey:case u.attributesKey:break;case u.textKey:if(u.indentText||A)return!0;break;case u.cdataKey:if(u.indentCdata||A)return!0;break;case u.instructionKey:if(u.indentInstruction||A)return!0;break;case u.doctypeKey:case u.commentKey:return!0;default:return!0}return!1}function o(m,u,A,P,L){t=m,s=u;var W="elementNameFn"in A?A.elementNameFn(u,m):u;if(typeof m>"u"||m===null||m==="")return"fullTagEmptyElementFn"in A&&A.fullTagEmptyElementFn(u,m)||A.fullTagEmptyElement?"<"+W+"></"+W+">":"<"+W+"/>";var N=[];if(u){if(N.push("<"+W),typeof m!="object")return N.push(">"+k(m,A)+"</"+W+">"),N.join("");m[A.attributesKey]&&N.push(p(m[A.attributesKey],A,P));var Z=x(m,A,!0)||m[A.attributesKey]&&m[A.attributesKey]["xml:space"]==="preserve";if(Z||("fullTagEmptyElementFn"in A?Z=A.fullTagEmptyElementFn(u,m):Z=A.fullTagEmptyElement),Z)N.push(">");else return N.push("/>"),N.join("")}return N.push(y(m,A,P+1,!1)),t=m,s=u,u&&N.push((L?l(A,P,!1):"")+"</"+W+">"),N.join("")}function y(m,u,A,P){var L,W,N,Z=[];for(W in m)if(m.hasOwnProperty(W))for(N=e(m[W])?m[W]:[m[W]],L=0;L<N.length;++L){switch(W){case u.declarationKey:Z.push(i(N[L],u,A));break;case u.instructionKey:Z.push((u.indentInstruction?l(u,A,P):"")+f(N[L],u,A));break;case u.attributesKey:case u.parentKey:break;case u.textKey:Z.push((u.indentText?l(u,A,P):"")+k(N[L],u));break;case u.cdataKey:Z.push((u.indentCdata?l(u,A,P):"")+T(N[L],u));break;case u.doctypeKey:Z.push(l(u,A,P)+I(N[L],u));break;case u.commentKey:Z.push(l(u,A,P)+S(N[L],u));break;default:Z.push(l(u,A,P)+o(N[L],W,u,A,x(N[L],u)))}P=P&&!Z.length}return Z.join("")}return yn=function(m,u){u=c(u);var A=[];return t=m,s="_root_",u.compact?A.push(y(m,u,0,!0)):(m[u.declarationKey]&&A.push(i(m[u.declarationKey],u,0)),m[u.elementsKey]&&m[u.elementsKey].length&&A.push(v(m[u.elementsKey],u,0,!A.length))),A.join("")},yn}var vn,Ma;function cu(){if(Ma)return vn;Ma=1;var n=Ms();return vn=function(e,t){e instanceof Buffer&&(e=e.toString());var s=null;if(typeof e=="string")try{s=JSON.parse(e)}catch{throw new Error("The JSON structure is invalid")}else s=e;return n(s,t)},vn}var bn,ja;function fu(){if(ja)return bn;ja=1;var n=Us(),e=lu(),t=Ms(),s=cu();return bn={xml2js:n,xml2json:e,js2xml:t,json2xml:s},bn}var js=fu();const ii=n=>{switch(n.type){case void 0:case"element":const e=new du(n.name,n.attributes),t=n.elements||[];for(const s of t){const c=ii(s);c!==void 0&&e.push(c)}return e;case"text":return n.text;default:return}};class hu extends we{}class du extends ce{static fromXmlString(e){const t=js.xml2js(e,{compact:!1});return ii(t)}constructor(e,t){super(e),t&&this.root.push(new hu(t))}push(e){this.root.push(e)}}class pu extends ce{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}class Ws extends ce{constructor(e,t){super(e),t&&(this.root=t.root)}}const Se=n=>{if(isNaN(n))throw new Error(`Invalid value '${n}' specified. Must be an integer.`);return Math.floor(n)},Vt=n=>{const e=Se(n);if(e<0)throw new Error(`Invalid value '${n}' specified. Must be a positive integer.`);return e},Hs=(n,e)=>{const t=e*2;if(n.length!==t||isNaN(+`0x${n}`))throw new Error(`Invalid hex value '${n}'. Expected ${t} digit hex value`);return n},Wa=n=>Hs(n,1),zs=n=>{const e=n.slice(-2),t=n.substring(0,n.length-2);return`${Number(t)}${e}`},qs=n=>{const e=zs(n);if(parseFloat(e)<0)throw new Error(`Invalid value '${e}' specified. Expected a positive number.`);return e},st=n=>{if(n==="auto")return n;const e=n.charAt(0)==="#"?n.substring(1):n;return Hs(e,3)},Ye=n=>typeof n=="string"?zs(n):Se(n),mu=n=>typeof n=="string"?qs(n):Vt(n),ke=n=>typeof n=="string"?qs(n):Vt(n),gu=Vt,wu=Vt,yu=n=>n.toISOString();class ue extends ce{constructor(e,t=!0){super(e),t!==!0&&this.root.push(new Ae({val:t}))}}class _n extends ce{constructor(e,t){super(e),this.root.push(new Ae({val:mu(t)}))}}class vu extends ce{}class nt extends ce{constructor(e,t){super(e),this.root.push(new Ae({val:t}))}}const mt=(n,e)=>new ge({name:n,attributes:{value:{key:"w:val",value:e}}});class vt extends ce{constructor(e,t){super(e),this.root.push(new Ae({val:t}))}}class Ke extends ce{constructor(e,t){super(e),this.root.push(t)}}class ge extends ce{constructor({name:e,attributes:t,children:s}){super(e),t&&this.root.push(new mo(t)),s&&this.root.push(...s)}}const Oe={START:"start",CENTER:"center",END:"end",BOTH:"both",MEDIUM_KASHIDA:"mediumKashida",DISTRIBUTE:"distribute",NUM_TAB:"numTab",HIGH_KASHIDA:"highKashida",LOW_KASHIDA:"lowKashida",THAI_DISTRIBUTE:"thaiDistribute",LEFT:"left",RIGHT:"right",JUSTIFIED:"both"},bu=n=>new ge({name:"w:jc",attributes:{val:{key:"w:val",value:n}}}),Ee=(n,{color:e,size:t,space:s,style:c})=>new ge({name:n,attributes:{style:{key:"w:val",value:c},color:{key:"w:color",value:e===void 0?void 0:st(e)},size:{key:"w:sz",value:t===void 0?void 0:gu(t)},space:{key:"w:space",value:s===void 0?void 0:wu(s)}}}),ai={SINGLE:"single",NONE:"none"};class _u extends zt{constructor(e){super("w:pBdr"),e.top&&this.root.push(Ee("w:top",e.top)),e.bottom&&this.root.push(Ee("w:bottom",e.bottom)),e.left&&this.root.push(Ee("w:left",e.left)),e.right&&this.root.push(Ee("w:right",e.right)),e.between&&this.root.push(Ee("w:between",e.between))}}class Eu extends ce{constructor(){super("w:pBdr");const e=Ee("w:bottom",{color:"auto",space:1,style:ai.SINGLE,size:6});this.root.push(e)}}const Au=({start:n,end:e,left:t,right:s,hanging:c,firstLine:l})=>new ge({name:"w:ind",attributes:{start:{key:"w:start",value:n===void 0?void 0:Ye(n)},end:{key:"w:end",value:e===void 0?void 0:Ye(e)},left:{key:"w:left",value:t===void 0?void 0:Ye(t)},right:{key:"w:right",value:s===void 0?void 0:Ye(s)},hanging:{key:"w:hanging",value:c===void 0?void 0:ke(c)},firstLine:{key:"w:firstLine",value:l===void 0?void 0:ke(l)}}}),xu=()=>new ge({name:"w:br"}),si={BEGIN:"begin",END:"end",SEPARATE:"separate"},oi=(n,e)=>new ge({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:n},dirty:{key:"w:dirty",value:e}}}),Ft=n=>oi(si.BEGIN,n),Pt=n=>oi(si.SEPARATE,n),Lt=n=>oi(si.END,n),Pf={DECIMAL:"decimal",UPPER_ROMAN:"upperRoman",LOWER_ROMAN:"lowerRoman",UPPER_LETTER:"upperLetter",LOWER_LETTER:"lowerLetter",ORDINAL:"ordinal",CARDINAL_TEXT:"cardinalText",ORDINAL_TEXT:"ordinalText",HEX:"hex",CHICAGO:"chicago",IDEOGRAPH_DIGITAL:"ideographDigital",JAPANESE_COUNTING:"japaneseCounting",AIUEO:"aiueo",IROHA:"iroha",DECIMAL_FULL_WIDTH:"decimalFullWidth",DECIMAL_HALF_WIDTH:"decimalHalfWidth",JAPANESE_LEGAL:"japaneseLegal",JAPANESE_DIGITAL_TEN_THOUSAND:"japaneseDigitalTenThousand",DECIMAL_ENCLOSED_CIRCLE:"decimalEnclosedCircle",DECIMAL_FULL_WIDTH_2:"decimalFullWidth2",AIUEO_FULL_WIDTH:"aiueoFullWidth",IROHA_FULL_WIDTH:"irohaFullWidth",DECIMAL_ZERO:"decimalZero",BULLET:"bullet",GANADA:"ganada",CHOSUNG:"chosung",DECIMAL_ENCLOSED_FULL_STOP:"decimalEnclosedFullstop",DECIMAL_ENCLOSED_PAREN:"decimalEnclosedParen",DECIMAL_ENCLOSED_CIRCLE_CHINESE:"decimalEnclosedCircleChinese",IDEOGRAPH_ENCLOSED_CIRCLE:"ideographEnclosedCircle",IDEOGRAPH_TRADITIONAL:"ideographTraditional",IDEOGRAPH_ZODIAC:"ideographZodiac",IDEOGRAPH_ZODIAC_TRADITIONAL:"ideographZodiacTraditional",TAIWANESE_COUNTING:"taiwaneseCounting",IDEOGRAPH_LEGAL_TRADITIONAL:"ideographLegalTraditional",TAIWANESE_COUNTING_THOUSAND:"taiwaneseCountingThousand",TAIWANESE_DIGITAL:"taiwaneseDigital",CHINESE_COUNTING:"chineseCounting",CHINESE_LEGAL_SIMPLIFIED:"chineseLegalSimplified",CHINESE_COUNTING_TEN_THOUSAND:"chineseCountingThousand",KOREAN_DIGITAL:"koreanDigital",KOREAN_COUNTING:"koreanCounting",KOREAN_LEGAL:"koreanLegal",KOREAN_DIGITAL_2:"koreanDigital2",VIETNAMESE_COUNTING:"vietnameseCounting",RUSSIAN_LOWER:"russianLower",RUSSIAN_UPPER:"russianUpper",NONE:"none",NUMBER_IN_DASH:"numberInDash",HEBREW_1:"hebrew1",HEBREW_2:"hebrew2",ARABIC_ALPHA:"arabicAlpha",ARABIC_ABJAD:"arabicAbjad",HINDI_VOWELS:"hindiVowels",HINDI_CONSONANTS:"hindiConsonants",HINDI_NUMBERS:"hindiNumbers",HINDI_COUNTING:"hindiCounting",THAI_LETTERS:"thaiLetters",THAI_NUMBERS:"thaiNumbers",THAI_COUNTING:"thaiCounting",BAHT_TEXT:"bahtText",DOLLAR_TEXT:"dollarText"},ot={DEFAULT:"default",PRESERVE:"preserve"};class ut extends we{constructor(){super(...arguments),se(this,"xmlKeys",{space:"xml:space"})}}class Su extends ce{constructor(){super("w:instrText"),this.root.push(new ut({space:ot.PRESERVE})),this.root.push("PAGE")}}class Tu extends ce{constructor(){super("w:instrText"),this.root.push(new ut({space:ot.PRESERVE})),this.root.push("NUMPAGES")}}class Ru extends ce{constructor(){super("w:instrText"),this.root.push(new ut({space:ot.PRESERVE})),this.root.push("SECTIONPAGES")}}class Iu extends ce{constructor(){super("w:instrText"),this.root.push(new ut({space:ot.PRESERVE})),this.root.push("SECTION")}}const Gs=({fill:n,color:e,type:t})=>new ge({name:"w:shd",attributes:{fill:{key:"w:fill",value:n===void 0?void 0:st(n)},color:{key:"w:color",value:e===void 0?void 0:st(e)},type:{key:"w:val",value:t}}});class At extends we{constructor(){super(...arguments),se(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}class ku extends ce{constructor(e){super("w:del"),this.root.push(new At({id:e.id,author:e.author,date:e.date}))}}class Nu extends ce{constructor(e){super("w:ins"),this.root.push(new At({id:e.id,author:e.author,date:e.date}))}}const Cu={DOT:"dot"},Ou=(n=Cu.DOT)=>new ge({name:"w:em",attributes:{val:{key:"w:val",value:n}}});class Du extends ce{constructor(e){super("w:spacing"),this.root.push(new Ae({val:Ye(e)}))}}class Fu extends ce{constructor(e){super("w:color"),this.root.push(new Ae({val:st(e)}))}}class Pu extends ce{constructor(e){super("w:highlight"),this.root.push(new Ae({val:e}))}}class Lu extends ce{constructor(e){super("w:highlightCs"),this.root.push(new Ae({val:e}))}}const Bu=n=>new ge({name:"w:lang",attributes:{value:{key:"w:val",value:n.value},eastAsia:{key:"w:eastAsia",value:n.eastAsia},bidirectional:{key:"w:bidi",value:n.bidirectional}}}),En=(n,e)=>{if(typeof n=="string"){const s=n;return new ge({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:s},cs:{key:"w:cs",value:s},eastAsia:{key:"w:eastAsia",value:s},hAnsi:{key:"w:hAnsi",value:s},hint:{key:"w:hint",value:e}}})}const t=n;return new ge({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:t.ascii},cs:{key:"w:cs",value:t.cs},eastAsia:{key:"w:eastAsia",value:t.eastAsia},hAnsi:{key:"w:hAnsi",value:t.hAnsi},hint:{key:"w:hint",value:t.hint}}})},Ks=n=>new ge({name:"w:vertAlign",attributes:{val:{key:"w:val",value:n}}}),Uu=()=>Ks("superscript"),Mu=()=>Ks("subscript"),Vs={SINGLE:"single"},ju=(n=Vs.SINGLE,e)=>new ge({name:"w:u",attributes:{val:{key:"w:val",value:n},color:{key:"w:color",value:e===void 0?void 0:st(e)}}});class Je extends zt{constructor(e){var t,s;if(super("w:rPr"),!e)return;e.style&&this.push(new nt("w:rStyle",e.style)),e.font&&(typeof e.font=="string"?this.push(En(e.font)):"name"in e.font?this.push(En(e.font.name,e.font.hint)):this.push(En(e.font))),e.bold!==void 0&&this.push(new ue("w:b",e.bold)),(e.boldComplexScript===void 0&&e.bold!==void 0||e.boldComplexScript)&&this.push(new ue("w:bCs",(t=e.boldComplexScript)!=null?t:e.bold)),e.italics!==void 0&&this.push(new ue("w:i",e.italics)),(e.italicsComplexScript===void 0&&e.italics!==void 0||e.italicsComplexScript)&&this.push(new ue("w:iCs",(s=e.italicsComplexScript)!=null?s:e.italics)),e.smallCaps!==void 0?this.push(new ue("w:smallCaps",e.smallCaps)):e.allCaps!==void 0&&this.push(new ue("w:caps",e.allCaps)),e.strike!==void 0&&this.push(new ue("w:strike",e.strike)),e.doubleStrike!==void 0&&this.push(new ue("w:dstrike",e.doubleStrike)),e.emboss!==void 0&&this.push(new ue("w:emboss",e.emboss)),e.imprint!==void 0&&this.push(new ue("w:imprint",e.imprint)),e.noProof!==void 0&&this.push(new ue("w:noProof",e.noProof)),e.snapToGrid!==void 0&&this.push(new ue("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new ue("w:vanish",e.vanish)),e.color&&this.push(new Fu(e.color)),e.characterSpacing&&this.push(new Du(e.characterSpacing)),e.scale!==void 0&&this.push(new vt("w:w",e.scale)),e.kern&&this.push(new _n("w:kern",e.kern)),e.position&&this.push(new nt("w:position",e.position)),e.size!==void 0&&this.push(new _n("w:sz",e.size));const c=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;c&&this.push(new _n("w:szCs",c)),e.highlight&&this.push(new Pu(e.highlight));const l=e.highlightComplexScript===void 0||e.highlightComplexScript===!0?e.highlight:e.highlightComplexScript;l&&this.push(new Lu(l)),e.underline&&this.push(ju(e.underline.type,e.underline.color)),e.effect&&this.push(new nt("w:effect",e.effect)),e.border&&this.push(Ee("w:bdr",e.border)),e.shading&&this.push(Gs(e.shading)),e.subScript&&this.push(Mu()),e.superScript&&this.push(Uu()),e.rightToLeft!==void 0&&this.push(new ue("w:rtl",e.rightToLeft)),e.emphasisMark&&this.push(Ou(e.emphasisMark.type)),e.language&&this.push(Bu(e.language)),e.specVanish&&this.push(new ue("w:specVanish",e.vanish)),e.math&&this.push(new ue("w:oMath",e.math)),e.revision&&this.push(new Hu(e.revision))}push(e){this.root.push(e)}}class Wu extends Je{constructor(e){super(e),e!=null&&e.insertion&&this.push(new Nu(e.insertion)),e!=null&&e.deletion&&this.push(new ku(e.deletion))}}class Hu extends ce{constructor(e){super("w:rPrChange"),this.root.push(new At({id:e.id,author:e.author,date:e.date})),this.addChildElement(new Je(e))}}class Ha extends ce{constructor(e){var t;super("w:t"),typeof e=="string"?(this.root.push(new ut({space:ot.PRESERVE})),this.root.push(e)):(this.root.push(new ut({space:(t=e.space)!=null?t:ot.DEFAULT})),this.root.push(e.text))}}const Bt={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"};class xt extends ce{constructor(e){if(super("w:r"),se(this,"properties"),this.properties=new Je(e),this.root.push(this.properties),e.break)for(let t=0;t<e.break;t++)this.root.push(xu());if(e.children)for(const t of e.children){if(typeof t=="string"){switch(t){case Bt.CURRENT:this.root.push(Ft()),this.root.push(new Su),this.root.push(Pt()),this.root.push(Lt());break;case Bt.TOTAL_PAGES:this.root.push(Ft()),this.root.push(new Tu),this.root.push(Pt()),this.root.push(Lt());break;case Bt.TOTAL_PAGES_IN_SECTION:this.root.push(Ft()),this.root.push(new Ru),this.root.push(Pt()),this.root.push(Lt());break;case Bt.CURRENT_SECTION:this.root.push(Ft()),this.root.push(new Iu),this.root.push(Pt()),this.root.push(Lt());break;default:this.root.push(new Ha(t));break}continue}this.root.push(t)}else e.text!==void 0&&this.root.push(new Ha(e.text))}}class za extends xt{constructor(e){super(typeof e=="string"?{text:e}:e)}}var An={},ye={},xn,qa;function St(){if(qa)return xn;qa=1,xn=n;function n(e,t){if(!e)throw new Error(t||"Assertion failed")}return n.equal=function(t,s,c){if(t!=s)throw new Error(c||"Assertion failed: "+t+" != "+s)},xn}var Ga;function Pe(){if(Ga)return ye;Ga=1;var n=St(),e=ze();ye.inherits=e;function t(C,M){return(C.charCodeAt(M)&64512)!==55296||M<0||M+1>=C.length?!1:(C.charCodeAt(M+1)&64512)===56320}function s(C,M){if(Array.isArray(C))return C.slice();if(!C)return[];var w=[];if(typeof C=="string")if(M){if(M==="hex")for(C=C.replace(/[^a-z0-9]+/ig,""),C.length%2!==0&&(C="0"+C),ee=0;ee<C.length;ee+=2)w.push(parseInt(C[ee]+C[ee+1],16))}else for(var K=0,ee=0;ee<C.length;ee++){var z=C.charCodeAt(ee);z<128?w[K++]=z:z<2048?(w[K++]=z>>6|192,w[K++]=z&63|128):t(C,ee)?(z=65536+((z&1023)<<10)+(C.charCodeAt(++ee)&1023),w[K++]=z>>18|240,w[K++]=z>>12&63|128,w[K++]=z>>6&63|128,w[K++]=z&63|128):(w[K++]=z>>12|224,w[K++]=z>>6&63|128,w[K++]=z&63|128)}else for(ee=0;ee<C.length;ee++)w[ee]=C[ee]|0;return w}ye.toArray=s;function c(C){for(var M="",w=0;w<C.length;w++)M+=i(C[w].toString(16));return M}ye.toHex=c;function l(C){var M=C>>>24|C>>>8&65280|C<<8&16711680|(C&255)<<24;return M>>>0}ye.htonl=l;function p(C,M){for(var w="",K=0;K<C.length;K++){var ee=C[K];M==="little"&&(ee=l(ee)),w+=f(ee.toString(16))}return w}ye.toHex32=p;function i(C){return C.length===1?"0"+C:C}ye.zero2=i;function f(C){return C.length===7?"0"+C:C.length===6?"00"+C:C.length===5?"000"+C:C.length===4?"0000"+C:C.length===3?"00000"+C:C.length===2?"000000"+C:C.length===1?"0000000"+C:C}ye.zero8=f;function S(C,M,w,K){var ee=w-M;n(ee%4===0);for(var z=new Array(ee/4),ne=0,Q=M;ne<z.length;ne++,Q+=4){var le;K==="big"?le=C[Q]<<24|C[Q+1]<<16|C[Q+2]<<8|C[Q+3]:le=C[Q+3]<<24|C[Q+2]<<16|C[Q+1]<<8|C[Q],z[ne]=le>>>0}return z}ye.join32=S;function T(C,M){for(var w=new Array(C.length*4),K=0,ee=0;K<C.length;K++,ee+=4){var z=C[K];M==="big"?(w[ee]=z>>>24,w[ee+1]=z>>>16&255,w[ee+2]=z>>>8&255,w[ee+3]=z&255):(w[ee+3]=z>>>24,w[ee+2]=z>>>16&255,w[ee+1]=z>>>8&255,w[ee]=z&255)}return w}ye.split32=T;function I(C,M){return C>>>M|C<<32-M}ye.rotr32=I;function k(C,M){return C<<M|C>>>32-M}ye.rotl32=k;function E(C,M){return C+M>>>0}ye.sum32=E;function R(C,M,w){return C+M+w>>>0}ye.sum32_3=R;function v(C,M,w,K){return C+M+w+K>>>0}ye.sum32_4=v;function x(C,M,w,K,ee){return C+M+w+K+ee>>>0}ye.sum32_5=x;function o(C,M,w,K){var ee=C[M],z=C[M+1],ne=K+z>>>0,Q=(ne<K?1:0)+w+ee;C[M]=Q>>>0,C[M+1]=ne}ye.sum64=o;function y(C,M,w,K){var ee=M+K>>>0,z=(ee<M?1:0)+C+w;return z>>>0}ye.sum64_hi=y;function m(C,M,w,K){var ee=M+K;return ee>>>0}ye.sum64_lo=m;function u(C,M,w,K,ee,z,ne,Q){var le=0,V=M;V=V+K>>>0,le+=V<M?1:0,V=V+z>>>0,le+=V<z?1:0,V=V+Q>>>0,le+=V<Q?1:0;var D=C+w+ee+ne+le;return D>>>0}ye.sum64_4_hi=u;function A(C,M,w,K,ee,z,ne,Q){var le=M+K+z+Q;return le>>>0}ye.sum64_4_lo=A;function P(C,M,w,K,ee,z,ne,Q,le,V){var D=0,X=M;X=X+K>>>0,D+=X<M?1:0,X=X+z>>>0,D+=X<z?1:0,X=X+Q>>>0,D+=X<Q?1:0,X=X+V>>>0,D+=X<V?1:0;var Y=C+w+ee+ne+le+D;return Y>>>0}ye.sum64_5_hi=P;function L(C,M,w,K,ee,z,ne,Q,le,V){var D=M+K+z+Q+V;return D>>>0}ye.sum64_5_lo=L;function W(C,M,w){var K=M<<32-w|C>>>w;return K>>>0}ye.rotr64_hi=W;function N(C,M,w){var K=C<<32-w|M>>>w;return K>>>0}ye.rotr64_lo=N;function Z(C,M,w){return C>>>w}ye.shr64_hi=Z;function oe(C,M,w){var K=C<<32-w|M>>>w;return K>>>0}return ye.shr64_lo=oe,ye}var Sn={},Ka;function Tt(){if(Ka)return Sn;Ka=1;var n=Pe(),e=St();function t(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return Sn.BlockHash=t,t.prototype.update=function(c,l){if(c=n.toArray(c,l),this.pending?this.pending=this.pending.concat(c):this.pending=c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){c=this.pending;var p=c.length%this._delta8;this.pending=c.slice(c.length-p,c.length),this.pending.length===0&&(this.pending=null),c=n.join32(c,0,c.length-p,this.endian);for(var i=0;i<c.length;i+=this._delta32)this._update(c,i,i+this._delta32)}return this},t.prototype.digest=function(c){return this.update(this._pad()),e(this.pending===null),this._digest(c)},t.prototype._pad=function(){var c=this.pendingTotal,l=this._delta8,p=l-(c+this.padLength)%l,i=new Array(p+this.padLength);i[0]=128;for(var f=1;f<p;f++)i[f]=0;if(c<<=3,this.endian==="big"){for(var S=8;S<this.padLength;S++)i[f++]=0;i[f++]=0,i[f++]=0,i[f++]=0,i[f++]=0,i[f++]=c>>>24&255,i[f++]=c>>>16&255,i[f++]=c>>>8&255,i[f++]=c&255}else for(i[f++]=c&255,i[f++]=c>>>8&255,i[f++]=c>>>16&255,i[f++]=c>>>24&255,i[f++]=0,i[f++]=0,i[f++]=0,i[f++]=0,S=8;S<this.padLength;S++)i[f++]=0;return i},Sn}var Ve={},Ce={},Va;function Xs(){if(Va)return Ce;Va=1;var n=Pe(),e=n.rotr32;function t(T,I,k,E){if(T===0)return s(I,k,E);if(T===1||T===3)return l(I,k,E);if(T===2)return c(I,k,E)}Ce.ft_1=t;function s(T,I,k){return T&I^~T&k}Ce.ch32=s;function c(T,I,k){return T&I^T&k^I&k}Ce.maj32=c;function l(T,I,k){return T^I^k}Ce.p32=l;function p(T){return e(T,2)^e(T,13)^e(T,22)}Ce.s0_256=p;function i(T){return e(T,6)^e(T,11)^e(T,25)}Ce.s1_256=i;function f(T){return e(T,7)^e(T,18)^T>>>3}Ce.g0_256=f;function S(T){return e(T,17)^e(T,19)^T>>>10}return Ce.g1_256=S,Ce}var Tn,Xa;function zu(){if(Xa)return Tn;Xa=1;var n=Pe(),e=Tt(),t=Xs(),s=n.rotl32,c=n.sum32,l=n.sum32_5,p=t.ft_1,i=e.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;i.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return n.inherits(S,i),Tn=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(I,k){for(var E=this.W,R=0;R<16;R++)E[R]=I[k+R];for(;R<E.length;R++)E[R]=s(E[R-3]^E[R-8]^E[R-14]^E[R-16],1);var v=this.h[0],x=this.h[1],o=this.h[2],y=this.h[3],m=this.h[4];for(R=0;R<E.length;R++){var u=~~(R/20),A=l(s(v,5),p(u,x,o,y),m,E[R],f[u]);m=y,y=o,o=s(x,30),x=v,v=A}this.h[0]=c(this.h[0],v),this.h[1]=c(this.h[1],x),this.h[2]=c(this.h[2],o),this.h[3]=c(this.h[3],y),this.h[4]=c(this.h[4],m)},S.prototype._digest=function(I){return I==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")},Tn}var Rn,Za;function Zs(){if(Za)return Rn;Za=1;var n=Pe(),e=Tt(),t=Xs(),s=St(),c=n.sum32,l=n.sum32_4,p=n.sum32_5,i=t.ch32,f=t.maj32,S=t.s0_256,T=t.s1_256,I=t.g0_256,k=t.g1_256,E=e.BlockHash,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;E.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=R,this.W=new Array(64)}return n.inherits(v,E),Rn=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(o,y){for(var m=this.W,u=0;u<16;u++)m[u]=o[y+u];for(;u<m.length;u++)m[u]=l(k(m[u-2]),m[u-7],I(m[u-15]),m[u-16]);var A=this.h[0],P=this.h[1],L=this.h[2],W=this.h[3],N=this.h[4],Z=this.h[5],oe=this.h[6],C=this.h[7];for(s(this.k.length===m.length),u=0;u<m.length;u++){var M=p(C,T(N),i(N,Z,oe),this.k[u],m[u]),w=c(S(A),f(A,P,L));C=oe,oe=Z,Z=N,N=c(W,M),W=L,L=P,P=A,A=c(M,w)}this.h[0]=c(this.h[0],A),this.h[1]=c(this.h[1],P),this.h[2]=c(this.h[2],L),this.h[3]=c(this.h[3],W),this.h[4]=c(this.h[4],N),this.h[5]=c(this.h[5],Z),this.h[6]=c(this.h[6],oe),this.h[7]=c(this.h[7],C)},v.prototype._digest=function(o){return o==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")},Rn}var In,Ya;function qu(){if(Ya)return In;Ya=1;var n=Pe(),e=Zs();function t(){if(!(this instanceof t))return new t;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return n.inherits(t,e),In=t,t.blockSize=512,t.outSize=224,t.hmacStrength=192,t.padLength=64,t.prototype._digest=function(c){return c==="hex"?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")},In}var kn,$a;function Ys(){if($a)return kn;$a=1;var n=Pe(),e=Tt(),t=St(),s=n.rotr64_hi,c=n.rotr64_lo,l=n.shr64_hi,p=n.shr64_lo,i=n.sum64,f=n.sum64_hi,S=n.sum64_lo,T=n.sum64_4_hi,I=n.sum64_4_lo,k=n.sum64_5_hi,E=n.sum64_5_lo,R=e.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function x(){if(!(this instanceof x))return new x;R.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}n.inherits(x,R),kn=x,x.blockSize=1024,x.outSize=512,x.hmacStrength=192,x.padLength=128,x.prototype._prepareBlock=function(w,K){for(var ee=this.W,z=0;z<32;z++)ee[z]=w[K+z];for(;z<ee.length;z+=2){var ne=oe(ee[z-4],ee[z-3]),Q=C(ee[z-4],ee[z-3]),le=ee[z-14],V=ee[z-13],D=N(ee[z-30],ee[z-29]),X=Z(ee[z-30],ee[z-29]),Y=ee[z-32],te=ee[z-31];ee[z]=T(ne,Q,le,V,D,X,Y,te),ee[z+1]=I(ne,Q,le,V,D,X,Y,te)}},x.prototype._update=function(w,K){this._prepareBlock(w,K);var ee=this.W,z=this.h[0],ne=this.h[1],Q=this.h[2],le=this.h[3],V=this.h[4],D=this.h[5],X=this.h[6],Y=this.h[7],te=this.h[8],G=this.h[9],b=this.h[10],g=this.h[11],H=this.h[12],U=this.h[13],O=this.h[14],F=this.h[15];t(this.k.length===ee.length);for(var J=0;J<ee.length;J+=2){var h=O,$=F,_=L(te,G),r=W(te,G),a=o(te,G,b,g,H),d=y(te,G,b,g,H,U),B=this.k[J],q=this.k[J+1],j=ee[J],re=ee[J+1],ae=k(h,$,_,r,a,d,B,q,j,re),ie=E(h,$,_,r,a,d,B,q,j,re);h=A(z,ne),$=P(z,ne),_=m(z,ne,Q,le,V),r=u(z,ne,Q,le,V,D);var fe=f(h,$,_,r),he=S(h,$,_,r);O=H,F=U,H=b,U=g,b=te,g=G,te=f(X,Y,ae,ie),G=S(Y,Y,ae,ie),X=V,Y=D,V=Q,D=le,Q=z,le=ne,z=f(ae,ie,fe,he),ne=S(ae,ie,fe,he)}i(this.h,0,z,ne),i(this.h,2,Q,le),i(this.h,4,V,D),i(this.h,6,X,Y),i(this.h,8,te,G),i(this.h,10,b,g),i(this.h,12,H,U),i(this.h,14,O,F)},x.prototype._digest=function(w){return w==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")};function o(M,w,K,ee,z){var ne=M&K^~M&z;return ne<0&&(ne+=4294967296),ne}function y(M,w,K,ee,z,ne){var Q=w&ee^~w&ne;return Q<0&&(Q+=4294967296),Q}function m(M,w,K,ee,z){var ne=M&K^M&z^K&z;return ne<0&&(ne+=4294967296),ne}function u(M,w,K,ee,z,ne){var Q=w&ee^w&ne^ee&ne;return Q<0&&(Q+=4294967296),Q}function A(M,w){var K=s(M,w,28),ee=s(w,M,2),z=s(w,M,7),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function P(M,w){var K=c(M,w,28),ee=c(w,M,2),z=c(w,M,7),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function L(M,w){var K=s(M,w,14),ee=s(M,w,18),z=s(w,M,9),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function W(M,w){var K=c(M,w,14),ee=c(M,w,18),z=c(w,M,9),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function N(M,w){var K=s(M,w,1),ee=s(M,w,8),z=l(M,w,7),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function Z(M,w){var K=c(M,w,1),ee=c(M,w,8),z=p(M,w,7),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function oe(M,w){var K=s(M,w,19),ee=s(w,M,29),z=l(M,w,6),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}function C(M,w){var K=c(M,w,19),ee=c(w,M,29),z=p(M,w,6),ne=K^ee^z;return ne<0&&(ne+=4294967296),ne}return kn}var Nn,Ja;function Gu(){if(Ja)return Nn;Ja=1;var n=Pe(),e=Ys();function t(){if(!(this instanceof t))return new t;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return n.inherits(t,e),Nn=t,t.blockSize=1024,t.outSize=384,t.hmacStrength=192,t.padLength=128,t.prototype._digest=function(c){return c==="hex"?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")},Nn}var Qa;function Ku(){return Qa||(Qa=1,Ve.sha1=zu(),Ve.sha224=qu(),Ve.sha256=Zs(),Ve.sha384=Gu(),Ve.sha512=Ys()),Ve}var Cn={},es;function Vu(){if(es)return Cn;es=1;var n=Pe(),e=Tt(),t=n.rotl32,s=n.sum32,c=n.sum32_3,l=n.sum32_4,p=e.BlockHash;function i(){if(!(this instanceof i))return new i;p.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}n.inherits(i,p),Cn.ripemd160=i,i.blockSize=512,i.outSize=160,i.hmacStrength=192,i.padLength=64,i.prototype._update=function(x,o){for(var y=this.h[0],m=this.h[1],u=this.h[2],A=this.h[3],P=this.h[4],L=y,W=m,N=u,Z=A,oe=P,C=0;C<80;C++){var M=s(t(l(y,f(C,m,u,A),x[I[C]+o],S(C)),E[C]),P);y=P,P=A,A=t(u,10),u=m,m=M,M=s(t(l(L,f(79-C,W,N,Z),x[k[C]+o],T(C)),R[C]),oe),L=oe,oe=Z,Z=t(N,10),N=W,W=M}M=c(this.h[1],u,Z),this.h[1]=c(this.h[2],A,oe),this.h[2]=c(this.h[3],P,L),this.h[3]=c(this.h[4],y,W),this.h[4]=c(this.h[0],m,N),this.h[0]=M},i.prototype._digest=function(x){return x==="hex"?n.toHex32(this.h,"little"):n.split32(this.h,"little")};function f(v,x,o,y){return v<=15?x^o^y:v<=31?x&o|~x&y:v<=47?(x|~o)^y:v<=63?x&y|o&~y:x^(o|~y)}function S(v){return v<=15?0:v<=31?1518500249:v<=47?1859775393:v<=63?2400959708:2840853838}function T(v){return v<=15?1352829926:v<=31?1548603684:v<=47?1836072691:v<=63?2053994217:0}var I=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],k=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],E=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],R=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return Cn}var On,ts;function Xu(){if(ts)return On;ts=1;var n=Pe(),e=St();function t(s,c,l){if(!(this instanceof t))return new t(s,c,l);this.Hash=s,this.blockSize=s.blockSize/8,this.outSize=s.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(c,l))}return On=t,t.prototype._init=function(c){c.length>this.blockSize&&(c=new this.Hash().update(c).digest()),e(c.length<=this.blockSize);for(var l=c.length;l<this.blockSize;l++)c.push(0);for(l=0;l<c.length;l++)c[l]^=54;for(this.inner=new this.Hash().update(c),l=0;l<c.length;l++)c[l]^=106;this.outer=new this.Hash().update(c)},t.prototype.update=function(c,l){return this.inner.update(c,l),this},t.prototype.digest=function(c){return this.outer.update(this.inner.digest()),this.outer.digest(c)},On}var rs;function Zu(){return rs||(rs=1,(function(n){var e=n;e.utils=Pe(),e.common=Tt(),e.sha=Ku(),e.ripemd=Vu(),e.hmac=Xu(),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160})(An)),An}Zu();let Yu="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",$u=(n,e=21)=>(t=e)=>{let s="",c=t|0;for(;c--;)s+=n[Math.random()*n.length|0];return s},Ju=(n=21)=>{let e="",t=n|0;for(;t--;)e+=Yu[Math.random()*64|0];return e};const Ie=n=>Math.floor(n*72*20),ui=(n=0)=>{let e=n;return()=>++e},Qu=()=>ui(),el=()=>ui(1),tl=()=>ui(),rl=()=>Ju().toLowerCase(),gt=n=>$u("1234567890abcdef",n)(),nl=()=>`${gt(8)}-${gt(4)}-${gt(4)}-${gt(4)}-${gt(12)}`,Dn=n=>new Uint8Array(new TextEncoder().encode(n));class il extends we{constructor(){super(...arguments),se(this,"xmlKeys",{xmlns:"xmlns"})}}const al={EXTERNAL:"External"},sl=(n,e,t,s)=>new ge({name:"Relationship",attributes:{id:{key:"Id",value:n},type:{key:"Type",value:e},target:{key:"Target",value:t},targetMode:{key:"TargetMode",value:s}}});class qe extends ce{constructor(){super("Relationships"),this.root.push(new il({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e,t,s,c){this.root.push(sl(`rId${e}`,t,s,c))}get RelationshipCount(){return this.root.length-1}}class ol extends we{constructor(){super(...arguments),se(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class ul extends we{constructor(){super(...arguments),se(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class ll extends ce{constructor({id:e,initials:t,author:s,date:c=new Date,children:l}){super("w:comment"),this.root.push(new ol({id:e,initials:t,author:s,date:c.toISOString()}));for(const p of l)this.root.push(p)}}class cl extends ce{constructor({children:e}){super("w:comments"),se(this,"relationships"),this.root.push(new ul({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const t of e)this.root.push(new ll(t));this.relationships=new qe}get Relationships(){return this.relationships}}class fl extends vu{constructor(){super("w:endnoteRef")}}class hl extends ce{constructor(){super("w:pageBreakBefore")}}const lt={AUTO:"auto"},dl=({after:n,before:e,line:t,lineRule:s,beforeAutoSpacing:c,afterAutoSpacing:l})=>new ge({name:"w:spacing",attributes:{after:{key:"w:after",value:n},before:{key:"w:before",value:e},line:{key:"w:line",value:t},lineRule:{key:"w:lineRule",value:s},beforeAutoSpacing:{key:"w:beforeAutospacing",value:c},afterAutoSpacing:{key:"w:afterAutospacing",value:l}}}),Lf={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"},Ut=n=>new ge({name:"w:pStyle",attributes:{val:{key:"w:val",value:n}}}),ns={LEFT:"left",RIGHT:"right"},pl=({type:n,position:e,leader:t})=>new ge({name:"w:tab",attributes:{val:{key:"w:val",value:n},pos:{key:"w:pos",value:e},leader:{key:"w:leader",value:t}}}),ml=n=>new ge({name:"w:tabs",children:n.map(e=>pl(e))});class Fn extends ce{constructor(e,t){super("w:numPr"),this.root.push(new gl(t)),this.root.push(new wl(e))}}class gl extends ce{constructor(e){if(super("w:ilvl"),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new Ae({val:e}))}}class wl extends ce{constructor(e){super("w:numId"),this.root.push(new Ae({val:typeof e=="string"?`{${e}}`:e}))}}class yl extends ce{constructor(){super(...arguments),se(this,"fileChild",Symbol())}}class vl extends we{constructor(){super(...arguments),se(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class bl extends ce{constructor(e,t,s){super("w:hyperlink"),se(this,"linkId"),this.linkId=t;const c={history:1,anchor:s||void 0,id:s?void 0:`rId${this.linkId}`},l=new vl(c);this.root.push(l),e.forEach(p=>{this.root.push(p)})}}class _l extends ce{constructor(e){super("w:externalHyperlink"),this.options=e}}class El extends we{constructor(){super(...arguments),se(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class Al extends we{constructor(){super(...arguments),se(this,"xmlKeys",{id:"w:id"})}}class xl{constructor(e){se(this,"bookmarkUniqueNumericId",tl()),se(this,"start"),se(this,"children"),se(this,"end");const t=this.bookmarkUniqueNumericId();this.start=new Sl(e.id,t),this.children=e.children,this.end=new Tl(t)}}class Sl extends ce{constructor(e,t){super("w:bookmarkStart");const s=new El({name:e,id:t});this.root.push(s)}}class Tl extends ce{constructor(e){super("w:bookmarkEnd");const t=new Al({id:e});this.root.push(t)}}const Rl=n=>new ge({name:"w:outlineLvl",attributes:{val:{key:"w:val",value:n}}}),Mt=({id:n,fontKey:e,subsetted:t},s)=>new ge({name:s,attributes:me({id:{key:"r:id",value:n}},e?{fontKey:{key:"w:fontKey",value:`{${e}}`}}:{}),children:[...t?[new ue("w:subsetted",t)]:[]]}),Il=({name:n,altName:e,panose1:t,charset:s,family:c,notTrueType:l,pitch:p,sig:i,embedRegular:f,embedBold:S,embedItalic:T,embedBoldItalic:I})=>new ge({name:"w:font",attributes:{name:{key:"w:name",value:n}},children:[...e?[mt("w:altName",e)]:[],...t?[mt("w:panose1",t)]:[],...s?[mt("w:charset",s)]:[],mt("w:family",c),...l?[new ue("w:notTrueType",l)]:[],mt("w:pitch",p),...i?[new ge({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:i.usb0},usb1:{key:"w:usb1",value:i.usb1},usb2:{key:"w:usb2",value:i.usb2},usb3:{key:"w:usb3",value:i.usb3},csb0:{key:"w:csb0",value:i.csb0},csb1:{key:"w:csb1",value:i.csb1}}})]:[],...f?[Mt(f,"w:embedRegular")]:[],...S?[Mt(S,"w:embedBold")]:[],...T?[Mt(T,"w:embedItalic")]:[],...I?[Mt(I,"w:embedBoldItalic")]:[]]}),kl=({name:n,index:e,fontKey:t,characterSet:s})=>Il({name:n,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:s,family:"auto",pitch:"variable",embedRegular:{fontKey:t,id:`rId${e}`}}),Nl=n=>new ge({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:n.map((e,t)=>kl({name:e.name,index:t+1,fontKey:e.fontKey,characterSet:e.characterSet}))});class $s{constructor(e){se(this,"fontTable"),se(this,"relationships"),se(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(t=>He(me({},t),{fontKey:nl()})),this.fontTable=Nl(this.fontOptionsWithKey),this.relationships=new qe;for(let t=0;t<e.length;t++)this.relationships.addRelationship(t+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${e[t].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}const Cl=()=>new ge({name:"w:wordWrap",attributes:{val:{key:"w:val",value:0}}}),Ol=n=>{var e,t;return new ge({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:n.anchorLock},dropCap:{key:"w:dropCap",value:n.dropCap},width:{key:"w:w",value:n.width},height:{key:"w:h",value:n.height},x:{key:"w:x",value:n.position?n.position.x:void 0},y:{key:"w:y",value:n.position?n.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:n.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:n.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:(e=n.space)==null?void 0:e.horizontal},spaceVertical:{key:"w:vSpace",value:(t=n.space)==null?void 0:t.vertical},rule:{key:"w:hRule",value:n.rule},alignmentX:{key:"w:xAlign",value:n.alignment?n.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:n.alignment?n.alignment.y:void 0},lines:{key:"w:lines",value:n.lines},wrap:{key:"w:wrap",value:n.wrap}}})};class $e extends zt{constructor(e){var t,s;if(super("w:pPr",e==null?void 0:e.includeIfEmpty),se(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(Ut(e.heading)),e.bullet&&this.push(Ut("ListParagraph")),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(Ut("ListParagraph"))),e.style&&this.push(Ut(e.style)),e.keepNext!==void 0&&this.push(new ue("w:keepNext",e.keepNext)),e.keepLines!==void 0&&this.push(new ue("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new hl),e.frame&&this.push(Ol(e.frame)),e.widowControl!==void 0&&this.push(new ue("w:widowControl",e.widowControl)),e.bullet&&this.push(new Fn(1,e.bullet.level)),e.numbering?(this.numberingReferences.push({reference:e.numbering.reference,instance:(t=e.numbering.instance)!=null?t:0}),this.push(new Fn(`${e.numbering.reference}-${(s=e.numbering.instance)!=null?s:0}`,e.numbering.level))):e.numbering===!1&&this.push(new Fn(0,0)),e.border&&this.push(new _u(e.border)),e.thematicBreak&&this.push(new Eu),e.shading&&this.push(Gs(e.shading)),e.wordWrap&&this.push(Cl()),e.overflowPunctuation&&this.push(new ue("w:overflowPunct",e.overflowPunctuation));const c=[...e.rightTabStop!==void 0?[{type:ns.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...e.leftTabStop!==void 0?[{type:ns.LEFT,position:e.leftTabStop}]:[]];c.length>0&&this.push(ml(c)),e.bidirectional!==void 0&&this.push(new ue("w:bidi",e.bidirectional)),e.spacing&&this.push(dl(e.spacing)),e.indent&&this.push(Au(e.indent)),e.contextualSpacing!==void 0&&this.push(new ue("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(bu(e.alignment)),e.outlineLevel!==void 0&&this.push(Rl(e.outlineLevel)),e.suppressLineNumbers!==void 0&&this.push(new ue("w:suppressLineNumbers",e.suppressLineNumbers)),e.autoSpaceEastAsianText!==void 0&&this.push(new ue("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new Wu(e.run)),e.revision&&this.push(new Dl(e.revision))}push(e){this.root.push(e)}prepForXml(e){if(!(e.viewWrapper instanceof $s))for(const t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}}class Dl extends ce{constructor(e){super("w:pPrChange"),this.root.push(new At({id:e.id,author:e.author,date:e.date})),this.root.push(new $e(He(me({},e),{includeIfEmpty:!0})))}}class bt extends yl{constructor(e){if(super("w:p"),se(this,"properties"),typeof e=="string")return this.properties=new $e({}),this.root.push(this.properties),this.root.push(new za(e)),this;if(this.properties=new $e(e),this.root.push(this.properties),e.text&&this.root.push(new za(e.text)),e.children)for(const t of e.children){if(t instanceof xl){this.root.push(t.start);for(const s of t.children)this.root.push(s);this.root.push(t.end);continue}this.root.push(t)}}prepForXml(e){for(const t of this.root)if(t instanceof _l){const s=this.root.indexOf(t),c=new bl(t.options.children,rl());e.viewWrapper.Relationships.addRelationship(c.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.options.link,al.EXTERNAL),this.root[s]=c}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}const Fl={TOP:"top",CENTER:"center",BOTTOM:"bottom"};He(me({},Fl),{BOTH:"both"});const Pl=n=>new ge({name:"w:vAlign",attributes:{verticalAlign:{key:"w:val",value:n}}}),Qe={style:ai.NONE,size:0,color:"auto"},et={style:ai.SINGLE,size:4,color:"auto"};class Ll extends ce{constructor(e){var t,s,c,l,p,i;super("w:tblBorders"),this.root.push(Ee("w:top",(t=e.top)!=null?t:et)),this.root.push(Ee("w:left",(s=e.left)!=null?s:et)),this.root.push(Ee("w:bottom",(c=e.bottom)!=null?c:et)),this.root.push(Ee("w:right",(l=e.right)!=null?l:et)),this.root.push(Ee("w:insideH",(p=e.insideHorizontal)!=null?p:et)),this.root.push(Ee("w:insideV",(i=e.insideVertical)!=null?i:et))}}se(Ll,"NONE",{top:Qe,bottom:Qe,left:Qe,right:Qe,insideHorizontal:Qe,insideVertical:Qe});class Bl extends we{constructor(){super(...arguments),se(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class Ul extends ce{constructor(){super("Properties"),this.root.push(new Bl({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class Ml extends we{constructor(){super(...arguments),se(this,"xmlKeys",{xmlns:"xmlns"})}}const Be=(n,e)=>new ge({name:"Default",attributes:{contentType:{key:"ContentType",value:n},extension:{key:"Extension",value:e}}}),Te=(n,e)=>new ge({name:"Override",attributes:{contentType:{key:"ContentType",value:n},partName:{key:"PartName",value:e}}});class jl extends ce{constructor(){super("Types"),this.root.push(new Ml({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(Be("image/png","png")),this.root.push(Be("image/jpeg","jpeg")),this.root.push(Be("image/jpeg","jpg")),this.root.push(Be("image/bmp","bmp")),this.root.push(Be("image/gif","gif")),this.root.push(Be("image/svg+xml","svg")),this.root.push(Be("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(Be("application/xml","xml")),this.root.push(Be("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(Te("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml","/word/endnotes.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(Te("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}const is={wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"};class Xt extends we{constructor(e,t){super(me({Ignorable:t},Object.fromEntries(e.map(s=>[s,is[s]])))),se(this,"xmlKeys",me({Ignorable:"mc:Ignorable"},Object.fromEntries(Object.keys(is).map(s=>[s,`xmlns:${s}`]))))}}class Wl extends ce{constructor(e){super("cp:coreProperties"),this.root.push(new Xt(["cp","dc","dcterms","dcmitype","xsi"])),e.title&&this.root.push(new Ke("dc:title",e.title)),e.subject&&this.root.push(new Ke("dc:subject",e.subject)),e.creator&&this.root.push(new Ke("dc:creator",e.creator)),e.keywords&&this.root.push(new Ke("cp:keywords",e.keywords)),e.description&&this.root.push(new Ke("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new Ke("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new Ke("cp:revision",String(e.revision))),this.root.push(new as("dcterms:created")),this.root.push(new as("dcterms:modified"))}}class Hl extends we{constructor(){super(...arguments),se(this,"xmlKeys",{type:"xsi:type"})}}class as extends ce{constructor(e){super(e),this.root.push(new Hl({type:"dcterms:W3CDTF"})),this.root.push(yu(new Date))}}class zl extends we{constructor(){super(...arguments),se(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class ql extends we{constructor(){super(...arguments),se(this,"xmlKeys",{formatId:"fmtid",pid:"pid",name:"name"})}}class Gl extends ce{constructor(e,t){super("property"),this.root.push(new ql({formatId:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new Kl(t.value))}}class Kl extends ce{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class Vl extends ce{constructor(e){super("Properties"),se(this,"nextId"),se(this,"properties",[]),this.root.push(new zl({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(t=>this.root.push(t)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new Gl(this.nextId++,e))}}const Xl=({space:n,count:e,separate:t,equalWidth:s,children:c})=>new ge({name:"w:cols",attributes:{space:{key:"w:space",value:n===void 0?void 0:ke(n)},count:{key:"w:num",value:e===void 0?void 0:Se(e)},separate:{key:"w:sep",value:t},equalWidth:{key:"w:equalWidth",value:s}},children:!s&&c?c:void 0}),Zl=({type:n,linePitch:e,charSpace:t})=>new ge({name:"w:docGrid",attributes:{type:{key:"w:type",value:n},linePitch:{key:"w:linePitch",value:Se(e)},charSpace:{key:"w:charSpace",value:t?Se(t):void 0}}}),it={DEFAULT:"default",FIRST:"first",EVEN:"even"},ss={HEADER:"w:headerReference",FOOTER:"w:footerReference"},Pn=(n,e)=>new ge({name:n,attributes:{type:{key:"w:type",value:e.type||it.DEFAULT},id:{key:"r:id",value:`rId${e.id}`}}}),Yl=({countBy:n,start:e,restart:t,distance:s})=>new ge({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:n===void 0?void 0:Se(n)},start:{key:"w:start",value:e===void 0?void 0:Se(e)},restart:{key:"w:restart",value:t},distance:{key:"w:distance",value:s===void 0?void 0:ke(s)}}});class os extends we{constructor(){super(...arguments),se(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class $l extends zt{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new os({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new os({})),e.pageBorderTop&&this.root.push(Ee("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(Ee("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(Ee("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(Ee("w:right",e.pageBorderRight))}}const Jl=(n,e,t,s,c,l,p)=>new ge({name:"w:pgMar",attributes:{top:{key:"w:top",value:Ye(n)},right:{key:"w:right",value:ke(e)},bottom:{key:"w:bottom",value:Ye(t)},left:{key:"w:left",value:ke(s)},header:{key:"w:header",value:ke(c)},footer:{key:"w:footer",value:ke(l)},gutter:{key:"w:gutter",value:ke(p)}}}),Ql=({start:n,formatType:e,separator:t})=>new ge({name:"w:pgNumType",attributes:{start:{key:"w:start",value:n===void 0?void 0:Se(n)},formatType:{key:"w:fmt",value:e},separator:{key:"w:chapSep",value:t}}}),Xn={PORTRAIT:"portrait",LANDSCAPE:"landscape"},ec=({width:n,height:e,orientation:t,code:s})=>{const c=ke(n),l=ke(e);return new ge({name:"w:pgSz",attributes:{width:{key:"w:w",value:t===Xn.LANDSCAPE?l:c},height:{key:"w:h",value:t===Xn.LANDSCAPE?c:l},orientation:{key:"w:orient",value:t},code:{key:"w:code",value:s}}})};class tc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{val:"w:val"})}}class rc extends ce{constructor(e){super("w:textDirection"),this.root.push(new tc({val:e}))}}const nc=n=>new ge({name:"w:type",attributes:{val:{key:"w:val",value:n}}}),Xe={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Ln={WIDTH:11906,HEIGHT:16838,ORIENTATION:Xn.PORTRAIT};class Js extends ce{constructor({page:{size:{width:e=Ln.WIDTH,height:t=Ln.HEIGHT,orientation:s=Ln.ORIENTATION}={},margin:{top:c=Xe.TOP,right:l=Xe.RIGHT,bottom:p=Xe.BOTTOM,left:i=Xe.LEFT,header:f=Xe.HEADER,footer:S=Xe.FOOTER,gutter:T=Xe.GUTTER}={},pageNumbers:I={},borders:k,textDirection:E}={},grid:{linePitch:R=360,charSpace:v,type:x}={},headerWrapperGroup:o={},footerWrapperGroup:y={},lineNumbers:m,titlePage:u,verticalAlign:A,column:P,type:L,revision:W}={}){super("w:sectPr"),this.addHeaderFooterGroup(ss.HEADER,o),this.addHeaderFooterGroup(ss.FOOTER,y),L&&this.root.push(nc(L)),this.root.push(ec({width:e,height:t,orientation:s})),this.root.push(Jl(c,l,p,i,f,S,T)),k&&this.root.push(new $l(k)),m&&this.root.push(Yl(m)),this.root.push(Ql(I)),P&&this.root.push(Xl(P)),A&&this.root.push(Pl(A)),u!==void 0&&this.root.push(new ue("w:titlePg",u)),E&&this.root.push(new rc(E)),W&&this.root.push(new ic(W)),this.root.push(Zl({linePitch:R,charSpace:v,type:x}))}addHeaderFooterGroup(e,t){t.default&&this.root.push(Pn(e,{type:it.DEFAULT,id:t.default.View.ReferenceId})),t.first&&this.root.push(Pn(e,{type:it.FIRST,id:t.first.View.ReferenceId})),t.even&&this.root.push(Pn(e,{type:it.EVEN,id:t.even.View.ReferenceId}))}}class ic extends ce{constructor(e){super("w:sectPrChange"),this.root.push(new At({id:e.id,author:e.author,date:e.date})),this.root.push(new Js(e))}}class ac extends ce{constructor(){super("w:body"),se(this,"sections",[])}addSection(e){const t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new Js(e))}prepForXml(e){return this.sections.length===1&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){const t=new bt({}),s=new $e({});return s.push(e),t.addChildElement(s),t}}class sc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class oc extends ce{constructor(e){super("w:background"),this.root.push(new sc({color:e.color===void 0?void 0:st(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:Wa(e.themeShade),themeTint:e.themeTint===void 0?void 0:Wa(e.themeTint)}))}}class uc extends ce{constructor(e){super("w:document"),se(this,"body"),this.root.push(new Xt(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps","cx","cx1","cx2","cx3","cx4","cx5","cx6","cx7","cx8","aink","am3d","w16cex","w16cid","w16","w16sdtdh","w16se"],"w14 w15 wp14")),this.body=new ac,e.background&&this.root.push(new oc(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class lc{constructor(e){se(this,"document"),se(this,"relationships"),this.document=new uc(e),this.relationships=new qe}get View(){return this.document}get Relationships(){return this.relationships}}class cc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class fc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class hc extends xt{constructor(){super({style:"EndnoteReference"}),this.root.push(new fl)}}const us={SEPARATOR:"separator",CONTINUATION_SEPARATOR:"continuationSeparator"};class Bn extends ce{constructor(e){super("w:endnote"),this.root.push(new fc({type:e.type,id:e.id}));for(let t=0;t<e.children.length;t++){const s=e.children[t];t===0&&s.addRunToFront(new hc),this.root.push(s)}}}class dc extends ce{constructor(){super("w:continuationSeparator")}}class Qs extends xt{constructor(){super({}),this.root.push(new dc)}}class pc extends ce{constructor(){super("w:separator")}}class eo extends xt{constructor(){super({}),this.root.push(new pc)}}class mc extends ce{constructor(){super("w:endnotes"),this.root.push(new cc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new Bn({id:-1,type:us.SEPARATOR,children:[new bt({spacing:{after:0,line:240,lineRule:lt.AUTO},children:[new eo]})]});this.root.push(e);const t=new Bn({id:0,type:us.CONTINUATION_SEPARATOR,children:[new bt({spacing:{after:0,line:240,lineRule:lt.AUTO},children:[new Qs]})]});this.root.push(t)}createEndnote(e,t){const s=new Bn({id:e,children:t});this.root.push(s)}}class gc{constructor(){se(this,"endnotes"),se(this,"relationships"),this.endnotes=new mc,this.relationships=new qe}get View(){return this.endnotes}get Relationships(){return this.relationships}}class wc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let yc=class extends Ws{constructor(e,t){super("w:ftr",t),se(this,"refId"),this.refId=e,t||this.root.push(new wc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class vc{constructor(e,t,s){se(this,"footer"),se(this,"relationships"),this.media=e,this.footer=new yc(t,s),this.relationships=new qe}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class bc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class _c extends ce{constructor(){super("w:footnoteRef")}}class Ec extends xt{constructor(){super({style:"FootnoteReference"}),this.root.push(new _c)}}const ls={SEPERATOR:"separator",CONTINUATION_SEPERATOR:"continuationSeparator"};class Un extends ce{constructor(e){super("w:footnote"),this.root.push(new bc({type:e.type,id:e.id}));for(let t=0;t<e.children.length;t++){const s=e.children[t];t===0&&s.addRunToFront(new Ec),this.root.push(s)}}}class Ac extends we{constructor(){super(...arguments),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class xc extends ce{constructor(){super("w:footnotes"),this.root.push(new Ac({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new Un({id:-1,type:ls.SEPERATOR,children:[new bt({spacing:{after:0,line:240,lineRule:lt.AUTO},children:[new eo]})]});this.root.push(e);const t=new Un({id:0,type:ls.CONTINUATION_SEPERATOR,children:[new bt({spacing:{after:0,line:240,lineRule:lt.AUTO},children:[new Qs]})]});this.root.push(t)}createFootNote(e,t){const s=new Un({id:e,children:t});this.root.push(s)}}class Sc{constructor(){se(this,"footnotess"),se(this,"relationships"),this.footnotess=new xc,this.relationships=new qe}get View(){return this.footnotess}get Relationships(){return this.relationships}}class Tc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let Rc=class extends Ws{constructor(e,t){super("w:hdr",t),se(this,"refId"),this.refId=e,t||this.root.push(new Tc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class Ic{constructor(e,t,s){se(this,"header"),se(this,"relationships"),this.media=e,this.header=new Rc(t,s),this.relationships=new qe}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class kc{constructor(){se(this,"map"),this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return Array.from(this.map.values())}}const Ue={DECIMAL:"decimal",UPPER_ROMAN:"upperRoman",LOWER_ROMAN:"lowerRoman",UPPER_LETTER:"upperLetter",LOWER_LETTER:"lowerLetter",ORDINAL:"ordinal",CARDINAL_TEXT:"cardinalText",ORDINAL_TEXT:"ordinalText",HEX:"hex",CHICAGO:"chicago",IDEOGRAPH__DIGITAL:"ideographDigital",JAPANESE_COUNTING:"japaneseCounting",AIUEO:"aiueo",IROHA:"iroha",DECIMAL_FULL_WIDTH:"decimalFullWidth",DECIMAL_HALF_WIDTH:"decimalHalfWidth",JAPANESE_LEGAL:"japaneseLegal",JAPANESE_DIGITAL_TEN_THOUSAND:"japaneseDigitalTenThousand",DECIMAL_ENCLOSED_CIRCLE:"decimalEnclosedCircle",DECIMAL_FULL_WIDTH2:"decimalFullWidth2",AIUEO_FULL_WIDTH:"aiueoFullWidth",IROHA_FULL_WIDTH:"irohaFullWidth",DECIMAL_ZERO:"decimalZero",BULLET:"bullet",GANADA:"ganada",CHOSUNG:"chosung",DECIMAL_ENCLOSED_FULLSTOP:"decimalEnclosedFullstop",DECIMAL_ENCLOSED_PARENTHESES:"decimalEnclosedParen",DECIMAL_ENCLOSED_CIRCLE_CHINESE:"decimalEnclosedCircleChinese",IDEOGRAPH_ENCLOSED_CIRCLE:"ideographEnclosedCircle",IDEOGRAPH_TRADITIONAL:"ideographTraditional",IDEOGRAPH_ZODIAC:"ideographZodiac",IDEOGRAPH_ZODIAC_TRADITIONAL:"ideographZodiacTraditional",TAIWANESE_COUNTING:"taiwaneseCounting",IDEOGRAPH_LEGAL_TRADITIONAL:"ideographLegalTraditional",TAIWANESE_COUNTING_THOUSAND:"taiwaneseCountingThousand",TAIWANESE_DIGITAL:"taiwaneseDigital",CHINESE_COUNTING:"chineseCounting",CHINESE_LEGAL_SIMPLIFIED:"chineseLegalSimplified",CHINESE_COUNTING_THOUSAND:"chineseCountingThousand",KOREAN_DIGITAL:"koreanDigital",KOREAN_COUNTING:"koreanCounting",KOREAN_LEGAL:"koreanLegal",KOREAN_DIGITAL2:"koreanDigital2",VIETNAMESE_COUNTING:"vietnameseCounting",RUSSIAN_LOWER:"russianLower",RUSSIAN_UPPER:"russianUpper",NONE:"none",NUMBER_IN_DASH:"numberInDash",HEBREW1:"hebrew1",HEBREW2:"hebrew2",ARABIC_ALPHA:"arabicAlpha",ARABIC_ABJAD:"arabicAbjad",HINDI_VOWELS:"hindiVowels",HINDI_CONSONANTS:"hindiConsonants",HINDI_NUMBERS:"hindiNumbers",HINDI_COUNTING:"hindiCounting",THAI_LETTERS:"thaiLetters",THAI_NUMBERS:"thaiNumbers",THAI_COUNTING:"thaiCounting",BAHT_TEXT:"bahtText",DOLLAR_TEXT:"dollarText",CUSTOM:"custom"};class Nc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class Cc extends ce{constructor(e){super("w:numFmt"),this.root.push(new Ae({val:e}))}}class Oc extends ce{constructor(e){super("w:lvlText"),this.root.push(new Ae({val:e}))}}class Dc extends ce{constructor(e){super("w:lvlJc"),this.root.push(new Ae({val:e}))}}class Fc extends ce{constructor(e){super("w:suff"),this.root.push(new Ae({val:e}))}}class Pc extends ce{constructor(){super("w:isLgl")}}class Lc extends ce{constructor({level:e,format:t,text:s,alignment:c=Oe.START,start:l=1,style:p,suffix:i,isLegalNumberingStyle:f}){if(super("w:lvl"),se(this,"paragraphProperties"),se(this,"runProperties"),this.root.push(new vt("w:start",Se(l))),t&&this.root.push(new Cc(t)),i&&this.root.push(new Fc(i)),f&&this.root.push(new Pc),s&&this.root.push(new Oc(s)),this.root.push(new Dc(c)),this.paragraphProperties=new $e(p&&p.paragraph),this.runProperties=new Je(p&&p.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new Nc({ilvl:Se(e),tentative:1}))}}class Bc extends Lc{}class Uc extends ce{constructor(e){super("w:multiLevelType"),this.root.push(new Ae({val:e}))}}class Mc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class cs extends ce{constructor(e,t){super("w:abstractNum"),se(this,"id"),this.root.push(new Mc({abstractNumId:Se(e),restartNumberingAfterBreak:0})),this.root.push(new Uc("hybridMultilevel")),this.id=e;for(const s of t)this.root.push(new Bc(s))}}class jc extends ce{constructor(e){super("w:abstractNumId"),this.root.push(new Ae({val:e}))}}class Wc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{numId:"w:numId"})}}class fs extends ce{constructor(e){if(super("w:num"),se(this,"numId"),se(this,"reference"),se(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new Wc({numId:Se(e.numId)})),this.root.push(new jc(Se(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const t of e.overrideLevels)this.root.push(new zc(t.num,t.start))}}class Hc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{ilvl:"w:ilvl"})}}class zc extends ce{constructor(e,t){super("w:lvlOverride"),this.root.push(new Hc({ilvl:e})),t!==void 0&&this.root.push(new Gc(t))}}class qc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{val:"w:val"})}}class Gc extends ce{constructor(e){super("w:startOverride"),this.root.push(new qc({val:e}))}}class Kc extends ce{constructor(e){super("w:numbering"),se(this,"abstractNumberingMap",new Map),se(this,"concreteNumberingMap",new Map),se(this,"referenceConfigMap",new Map),se(this,"abstractNumUniqueNumericId",Qu()),se(this,"concreteNumUniqueNumericId",el()),this.root.push(new Xt(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps"],"w14 w15 wp14"));const t=new cs(this.abstractNumUniqueNumericId(),[{level:0,format:Ue.BULLET,text:"●",alignment:Oe.LEFT,style:{paragraph:{indent:{left:Ie(.5),hanging:Ie(.25)}}}},{level:1,format:Ue.BULLET,text:"○",alignment:Oe.LEFT,style:{paragraph:{indent:{left:Ie(1),hanging:Ie(.25)}}}},{level:2,format:Ue.BULLET,text:"■",alignment:Oe.LEFT,style:{paragraph:{indent:{left:2160,hanging:Ie(.25)}}}},{level:3,format:Ue.BULLET,text:"●",alignment:Oe.LEFT,style:{paragraph:{indent:{left:2880,hanging:Ie(.25)}}}},{level:4,format:Ue.BULLET,text:"○",alignment:Oe.LEFT,style:{paragraph:{indent:{left:3600,hanging:Ie(.25)}}}},{level:5,format:Ue.BULLET,text:"■",alignment:Oe.LEFT,style:{paragraph:{indent:{left:4320,hanging:Ie(.25)}}}},{level:6,format:Ue.BULLET,text:"●",alignment:Oe.LEFT,style:{paragraph:{indent:{left:5040,hanging:Ie(.25)}}}},{level:7,format:Ue.BULLET,text:"●",alignment:Oe.LEFT,style:{paragraph:{indent:{left:5760,hanging:Ie(.25)}}}},{level:8,format:Ue.BULLET,text:"●",alignment:Oe.LEFT,style:{paragraph:{indent:{left:6480,hanging:Ie(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new fs({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t);for(const s of e.config)this.abstractNumberingMap.set(s.reference,new cs(this.abstractNumUniqueNumericId(),s.levels)),this.referenceConfigMap.set(s.reference,s.levels)}prepForXml(e){for(const t of this.abstractNumberingMap.values())this.root.push(t);for(const t of this.concreteNumberingMap.values())this.root.push(t);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){const s=this.abstractNumberingMap.get(e);if(!s)return;const c=`${e}-${t}`;if(this.concreteNumberingMap.has(c))return;const l=this.referenceConfigMap.get(e),p=l&&l[0].start,i={numId:this.concreteNumUniqueNumericId(),abstractNumId:s.id,reference:e,instance:t,overrideLevels:[typeof p=="number"&&Number.isInteger(p)?{num:0,start:p}:{num:0,start:1}]};this.concreteNumberingMap.set(c,new fs(i))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}const Vc=n=>new ge({name:"w:compatSetting",attributes:{version:{key:"w:val",value:n},name:{key:"w:name",value:"compatibilityMode"},uri:{key:"w:uri",value:"http://schemas.microsoft.com/office/word"}}});class Xc extends ce{constructor(e){super("w:compat"),e.version&&this.root.push(Vc(e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new ue("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new ue("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new ue("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new ue("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new ue("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new ue("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new ue("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new ue("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new ue("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new ue("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new ue("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new ue("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new ue("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new ue("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new ue("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new ue("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new ue("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new ue("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new ue("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new ue("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new ue("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new ue("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new ue("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new ue("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new ue("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new ue("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new ue("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new ue("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new ue("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new ue("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new ue("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new ue("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new ue("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new ue("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new ue("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new ue("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new ue("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new ue("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new ue("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new ue("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new ue("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new ue("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new ue("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new ue("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new ue("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new ue("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new ue("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new ue("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new ue("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new ue("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new ue("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new ue("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new ue("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new ue("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new ue("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new ue("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new ue("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new ue("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new ue("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new ue("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new ue("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new ue("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new ue("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new ue("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new ue("w:cachedColBalance",e.cachedColumnBalance))}}class Zc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Yc extends ce{constructor(e){var t,s,c,l,p,i,f,S;super("w:settings"),this.root.push(new Zc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new ue("w:displayBackgroundShape",!0)),e.trackRevisions!==void 0&&this.root.push(new ue("w:trackRevisions",e.trackRevisions)),e.evenAndOddHeaders!==void 0&&this.root.push(new ue("w:evenAndOddHeaders",e.evenAndOddHeaders)),e.updateFields!==void 0&&this.root.push(new ue("w:updateFields",e.updateFields)),e.defaultTabStop!==void 0&&this.root.push(new vt("w:defaultTabStop",e.defaultTabStop)),((t=e.hyphenation)==null?void 0:t.autoHyphenation)!==void 0&&this.root.push(new ue("w:autoHyphenation",e.hyphenation.autoHyphenation)),((s=e.hyphenation)==null?void 0:s.hyphenationZone)!==void 0&&this.root.push(new vt("w:hyphenationZone",e.hyphenation.hyphenationZone)),((c=e.hyphenation)==null?void 0:c.consecutiveHyphenLimit)!==void 0&&this.root.push(new vt("w:consecutiveHyphenLimit",e.hyphenation.consecutiveHyphenLimit)),((l=e.hyphenation)==null?void 0:l.doNotHyphenateCaps)!==void 0&&this.root.push(new ue("w:doNotHyphenateCaps",e.hyphenation.doNotHyphenateCaps)),this.root.push(new Xc(He(me({},(p=e.compatibility)!=null?p:{}),{version:(S=(f=(i=e.compatibility)==null?void 0:i.version)!=null?f:e.compatibilityModeVersion)!=null?S:15})))}}class to extends we{constructor(){super(...arguments),se(this,"xmlKeys",{val:"w:val"})}}class $c extends ce{constructor(e){super("w:name"),this.root.push(new to({val:e}))}}class Jc extends ce{constructor(e){super("w:uiPriority"),this.root.push(new to({val:Se(e)}))}}class Qc extends we{constructor(){super(...arguments),se(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class ro extends ce{constructor(e,t){super("w:style"),this.root.push(new Qc(e)),t.name&&this.root.push(new $c(t.name)),t.basedOn&&this.root.push(new nt("w:basedOn",t.basedOn)),t.next&&this.root.push(new nt("w:next",t.next)),t.link&&this.root.push(new nt("w:link",t.link)),t.uiPriority!==void 0&&this.root.push(new Jc(t.uiPriority)),t.semiHidden!==void 0&&this.root.push(new ue("w:semiHidden",t.semiHidden)),t.unhideWhenUsed!==void 0&&this.root.push(new ue("w:unhideWhenUsed",t.unhideWhenUsed)),t.quickFormat!==void 0&&this.root.push(new ue("w:qFormat",t.quickFormat))}}class Rt extends ro{constructor(e){super({type:"paragraph",styleId:e.id},e),se(this,"paragraphProperties"),se(this,"runProperties"),this.paragraphProperties=new $e(e.paragraph),this.runProperties=new Je(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class ft extends ro{constructor(e){super({type:"character",styleId:e.id},me({uiPriority:99,unhideWhenUsed:!0},e)),se(this,"runProperties"),this.runProperties=new Je(e.run),this.root.push(this.runProperties)}}class Ge extends Rt{constructor(e){super(me({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class ef extends Ge{constructor(e){super(me({id:"Title",name:"Title"},e))}}class tf extends Ge{constructor(e){super(me({id:"Heading1",name:"Heading 1"},e))}}class rf extends Ge{constructor(e){super(me({id:"Heading2",name:"Heading 2"},e))}}class nf extends Ge{constructor(e){super(me({id:"Heading3",name:"Heading 3"},e))}}class af extends Ge{constructor(e){super(me({id:"Heading4",name:"Heading 4"},e))}}class sf extends Ge{constructor(e){super(me({id:"Heading5",name:"Heading 5"},e))}}class of extends Ge{constructor(e){super(me({id:"Heading6",name:"Heading 6"},e))}}class uf extends Ge{constructor(e){super(me({id:"Strong",name:"Strong"},e))}}class lf extends Rt{constructor(e){super(me({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class cf extends Rt{constructor(e){super(me({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:lt.AUTO}},run:{size:20}},e))}}class ff extends ft{constructor(e){super(me({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class hf extends ft{constructor(e){super(me({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class df extends Rt{constructor(e){super(me({id:"EndnoteText",name:"endnote text",link:"EndnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:lt.AUTO}},run:{size:20}},e))}}class pf extends ft{constructor(e){super(me({id:"EndnoteReference",name:"endnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class mf extends ft{constructor(e){super(me({id:"EndnoteTextChar",name:"Endnote Text Char",basedOn:"DefaultParagraphFont",link:"EndnoteText",semiHidden:!0,run:{size:20}},e))}}class gf extends ft{constructor(e){super(me({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:Vs.SINGLE}}},e))}}class Mn extends ce{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(const t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(const t of e.paragraphStyles)this.root.push(new Rt(t));if(e.characterStyles)for(const t of e.characterStyles)this.root.push(new ft(t))}}class wf extends ce{constructor(e){super("w:pPrDefault"),this.root.push(new $e(e))}}class yf extends ce{constructor(e){super("w:rPrDefault"),this.root.push(new Je(e))}}class vf extends ce{constructor(e){super("w:docDefaults"),se(this,"runPropertiesDefaults"),se(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new yf(e.run),this.paragraphPropertiesDefaults=new wf(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class bf{newInstance(e){const t=js.xml2js(e,{compact:!1});let s;for(const l of t.elements||[])l.name==="w:styles"&&(s=l);if(s===void 0)throw new Error("can not find styles element");const c=s.elements||[];return{initialStyles:new pu(s.attributes),importedStyles:c.map(l=>ii(l))}}}class jn{newInstance(e={}){var t;return{initialStyles:new Xt(["mc","r","w","w14","w15"],"w14 w15"),importedStyles:[new vf((t=e.document)!=null?t:{}),new ef(me({run:{size:56}},e.title)),new tf(me({run:{color:"2E74B5",size:32}},e.heading1)),new rf(me({run:{color:"2E74B5",size:26}},e.heading2)),new nf(me({run:{color:"1F4D78",size:24}},e.heading3)),new af(me({run:{color:"2E74B5",italics:!0}},e.heading4)),new sf(me({run:{color:"2E74B5"}},e.heading5)),new of(me({run:{color:"1F4D78"}},e.heading6)),new uf(me({run:{bold:!0}},e.strong)),new lf(e.listParagraph||{}),new gf(e.hyperlink||{}),new ff(e.footnoteReference||{}),new cf(e.footnoteText||{}),new hf(e.footnoteTextChar||{}),new pf(e.endnoteReference||{}),new df(e.endnoteText||{}),new mf(e.endnoteTextChar||{})]}}}class Mf{constructor(e){se(this,"currentRelationshipId",1),se(this,"documentWrapper"),se(this,"headers",[]),se(this,"footers",[]),se(this,"coreProperties"),se(this,"numbering"),se(this,"media"),se(this,"fileRelationships"),se(this,"footnotesWrapper"),se(this,"endnotesWrapper"),se(this,"settings"),se(this,"contentTypes"),se(this,"customProperties"),se(this,"appProperties"),se(this,"styles"),se(this,"comments"),se(this,"fontWrapper");var t,s,c,l,p,i,f,S,T,I,k,E,R;if(this.coreProperties=new Wl(He(me({},e),{creator:(t=e.creator)!=null?t:"Un-named",revision:(s=e.revision)!=null?s:1,lastModifiedBy:(c=e.lastModifiedBy)!=null?c:"Un-named"})),this.numbering=new Kc(e.numbering?e.numbering:{config:[]}),this.comments=new cl((l=e.comments)!=null?l:{children:[]}),this.fileRelationships=new qe,this.customProperties=new Vl((p=e.customProperties)!=null?p:[]),this.appProperties=new Ul,this.footnotesWrapper=new Sc,this.endnotesWrapper=new gc,this.contentTypes=new jl,this.documentWrapper=new lc({background:e.background}),this.settings=new Yc({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:(i=e.features)==null?void 0:i.trackRevisions,updateFields:(f=e.features)==null?void 0:f.updateFields,defaultTabStop:e.defaultTabStop,hyphenation:{autoHyphenation:(S=e.hyphenation)==null?void 0:S.autoHyphenation,hyphenationZone:(T=e.hyphenation)==null?void 0:T.hyphenationZone,consecutiveHyphenLimit:(I=e.hyphenation)==null?void 0:I.consecutiveHyphenLimit,doNotHyphenateCaps:(k=e.hyphenation)==null?void 0:k.doNotHyphenateCaps}}),this.media=new kc,e.externalStyles!==void 0){const x=new jn().newInstance((E=e.styles)==null?void 0:E.default),y=new bf().newInstance(e.externalStyles);this.styles=new Mn(He(me({},y),{importedStyles:[...x.importedStyles,...y.importedStyles]}))}else if(e.styles){const x=new jn().newInstance(e.styles.default);this.styles=new Mn(me(me({},x),e.styles))}else{const v=new jn;this.styles=new Mn(v.newInstance())}this.addDefaultRelationships();for(const v of e.sections)this.addSection(v);if(e.footnotes)for(const v in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(v),e.footnotes[v].children);if(e.endnotes)for(const v in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(v),e.endnotes[v].children);this.fontWrapper=new $s((R=e.fonts)!=null?R:[])}addSection({headers:e={},footers:t={},children:s,properties:c}){this.documentWrapper.View.Body.addSection(He(me({},c),{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}}));for(const l of s)this.documentWrapper.View.add(l)}createHeader(e){const t=new Ic(this.media,this.currentRelationshipId++);for(const s of e.options.children)t.add(s);return this.addHeaderToDocument(t),t}createFooter(e){const t=new vc(this.media,this.currentRelationshipId++);for(const s of e.options.children)t.add(s);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=it.DEFAULT){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=it.DEFAULT){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.addRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.addRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.addRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.addRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes","endnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Endnotes(){return this.endnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}var _f=ti();function jt(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Wn={exports:{}},hs;function Ef(){return hs||(hs=1,(function(n,e){(function(t){n.exports=t()})(function(){return(function t(s,c,l){function p(S,T){if(!c[S]){if(!s[S]){var I=typeof jt=="function"&&jt;if(!T&&I)return I(S,!0);if(i)return i(S,!0);var k=new Error("Cannot find module '"+S+"'");throw k.code="MODULE_NOT_FOUND",k}var E=c[S]={exports:{}};s[S][0].call(E.exports,function(R){var v=s[S][1][R];return p(v||R)},E,E.exports,t,s,c,l)}return c[S].exports}for(var i=typeof jt=="function"&&jt,f=0;f<l.length;f++)p(l[f]);return p})({1:[function(t,s,c){var l=t("./utils"),p=t("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";c.encode=function(f){for(var S,T,I,k,E,R,v,x=[],o=0,y=f.length,m=y,u=l.getTypeOf(f)!=="string";o<f.length;)m=y-o,I=u?(S=f[o++],T=o<y?f[o++]:0,o<y?f[o++]:0):(S=f.charCodeAt(o++),T=o<y?f.charCodeAt(o++):0,o<y?f.charCodeAt(o++):0),k=S>>2,E=(3&S)<<4|T>>4,R=1<m?(15&T)<<2|I>>6:64,v=2<m?63&I:64,x.push(i.charAt(k)+i.charAt(E)+i.charAt(R)+i.charAt(v));return x.join("")},c.decode=function(f){var S,T,I,k,E,R,v=0,x=0,o="data:";if(f.substr(0,o.length)===o)throw new Error("Invalid base64 input, it looks like a data url.");var y,m=3*(f=f.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(f.charAt(f.length-1)===i.charAt(64)&&m--,f.charAt(f.length-2)===i.charAt(64)&&m--,m%1!=0)throw new Error("Invalid base64 input, bad content length.");for(y=p.uint8array?new Uint8Array(0|m):new Array(0|m);v<f.length;)S=i.indexOf(f.charAt(v++))<<2|(k=i.indexOf(f.charAt(v++)))>>4,T=(15&k)<<4|(E=i.indexOf(f.charAt(v++)))>>2,I=(3&E)<<6|(R=i.indexOf(f.charAt(v++))),y[x++]=S,E!==64&&(y[x++]=T),R!==64&&(y[x++]=I);return y}},{"./support":30,"./utils":32}],2:[function(t,s,c){var l=t("./external"),p=t("./stream/DataWorker"),i=t("./stream/Crc32Probe"),f=t("./stream/DataLengthProbe");function S(T,I,k,E,R){this.compressedSize=T,this.uncompressedSize=I,this.crc32=k,this.compression=E,this.compressedContent=R}S.prototype={getContentWorker:function(){var T=new p(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new f("data_length")),I=this;return T.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),T},getCompressedWorker:function(){return new p(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},S.createWorkerFrom=function(T,I,k){return T.pipe(new i).pipe(new f("uncompressedSize")).pipe(I.compressWorker(k)).pipe(new f("compressedSize")).withStreamInfo("compression",I)},s.exports=S},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,s,c){var l=t("./stream/GenericWorker");c.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},c.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,s,c){var l=t("./utils"),p=(function(){for(var i,f=[],S=0;S<256;S++){i=S;for(var T=0;T<8;T++)i=1&i?3988292384^i>>>1:i>>>1;f[S]=i}return f})();s.exports=function(i,f){return i!==void 0&&i.length?l.getTypeOf(i)!=="string"?(function(S,T,I,k){var E=p,R=k+I;S^=-1;for(var v=k;v<R;v++)S=S>>>8^E[255&(S^T[v])];return-1^S})(0|f,i,i.length,0):(function(S,T,I,k){var E=p,R=k+I;S^=-1;for(var v=k;v<R;v++)S=S>>>8^E[255&(S^T.charCodeAt(v))];return-1^S})(0|f,i,i.length,0):0}},{"./utils":32}],5:[function(t,s,c){c.base64=!1,c.binary=!1,c.dir=!1,c.createFolders=!0,c.date=null,c.compression=null,c.compressionOptions=null,c.comment=null,c.unixPermissions=null,c.dosPermissions=null},{}],6:[function(t,s,c){var l=null;l=typeof Promise<"u"?Promise:t("lie"),s.exports={Promise:l}},{lie:37}],7:[function(t,s,c){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",p=t("pako"),i=t("./utils"),f=t("./stream/GenericWorker"),S=l?"uint8array":"array";function T(I,k){f.call(this,"FlateWorker/"+I),this._pako=null,this._pakoAction=I,this._pakoOptions=k,this.meta={}}c.magic="\b\0",i.inherits(T,f),T.prototype.processChunk=function(I){this.meta=I.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(S,I.data),!1)},T.prototype.flush=function(){f.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},T.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this._pako=null},T.prototype._createPako=function(){this._pako=new p[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var I=this;this._pako.onData=function(k){I.push({data:k,meta:I.meta})}},c.compressWorker=function(I){return new T("Deflate",I)},c.uncompressWorker=function(){return new T("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,s,c){function l(E,R){var v,x="";for(v=0;v<R;v++)x+=String.fromCharCode(255&E),E>>>=8;return x}function p(E,R,v,x,o,y){var m,u,A=E.file,P=E.compression,L=y!==S.utf8encode,W=i.transformTo("string",y(A.name)),N=i.transformTo("string",S.utf8encode(A.name)),Z=A.comment,oe=i.transformTo("string",y(Z)),C=i.transformTo("string",S.utf8encode(Z)),M=N.length!==A.name.length,w=C.length!==Z.length,K="",ee="",z="",ne=A.dir,Q=A.date,le={crc32:0,compressedSize:0,uncompressedSize:0};R&&!v||(le.crc32=E.crc32,le.compressedSize=E.compressedSize,le.uncompressedSize=E.uncompressedSize);var V=0;R&&(V|=8),L||!M&&!w||(V|=2048);var D=0,X=0;ne&&(D|=16),o==="UNIX"?(X=798,D|=(function(te,G){var b=te;return te||(b=G?16893:33204),(65535&b)<<16})(A.unixPermissions,ne)):(X=20,D|=(function(te){return 63&(te||0)})(A.dosPermissions)),m=Q.getUTCHours(),m<<=6,m|=Q.getUTCMinutes(),m<<=5,m|=Q.getUTCSeconds()/2,u=Q.getUTCFullYear()-1980,u<<=4,u|=Q.getUTCMonth()+1,u<<=5,u|=Q.getUTCDate(),M&&(ee=l(1,1)+l(T(W),4)+N,K+="up"+l(ee.length,2)+ee),w&&(z=l(1,1)+l(T(oe),4)+C,K+="uc"+l(z.length,2)+z);var Y="";return Y+=`
21
+ \0`,Y+=l(V,2),Y+=P.magic,Y+=l(m,2),Y+=l(u,2),Y+=l(le.crc32,4),Y+=l(le.compressedSize,4),Y+=l(le.uncompressedSize,4),Y+=l(W.length,2),Y+=l(K.length,2),{fileRecord:I.LOCAL_FILE_HEADER+Y+W+K,dirRecord:I.CENTRAL_FILE_HEADER+l(X,2)+Y+l(oe.length,2)+"\0\0\0\0"+l(D,4)+l(x,4)+W+K+oe}}var i=t("../utils"),f=t("../stream/GenericWorker"),S=t("../utf8"),T=t("../crc32"),I=t("../signature");function k(E,R,v,x){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=R,this.zipPlatform=v,this.encodeFileName=x,this.streamFiles=E,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(k,f),k.prototype.push=function(E){var R=E.meta.percent||0,v=this.entriesCount,x=this._sources.length;this.accumulate?this.contentBuffer.push(E):(this.bytesWritten+=E.data.length,f.prototype.push.call(this,{data:E.data,meta:{currentFile:this.currentFile,percent:v?(R+100*(v-x-1))/v:100}}))},k.prototype.openedSource=function(E){this.currentSourceOffset=this.bytesWritten,this.currentFile=E.file.name;var R=this.streamFiles&&!E.file.dir;if(R){var v=p(E,R,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:v.fileRecord,meta:{percent:0}})}else this.accumulate=!0},k.prototype.closedSource=function(E){this.accumulate=!1;var R=this.streamFiles&&!E.file.dir,v=p(E,R,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(v.dirRecord),R)this.push({data:(function(x){return I.DATA_DESCRIPTOR+l(x.crc32,4)+l(x.compressedSize,4)+l(x.uncompressedSize,4)})(E),meta:{percent:100}});else for(this.push({data:v.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},k.prototype.flush=function(){for(var E=this.bytesWritten,R=0;R<this.dirRecords.length;R++)this.push({data:this.dirRecords[R],meta:{percent:100}});var v=this.bytesWritten-E,x=(function(o,y,m,u,A){var P=i.transformTo("string",A(u));return I.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(o,2)+l(o,2)+l(y,4)+l(m,4)+l(P.length,2)+P})(this.dirRecords.length,v,E,this.zipComment,this.encodeFileName);this.push({data:x,meta:{percent:100}})},k.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},k.prototype.registerPrevious=function(E){this._sources.push(E);var R=this;return E.on("data",function(v){R.processChunk(v)}),E.on("end",function(){R.closedSource(R.previous.streamInfo),R._sources.length?R.prepareNextSource():R.end()}),E.on("error",function(v){R.error(v)}),this},k.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},k.prototype.error=function(E){var R=this._sources;if(!f.prototype.error.call(this,E))return!1;for(var v=0;v<R.length;v++)try{R[v].error(E)}catch{}return!0},k.prototype.lock=function(){f.prototype.lock.call(this);for(var E=this._sources,R=0;R<E.length;R++)E[R].lock()},s.exports=k},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,s,c){var l=t("../compressions"),p=t("./ZipFileWorker");c.generateWorker=function(i,f,S){var T=new p(f.streamFiles,S,f.platform,f.encodeFileName),I=0;try{i.forEach(function(k,E){I++;var R=(function(y,m){var u=y||m,A=l[u];if(!A)throw new Error(u+" is not a valid compression method !");return A})(E.options.compression,f.compression),v=E.options.compressionOptions||f.compressionOptions||{},x=E.dir,o=E.date;E._compressWorker(R,v).withStreamInfo("file",{name:k,dir:x,date:o,comment:E.comment||"",unixPermissions:E.unixPermissions,dosPermissions:E.dosPermissions}).pipe(T)}),T.entriesCount=I}catch(k){T.error(k)}return T}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,s,c){function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var p=new l;for(var i in this)typeof this[i]!="function"&&(p[i]=this[i]);return p}}(l.prototype=t("./object")).loadAsync=t("./load"),l.support=t("./support"),l.defaults=t("./defaults"),l.version="3.10.1",l.loadAsync=function(p,i){return new l().loadAsync(p,i)},l.external=t("./external"),s.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,s,c){var l=t("./utils"),p=t("./external"),i=t("./utf8"),f=t("./zipEntries"),S=t("./stream/Crc32Probe"),T=t("./nodejsUtils");function I(k){return new p.Promise(function(E,R){var v=k.decompressed.getContentWorker().pipe(new S);v.on("error",function(x){R(x)}).on("end",function(){v.streamInfo.crc32!==k.decompressed.crc32?R(new Error("Corrupted zip : CRC32 mismatch")):E()}).resume()})}s.exports=function(k,E){var R=this;return E=l.extend(E||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),T.isNode&&T.isStream(k)?p.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",k,!0,E.optimizedBinaryString,E.base64).then(function(v){var x=new f(E);return x.load(v),x}).then(function(v){var x=[p.Promise.resolve(v)],o=v.files;if(E.checkCRC32)for(var y=0;y<o.length;y++)x.push(I(o[y]));return p.Promise.all(x)}).then(function(v){for(var x=v.shift(),o=x.files,y=0;y<o.length;y++){var m=o[y],u=m.fileNameStr,A=l.resolve(m.fileNameStr);R.file(A,m.decompressed,{binary:!0,optimizedBinaryString:!0,date:m.date,dir:m.dir,comment:m.fileCommentStr.length?m.fileCommentStr:null,unixPermissions:m.unixPermissions,dosPermissions:m.dosPermissions,createFolders:E.createFolders}),m.dir||(R.file(A).unsafeOriginalName=u)}return x.zipComment.length&&(R.comment=x.zipComment),R})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,s,c){var l=t("../utils"),p=t("../stream/GenericWorker");function i(f,S){p.call(this,"Nodejs stream input adapter for "+f),this._upstreamEnded=!1,this._bindStream(S)}l.inherits(i,p),i.prototype._bindStream=function(f){var S=this;(this._stream=f).pause(),f.on("data",function(T){S.push({data:T,meta:{percent:0}})}).on("error",function(T){S.isPaused?this.generatedError=T:S.error(T)}).on("end",function(){S.isPaused?S._upstreamEnded=!0:S.end()})},i.prototype.pause=function(){return!!p.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!p.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},s.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,s,c){var l=t("readable-stream").Readable;function p(i,f,S){l.call(this,f),this._helper=i;var T=this;i.on("data",function(I,k){T.push(I)||T._helper.pause(),S&&S(k)}).on("error",function(I){T.emit("error",I)}).on("end",function(){T.push(null)})}t("../utils").inherits(p,l),p.prototype._read=function(){this._helper.resume()},s.exports=p},{"../utils":32,"readable-stream":16}],14:[function(t,s,c){s.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,p){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,p);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,p)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var p=new Buffer(l);return p.fill(0),p},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(t,s,c){function l(A,P,L){var W,N=i.getTypeOf(P),Z=i.extend(L||{},T);Z.date=Z.date||new Date,Z.compression!==null&&(Z.compression=Z.compression.toUpperCase()),typeof Z.unixPermissions=="string"&&(Z.unixPermissions=parseInt(Z.unixPermissions,8)),Z.unixPermissions&&16384&Z.unixPermissions&&(Z.dir=!0),Z.dosPermissions&&16&Z.dosPermissions&&(Z.dir=!0),Z.dir&&(A=o(A)),Z.createFolders&&(W=x(A))&&y.call(this,W,!0);var oe=N==="string"&&Z.binary===!1&&Z.base64===!1;L&&L.binary!==void 0||(Z.binary=!oe),(P instanceof I&&P.uncompressedSize===0||Z.dir||!P||P.length===0)&&(Z.base64=!1,Z.binary=!0,P="",Z.compression="STORE",N="string");var C=null;C=P instanceof I||P instanceof f?P:R.isNode&&R.isStream(P)?new v(A,P):i.prepareContent(A,P,Z.binary,Z.optimizedBinaryString,Z.base64);var M=new k(A,C,Z);this.files[A]=M}var p=t("./utf8"),i=t("./utils"),f=t("./stream/GenericWorker"),S=t("./stream/StreamHelper"),T=t("./defaults"),I=t("./compressedObject"),k=t("./zipObject"),E=t("./generate"),R=t("./nodejsUtils"),v=t("./nodejs/NodejsStreamInputAdapter"),x=function(A){A.slice(-1)==="/"&&(A=A.substring(0,A.length-1));var P=A.lastIndexOf("/");return 0<P?A.substring(0,P):""},o=function(A){return A.slice(-1)!=="/"&&(A+="/"),A},y=function(A,P){return P=P!==void 0?P:T.createFolders,A=o(A),this.files[A]||l.call(this,A,null,{dir:!0,createFolders:P}),this.files[A]};function m(A){return Object.prototype.toString.call(A)==="[object RegExp]"}var u={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(A){var P,L,W;for(P in this.files)W=this.files[P],(L=P.slice(this.root.length,P.length))&&P.slice(0,this.root.length)===this.root&&A(L,W)},filter:function(A){var P=[];return this.forEach(function(L,W){A(L,W)&&P.push(W)}),P},file:function(A,P,L){if(arguments.length!==1)return A=this.root+A,l.call(this,A,P,L),this;if(m(A)){var W=A;return this.filter(function(Z,oe){return!oe.dir&&W.test(Z)})}var N=this.files[this.root+A];return N&&!N.dir?N:null},folder:function(A){if(!A)return this;if(m(A))return this.filter(function(N,Z){return Z.dir&&A.test(N)});var P=this.root+A,L=y.call(this,P),W=this.clone();return W.root=L.name,W},remove:function(A){A=this.root+A;var P=this.files[A];if(P||(A.slice(-1)!=="/"&&(A+="/"),P=this.files[A]),P&&!P.dir)delete this.files[A];else for(var L=this.filter(function(N,Z){return Z.name.slice(0,A.length)===A}),W=0;W<L.length;W++)delete this.files[L[W].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(A){var P,L={};try{if((L=i.extend(A||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:p.utf8encode})).type=L.type.toLowerCase(),L.compression=L.compression.toUpperCase(),L.type==="binarystring"&&(L.type="string"),!L.type)throw new Error("No output type specified.");i.checkSupport(L.type),L.platform!=="darwin"&&L.platform!=="freebsd"&&L.platform!=="linux"&&L.platform!=="sunos"||(L.platform="UNIX"),L.platform==="win32"&&(L.platform="DOS");var W=L.comment||this.comment||"";P=E.generateWorker(this,L,W)}catch(N){(P=new f("error")).error(N)}return new S(P,L.type||"string",L.mimeType)},generateAsync:function(A,P){return this.generateInternalStream(A).accumulate(P)},generateNodeStream:function(A,P){return(A=A||{}).type||(A.type="nodebuffer"),this.generateInternalStream(A).toNodejsStream(P)}};s.exports=u},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,s,c){s.exports=t("stream")},{stream:void 0}],17:[function(t,s,c){var l=t("./DataReader");function p(i){l.call(this,i);for(var f=0;f<this.data.length;f++)i[f]=255&i[f]}t("../utils").inherits(p,l),p.prototype.byteAt=function(i){return this.data[this.zero+i]},p.prototype.lastIndexOfSignature=function(i){for(var f=i.charCodeAt(0),S=i.charCodeAt(1),T=i.charCodeAt(2),I=i.charCodeAt(3),k=this.length-4;0<=k;--k)if(this.data[k]===f&&this.data[k+1]===S&&this.data[k+2]===T&&this.data[k+3]===I)return k-this.zero;return-1},p.prototype.readAndCheckSignature=function(i){var f=i.charCodeAt(0),S=i.charCodeAt(1),T=i.charCodeAt(2),I=i.charCodeAt(3),k=this.readData(4);return f===k[0]&&S===k[1]&&T===k[2]&&I===k[3]},p.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var f=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,f},s.exports=p},{"../utils":32,"./DataReader":18}],18:[function(t,s,c){var l=t("../utils");function p(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}p.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var f,S=0;for(this.checkOffset(i),f=this.index+i-1;f>=this.index;f--)S=(S<<8)+this.byteAt(f);return this.index+=i,S},readString:function(i){return l.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},s.exports=p},{"../utils":32}],19:[function(t,s,c){var l=t("./Uint8ArrayReader");function p(i){l.call(this,i)}t("../utils").inherits(p,l),p.prototype.readData=function(i){this.checkOffset(i);var f=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,f},s.exports=p},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,s,c){var l=t("./DataReader");function p(i){l.call(this,i)}t("../utils").inherits(p,l),p.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},p.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},p.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},p.prototype.readData=function(i){this.checkOffset(i);var f=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,f},s.exports=p},{"../utils":32,"./DataReader":18}],21:[function(t,s,c){var l=t("./ArrayReader");function p(i){l.call(this,i)}t("../utils").inherits(p,l),p.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var f=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,f},s.exports=p},{"../utils":32,"./ArrayReader":17}],22:[function(t,s,c){var l=t("../utils"),p=t("../support"),i=t("./ArrayReader"),f=t("./StringReader"),S=t("./NodeBufferReader"),T=t("./Uint8ArrayReader");s.exports=function(I){var k=l.getTypeOf(I);return l.checkSupport(k),k!=="string"||p.uint8array?k==="nodebuffer"?new S(I):p.uint8array?new T(l.transformTo("uint8array",I)):new i(l.transformTo("array",I)):new f(I)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,s,c){c.LOCAL_FILE_HEADER="PK",c.CENTRAL_FILE_HEADER="PK",c.CENTRAL_DIRECTORY_END="PK",c.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",c.ZIP64_CENTRAL_DIRECTORY_END="PK",c.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,s,c){var l=t("./GenericWorker"),p=t("../utils");function i(f){l.call(this,"ConvertWorker to "+f),this.destType=f}p.inherits(i,l),i.prototype.processChunk=function(f){this.push({data:p.transformTo(this.destType,f.data),meta:f.meta})},s.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(t,s,c){var l=t("./GenericWorker"),p=t("../crc32");function i(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(i,l),i.prototype.processChunk=function(f){this.streamInfo.crc32=p(f.data,this.streamInfo.crc32||0),this.push(f)},s.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,s,c){var l=t("../utils"),p=t("./GenericWorker");function i(f){p.call(this,"DataLengthProbe for "+f),this.propName=f,this.withStreamInfo(f,0)}l.inherits(i,p),i.prototype.processChunk=function(f){if(f){var S=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=S+f.data.length}p.prototype.processChunk.call(this,f)},s.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(t,s,c){var l=t("../utils"),p=t("./GenericWorker");function i(f){p.call(this,"DataWorker");var S=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,f.then(function(T){S.dataIsReady=!0,S.data=T,S.max=T&&T.length||0,S.type=l.getTypeOf(T),S.isPaused||S._tickAndRepeat()},function(T){S.error(T)})}l.inherits(i,p),i.prototype.cleanUp=function(){p.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!p.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var f=null,S=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":f=this.data.substring(this.index,S);break;case"uint8array":f=this.data.subarray(this.index,S);break;case"array":case"nodebuffer":f=this.data.slice(this.index,S)}return this.index=S,this.push({data:f,meta:{percent:this.max?this.index/this.max*100:0}})},s.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(t,s,c){function l(p){this.name=p||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(p){this.emit("data",p)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(p){this.emit("error",p)}return!0},error:function(p){return!this.isFinished&&(this.isPaused?this.generatedError=p:(this.isFinished=!0,this.emit("error",p),this.previous&&this.previous.error(p),this.cleanUp()),!0)},on:function(p,i){return this._listeners[p].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(p,i){if(this._listeners[p])for(var f=0;f<this._listeners[p].length;f++)this._listeners[p][f].call(this,i)},pipe:function(p){return p.registerPrevious(this)},registerPrevious:function(p){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=p.streamInfo,this.mergeStreamInfo(),this.previous=p;var i=this;return p.on("data",function(f){i.processChunk(f)}),p.on("end",function(){i.end()}),p.on("error",function(f){i.error(f)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var p=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),p=!0),this.previous&&this.previous.resume(),!p},flush:function(){},processChunk:function(p){this.push(p)},withStreamInfo:function(p,i){return this.extraStreamInfo[p]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var p in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,p)&&(this.streamInfo[p]=this.extraStreamInfo[p])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var p="Worker "+this.name;return this.previous?this.previous+" -> "+p:p}},s.exports=l},{}],29:[function(t,s,c){var l=t("../utils"),p=t("./ConvertWorker"),i=t("./GenericWorker"),f=t("../base64"),S=t("../support"),T=t("../external"),I=null;if(S.nodestream)try{I=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function k(R,v){return new T.Promise(function(x,o){var y=[],m=R._internalType,u=R._outputType,A=R._mimeType;R.on("data",function(P,L){y.push(P),v&&v(L)}).on("error",function(P){y=[],o(P)}).on("end",function(){try{var P=(function(L,W,N){switch(L){case"blob":return l.newBlob(l.transformTo("arraybuffer",W),N);case"base64":return f.encode(W);default:return l.transformTo(L,W)}})(u,(function(L,W){var N,Z=0,oe=null,C=0;for(N=0;N<W.length;N++)C+=W[N].length;switch(L){case"string":return W.join("");case"array":return Array.prototype.concat.apply([],W);case"uint8array":for(oe=new Uint8Array(C),N=0;N<W.length;N++)oe.set(W[N],Z),Z+=W[N].length;return oe;case"nodebuffer":return Buffer.concat(W);default:throw new Error("concat : unsupported type '"+L+"'")}})(m,y),A);x(P)}catch(L){o(L)}y=[]}).resume()})}function E(R,v,x){var o=v;switch(v){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=v,this._mimeType=x,l.checkSupport(o),this._worker=R.pipe(new p(o)),R.lock()}catch(y){this._worker=new i("error"),this._worker.error(y)}}E.prototype={accumulate:function(R){return k(this,R)},on:function(R,v){var x=this;return R==="data"?this._worker.on(R,function(o){v.call(x,o.data,o.meta)}):this._worker.on(R,function(){l.delay(v,arguments,x)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(R){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new I(this,{objectMode:this._outputType!=="nodebuffer"},R)}},s.exports=E},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,s,c){if(c.base64=!0,c.array=!0,c.string=!0,c.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",c.nodebuffer=typeof Buffer<"u",c.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")c.blob=!1;else{var l=new ArrayBuffer(0);try{c.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var p=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);p.append(l),c.blob=p.getBlob("application/zip").size===0}catch{c.blob=!1}}}try{c.nodestream=!!t("readable-stream").Readable}catch{c.nodestream=!1}},{"readable-stream":16}],31:[function(t,s,c){for(var l=t("./utils"),p=t("./support"),i=t("./nodejsUtils"),f=t("./stream/GenericWorker"),S=new Array(256),T=0;T<256;T++)S[T]=252<=T?6:248<=T?5:240<=T?4:224<=T?3:192<=T?2:1;S[254]=S[254]=1;function I(){f.call(this,"utf-8 decode"),this.leftOver=null}function k(){f.call(this,"utf-8 encode")}c.utf8encode=function(E){return p.nodebuffer?i.newBufferFrom(E,"utf-8"):(function(R){var v,x,o,y,m,u=R.length,A=0;for(y=0;y<u;y++)(64512&(x=R.charCodeAt(y)))==55296&&y+1<u&&(64512&(o=R.charCodeAt(y+1)))==56320&&(x=65536+(x-55296<<10)+(o-56320),y++),A+=x<128?1:x<2048?2:x<65536?3:4;for(v=p.uint8array?new Uint8Array(A):new Array(A),y=m=0;m<A;y++)(64512&(x=R.charCodeAt(y)))==55296&&y+1<u&&(64512&(o=R.charCodeAt(y+1)))==56320&&(x=65536+(x-55296<<10)+(o-56320),y++),x<128?v[m++]=x:(x<2048?v[m++]=192|x>>>6:(x<65536?v[m++]=224|x>>>12:(v[m++]=240|x>>>18,v[m++]=128|x>>>12&63),v[m++]=128|x>>>6&63),v[m++]=128|63&x);return v})(E)},c.utf8decode=function(E){return p.nodebuffer?l.transformTo("nodebuffer",E).toString("utf-8"):(function(R){var v,x,o,y,m=R.length,u=new Array(2*m);for(v=x=0;v<m;)if((o=R[v++])<128)u[x++]=o;else if(4<(y=S[o]))u[x++]=65533,v+=y-1;else{for(o&=y===2?31:y===3?15:7;1<y&&v<m;)o=o<<6|63&R[v++],y--;1<y?u[x++]=65533:o<65536?u[x++]=o:(o-=65536,u[x++]=55296|o>>10&1023,u[x++]=56320|1023&o)}return u.length!==x&&(u.subarray?u=u.subarray(0,x):u.length=x),l.applyFromCharCode(u)})(E=l.transformTo(p.uint8array?"uint8array":"array",E))},l.inherits(I,f),I.prototype.processChunk=function(E){var R=l.transformTo(p.uint8array?"uint8array":"array",E.data);if(this.leftOver&&this.leftOver.length){if(p.uint8array){var v=R;(R=new Uint8Array(v.length+this.leftOver.length)).set(this.leftOver,0),R.set(v,this.leftOver.length)}else R=this.leftOver.concat(R);this.leftOver=null}var x=(function(y,m){var u;for((m=m||y.length)>y.length&&(m=y.length),u=m-1;0<=u&&(192&y[u])==128;)u--;return u<0||u===0?m:u+S[y[u]]>m?u:m})(R),o=R;x!==R.length&&(p.uint8array?(o=R.subarray(0,x),this.leftOver=R.subarray(x,R.length)):(o=R.slice(0,x),this.leftOver=R.slice(x,R.length))),this.push({data:c.utf8decode(o),meta:E.meta})},I.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:c.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},c.Utf8DecodeWorker=I,l.inherits(k,f),k.prototype.processChunk=function(E){this.push({data:c.utf8encode(E.data),meta:E.meta})},c.Utf8EncodeWorker=k},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,s,c){var l=t("./support"),p=t("./base64"),i=t("./nodejsUtils"),f=t("./external");function S(v){return v}function T(v,x){for(var o=0;o<v.length;++o)x[o]=255&v.charCodeAt(o);return x}t("setimmediate"),c.newBlob=function(v,x){c.checkSupport("blob");try{return new Blob([v],{type:x})}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(v),o.getBlob(x)}catch{throw new Error("Bug : can't construct the Blob.")}}};var I={stringifyByChunk:function(v,x,o){var y=[],m=0,u=v.length;if(u<=o)return String.fromCharCode.apply(null,v);for(;m<u;)x==="array"||x==="nodebuffer"?y.push(String.fromCharCode.apply(null,v.slice(m,Math.min(m+o,u)))):y.push(String.fromCharCode.apply(null,v.subarray(m,Math.min(m+o,u)))),m+=o;return y.join("")},stringifyByChar:function(v){for(var x="",o=0;o<v.length;o++)x+=String.fromCharCode(v[o]);return x},applyCanBeUsed:{uint8array:(function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch{return!1}})()}};function k(v){var x=65536,o=c.getTypeOf(v),y=!0;if(o==="uint8array"?y=I.applyCanBeUsed.uint8array:o==="nodebuffer"&&(y=I.applyCanBeUsed.nodebuffer),y)for(;1<x;)try{return I.stringifyByChunk(v,o,x)}catch{x=Math.floor(x/2)}return I.stringifyByChar(v)}function E(v,x){for(var o=0;o<v.length;o++)x[o]=v[o];return x}c.applyFromCharCode=k;var R={};R.string={string:S,array:function(v){return T(v,new Array(v.length))},arraybuffer:function(v){return R.string.uint8array(v).buffer},uint8array:function(v){return T(v,new Uint8Array(v.length))},nodebuffer:function(v){return T(v,i.allocBuffer(v.length))}},R.array={string:k,array:S,arraybuffer:function(v){return new Uint8Array(v).buffer},uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return i.newBufferFrom(v)}},R.arraybuffer={string:function(v){return k(new Uint8Array(v))},array:function(v){return E(new Uint8Array(v),new Array(v.byteLength))},arraybuffer:S,uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return i.newBufferFrom(new Uint8Array(v))}},R.uint8array={string:k,array:function(v){return E(v,new Array(v.length))},arraybuffer:function(v){return v.buffer},uint8array:S,nodebuffer:function(v){return i.newBufferFrom(v)}},R.nodebuffer={string:k,array:function(v){return E(v,new Array(v.length))},arraybuffer:function(v){return R.nodebuffer.uint8array(v).buffer},uint8array:function(v){return E(v,new Uint8Array(v.length))},nodebuffer:S},c.transformTo=function(v,x){if(x=x||"",!v)return x;c.checkSupport(v);var o=c.getTypeOf(x);return R[o][v](x)},c.resolve=function(v){for(var x=v.split("/"),o=[],y=0;y<x.length;y++){var m=x[y];m==="."||m===""&&y!==0&&y!==x.length-1||(m===".."?o.pop():o.push(m))}return o.join("/")},c.getTypeOf=function(v){return typeof v=="string"?"string":Object.prototype.toString.call(v)==="[object Array]"?"array":l.nodebuffer&&i.isBuffer(v)?"nodebuffer":l.uint8array&&v instanceof Uint8Array?"uint8array":l.arraybuffer&&v instanceof ArrayBuffer?"arraybuffer":void 0},c.checkSupport=function(v){if(!l[v.toLowerCase()])throw new Error(v+" is not supported by this platform")},c.MAX_VALUE_16BITS=65535,c.MAX_VALUE_32BITS=-1,c.pretty=function(v){var x,o,y="";for(o=0;o<(v||"").length;o++)y+="\\x"+((x=v.charCodeAt(o))<16?"0":"")+x.toString(16).toUpperCase();return y},c.delay=function(v,x,o){setImmediate(function(){v.apply(o||null,x||[])})},c.inherits=function(v,x){function o(){}o.prototype=x.prototype,v.prototype=new o},c.extend=function(){var v,x,o={};for(v=0;v<arguments.length;v++)for(x in arguments[v])Object.prototype.hasOwnProperty.call(arguments[v],x)&&o[x]===void 0&&(o[x]=arguments[v][x]);return o},c.prepareContent=function(v,x,o,y,m){return f.Promise.resolve(x).then(function(u){return l.blob&&(u instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(u))!==-1)&&typeof FileReader<"u"?new f.Promise(function(A,P){var L=new FileReader;L.onload=function(W){A(W.target.result)},L.onerror=function(W){P(W.target.error)},L.readAsArrayBuffer(u)}):u}).then(function(u){var A=c.getTypeOf(u);return A?(A==="arraybuffer"?u=c.transformTo("uint8array",u):A==="string"&&(m?u=p.decode(u):o&&y!==!0&&(u=(function(P){return T(P,l.uint8array?new Uint8Array(P.length):new Array(P.length))})(u))),u):f.Promise.reject(new Error("Can't read the data of '"+v+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,s,c){var l=t("./reader/readerFor"),p=t("./utils"),i=t("./signature"),f=t("./zipEntry"),S=t("./support");function T(I){this.files=[],this.loadOptions=I}T.prototype={checkSignature:function(I){if(!this.reader.readAndCheckSignature(I)){this.reader.index-=4;var k=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+p.pretty(k)+", expected "+p.pretty(I)+")")}},isSignature:function(I,k){var E=this.reader.index;this.reader.setIndex(I);var R=this.reader.readString(4)===k;return this.reader.setIndex(E),R},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var I=this.reader.readData(this.zipCommentLength),k=S.uint8array?"uint8array":"array",E=p.transformTo(k,I);this.zipComment=this.loadOptions.decodeFileName(E)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var I,k,E,R=this.zip64EndOfCentralSize-44;0<R;)I=this.reader.readInt(2),k=this.reader.readInt(4),E=this.reader.readData(k),this.zip64ExtensibleData[I]={id:I,length:k,value:E}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var I,k;for(I=0;I<this.files.length;I++)k=this.files[I],this.reader.setIndex(k.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),k.readLocalPart(this.reader),k.handleUTF8(),k.processAttributes()},readCentralDir:function(){var I;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(I=new f({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(I);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var I=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(I<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(I);var k=I;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===p.MAX_VALUE_16BITS||this.diskWithCentralDirStart===p.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===p.MAX_VALUE_16BITS||this.centralDirRecords===p.MAX_VALUE_16BITS||this.centralDirSize===p.MAX_VALUE_32BITS||this.centralDirOffset===p.MAX_VALUE_32BITS){if(this.zip64=!0,(I=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(I),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var E=this.centralDirOffset+this.centralDirSize;this.zip64&&(E+=20,E+=12+this.zip64EndOfCentralSize);var R=k-E;if(0<R)this.isSignature(k,i.CENTRAL_FILE_HEADER)||(this.reader.zero=R);else if(R<0)throw new Error("Corrupted zip: missing "+Math.abs(R)+" bytes.")},prepareReader:function(I){this.reader=l(I)},load:function(I){this.prepareReader(I),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},s.exports=T},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,s,c){var l=t("./reader/readerFor"),p=t("./utils"),i=t("./compressedObject"),f=t("./crc32"),S=t("./utf8"),T=t("./compressions"),I=t("./support");function k(E,R){this.options=E,this.loadOptions=R}k.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(E){var R,v;if(E.skip(22),this.fileNameLength=E.readInt(2),v=E.readInt(2),this.fileName=E.readData(this.fileNameLength),E.skip(v),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((R=(function(x){for(var o in T)if(Object.prototype.hasOwnProperty.call(T,o)&&T[o].magic===x)return T[o];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+p.pretty(this.compressionMethod)+" unknown (inner file : "+p.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,R,E.readData(this.compressedSize))},readCentralPart:function(E){this.versionMadeBy=E.readInt(2),E.skip(2),this.bitFlag=E.readInt(2),this.compressionMethod=E.readString(2),this.date=E.readDate(),this.crc32=E.readInt(4),this.compressedSize=E.readInt(4),this.uncompressedSize=E.readInt(4);var R=E.readInt(2);if(this.extraFieldsLength=E.readInt(2),this.fileCommentLength=E.readInt(2),this.diskNumberStart=E.readInt(2),this.internalFileAttributes=E.readInt(2),this.externalFileAttributes=E.readInt(4),this.localHeaderOffset=E.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");E.skip(R),this.readExtraFields(E),this.parseZIP64ExtraField(E),this.fileComment=E.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var E=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),E==0&&(this.dosPermissions=63&this.externalFileAttributes),E==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var E=l(this.extraFields[1].value);this.uncompressedSize===p.MAX_VALUE_32BITS&&(this.uncompressedSize=E.readInt(8)),this.compressedSize===p.MAX_VALUE_32BITS&&(this.compressedSize=E.readInt(8)),this.localHeaderOffset===p.MAX_VALUE_32BITS&&(this.localHeaderOffset=E.readInt(8)),this.diskNumberStart===p.MAX_VALUE_32BITS&&(this.diskNumberStart=E.readInt(4))}},readExtraFields:function(E){var R,v,x,o=E.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});E.index+4<o;)R=E.readInt(2),v=E.readInt(2),x=E.readData(v),this.extraFields[R]={id:R,length:v,value:x};E.setIndex(o)},handleUTF8:function(){var E=I.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=S.utf8decode(this.fileName),this.fileCommentStr=S.utf8decode(this.fileComment);else{var R=this.findExtraFieldUnicodePath();if(R!==null)this.fileNameStr=R;else{var v=p.transformTo(E,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(v)}var x=this.findExtraFieldUnicodeComment();if(x!==null)this.fileCommentStr=x;else{var o=p.transformTo(E,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var E=this.extraFields[28789];if(E){var R=l(E.value);return R.readInt(1)!==1||f(this.fileName)!==R.readInt(4)?null:S.utf8decode(R.readData(E.length-5))}return null},findExtraFieldUnicodeComment:function(){var E=this.extraFields[25461];if(E){var R=l(E.value);return R.readInt(1)!==1||f(this.fileComment)!==R.readInt(4)?null:S.utf8decode(R.readData(E.length-5))}return null}},s.exports=k},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,s,c){function l(R,v,x){this.name=R,this.dir=x.dir,this.date=x.date,this.comment=x.comment,this.unixPermissions=x.unixPermissions,this.dosPermissions=x.dosPermissions,this._data=v,this._dataBinary=x.binary,this.options={compression:x.compression,compressionOptions:x.compressionOptions}}var p=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),f=t("./utf8"),S=t("./compressedObject"),T=t("./stream/GenericWorker");l.prototype={internalStream:function(R){var v=null,x="string";try{if(!R)throw new Error("No output type specified.");var o=(x=R.toLowerCase())==="string"||x==="text";x!=="binarystring"&&x!=="text"||(x="string"),v=this._decompressWorker();var y=!this._dataBinary;y&&!o&&(v=v.pipe(new f.Utf8EncodeWorker)),!y&&o&&(v=v.pipe(new f.Utf8DecodeWorker))}catch(m){(v=new T("error")).error(m)}return new p(v,x,"")},async:function(R,v){return this.internalStream(R).accumulate(v)},nodeStream:function(R,v){return this.internalStream(R||"nodebuffer").toNodejsStream(v)},_compressWorker:function(R,v){if(this._data instanceof S&&this._data.compression.magic===R.magic)return this._data.getCompressedWorker();var x=this._decompressWorker();return this._dataBinary||(x=x.pipe(new f.Utf8EncodeWorker)),S.createWorkerFrom(x,R,v)},_decompressWorker:function(){return this._data instanceof S?this._data.getContentWorker():this._data instanceof T?this._data:new i(this._data)}};for(var I=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],k=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},E=0;E<I.length;E++)l.prototype[I[E]]=k;s.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,s,c){(function(l){var p,i,f=l.MutationObserver||l.WebKitMutationObserver;if(f){var S=0,T=new f(R),I=l.document.createTextNode("");T.observe(I,{characterData:!0}),p=function(){I.data=S=++S%2}}else if(l.setImmediate||l.MessageChannel===void 0)p="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var v=l.document.createElement("script");v.onreadystatechange=function(){R(),v.onreadystatechange=null,v.parentNode.removeChild(v),v=null},l.document.documentElement.appendChild(v)}:function(){setTimeout(R,0)};else{var k=new l.MessageChannel;k.port1.onmessage=R,p=function(){k.port2.postMessage(0)}}var E=[];function R(){var v,x;i=!0;for(var o=E.length;o;){for(x=E,E=[],v=-1;++v<o;)x[v]();o=E.length}i=!1}s.exports=function(v){E.push(v)!==1||i||p()}}).call(this,typeof Re<"u"?Re:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(t,s,c){var l=t("immediate");function p(){}var i={},f=["REJECTED"],S=["FULFILLED"],T=["PENDING"];function I(o){if(typeof o!="function")throw new TypeError("resolver must be a function");this.state=T,this.queue=[],this.outcome=void 0,o!==p&&v(this,o)}function k(o,y,m){this.promise=o,typeof y=="function"&&(this.onFulfilled=y,this.callFulfilled=this.otherCallFulfilled),typeof m=="function"&&(this.onRejected=m,this.callRejected=this.otherCallRejected)}function E(o,y,m){l(function(){var u;try{u=y(m)}catch(A){return i.reject(o,A)}u===o?i.reject(o,new TypeError("Cannot resolve promise with itself")):i.resolve(o,u)})}function R(o){var y=o&&o.then;if(o&&(typeof o=="object"||typeof o=="function")&&typeof y=="function")return function(){y.apply(o,arguments)}}function v(o,y){var m=!1;function u(L){m||(m=!0,i.reject(o,L))}function A(L){m||(m=!0,i.resolve(o,L))}var P=x(function(){y(A,u)});P.status==="error"&&u(P.value)}function x(o,y){var m={};try{m.value=o(y),m.status="success"}catch(u){m.status="error",m.value=u}return m}(s.exports=I).prototype.finally=function(o){if(typeof o!="function")return this;var y=this.constructor;return this.then(function(m){return y.resolve(o()).then(function(){return m})},function(m){return y.resolve(o()).then(function(){throw m})})},I.prototype.catch=function(o){return this.then(null,o)},I.prototype.then=function(o,y){if(typeof o!="function"&&this.state===S||typeof y!="function"&&this.state===f)return this;var m=new this.constructor(p);return this.state!==T?E(m,this.state===S?o:y,this.outcome):this.queue.push(new k(m,o,y)),m},k.prototype.callFulfilled=function(o){i.resolve(this.promise,o)},k.prototype.otherCallFulfilled=function(o){E(this.promise,this.onFulfilled,o)},k.prototype.callRejected=function(o){i.reject(this.promise,o)},k.prototype.otherCallRejected=function(o){E(this.promise,this.onRejected,o)},i.resolve=function(o,y){var m=x(R,y);if(m.status==="error")return i.reject(o,m.value);var u=m.value;if(u)v(o,u);else{o.state=S,o.outcome=y;for(var A=-1,P=o.queue.length;++A<P;)o.queue[A].callFulfilled(y)}return o},i.reject=function(o,y){o.state=f,o.outcome=y;for(var m=-1,u=o.queue.length;++m<u;)o.queue[m].callRejected(y);return o},I.resolve=function(o){return o instanceof this?o:i.resolve(new this(p),o)},I.reject=function(o){var y=new this(p);return i.reject(y,o)},I.all=function(o){var y=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=o.length,u=!1;if(!m)return this.resolve([]);for(var A=new Array(m),P=0,L=-1,W=new this(p);++L<m;)N(o[L],L);return W;function N(Z,oe){y.resolve(Z).then(function(C){A[oe]=C,++P!==m||u||(u=!0,i.resolve(W,A))},function(C){u||(u=!0,i.reject(W,C))})}},I.race=function(o){var y=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=o.length,u=!1;if(!m)return this.resolve([]);for(var A=-1,P=new this(p);++A<m;)L=o[A],y.resolve(L).then(function(W){u||(u=!0,i.resolve(P,W))},function(W){u||(u=!0,i.reject(P,W))});var L;return P}},{immediate:36}],38:[function(t,s,c){var l={};(0,t("./lib/utils/common").assign)(l,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),s.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,s,c){var l=t("./zlib/deflate"),p=t("./utils/common"),i=t("./utils/strings"),f=t("./zlib/messages"),S=t("./zlib/zstream"),T=Object.prototype.toString,I=0,k=-1,E=0,R=8;function v(o){if(!(this instanceof v))return new v(o);this.options=p.assign({level:k,method:R,chunkSize:16384,windowBits:15,memLevel:8,strategy:E,to:""},o||{});var y=this.options;y.raw&&0<y.windowBits?y.windowBits=-y.windowBits:y.gzip&&0<y.windowBits&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new S,this.strm.avail_out=0;var m=l.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(m!==I)throw new Error(f[m]);if(y.header&&l.deflateSetHeader(this.strm,y.header),y.dictionary){var u;if(u=typeof y.dictionary=="string"?i.string2buf(y.dictionary):T.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(m=l.deflateSetDictionary(this.strm,u))!==I)throw new Error(f[m]);this._dict_set=!0}}function x(o,y){var m=new v(y);if(m.push(o,!0),m.err)throw m.msg||f[m.err];return m.result}v.prototype.push=function(o,y){var m,u,A=this.strm,P=this.options.chunkSize;if(this.ended)return!1;u=y===~~y?y:y===!0?4:0,typeof o=="string"?A.input=i.string2buf(o):T.call(o)==="[object ArrayBuffer]"?A.input=new Uint8Array(o):A.input=o,A.next_in=0,A.avail_in=A.input.length;do{if(A.avail_out===0&&(A.output=new p.Buf8(P),A.next_out=0,A.avail_out=P),(m=l.deflate(A,u))!==1&&m!==I)return this.onEnd(m),!(this.ended=!0);A.avail_out!==0&&(A.avail_in!==0||u!==4&&u!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(p.shrinkBuf(A.output,A.next_out))):this.onData(p.shrinkBuf(A.output,A.next_out)))}while((0<A.avail_in||A.avail_out===0)&&m!==1);return u===4?(m=l.deflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===I):u!==2||(this.onEnd(I),!(A.avail_out=0))},v.prototype.onData=function(o){this.chunks.push(o)},v.prototype.onEnd=function(o){o===I&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=p.flattenChunks(this.chunks)),this.chunks=[],this.err=o,this.msg=this.strm.msg},c.Deflate=v,c.deflate=x,c.deflateRaw=function(o,y){return(y=y||{}).raw=!0,x(o,y)},c.gzip=function(o,y){return(y=y||{}).gzip=!0,x(o,y)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,s,c){var l=t("./zlib/inflate"),p=t("./utils/common"),i=t("./utils/strings"),f=t("./zlib/constants"),S=t("./zlib/messages"),T=t("./zlib/zstream"),I=t("./zlib/gzheader"),k=Object.prototype.toString;function E(v){if(!(this instanceof E))return new E(v);this.options=p.assign({chunkSize:16384,windowBits:0,to:""},v||{});var x=this.options;x.raw&&0<=x.windowBits&&x.windowBits<16&&(x.windowBits=-x.windowBits,x.windowBits===0&&(x.windowBits=-15)),!(0<=x.windowBits&&x.windowBits<16)||v&&v.windowBits||(x.windowBits+=32),15<x.windowBits&&x.windowBits<48&&(15&x.windowBits)==0&&(x.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new T,this.strm.avail_out=0;var o=l.inflateInit2(this.strm,x.windowBits);if(o!==f.Z_OK)throw new Error(S[o]);this.header=new I,l.inflateGetHeader(this.strm,this.header)}function R(v,x){var o=new E(x);if(o.push(v,!0),o.err)throw o.msg||S[o.err];return o.result}E.prototype.push=function(v,x){var o,y,m,u,A,P,L=this.strm,W=this.options.chunkSize,N=this.options.dictionary,Z=!1;if(this.ended)return!1;y=x===~~x?x:x===!0?f.Z_FINISH:f.Z_NO_FLUSH,typeof v=="string"?L.input=i.binstring2buf(v):k.call(v)==="[object ArrayBuffer]"?L.input=new Uint8Array(v):L.input=v,L.next_in=0,L.avail_in=L.input.length;do{if(L.avail_out===0&&(L.output=new p.Buf8(W),L.next_out=0,L.avail_out=W),(o=l.inflate(L,f.Z_NO_FLUSH))===f.Z_NEED_DICT&&N&&(P=typeof N=="string"?i.string2buf(N):k.call(N)==="[object ArrayBuffer]"?new Uint8Array(N):N,o=l.inflateSetDictionary(this.strm,P)),o===f.Z_BUF_ERROR&&Z===!0&&(o=f.Z_OK,Z=!1),o!==f.Z_STREAM_END&&o!==f.Z_OK)return this.onEnd(o),!(this.ended=!0);L.next_out&&(L.avail_out!==0&&o!==f.Z_STREAM_END&&(L.avail_in!==0||y!==f.Z_FINISH&&y!==f.Z_SYNC_FLUSH)||(this.options.to==="string"?(m=i.utf8border(L.output,L.next_out),u=L.next_out-m,A=i.buf2string(L.output,m),L.next_out=u,L.avail_out=W-u,u&&p.arraySet(L.output,L.output,m,u,0),this.onData(A)):this.onData(p.shrinkBuf(L.output,L.next_out)))),L.avail_in===0&&L.avail_out===0&&(Z=!0)}while((0<L.avail_in||L.avail_out===0)&&o!==f.Z_STREAM_END);return o===f.Z_STREAM_END&&(y=f.Z_FINISH),y===f.Z_FINISH?(o=l.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===f.Z_OK):y!==f.Z_SYNC_FLUSH||(this.onEnd(f.Z_OK),!(L.avail_out=0))},E.prototype.onData=function(v){this.chunks.push(v)},E.prototype.onEnd=function(v){v===f.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=p.flattenChunks(this.chunks)),this.chunks=[],this.err=v,this.msg=this.strm.msg},c.Inflate=E,c.inflate=R,c.inflateRaw=function(v,x){return(x=x||{}).raw=!0,R(v,x)},c.ungzip=R},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,s,c){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";c.assign=function(f){for(var S=Array.prototype.slice.call(arguments,1);S.length;){var T=S.shift();if(T){if(typeof T!="object")throw new TypeError(T+"must be non-object");for(var I in T)T.hasOwnProperty(I)&&(f[I]=T[I])}}return f},c.shrinkBuf=function(f,S){return f.length===S?f:f.subarray?f.subarray(0,S):(f.length=S,f)};var p={arraySet:function(f,S,T,I,k){if(S.subarray&&f.subarray)f.set(S.subarray(T,T+I),k);else for(var E=0;E<I;E++)f[k+E]=S[T+E]},flattenChunks:function(f){var S,T,I,k,E,R;for(S=I=0,T=f.length;S<T;S++)I+=f[S].length;for(R=new Uint8Array(I),S=k=0,T=f.length;S<T;S++)E=f[S],R.set(E,k),k+=E.length;return R}},i={arraySet:function(f,S,T,I,k){for(var E=0;E<I;E++)f[k+E]=S[T+E]},flattenChunks:function(f){return[].concat.apply([],f)}};c.setTyped=function(f){f?(c.Buf8=Uint8Array,c.Buf16=Uint16Array,c.Buf32=Int32Array,c.assign(c,p)):(c.Buf8=Array,c.Buf16=Array,c.Buf32=Array,c.assign(c,i))},c.setTyped(l)},{}],42:[function(t,s,c){var l=t("./common"),p=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch{p=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{i=!1}for(var f=new l.Buf8(256),S=0;S<256;S++)f[S]=252<=S?6:248<=S?5:240<=S?4:224<=S?3:192<=S?2:1;function T(I,k){if(k<65537&&(I.subarray&&i||!I.subarray&&p))return String.fromCharCode.apply(null,l.shrinkBuf(I,k));for(var E="",R=0;R<k;R++)E+=String.fromCharCode(I[R]);return E}f[254]=f[254]=1,c.string2buf=function(I){var k,E,R,v,x,o=I.length,y=0;for(v=0;v<o;v++)(64512&(E=I.charCodeAt(v)))==55296&&v+1<o&&(64512&(R=I.charCodeAt(v+1)))==56320&&(E=65536+(E-55296<<10)+(R-56320),v++),y+=E<128?1:E<2048?2:E<65536?3:4;for(k=new l.Buf8(y),v=x=0;x<y;v++)(64512&(E=I.charCodeAt(v)))==55296&&v+1<o&&(64512&(R=I.charCodeAt(v+1)))==56320&&(E=65536+(E-55296<<10)+(R-56320),v++),E<128?k[x++]=E:(E<2048?k[x++]=192|E>>>6:(E<65536?k[x++]=224|E>>>12:(k[x++]=240|E>>>18,k[x++]=128|E>>>12&63),k[x++]=128|E>>>6&63),k[x++]=128|63&E);return k},c.buf2binstring=function(I){return T(I,I.length)},c.binstring2buf=function(I){for(var k=new l.Buf8(I.length),E=0,R=k.length;E<R;E++)k[E]=I.charCodeAt(E);return k},c.buf2string=function(I,k){var E,R,v,x,o=k||I.length,y=new Array(2*o);for(E=R=0;E<o;)if((v=I[E++])<128)y[R++]=v;else if(4<(x=f[v]))y[R++]=65533,E+=x-1;else{for(v&=x===2?31:x===3?15:7;1<x&&E<o;)v=v<<6|63&I[E++],x--;1<x?y[R++]=65533:v<65536?y[R++]=v:(v-=65536,y[R++]=55296|v>>10&1023,y[R++]=56320|1023&v)}return T(y,R)},c.utf8border=function(I,k){var E;for((k=k||I.length)>I.length&&(k=I.length),E=k-1;0<=E&&(192&I[E])==128;)E--;return E<0||E===0?k:E+f[I[E]]>k?E:k}},{"./common":41}],43:[function(t,s,c){s.exports=function(l,p,i,f){for(var S=65535&l|0,T=l>>>16&65535|0,I=0;i!==0;){for(i-=I=2e3<i?2e3:i;T=T+(S=S+p[f++]|0)|0,--I;);S%=65521,T%=65521}return S|T<<16|0}},{}],44:[function(t,s,c){s.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,s,c){var l=(function(){for(var p,i=[],f=0;f<256;f++){p=f;for(var S=0;S<8;S++)p=1&p?3988292384^p>>>1:p>>>1;i[f]=p}return i})();s.exports=function(p,i,f,S){var T=l,I=S+f;p^=-1;for(var k=S;k<I;k++)p=p>>>8^T[255&(p^i[k])];return-1^p}},{}],46:[function(t,s,c){var l,p=t("../utils/common"),i=t("./trees"),f=t("./adler32"),S=t("./crc32"),T=t("./messages"),I=0,k=4,E=0,R=-2,v=-1,x=4,o=2,y=8,m=9,u=286,A=30,P=19,L=2*u+1,W=15,N=3,Z=258,oe=Z+N+1,C=42,M=113,w=1,K=2,ee=3,z=4;function ne(h,$){return h.msg=T[$],$}function Q(h){return(h<<1)-(4<h?9:0)}function le(h){for(var $=h.length;0<=--$;)h[$]=0}function V(h){var $=h.state,_=$.pending;_>h.avail_out&&(_=h.avail_out),_!==0&&(p.arraySet(h.output,$.pending_buf,$.pending_out,_,h.next_out),h.next_out+=_,$.pending_out+=_,h.total_out+=_,h.avail_out-=_,$.pending-=_,$.pending===0&&($.pending_out=0))}function D(h,$){i._tr_flush_block(h,0<=h.block_start?h.block_start:-1,h.strstart-h.block_start,$),h.block_start=h.strstart,V(h.strm)}function X(h,$){h.pending_buf[h.pending++]=$}function Y(h,$){h.pending_buf[h.pending++]=$>>>8&255,h.pending_buf[h.pending++]=255&$}function te(h,$){var _,r,a=h.max_chain_length,d=h.strstart,B=h.prev_length,q=h.nice_match,j=h.strstart>h.w_size-oe?h.strstart-(h.w_size-oe):0,re=h.window,ae=h.w_mask,ie=h.prev,fe=h.strstart+Z,he=re[d+B-1],de=re[d+B];h.prev_length>=h.good_match&&(a>>=2),q>h.lookahead&&(q=h.lookahead);do if(re[(_=$)+B]===de&&re[_+B-1]===he&&re[_]===re[d]&&re[++_]===re[d+1]){d+=2,_++;do;while(re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&re[++d]===re[++_]&&d<fe);if(r=Z-(fe-d),d=fe-Z,B<r){if(h.match_start=$,q<=(B=r))break;he=re[d+B-1],de=re[d+B]}}while(($=ie[$&ae])>j&&--a!=0);return B<=h.lookahead?B:h.lookahead}function G(h){var $,_,r,a,d,B,q,j,re,ae,ie=h.w_size;do{if(a=h.window_size-h.lookahead-h.strstart,h.strstart>=ie+(ie-oe)){for(p.arraySet(h.window,h.window,ie,ie,0),h.match_start-=ie,h.strstart-=ie,h.block_start-=ie,$=_=h.hash_size;r=h.head[--$],h.head[$]=ie<=r?r-ie:0,--_;);for($=_=ie;r=h.prev[--$],h.prev[$]=ie<=r?r-ie:0,--_;);a+=ie}if(h.strm.avail_in===0)break;if(B=h.strm,q=h.window,j=h.strstart+h.lookahead,re=a,ae=void 0,ae=B.avail_in,re<ae&&(ae=re),_=ae===0?0:(B.avail_in-=ae,p.arraySet(q,B.input,B.next_in,ae,j),B.state.wrap===1?B.adler=f(B.adler,q,ae,j):B.state.wrap===2&&(B.adler=S(B.adler,q,ae,j)),B.next_in+=ae,B.total_in+=ae,ae),h.lookahead+=_,h.lookahead+h.insert>=N)for(d=h.strstart-h.insert,h.ins_h=h.window[d],h.ins_h=(h.ins_h<<h.hash_shift^h.window[d+1])&h.hash_mask;h.insert&&(h.ins_h=(h.ins_h<<h.hash_shift^h.window[d+N-1])&h.hash_mask,h.prev[d&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=d,d++,h.insert--,!(h.lookahead+h.insert<N)););}while(h.lookahead<oe&&h.strm.avail_in!==0)}function b(h,$){for(var _,r;;){if(h.lookahead<oe){if(G(h),h.lookahead<oe&&$===I)return w;if(h.lookahead===0)break}if(_=0,h.lookahead>=N&&(h.ins_h=(h.ins_h<<h.hash_shift^h.window[h.strstart+N-1])&h.hash_mask,_=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart),_!==0&&h.strstart-_<=h.w_size-oe&&(h.match_length=te(h,_)),h.match_length>=N)if(r=i._tr_tally(h,h.strstart-h.match_start,h.match_length-N),h.lookahead-=h.match_length,h.match_length<=h.max_lazy_match&&h.lookahead>=N){for(h.match_length--;h.strstart++,h.ins_h=(h.ins_h<<h.hash_shift^h.window[h.strstart+N-1])&h.hash_mask,_=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart,--h.match_length!=0;);h.strstart++}else h.strstart+=h.match_length,h.match_length=0,h.ins_h=h.window[h.strstart],h.ins_h=(h.ins_h<<h.hash_shift^h.window[h.strstart+1])&h.hash_mask;else r=i._tr_tally(h,0,h.window[h.strstart]),h.lookahead--,h.strstart++;if(r&&(D(h,!1),h.strm.avail_out===0))return w}return h.insert=h.strstart<N-1?h.strstart:N-1,$===k?(D(h,!0),h.strm.avail_out===0?ee:z):h.last_lit&&(D(h,!1),h.strm.avail_out===0)?w:K}function g(h,$){for(var _,r,a;;){if(h.lookahead<oe){if(G(h),h.lookahead<oe&&$===I)return w;if(h.lookahead===0)break}if(_=0,h.lookahead>=N&&(h.ins_h=(h.ins_h<<h.hash_shift^h.window[h.strstart+N-1])&h.hash_mask,_=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart),h.prev_length=h.match_length,h.prev_match=h.match_start,h.match_length=N-1,_!==0&&h.prev_length<h.max_lazy_match&&h.strstart-_<=h.w_size-oe&&(h.match_length=te(h,_),h.match_length<=5&&(h.strategy===1||h.match_length===N&&4096<h.strstart-h.match_start)&&(h.match_length=N-1)),h.prev_length>=N&&h.match_length<=h.prev_length){for(a=h.strstart+h.lookahead-N,r=i._tr_tally(h,h.strstart-1-h.prev_match,h.prev_length-N),h.lookahead-=h.prev_length-1,h.prev_length-=2;++h.strstart<=a&&(h.ins_h=(h.ins_h<<h.hash_shift^h.window[h.strstart+N-1])&h.hash_mask,_=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart),--h.prev_length!=0;);if(h.match_available=0,h.match_length=N-1,h.strstart++,r&&(D(h,!1),h.strm.avail_out===0))return w}else if(h.match_available){if((r=i._tr_tally(h,0,h.window[h.strstart-1]))&&D(h,!1),h.strstart++,h.lookahead--,h.strm.avail_out===0)return w}else h.match_available=1,h.strstart++,h.lookahead--}return h.match_available&&(r=i._tr_tally(h,0,h.window[h.strstart-1]),h.match_available=0),h.insert=h.strstart<N-1?h.strstart:N-1,$===k?(D(h,!0),h.strm.avail_out===0?ee:z):h.last_lit&&(D(h,!1),h.strm.avail_out===0)?w:K}function H(h,$,_,r,a){this.good_length=h,this.max_lazy=$,this.nice_length=_,this.max_chain=r,this.func=a}function U(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new p.Buf16(2*L),this.dyn_dtree=new p.Buf16(2*(2*A+1)),this.bl_tree=new p.Buf16(2*(2*P+1)),le(this.dyn_ltree),le(this.dyn_dtree),le(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new p.Buf16(W+1),this.heap=new p.Buf16(2*u+1),le(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new p.Buf16(2*u+1),le(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function O(h){var $;return h&&h.state?(h.total_in=h.total_out=0,h.data_type=o,($=h.state).pending=0,$.pending_out=0,$.wrap<0&&($.wrap=-$.wrap),$.status=$.wrap?C:M,h.adler=$.wrap===2?0:1,$.last_flush=I,i._tr_init($),E):ne(h,R)}function F(h){var $=O(h);return $===E&&(function(_){_.window_size=2*_.w_size,le(_.head),_.max_lazy_match=l[_.level].max_lazy,_.good_match=l[_.level].good_length,_.nice_match=l[_.level].nice_length,_.max_chain_length=l[_.level].max_chain,_.strstart=0,_.block_start=0,_.lookahead=0,_.insert=0,_.match_length=_.prev_length=N-1,_.match_available=0,_.ins_h=0})(h.state),$}function J(h,$,_,r,a,d){if(!h)return R;var B=1;if($===v&&($=6),r<0?(B=0,r=-r):15<r&&(B=2,r-=16),a<1||m<a||_!==y||r<8||15<r||$<0||9<$||d<0||x<d)return ne(h,R);r===8&&(r=9);var q=new U;return(h.state=q).strm=h,q.wrap=B,q.gzhead=null,q.w_bits=r,q.w_size=1<<q.w_bits,q.w_mask=q.w_size-1,q.hash_bits=a+7,q.hash_size=1<<q.hash_bits,q.hash_mask=q.hash_size-1,q.hash_shift=~~((q.hash_bits+N-1)/N),q.window=new p.Buf8(2*q.w_size),q.head=new p.Buf16(q.hash_size),q.prev=new p.Buf16(q.w_size),q.lit_bufsize=1<<a+6,q.pending_buf_size=4*q.lit_bufsize,q.pending_buf=new p.Buf8(q.pending_buf_size),q.d_buf=1*q.lit_bufsize,q.l_buf=3*q.lit_bufsize,q.level=$,q.strategy=d,q.method=_,F(h)}l=[new H(0,0,0,0,function(h,$){var _=65535;for(_>h.pending_buf_size-5&&(_=h.pending_buf_size-5);;){if(h.lookahead<=1){if(G(h),h.lookahead===0&&$===I)return w;if(h.lookahead===0)break}h.strstart+=h.lookahead,h.lookahead=0;var r=h.block_start+_;if((h.strstart===0||h.strstart>=r)&&(h.lookahead=h.strstart-r,h.strstart=r,D(h,!1),h.strm.avail_out===0)||h.strstart-h.block_start>=h.w_size-oe&&(D(h,!1),h.strm.avail_out===0))return w}return h.insert=0,$===k?(D(h,!0),h.strm.avail_out===0?ee:z):(h.strstart>h.block_start&&(D(h,!1),h.strm.avail_out),w)}),new H(4,4,8,4,b),new H(4,5,16,8,b),new H(4,6,32,32,b),new H(4,4,16,16,g),new H(8,16,32,32,g),new H(8,16,128,128,g),new H(8,32,128,256,g),new H(32,128,258,1024,g),new H(32,258,258,4096,g)],c.deflateInit=function(h,$){return J(h,$,y,15,8,0)},c.deflateInit2=J,c.deflateReset=F,c.deflateResetKeep=O,c.deflateSetHeader=function(h,$){return h&&h.state?h.state.wrap!==2?R:(h.state.gzhead=$,E):R},c.deflate=function(h,$){var _,r,a,d;if(!h||!h.state||5<$||$<0)return h?ne(h,R):R;if(r=h.state,!h.output||!h.input&&h.avail_in!==0||r.status===666&&$!==k)return ne(h,h.avail_out===0?-5:R);if(r.strm=h,_=r.last_flush,r.last_flush=$,r.status===C)if(r.wrap===2)h.adler=0,X(r,31),X(r,139),X(r,8),r.gzhead?(X(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),X(r,255&r.gzhead.time),X(r,r.gzhead.time>>8&255),X(r,r.gzhead.time>>16&255),X(r,r.gzhead.time>>24&255),X(r,r.level===9?2:2<=r.strategy||r.level<2?4:0),X(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(X(r,255&r.gzhead.extra.length),X(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(h.adler=S(h.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(X(r,0),X(r,0),X(r,0),X(r,0),X(r,0),X(r,r.level===9?2:2<=r.strategy||r.level<2?4:0),X(r,3),r.status=M);else{var B=y+(r.w_bits-8<<4)<<8;B|=(2<=r.strategy||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(B|=32),B+=31-B%31,r.status=M,Y(r,B),r.strstart!==0&&(Y(r,h.adler>>>16),Y(r,65535&h.adler)),h.adler=1}if(r.status===69)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),V(h),a=r.pending,r.pending!==r.pending_buf_size));)X(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),V(h),a=r.pending,r.pending===r.pending_buf_size)){d=1;break}d=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,X(r,d)}while(d!==0);r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),d===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),V(h),a=r.pending,r.pending===r.pending_buf_size)){d=1;break}d=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,X(r,d)}while(d!==0);r.gzhead.hcrc&&r.pending>a&&(h.adler=S(h.adler,r.pending_buf,r.pending-a,a)),d===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&V(h),r.pending+2<=r.pending_buf_size&&(X(r,255&h.adler),X(r,h.adler>>8&255),h.adler=0,r.status=M)):r.status=M),r.pending!==0){if(V(h),h.avail_out===0)return r.last_flush=-1,E}else if(h.avail_in===0&&Q($)<=Q(_)&&$!==k)return ne(h,-5);if(r.status===666&&h.avail_in!==0)return ne(h,-5);if(h.avail_in!==0||r.lookahead!==0||$!==I&&r.status!==666){var q=r.strategy===2?(function(j,re){for(var ae;;){if(j.lookahead===0&&(G(j),j.lookahead===0)){if(re===I)return w;break}if(j.match_length=0,ae=i._tr_tally(j,0,j.window[j.strstart]),j.lookahead--,j.strstart++,ae&&(D(j,!1),j.strm.avail_out===0))return w}return j.insert=0,re===k?(D(j,!0),j.strm.avail_out===0?ee:z):j.last_lit&&(D(j,!1),j.strm.avail_out===0)?w:K})(r,$):r.strategy===3?(function(j,re){for(var ae,ie,fe,he,de=j.window;;){if(j.lookahead<=Z){if(G(j),j.lookahead<=Z&&re===I)return w;if(j.lookahead===0)break}if(j.match_length=0,j.lookahead>=N&&0<j.strstart&&(ie=de[fe=j.strstart-1])===de[++fe]&&ie===de[++fe]&&ie===de[++fe]){he=j.strstart+Z;do;while(ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&ie===de[++fe]&&fe<he);j.match_length=Z-(he-fe),j.match_length>j.lookahead&&(j.match_length=j.lookahead)}if(j.match_length>=N?(ae=i._tr_tally(j,1,j.match_length-N),j.lookahead-=j.match_length,j.strstart+=j.match_length,j.match_length=0):(ae=i._tr_tally(j,0,j.window[j.strstart]),j.lookahead--,j.strstart++),ae&&(D(j,!1),j.strm.avail_out===0))return w}return j.insert=0,re===k?(D(j,!0),j.strm.avail_out===0?ee:z):j.last_lit&&(D(j,!1),j.strm.avail_out===0)?w:K})(r,$):l[r.level].func(r,$);if(q!==ee&&q!==z||(r.status=666),q===w||q===ee)return h.avail_out===0&&(r.last_flush=-1),E;if(q===K&&($===1?i._tr_align(r):$!==5&&(i._tr_stored_block(r,0,0,!1),$===3&&(le(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),V(h),h.avail_out===0))return r.last_flush=-1,E}return $!==k?E:r.wrap<=0?1:(r.wrap===2?(X(r,255&h.adler),X(r,h.adler>>8&255),X(r,h.adler>>16&255),X(r,h.adler>>24&255),X(r,255&h.total_in),X(r,h.total_in>>8&255),X(r,h.total_in>>16&255),X(r,h.total_in>>24&255)):(Y(r,h.adler>>>16),Y(r,65535&h.adler)),V(h),0<r.wrap&&(r.wrap=-r.wrap),r.pending!==0?E:1)},c.deflateEnd=function(h){var $;return h&&h.state?($=h.state.status)!==C&&$!==69&&$!==73&&$!==91&&$!==103&&$!==M&&$!==666?ne(h,R):(h.state=null,$===M?ne(h,-3):E):R},c.deflateSetDictionary=function(h,$){var _,r,a,d,B,q,j,re,ae=$.length;if(!h||!h.state||(d=(_=h.state).wrap)===2||d===1&&_.status!==C||_.lookahead)return R;for(d===1&&(h.adler=f(h.adler,$,ae,0)),_.wrap=0,ae>=_.w_size&&(d===0&&(le(_.head),_.strstart=0,_.block_start=0,_.insert=0),re=new p.Buf8(_.w_size),p.arraySet(re,$,ae-_.w_size,_.w_size,0),$=re,ae=_.w_size),B=h.avail_in,q=h.next_in,j=h.input,h.avail_in=ae,h.next_in=0,h.input=$,G(_);_.lookahead>=N;){for(r=_.strstart,a=_.lookahead-(N-1);_.ins_h=(_.ins_h<<_.hash_shift^_.window[r+N-1])&_.hash_mask,_.prev[r&_.w_mask]=_.head[_.ins_h],_.head[_.ins_h]=r,r++,--a;);_.strstart=r,_.lookahead=N-1,G(_)}return _.strstart+=_.lookahead,_.block_start=_.strstart,_.insert=_.lookahead,_.lookahead=0,_.match_length=_.prev_length=N-1,_.match_available=0,h.next_in=q,h.input=j,h.avail_in=B,_.wrap=d,E},c.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,s,c){s.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,s,c){s.exports=function(l,p){var i,f,S,T,I,k,E,R,v,x,o,y,m,u,A,P,L,W,N,Z,oe,C,M,w,K;i=l.state,f=l.next_in,w=l.input,S=f+(l.avail_in-5),T=l.next_out,K=l.output,I=T-(p-l.avail_out),k=T+(l.avail_out-257),E=i.dmax,R=i.wsize,v=i.whave,x=i.wnext,o=i.window,y=i.hold,m=i.bits,u=i.lencode,A=i.distcode,P=(1<<i.lenbits)-1,L=(1<<i.distbits)-1;e:do{m<15&&(y+=w[f++]<<m,m+=8,y+=w[f++]<<m,m+=8),W=u[y&P];t:for(;;){if(y>>>=N=W>>>24,m-=N,(N=W>>>16&255)===0)K[T++]=65535&W;else{if(!(16&N)){if((64&N)==0){W=u[(65535&W)+(y&(1<<N)-1)];continue t}if(32&N){i.mode=12;break e}l.msg="invalid literal/length code",i.mode=30;break e}Z=65535&W,(N&=15)&&(m<N&&(y+=w[f++]<<m,m+=8),Z+=y&(1<<N)-1,y>>>=N,m-=N),m<15&&(y+=w[f++]<<m,m+=8,y+=w[f++]<<m,m+=8),W=A[y&L];r:for(;;){if(y>>>=N=W>>>24,m-=N,!(16&(N=W>>>16&255))){if((64&N)==0){W=A[(65535&W)+(y&(1<<N)-1)];continue r}l.msg="invalid distance code",i.mode=30;break e}if(oe=65535&W,m<(N&=15)&&(y+=w[f++]<<m,(m+=8)<N&&(y+=w[f++]<<m,m+=8)),E<(oe+=y&(1<<N)-1)){l.msg="invalid distance too far back",i.mode=30;break e}if(y>>>=N,m-=N,(N=T-I)<oe){if(v<(N=oe-N)&&i.sane){l.msg="invalid distance too far back",i.mode=30;break e}if(M=o,(C=0)===x){if(C+=R-N,N<Z){for(Z-=N;K[T++]=o[C++],--N;);C=T-oe,M=K}}else if(x<N){if(C+=R+x-N,(N-=x)<Z){for(Z-=N;K[T++]=o[C++],--N;);if(C=0,x<Z){for(Z-=N=x;K[T++]=o[C++],--N;);C=T-oe,M=K}}}else if(C+=x-N,N<Z){for(Z-=N;K[T++]=o[C++],--N;);C=T-oe,M=K}for(;2<Z;)K[T++]=M[C++],K[T++]=M[C++],K[T++]=M[C++],Z-=3;Z&&(K[T++]=M[C++],1<Z&&(K[T++]=M[C++]))}else{for(C=T-oe;K[T++]=K[C++],K[T++]=K[C++],K[T++]=K[C++],2<(Z-=3););Z&&(K[T++]=K[C++],1<Z&&(K[T++]=K[C++]))}break}}break}}while(f<S&&T<k);f-=Z=m>>3,y&=(1<<(m-=Z<<3))-1,l.next_in=f,l.next_out=T,l.avail_in=f<S?S-f+5:5-(f-S),l.avail_out=T<k?k-T+257:257-(T-k),i.hold=y,i.bits=m}},{}],49:[function(t,s,c){var l=t("../utils/common"),p=t("./adler32"),i=t("./crc32"),f=t("./inffast"),S=t("./inftrees"),T=1,I=2,k=0,E=-2,R=1,v=852,x=592;function o(C){return(C>>>24&255)+(C>>>8&65280)+((65280&C)<<8)+((255&C)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(C){var M;return C&&C.state?(M=C.state,C.total_in=C.total_out=M.total=0,C.msg="",M.wrap&&(C.adler=1&M.wrap),M.mode=R,M.last=0,M.havedict=0,M.dmax=32768,M.head=null,M.hold=0,M.bits=0,M.lencode=M.lendyn=new l.Buf32(v),M.distcode=M.distdyn=new l.Buf32(x),M.sane=1,M.back=-1,k):E}function u(C){var M;return C&&C.state?((M=C.state).wsize=0,M.whave=0,M.wnext=0,m(C)):E}function A(C,M){var w,K;return C&&C.state?(K=C.state,M<0?(w=0,M=-M):(w=1+(M>>4),M<48&&(M&=15)),M&&(M<8||15<M)?E:(K.window!==null&&K.wbits!==M&&(K.window=null),K.wrap=w,K.wbits=M,u(C))):E}function P(C,M){var w,K;return C?(K=new y,(C.state=K).window=null,(w=A(C,M))!==k&&(C.state=null),w):E}var L,W,N=!0;function Z(C){if(N){var M;for(L=new l.Buf32(512),W=new l.Buf32(32),M=0;M<144;)C.lens[M++]=8;for(;M<256;)C.lens[M++]=9;for(;M<280;)C.lens[M++]=7;for(;M<288;)C.lens[M++]=8;for(S(T,C.lens,0,288,L,0,C.work,{bits:9}),M=0;M<32;)C.lens[M++]=5;S(I,C.lens,0,32,W,0,C.work,{bits:5}),N=!1}C.lencode=L,C.lenbits=9,C.distcode=W,C.distbits=5}function oe(C,M,w,K){var ee,z=C.state;return z.window===null&&(z.wsize=1<<z.wbits,z.wnext=0,z.whave=0,z.window=new l.Buf8(z.wsize)),K>=z.wsize?(l.arraySet(z.window,M,w-z.wsize,z.wsize,0),z.wnext=0,z.whave=z.wsize):(K<(ee=z.wsize-z.wnext)&&(ee=K),l.arraySet(z.window,M,w-K,ee,z.wnext),(K-=ee)?(l.arraySet(z.window,M,w-K,K,0),z.wnext=K,z.whave=z.wsize):(z.wnext+=ee,z.wnext===z.wsize&&(z.wnext=0),z.whave<z.wsize&&(z.whave+=ee))),0}c.inflateReset=u,c.inflateReset2=A,c.inflateResetKeep=m,c.inflateInit=function(C){return P(C,15)},c.inflateInit2=P,c.inflate=function(C,M){var w,K,ee,z,ne,Q,le,V,D,X,Y,te,G,b,g,H,U,O,F,J,h,$,_,r,a=0,d=new l.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!C||!C.state||!C.output||!C.input&&C.avail_in!==0)return E;(w=C.state).mode===12&&(w.mode=13),ne=C.next_out,ee=C.output,le=C.avail_out,z=C.next_in,K=C.input,Q=C.avail_in,V=w.hold,D=w.bits,X=Q,Y=le,$=k;e:for(;;)switch(w.mode){case R:if(w.wrap===0){w.mode=13;break}for(;D<16;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(2&w.wrap&&V===35615){d[w.check=0]=255&V,d[1]=V>>>8&255,w.check=i(w.check,d,2,0),D=V=0,w.mode=2;break}if(w.flags=0,w.head&&(w.head.done=!1),!(1&w.wrap)||(((255&V)<<8)+(V>>8))%31){C.msg="incorrect header check",w.mode=30;break}if((15&V)!=8){C.msg="unknown compression method",w.mode=30;break}if(D-=4,h=8+(15&(V>>>=4)),w.wbits===0)w.wbits=h;else if(h>w.wbits){C.msg="invalid window size",w.mode=30;break}w.dmax=1<<h,C.adler=w.check=1,w.mode=512&V?10:12,D=V=0;break;case 2:for(;D<16;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(w.flags=V,(255&w.flags)!=8){C.msg="unknown compression method",w.mode=30;break}if(57344&w.flags){C.msg="unknown header flags set",w.mode=30;break}w.head&&(w.head.text=V>>8&1),512&w.flags&&(d[0]=255&V,d[1]=V>>>8&255,w.check=i(w.check,d,2,0)),D=V=0,w.mode=3;case 3:for(;D<32;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.head&&(w.head.time=V),512&w.flags&&(d[0]=255&V,d[1]=V>>>8&255,d[2]=V>>>16&255,d[3]=V>>>24&255,w.check=i(w.check,d,4,0)),D=V=0,w.mode=4;case 4:for(;D<16;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.head&&(w.head.xflags=255&V,w.head.os=V>>8),512&w.flags&&(d[0]=255&V,d[1]=V>>>8&255,w.check=i(w.check,d,2,0)),D=V=0,w.mode=5;case 5:if(1024&w.flags){for(;D<16;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.length=V,w.head&&(w.head.extra_len=V),512&w.flags&&(d[0]=255&V,d[1]=V>>>8&255,w.check=i(w.check,d,2,0)),D=V=0}else w.head&&(w.head.extra=null);w.mode=6;case 6:if(1024&w.flags&&(Q<(te=w.length)&&(te=Q),te&&(w.head&&(h=w.head.extra_len-w.length,w.head.extra||(w.head.extra=new Array(w.head.extra_len)),l.arraySet(w.head.extra,K,z,te,h)),512&w.flags&&(w.check=i(w.check,K,te,z)),Q-=te,z+=te,w.length-=te),w.length))break e;w.length=0,w.mode=7;case 7:if(2048&w.flags){if(Q===0)break e;for(te=0;h=K[z+te++],w.head&&h&&w.length<65536&&(w.head.name+=String.fromCharCode(h)),h&&te<Q;);if(512&w.flags&&(w.check=i(w.check,K,te,z)),Q-=te,z+=te,h)break e}else w.head&&(w.head.name=null);w.length=0,w.mode=8;case 8:if(4096&w.flags){if(Q===0)break e;for(te=0;h=K[z+te++],w.head&&h&&w.length<65536&&(w.head.comment+=String.fromCharCode(h)),h&&te<Q;);if(512&w.flags&&(w.check=i(w.check,K,te,z)),Q-=te,z+=te,h)break e}else w.head&&(w.head.comment=null);w.mode=9;case 9:if(512&w.flags){for(;D<16;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(V!==(65535&w.check)){C.msg="header crc mismatch",w.mode=30;break}D=V=0}w.head&&(w.head.hcrc=w.flags>>9&1,w.head.done=!0),C.adler=w.check=0,w.mode=12;break;case 10:for(;D<32;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}C.adler=w.check=o(V),D=V=0,w.mode=11;case 11:if(w.havedict===0)return C.next_out=ne,C.avail_out=le,C.next_in=z,C.avail_in=Q,w.hold=V,w.bits=D,2;C.adler=w.check=1,w.mode=12;case 12:if(M===5||M===6)break e;case 13:if(w.last){V>>>=7&D,D-=7&D,w.mode=27;break}for(;D<3;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}switch(w.last=1&V,D-=1,3&(V>>>=1)){case 0:w.mode=14;break;case 1:if(Z(w),w.mode=20,M!==6)break;V>>>=2,D-=2;break e;case 2:w.mode=17;break;case 3:C.msg="invalid block type",w.mode=30}V>>>=2,D-=2;break;case 14:for(V>>>=7&D,D-=7&D;D<32;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if((65535&V)!=(V>>>16^65535)){C.msg="invalid stored block lengths",w.mode=30;break}if(w.length=65535&V,D=V=0,w.mode=15,M===6)break e;case 15:w.mode=16;case 16:if(te=w.length){if(Q<te&&(te=Q),le<te&&(te=le),te===0)break e;l.arraySet(ee,K,z,te,ne),Q-=te,z+=te,le-=te,ne+=te,w.length-=te;break}w.mode=12;break;case 17:for(;D<14;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(w.nlen=257+(31&V),V>>>=5,D-=5,w.ndist=1+(31&V),V>>>=5,D-=5,w.ncode=4+(15&V),V>>>=4,D-=4,286<w.nlen||30<w.ndist){C.msg="too many length or distance symbols",w.mode=30;break}w.have=0,w.mode=18;case 18:for(;w.have<w.ncode;){for(;D<3;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.lens[B[w.have++]]=7&V,V>>>=3,D-=3}for(;w.have<19;)w.lens[B[w.have++]]=0;if(w.lencode=w.lendyn,w.lenbits=7,_={bits:w.lenbits},$=S(0,w.lens,0,19,w.lencode,0,w.work,_),w.lenbits=_.bits,$){C.msg="invalid code lengths set",w.mode=30;break}w.have=0,w.mode=19;case 19:for(;w.have<w.nlen+w.ndist;){for(;H=(a=w.lencode[V&(1<<w.lenbits)-1])>>>16&255,U=65535&a,!((g=a>>>24)<=D);){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(U<16)V>>>=g,D-=g,w.lens[w.have++]=U;else{if(U===16){for(r=g+2;D<r;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(V>>>=g,D-=g,w.have===0){C.msg="invalid bit length repeat",w.mode=30;break}h=w.lens[w.have-1],te=3+(3&V),V>>>=2,D-=2}else if(U===17){for(r=g+3;D<r;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}D-=g,h=0,te=3+(7&(V>>>=g)),V>>>=3,D-=3}else{for(r=g+7;D<r;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}D-=g,h=0,te=11+(127&(V>>>=g)),V>>>=7,D-=7}if(w.have+te>w.nlen+w.ndist){C.msg="invalid bit length repeat",w.mode=30;break}for(;te--;)w.lens[w.have++]=h}}if(w.mode===30)break;if(w.lens[256]===0){C.msg="invalid code -- missing end-of-block",w.mode=30;break}if(w.lenbits=9,_={bits:w.lenbits},$=S(T,w.lens,0,w.nlen,w.lencode,0,w.work,_),w.lenbits=_.bits,$){C.msg="invalid literal/lengths set",w.mode=30;break}if(w.distbits=6,w.distcode=w.distdyn,_={bits:w.distbits},$=S(I,w.lens,w.nlen,w.ndist,w.distcode,0,w.work,_),w.distbits=_.bits,$){C.msg="invalid distances set",w.mode=30;break}if(w.mode=20,M===6)break e;case 20:w.mode=21;case 21:if(6<=Q&&258<=le){C.next_out=ne,C.avail_out=le,C.next_in=z,C.avail_in=Q,w.hold=V,w.bits=D,f(C,Y),ne=C.next_out,ee=C.output,le=C.avail_out,z=C.next_in,K=C.input,Q=C.avail_in,V=w.hold,D=w.bits,w.mode===12&&(w.back=-1);break}for(w.back=0;H=(a=w.lencode[V&(1<<w.lenbits)-1])>>>16&255,U=65535&a,!((g=a>>>24)<=D);){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(H&&(240&H)==0){for(O=g,F=H,J=U;H=(a=w.lencode[J+((V&(1<<O+F)-1)>>O)])>>>16&255,U=65535&a,!(O+(g=a>>>24)<=D);){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}V>>>=O,D-=O,w.back+=O}if(V>>>=g,D-=g,w.back+=g,w.length=U,H===0){w.mode=26;break}if(32&H){w.back=-1,w.mode=12;break}if(64&H){C.msg="invalid literal/length code",w.mode=30;break}w.extra=15&H,w.mode=22;case 22:if(w.extra){for(r=w.extra;D<r;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.length+=V&(1<<w.extra)-1,V>>>=w.extra,D-=w.extra,w.back+=w.extra}w.was=w.length,w.mode=23;case 23:for(;H=(a=w.distcode[V&(1<<w.distbits)-1])>>>16&255,U=65535&a,!((g=a>>>24)<=D);){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if((240&H)==0){for(O=g,F=H,J=U;H=(a=w.distcode[J+((V&(1<<O+F)-1)>>O)])>>>16&255,U=65535&a,!(O+(g=a>>>24)<=D);){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}V>>>=O,D-=O,w.back+=O}if(V>>>=g,D-=g,w.back+=g,64&H){C.msg="invalid distance code",w.mode=30;break}w.offset=U,w.extra=15&H,w.mode=24;case 24:if(w.extra){for(r=w.extra;D<r;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}w.offset+=V&(1<<w.extra)-1,V>>>=w.extra,D-=w.extra,w.back+=w.extra}if(w.offset>w.dmax){C.msg="invalid distance too far back",w.mode=30;break}w.mode=25;case 25:if(le===0)break e;if(te=Y-le,w.offset>te){if((te=w.offset-te)>w.whave&&w.sane){C.msg="invalid distance too far back",w.mode=30;break}G=te>w.wnext?(te-=w.wnext,w.wsize-te):w.wnext-te,te>w.length&&(te=w.length),b=w.window}else b=ee,G=ne-w.offset,te=w.length;for(le<te&&(te=le),le-=te,w.length-=te;ee[ne++]=b[G++],--te;);w.length===0&&(w.mode=21);break;case 26:if(le===0)break e;ee[ne++]=w.length,le--,w.mode=21;break;case 27:if(w.wrap){for(;D<32;){if(Q===0)break e;Q--,V|=K[z++]<<D,D+=8}if(Y-=le,C.total_out+=Y,w.total+=Y,Y&&(C.adler=w.check=w.flags?i(w.check,ee,Y,ne-Y):p(w.check,ee,Y,ne-Y)),Y=le,(w.flags?V:o(V))!==w.check){C.msg="incorrect data check",w.mode=30;break}D=V=0}w.mode=28;case 28:if(w.wrap&&w.flags){for(;D<32;){if(Q===0)break e;Q--,V+=K[z++]<<D,D+=8}if(V!==(4294967295&w.total)){C.msg="incorrect length check",w.mode=30;break}D=V=0}w.mode=29;case 29:$=1;break e;case 30:$=-3;break e;case 31:return-4;case 32:default:return E}return C.next_out=ne,C.avail_out=le,C.next_in=z,C.avail_in=Q,w.hold=V,w.bits=D,(w.wsize||Y!==C.avail_out&&w.mode<30&&(w.mode<27||M!==4))&&oe(C,C.output,C.next_out,Y-C.avail_out)?(w.mode=31,-4):(X-=C.avail_in,Y-=C.avail_out,C.total_in+=X,C.total_out+=Y,w.total+=Y,w.wrap&&Y&&(C.adler=w.check=w.flags?i(w.check,ee,Y,C.next_out-Y):p(w.check,ee,Y,C.next_out-Y)),C.data_type=w.bits+(w.last?64:0)+(w.mode===12?128:0)+(w.mode===20||w.mode===15?256:0),(X==0&&Y===0||M===4)&&$===k&&($=-5),$)},c.inflateEnd=function(C){if(!C||!C.state)return E;var M=C.state;return M.window&&(M.window=null),C.state=null,k},c.inflateGetHeader=function(C,M){var w;return C&&C.state?(2&(w=C.state).wrap)==0?E:((w.head=M).done=!1,k):E},c.inflateSetDictionary=function(C,M){var w,K=M.length;return C&&C.state?(w=C.state).wrap!==0&&w.mode!==11?E:w.mode===11&&p(1,M,K,0)!==w.check?-3:oe(C,M,K,K)?(w.mode=31,-4):(w.havedict=1,k):E},c.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,s,c){var l=t("../utils/common"),p=[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,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[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,0,0],S=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];s.exports=function(T,I,k,E,R,v,x,o){var y,m,u,A,P,L,W,N,Z,oe=o.bits,C=0,M=0,w=0,K=0,ee=0,z=0,ne=0,Q=0,le=0,V=0,D=null,X=0,Y=new l.Buf16(16),te=new l.Buf16(16),G=null,b=0;for(C=0;C<=15;C++)Y[C]=0;for(M=0;M<E;M++)Y[I[k+M]]++;for(ee=oe,K=15;1<=K&&Y[K]===0;K--);if(K<ee&&(ee=K),K===0)return R[v++]=20971520,R[v++]=20971520,o.bits=1,0;for(w=1;w<K&&Y[w]===0;w++);for(ee<w&&(ee=w),C=Q=1;C<=15;C++)if(Q<<=1,(Q-=Y[C])<0)return-1;if(0<Q&&(T===0||K!==1))return-1;for(te[1]=0,C=1;C<15;C++)te[C+1]=te[C]+Y[C];for(M=0;M<E;M++)I[k+M]!==0&&(x[te[I[k+M]]++]=M);if(L=T===0?(D=G=x,19):T===1?(D=p,X-=257,G=i,b-=257,256):(D=f,G=S,-1),C=w,P=v,ne=M=V=0,u=-1,A=(le=1<<(z=ee))-1,T===1&&852<le||T===2&&592<le)return 1;for(;;){for(W=C-ne,Z=x[M]<L?(N=0,x[M]):x[M]>L?(N=G[b+x[M]],D[X+x[M]]):(N=96,0),y=1<<C-ne,w=m=1<<z;R[P+(V>>ne)+(m-=y)]=W<<24|N<<16|Z|0,m!==0;);for(y=1<<C-1;V&y;)y>>=1;if(y!==0?(V&=y-1,V+=y):V=0,M++,--Y[C]==0){if(C===K)break;C=I[k+x[M]]}if(ee<C&&(V&A)!==u){for(ne===0&&(ne=ee),P+=w,Q=1<<(z=C-ne);z+ne<K&&!((Q-=Y[z+ne])<=0);)z++,Q<<=1;if(le+=1<<z,T===1&&852<le||T===2&&592<le)return 1;R[u=V&A]=ee<<24|z<<16|P-v|0}}return V!==0&&(R[P+V]=C-ne<<24|64<<16|0),o.bits=ee,0}},{"../utils/common":41}],51:[function(t,s,c){s.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,s,c){var l=t("../utils/common"),p=0,i=1;function f(a){for(var d=a.length;0<=--d;)a[d]=0}var S=0,T=29,I=256,k=I+1+T,E=30,R=19,v=2*k+1,x=15,o=16,y=7,m=256,u=16,A=17,P=18,L=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],W=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],oe=new Array(2*(k+2));f(oe);var C=new Array(2*E);f(C);var M=new Array(512);f(M);var w=new Array(256);f(w);var K=new Array(T);f(K);var ee,z,ne,Q=new Array(E);function le(a,d,B,q,j){this.static_tree=a,this.extra_bits=d,this.extra_base=B,this.elems=q,this.max_length=j,this.has_stree=a&&a.length}function V(a,d){this.dyn_tree=a,this.max_code=0,this.stat_desc=d}function D(a){return a<256?M[a]:M[256+(a>>>7)]}function X(a,d){a.pending_buf[a.pending++]=255&d,a.pending_buf[a.pending++]=d>>>8&255}function Y(a,d,B){a.bi_valid>o-B?(a.bi_buf|=d<<a.bi_valid&65535,X(a,a.bi_buf),a.bi_buf=d>>o-a.bi_valid,a.bi_valid+=B-o):(a.bi_buf|=d<<a.bi_valid&65535,a.bi_valid+=B)}function te(a,d,B){Y(a,B[2*d],B[2*d+1])}function G(a,d){for(var B=0;B|=1&a,a>>>=1,B<<=1,0<--d;);return B>>>1}function b(a,d,B){var q,j,re=new Array(x+1),ae=0;for(q=1;q<=x;q++)re[q]=ae=ae+B[q-1]<<1;for(j=0;j<=d;j++){var ie=a[2*j+1];ie!==0&&(a[2*j]=G(re[ie]++,ie))}}function g(a){var d;for(d=0;d<k;d++)a.dyn_ltree[2*d]=0;for(d=0;d<E;d++)a.dyn_dtree[2*d]=0;for(d=0;d<R;d++)a.bl_tree[2*d]=0;a.dyn_ltree[2*m]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function H(a){8<a.bi_valid?X(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function U(a,d,B,q){var j=2*d,re=2*B;return a[j]<a[re]||a[j]===a[re]&&q[d]<=q[B]}function O(a,d,B){for(var q=a.heap[B],j=B<<1;j<=a.heap_len&&(j<a.heap_len&&U(d,a.heap[j+1],a.heap[j],a.depth)&&j++,!U(d,q,a.heap[j],a.depth));)a.heap[B]=a.heap[j],B=j,j<<=1;a.heap[B]=q}function F(a,d,B){var q,j,re,ae,ie=0;if(a.last_lit!==0)for(;q=a.pending_buf[a.d_buf+2*ie]<<8|a.pending_buf[a.d_buf+2*ie+1],j=a.pending_buf[a.l_buf+ie],ie++,q===0?te(a,j,d):(te(a,(re=w[j])+I+1,d),(ae=L[re])!==0&&Y(a,j-=K[re],ae),te(a,re=D(--q),B),(ae=W[re])!==0&&Y(a,q-=Q[re],ae)),ie<a.last_lit;);te(a,m,d)}function J(a,d){var B,q,j,re=d.dyn_tree,ae=d.stat_desc.static_tree,ie=d.stat_desc.has_stree,fe=d.stat_desc.elems,he=-1;for(a.heap_len=0,a.heap_max=v,B=0;B<fe;B++)re[2*B]!==0?(a.heap[++a.heap_len]=he=B,a.depth[B]=0):re[2*B+1]=0;for(;a.heap_len<2;)re[2*(j=a.heap[++a.heap_len]=he<2?++he:0)]=1,a.depth[j]=0,a.opt_len--,ie&&(a.static_len-=ae[2*j+1]);for(d.max_code=he,B=a.heap_len>>1;1<=B;B--)O(a,re,B);for(j=fe;B=a.heap[1],a.heap[1]=a.heap[a.heap_len--],O(a,re,1),q=a.heap[1],a.heap[--a.heap_max]=B,a.heap[--a.heap_max]=q,re[2*j]=re[2*B]+re[2*q],a.depth[j]=(a.depth[B]>=a.depth[q]?a.depth[B]:a.depth[q])+1,re[2*B+1]=re[2*q+1]=j,a.heap[1]=j++,O(a,re,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],(function(de,xe){var We,Ne,ht,be,It,Zt,Le=xe.dyn_tree,li=xe.max_code,io=xe.stat_desc.static_tree,ao=xe.stat_desc.has_stree,so=xe.stat_desc.extra_bits,ci=xe.stat_desc.extra_base,dt=xe.stat_desc.max_length,kt=0;for(be=0;be<=x;be++)de.bl_count[be]=0;for(Le[2*de.heap[de.heap_max]+1]=0,We=de.heap_max+1;We<v;We++)dt<(be=Le[2*Le[2*(Ne=de.heap[We])+1]+1]+1)&&(be=dt,kt++),Le[2*Ne+1]=be,li<Ne||(de.bl_count[be]++,It=0,ci<=Ne&&(It=so[Ne-ci]),Zt=Le[2*Ne],de.opt_len+=Zt*(be+It),ao&&(de.static_len+=Zt*(io[2*Ne+1]+It)));if(kt!==0){do{for(be=dt-1;de.bl_count[be]===0;)be--;de.bl_count[be]--,de.bl_count[be+1]+=2,de.bl_count[dt]--,kt-=2}while(0<kt);for(be=dt;be!==0;be--)for(Ne=de.bl_count[be];Ne!==0;)li<(ht=de.heap[--We])||(Le[2*ht+1]!==be&&(de.opt_len+=(be-Le[2*ht+1])*Le[2*ht],Le[2*ht+1]=be),Ne--)}})(a,d),b(re,he,a.bl_count)}function h(a,d,B){var q,j,re=-1,ae=d[1],ie=0,fe=7,he=4;for(ae===0&&(fe=138,he=3),d[2*(B+1)+1]=65535,q=0;q<=B;q++)j=ae,ae=d[2*(q+1)+1],++ie<fe&&j===ae||(ie<he?a.bl_tree[2*j]+=ie:j!==0?(j!==re&&a.bl_tree[2*j]++,a.bl_tree[2*u]++):ie<=10?a.bl_tree[2*A]++:a.bl_tree[2*P]++,re=j,he=(ie=0)===ae?(fe=138,3):j===ae?(fe=6,3):(fe=7,4))}function $(a,d,B){var q,j,re=-1,ae=d[1],ie=0,fe=7,he=4;for(ae===0&&(fe=138,he=3),q=0;q<=B;q++)if(j=ae,ae=d[2*(q+1)+1],!(++ie<fe&&j===ae)){if(ie<he)for(;te(a,j,a.bl_tree),--ie!=0;);else j!==0?(j!==re&&(te(a,j,a.bl_tree),ie--),te(a,u,a.bl_tree),Y(a,ie-3,2)):ie<=10?(te(a,A,a.bl_tree),Y(a,ie-3,3)):(te(a,P,a.bl_tree),Y(a,ie-11,7));re=j,he=(ie=0)===ae?(fe=138,3):j===ae?(fe=6,3):(fe=7,4)}}f(Q);var _=!1;function r(a,d,B,q){Y(a,(S<<1)+(q?1:0),3),(function(j,re,ae,ie){H(j),X(j,ae),X(j,~ae),l.arraySet(j.pending_buf,j.window,re,ae,j.pending),j.pending+=ae})(a,d,B)}c._tr_init=function(a){_||((function(){var d,B,q,j,re,ae=new Array(x+1);for(j=q=0;j<T-1;j++)for(K[j]=q,d=0;d<1<<L[j];d++)w[q++]=j;for(w[q-1]=j,j=re=0;j<16;j++)for(Q[j]=re,d=0;d<1<<W[j];d++)M[re++]=j;for(re>>=7;j<E;j++)for(Q[j]=re<<7,d=0;d<1<<W[j]-7;d++)M[256+re++]=j;for(B=0;B<=x;B++)ae[B]=0;for(d=0;d<=143;)oe[2*d+1]=8,d++,ae[8]++;for(;d<=255;)oe[2*d+1]=9,d++,ae[9]++;for(;d<=279;)oe[2*d+1]=7,d++,ae[7]++;for(;d<=287;)oe[2*d+1]=8,d++,ae[8]++;for(b(oe,k+1,ae),d=0;d<E;d++)C[2*d+1]=5,C[2*d]=G(d,5);ee=new le(oe,L,I+1,k,x),z=new le(C,W,0,E,x),ne=new le(new Array(0),N,0,R,y)})(),_=!0),a.l_desc=new V(a.dyn_ltree,ee),a.d_desc=new V(a.dyn_dtree,z),a.bl_desc=new V(a.bl_tree,ne),a.bi_buf=0,a.bi_valid=0,g(a)},c._tr_stored_block=r,c._tr_flush_block=function(a,d,B,q){var j,re,ae=0;0<a.level?(a.strm.data_type===2&&(a.strm.data_type=(function(ie){var fe,he=4093624447;for(fe=0;fe<=31;fe++,he>>>=1)if(1&he&&ie.dyn_ltree[2*fe]!==0)return p;if(ie.dyn_ltree[18]!==0||ie.dyn_ltree[20]!==0||ie.dyn_ltree[26]!==0)return i;for(fe=32;fe<I;fe++)if(ie.dyn_ltree[2*fe]!==0)return i;return p})(a)),J(a,a.l_desc),J(a,a.d_desc),ae=(function(ie){var fe;for(h(ie,ie.dyn_ltree,ie.l_desc.max_code),h(ie,ie.dyn_dtree,ie.d_desc.max_code),J(ie,ie.bl_desc),fe=R-1;3<=fe&&ie.bl_tree[2*Z[fe]+1]===0;fe--);return ie.opt_len+=3*(fe+1)+5+5+4,fe})(a),j=a.opt_len+3+7>>>3,(re=a.static_len+3+7>>>3)<=j&&(j=re)):j=re=B+5,B+4<=j&&d!==-1?r(a,d,B,q):a.strategy===4||re===j?(Y(a,2+(q?1:0),3),F(a,oe,C)):(Y(a,4+(q?1:0),3),(function(ie,fe,he,de){var xe;for(Y(ie,fe-257,5),Y(ie,he-1,5),Y(ie,de-4,4),xe=0;xe<de;xe++)Y(ie,ie.bl_tree[2*Z[xe]+1],3);$(ie,ie.dyn_ltree,fe-1),$(ie,ie.dyn_dtree,he-1)})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,ae+1),F(a,a.dyn_ltree,a.dyn_dtree)),g(a),q&&H(a)},c._tr_tally=function(a,d,B){return a.pending_buf[a.d_buf+2*a.last_lit]=d>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&d,a.pending_buf[a.l_buf+a.last_lit]=255&B,a.last_lit++,d===0?a.dyn_ltree[2*B]++:(a.matches++,d--,a.dyn_ltree[2*(w[B]+I+1)]++,a.dyn_dtree[2*D(d)]++),a.last_lit===a.lit_bufsize-1},c._tr_align=function(a){Y(a,2,3),te(a,m,oe),(function(d){d.bi_valid===16?(X(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):8<=d.bi_valid&&(d.pending_buf[d.pending++]=255&d.bi_buf,d.bi_buf>>=8,d.bi_valid-=8)})(a)}},{"../utils/common":41}],53:[function(t,s,c){s.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,s,c){(function(l){(function(p,i){if(!p.setImmediate){var f,S,T,I,k=1,E={},R=!1,v=p.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(p);x=x&&x.setTimeout?x:p,f={}.toString.call(p.process)==="[object process]"?function(u){pe.nextTick(function(){y(u)})}:(function(){if(p.postMessage&&!p.importScripts){var u=!0,A=p.onmessage;return p.onmessage=function(){u=!1},p.postMessage("","*"),p.onmessage=A,u}})()?(I="setImmediate$"+Math.random()+"$",p.addEventListener?p.addEventListener("message",m,!1):p.attachEvent("onmessage",m),function(u){p.postMessage(I+u,"*")}):p.MessageChannel?((T=new MessageChannel).port1.onmessage=function(u){y(u.data)},function(u){T.port2.postMessage(u)}):v&&"onreadystatechange"in v.createElement("script")?(S=v.documentElement,function(u){var A=v.createElement("script");A.onreadystatechange=function(){y(u),A.onreadystatechange=null,S.removeChild(A),A=null},S.appendChild(A)}):function(u){setTimeout(y,0,u)},x.setImmediate=function(u){typeof u!="function"&&(u=new Function(""+u));for(var A=new Array(arguments.length-1),P=0;P<A.length;P++)A[P]=arguments[P+1];var L={callback:u,args:A};return E[k]=L,f(k),k++},x.clearImmediate=o}function o(u){delete E[u]}function y(u){if(R)setTimeout(y,0,u);else{var A=E[u];if(A){R=!0;try{(function(P){var L=P.callback,W=P.args;switch(W.length){case 0:L();break;case 1:L(W[0]);break;case 2:L(W[0],W[1]);break;case 3:L(W[0],W[1],W[2]);break;default:L.apply(i,W)}})(A)}finally{o(u),R=!1}}}}function m(u){u.source===p&&typeof u.data=="string"&&u.data.indexOf(I)===0&&y(+u.data.slice(I.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof Re<"u"?Re:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Wn)),Wn.exports}var Af=Ef();const xf=gs(Af);var wt={exports:{}},Hn,ds;function Sf(){if(ds)return Hn;ds=1;var n={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};function e(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(s,c){return n[c]}):t}return Hn=e,Hn}var ps;function Tf(){if(ps)return wt.exports;ps=1;var n=Sf(),e=ti().Stream,t=" ";function s(S,T){typeof T!="object"&&(T={indent:T});var I=T.stream?new e:null,k="",E=!1,R=T.indent?T.indent===!0?t:T.indent:"",v=!0;function x(A){v?pe.nextTick(A):A()}function o(A,P){if(P!==void 0&&(k+=P),A&&!E&&(I=I||new e,E=!0),A&&E){var L=k;x(function(){I.emit("data",L)}),k=""}}function y(A,P){i(o,p(A,R,R?1:0),P)}function m(){if(I){var A=k;x(function(){I.emit("data",A),I.emit("end"),I.readable=!1,I.emit("close")})}}function u(A){var P=A.encoding||"UTF-8",L={version:"1.0",encoding:P};A.standalone&&(L.standalone=A.standalone),y({"?xml":{_attr:L}}),k=k.replace("/>","?>")}return x(function(){v=!1}),T.declaration&&u(T.declaration),S&&S.forEach?S.forEach(function(A,P){var L;P+1===S.length&&(L=m),y(A,L)}):y(S,m),I?(I.readable=!0,I):k}function c(){var S=Array.prototype.slice.call(arguments),T={_elem:p(S)};return T.push=function(I){if(!this.append)throw new Error("not assigned to a parent!");var k=this,E=this._elem.indent;i(this.append,p(I,E,this._elem.icount+(E?1:0)),function(){k.append(!0)})},T.close=function(I){I!==void 0&&this.push(I),this.end&&this.end()},T}function l(S,T){return new Array(T||0).join(S||"")}function p(S,T,I){I=I||0;var k=l(T,I),E,R=S,v=!1;if(typeof S=="object"){var x=Object.keys(S);if(E=x[0],R=S[E],R&&R._elem)return R._elem.name=E,R._elem.icount=I,R._elem.indent=T,R._elem.indents=k,R._elem.interrupt=R,R._elem}var o=[],y=[],m;function u(A){var P=Object.keys(A);P.forEach(function(L){o.push(f(L,A[L]))})}switch(typeof R){case"object":if(R===null)break;R._attr&&u(R._attr),R._cdata&&y.push(("<![CDATA["+R._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),R.forEach&&(m=!1,y.push(""),R.forEach(function(A){if(typeof A=="object"){var P=Object.keys(A)[0];P=="_attr"?u(A._attr):y.push(p(A,T,I+1))}else y.pop(),m=!0,y.push(n(A))}),m||y.push(""));break;default:y.push(n(R))}return{name:E,interrupt:v,attributes:o,content:y,icount:I,indents:k,indent:T}}function i(S,T,I){if(typeof T!="object")return S(!1,T);var k=T.interrupt?1:T.content.length;function E(){for(;T.content.length;){var v=T.content.shift();if(v!==void 0){if(R(v))return;i(S,v)}}S(!1,(k>1?T.indents:"")+(T.name?"</"+T.name+">":"")+(T.indent&&!I?`
22
+ `:"")),I&&I()}function R(v){return v.interrupt?(v.interrupt.append=S,v.interrupt.end=E,v.interrupt=!1,S(!0),!0):!1}if(S(!1,T.indents+(T.name?"<"+T.name:"")+(T.attributes.length?" "+T.attributes.join(" "):"")+(k?T.name?">":"":T.name?"/>":"")+(T.indent&&k>1?`
23
+ `:"")),!k)return S(!1,T.indent?`
24
+ `:"");R(T)||E()}function f(S,T){return S+'="'+n(T)+'"'}return wt.exports=s,wt.exports.element=wt.exports.Element=c,wt.exports}var Rf=Tf();const ve=gs(Rf),yt=0,zn=32,If=32,kf=(n,e)=>{const t=e.replace(/-/g,"");if(t.length!==If)throw new Error(`Error: Cannot extract GUID from font filename: ${e}`);const c=t.replace(/(..)/g,"$1 ").trim().split(" ").map(f=>parseInt(f,16));c.reverse();const p=n.slice(yt,zn).map((f,S)=>f^c[S%c.length]),i=new Uint8Array(yt+p.length+Math.max(0,n.length-zn));return i.set(n.slice(0,yt)),i.set(p,yt),i.set(n.slice(zn),yt+p.length),i};class Nf{format(e,t={stack:[]}){const s=e.prepForXml(t);if(s)return s;throw Error("XMLComponent did not format correctly")}}class Cf{replace(e,t,s){let c=e;return t.forEach((l,p)=>{c=c.replace(new RegExp(`{${l.fileName}}`,"g"),(s+p).toString())}),c}getMediaData(e,t){return t.Array.filter(s=>e.search(`{${s.fileName}}`)>0)}}class Of{replace(e,t){let s=e;for(const c of t)s=s.replace(new RegExp(`{${c.reference}-${c.instance}}`,"g"),c.numId.toString());return s}}class Df{constructor(){se(this,"formatter"),se(this,"imageReplacer"),se(this,"numberingReplacer"),this.formatter=new Nf,this.imageReplacer=new Cf,this.numberingReplacer=new Of}compile(e,t,s=[]){const c=new xf,l=this.xmlifyFile(e,t),p=new Map(Object.entries(l));for(const[,i]of p)if(Array.isArray(i))for(const f of i)c.file(f.path,Dn(f.data));else c.file(i.path,Dn(i.data));for(const i of s)c.file(i.path,Dn(i.data));for(const i of e.Media.Array)i.type!=="svg"?c.file(`word/media/${i.fileName}`,i.data):(c.file(`word/media/${i.fileName}`,i.data),c.file(`word/media/${i.fallback.fileName}`,i.fallback.data));for(const{data:i,name:f,fontKey:S}of e.FontTable.fontOptionsWithKey){const[T]=f.split(".");c.file(`word/fonts/${T}.odttf`,kf(i,S))}return c}xmlifyFile(e,t){const s=e.Document.Relationships.RelationshipCount+1,c=ve(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),l=e.Comments.Relationships.RelationshipCount+1,p=ve(this.formatter.format(e.Comments,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),i=e.FootNotes.Relationships.RelationshipCount+1,f=ve(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),S=this.imageReplacer.getMediaData(c,e.Media),T=this.imageReplacer.getMediaData(p,e.Media),I=this.imageReplacer.getMediaData(f,e.Media);return{Relationships:{data:(S.forEach((k,E)=>{e.Document.Relationships.addRelationship(s+E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${k.fileName}`)}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),ve(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const k=this.imageReplacer.replace(c,S,s);return this.numberingReplacer.replace(k,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const k=ve(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(k,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:ve(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:ve(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:ve(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((k,E)=>{const R=ve(this.formatter.format(k.View,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(R,e.Media).forEach((x,o)=>{k.Relationships.addRelationship(o,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${x.fileName}`)}),{data:ve(this.formatter.format(k.Relationships,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${E+1}.xml.rels`}}),FooterRelationships:e.Footers.map((k,E)=>{const R=ve(this.formatter.format(k.View,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(R,e.Media).forEach((x,o)=>{k.Relationships.addRelationship(o,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${x.fileName}`)}),{data:ve(this.formatter.format(k.Relationships,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${E+1}.xml.rels`}}),Headers:e.Headers.map((k,E)=>{const R=ve(this.formatter.format(k.View,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),v=this.imageReplacer.getMediaData(R,e.Media),x=this.imageReplacer.replace(R,v,0);return{data:this.numberingReplacer.replace(x,e.Numbering.ConcreteNumbering),path:`word/header${E+1}.xml`}}),Footers:e.Footers.map((k,E)=>{const R=ve(this.formatter.format(k.View,{viewWrapper:k,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),v=this.imageReplacer.getMediaData(R,e.Media),x=this.imageReplacer.replace(R,v,0);return{data:this.numberingReplacer.replace(x,e.Numbering.ConcreteNumbering),path:`word/footer${E+1}.xml`}}),ContentTypes:{data:ve(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:ve(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:ve(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:(()=>{const k=this.imageReplacer.replace(f,I,i);return this.numberingReplacer.replace(k,e.Numbering.ConcreteNumbering)})(),path:"word/footnotes.xml"},FootNotesRelationships:{data:(I.forEach((k,E)=>{e.FootNotes.Relationships.addRelationship(i+E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${k.fileName}`)}),ve(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/footnotes.xml.rels"},Endnotes:{data:ve(this.formatter.format(e.Endnotes.View,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/endnotes.xml"},EndnotesRelationships:{data:ve(this.formatter.format(e.Endnotes.Relationships,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/endnotes.xml.rels"},Settings:{data:ve(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:(()=>{const k=this.imageReplacer.replace(p,T,l);return this.numberingReplacer.replace(k,e.Numbering.ConcreteNumbering)})(),path:"word/comments.xml"},CommentsRelationships:{data:(T.forEach((k,E)=>{e.Comments.Relationships.addRelationship(l+E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${k.fileName}`)}),ve(this.formatter.format(e.Comments.Relationships,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/comments.xml.rels"},FontTable:{data:ve(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:ve(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/fontTable.xml.rels"}}}}const Ff={WITH_2_BLANKS:" "},ms=n=>n===!0?Ff.WITH_2_BLANKS:n===!1?void 0:n,no=class tt{static pack(e,t,s){return ho(this,arguments,function*(c,l,p,i=[]){return this.compiler.compile(c,ms(p),i).generateAsync({type:l,mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toString(e,t,s=[]){return tt.pack(e,"string",t,s)}static toBuffer(e,t,s=[]){return tt.pack(e,"nodebuffer",t,s)}static toBase64String(e,t,s=[]){return tt.pack(e,"base64",t,s)}static toBlob(e,t,s=[]){return tt.pack(e,"blob",t,s)}static toArrayBuffer(e,t,s=[]){return tt.pack(e,"arraybuffer",t,s)}static toStream(e,t,s=[]){const c=new _f.Stream;return this.compiler.compile(e,ms(t),s).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(p=>{c.emit("data",p),c.emit("end")}),c}};se(no,"compiler",new Df);let jf=no;export{cs as AbstractNumbering,Oe as AlignmentType,Ae as Attributes,Ht as BaseXmlComponent,ac as Body,xl as Bookmark,Tl as BookmarkEnd,Sl as BookmarkStart,_u as Border,ai as BorderStyle,ge as BuilderElement,ll as Comment,cl as Comments,bl as ConcreteHyperlink,fs as ConcreteNumbering,Mf as Document,is as DocumentAttributeNamespaces,Xt as DocumentAttributes,oc as DocumentBackground,sc as DocumentBackgroundAttributes,vf as DocumentDefaults,po as EMPTY_OBJECT,Cu as EmphasisMarkType,vu as EmptyElement,fl as EndnoteReference,mc as Endnotes,_l as ExternalHyperlink,Mf as File,yl as FileChild,xc as FootNotes,vc as FooterWrapper,it as HeaderFooterReferenceType,ss as HeaderFooterType,Ic as HeaderWrapper,Lf as HeadingLevel,_n as HpsMeasureElement,zt as IgnoreIfEmptyXmlComponent,pu as ImportedRootElementAttributes,du as ImportedXmlComponent,Ws as InitializableXmlComponent,Bc as Level,Lc as LevelBase,Ue as LevelFormat,zc as LevelOverride,lt as LineRuleType,kc as Media,mo as NextAttributeComponent,Pf as NumberFormat,Fn as NumberProperties,vt as NumberValueElement,Kc as Numbering,ue as OnOffElement,jf as Packer,$l as PageBorders,hl as PageBreakBefore,Bt as PageNumber,Xn as PageOrientation,rc as PageTextDirection,bt as Paragraph,$e as ParagraphProperties,Dl as ParagraphPropertiesChange,wf as ParagraphPropertiesDefaults,Wu as ParagraphRunProperties,Ff as PrettifyType,xt as Run,Je as RunProperties,Hu as RunPropertiesChange,yf as RunPropertiesDefaults,Js as SectionProperties,ic as SectionPropertiesChange,ot as SpaceType,Ke as StringContainer,nt as StringValueElement,ft as StyleForCharacter,Rt as StyleForParagraph,Mn as Styles,ns as TabStopType,Ll as TableBorders,za as TextRun,Eu as ThematicBreak,Vs as UnderlineType,Fl as VerticalAlignTable,we as XmlAttributeComponent,ce as XmlComponent,Qu as abstractNumUniqueNumericIdGen,tl as bookmarkUniqueNumericIdGen,el as concreteNumUniqueNumericIdGen,Ie as convertInchesToTwip,ii as convertToXmlComponent,bu as createAlignment,Ee as createBorderElement,Xl as createColumns,Zl as createDocumentGrid,Ou as createEmphasisMark,Ol as createFrameProperties,Pn as createHeaderFooterReference,Au as createIndent,Yl as createLineNumberType,Rl as createOutlineLevel,Jl as createPageMargin,Ql as createPageNumberType,ec as createPageSize,Ut as createParagraphStyle,En as createRunFonts,nc as createSectionType,Gs as createShading,dl as createSpacing,mt as createStringElement,ml as createTabStop,pl as createTabStopItem,ju as createUnderline,Pl as createVerticalAlign,yu as dateTimeValue,Se as decimalNumber,gu as eighthPointMeasureValue,Dn as encodeUtf8,st as hexColorValue,mu as hpsMeasureValue,wu as pointMeasureValue,qs as positiveUniversalMeasureValue,Xe as sectionMarginDefaults,Ln as sectionPageSizeDefaults,Ye as signedTwipsMeasureValue,ke as twipsMeasureValue,Wa as uCharHexNumber,rl as uniqueId,ui as uniqueNumericIdCreator,nl as uniqueUuid,zs as universalMeasureValue,Vt as unsignedDecimalNumber};