@editora/plugins 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodePlugin.native-Cqi46sxh.js → CodePlugin.native-Bwf25lLX.js} +6 -6
- package/dist/{CodePlugin.native-CmnEFfJi.mjs → CodePlugin.native-Cpp4u3Jl.mjs} +23 -21
- package/dist/a11y-checker.cjs.js +16 -16
- package/dist/a11y-checker.esm.js +79 -75
- package/dist/anchor.cjs.js +9 -9
- package/dist/anchor.esm.js +61 -60
- package/dist/anchoredPopover-Bg-ey7Yo.js +1 -0
- package/dist/anchoredPopover-D_JbjvdA.mjs +111 -0
- package/dist/approval-workflow.cjs.js +5 -5
- package/dist/approval-workflow.esm.js +105 -104
- package/dist/background-color.cjs.js +1 -1
- package/dist/background-color.esm.js +1 -1
- package/dist/blocks-library.cjs.js +6 -6
- package/dist/blocks-library.esm.js +226 -202
- package/dist/capitalization.cjs.js +1 -1
- package/dist/capitalization.esm.js +9 -4
- package/dist/checklist.cjs.js +1 -1
- package/dist/checklist.esm.js +154 -116
- package/dist/citations.cjs.js +43 -18
- package/dist/citations.esm.js +465 -446
- package/dist/clear-formatting.cjs.js +1 -1
- package/dist/clear-formatting.esm.js +21 -20
- package/dist/code-sample.cjs.js +85 -66
- package/dist/code-sample.esm.js +301 -190
- package/dist/code.cjs.js +1 -1
- package/dist/code.esm.js +1 -1
- package/dist/collaboration.cjs.js +68 -0
- package/dist/collaboration.esm.js +7428 -0
- package/dist/comments.cjs.js +11 -11
- package/dist/comments.esm.js +284 -237
- package/dist/conditional-content.cjs.js +67 -60
- package/dist/conditional-content.esm.js +270 -220
- package/dist/data-binding.cjs.js +3 -3
- package/dist/data-binding.esm.js +28 -27
- package/dist/dialogHelpers-5d5BuOCW.mjs +39 -0
- package/dist/dialogHelpers-zU6zpMIA.js +12 -0
- package/dist/document-manager.cjs.js +1 -1
- package/dist/document-manager.esm.js +1 -1
- package/dist/{documentManager-3nPkITwx.js → documentManager-BDz6tovy.js} +1 -1
- package/dist/{documentManager-CRumGpCT.mjs → documentManager-yjRBab4v.mjs} +1 -1
- package/dist/embed-iframe.cjs.js +37 -17
- package/dist/embed-iframe.esm.js +188 -143
- package/dist/emojis.cjs.js +13 -10
- package/dist/emojis.esm.js +288 -76
- package/dist/enterprise.cjs.js +1 -1
- package/dist/enterprise.esm.js +9 -7
- package/dist/escapeHtml-D2Zh82pD.js +1 -0
- package/dist/escapeHtml-DyksyvcZ.mjs +6 -0
- package/dist/font-family.cjs.js +1 -1
- package/dist/font-family.esm.js +48 -41
- package/dist/font-size.cjs.js +1 -1
- package/dist/font-size.esm.js +67 -60
- package/dist/format-painter.cjs.js +1 -1
- package/dist/format-painter.esm.js +2 -1
- package/dist/history.cjs.js +1 -1
- package/dist/history.esm.js +40 -36
- package/dist/historyHelpers-BEKwNOtA.mjs +14 -0
- package/dist/historyHelpers-Cu8Pk7m1.js +1 -0
- package/dist/index-Bm1eqYHh.mjs +194 -0
- package/dist/index-CoflqYuK.js +30 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +17 -15
- package/dist/link.cjs.js +17 -13
- package/dist/link.esm.js +138 -69
- package/dist/list.cjs.js +1 -1
- package/dist/list.esm.js +66 -33
- package/dist/math.cjs.js +22 -22
- package/dist/math.esm.js +221 -126
- package/dist/media-manager.cjs.js +12 -12
- package/dist/media-manager.esm.js +55 -50
- package/dist/mentions.cjs.js +2 -2
- package/dist/mentions.esm.js +17 -12
- package/dist/merge-tag.cjs.js +2 -2
- package/dist/merge-tag.esm.js +43 -42
- package/dist/plugins.css +1 -1
- package/dist/preview.cjs.js +3 -3
- package/dist/preview.esm.js +30 -27
- package/dist/slash-commands.cjs.js +13 -7
- package/dist/slash-commands.esm.js +90 -79
- package/dist/smart-paste.cjs.js +5 -5
- package/dist/smart-paste.esm.js +85 -81
- package/dist/special-characters.cjs.js +6 -3
- package/dist/special-characters.esm.js +72 -25
- package/dist/spell-check.cjs.js +8 -8
- package/dist/spell-check.esm.js +10189 -295
- package/dist/table.cjs.js +166 -13
- package/dist/table.esm.js +543 -266
- package/dist/template.cjs.js +11 -11
- package/dist/template.esm.js +290 -264
- package/dist/text-color.cjs.js +1 -1
- package/dist/text-color.esm.js +1 -1
- package/dist/translation-workflow.cjs.js +4 -4
- package/dist/translation-workflow.esm.js +33 -31
- package/dist/version-diff.cjs.js +6 -6
- package/dist/version-diff.esm.js +40 -40
- package/package.json +12 -5
- package/dist/anchoredPopover-BzqGPOAE.js +0 -1
- package/dist/anchoredPopover-Dts0IrgU.mjs +0 -106
- package/dist/index-CJ90EVWy.mjs +0 -145
- package/dist/index-DTkvH8gX.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const wr=require("./index-DTkvH8gX.js");var yr={exports:{}};var ms;function oc(){return ms||(ms=1,(function(bt,vt){(function(ot,mt){bt.exports=mt()})(globalThis,(()=>(()=>{var ot={9742:(z,P)=>{P.byteLength=function(N){var _=p(N),y=_[0],h=_[1];return 3*(y+h)/4-h},P.toByteArray=function(N){var _,y,h=p(N),u=h[0],m=h[1],E=new i((function(d,b,C){return 3*(b+C)/4-C})(0,u,m)),O=0,M=m>0?u-4:u;for(y=0;y<M;y+=4)_=a[N.charCodeAt(y)]<<18|a[N.charCodeAt(y+1)]<<12|a[N.charCodeAt(y+2)]<<6|a[N.charCodeAt(y+3)],E[O++]=_>>16&255,E[O++]=_>>8&255,E[O++]=255&_;return m===2&&(_=a[N.charCodeAt(y)]<<2|a[N.charCodeAt(y+1)]>>4,E[O++]=255&_),m===1&&(_=a[N.charCodeAt(y)]<<10|a[N.charCodeAt(y+1)]<<4|a[N.charCodeAt(y+2)]>>2,E[O++]=_>>8&255,E[O++]=255&_),E},P.fromByteArray=function(N){for(var _,y=N.length,h=y%3,u=[],m=16383,E=0,O=y-h;E<O;E+=m)u.push(S(N,E,E+m>O?O:E+m));return h===1?(_=N[y-1],u.push(r[_>>2]+r[_<<4&63]+"==")):h===2&&(_=(N[y-2]<<8)+N[y-1],u.push(r[_>>10]+r[_>>4&63]+r[_<<2&63]+"=")),u.join("")};for(var r=[],a=[],i=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,I=l.length;g<I;++g)r[g]=l[g],a[l.charCodeAt(g)]=g;function p(N){var _=N.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=N.indexOf("=");return y===-1&&(y=_),[y,y===_?0:4-y%4]}function S(N,_,y){for(var h,u,m=[],E=_;E<y;E+=3)h=(N[E]<<16&16711680)+(N[E+1]<<8&65280)+(255&N[E+2]),m.push(r[(u=h)>>18&63]+r[u>>12&63]+r[u>>6&63]+r[63&u]);return m.join("")}a[45]=62,a[95]=63},8764:(z,P,r)=>{const a=r(9742),i=r(645),l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=p,P.SlowBuffer=function(s){return+s!=s&&(s=0),p.alloc(+s)},P.INSPECT_MAX_BYTES=50;const g=2147483647;function I(s){if(s>g)throw new RangeError('The value "'+s+'" is invalid for option "size"');const w=new Uint8Array(s);return Object.setPrototypeOf(w,p.prototype),w}function p(s,w,R){if(typeof s=="number"){if(typeof w=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(s)}return S(s,w,R)}function S(s,w,R){if(typeof s=="string")return(function(Z,et){if(typeof et=="string"&&et!==""||(et="utf8"),!p.isEncoding(et))throw new TypeError("Unknown encoding: "+et);const yt=0|m(Z,et);let At=I(yt);const It=At.write(Z,et);return It!==yt&&(At=At.slice(0,It)),At})(s,w);if(ArrayBuffer.isView(s))return(function(Z){if(it(Z,Uint8Array)){const et=new Uint8Array(Z);return h(et.buffer,et.byteOffset,et.byteLength)}return y(Z)})(s);if(s==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s);if(it(s,ArrayBuffer)||s&&it(s.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(it(s,SharedArrayBuffer)||s&&it(s.buffer,SharedArrayBuffer)))return h(s,w,R);if(typeof s=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const j=s.valueOf&&s.valueOf();if(j!=null&&j!==s)return p.from(j,w,R);const X=(function(Z){if(p.isBuffer(Z)){const et=0|u(Z.length),yt=I(et);return yt.length===0||Z.copy(yt,0,0,et),yt}return Z.length!==void 0?typeof Z.length!="number"||wt(Z.length)?I(0):y(Z):Z.type==="Buffer"&&Array.isArray(Z.data)?y(Z.data):void 0})(s);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof s[Symbol.toPrimitive]=="function")return p.from(s[Symbol.toPrimitive]("string"),w,R);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s)}function N(s){if(typeof s!="number")throw new TypeError('"size" argument must be of type number');if(s<0)throw new RangeError('The value "'+s+'" is invalid for option "size"')}function _(s){return N(s),I(s<0?0:0|u(s))}function y(s){const w=s.length<0?0:0|u(s.length),R=I(w);for(let j=0;j<w;j+=1)R[j]=255&s[j];return R}function h(s,w,R){if(w<0||s.byteLength<w)throw new RangeError('"offset" is outside of buffer bounds');if(s.byteLength<w+(R||0))throw new RangeError('"length" is outside of buffer bounds');let j;return j=w===void 0&&R===void 0?new Uint8Array(s):R===void 0?new Uint8Array(s,w):new Uint8Array(s,w,R),Object.setPrototypeOf(j,p.prototype),j}function u(s){if(s>=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|s}function m(s,w){if(p.isBuffer(s))return s.length;if(ArrayBuffer.isView(s)||it(s,ArrayBuffer))return s.byteLength;if(typeof s!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof s);const R=s.length,j=arguments.length>2&&arguments[2]===!0;if(!j&&R===0)return 0;let X=!1;for(;;)switch(w){case"ascii":case"latin1":case"binary":return R;case"utf8":case"utf-8":return st(s).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*R;case"hex":return R>>>1;case"base64":return ht(s).length;default:if(X)return j?-1:st(s).length;w=(""+w).toLowerCase(),X=!0}}function E(s,w,R){let j=!1;if((w===void 0||w<0)&&(w=0),w>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0)<=(w>>>=0))return"";for(s||(s="utf8");;)switch(s){case"hex":return at(this,w,R);case"utf8":case"utf-8":return Q(this,w,R);case"ascii":return lt(this,w,R);case"latin1":case"binary":return rt(this,w,R);case"base64":return B(this,w,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c(this,w,R);default:if(j)throw new TypeError("Unknown encoding: "+s);s=(s+"").toLowerCase(),j=!0}}function O(s,w,R){const j=s[w];s[w]=s[R],s[R]=j}function M(s,w,R,j,X){if(s.length===0)return-1;if(typeof R=="string"?(j=R,R=0):R>2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),wt(R=+R)&&(R=X?0:s.length-1),R<0&&(R=s.length+R),R>=s.length){if(X)return-1;R=s.length-1}else if(R<0){if(!X)return-1;R=0}if(typeof w=="string"&&(w=p.from(w,j)),p.isBuffer(w))return w.length===0?-1:d(s,w,R,j,X);if(typeof w=="number")return w&=255,typeof Uint8Array.prototype.indexOf=="function"?X?Uint8Array.prototype.indexOf.call(s,w,R):Uint8Array.prototype.lastIndexOf.call(s,w,R):d(s,[w],R,j,X);throw new TypeError("val must be string, number or Buffer")}function d(s,w,R,j,X){let Z,et=1,yt=s.length,At=w.length;if(j!==void 0&&((j=String(j).toLowerCase())==="ucs2"||j==="ucs-2"||j==="utf16le"||j==="utf-16le")){if(s.length<2||w.length<2)return-1;et=2,yt/=2,At/=2,R/=2}function It(Et,Rt){return et===1?Et[Rt]:Et.readUInt16BE(Rt*et)}if(X){let Et=-1;for(Z=R;Z<yt;Z++)if(It(s,Z)===It(w,Et===-1?0:Z-Et)){if(Et===-1&&(Et=Z),Z-Et+1===At)return Et*et}else Et!==-1&&(Z-=Z-Et),Et=-1}else for(R+At>yt&&(R=yt-At),Z=R;Z>=0;Z--){let Et=!0;for(let Rt=0;Rt<At;Rt++)if(It(s,Z+Rt)!==It(w,Rt)){Et=!1;break}if(Et)return Z}return-1}function b(s,w,R,j){R=Number(R)||0;const X=s.length-R;j?(j=Number(j))>X&&(j=X):j=X;const Z=w.length;let et;for(j>Z/2&&(j=Z/2),et=0;et<j;++et){const yt=parseInt(w.substr(2*et,2),16);if(wt(yt))return et;s[R+et]=yt}return et}function C(s,w,R,j){return nt(st(w,s.length-R),s,R,j)}function x(s,w,R,j){return nt((function(X){const Z=[];for(let et=0;et<X.length;++et)Z.push(255&X.charCodeAt(et));return Z})(w),s,R,j)}function D(s,w,R,j){return nt(ht(w),s,R,j)}function n(s,w,R,j){return nt((function(X,Z){let et,yt,At;const It=[];for(let Et=0;Et<X.length&&!((Z-=2)<0);++Et)et=X.charCodeAt(Et),yt=et>>8,At=et%256,It.push(At),It.push(yt);return It})(w,s.length-R),s,R,j)}function B(s,w,R){return w===0&&R===s.length?a.fromByteArray(s):a.fromByteArray(s.slice(w,R))}function Q(s,w,R){R=Math.min(s.length,R);const j=[];let X=w;for(;X<R;){const Z=s[X];let et=null,yt=Z>239?4:Z>223?3:Z>191?2:1;if(X+yt<=R){let At,It,Et,Rt;switch(yt){case 1:Z<128&&(et=Z);break;case 2:At=s[X+1],(192&At)==128&&(Rt=(31&Z)<<6|63&At,Rt>127&&(et=Rt));break;case 3:At=s[X+1],It=s[X+2],(192&At)==128&&(192&It)==128&&(Rt=(15&Z)<<12|(63&At)<<6|63&It,Rt>2047&&(Rt<55296||Rt>57343)&&(et=Rt));break;case 4:At=s[X+1],It=s[X+2],Et=s[X+3],(192&At)==128&&(192&It)==128&&(192&Et)==128&&(Rt=(15&Z)<<18|(63&At)<<12|(63&It)<<6|63&Et,Rt>65535&&Rt<1114112&&(et=Rt))}}et===null?(et=65533,yt=1):et>65535&&(et-=65536,j.push(et>>>10&1023|55296),et=56320|1023&et),j.push(et),X+=yt}return(function(Z){const et=Z.length;if(et<=G)return String.fromCharCode.apply(String,Z);let yt="",At=0;for(;At<et;)yt+=String.fromCharCode.apply(String,Z.slice(At,At+=G));return yt})(j)}P.kMaxLength=g,p.TYPED_ARRAY_SUPPORT=(function(){try{const s=new Uint8Array(1),w={foo:function(){return 42}};return Object.setPrototypeOf(w,Uint8Array.prototype),Object.setPrototypeOf(s,w),s.foo()===42}catch{return!1}})(),p.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."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(s,w,R){return S(s,w,R)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(s,w,R){return(function(j,X,Z){return N(j),j<=0?I(j):X!==void 0?typeof Z=="string"?I(j).fill(X,Z):I(j).fill(X):I(j)})(s,w,R)},p.allocUnsafe=function(s){return _(s)},p.allocUnsafeSlow=function(s){return _(s)},p.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==p.prototype},p.compare=function(s,w){if(it(s,Uint8Array)&&(s=p.from(s,s.offset,s.byteLength)),it(w,Uint8Array)&&(w=p.from(w,w.offset,w.byteLength)),!p.isBuffer(s)||!p.isBuffer(w))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===w)return 0;let R=s.length,j=w.length;for(let X=0,Z=Math.min(R,j);X<Z;++X)if(s[X]!==w[X]){R=s[X],j=w[X];break}return R<j?-1:j<R?1:0},p.isEncoding=function(s){switch(String(s).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}},p.concat=function(s,w){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return p.alloc(0);let R;if(w===void 0)for(w=0,R=0;R<s.length;++R)w+=s[R].length;const j=p.allocUnsafe(w);let X=0;for(R=0;R<s.length;++R){let Z=s[R];if(it(Z,Uint8Array))X+Z.length>j.length?(p.isBuffer(Z)||(Z=p.from(Z)),Z.copy(j,X)):Uint8Array.prototype.set.call(j,Z,X);else{if(!p.isBuffer(Z))throw new TypeError('"list" argument must be an Array of Buffers');Z.copy(j,X)}X+=Z.length}return j},p.byteLength=m,p.prototype._isBuffer=!0,p.prototype.swap16=function(){const s=this.length;if(s%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let w=0;w<s;w+=2)O(this,w,w+1);return this},p.prototype.swap32=function(){const s=this.length;if(s%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let w=0;w<s;w+=4)O(this,w,w+3),O(this,w+1,w+2);return this},p.prototype.swap64=function(){const s=this.length;if(s%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let w=0;w<s;w+=8)O(this,w,w+7),O(this,w+1,w+6),O(this,w+2,w+5),O(this,w+3,w+4);return this},p.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?Q(this,0,s):E.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(s){if(!p.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s||p.compare(this,s)===0},p.prototype.inspect=function(){let s="";const w=P.INSPECT_MAX_BYTES;return s=this.toString("hex",0,w).replace(/(.{2})/g,"$1 ").trim(),this.length>w&&(s+=" ... "),"<Buffer "+s+">"},l&&(p.prototype[l]=p.prototype.inspect),p.prototype.compare=function(s,w,R,j,X){if(it(s,Uint8Array)&&(s=p.from(s,s.offset,s.byteLength)),!p.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(w===void 0&&(w=0),R===void 0&&(R=s?s.length:0),j===void 0&&(j=0),X===void 0&&(X=this.length),w<0||R>s.length||j<0||X>this.length)throw new RangeError("out of range index");if(j>=X&&w>=R)return 0;if(j>=X)return-1;if(w>=R)return 1;if(this===s)return 0;let Z=(X>>>=0)-(j>>>=0),et=(R>>>=0)-(w>>>=0);const yt=Math.min(Z,et),At=this.slice(j,X),It=s.slice(w,R);for(let Et=0;Et<yt;++Et)if(At[Et]!==It[Et]){Z=At[Et],et=It[Et];break}return Z<et?-1:et<Z?1:0},p.prototype.includes=function(s,w,R){return this.indexOf(s,w,R)!==-1},p.prototype.indexOf=function(s,w,R){return M(this,s,w,R,!0)},p.prototype.lastIndexOf=function(s,w,R){return M(this,s,w,R,!1)},p.prototype.write=function(s,w,R,j){if(w===void 0)j="utf8",R=this.length,w=0;else if(R===void 0&&typeof w=="string")j=w,R=this.length,w=0;else{if(!isFinite(w))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");w>>>=0,isFinite(R)?(R>>>=0,j===void 0&&(j="utf8")):(j=R,R=void 0)}const X=this.length-w;if((R===void 0||R>X)&&(R=X),s.length>0&&(R<0||w<0)||w>this.length)throw new RangeError("Attempt to write outside buffer bounds");j||(j="utf8");let Z=!1;for(;;)switch(j){case"hex":return b(this,s,w,R);case"utf8":case"utf-8":return C(this,s,w,R);case"ascii":case"latin1":case"binary":return x(this,s,w,R);case"base64":return D(this,s,w,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,s,w,R);default:if(Z)throw new TypeError("Unknown encoding: "+j);j=(""+j).toLowerCase(),Z=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function lt(s,w,R){let j="";R=Math.min(s.length,R);for(let X=w;X<R;++X)j+=String.fromCharCode(127&s[X]);return j}function rt(s,w,R){let j="";R=Math.min(s.length,R);for(let X=w;X<R;++X)j+=String.fromCharCode(s[X]);return j}function at(s,w,R){const j=s.length;(!w||w<0)&&(w=0),(!R||R<0||R>j)&&(R=j);let X="";for(let Z=w;Z<R;++Z)X+=ft[s[Z]];return X}function c(s,w,R){const j=s.slice(w,R);let X="";for(let Z=0;Z<j.length-1;Z+=2)X+=String.fromCharCode(j[Z]+256*j[Z+1]);return X}function A(s,w,R){if(s%1!=0||s<0)throw new RangeError("offset is not uint");if(s+w>R)throw new RangeError("Trying to access beyond buffer length")}function U(s,w,R,j,X,Z){if(!p.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(w>X||w<Z)throw new RangeError('"value" argument is out of bounds');if(R+j>s.length)throw new RangeError("Index out of range")}function k(s,w,R,j,X){o(w,j,X,s,R,7);let Z=Number(w&BigInt(4294967295));s[R++]=Z,Z>>=8,s[R++]=Z,Z>>=8,s[R++]=Z,Z>>=8,s[R++]=Z;let et=Number(w>>BigInt(32)&BigInt(4294967295));return s[R++]=et,et>>=8,s[R++]=et,et>>=8,s[R++]=et,et>>=8,s[R++]=et,R}function q(s,w,R,j,X){o(w,j,X,s,R,7);let Z=Number(w&BigInt(4294967295));s[R+7]=Z,Z>>=8,s[R+6]=Z,Z>>=8,s[R+5]=Z,Z>>=8,s[R+4]=Z;let et=Number(w>>BigInt(32)&BigInt(4294967295));return s[R+3]=et,et>>=8,s[R+2]=et,et>>=8,s[R+1]=et,et>>=8,s[R]=et,R+8}function F(s,w,R,j,X,Z){if(R+j>s.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function W(s,w,R,j,X){return w=+w,R>>>=0,X||F(s,0,R,4),i.write(s,w,R,j,23,4),R+4}function V(s,w,R,j,X){return w=+w,R>>>=0,X||F(s,0,R,8),i.write(s,w,R,j,52,8),R+8}p.prototype.slice=function(s,w){const R=this.length;(s=~~s)<0?(s+=R)<0&&(s=0):s>R&&(s=R),(w=w===void 0?R:~~w)<0?(w+=R)<0&&(w=0):w>R&&(w=R),w<s&&(w=s);const j=this.subarray(s,w);return Object.setPrototypeOf(j,p.prototype),j},p.prototype.readUintLE=p.prototype.readUIntLE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s],X=1,Z=0;for(;++Z<w&&(X*=256);)j+=this[s+Z]*X;return j},p.prototype.readUintBE=p.prototype.readUIntBE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s+--w],X=1;for(;w>0&&(X*=256);)j+=this[s+--w]*X;return j},p.prototype.readUint8=p.prototype.readUInt8=function(s,w){return s>>>=0,w||A(s,1,this.length),this[s]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(s,w){return s>>>=0,w||A(s,2,this.length),this[s]|this[s+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(s,w){return s>>>=0,w||A(s,2,this.length),this[s]<<8|this[s+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(s,w){return s>>>=0,w||A(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+16777216*this[s+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(s,w){return s>>>=0,w||A(s,4,this.length),16777216*this[s]+(this[s+1]<<16|this[s+2]<<8|this[s+3])},p.prototype.readBigUInt64LE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=w+256*this[++s]+65536*this[++s]+this[++s]*2**24,X=this[++s]+256*this[++s]+65536*this[++s]+R*2**24;return BigInt(j)+(BigInt(X)<<BigInt(32))})),p.prototype.readBigUInt64BE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=w*2**24+65536*this[++s]+256*this[++s]+this[++s],X=this[++s]*2**24+65536*this[++s]+256*this[++s]+R;return(BigInt(j)<<BigInt(32))+BigInt(X)})),p.prototype.readIntLE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s],X=1,Z=0;for(;++Z<w&&(X*=256);)j+=this[s+Z]*X;return X*=128,j>=X&&(j-=Math.pow(2,8*w)),j},p.prototype.readIntBE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=w,X=1,Z=this[s+--j];for(;j>0&&(X*=256);)Z+=this[s+--j]*X;return X*=128,Z>=X&&(Z-=Math.pow(2,8*w)),Z},p.prototype.readInt8=function(s,w){return s>>>=0,w||A(s,1,this.length),128&this[s]?-1*(255-this[s]+1):this[s]},p.prototype.readInt16LE=function(s,w){s>>>=0,w||A(s,2,this.length);const R=this[s]|this[s+1]<<8;return 32768&R?4294901760|R:R},p.prototype.readInt16BE=function(s,w){s>>>=0,w||A(s,2,this.length);const R=this[s+1]|this[s]<<8;return 32768&R?4294901760|R:R},p.prototype.readInt32LE=function(s,w){return s>>>=0,w||A(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},p.prototype.readInt32BE=function(s,w){return s>>>=0,w||A(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},p.prototype.readBigInt64LE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=this[s+4]+256*this[s+5]+65536*this[s+6]+(R<<24);return(BigInt(j)<<BigInt(32))+BigInt(w+256*this[++s]+65536*this[++s]+this[++s]*16777216)})),p.prototype.readBigInt64BE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=(w<<24)+65536*this[++s]+256*this[++s]+this[++s];return(BigInt(j)<<BigInt(32))+BigInt(this[++s]*16777216+65536*this[++s]+256*this[++s]+R)})),p.prototype.readFloatLE=function(s,w){return s>>>=0,w||A(s,4,this.length),i.read(this,s,!0,23,4)},p.prototype.readFloatBE=function(s,w){return s>>>=0,w||A(s,4,this.length),i.read(this,s,!1,23,4)},p.prototype.readDoubleLE=function(s,w){return s>>>=0,w||A(s,8,this.length),i.read(this,s,!0,52,8)},p.prototype.readDoubleBE=function(s,w){return s>>>=0,w||A(s,8,this.length),i.read(this,s,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(s,w,R,j){s=+s,w>>>=0,R>>>=0,j||U(this,s,w,R,Math.pow(2,8*R)-1,0);let X=1,Z=0;for(this[w]=255&s;++Z<R&&(X*=256);)this[w+Z]=s/X&255;return w+R},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(s,w,R,j){s=+s,w>>>=0,R>>>=0,j||U(this,s,w,R,Math.pow(2,8*R)-1,0);let X=R-1,Z=1;for(this[w+X]=255&s;--X>=0&&(Z*=256);)this[w+X]=s/Z&255;return w+R},p.prototype.writeUint8=p.prototype.writeUInt8=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,1,255,0),this[w]=255&s,w+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,65535,0),this[w]=255&s,this[w+1]=s>>>8,w+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,65535,0),this[w]=s>>>8,this[w+1]=255&s,w+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,4294967295,0),this[w+3]=s>>>24,this[w+2]=s>>>16,this[w+1]=s>>>8,this[w]=255&s,w+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,4294967295,0),this[w]=s>>>24,this[w+1]=s>>>16,this[w+2]=s>>>8,this[w+3]=255&s,w+4},p.prototype.writeBigUInt64LE=Tt((function(s,w=0){return k(this,s,w,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeBigUInt64BE=Tt((function(s,w=0){return q(this,s,w,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeIntLE=function(s,w,R,j){if(s=+s,w>>>=0,!j){const yt=Math.pow(2,8*R-1);U(this,s,w,R,yt-1,-yt)}let X=0,Z=1,et=0;for(this[w]=255&s;++X<R&&(Z*=256);)s<0&&et===0&&this[w+X-1]!==0&&(et=1),this[w+X]=(s/Z>>0)-et&255;return w+R},p.prototype.writeIntBE=function(s,w,R,j){if(s=+s,w>>>=0,!j){const yt=Math.pow(2,8*R-1);U(this,s,w,R,yt-1,-yt)}let X=R-1,Z=1,et=0;for(this[w+X]=255&s;--X>=0&&(Z*=256);)s<0&&et===0&&this[w+X+1]!==0&&(et=1),this[w+X]=(s/Z>>0)-et&255;return w+R},p.prototype.writeInt8=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,1,127,-128),s<0&&(s=255+s+1),this[w]=255&s,w+1},p.prototype.writeInt16LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,32767,-32768),this[w]=255&s,this[w+1]=s>>>8,w+2},p.prototype.writeInt16BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,32767,-32768),this[w]=s>>>8,this[w+1]=255&s,w+2},p.prototype.writeInt32LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,2147483647,-2147483648),this[w]=255&s,this[w+1]=s>>>8,this[w+2]=s>>>16,this[w+3]=s>>>24,w+4},p.prototype.writeInt32BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[w]=s>>>24,this[w+1]=s>>>16,this[w+2]=s>>>8,this[w+3]=255&s,w+4},p.prototype.writeBigInt64LE=Tt((function(s,w=0){return k(this,s,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeBigInt64BE=Tt((function(s,w=0){return q(this,s,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeFloatLE=function(s,w,R){return W(this,s,w,!0,R)},p.prototype.writeFloatBE=function(s,w,R){return W(this,s,w,!1,R)},p.prototype.writeDoubleLE=function(s,w,R){return V(this,s,w,!0,R)},p.prototype.writeDoubleBE=function(s,w,R){return V(this,s,w,!1,R)},p.prototype.copy=function(s,w,R,j){if(!p.isBuffer(s))throw new TypeError("argument should be a Buffer");if(R||(R=0),j||j===0||(j=this.length),w>=s.length&&(w=s.length),w||(w=0),j>0&&j<R&&(j=R),j===R||s.length===0||this.length===0)return 0;if(w<0)throw new RangeError("targetStart out of bounds");if(R<0||R>=this.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("sourceEnd out of bounds");j>this.length&&(j=this.length),s.length-w<j-R&&(j=s.length-w+R);const X=j-R;return this===s&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(w,R,j):Uint8Array.prototype.set.call(s,this.subarray(R,j),w),X},p.prototype.fill=function(s,w,R,j){if(typeof s=="string"){if(typeof w=="string"?(j=w,w=0,R=this.length):typeof R=="string"&&(j=R,R=this.length),j!==void 0&&typeof j!="string")throw new TypeError("encoding must be a string");if(typeof j=="string"&&!p.isEncoding(j))throw new TypeError("Unknown encoding: "+j);if(s.length===1){const Z=s.charCodeAt(0);(j==="utf8"&&Z<128||j==="latin1")&&(s=Z)}}else typeof s=="number"?s&=255:typeof s=="boolean"&&(s=Number(s));if(w<0||this.length<w||this.length<R)throw new RangeError("Out of range index");if(R<=w)return this;let X;if(w>>>=0,R=R===void 0?this.length:R>>>0,s||(s=0),typeof s=="number")for(X=w;X<R;++X)this[X]=s;else{const Z=p.isBuffer(s)?s:p.from(s,j),et=Z.length;if(et===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(X=0;X<R-w;++X)this[X+w]=Z[X%et]}return this};const $={};function K(s,w,R){$[s]=class extends R{constructor(){super(),Object.defineProperty(this,"message",{value:w.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${s}]`,this.stack,delete this.name}get code(){return s}set code(j){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:j,writable:!0})}toString(){return`${this.name} [${s}]: ${this.message}`}}}function T(s){let w="",R=s.length;const j=s[0]==="-"?1:0;for(;R>=j+4;R-=3)w=`_${s.slice(R-3,R)}${w}`;return`${s.slice(0,R)}${w}`}function o(s,w,R,j,X,Z){if(s>R||s<w){const et=typeof w=="bigint"?"n":"";let yt;throw yt=w===0||w===BigInt(0)?`>= 0${et} and < 2${et} ** ${8*(Z+1)}${et}`:`>= -(2${et} ** ${8*(Z+1)-1}${et}) and < 2 ** ${8*(Z+1)-1}${et}`,new $.ERR_OUT_OF_RANGE("value",yt,s)}(function(et,yt,At){v(yt,"offset"),et[yt]!==void 0&&et[yt+At]!==void 0||L(yt,et.length-(At+1))})(j,X,Z)}function v(s,w){if(typeof s!="number")throw new $.ERR_INVALID_ARG_TYPE(w,"number",s)}function L(s,w,R){throw Math.floor(s)!==s?(v(s,R),new $.ERR_OUT_OF_RANGE("offset","an integer",s)):w<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${w}`,s)}K("ERR_BUFFER_OUT_OF_BOUNDS",(function(s){return s?`${s} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),K("ERR_INVALID_ARG_TYPE",(function(s,w){return`The "${s}" argument must be of type number. Received type ${typeof w}`}),TypeError),K("ERR_OUT_OF_RANGE",(function(s,w,R){let j=`The value of "${s}" is out of range.`,X=R;return Number.isInteger(R)&&Math.abs(R)>4294967296?X=T(String(R)):typeof R=="bigint"&&(X=String(R),(R>BigInt(2)**BigInt(32)||R<-(BigInt(2)**BigInt(32)))&&(X=T(X)),X+="n"),j+=` It must be ${w}. Received ${X}`,j}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function st(s,w){let R;w=w||1/0;const j=s.length;let X=null;const Z=[];for(let et=0;et<j;++et){if(R=s.charCodeAt(et),R>55295&&R<57344){if(!X){if(R>56319){(w-=3)>-1&&Z.push(239,191,189);continue}if(et+1===j){(w-=3)>-1&&Z.push(239,191,189);continue}X=R;continue}if(R<56320){(w-=3)>-1&&Z.push(239,191,189),X=R;continue}R=65536+(X-55296<<10|R-56320)}else X&&(w-=3)>-1&&Z.push(239,191,189);if(X=null,R<128){if((w-=1)<0)break;Z.push(R)}else if(R<2048){if((w-=2)<0)break;Z.push(R>>6|192,63&R|128)}else if(R<65536){if((w-=3)<0)break;Z.push(R>>12|224,R>>6&63|128,63&R|128)}else{if(!(R<1114112))throw new Error("Invalid code point");if((w-=4)<0)break;Z.push(R>>18|240,R>>12&63|128,R>>6&63|128,63&R|128)}}return Z}function ht(s){return a.toByteArray((function(w){if((w=(w=w.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;w.length%4!=0;)w+="=";return w})(s))}function nt(s,w,R,j){let X;for(X=0;X<j&&!(X+R>=w.length||X>=s.length);++X)w[X+R]=s[X];return X}function it(s,w){return s instanceof w||s!=null&&s.constructor!=null&&s.constructor.name!=null&&s.constructor.name===w.name}function wt(s){return s!=s}const ft=(function(){const s="0123456789abcdef",w=new Array(256);for(let R=0;R<16;++R){const j=16*R;for(let X=0;X<16;++X)w[j+X]=s[R]+s[X]}return w})();function Tt(s){return typeof BigInt>"u"?Ft:s}function Ft(){throw new Error("BigInt not supported")}},7187:z=>{var P,r=typeof Reflect=="object"?Reflect:null,a=r&&typeof r.apply=="function"?r.apply:function(E,O,M){return Function.prototype.apply.call(E,O,M)};P=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:function(E){return Object.getOwnPropertyNames(E)};var i=Number.isNaN||function(E){return E!=E};function l(){l.init.call(this)}z.exports=l,z.exports.once=function(E,O){return new Promise((function(M,d){function b(x){E.removeListener(O,C),d(x)}function C(){typeof E.removeListener=="function"&&E.removeListener("error",b),M([].slice.call(arguments))}m(E,O,C,{once:!0}),O!=="error"&&(function(x,D,n){typeof x.on=="function"&&m(x,"error",D,{once:!0})})(E,b)}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var g=10;function I(E){if(typeof E!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof E)}function p(E){return E._maxListeners===void 0?l.defaultMaxListeners:E._maxListeners}function S(E,O,M,d){var b,C,x,D;if(I(M),(C=E._events)===void 0?(C=E._events=Object.create(null),E._eventsCount=0):(C.newListener!==void 0&&(E.emit("newListener",O,M.listener?M.listener:M),C=E._events),x=C[O]),x===void 0)x=C[O]=M,++E._eventsCount;else if(typeof x=="function"?x=C[O]=d?[M,x]:[x,M]:d?x.unshift(M):x.push(M),(b=p(E))>0&&x.length>b&&!x.warned){x.warned=!0;var n=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+String(O)+" listeners added. Use emitter.setMaxListeners() to increase limit");n.name="MaxListenersExceededWarning",n.emitter=E,n.type=O,n.count=x.length,D=n,console&&console.warn&&console.warn(D)}return E}function N(){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 _(E,O,M){var d={fired:!1,wrapFn:void 0,target:E,type:O,listener:M},b=N.bind(d);return b.listener=M,d.wrapFn=b,b}function y(E,O,M){var d=E._events;if(d===void 0)return[];var b=d[O];return b===void 0?[]:typeof b=="function"?M?[b.listener||b]:[b]:M?(function(C){for(var x=new Array(C.length),D=0;D<x.length;++D)x[D]=C[D].listener||C[D];return x})(b):u(b,b.length)}function h(E){var O=this._events;if(O!==void 0){var M=O[E];if(typeof M=="function")return 1;if(M!==void 0)return M.length}return 0}function u(E,O){for(var M=new Array(O),d=0;d<O;++d)M[d]=E[d];return M}function m(E,O,M,d){if(typeof E.on=="function")d.once?E.once(O,M):E.on(O,M);else{if(typeof E.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof E);E.addEventListener(O,(function b(C){d.once&&E.removeEventListener(O,b),M(C)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return g},set:function(E){if(typeof E!="number"||E<0||i(E))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+E+".");g=E}}),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(E){if(typeof E!="number"||E<0||i(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this},l.prototype.getMaxListeners=function(){return p(this)},l.prototype.emit=function(E){for(var O=[],M=1;M<arguments.length;M++)O.push(arguments[M]);var d=E==="error",b=this._events;if(b!==void 0)d=d&&b.error===void 0;else if(!d)return!1;if(d){var C;if(O.length>0&&(C=O[0]),C instanceof Error)throw C;var x=new Error("Unhandled error."+(C?" ("+C.message+")":""));throw x.context=C,x}var D=b[E];if(D===void 0)return!1;if(typeof D=="function")a(D,this,O);else{var n=D.length,B=u(D,n);for(M=0;M<n;++M)a(B[M],this,O)}return!0},l.prototype.addListener=function(E,O){return S(this,E,O,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(E,O){return S(this,E,O,!0)},l.prototype.once=function(E,O){return I(O),this.on(E,_(this,E,O)),this},l.prototype.prependOnceListener=function(E,O){return I(O),this.prependListener(E,_(this,E,O)),this},l.prototype.removeListener=function(E,O){var M,d,b,C,x;if(I(O),(d=this._events)===void 0)return this;if((M=d[E])===void 0)return this;if(M===O||M.listener===O)--this._eventsCount==0?this._events=Object.create(null):(delete d[E],d.removeListener&&this.emit("removeListener",E,M.listener||O));else if(typeof M!="function"){for(b=-1,C=M.length-1;C>=0;C--)if(M[C]===O||M[C].listener===O){x=M[C].listener,b=C;break}if(b<0)return this;b===0?M.shift():(function(D,n){for(;n+1<D.length;n++)D[n]=D[n+1];D.pop()})(M,b),M.length===1&&(d[E]=M[0]),d.removeListener!==void 0&&this.emit("removeListener",E,x||O)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(E){var O,M,d;if((M=this._events)===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[E]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete M[E]),this;if(arguments.length===0){var b,C=Object.keys(M);for(d=0;d<C.length;++d)(b=C[d])!=="removeListener"&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(O=M[E])=="function")this.removeListener(E,O);else if(O!==void 0)for(d=O.length-1;d>=0;d--)this.removeListener(E,O[d]);return this},l.prototype.listeners=function(E){return y(this,E,!0)},l.prototype.rawListeners=function(E){return y(this,E,!1)},l.listenerCount=function(E,O){return typeof E.listenerCount=="function"?E.listenerCount(O):h.call(E,O)},l.prototype.listenerCount=h,l.prototype.eventNames=function(){return this._eventsCount>0?P(this._events):[]}},645:(z,P)=>{P.read=function(r,a,i,l,g){var I,p,S=8*g-l-1,N=(1<<S)-1,_=N>>1,y=-7,h=i?g-1:0,u=i?-1:1,m=r[a+h];for(h+=u,I=m&(1<<-y)-1,m>>=-y,y+=S;y>0;I=256*I+r[a+h],h+=u,y-=8);for(p=I&(1<<-y)-1,I>>=-y,y+=l;y>0;p=256*p+r[a+h],h+=u,y-=8);if(I===0)I=1-_;else{if(I===N)return p?NaN:1/0*(m?-1:1);p+=Math.pow(2,l),I-=_}return(m?-1:1)*p*Math.pow(2,I-l)},P.write=function(r,a,i,l,g,I){var p,S,N,_=8*I-g-1,y=(1<<_)-1,h=y>>1,u=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=l?0:I-1,E=l?1:-1,O=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(S=isNaN(a)?1:0,p=y):(p=Math.floor(Math.log(a)/Math.LN2),a*(N=Math.pow(2,-p))<1&&(p--,N*=2),(a+=p+h>=1?u/N:u*Math.pow(2,1-h))*N>=2&&(p++,N/=2),p+h>=y?(S=0,p=y):p+h>=1?(S=(a*N-1)*Math.pow(2,g),p+=h):(S=a*Math.pow(2,h-1)*Math.pow(2,g),p=0));g>=8;r[i+m]=255&S,m+=E,S/=256,g-=8);for(p=p<<g|S,_+=g;_>0;r[i+m]=255&p,m+=E,p/=256,_-=8);r[i+m-E]|=128*O}},5705:(z,P,r)=>{var a,i,l=r.g.MutationObserver||r.g.WebKitMutationObserver;if(l){var g=0,I=new l(_),p=r.g.document.createTextNode("");I.observe(p,{characterData:!0}),a=function(){p.data=g=++g%2}}else if(r.g.setImmediate||r.g.MessageChannel===void 0)a="document"in r.g&&"onreadystatechange"in r.g.document.createElement("script")?function(){var y=r.g.document.createElement("script");y.onreadystatechange=function(){_(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},r.g.document.documentElement.appendChild(y)}:function(){setTimeout(_,0)};else{var S=new r.g.MessageChannel;S.port1.onmessage=_,a=function(){S.port2.postMessage(0)}}var N=[];function _(){var y,h;i=!0;for(var u=N.length;u;){for(h=N,N=[],y=-1;++y<u;)h[y]();u=N.length}i=!1}z.exports=function(y){N.push(y)!==1||i||a()}},5717:z=>{typeof Object.create=="function"?z.exports=function(P,r){r&&(P.super_=r,P.prototype=Object.create(r.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}))}:z.exports=function(P,r){if(r){P.super_=r;var a=function(){};a.prototype=r.prototype,P.prototype=new a,P.prototype.constructor=P}}},8458:(z,P,r)=>{var a=r(8910),i=r(3790),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";P.encode=function(g){for(var I,p,S,N,_,y,h,u=[],m=0,E=g.length,O=E,M=a.getTypeOf(g)!=="string";m<g.length;)O=E-m,M?(I=g[m++],p=m<E?g[m++]:0,S=m<E?g[m++]:0):(I=g.charCodeAt(m++),p=m<E?g.charCodeAt(m++):0,S=m<E?g.charCodeAt(m++):0),N=I>>2,_=(3&I)<<4|p>>4,y=O>1?(15&p)<<2|S>>6:64,h=O>2?63&S:64,u.push(l.charAt(N)+l.charAt(_)+l.charAt(y)+l.charAt(h));return u.join("")},P.decode=function(g){var I,p,S,N,_,y,h=0,u=0,m="data:";if(g.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var E,O=3*(g=g.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(g.charAt(g.length-1)===l.charAt(64)&&O--,g.charAt(g.length-2)===l.charAt(64)&&O--,O%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=i.uint8array?new Uint8Array(0|O):new Array(0|O);h<g.length;)I=l.indexOf(g.charAt(h++))<<2|(N=l.indexOf(g.charAt(h++)))>>4,p=(15&N)<<4|(_=l.indexOf(g.charAt(h++)))>>2,S=(3&_)<<6|(y=l.indexOf(g.charAt(h++))),E[u++]=I,_!==64&&(E[u++]=p),y!==64&&(E[u++]=S);return E}},7326:(z,P,r)=>{var a=r(8565),i=r(5301),l=r(2541),g=r(5977);function I(p,S,N,_,y){this.compressedSize=p,this.uncompressedSize=S,this.crc32=N,this.compression=_,this.compressedContent=y}I.prototype={getContentWorker:function(){var p=new i(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),S=this;return p.on("end",(function(){if(this.streamInfo.data_length!==S.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),p},getCompressedWorker:function(){return new i(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},I.createWorkerFrom=function(p,S,N){return p.pipe(new l).pipe(new g("uncompressedSize")).pipe(S.compressWorker(N)).pipe(new g("compressedSize")).withStreamInfo("compression",S)},z.exports=I},1678:(z,P,r)=>{var a=r(3718);P.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},P.DEFLATE=r(1033)},6988:(z,P,r)=>{var a=r(8910),i=(function(){for(var l,g=[],I=0;I<256;I++){l=I;for(var p=0;p<8;p++)l=1&l?3988292384^l>>>1:l>>>1;g[I]=l}return g})();z.exports=function(l,g){return l!==void 0&&l.length?a.getTypeOf(l)!=="string"?(function(I,p,S,N){var _=i,y=0+S;I^=-1;for(var h=0;h<y;h++)I=I>>>8^_[255&(I^p[h])];return-1^I})(0|g,l,l.length):(function(I,p,S,N){var _=i,y=0+S;I^=-1;for(var h=0;h<y;h++)I=I>>>8^_[255&(I^p.charCodeAt(h))];return-1^I})(0|g,l,l.length):0}},6032:(z,P)=>{P.base64=!1,P.binary=!1,P.dir=!1,P.createFolders=!0,P.date=null,P.compression=null,P.compressionOptions=null,P.comment=null,P.unixPermissions=null,P.dosPermissions=null},8565:(z,P,r)=>{var a;a=typeof Promise<"u"?Promise:r(3389),z.exports={Promise:a}},1033:(z,P,r)=>{var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",i=r(9591),l=r(8910),g=r(3718),I=a?"uint8array":"array";function p(S,N){g.call(this,"FlateWorker/"+S),this._pako=null,this._pakoAction=S,this._pakoOptions=N,this.meta={}}P.magic="\b\0",l.inherits(p,g),p.prototype.processChunk=function(S){this.meta=S.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(I,S.data),!1)},p.prototype.flush=function(){g.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},p.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},p.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var S=this;this._pako.onData=function(N){S.push({data:N,meta:S.meta})}},P.compressWorker=function(S){return new p("Deflate",S)},P.uncompressWorker=function(){return new p("Inflate",{})}},4979:(z,P,r)=>{var a=r(8910),i=r(3718),l=r(3600),g=r(6988),I=r(1141),p=function(y,h){var u,m="";for(u=0;u<h;u++)m+=String.fromCharCode(255&y),y>>>=8;return m},S=function(y,h,u,m,E,O){var M,d,b=y.file,C=y.compression,x=O!==l.utf8encode,D=a.transformTo("string",O(b.name)),n=a.transformTo("string",l.utf8encode(b.name)),B=b.comment,Q=a.transformTo("string",O(B)),G=a.transformTo("string",l.utf8encode(B)),lt=n.length!==b.name.length,rt=G.length!==B.length,at="",c="",A="",U=b.dir,k=b.date,q={crc32:0,compressedSize:0,uncompressedSize:0};h&&!u||(q.crc32=y.crc32,q.compressedSize=y.compressedSize,q.uncompressedSize=y.uncompressedSize);var F=0;h&&(F|=8),x||!lt&&!rt||(F|=2048);var W,V,$=0,K=0;U&&($|=16),E==="UNIX"?(K=798,$|=(V=W=b.unixPermissions,W||(V=U?16893:33204),(65535&V)<<16)):(K=20,$|=63&(b.dosPermissions||0)),M=k.getUTCHours(),M<<=6,M|=k.getUTCMinutes(),M<<=5,M|=k.getUTCSeconds()/2,d=k.getUTCFullYear()-1980,d<<=4,d|=k.getUTCMonth()+1,d<<=5,d|=k.getUTCDate(),lt&&(c=p(1,1)+p(g(D),4)+n,at+="up"+p(c.length,2)+c),rt&&(A=p(1,1)+p(g(Q),4)+G,at+="uc"+p(A.length,2)+A);var T="";return T+=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const wr=require("./index-CoflqYuK.js");var yr={exports:{}};var ms;function oc(){return ms||(ms=1,(function(bt,vt){(function(ot,mt){bt.exports=mt()})(globalThis,(()=>(()=>{var ot={9742:(z,P)=>{P.byteLength=function(N){var _=p(N),y=_[0],h=_[1];return 3*(y+h)/4-h},P.toByteArray=function(N){var _,y,h=p(N),u=h[0],m=h[1],E=new i((function(d,b,C){return 3*(b+C)/4-C})(0,u,m)),O=0,M=m>0?u-4:u;for(y=0;y<M;y+=4)_=a[N.charCodeAt(y)]<<18|a[N.charCodeAt(y+1)]<<12|a[N.charCodeAt(y+2)]<<6|a[N.charCodeAt(y+3)],E[O++]=_>>16&255,E[O++]=_>>8&255,E[O++]=255&_;return m===2&&(_=a[N.charCodeAt(y)]<<2|a[N.charCodeAt(y+1)]>>4,E[O++]=255&_),m===1&&(_=a[N.charCodeAt(y)]<<10|a[N.charCodeAt(y+1)]<<4|a[N.charCodeAt(y+2)]>>2,E[O++]=_>>8&255,E[O++]=255&_),E},P.fromByteArray=function(N){for(var _,y=N.length,h=y%3,u=[],m=16383,E=0,O=y-h;E<O;E+=m)u.push(S(N,E,E+m>O?O:E+m));return h===1?(_=N[y-1],u.push(r[_>>2]+r[_<<4&63]+"==")):h===2&&(_=(N[y-2]<<8)+N[y-1],u.push(r[_>>10]+r[_>>4&63]+r[_<<2&63]+"=")),u.join("")};for(var r=[],a=[],i=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,I=l.length;g<I;++g)r[g]=l[g],a[l.charCodeAt(g)]=g;function p(N){var _=N.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=N.indexOf("=");return y===-1&&(y=_),[y,y===_?0:4-y%4]}function S(N,_,y){for(var h,u,m=[],E=_;E<y;E+=3)h=(N[E]<<16&16711680)+(N[E+1]<<8&65280)+(255&N[E+2]),m.push(r[(u=h)>>18&63]+r[u>>12&63]+r[u>>6&63]+r[63&u]);return m.join("")}a[45]=62,a[95]=63},8764:(z,P,r)=>{const a=r(9742),i=r(645),l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=p,P.SlowBuffer=function(s){return+s!=s&&(s=0),p.alloc(+s)},P.INSPECT_MAX_BYTES=50;const g=2147483647;function I(s){if(s>g)throw new RangeError('The value "'+s+'" is invalid for option "size"');const w=new Uint8Array(s);return Object.setPrototypeOf(w,p.prototype),w}function p(s,w,R){if(typeof s=="number"){if(typeof w=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(s)}return S(s,w,R)}function S(s,w,R){if(typeof s=="string")return(function(Z,et){if(typeof et=="string"&&et!==""||(et="utf8"),!p.isEncoding(et))throw new TypeError("Unknown encoding: "+et);const yt=0|m(Z,et);let At=I(yt);const It=At.write(Z,et);return It!==yt&&(At=At.slice(0,It)),At})(s,w);if(ArrayBuffer.isView(s))return(function(Z){if(it(Z,Uint8Array)){const et=new Uint8Array(Z);return h(et.buffer,et.byteOffset,et.byteLength)}return y(Z)})(s);if(s==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s);if(it(s,ArrayBuffer)||s&&it(s.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(it(s,SharedArrayBuffer)||s&&it(s.buffer,SharedArrayBuffer)))return h(s,w,R);if(typeof s=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const j=s.valueOf&&s.valueOf();if(j!=null&&j!==s)return p.from(j,w,R);const X=(function(Z){if(p.isBuffer(Z)){const et=0|u(Z.length),yt=I(et);return yt.length===0||Z.copy(yt,0,0,et),yt}return Z.length!==void 0?typeof Z.length!="number"||wt(Z.length)?I(0):y(Z):Z.type==="Buffer"&&Array.isArray(Z.data)?y(Z.data):void 0})(s);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof s[Symbol.toPrimitive]=="function")return p.from(s[Symbol.toPrimitive]("string"),w,R);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s)}function N(s){if(typeof s!="number")throw new TypeError('"size" argument must be of type number');if(s<0)throw new RangeError('The value "'+s+'" is invalid for option "size"')}function _(s){return N(s),I(s<0?0:0|u(s))}function y(s){const w=s.length<0?0:0|u(s.length),R=I(w);for(let j=0;j<w;j+=1)R[j]=255&s[j];return R}function h(s,w,R){if(w<0||s.byteLength<w)throw new RangeError('"offset" is outside of buffer bounds');if(s.byteLength<w+(R||0))throw new RangeError('"length" is outside of buffer bounds');let j;return j=w===void 0&&R===void 0?new Uint8Array(s):R===void 0?new Uint8Array(s,w):new Uint8Array(s,w,R),Object.setPrototypeOf(j,p.prototype),j}function u(s){if(s>=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|s}function m(s,w){if(p.isBuffer(s))return s.length;if(ArrayBuffer.isView(s)||it(s,ArrayBuffer))return s.byteLength;if(typeof s!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof s);const R=s.length,j=arguments.length>2&&arguments[2]===!0;if(!j&&R===0)return 0;let X=!1;for(;;)switch(w){case"ascii":case"latin1":case"binary":return R;case"utf8":case"utf-8":return st(s).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*R;case"hex":return R>>>1;case"base64":return ht(s).length;default:if(X)return j?-1:st(s).length;w=(""+w).toLowerCase(),X=!0}}function E(s,w,R){let j=!1;if((w===void 0||w<0)&&(w=0),w>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0)<=(w>>>=0))return"";for(s||(s="utf8");;)switch(s){case"hex":return at(this,w,R);case"utf8":case"utf-8":return Q(this,w,R);case"ascii":return lt(this,w,R);case"latin1":case"binary":return rt(this,w,R);case"base64":return B(this,w,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c(this,w,R);default:if(j)throw new TypeError("Unknown encoding: "+s);s=(s+"").toLowerCase(),j=!0}}function O(s,w,R){const j=s[w];s[w]=s[R],s[R]=j}function M(s,w,R,j,X){if(s.length===0)return-1;if(typeof R=="string"?(j=R,R=0):R>2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),wt(R=+R)&&(R=X?0:s.length-1),R<0&&(R=s.length+R),R>=s.length){if(X)return-1;R=s.length-1}else if(R<0){if(!X)return-1;R=0}if(typeof w=="string"&&(w=p.from(w,j)),p.isBuffer(w))return w.length===0?-1:d(s,w,R,j,X);if(typeof w=="number")return w&=255,typeof Uint8Array.prototype.indexOf=="function"?X?Uint8Array.prototype.indexOf.call(s,w,R):Uint8Array.prototype.lastIndexOf.call(s,w,R):d(s,[w],R,j,X);throw new TypeError("val must be string, number or Buffer")}function d(s,w,R,j,X){let Z,et=1,yt=s.length,At=w.length;if(j!==void 0&&((j=String(j).toLowerCase())==="ucs2"||j==="ucs-2"||j==="utf16le"||j==="utf-16le")){if(s.length<2||w.length<2)return-1;et=2,yt/=2,At/=2,R/=2}function It(Et,Rt){return et===1?Et[Rt]:Et.readUInt16BE(Rt*et)}if(X){let Et=-1;for(Z=R;Z<yt;Z++)if(It(s,Z)===It(w,Et===-1?0:Z-Et)){if(Et===-1&&(Et=Z),Z-Et+1===At)return Et*et}else Et!==-1&&(Z-=Z-Et),Et=-1}else for(R+At>yt&&(R=yt-At),Z=R;Z>=0;Z--){let Et=!0;for(let Rt=0;Rt<At;Rt++)if(It(s,Z+Rt)!==It(w,Rt)){Et=!1;break}if(Et)return Z}return-1}function b(s,w,R,j){R=Number(R)||0;const X=s.length-R;j?(j=Number(j))>X&&(j=X):j=X;const Z=w.length;let et;for(j>Z/2&&(j=Z/2),et=0;et<j;++et){const yt=parseInt(w.substr(2*et,2),16);if(wt(yt))return et;s[R+et]=yt}return et}function C(s,w,R,j){return nt(st(w,s.length-R),s,R,j)}function x(s,w,R,j){return nt((function(X){const Z=[];for(let et=0;et<X.length;++et)Z.push(255&X.charCodeAt(et));return Z})(w),s,R,j)}function D(s,w,R,j){return nt(ht(w),s,R,j)}function n(s,w,R,j){return nt((function(X,Z){let et,yt,At;const It=[];for(let Et=0;Et<X.length&&!((Z-=2)<0);++Et)et=X.charCodeAt(Et),yt=et>>8,At=et%256,It.push(At),It.push(yt);return It})(w,s.length-R),s,R,j)}function B(s,w,R){return w===0&&R===s.length?a.fromByteArray(s):a.fromByteArray(s.slice(w,R))}function Q(s,w,R){R=Math.min(s.length,R);const j=[];let X=w;for(;X<R;){const Z=s[X];let et=null,yt=Z>239?4:Z>223?3:Z>191?2:1;if(X+yt<=R){let At,It,Et,Rt;switch(yt){case 1:Z<128&&(et=Z);break;case 2:At=s[X+1],(192&At)==128&&(Rt=(31&Z)<<6|63&At,Rt>127&&(et=Rt));break;case 3:At=s[X+1],It=s[X+2],(192&At)==128&&(192&It)==128&&(Rt=(15&Z)<<12|(63&At)<<6|63&It,Rt>2047&&(Rt<55296||Rt>57343)&&(et=Rt));break;case 4:At=s[X+1],It=s[X+2],Et=s[X+3],(192&At)==128&&(192&It)==128&&(192&Et)==128&&(Rt=(15&Z)<<18|(63&At)<<12|(63&It)<<6|63&Et,Rt>65535&&Rt<1114112&&(et=Rt))}}et===null?(et=65533,yt=1):et>65535&&(et-=65536,j.push(et>>>10&1023|55296),et=56320|1023&et),j.push(et),X+=yt}return(function(Z){const et=Z.length;if(et<=G)return String.fromCharCode.apply(String,Z);let yt="",At=0;for(;At<et;)yt+=String.fromCharCode.apply(String,Z.slice(At,At+=G));return yt})(j)}P.kMaxLength=g,p.TYPED_ARRAY_SUPPORT=(function(){try{const s=new Uint8Array(1),w={foo:function(){return 42}};return Object.setPrototypeOf(w,Uint8Array.prototype),Object.setPrototypeOf(s,w),s.foo()===42}catch{return!1}})(),p.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."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(s,w,R){return S(s,w,R)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(s,w,R){return(function(j,X,Z){return N(j),j<=0?I(j):X!==void 0?typeof Z=="string"?I(j).fill(X,Z):I(j).fill(X):I(j)})(s,w,R)},p.allocUnsafe=function(s){return _(s)},p.allocUnsafeSlow=function(s){return _(s)},p.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==p.prototype},p.compare=function(s,w){if(it(s,Uint8Array)&&(s=p.from(s,s.offset,s.byteLength)),it(w,Uint8Array)&&(w=p.from(w,w.offset,w.byteLength)),!p.isBuffer(s)||!p.isBuffer(w))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===w)return 0;let R=s.length,j=w.length;for(let X=0,Z=Math.min(R,j);X<Z;++X)if(s[X]!==w[X]){R=s[X],j=w[X];break}return R<j?-1:j<R?1:0},p.isEncoding=function(s){switch(String(s).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}},p.concat=function(s,w){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return p.alloc(0);let R;if(w===void 0)for(w=0,R=0;R<s.length;++R)w+=s[R].length;const j=p.allocUnsafe(w);let X=0;for(R=0;R<s.length;++R){let Z=s[R];if(it(Z,Uint8Array))X+Z.length>j.length?(p.isBuffer(Z)||(Z=p.from(Z)),Z.copy(j,X)):Uint8Array.prototype.set.call(j,Z,X);else{if(!p.isBuffer(Z))throw new TypeError('"list" argument must be an Array of Buffers');Z.copy(j,X)}X+=Z.length}return j},p.byteLength=m,p.prototype._isBuffer=!0,p.prototype.swap16=function(){const s=this.length;if(s%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let w=0;w<s;w+=2)O(this,w,w+1);return this},p.prototype.swap32=function(){const s=this.length;if(s%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let w=0;w<s;w+=4)O(this,w,w+3),O(this,w+1,w+2);return this},p.prototype.swap64=function(){const s=this.length;if(s%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let w=0;w<s;w+=8)O(this,w,w+7),O(this,w+1,w+6),O(this,w+2,w+5),O(this,w+3,w+4);return this},p.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?Q(this,0,s):E.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(s){if(!p.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s||p.compare(this,s)===0},p.prototype.inspect=function(){let s="";const w=P.INSPECT_MAX_BYTES;return s=this.toString("hex",0,w).replace(/(.{2})/g,"$1 ").trim(),this.length>w&&(s+=" ... "),"<Buffer "+s+">"},l&&(p.prototype[l]=p.prototype.inspect),p.prototype.compare=function(s,w,R,j,X){if(it(s,Uint8Array)&&(s=p.from(s,s.offset,s.byteLength)),!p.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(w===void 0&&(w=0),R===void 0&&(R=s?s.length:0),j===void 0&&(j=0),X===void 0&&(X=this.length),w<0||R>s.length||j<0||X>this.length)throw new RangeError("out of range index");if(j>=X&&w>=R)return 0;if(j>=X)return-1;if(w>=R)return 1;if(this===s)return 0;let Z=(X>>>=0)-(j>>>=0),et=(R>>>=0)-(w>>>=0);const yt=Math.min(Z,et),At=this.slice(j,X),It=s.slice(w,R);for(let Et=0;Et<yt;++Et)if(At[Et]!==It[Et]){Z=At[Et],et=It[Et];break}return Z<et?-1:et<Z?1:0},p.prototype.includes=function(s,w,R){return this.indexOf(s,w,R)!==-1},p.prototype.indexOf=function(s,w,R){return M(this,s,w,R,!0)},p.prototype.lastIndexOf=function(s,w,R){return M(this,s,w,R,!1)},p.prototype.write=function(s,w,R,j){if(w===void 0)j="utf8",R=this.length,w=0;else if(R===void 0&&typeof w=="string")j=w,R=this.length,w=0;else{if(!isFinite(w))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");w>>>=0,isFinite(R)?(R>>>=0,j===void 0&&(j="utf8")):(j=R,R=void 0)}const X=this.length-w;if((R===void 0||R>X)&&(R=X),s.length>0&&(R<0||w<0)||w>this.length)throw new RangeError("Attempt to write outside buffer bounds");j||(j="utf8");let Z=!1;for(;;)switch(j){case"hex":return b(this,s,w,R);case"utf8":case"utf-8":return C(this,s,w,R);case"ascii":case"latin1":case"binary":return x(this,s,w,R);case"base64":return D(this,s,w,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,s,w,R);default:if(Z)throw new TypeError("Unknown encoding: "+j);j=(""+j).toLowerCase(),Z=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function lt(s,w,R){let j="";R=Math.min(s.length,R);for(let X=w;X<R;++X)j+=String.fromCharCode(127&s[X]);return j}function rt(s,w,R){let j="";R=Math.min(s.length,R);for(let X=w;X<R;++X)j+=String.fromCharCode(s[X]);return j}function at(s,w,R){const j=s.length;(!w||w<0)&&(w=0),(!R||R<0||R>j)&&(R=j);let X="";for(let Z=w;Z<R;++Z)X+=ft[s[Z]];return X}function c(s,w,R){const j=s.slice(w,R);let X="";for(let Z=0;Z<j.length-1;Z+=2)X+=String.fromCharCode(j[Z]+256*j[Z+1]);return X}function A(s,w,R){if(s%1!=0||s<0)throw new RangeError("offset is not uint");if(s+w>R)throw new RangeError("Trying to access beyond buffer length")}function U(s,w,R,j,X,Z){if(!p.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(w>X||w<Z)throw new RangeError('"value" argument is out of bounds');if(R+j>s.length)throw new RangeError("Index out of range")}function k(s,w,R,j,X){o(w,j,X,s,R,7);let Z=Number(w&BigInt(4294967295));s[R++]=Z,Z>>=8,s[R++]=Z,Z>>=8,s[R++]=Z,Z>>=8,s[R++]=Z;let et=Number(w>>BigInt(32)&BigInt(4294967295));return s[R++]=et,et>>=8,s[R++]=et,et>>=8,s[R++]=et,et>>=8,s[R++]=et,R}function q(s,w,R,j,X){o(w,j,X,s,R,7);let Z=Number(w&BigInt(4294967295));s[R+7]=Z,Z>>=8,s[R+6]=Z,Z>>=8,s[R+5]=Z,Z>>=8,s[R+4]=Z;let et=Number(w>>BigInt(32)&BigInt(4294967295));return s[R+3]=et,et>>=8,s[R+2]=et,et>>=8,s[R+1]=et,et>>=8,s[R]=et,R+8}function F(s,w,R,j,X,Z){if(R+j>s.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function W(s,w,R,j,X){return w=+w,R>>>=0,X||F(s,0,R,4),i.write(s,w,R,j,23,4),R+4}function V(s,w,R,j,X){return w=+w,R>>>=0,X||F(s,0,R,8),i.write(s,w,R,j,52,8),R+8}p.prototype.slice=function(s,w){const R=this.length;(s=~~s)<0?(s+=R)<0&&(s=0):s>R&&(s=R),(w=w===void 0?R:~~w)<0?(w+=R)<0&&(w=0):w>R&&(w=R),w<s&&(w=s);const j=this.subarray(s,w);return Object.setPrototypeOf(j,p.prototype),j},p.prototype.readUintLE=p.prototype.readUIntLE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s],X=1,Z=0;for(;++Z<w&&(X*=256);)j+=this[s+Z]*X;return j},p.prototype.readUintBE=p.prototype.readUIntBE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s+--w],X=1;for(;w>0&&(X*=256);)j+=this[s+--w]*X;return j},p.prototype.readUint8=p.prototype.readUInt8=function(s,w){return s>>>=0,w||A(s,1,this.length),this[s]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(s,w){return s>>>=0,w||A(s,2,this.length),this[s]|this[s+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(s,w){return s>>>=0,w||A(s,2,this.length),this[s]<<8|this[s+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(s,w){return s>>>=0,w||A(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+16777216*this[s+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(s,w){return s>>>=0,w||A(s,4,this.length),16777216*this[s]+(this[s+1]<<16|this[s+2]<<8|this[s+3])},p.prototype.readBigUInt64LE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=w+256*this[++s]+65536*this[++s]+this[++s]*2**24,X=this[++s]+256*this[++s]+65536*this[++s]+R*2**24;return BigInt(j)+(BigInt(X)<<BigInt(32))})),p.prototype.readBigUInt64BE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=w*2**24+65536*this[++s]+256*this[++s]+this[++s],X=this[++s]*2**24+65536*this[++s]+256*this[++s]+R;return(BigInt(j)<<BigInt(32))+BigInt(X)})),p.prototype.readIntLE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=this[s],X=1,Z=0;for(;++Z<w&&(X*=256);)j+=this[s+Z]*X;return X*=128,j>=X&&(j-=Math.pow(2,8*w)),j},p.prototype.readIntBE=function(s,w,R){s>>>=0,w>>>=0,R||A(s,w,this.length);let j=w,X=1,Z=this[s+--j];for(;j>0&&(X*=256);)Z+=this[s+--j]*X;return X*=128,Z>=X&&(Z-=Math.pow(2,8*w)),Z},p.prototype.readInt8=function(s,w){return s>>>=0,w||A(s,1,this.length),128&this[s]?-1*(255-this[s]+1):this[s]},p.prototype.readInt16LE=function(s,w){s>>>=0,w||A(s,2,this.length);const R=this[s]|this[s+1]<<8;return 32768&R?4294901760|R:R},p.prototype.readInt16BE=function(s,w){s>>>=0,w||A(s,2,this.length);const R=this[s+1]|this[s]<<8;return 32768&R?4294901760|R:R},p.prototype.readInt32LE=function(s,w){return s>>>=0,w||A(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},p.prototype.readInt32BE=function(s,w){return s>>>=0,w||A(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},p.prototype.readBigInt64LE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=this[s+4]+256*this[s+5]+65536*this[s+6]+(R<<24);return(BigInt(j)<<BigInt(32))+BigInt(w+256*this[++s]+65536*this[++s]+this[++s]*16777216)})),p.prototype.readBigInt64BE=Tt((function(s){v(s>>>=0,"offset");const w=this[s],R=this[s+7];w!==void 0&&R!==void 0||L(s,this.length-8);const j=(w<<24)+65536*this[++s]+256*this[++s]+this[++s];return(BigInt(j)<<BigInt(32))+BigInt(this[++s]*16777216+65536*this[++s]+256*this[++s]+R)})),p.prototype.readFloatLE=function(s,w){return s>>>=0,w||A(s,4,this.length),i.read(this,s,!0,23,4)},p.prototype.readFloatBE=function(s,w){return s>>>=0,w||A(s,4,this.length),i.read(this,s,!1,23,4)},p.prototype.readDoubleLE=function(s,w){return s>>>=0,w||A(s,8,this.length),i.read(this,s,!0,52,8)},p.prototype.readDoubleBE=function(s,w){return s>>>=0,w||A(s,8,this.length),i.read(this,s,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(s,w,R,j){s=+s,w>>>=0,R>>>=0,j||U(this,s,w,R,Math.pow(2,8*R)-1,0);let X=1,Z=0;for(this[w]=255&s;++Z<R&&(X*=256);)this[w+Z]=s/X&255;return w+R},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(s,w,R,j){s=+s,w>>>=0,R>>>=0,j||U(this,s,w,R,Math.pow(2,8*R)-1,0);let X=R-1,Z=1;for(this[w+X]=255&s;--X>=0&&(Z*=256);)this[w+X]=s/Z&255;return w+R},p.prototype.writeUint8=p.prototype.writeUInt8=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,1,255,0),this[w]=255&s,w+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,65535,0),this[w]=255&s,this[w+1]=s>>>8,w+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,65535,0),this[w]=s>>>8,this[w+1]=255&s,w+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,4294967295,0),this[w+3]=s>>>24,this[w+2]=s>>>16,this[w+1]=s>>>8,this[w]=255&s,w+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,4294967295,0),this[w]=s>>>24,this[w+1]=s>>>16,this[w+2]=s>>>8,this[w+3]=255&s,w+4},p.prototype.writeBigUInt64LE=Tt((function(s,w=0){return k(this,s,w,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeBigUInt64BE=Tt((function(s,w=0){return q(this,s,w,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeIntLE=function(s,w,R,j){if(s=+s,w>>>=0,!j){const yt=Math.pow(2,8*R-1);U(this,s,w,R,yt-1,-yt)}let X=0,Z=1,et=0;for(this[w]=255&s;++X<R&&(Z*=256);)s<0&&et===0&&this[w+X-1]!==0&&(et=1),this[w+X]=(s/Z>>0)-et&255;return w+R},p.prototype.writeIntBE=function(s,w,R,j){if(s=+s,w>>>=0,!j){const yt=Math.pow(2,8*R-1);U(this,s,w,R,yt-1,-yt)}let X=R-1,Z=1,et=0;for(this[w+X]=255&s;--X>=0&&(Z*=256);)s<0&&et===0&&this[w+X+1]!==0&&(et=1),this[w+X]=(s/Z>>0)-et&255;return w+R},p.prototype.writeInt8=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,1,127,-128),s<0&&(s=255+s+1),this[w]=255&s,w+1},p.prototype.writeInt16LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,32767,-32768),this[w]=255&s,this[w+1]=s>>>8,w+2},p.prototype.writeInt16BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,2,32767,-32768),this[w]=s>>>8,this[w+1]=255&s,w+2},p.prototype.writeInt32LE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,2147483647,-2147483648),this[w]=255&s,this[w+1]=s>>>8,this[w+2]=s>>>16,this[w+3]=s>>>24,w+4},p.prototype.writeInt32BE=function(s,w,R){return s=+s,w>>>=0,R||U(this,s,w,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[w]=s>>>24,this[w+1]=s>>>16,this[w+2]=s>>>8,this[w+3]=255&s,w+4},p.prototype.writeBigInt64LE=Tt((function(s,w=0){return k(this,s,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeBigInt64BE=Tt((function(s,w=0){return q(this,s,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeFloatLE=function(s,w,R){return W(this,s,w,!0,R)},p.prototype.writeFloatBE=function(s,w,R){return W(this,s,w,!1,R)},p.prototype.writeDoubleLE=function(s,w,R){return V(this,s,w,!0,R)},p.prototype.writeDoubleBE=function(s,w,R){return V(this,s,w,!1,R)},p.prototype.copy=function(s,w,R,j){if(!p.isBuffer(s))throw new TypeError("argument should be a Buffer");if(R||(R=0),j||j===0||(j=this.length),w>=s.length&&(w=s.length),w||(w=0),j>0&&j<R&&(j=R),j===R||s.length===0||this.length===0)return 0;if(w<0)throw new RangeError("targetStart out of bounds");if(R<0||R>=this.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("sourceEnd out of bounds");j>this.length&&(j=this.length),s.length-w<j-R&&(j=s.length-w+R);const X=j-R;return this===s&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(w,R,j):Uint8Array.prototype.set.call(s,this.subarray(R,j),w),X},p.prototype.fill=function(s,w,R,j){if(typeof s=="string"){if(typeof w=="string"?(j=w,w=0,R=this.length):typeof R=="string"&&(j=R,R=this.length),j!==void 0&&typeof j!="string")throw new TypeError("encoding must be a string");if(typeof j=="string"&&!p.isEncoding(j))throw new TypeError("Unknown encoding: "+j);if(s.length===1){const Z=s.charCodeAt(0);(j==="utf8"&&Z<128||j==="latin1")&&(s=Z)}}else typeof s=="number"?s&=255:typeof s=="boolean"&&(s=Number(s));if(w<0||this.length<w||this.length<R)throw new RangeError("Out of range index");if(R<=w)return this;let X;if(w>>>=0,R=R===void 0?this.length:R>>>0,s||(s=0),typeof s=="number")for(X=w;X<R;++X)this[X]=s;else{const Z=p.isBuffer(s)?s:p.from(s,j),et=Z.length;if(et===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(X=0;X<R-w;++X)this[X+w]=Z[X%et]}return this};const $={};function K(s,w,R){$[s]=class extends R{constructor(){super(),Object.defineProperty(this,"message",{value:w.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${s}]`,this.stack,delete this.name}get code(){return s}set code(j){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:j,writable:!0})}toString(){return`${this.name} [${s}]: ${this.message}`}}}function T(s){let w="",R=s.length;const j=s[0]==="-"?1:0;for(;R>=j+4;R-=3)w=`_${s.slice(R-3,R)}${w}`;return`${s.slice(0,R)}${w}`}function o(s,w,R,j,X,Z){if(s>R||s<w){const et=typeof w=="bigint"?"n":"";let yt;throw yt=w===0||w===BigInt(0)?`>= 0${et} and < 2${et} ** ${8*(Z+1)}${et}`:`>= -(2${et} ** ${8*(Z+1)-1}${et}) and < 2 ** ${8*(Z+1)-1}${et}`,new $.ERR_OUT_OF_RANGE("value",yt,s)}(function(et,yt,At){v(yt,"offset"),et[yt]!==void 0&&et[yt+At]!==void 0||L(yt,et.length-(At+1))})(j,X,Z)}function v(s,w){if(typeof s!="number")throw new $.ERR_INVALID_ARG_TYPE(w,"number",s)}function L(s,w,R){throw Math.floor(s)!==s?(v(s,R),new $.ERR_OUT_OF_RANGE("offset","an integer",s)):w<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${w}`,s)}K("ERR_BUFFER_OUT_OF_BOUNDS",(function(s){return s?`${s} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),K("ERR_INVALID_ARG_TYPE",(function(s,w){return`The "${s}" argument must be of type number. Received type ${typeof w}`}),TypeError),K("ERR_OUT_OF_RANGE",(function(s,w,R){let j=`The value of "${s}" is out of range.`,X=R;return Number.isInteger(R)&&Math.abs(R)>4294967296?X=T(String(R)):typeof R=="bigint"&&(X=String(R),(R>BigInt(2)**BigInt(32)||R<-(BigInt(2)**BigInt(32)))&&(X=T(X)),X+="n"),j+=` It must be ${w}. Received ${X}`,j}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function st(s,w){let R;w=w||1/0;const j=s.length;let X=null;const Z=[];for(let et=0;et<j;++et){if(R=s.charCodeAt(et),R>55295&&R<57344){if(!X){if(R>56319){(w-=3)>-1&&Z.push(239,191,189);continue}if(et+1===j){(w-=3)>-1&&Z.push(239,191,189);continue}X=R;continue}if(R<56320){(w-=3)>-1&&Z.push(239,191,189),X=R;continue}R=65536+(X-55296<<10|R-56320)}else X&&(w-=3)>-1&&Z.push(239,191,189);if(X=null,R<128){if((w-=1)<0)break;Z.push(R)}else if(R<2048){if((w-=2)<0)break;Z.push(R>>6|192,63&R|128)}else if(R<65536){if((w-=3)<0)break;Z.push(R>>12|224,R>>6&63|128,63&R|128)}else{if(!(R<1114112))throw new Error("Invalid code point");if((w-=4)<0)break;Z.push(R>>18|240,R>>12&63|128,R>>6&63|128,63&R|128)}}return Z}function ht(s){return a.toByteArray((function(w){if((w=(w=w.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;w.length%4!=0;)w+="=";return w})(s))}function nt(s,w,R,j){let X;for(X=0;X<j&&!(X+R>=w.length||X>=s.length);++X)w[X+R]=s[X];return X}function it(s,w){return s instanceof w||s!=null&&s.constructor!=null&&s.constructor.name!=null&&s.constructor.name===w.name}function wt(s){return s!=s}const ft=(function(){const s="0123456789abcdef",w=new Array(256);for(let R=0;R<16;++R){const j=16*R;for(let X=0;X<16;++X)w[j+X]=s[R]+s[X]}return w})();function Tt(s){return typeof BigInt>"u"?Ft:s}function Ft(){throw new Error("BigInt not supported")}},7187:z=>{var P,r=typeof Reflect=="object"?Reflect:null,a=r&&typeof r.apply=="function"?r.apply:function(E,O,M){return Function.prototype.apply.call(E,O,M)};P=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:function(E){return Object.getOwnPropertyNames(E)};var i=Number.isNaN||function(E){return E!=E};function l(){l.init.call(this)}z.exports=l,z.exports.once=function(E,O){return new Promise((function(M,d){function b(x){E.removeListener(O,C),d(x)}function C(){typeof E.removeListener=="function"&&E.removeListener("error",b),M([].slice.call(arguments))}m(E,O,C,{once:!0}),O!=="error"&&(function(x,D,n){typeof x.on=="function"&&m(x,"error",D,{once:!0})})(E,b)}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var g=10;function I(E){if(typeof E!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof E)}function p(E){return E._maxListeners===void 0?l.defaultMaxListeners:E._maxListeners}function S(E,O,M,d){var b,C,x,D;if(I(M),(C=E._events)===void 0?(C=E._events=Object.create(null),E._eventsCount=0):(C.newListener!==void 0&&(E.emit("newListener",O,M.listener?M.listener:M),C=E._events),x=C[O]),x===void 0)x=C[O]=M,++E._eventsCount;else if(typeof x=="function"?x=C[O]=d?[M,x]:[x,M]:d?x.unshift(M):x.push(M),(b=p(E))>0&&x.length>b&&!x.warned){x.warned=!0;var n=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+String(O)+" listeners added. Use emitter.setMaxListeners() to increase limit");n.name="MaxListenersExceededWarning",n.emitter=E,n.type=O,n.count=x.length,D=n,console&&console.warn&&console.warn(D)}return E}function N(){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 _(E,O,M){var d={fired:!1,wrapFn:void 0,target:E,type:O,listener:M},b=N.bind(d);return b.listener=M,d.wrapFn=b,b}function y(E,O,M){var d=E._events;if(d===void 0)return[];var b=d[O];return b===void 0?[]:typeof b=="function"?M?[b.listener||b]:[b]:M?(function(C){for(var x=new Array(C.length),D=0;D<x.length;++D)x[D]=C[D].listener||C[D];return x})(b):u(b,b.length)}function h(E){var O=this._events;if(O!==void 0){var M=O[E];if(typeof M=="function")return 1;if(M!==void 0)return M.length}return 0}function u(E,O){for(var M=new Array(O),d=0;d<O;++d)M[d]=E[d];return M}function m(E,O,M,d){if(typeof E.on=="function")d.once?E.once(O,M):E.on(O,M);else{if(typeof E.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof E);E.addEventListener(O,(function b(C){d.once&&E.removeEventListener(O,b),M(C)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return g},set:function(E){if(typeof E!="number"||E<0||i(E))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+E+".");g=E}}),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(E){if(typeof E!="number"||E<0||i(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this},l.prototype.getMaxListeners=function(){return p(this)},l.prototype.emit=function(E){for(var O=[],M=1;M<arguments.length;M++)O.push(arguments[M]);var d=E==="error",b=this._events;if(b!==void 0)d=d&&b.error===void 0;else if(!d)return!1;if(d){var C;if(O.length>0&&(C=O[0]),C instanceof Error)throw C;var x=new Error("Unhandled error."+(C?" ("+C.message+")":""));throw x.context=C,x}var D=b[E];if(D===void 0)return!1;if(typeof D=="function")a(D,this,O);else{var n=D.length,B=u(D,n);for(M=0;M<n;++M)a(B[M],this,O)}return!0},l.prototype.addListener=function(E,O){return S(this,E,O,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(E,O){return S(this,E,O,!0)},l.prototype.once=function(E,O){return I(O),this.on(E,_(this,E,O)),this},l.prototype.prependOnceListener=function(E,O){return I(O),this.prependListener(E,_(this,E,O)),this},l.prototype.removeListener=function(E,O){var M,d,b,C,x;if(I(O),(d=this._events)===void 0)return this;if((M=d[E])===void 0)return this;if(M===O||M.listener===O)--this._eventsCount==0?this._events=Object.create(null):(delete d[E],d.removeListener&&this.emit("removeListener",E,M.listener||O));else if(typeof M!="function"){for(b=-1,C=M.length-1;C>=0;C--)if(M[C]===O||M[C].listener===O){x=M[C].listener,b=C;break}if(b<0)return this;b===0?M.shift():(function(D,n){for(;n+1<D.length;n++)D[n]=D[n+1];D.pop()})(M,b),M.length===1&&(d[E]=M[0]),d.removeListener!==void 0&&this.emit("removeListener",E,x||O)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(E){var O,M,d;if((M=this._events)===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[E]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete M[E]),this;if(arguments.length===0){var b,C=Object.keys(M);for(d=0;d<C.length;++d)(b=C[d])!=="removeListener"&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(O=M[E])=="function")this.removeListener(E,O);else if(O!==void 0)for(d=O.length-1;d>=0;d--)this.removeListener(E,O[d]);return this},l.prototype.listeners=function(E){return y(this,E,!0)},l.prototype.rawListeners=function(E){return y(this,E,!1)},l.listenerCount=function(E,O){return typeof E.listenerCount=="function"?E.listenerCount(O):h.call(E,O)},l.prototype.listenerCount=h,l.prototype.eventNames=function(){return this._eventsCount>0?P(this._events):[]}},645:(z,P)=>{P.read=function(r,a,i,l,g){var I,p,S=8*g-l-1,N=(1<<S)-1,_=N>>1,y=-7,h=i?g-1:0,u=i?-1:1,m=r[a+h];for(h+=u,I=m&(1<<-y)-1,m>>=-y,y+=S;y>0;I=256*I+r[a+h],h+=u,y-=8);for(p=I&(1<<-y)-1,I>>=-y,y+=l;y>0;p=256*p+r[a+h],h+=u,y-=8);if(I===0)I=1-_;else{if(I===N)return p?NaN:1/0*(m?-1:1);p+=Math.pow(2,l),I-=_}return(m?-1:1)*p*Math.pow(2,I-l)},P.write=function(r,a,i,l,g,I){var p,S,N,_=8*I-g-1,y=(1<<_)-1,h=y>>1,u=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=l?0:I-1,E=l?1:-1,O=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(S=isNaN(a)?1:0,p=y):(p=Math.floor(Math.log(a)/Math.LN2),a*(N=Math.pow(2,-p))<1&&(p--,N*=2),(a+=p+h>=1?u/N:u*Math.pow(2,1-h))*N>=2&&(p++,N/=2),p+h>=y?(S=0,p=y):p+h>=1?(S=(a*N-1)*Math.pow(2,g),p+=h):(S=a*Math.pow(2,h-1)*Math.pow(2,g),p=0));g>=8;r[i+m]=255&S,m+=E,S/=256,g-=8);for(p=p<<g|S,_+=g;_>0;r[i+m]=255&p,m+=E,p/=256,_-=8);r[i+m-E]|=128*O}},5705:(z,P,r)=>{var a,i,l=r.g.MutationObserver||r.g.WebKitMutationObserver;if(l){var g=0,I=new l(_),p=r.g.document.createTextNode("");I.observe(p,{characterData:!0}),a=function(){p.data=g=++g%2}}else if(r.g.setImmediate||r.g.MessageChannel===void 0)a="document"in r.g&&"onreadystatechange"in r.g.document.createElement("script")?function(){var y=r.g.document.createElement("script");y.onreadystatechange=function(){_(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},r.g.document.documentElement.appendChild(y)}:function(){setTimeout(_,0)};else{var S=new r.g.MessageChannel;S.port1.onmessage=_,a=function(){S.port2.postMessage(0)}}var N=[];function _(){var y,h;i=!0;for(var u=N.length;u;){for(h=N,N=[],y=-1;++y<u;)h[y]();u=N.length}i=!1}z.exports=function(y){N.push(y)!==1||i||a()}},5717:z=>{typeof Object.create=="function"?z.exports=function(P,r){r&&(P.super_=r,P.prototype=Object.create(r.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}))}:z.exports=function(P,r){if(r){P.super_=r;var a=function(){};a.prototype=r.prototype,P.prototype=new a,P.prototype.constructor=P}}},8458:(z,P,r)=>{var a=r(8910),i=r(3790),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";P.encode=function(g){for(var I,p,S,N,_,y,h,u=[],m=0,E=g.length,O=E,M=a.getTypeOf(g)!=="string";m<g.length;)O=E-m,M?(I=g[m++],p=m<E?g[m++]:0,S=m<E?g[m++]:0):(I=g.charCodeAt(m++),p=m<E?g.charCodeAt(m++):0,S=m<E?g.charCodeAt(m++):0),N=I>>2,_=(3&I)<<4|p>>4,y=O>1?(15&p)<<2|S>>6:64,h=O>2?63&S:64,u.push(l.charAt(N)+l.charAt(_)+l.charAt(y)+l.charAt(h));return u.join("")},P.decode=function(g){var I,p,S,N,_,y,h=0,u=0,m="data:";if(g.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var E,O=3*(g=g.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(g.charAt(g.length-1)===l.charAt(64)&&O--,g.charAt(g.length-2)===l.charAt(64)&&O--,O%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=i.uint8array?new Uint8Array(0|O):new Array(0|O);h<g.length;)I=l.indexOf(g.charAt(h++))<<2|(N=l.indexOf(g.charAt(h++)))>>4,p=(15&N)<<4|(_=l.indexOf(g.charAt(h++)))>>2,S=(3&_)<<6|(y=l.indexOf(g.charAt(h++))),E[u++]=I,_!==64&&(E[u++]=p),y!==64&&(E[u++]=S);return E}},7326:(z,P,r)=>{var a=r(8565),i=r(5301),l=r(2541),g=r(5977);function I(p,S,N,_,y){this.compressedSize=p,this.uncompressedSize=S,this.crc32=N,this.compression=_,this.compressedContent=y}I.prototype={getContentWorker:function(){var p=new i(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),S=this;return p.on("end",(function(){if(this.streamInfo.data_length!==S.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),p},getCompressedWorker:function(){return new i(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},I.createWorkerFrom=function(p,S,N){return p.pipe(new l).pipe(new g("uncompressedSize")).pipe(S.compressWorker(N)).pipe(new g("compressedSize")).withStreamInfo("compression",S)},z.exports=I},1678:(z,P,r)=>{var a=r(3718);P.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},P.DEFLATE=r(1033)},6988:(z,P,r)=>{var a=r(8910),i=(function(){for(var l,g=[],I=0;I<256;I++){l=I;for(var p=0;p<8;p++)l=1&l?3988292384^l>>>1:l>>>1;g[I]=l}return g})();z.exports=function(l,g){return l!==void 0&&l.length?a.getTypeOf(l)!=="string"?(function(I,p,S,N){var _=i,y=0+S;I^=-1;for(var h=0;h<y;h++)I=I>>>8^_[255&(I^p[h])];return-1^I})(0|g,l,l.length):(function(I,p,S,N){var _=i,y=0+S;I^=-1;for(var h=0;h<y;h++)I=I>>>8^_[255&(I^p.charCodeAt(h))];return-1^I})(0|g,l,l.length):0}},6032:(z,P)=>{P.base64=!1,P.binary=!1,P.dir=!1,P.createFolders=!0,P.date=null,P.compression=null,P.compressionOptions=null,P.comment=null,P.unixPermissions=null,P.dosPermissions=null},8565:(z,P,r)=>{var a;a=typeof Promise<"u"?Promise:r(3389),z.exports={Promise:a}},1033:(z,P,r)=>{var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",i=r(9591),l=r(8910),g=r(3718),I=a?"uint8array":"array";function p(S,N){g.call(this,"FlateWorker/"+S),this._pako=null,this._pakoAction=S,this._pakoOptions=N,this.meta={}}P.magic="\b\0",l.inherits(p,g),p.prototype.processChunk=function(S){this.meta=S.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(I,S.data),!1)},p.prototype.flush=function(){g.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},p.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},p.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var S=this;this._pako.onData=function(N){S.push({data:N,meta:S.meta})}},P.compressWorker=function(S){return new p("Deflate",S)},P.uncompressWorker=function(){return new p("Inflate",{})}},4979:(z,P,r)=>{var a=r(8910),i=r(3718),l=r(3600),g=r(6988),I=r(1141),p=function(y,h){var u,m="";for(u=0;u<h;u++)m+=String.fromCharCode(255&y),y>>>=8;return m},S=function(y,h,u,m,E,O){var M,d,b=y.file,C=y.compression,x=O!==l.utf8encode,D=a.transformTo("string",O(b.name)),n=a.transformTo("string",l.utf8encode(b.name)),B=b.comment,Q=a.transformTo("string",O(B)),G=a.transformTo("string",l.utf8encode(B)),lt=n.length!==b.name.length,rt=G.length!==B.length,at="",c="",A="",U=b.dir,k=b.date,q={crc32:0,compressedSize:0,uncompressedSize:0};h&&!u||(q.crc32=y.crc32,q.compressedSize=y.compressedSize,q.uncompressedSize=y.uncompressedSize);var F=0;h&&(F|=8),x||!lt&&!rt||(F|=2048);var W,V,$=0,K=0;U&&($|=16),E==="UNIX"?(K=798,$|=(V=W=b.unixPermissions,W||(V=U?16893:33204),(65535&V)<<16)):(K=20,$|=63&(b.dosPermissions||0)),M=k.getUTCHours(),M<<=6,M|=k.getUTCMinutes(),M<<=5,M|=k.getUTCSeconds()/2,d=k.getUTCFullYear()-1980,d<<=4,d|=k.getUTCMonth()+1,d<<=5,d|=k.getUTCDate(),lt&&(c=p(1,1)+p(g(D),4)+n,at+="up"+p(c.length,2)+c),rt&&(A=p(1,1)+p(g(Q),4)+G,at+="uc"+p(A.length,2)+A);var T="";return T+=`
|
|
2
2
|
\0`,T+=p(F,2),T+=C.magic,T+=p(M,2),T+=p(d,2),T+=p(q.crc32,4),T+=p(q.compressedSize,4),T+=p(q.uncompressedSize,4),T+=p(D.length,2),T+=p(at.length,2),{fileRecord:I.LOCAL_FILE_HEADER+T+D+at,dirRecord:I.CENTRAL_FILE_HEADER+p(K,2)+T+p(Q.length,2)+"\0\0\0\0"+p($,4)+p(m,4)+D+at+Q}},N=function(y){return I.DATA_DESCRIPTOR+p(y.crc32,4)+p(y.compressedSize,4)+p(y.uncompressedSize,4)};function _(y,h,u,m){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=u,this.encodeFileName=m,this.streamFiles=y,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(_,i),_.prototype.push=function(y){var h=y.meta.percent||0,u=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(y):(this.bytesWritten+=y.data.length,i.prototype.push.call(this,{data:y.data,meta:{currentFile:this.currentFile,percent:u?(h+100*(u-m-1))/u:100}}))},_.prototype.openedSource=function(y){this.currentSourceOffset=this.bytesWritten,this.currentFile=y.file.name;var h=this.streamFiles&&!y.file.dir;if(h){var u=S(y,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_.prototype.closedSource=function(y){this.accumulate=!1;var h=this.streamFiles&&!y.file.dir,u=S(y,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),h)this.push({data:N(y),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},_.prototype.flush=function(){for(var y=this.bytesWritten,h=0;h<this.dirRecords.length;h++)this.push({data:this.dirRecords[h],meta:{percent:100}});var u=this.bytesWritten-y,m=(function(E,O,M,d,b){var C=a.transformTo("string",b(d));return I.CENTRAL_DIRECTORY_END+"\0\0\0\0"+p(E,2)+p(E,2)+p(O,4)+p(M,4)+p(C.length,2)+C})(this.dirRecords.length,u,y,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},_.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},_.prototype.registerPrevious=function(y){this._sources.push(y);var h=this;return y.on("data",(function(u){h.processChunk(u)})),y.on("end",(function(){h.closedSource(h.previous.streamInfo),h._sources.length?h.prepareNextSource():h.end()})),y.on("error",(function(u){h.error(u)})),this},_.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},_.prototype.error=function(y){var h=this._sources;if(!i.prototype.error.call(this,y))return!1;for(var u=0;u<h.length;u++)try{h[u].error(y)}catch{}return!0},_.prototype.lock=function(){i.prototype.lock.call(this);for(var y=this._sources,h=0;h<y.length;h++)y[h].lock()},z.exports=_},7834:(z,P,r)=>{var a=r(1678),i=r(4979);P.generateWorker=function(l,g,I){var p=new i(g.streamFiles,I,g.platform,g.encodeFileName),S=0;try{l.forEach((function(N,_){S++;var y=(function(E,O){var M=E||O,d=a[M];if(!d)throw new Error(M+" is not a valid compression method !");return d})(_.options.compression,g.compression),h=_.options.compressionOptions||g.compressionOptions||{},u=_.dir,m=_.date;_._compressWorker(y,h).withStreamInfo("file",{name:N,dir:u,date:m,comment:_.comment||"",unixPermissions:_.unixPermissions,dosPermissions:_.dosPermissions}).pipe(p)})),p.entriesCount=S}catch(N){p.error(N)}return p}},6085:(z,P,r)=>{function a(){if(!(this instanceof a))return new a;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 i=new a;for(var l in this)typeof this[l]!="function"&&(i[l]=this[l]);return i}}a.prototype=r(7132),a.prototype.loadAsync=r(1062),a.support=r(3790),a.defaults=r(6032),a.version="3.10.1",a.loadAsync=function(i,l){return new a().loadAsync(i,l)},a.external=r(8565),z.exports=a},1062:(z,P,r)=>{var a=r(8910),i=r(8565),l=r(3600),g=r(6624),I=r(2541),p=r(2182);function S(N){return new i.Promise((function(_,y){var h=N.decompressed.getContentWorker().pipe(new I);h.on("error",(function(u){y(u)})).on("end",(function(){h.streamInfo.crc32!==N.decompressed.crc32?y(new Error("Corrupted zip : CRC32 mismatch")):_()})).resume()}))}z.exports=function(N,_){var y=this;return _=a.extend(_||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),p.isNode&&p.isStream(N)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",N,!0,_.optimizedBinaryString,_.base64).then((function(h){var u=new g(_);return u.load(h),u})).then((function(h){var u=[i.Promise.resolve(h)],m=h.files;if(_.checkCRC32)for(var E=0;E<m.length;E++)u.push(S(m[E]));return i.Promise.all(u)})).then((function(h){for(var u=h.shift(),m=u.files,E=0;E<m.length;E++){var O=m[E],M=O.fileNameStr,d=a.resolve(O.fileNameStr);y.file(d,O.decompressed,{binary:!0,optimizedBinaryString:!0,date:O.date,dir:O.dir,comment:O.fileCommentStr.length?O.fileCommentStr:null,unixPermissions:O.unixPermissions,dosPermissions:O.dosPermissions,createFolders:_.createFolders}),O.dir||(y.file(d).unsafeOriginalName=M)}return u.zipComment.length&&(y.comment=u.zipComment),y}))}},2182:z=>{z.exports={isNode:typeof Buffer<"u",newBufferFrom:function(P,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(P,r);if(typeof P=="number")throw new Error('The "data" argument must not be a number');return new Buffer(P,r)},allocBuffer:function(P){if(Buffer.alloc)return Buffer.alloc(P);var r=new Buffer(P);return r.fill(0),r},isBuffer:function(P){return Buffer.isBuffer(P)},isStream:function(P){return P&&typeof P.on=="function"&&typeof P.pause=="function"&&typeof P.resume=="function"}}},660:(z,P,r)=>{var a=r(8910),i=r(3718);function l(g,I){i.call(this,"Nodejs stream input adapter for "+g),this._upstreamEnded=!1,this._bindStream(I)}a.inherits(l,i),l.prototype._bindStream=function(g){var I=this;this._stream=g,g.pause(),g.on("data",(function(p){I.push({data:p,meta:{percent:0}})})).on("error",(function(p){I.isPaused?this.generatedError=p:I.error(p)})).on("end",(function(){I.isPaused?I._upstreamEnded=!0:I.end()}))},l.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},l.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},z.exports=l},1220:(z,P,r)=>{var a=r(749).Readable;function i(l,g,I){a.call(this,g),this._helper=l;var p=this;l.on("data",(function(S,N){p.push(S)||p._helper.pause(),I&&I(N)})).on("error",(function(S){p.emit("error",S)})).on("end",(function(){p.push(null)}))}r(8910).inherits(i,a),i.prototype._read=function(){this._helper.resume()},z.exports=i},7132:(z,P,r)=>{var a=r(3600),i=r(8910),l=r(3718),g=r(1285),I=r(6032),p=r(7326),S=r(6859),N=r(7834),_=r(2182),y=r(660),h=function(d,b,C){var x,D=i.getTypeOf(b),n=i.extend(C||{},I);n.date=n.date||new Date,n.compression!==null&&(n.compression=n.compression.toUpperCase()),typeof n.unixPermissions=="string"&&(n.unixPermissions=parseInt(n.unixPermissions,8)),n.unixPermissions&&16384&n.unixPermissions&&(n.dir=!0),n.dosPermissions&&16&n.dosPermissions&&(n.dir=!0),n.dir&&(d=m(d)),n.createFolders&&(x=u(d))&&E.call(this,x,!0);var B=D==="string"&&n.binary===!1&&n.base64===!1;C&&C.binary!==void 0||(n.binary=!B),(b instanceof p&&b.uncompressedSize===0||n.dir||!b||b.length===0)&&(n.base64=!1,n.binary=!0,b="",n.compression="STORE",D="string");var Q;Q=b instanceof p||b instanceof l?b:_.isNode&&_.isStream(b)?new y(d,b):i.prepareContent(d,b,n.binary,n.optimizedBinaryString,n.base64);var G=new S(d,Q,n);this.files[d]=G},u=function(d){d.slice(-1)==="/"&&(d=d.substring(0,d.length-1));var b=d.lastIndexOf("/");return b>0?d.substring(0,b):""},m=function(d){return d.slice(-1)!=="/"&&(d+="/"),d},E=function(d,b){return b=b!==void 0?b:I.createFolders,d=m(d),this.files[d]||h.call(this,d,null,{dir:!0,createFolders:b}),this.files[d]};function O(d){return Object.prototype.toString.call(d)==="[object RegExp]"}var M={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(d){var b,C,x;for(b in this.files)x=this.files[b],(C=b.slice(this.root.length,b.length))&&b.slice(0,this.root.length)===this.root&&d(C,x)},filter:function(d){var b=[];return this.forEach((function(C,x){d(C,x)&&b.push(x)})),b},file:function(d,b,C){if(arguments.length===1){if(O(d)){var x=d;return this.filter((function(n,B){return!B.dir&&x.test(n)}))}var D=this.files[this.root+d];return D&&!D.dir?D:null}return d=this.root+d,h.call(this,d,b,C),this},folder:function(d){if(!d)return this;if(O(d))return this.filter((function(D,n){return n.dir&&d.test(D)}));var b=this.root+d,C=E.call(this,b),x=this.clone();return x.root=C.name,x},remove:function(d){d=this.root+d;var b=this.files[d];if(b||(d.slice(-1)!=="/"&&(d+="/"),b=this.files[d]),b&&!b.dir)delete this.files[d];else for(var C=this.filter((function(D,n){return n.name.slice(0,d.length)===d})),x=0;x<C.length;x++)delete this.files[C[x].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(d){var b,C={};try{if((C=i.extend(d||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=C.type.toLowerCase(),C.compression=C.compression.toUpperCase(),C.type==="binarystring"&&(C.type="string"),!C.type)throw new Error("No output type specified.");i.checkSupport(C.type),C.platform!=="darwin"&&C.platform!=="freebsd"&&C.platform!=="linux"&&C.platform!=="sunos"||(C.platform="UNIX"),C.platform==="win32"&&(C.platform="DOS");var x=C.comment||this.comment||"";b=N.generateWorker(this,C,x)}catch(D){(b=new l("error")).error(D)}return new g(b,C.type||"string",C.mimeType)},generateAsync:function(d,b){return this.generateInternalStream(d).accumulate(b)},generateNodeStream:function(d,b){return(d=d||{}).type||(d.type="nodebuffer"),this.generateInternalStream(d).toNodejsStream(b)}};z.exports=M},749:(z,P,r)=>{z.exports=r(2830)},2370:(z,P,r)=>{var a=r(8542);function i(l){a.call(this,l);for(var g=0;g<this.data.length;g++)l[g]=255&l[g]}r(8910).inherits(i,a),i.prototype.byteAt=function(l){return this.data[this.zero+l]},i.prototype.lastIndexOfSignature=function(l){for(var g=l.charCodeAt(0),I=l.charCodeAt(1),p=l.charCodeAt(2),S=l.charCodeAt(3),N=this.length-4;N>=0;--N)if(this.data[N]===g&&this.data[N+1]===I&&this.data[N+2]===p&&this.data[N+3]===S)return N-this.zero;return-1},i.prototype.readAndCheckSignature=function(l){var g=l.charCodeAt(0),I=l.charCodeAt(1),p=l.charCodeAt(2),S=l.charCodeAt(3),N=this.readData(4);return g===N[0]&&I===N[1]&&p===N[2]&&S===N[3]},i.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var g=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,g},z.exports=i},8542:(z,P,r)=>{var a=r(8910);function i(l){this.data=l,this.length=l.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(l){this.checkIndex(this.index+l)},checkIndex:function(l){if(this.length<this.zero+l||l<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+l+"). Corrupted zip ?")},setIndex:function(l){this.checkIndex(l),this.index=l},skip:function(l){this.setIndex(this.index+l)},byteAt:function(){},readInt:function(l){var g,I=0;for(this.checkOffset(l),g=this.index+l-1;g>=this.index;g--)I=(I<<8)+this.byteAt(g);return this.index+=l,I},readString:function(l){return a.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},z.exports=i},9583:(z,P,r)=>{var a=r(414);function i(l){a.call(this,l)}r(8910).inherits(i,a),i.prototype.readData=function(l){this.checkOffset(l);var g=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,g},z.exports=i},9226:(z,P,r)=>{var a=r(8542);function i(l){a.call(this,l)}r(8910).inherits(i,a),i.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},i.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},i.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},i.prototype.readData=function(l){this.checkOffset(l);var g=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,g},z.exports=i},414:(z,P,r)=>{var a=r(2370);function i(l){a.call(this,l)}r(8910).inherits(i,a),i.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var g=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,g},z.exports=i},8435:(z,P,r)=>{var a=r(8910),i=r(3790),l=r(2370),g=r(9226),I=r(9583),p=r(414);z.exports=function(S){var N=a.getTypeOf(S);return a.checkSupport(N),N!=="string"||i.uint8array?N==="nodebuffer"?new I(S):i.uint8array?new p(a.transformTo("uint8array",S)):new l(a.transformTo("array",S)):new g(S)}},1141:(z,P)=>{P.LOCAL_FILE_HEADER="PK",P.CENTRAL_FILE_HEADER="PK",P.CENTRAL_DIRECTORY_END="PK",P.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",P.ZIP64_CENTRAL_DIRECTORY_END="PK",P.DATA_DESCRIPTOR="PK\x07\b"},4293:(z,P,r)=>{var a=r(3718),i=r(8910);function l(g){a.call(this,"ConvertWorker to "+g),this.destType=g}i.inherits(l,a),l.prototype.processChunk=function(g){this.push({data:i.transformTo(this.destType,g.data),meta:g.meta})},z.exports=l},2541:(z,P,r)=>{var a=r(3718),i=r(6988);function l(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r(8910).inherits(l,a),l.prototype.processChunk=function(g){this.streamInfo.crc32=i(g.data,this.streamInfo.crc32||0),this.push(g)},z.exports=l},5977:(z,P,r)=>{var a=r(8910),i=r(3718);function l(g){i.call(this,"DataLengthProbe for "+g),this.propName=g,this.withStreamInfo(g,0)}a.inherits(l,i),l.prototype.processChunk=function(g){if(g){var I=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=I+g.data.length}i.prototype.processChunk.call(this,g)},z.exports=l},5301:(z,P,r)=>{var a=r(8910),i=r(3718);function l(g){i.call(this,"DataWorker");var I=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,g.then((function(p){I.dataIsReady=!0,I.data=p,I.max=p&&p.length||0,I.type=a.getTypeOf(p),I.isPaused||I._tickAndRepeat()}),(function(p){I.error(p)}))}a.inherits(l,i),l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var g=null,I=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":g=this.data.substring(this.index,I);break;case"uint8array":g=this.data.subarray(this.index,I);break;case"array":case"nodebuffer":g=this.data.slice(this.index,I)}return this.index=I,this.push({data:g,meta:{percent:this.max?this.index/this.max*100:0}})},z.exports=l},3718:z=>{function P(r){this.name=r||"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}P.prototype={push:function(r){this.emit("data",r)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(r){this.emit("error",r)}return!0},error:function(r){return!this.isFinished&&(this.isPaused?this.generatedError=r:(this.isFinished=!0,this.emit("error",r),this.previous&&this.previous.error(r),this.cleanUp()),!0)},on:function(r,a){return this._listeners[r].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(r,a){if(this._listeners[r])for(var i=0;i<this._listeners[r].length;i++)this._listeners[r][i].call(this,a)},pipe:function(r){return r.registerPrevious(this)},registerPrevious:function(r){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=r.streamInfo,this.mergeStreamInfo(),this.previous=r;var a=this;return r.on("data",(function(i){a.processChunk(i)})),r.on("end",(function(){a.end()})),r.on("error",(function(i){a.error(i)})),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;this.isPaused=!1;var r=!1;return this.generatedError&&(this.error(this.generatedError),r=!0),this.previous&&this.previous.resume(),!r},flush:function(){},processChunk:function(r){this.push(r)},withStreamInfo:function(r,a){return this.extraStreamInfo[r]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var r in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,r)&&(this.streamInfo[r]=this.extraStreamInfo[r])},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 r="Worker "+this.name;return this.previous?this.previous+" -> "+r:r}},z.exports=P},1285:(z,P,r)=>{var a=r(8910),i=r(4293),l=r(3718),g=r(8458),I=r(3790),p=r(8565),S=null;if(I.nodestream)try{S=r(1220)}catch{}function N(_,y,h){var u=y;switch(y){case"blob":case"arraybuffer":u="uint8array";break;case"base64":u="string"}try{this._internalType=u,this._outputType=y,this._mimeType=h,a.checkSupport(u),this._worker=_.pipe(new i(u)),_.lock()}catch(m){this._worker=new l("error"),this._worker.error(m)}}N.prototype={accumulate:function(_){return y=this,h=_,new p.Promise((function(u,m){var E=[],O=y._internalType,M=y._outputType,d=y._mimeType;y.on("data",(function(b,C){E.push(b),h&&h(C)})).on("error",(function(b){E=[],m(b)})).on("end",(function(){try{var b=(function(C,x,D){switch(C){case"blob":return a.newBlob(a.transformTo("arraybuffer",x),D);case"base64":return g.encode(x);default:return a.transformTo(C,x)}})(M,(function(C,x){var D,n=0,B=null,Q=0;for(D=0;D<x.length;D++)Q+=x[D].length;switch(C){case"string":return x.join("");case"array":return Array.prototype.concat.apply([],x);case"uint8array":for(B=new Uint8Array(Q),D=0;D<x.length;D++)B.set(x[D],n),n+=x[D].length;return B;case"nodebuffer":return Buffer.concat(x);default:throw new Error("concat : unsupported type '"+C+"'")}})(O,E),d);u(b)}catch(C){m(C)}E=[]})).resume()}));var y,h},on:function(_,y){var h=this;return _==="data"?this._worker.on(_,(function(u){y.call(h,u.data,u.meta)})):this._worker.on(_,(function(){a.delay(y,arguments,h)})),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new S(this,{objectMode:this._outputType!=="nodebuffer"},_)}},z.exports=N},3790:(z,P,r)=>{if(P.base64=!0,P.array=!0,P.string=!0,P.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",P.nodebuffer=typeof Buffer<"u",P.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")P.blob=!1;else{var a=new ArrayBuffer(0);try{P.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(a),P.blob=i.getBlob("application/zip").size===0}catch{P.blob=!1}}}try{P.nodestream=!!r(749).Readable}catch{P.nodestream=!1}},3600:(z,P,r)=>{for(var a=r(8910),i=r(3790),l=r(2182),g=r(3718),I=new Array(256),p=0;p<256;p++)I[p]=p>=252?6:p>=248?5:p>=240?4:p>=224?3:p>=192?2:1;function S(){g.call(this,"utf-8 decode"),this.leftOver=null}function N(){g.call(this,"utf-8 encode")}I[254]=I[254]=1,P.utf8encode=function(_){return i.nodebuffer?l.newBufferFrom(_,"utf-8"):(function(y){var h,u,m,E,O,M=y.length,d=0;for(E=0;E<M;E++)(64512&(u=y.charCodeAt(E)))==55296&&E+1<M&&(64512&(m=y.charCodeAt(E+1)))==56320&&(u=65536+(u-55296<<10)+(m-56320),E++),d+=u<128?1:u<2048?2:u<65536?3:4;for(h=i.uint8array?new Uint8Array(d):new Array(d),O=0,E=0;O<d;E++)(64512&(u=y.charCodeAt(E)))==55296&&E+1<M&&(64512&(m=y.charCodeAt(E+1)))==56320&&(u=65536+(u-55296<<10)+(m-56320),E++),u<128?h[O++]=u:u<2048?(h[O++]=192|u>>>6,h[O++]=128|63&u):u<65536?(h[O++]=224|u>>>12,h[O++]=128|u>>>6&63,h[O++]=128|63&u):(h[O++]=240|u>>>18,h[O++]=128|u>>>12&63,h[O++]=128|u>>>6&63,h[O++]=128|63&u);return h})(_)},P.utf8decode=function(_){return i.nodebuffer?a.transformTo("nodebuffer",_).toString("utf-8"):(function(y){var h,u,m,E,O=y.length,M=new Array(2*O);for(u=0,h=0;h<O;)if((m=y[h++])<128)M[u++]=m;else if((E=I[m])>4)M[u++]=65533,h+=E-1;else{for(m&=E===2?31:E===3?15:7;E>1&&h<O;)m=m<<6|63&y[h++],E--;E>1?M[u++]=65533:m<65536?M[u++]=m:(m-=65536,M[u++]=55296|m>>10&1023,M[u++]=56320|1023&m)}return M.length!==u&&(M.subarray?M=M.subarray(0,u):M.length=u),a.applyFromCharCode(M)})(_=a.transformTo(i.uint8array?"uint8array":"array",_))},a.inherits(S,g),S.prototype.processChunk=function(_){var y=a.transformTo(i.uint8array?"uint8array":"array",_.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var h=y;(y=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),y.set(h,this.leftOver.length)}else y=this.leftOver.concat(y);this.leftOver=null}var u=(function(E,O){var M;for((O=O||E.length)>E.length&&(O=E.length),M=O-1;M>=0&&(192&E[M])==128;)M--;return M<0||M===0?O:M+I[E[M]]>O?M:O})(y),m=y;u!==y.length&&(i.uint8array?(m=y.subarray(0,u),this.leftOver=y.subarray(u,y.length)):(m=y.slice(0,u),this.leftOver=y.slice(u,y.length))),this.push({data:P.utf8decode(m),meta:_.meta})},S.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:P.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},P.Utf8DecodeWorker=S,a.inherits(N,g),N.prototype.processChunk=function(_){this.push({data:P.utf8encode(_.data),meta:_.meta})},P.Utf8EncodeWorker=N},8910:(z,P,r)=>{var a=r(3790),i=r(8458),l=r(2182),g=r(8565);function I(h){return h}function p(h,u){for(var m=0;m<h.length;++m)u[m]=255&h.charCodeAt(m);return u}r(4889),P.newBlob=function(h,u){P.checkSupport("blob");try{return new Blob([h],{type:u})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(h),m.getBlob(u)}catch{throw new Error("Bug : can't construct the Blob.")}}};var S={stringifyByChunk:function(h,u,m){var E=[],O=0,M=h.length;if(M<=m)return String.fromCharCode.apply(null,h);for(;O<M;)u==="array"||u==="nodebuffer"?E.push(String.fromCharCode.apply(null,h.slice(O,Math.min(O+m,M)))):E.push(String.fromCharCode.apply(null,h.subarray(O,Math.min(O+m,M)))),O+=m;return E.join("")},stringifyByChar:function(h){for(var u="",m=0;m<h.length;m++)u+=String.fromCharCode(h[m]);return u},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,l.allocBuffer(1)).length===1}catch{return!1}})()}};function N(h){var u=65536,m=P.getTypeOf(h),E=!0;if(m==="uint8array"?E=S.applyCanBeUsed.uint8array:m==="nodebuffer"&&(E=S.applyCanBeUsed.nodebuffer),E)for(;u>1;)try{return S.stringifyByChunk(h,m,u)}catch{u=Math.floor(u/2)}return S.stringifyByChar(h)}function _(h,u){for(var m=0;m<h.length;m++)u[m]=h[m];return u}P.applyFromCharCode=N;var y={};y.string={string:I,array:function(h){return p(h,new Array(h.length))},arraybuffer:function(h){return y.string.uint8array(h).buffer},uint8array:function(h){return p(h,new Uint8Array(h.length))},nodebuffer:function(h){return p(h,l.allocBuffer(h.length))}},y.array={string:N,array:I,arraybuffer:function(h){return new Uint8Array(h).buffer},uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(h)}},y.arraybuffer={string:function(h){return N(new Uint8Array(h))},array:function(h){return _(new Uint8Array(h),new Array(h.byteLength))},arraybuffer:I,uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(new Uint8Array(h))}},y.uint8array={string:N,array:function(h){return _(h,new Array(h.length))},arraybuffer:function(h){return h.buffer},uint8array:I,nodebuffer:function(h){return l.newBufferFrom(h)}},y.nodebuffer={string:N,array:function(h){return _(h,new Array(h.length))},arraybuffer:function(h){return y.nodebuffer.uint8array(h).buffer},uint8array:function(h){return _(h,new Uint8Array(h.length))},nodebuffer:I},P.transformTo=function(h,u){if(u||(u=""),!h)return u;P.checkSupport(h);var m=P.getTypeOf(u);return y[m][h](u)},P.resolve=function(h){for(var u=h.split("/"),m=[],E=0;E<u.length;E++){var O=u[E];O==="."||O===""&&E!==0&&E!==u.length-1||(O===".."?m.pop():m.push(O))}return m.join("/")},P.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":a.nodebuffer&&l.isBuffer(h)?"nodebuffer":a.uint8array&&h instanceof Uint8Array?"uint8array":a.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},P.checkSupport=function(h){if(!a[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},P.MAX_VALUE_16BITS=65535,P.MAX_VALUE_32BITS=-1,P.pretty=function(h){var u,m,E="";for(m=0;m<(h||"").length;m++)E+="\\x"+((u=h.charCodeAt(m))<16?"0":"")+u.toString(16).toUpperCase();return E},P.delay=function(h,u,m){setImmediate((function(){h.apply(m||null,u||[])}))},P.inherits=function(h,u){var m=function(){};m.prototype=u.prototype,h.prototype=new m},P.extend=function(){var h,u,m={};for(h=0;h<arguments.length;h++)for(u in arguments[h])Object.prototype.hasOwnProperty.call(arguments[h],u)&&m[u]===void 0&&(m[u]=arguments[h][u]);return m},P.prepareContent=function(h,u,m,E,O){return g.Promise.resolve(u).then((function(M){return a.blob&&(M instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(M))!==-1)&&typeof FileReader<"u"?new g.Promise((function(d,b){var C=new FileReader;C.onload=function(x){d(x.target.result)},C.onerror=function(x){b(x.target.error)},C.readAsArrayBuffer(M)})):M})).then((function(M){var d,b=P.getTypeOf(M);return b?(b==="arraybuffer"?M=P.transformTo("uint8array",M):b==="string"&&(O?M=i.decode(M):m&&E!==!0&&(M=p(d=M,a.uint8array?new Uint8Array(d.length):new Array(d.length)))),M):g.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},6624:(z,P,r)=>{var a=r(8435),i=r(8910),l=r(1141),g=r(9392),I=r(3790);function p(S){this.files=[],this.loadOptions=S}p.prototype={checkSignature:function(S){if(!this.reader.readAndCheckSignature(S)){this.reader.index-=4;var N=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(N)+", expected "+i.pretty(S)+")")}},isSignature:function(S,N){var _=this.reader.index;this.reader.setIndex(S);var y=this.reader.readString(4)===N;return this.reader.setIndex(_),y},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 S=this.reader.readData(this.zipCommentLength),N=I.uint8array?"uint8array":"array",_=i.transformTo(N,S);this.zipComment=this.loadOptions.decodeFileName(_)},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 S,N,_,y=this.zip64EndOfCentralSize-44;0<y;)S=this.reader.readInt(2),N=this.reader.readInt(4),_=this.reader.readData(N),this.zip64ExtensibleData[S]={id:S,length:N,value:_}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var S,N;for(S=0;S<this.files.length;S++)N=this.files[S],this.reader.setIndex(N.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),N.readLocalPart(this.reader),N.handleUTF8(),N.processAttributes()},readCentralDir:function(){var S;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER);)(S=new g({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(S);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 S=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(S<0)throw this.isSignature(0,l.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(S);var N=S;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(S=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(S),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.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(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var _=this.centralDirOffset+this.centralDirSize;this.zip64&&(_+=20,_+=12+this.zip64EndOfCentralSize);var y=N-_;if(y>0)this.isSignature(N,l.CENTRAL_FILE_HEADER)||(this.reader.zero=y);else if(y<0)throw new Error("Corrupted zip: missing "+Math.abs(y)+" bytes.")},prepareReader:function(S){this.reader=a(S)},load:function(S){this.prepareReader(S),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},z.exports=p},9392:(z,P,r)=>{var a=r(8435),i=r(8910),l=r(7326),g=r(6988),I=r(3600),p=r(1678),S=r(3790);function N(_,y){this.options=_,this.loadOptions=y}N.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(_){var y,h;if(_.skip(22),this.fileNameLength=_.readInt(2),h=_.readInt(2),this.fileName=_.readData(this.fileNameLength),_.skip(h),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((y=(function(u){for(var m in p)if(Object.prototype.hasOwnProperty.call(p,m)&&p[m].magic===u)return p[m];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new l(this.compressedSize,this.uncompressedSize,this.crc32,y,_.readData(this.compressedSize))},readCentralPart:function(_){this.versionMadeBy=_.readInt(2),_.skip(2),this.bitFlag=_.readInt(2),this.compressionMethod=_.readString(2),this.date=_.readDate(),this.crc32=_.readInt(4),this.compressedSize=_.readInt(4),this.uncompressedSize=_.readInt(4);var y=_.readInt(2);if(this.extraFieldsLength=_.readInt(2),this.fileCommentLength=_.readInt(2),this.diskNumberStart=_.readInt(2),this.internalFileAttributes=_.readInt(2),this.externalFileAttributes=_.readInt(4),this.localHeaderOffset=_.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");_.skip(y),this.readExtraFields(_),this.parseZIP64ExtraField(_),this.fileComment=_.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var _=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),_===0&&(this.dosPermissions=63&this.externalFileAttributes),_===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var _=a(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=_.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=_.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=_.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=_.readInt(4))}},readExtraFields:function(_){var y,h,u,m=_.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});_.index+4<m;)y=_.readInt(2),h=_.readInt(2),u=_.readData(h),this.extraFields[y]={id:y,length:h,value:u};_.setIndex(m)},handleUTF8:function(){var _=S.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=I.utf8decode(this.fileName),this.fileCommentStr=I.utf8decode(this.fileComment);else{var y=this.findExtraFieldUnicodePath();if(y!==null)this.fileNameStr=y;else{var h=i.transformTo(_,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var u=this.findExtraFieldUnicodeComment();if(u!==null)this.fileCommentStr=u;else{var m=i.transformTo(_,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var _=this.extraFields[28789];if(_){var y=a(_.value);return y.readInt(1)!==1||g(this.fileName)!==y.readInt(4)?null:I.utf8decode(y.readData(_.length-5))}return null},findExtraFieldUnicodeComment:function(){var _=this.extraFields[25461];if(_){var y=a(_.value);return y.readInt(1)!==1||g(this.fileComment)!==y.readInt(4)?null:I.utf8decode(y.readData(_.length-5))}return null}},z.exports=N},6859:(z,P,r)=>{var a=r(1285),i=r(5301),l=r(3600),g=r(7326),I=r(3718),p=function(y,h,u){this.name=y,this.dir=u.dir,this.date=u.date,this.comment=u.comment,this.unixPermissions=u.unixPermissions,this.dosPermissions=u.dosPermissions,this._data=h,this._dataBinary=u.binary,this.options={compression:u.compression,compressionOptions:u.compressionOptions}};p.prototype={internalStream:function(y){var h=null,u="string";try{if(!y)throw new Error("No output type specified.");var m=(u=y.toLowerCase())==="string"||u==="text";u!=="binarystring"&&u!=="text"||(u="string"),h=this._decompressWorker();var E=!this._dataBinary;E&&!m&&(h=h.pipe(new l.Utf8EncodeWorker)),!E&&m&&(h=h.pipe(new l.Utf8DecodeWorker))}catch(O){(h=new I("error")).error(O)}return new a(h,u,"")},async:function(y,h){return this.internalStream(y).accumulate(h)},nodeStream:function(y,h){return this.internalStream(y||"nodebuffer").toNodejsStream(h)},_compressWorker:function(y,h){if(this._data instanceof g&&this._data.compression.magic===y.magic)return this._data.getCompressedWorker();var u=this._decompressWorker();return this._dataBinary||(u=u.pipe(new l.Utf8EncodeWorker)),g.createWorkerFrom(u,y,h)},_decompressWorker:function(){return this._data instanceof g?this._data.getContentWorker():this._data instanceof I?this._data:new i(this._data)}};for(var S=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],N=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},_=0;_<S.length;_++)p.prototype[S[_]]=N;z.exports=p},3389:(z,P,r)=>{var a=r(5705);function i(){}var l={},g=["REJECTED"],I=["FULFILLED"],p=["PENDING"];function S(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,m!==i&&h(this,m)}function N(m,E,O){this.promise=m,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof O=="function"&&(this.onRejected=O,this.callRejected=this.otherCallRejected)}function _(m,E,O){a((function(){var M;try{M=E(O)}catch(d){return l.reject(m,d)}M===m?l.reject(m,new TypeError("Cannot resolve promise with itself")):l.resolve(m,M)}))}function y(m){var E=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof E=="function")return function(){E.apply(m,arguments)}}function h(m,E){var O=!1;function M(C){O||(O=!0,l.reject(m,C))}function d(C){O||(O=!0,l.resolve(m,C))}var b=u((function(){E(d,M)}));b.status==="error"&&M(b.value)}function u(m,E){var O={};try{O.value=m(E),O.status="success"}catch(M){O.status="error",O.value=M}return O}z.exports=S,S.prototype.finally=function(m){if(typeof m!="function")return this;var E=this.constructor;return this.then((function(O){return E.resolve(m()).then((function(){return O}))}),(function(O){return E.resolve(m()).then((function(){throw O}))}))},S.prototype.catch=function(m){return this.then(null,m)},S.prototype.then=function(m,E){if(typeof m!="function"&&this.state===I||typeof E!="function"&&this.state===g)return this;var O=new this.constructor(i);return this.state!==p?_(O,this.state===I?m:E,this.outcome):this.queue.push(new N(O,m,E)),O},N.prototype.callFulfilled=function(m){l.resolve(this.promise,m)},N.prototype.otherCallFulfilled=function(m){_(this.promise,this.onFulfilled,m)},N.prototype.callRejected=function(m){l.reject(this.promise,m)},N.prototype.otherCallRejected=function(m){_(this.promise,this.onRejected,m)},l.resolve=function(m,E){var O=u(y,E);if(O.status==="error")return l.reject(m,O.value);var M=O.value;if(M)h(m,M);else{m.state=I,m.outcome=E;for(var d=-1,b=m.queue.length;++d<b;)m.queue[d].callFulfilled(E)}return m},l.reject=function(m,E){m.state=g,m.outcome=E;for(var O=-1,M=m.queue.length;++O<M;)m.queue[O].callRejected(E);return m},S.resolve=function(m){return m instanceof this?m:l.resolve(new this(i),m)},S.reject=function(m){var E=new this(i);return l.reject(E,m)},S.all=function(m){var E=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var O=m.length,M=!1;if(!O)return this.resolve([]);for(var d=new Array(O),b=0,C=-1,x=new this(i);++C<O;)D(m[C],C);return x;function D(n,B){E.resolve(n).then((function(Q){d[B]=Q,++b!==O||M||(M=!0,l.resolve(x,d))}),(function(Q){M||(M=!0,l.reject(x,Q))}))}},S.race=function(m){if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=m.length,O=!1;if(!E)return this.resolve([]);for(var M,d=-1,b=new this(i);++d<E;)M=m[d],this.resolve(M).then((function(C){O||(O=!0,l.resolve(b,C))}),(function(C){O||(O=!0,l.reject(b,C))}));return b}},9591:(z,P,r)=>{var a={};(0,r(4236).assign)(a,r(4555),r(8843),r(1619)),z.exports=a},4555:(z,P,r)=>{var a=r(405),i=r(4236),l=r(9373),g=r(8898),I=r(2292),p=Object.prototype.toString;function S(_){if(!(this instanceof S))return new S(_);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},_||{});var y=this.options;y.raw&&y.windowBits>0?y.windowBits=-y.windowBits:y.gzip&&y.windowBits>0&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new I,this.strm.avail_out=0;var h=a.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(h!==0)throw new Error(g[h]);if(y.header&&a.deflateSetHeader(this.strm,y.header),y.dictionary){var u;if(u=typeof y.dictionary=="string"?l.string2buf(y.dictionary):p.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(h=a.deflateSetDictionary(this.strm,u))!==0)throw new Error(g[h]);this._dict_set=!0}}function N(_,y){var h=new S(y);if(h.push(_,!0),h.err)throw h.msg||g[h.err];return h.result}S.prototype.push=function(_,y){var h,u,m=this.strm,E=this.options.chunkSize;if(this.ended)return!1;u=y===~~y?y:y===!0?4:0,typeof _=="string"?m.input=l.string2buf(_):p.call(_)==="[object ArrayBuffer]"?m.input=new Uint8Array(_):m.input=_,m.next_in=0,m.avail_in=m.input.length;do{if(m.avail_out===0&&(m.output=new i.Buf8(E),m.next_out=0,m.avail_out=E),(h=a.deflate(m,u))!==1&&h!==0)return this.onEnd(h),this.ended=!0,!1;m.avail_out!==0&&(m.avail_in!==0||u!==4&&u!==2)||(this.options.to==="string"?this.onData(l.buf2binstring(i.shrinkBuf(m.output,m.next_out))):this.onData(i.shrinkBuf(m.output,m.next_out)))}while((m.avail_in>0||m.avail_out===0)&&h!==1);return u===4?(h=a.deflateEnd(this.strm),this.onEnd(h),this.ended=!0,h===0):u!==2||(this.onEnd(0),m.avail_out=0,!0)},S.prototype.onData=function(_){this.chunks.push(_)},S.prototype.onEnd=function(_){_===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},P.Deflate=S,P.deflate=N,P.deflateRaw=function(_,y){return(y=y||{}).raw=!0,N(_,y)},P.gzip=function(_,y){return(y=y||{}).gzip=!0,N(_,y)}},8843:(z,P,r)=>{var a=r(7948),i=r(4236),l=r(9373),g=r(1619),I=r(8898),p=r(2292),S=r(2401),N=Object.prototype.toString;function _(h){if(!(this instanceof _))return new _(h);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},h||{});var u=this.options;u.raw&&u.windowBits>=0&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),!(u.windowBits>=0&&u.windowBits<16)||h&&h.windowBits||(u.windowBits+=32),u.windowBits>15&&u.windowBits<48&&(15&u.windowBits)==0&&(u.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var m=a.inflateInit2(this.strm,u.windowBits);if(m!==g.Z_OK)throw new Error(I[m]);if(this.header=new S,a.inflateGetHeader(this.strm,this.header),u.dictionary&&(typeof u.dictionary=="string"?u.dictionary=l.string2buf(u.dictionary):N.call(u.dictionary)==="[object ArrayBuffer]"&&(u.dictionary=new Uint8Array(u.dictionary)),u.raw&&(m=a.inflateSetDictionary(this.strm,u.dictionary))!==g.Z_OK))throw new Error(I[m])}function y(h,u){var m=new _(u);if(m.push(h,!0),m.err)throw m.msg||I[m.err];return m.result}_.prototype.push=function(h,u){var m,E,O,M,d,b=this.strm,C=this.options.chunkSize,x=this.options.dictionary,D=!1;if(this.ended)return!1;E=u===~~u?u:u===!0?g.Z_FINISH:g.Z_NO_FLUSH,typeof h=="string"?b.input=l.binstring2buf(h):N.call(h)==="[object ArrayBuffer]"?b.input=new Uint8Array(h):b.input=h,b.next_in=0,b.avail_in=b.input.length;do{if(b.avail_out===0&&(b.output=new i.Buf8(C),b.next_out=0,b.avail_out=C),(m=a.inflate(b,g.Z_NO_FLUSH))===g.Z_NEED_DICT&&x&&(m=a.inflateSetDictionary(this.strm,x)),m===g.Z_BUF_ERROR&&D===!0&&(m=g.Z_OK,D=!1),m!==g.Z_STREAM_END&&m!==g.Z_OK)return this.onEnd(m),this.ended=!0,!1;b.next_out&&(b.avail_out!==0&&m!==g.Z_STREAM_END&&(b.avail_in!==0||E!==g.Z_FINISH&&E!==g.Z_SYNC_FLUSH)||(this.options.to==="string"?(O=l.utf8border(b.output,b.next_out),M=b.next_out-O,d=l.buf2string(b.output,O),b.next_out=M,b.avail_out=C-M,M&&i.arraySet(b.output,b.output,O,M,0),this.onData(d)):this.onData(i.shrinkBuf(b.output,b.next_out)))),b.avail_in===0&&b.avail_out===0&&(D=!0)}while((b.avail_in>0||b.avail_out===0)&&m!==g.Z_STREAM_END);return m===g.Z_STREAM_END&&(E=g.Z_FINISH),E===g.Z_FINISH?(m=a.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===g.Z_OK):E!==g.Z_SYNC_FLUSH||(this.onEnd(g.Z_OK),b.avail_out=0,!0)},_.prototype.onData=function(h){this.chunks.push(h)},_.prototype.onEnd=function(h){h===g.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg},P.Inflate=_,P.inflate=y,P.inflateRaw=function(h,u){return(u=u||{}).raw=!0,y(h,u)},P.ungzip=y},4236:(z,P)=>{var r=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function a(g,I){return Object.prototype.hasOwnProperty.call(g,I)}P.assign=function(g){for(var I=Array.prototype.slice.call(arguments,1);I.length;){var p=I.shift();if(p){if(typeof p!="object")throw new TypeError(p+"must be non-object");for(var S in p)a(p,S)&&(g[S]=p[S])}}return g},P.shrinkBuf=function(g,I){return g.length===I?g:g.subarray?g.subarray(0,I):(g.length=I,g)};var i={arraySet:function(g,I,p,S,N){if(I.subarray&&g.subarray)g.set(I.subarray(p,p+S),N);else for(var _=0;_<S;_++)g[N+_]=I[p+_]},flattenChunks:function(g){var I,p,S,N,_,y;for(S=0,I=0,p=g.length;I<p;I++)S+=g[I].length;for(y=new Uint8Array(S),N=0,I=0,p=g.length;I<p;I++)_=g[I],y.set(_,N),N+=_.length;return y}},l={arraySet:function(g,I,p,S,N){for(var _=0;_<S;_++)g[N+_]=I[p+_]},flattenChunks:function(g){return[].concat.apply([],g)}};P.setTyped=function(g){g?(P.Buf8=Uint8Array,P.Buf16=Uint16Array,P.Buf32=Int32Array,P.assign(P,i)):(P.Buf8=Array,P.Buf16=Array,P.Buf32=Array,P.assign(P,l))},P.setTyped(r)},9373:(z,P,r)=>{var a=r(4236),i=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l=!1}for(var g=new a.Buf8(256),I=0;I<256;I++)g[I]=I>=252?6:I>=248?5:I>=240?4:I>=224?3:I>=192?2:1;function p(S,N){if(N<65534&&(S.subarray&&l||!S.subarray&&i))return String.fromCharCode.apply(null,a.shrinkBuf(S,N));for(var _="",y=0;y<N;y++)_+=String.fromCharCode(S[y]);return _}g[254]=g[254]=1,P.string2buf=function(S){var N,_,y,h,u,m=S.length,E=0;for(h=0;h<m;h++)(64512&(_=S.charCodeAt(h)))==55296&&h+1<m&&(64512&(y=S.charCodeAt(h+1)))==56320&&(_=65536+(_-55296<<10)+(y-56320),h++),E+=_<128?1:_<2048?2:_<65536?3:4;for(N=new a.Buf8(E),u=0,h=0;u<E;h++)(64512&(_=S.charCodeAt(h)))==55296&&h+1<m&&(64512&(y=S.charCodeAt(h+1)))==56320&&(_=65536+(_-55296<<10)+(y-56320),h++),_<128?N[u++]=_:_<2048?(N[u++]=192|_>>>6,N[u++]=128|63&_):_<65536?(N[u++]=224|_>>>12,N[u++]=128|_>>>6&63,N[u++]=128|63&_):(N[u++]=240|_>>>18,N[u++]=128|_>>>12&63,N[u++]=128|_>>>6&63,N[u++]=128|63&_);return N},P.buf2binstring=function(S){return p(S,S.length)},P.binstring2buf=function(S){for(var N=new a.Buf8(S.length),_=0,y=N.length;_<y;_++)N[_]=S.charCodeAt(_);return N},P.buf2string=function(S,N){var _,y,h,u,m=N||S.length,E=new Array(2*m);for(y=0,_=0;_<m;)if((h=S[_++])<128)E[y++]=h;else if((u=g[h])>4)E[y++]=65533,_+=u-1;else{for(h&=u===2?31:u===3?15:7;u>1&&_<m;)h=h<<6|63&S[_++],u--;u>1?E[y++]=65533:h<65536?E[y++]=h:(h-=65536,E[y++]=55296|h>>10&1023,E[y++]=56320|1023&h)}return p(E,y)},P.utf8border=function(S,N){var _;for((N=N||S.length)>S.length&&(N=S.length),_=N-1;_>=0&&(192&S[_])==128;)_--;return _<0||_===0?N:_+g[S[_]]>N?_:N}},6069:z=>{z.exports=function(P,r,a,i){for(var l=65535&P|0,g=P>>>16&65535|0,I=0;a!==0;){a-=I=a>2e3?2e3:a;do g=g+(l=l+r[i++]|0)|0;while(--I);l%=65521,g%=65521}return l|g<<16|0}},1619:z=>{z.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}},2869:z=>{var P=(function(){for(var r,a=[],i=0;i<256;i++){r=i;for(var l=0;l<8;l++)r=1&r?3988292384^r>>>1:r>>>1;a[i]=r}return a})();z.exports=function(r,a,i,l){var g=P,I=l+i;r^=-1;for(var p=l;p<I;p++)r=r>>>8^g[255&(r^a[p])];return-1^r}},405:(z,P,r)=>{var a,i=r(4236),l=r(342),g=r(6069),I=r(2869),p=r(8898),S=-2,N=258,_=262,y=103,h=113,u=666;function m(c,A){return c.msg=p[A],A}function E(c){return(c<<1)-(c>4?9:0)}function O(c){for(var A=c.length;--A>=0;)c[A]=0}function M(c){var A=c.state,U=A.pending;U>c.avail_out&&(U=c.avail_out),U!==0&&(i.arraySet(c.output,A.pending_buf,A.pending_out,U,c.next_out),c.next_out+=U,A.pending_out+=U,c.total_out+=U,c.avail_out-=U,A.pending-=U,A.pending===0&&(A.pending_out=0))}function d(c,A){l._tr_flush_block(c,c.block_start>=0?c.block_start:-1,c.strstart-c.block_start,A),c.block_start=c.strstart,M(c.strm)}function b(c,A){c.pending_buf[c.pending++]=A}function C(c,A){c.pending_buf[c.pending++]=A>>>8&255,c.pending_buf[c.pending++]=255&A}function x(c,A){var U,k,q=c.max_chain_length,F=c.strstart,W=c.prev_length,V=c.nice_match,$=c.strstart>c.w_size-_?c.strstart-(c.w_size-_):0,K=c.window,T=c.w_mask,o=c.prev,v=c.strstart+N,L=K[F+W-1],Y=K[F+W];c.prev_length>=c.good_match&&(q>>=2),V>c.lookahead&&(V=c.lookahead);do if(K[(U=A)+W]===Y&&K[U+W-1]===L&&K[U]===K[F]&&K[++U]===K[F+1]){F+=2,U++;do;while(K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&K[++F]===K[++U]&&F<v);if(k=N-(v-F),F=v-N,k>W){if(c.match_start=A,W=k,k>=V)break;L=K[F+W-1],Y=K[F+W]}}while((A=o[A&T])>$&&--q!=0);return W<=c.lookahead?W:c.lookahead}function D(c){var A,U,k,q,F,W,V,$,K,T,o=c.w_size;do{if(q=c.window_size-c.lookahead-c.strstart,c.strstart>=o+(o-_)){i.arraySet(c.window,c.window,o,o,0),c.match_start-=o,c.strstart-=o,c.block_start-=o,A=U=c.hash_size;do k=c.head[--A],c.head[A]=k>=o?k-o:0;while(--U);A=U=o;do k=c.prev[--A],c.prev[A]=k>=o?k-o:0;while(--U);q+=o}if(c.strm.avail_in===0)break;if(W=c.strm,V=c.window,$=c.strstart+c.lookahead,K=q,T=void 0,(T=W.avail_in)>K&&(T=K),U=T===0?0:(W.avail_in-=T,i.arraySet(V,W.input,W.next_in,T,$),W.state.wrap===1?W.adler=g(W.adler,V,T,$):W.state.wrap===2&&(W.adler=I(W.adler,V,T,$)),W.next_in+=T,W.total_in+=T,T),c.lookahead+=U,c.lookahead+c.insert>=3)for(F=c.strstart-c.insert,c.ins_h=c.window[F],c.ins_h=(c.ins_h<<c.hash_shift^c.window[F+1])&c.hash_mask;c.insert&&(c.ins_h=(c.ins_h<<c.hash_shift^c.window[F+3-1])&c.hash_mask,c.prev[F&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=F,F++,c.insert--,!(c.lookahead+c.insert<3)););}while(c.lookahead<_&&c.strm.avail_in!==0)}function n(c,A){for(var U,k;;){if(c.lookahead<_){if(D(c),c.lookahead<_&&A===0)return 1;if(c.lookahead===0)break}if(U=0,c.lookahead>=3&&(c.ins_h=(c.ins_h<<c.hash_shift^c.window[c.strstart+3-1])&c.hash_mask,U=c.prev[c.strstart&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=c.strstart),U!==0&&c.strstart-U<=c.w_size-_&&(c.match_length=x(c,U)),c.match_length>=3)if(k=l._tr_tally(c,c.strstart-c.match_start,c.match_length-3),c.lookahead-=c.match_length,c.match_length<=c.max_lazy_match&&c.lookahead>=3){c.match_length--;do c.strstart++,c.ins_h=(c.ins_h<<c.hash_shift^c.window[c.strstart+3-1])&c.hash_mask,U=c.prev[c.strstart&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=c.strstart;while(--c.match_length!=0);c.strstart++}else c.strstart+=c.match_length,c.match_length=0,c.ins_h=c.window[c.strstart],c.ins_h=(c.ins_h<<c.hash_shift^c.window[c.strstart+1])&c.hash_mask;else k=l._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++;if(k&&(d(c,!1),c.strm.avail_out===0))return 1}return c.insert=c.strstart<2?c.strstart:2,A===4?(d(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(d(c,!1),c.strm.avail_out===0)?1:2}function B(c,A){for(var U,k,q;;){if(c.lookahead<_){if(D(c),c.lookahead<_&&A===0)return 1;if(c.lookahead===0)break}if(U=0,c.lookahead>=3&&(c.ins_h=(c.ins_h<<c.hash_shift^c.window[c.strstart+3-1])&c.hash_mask,U=c.prev[c.strstart&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=c.strstart),c.prev_length=c.match_length,c.prev_match=c.match_start,c.match_length=2,U!==0&&c.prev_length<c.max_lazy_match&&c.strstart-U<=c.w_size-_&&(c.match_length=x(c,U),c.match_length<=5&&(c.strategy===1||c.match_length===3&&c.strstart-c.match_start>4096)&&(c.match_length=2)),c.prev_length>=3&&c.match_length<=c.prev_length){q=c.strstart+c.lookahead-3,k=l._tr_tally(c,c.strstart-1-c.prev_match,c.prev_length-3),c.lookahead-=c.prev_length-1,c.prev_length-=2;do++c.strstart<=q&&(c.ins_h=(c.ins_h<<c.hash_shift^c.window[c.strstart+3-1])&c.hash_mask,U=c.prev[c.strstart&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=c.strstart);while(--c.prev_length!=0);if(c.match_available=0,c.match_length=2,c.strstart++,k&&(d(c,!1),c.strm.avail_out===0))return 1}else if(c.match_available){if((k=l._tr_tally(c,0,c.window[c.strstart-1]))&&d(c,!1),c.strstart++,c.lookahead--,c.strm.avail_out===0)return 1}else c.match_available=1,c.strstart++,c.lookahead--}return c.match_available&&(k=l._tr_tally(c,0,c.window[c.strstart-1]),c.match_available=0),c.insert=c.strstart<2?c.strstart:2,A===4?(d(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(d(c,!1),c.strm.avail_out===0)?1:2}function Q(c,A,U,k,q){this.good_length=c,this.max_lazy=A,this.nice_length=U,this.max_chain=k,this.func=q}function G(){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=8,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 i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),O(this.dyn_ltree),O(this.dyn_dtree),O(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),O(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),O(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 lt(c){var A;return c&&c.state?(c.total_in=c.total_out=0,c.data_type=2,(A=c.state).pending=0,A.pending_out=0,A.wrap<0&&(A.wrap=-A.wrap),A.status=A.wrap?42:h,c.adler=A.wrap===2?0:1,A.last_flush=0,l._tr_init(A),0):m(c,S)}function rt(c){var A,U=lt(c);return U===0&&((A=c.state).window_size=2*A.w_size,O(A.head),A.max_lazy_match=a[A.level].max_lazy,A.good_match=a[A.level].good_length,A.nice_match=a[A.level].nice_length,A.max_chain_length=a[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=2,A.match_available=0,A.ins_h=0),U}function at(c,A,U,k,q,F){if(!c)return S;var W=1;if(A===-1&&(A=6),k<0?(W=0,k=-k):k>15&&(W=2,k-=16),q<1||q>9||U!==8||k<8||k>15||A<0||A>9||F<0||F>4)return m(c,S);k===8&&(k=9);var V=new G;return c.state=V,V.strm=c,V.wrap=W,V.gzhead=null,V.w_bits=k,V.w_size=1<<V.w_bits,V.w_mask=V.w_size-1,V.hash_bits=q+7,V.hash_size=1<<V.hash_bits,V.hash_mask=V.hash_size-1,V.hash_shift=~~((V.hash_bits+3-1)/3),V.window=new i.Buf8(2*V.w_size),V.head=new i.Buf16(V.hash_size),V.prev=new i.Buf16(V.w_size),V.lit_bufsize=1<<q+6,V.pending_buf_size=4*V.lit_bufsize,V.pending_buf=new i.Buf8(V.pending_buf_size),V.d_buf=1*V.lit_bufsize,V.l_buf=3*V.lit_bufsize,V.level=A,V.strategy=F,V.method=U,rt(c)}a=[new Q(0,0,0,0,(function(c,A){var U=65535;for(U>c.pending_buf_size-5&&(U=c.pending_buf_size-5);;){if(c.lookahead<=1){if(D(c),c.lookahead===0&&A===0)return 1;if(c.lookahead===0)break}c.strstart+=c.lookahead,c.lookahead=0;var k=c.block_start+U;if((c.strstart===0||c.strstart>=k)&&(c.lookahead=c.strstart-k,c.strstart=k,d(c,!1),c.strm.avail_out===0)||c.strstart-c.block_start>=c.w_size-_&&(d(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,A===4?(d(c,!0),c.strm.avail_out===0?3:4):(c.strstart>c.block_start&&(d(c,!1),c.strm.avail_out),1)})),new Q(4,4,8,4,n),new Q(4,5,16,8,n),new Q(4,6,32,32,n),new Q(4,4,16,16,B),new Q(8,16,32,32,B),new Q(8,16,128,128,B),new Q(8,32,128,256,B),new Q(32,128,258,1024,B),new Q(32,258,258,4096,B)],P.deflateInit=function(c,A){return at(c,A,8,15,8,0)},P.deflateInit2=at,P.deflateReset=rt,P.deflateResetKeep=lt,P.deflateSetHeader=function(c,A){return c&&c.state?c.state.wrap!==2?S:(c.state.gzhead=A,0):S},P.deflate=function(c,A){var U,k,q,F;if(!c||!c.state||A>5||A<0)return c?m(c,S):S;if(k=c.state,!c.output||!c.input&&c.avail_in!==0||k.status===u&&A!==4)return m(c,c.avail_out===0?-5:S);if(k.strm=c,U=k.last_flush,k.last_flush=A,k.status===42)if(k.wrap===2)c.adler=0,b(k,31),b(k,139),b(k,8),k.gzhead?(b(k,(k.gzhead.text?1:0)+(k.gzhead.hcrc?2:0)+(k.gzhead.extra?4:0)+(k.gzhead.name?8:0)+(k.gzhead.comment?16:0)),b(k,255&k.gzhead.time),b(k,k.gzhead.time>>8&255),b(k,k.gzhead.time>>16&255),b(k,k.gzhead.time>>24&255),b(k,k.level===9?2:k.strategy>=2||k.level<2?4:0),b(k,255&k.gzhead.os),k.gzhead.extra&&k.gzhead.extra.length&&(b(k,255&k.gzhead.extra.length),b(k,k.gzhead.extra.length>>8&255)),k.gzhead.hcrc&&(c.adler=I(c.adler,k.pending_buf,k.pending,0)),k.gzindex=0,k.status=69):(b(k,0),b(k,0),b(k,0),b(k,0),b(k,0),b(k,k.level===9?2:k.strategy>=2||k.level<2?4:0),b(k,3),k.status=h);else{var W=8+(k.w_bits-8<<4)<<8;W|=(k.strategy>=2||k.level<2?0:k.level<6?1:k.level===6?2:3)<<6,k.strstart!==0&&(W|=32),W+=31-W%31,k.status=h,C(k,W),k.strstart!==0&&(C(k,c.adler>>>16),C(k,65535&c.adler)),c.adler=1}if(k.status===69)if(k.gzhead.extra){for(q=k.pending;k.gzindex<(65535&k.gzhead.extra.length)&&(k.pending!==k.pending_buf_size||(k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),M(c),q=k.pending,k.pending!==k.pending_buf_size));)b(k,255&k.gzhead.extra[k.gzindex]),k.gzindex++;k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),k.gzindex===k.gzhead.extra.length&&(k.gzindex=0,k.status=73)}else k.status=73;if(k.status===73)if(k.gzhead.name){q=k.pending;do{if(k.pending===k.pending_buf_size&&(k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),M(c),q=k.pending,k.pending===k.pending_buf_size)){F=1;break}F=k.gzindex<k.gzhead.name.length?255&k.gzhead.name.charCodeAt(k.gzindex++):0,b(k,F)}while(F!==0);k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),F===0&&(k.gzindex=0,k.status=91)}else k.status=91;if(k.status===91)if(k.gzhead.comment){q=k.pending;do{if(k.pending===k.pending_buf_size&&(k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),M(c),q=k.pending,k.pending===k.pending_buf_size)){F=1;break}F=k.gzindex<k.gzhead.comment.length?255&k.gzhead.comment.charCodeAt(k.gzindex++):0,b(k,F)}while(F!==0);k.gzhead.hcrc&&k.pending>q&&(c.adler=I(c.adler,k.pending_buf,k.pending-q,q)),F===0&&(k.status=y)}else k.status=y;if(k.status===y&&(k.gzhead.hcrc?(k.pending+2>k.pending_buf_size&&M(c),k.pending+2<=k.pending_buf_size&&(b(k,255&c.adler),b(k,c.adler>>8&255),c.adler=0,k.status=h)):k.status=h),k.pending!==0){if(M(c),c.avail_out===0)return k.last_flush=-1,0}else if(c.avail_in===0&&E(A)<=E(U)&&A!==4)return m(c,-5);if(k.status===u&&c.avail_in!==0)return m(c,-5);if(c.avail_in!==0||k.lookahead!==0||A!==0&&k.status!==u){var V=k.strategy===2?(function($,K){for(var T;;){if($.lookahead===0&&(D($),$.lookahead===0)){if(K===0)return 1;break}if($.match_length=0,T=l._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,T&&(d($,!1),$.strm.avail_out===0))return 1}return $.insert=0,K===4?(d($,!0),$.strm.avail_out===0?3:4):$.last_lit&&(d($,!1),$.strm.avail_out===0)?1:2})(k,A):k.strategy===3?(function($,K){for(var T,o,v,L,Y=$.window;;){if($.lookahead<=N){if(D($),$.lookahead<=N&&K===0)return 1;if($.lookahead===0)break}if($.match_length=0,$.lookahead>=3&&$.strstart>0&&(o=Y[v=$.strstart-1])===Y[++v]&&o===Y[++v]&&o===Y[++v]){L=$.strstart+N;do;while(o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&o===Y[++v]&&v<L);$.match_length=N-(L-v),$.match_length>$.lookahead&&($.match_length=$.lookahead)}if($.match_length>=3?(T=l._tr_tally($,1,$.match_length-3),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0):(T=l._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++),T&&(d($,!1),$.strm.avail_out===0))return 1}return $.insert=0,K===4?(d($,!0),$.strm.avail_out===0?3:4):$.last_lit&&(d($,!1),$.strm.avail_out===0)?1:2})(k,A):a[k.level].func(k,A);if(V!==3&&V!==4||(k.status=u),V===1||V===3)return c.avail_out===0&&(k.last_flush=-1),0;if(V===2&&(A===1?l._tr_align(k):A!==5&&(l._tr_stored_block(k,0,0,!1),A===3&&(O(k.head),k.lookahead===0&&(k.strstart=0,k.block_start=0,k.insert=0))),M(c),c.avail_out===0))return k.last_flush=-1,0}return A!==4?0:k.wrap<=0?1:(k.wrap===2?(b(k,255&c.adler),b(k,c.adler>>8&255),b(k,c.adler>>16&255),b(k,c.adler>>24&255),b(k,255&c.total_in),b(k,c.total_in>>8&255),b(k,c.total_in>>16&255),b(k,c.total_in>>24&255)):(C(k,c.adler>>>16),C(k,65535&c.adler)),M(c),k.wrap>0&&(k.wrap=-k.wrap),k.pending!==0?0:1)},P.deflateEnd=function(c){var A;return c&&c.state?(A=c.state.status)!==42&&A!==69&&A!==73&&A!==91&&A!==y&&A!==h&&A!==u?m(c,S):(c.state=null,A===h?m(c,-3):0):S},P.deflateSetDictionary=function(c,A){var U,k,q,F,W,V,$,K,T=A.length;if(!c||!c.state||(F=(U=c.state).wrap)===2||F===1&&U.status!==42||U.lookahead)return S;for(F===1&&(c.adler=g(c.adler,A,T,0)),U.wrap=0,T>=U.w_size&&(F===0&&(O(U.head),U.strstart=0,U.block_start=0,U.insert=0),K=new i.Buf8(U.w_size),i.arraySet(K,A,T-U.w_size,U.w_size,0),A=K,T=U.w_size),W=c.avail_in,V=c.next_in,$=c.input,c.avail_in=T,c.next_in=0,c.input=A,D(U);U.lookahead>=3;){k=U.strstart,q=U.lookahead-2;do U.ins_h=(U.ins_h<<U.hash_shift^U.window[k+3-1])&U.hash_mask,U.prev[k&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=k,k++;while(--q);U.strstart=k,U.lookahead=2,D(U)}return U.strstart+=U.lookahead,U.block_start=U.strstart,U.insert=U.lookahead,U.lookahead=0,U.match_length=U.prev_length=2,U.match_available=0,c.next_in=V,c.input=$,c.avail_in=W,U.wrap=F,0},P.deflateInfo="pako deflate (from Nodeca project)"},2401:z=>{z.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}},4264:z=>{z.exports=function(P,r){var a,i,l,g,I,p,S,N,_,y,h,u,m,E,O,M,d,b,C,x,D,n,B,Q,G;a=P.state,i=P.next_in,Q=P.input,l=i+(P.avail_in-5),g=P.next_out,G=P.output,I=g-(r-P.avail_out),p=g+(P.avail_out-257),S=a.dmax,N=a.wsize,_=a.whave,y=a.wnext,h=a.window,u=a.hold,m=a.bits,E=a.lencode,O=a.distcode,M=(1<<a.lenbits)-1,d=(1<<a.distbits)-1;t:do{m<15&&(u+=Q[i++]<<m,m+=8,u+=Q[i++]<<m,m+=8),b=E[u&M];e:for(;;){if(u>>>=C=b>>>24,m-=C,(C=b>>>16&255)==0)G[g++]=65535&b;else{if(!(16&C)){if((64&C)==0){b=E[(65535&b)+(u&(1<<C)-1)];continue e}if(32&C){a.mode=12;break t}P.msg="invalid literal/length code",a.mode=30;break t}x=65535&b,(C&=15)&&(m<C&&(u+=Q[i++]<<m,m+=8),x+=u&(1<<C)-1,u>>>=C,m-=C),m<15&&(u+=Q[i++]<<m,m+=8,u+=Q[i++]<<m,m+=8),b=O[u&d];r:for(;;){if(u>>>=C=b>>>24,m-=C,!(16&(C=b>>>16&255))){if((64&C)==0){b=O[(65535&b)+(u&(1<<C)-1)];continue r}P.msg="invalid distance code",a.mode=30;break t}if(D=65535&b,m<(C&=15)&&(u+=Q[i++]<<m,(m+=8)<C&&(u+=Q[i++]<<m,m+=8)),(D+=u&(1<<C)-1)>S){P.msg="invalid distance too far back",a.mode=30;break t}if(u>>>=C,m-=C,D>(C=g-I)){if((C=D-C)>_&&a.sane){P.msg="invalid distance too far back",a.mode=30;break t}if(n=0,B=h,y===0){if(n+=N-C,C<x){x-=C;do G[g++]=h[n++];while(--C);n=g-D,B=G}}else if(y<C){if(n+=N+y-C,(C-=y)<x){x-=C;do G[g++]=h[n++];while(--C);if(n=0,y<x){x-=C=y;do G[g++]=h[n++];while(--C);n=g-D,B=G}}}else if(n+=y-C,C<x){x-=C;do G[g++]=h[n++];while(--C);n=g-D,B=G}for(;x>2;)G[g++]=B[n++],G[g++]=B[n++],G[g++]=B[n++],x-=3;x&&(G[g++]=B[n++],x>1&&(G[g++]=B[n++]))}else{n=g-D;do G[g++]=G[n++],G[g++]=G[n++],G[g++]=G[n++],x-=3;while(x>2);x&&(G[g++]=G[n++],x>1&&(G[g++]=G[n++]))}break}}break}}while(i<l&&g<p);i-=x=m>>3,u&=(1<<(m-=x<<3))-1,P.next_in=i,P.next_out=g,P.avail_in=i<l?l-i+5:5-(i-l),P.avail_out=g<p?p-g+257:257-(g-p),a.hold=u,a.bits=m}},7948:(z,P,r)=>{var a=r(4236),i=r(6069),l=r(2869),g=r(4264),I=r(9241),p=-2,S=12,N=30;function _(x){return(x>>>24&255)+(x>>>8&65280)+((65280&x)<<8)+((255&x)<<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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(x){var D;return x&&x.state?(D=x.state,x.total_in=x.total_out=D.total=0,x.msg="",D.wrap&&(x.adler=1&D.wrap),D.mode=1,D.last=0,D.havedict=0,D.dmax=32768,D.head=null,D.hold=0,D.bits=0,D.lencode=D.lendyn=new a.Buf32(852),D.distcode=D.distdyn=new a.Buf32(592),D.sane=1,D.back=-1,0):p}function u(x){var D;return x&&x.state?((D=x.state).wsize=0,D.whave=0,D.wnext=0,h(x)):p}function m(x,D){var n,B;return x&&x.state?(B=x.state,D<0?(n=0,D=-D):(n=1+(D>>4),D<48&&(D&=15)),D&&(D<8||D>15)?p:(B.window!==null&&B.wbits!==D&&(B.window=null),B.wrap=n,B.wbits=D,u(x))):p}function E(x,D){var n,B;return x?(B=new y,x.state=B,B.window=null,(n=m(x,D))!==0&&(x.state=null),n):p}var O,M,d=!0;function b(x){if(d){var D;for(O=new a.Buf32(512),M=new a.Buf32(32),D=0;D<144;)x.lens[D++]=8;for(;D<256;)x.lens[D++]=9;for(;D<280;)x.lens[D++]=7;for(;D<288;)x.lens[D++]=8;for(I(1,x.lens,0,288,O,0,x.work,{bits:9}),D=0;D<32;)x.lens[D++]=5;I(2,x.lens,0,32,M,0,x.work,{bits:5}),d=!1}x.lencode=O,x.lenbits=9,x.distcode=M,x.distbits=5}function C(x,D,n,B){var Q,G=x.state;return G.window===null&&(G.wsize=1<<G.wbits,G.wnext=0,G.whave=0,G.window=new a.Buf8(G.wsize)),B>=G.wsize?(a.arraySet(G.window,D,n-G.wsize,G.wsize,0),G.wnext=0,G.whave=G.wsize):((Q=G.wsize-G.wnext)>B&&(Q=B),a.arraySet(G.window,D,n-B,Q,G.wnext),(B-=Q)?(a.arraySet(G.window,D,n-B,B,0),G.wnext=B,G.whave=G.wsize):(G.wnext+=Q,G.wnext===G.wsize&&(G.wnext=0),G.whave<G.wsize&&(G.whave+=Q))),0}P.inflateReset=u,P.inflateReset2=m,P.inflateResetKeep=h,P.inflateInit=function(x){return E(x,15)},P.inflateInit2=E,P.inflate=function(x,D){var n,B,Q,G,lt,rt,at,c,A,U,k,q,F,W,V,$,K,T,o,v,L,Y,st,ht,nt=0,it=new a.Buf8(4),wt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!x||!x.state||!x.output||!x.input&&x.avail_in!==0)return p;(n=x.state).mode===S&&(n.mode=13),lt=x.next_out,Q=x.output,at=x.avail_out,G=x.next_in,B=x.input,rt=x.avail_in,c=n.hold,A=n.bits,U=rt,k=at,Y=0;t:for(;;)switch(n.mode){case 1:if(n.wrap===0){n.mode=13;break}for(;A<16;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(2&n.wrap&&c===35615){n.check=0,it[0]=255&c,it[1]=c>>>8&255,n.check=l(n.check,it,2,0),c=0,A=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){x.msg="incorrect header check",n.mode=N;break}if((15&c)!=8){x.msg="unknown compression method",n.mode=N;break}if(A-=4,L=8+(15&(c>>>=4)),n.wbits===0)n.wbits=L;else if(L>n.wbits){x.msg="invalid window size",n.mode=N;break}n.dmax=1<<L,x.adler=n.check=1,n.mode=512&c?10:S,c=0,A=0;break;case 2:for(;A<16;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(n.flags=c,(255&n.flags)!=8){x.msg="unknown compression method",n.mode=N;break}if(57344&n.flags){x.msg="unknown header flags set",n.mode=N;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(it[0]=255&c,it[1]=c>>>8&255,n.check=l(n.check,it,2,0)),c=0,A=0,n.mode=3;case 3:for(;A<32;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.head&&(n.head.time=c),512&n.flags&&(it[0]=255&c,it[1]=c>>>8&255,it[2]=c>>>16&255,it[3]=c>>>24&255,n.check=l(n.check,it,4,0)),c=0,A=0,n.mode=4;case 4:for(;A<16;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(it[0]=255&c,it[1]=c>>>8&255,n.check=l(n.check,it,2,0)),c=0,A=0,n.mode=5;case 5:if(1024&n.flags){for(;A<16;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(it[0]=255&c,it[1]=c>>>8&255,n.check=l(n.check,it,2,0)),c=0,A=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((q=n.length)>rt&&(q=rt),q&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),a.arraySet(n.head.extra,B,G,q,L)),512&n.flags&&(n.check=l(n.check,B,q,G)),rt-=q,G+=q,n.length-=q),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(rt===0)break t;q=0;do L=B[G+q++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L));while(L&&q<rt);if(512&n.flags&&(n.check=l(n.check,B,q,G)),rt-=q,G+=q,L)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(rt===0)break t;q=0;do L=B[G+q++],n.head&&L&&n.length<65536&&(n.head.comment+=String.fromCharCode(L));while(L&&q<rt);if(512&n.flags&&(n.check=l(n.check,B,q,G)),rt-=q,G+=q,L)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;A<16;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(c!==(65535&n.check)){x.msg="header crc mismatch",n.mode=N;break}c=0,A=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),x.adler=n.check=0,n.mode=S;break;case 10:for(;A<32;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}x.adler=n.check=_(c),c=0,A=0,n.mode=11;case 11:if(n.havedict===0)return x.next_out=lt,x.avail_out=at,x.next_in=G,x.avail_in=rt,n.hold=c,n.bits=A,2;x.adler=n.check=1,n.mode=S;case S:if(D===5||D===6)break t;case 13:if(n.last){c>>>=7&A,A-=7&A,n.mode=27;break}for(;A<3;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}switch(n.last=1&c,A-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(b(n),n.mode=20,D===6){c>>>=2,A-=2;break t}break;case 2:n.mode=17;break;case 3:x.msg="invalid block type",n.mode=N}c>>>=2,A-=2;break;case 14:for(c>>>=7&A,A-=7&A;A<32;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if((65535&c)!=(c>>>16^65535)){x.msg="invalid stored block lengths",n.mode=N;break}if(n.length=65535&c,c=0,A=0,n.mode=15,D===6)break t;case 15:n.mode=16;case 16:if(q=n.length){if(q>rt&&(q=rt),q>at&&(q=at),q===0)break t;a.arraySet(Q,B,G,q,lt),rt-=q,G+=q,at-=q,lt+=q,n.length-=q;break}n.mode=S;break;case 17:for(;A<14;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(n.nlen=257+(31&c),c>>>=5,A-=5,n.ndist=1+(31&c),c>>>=5,A-=5,n.ncode=4+(15&c),c>>>=4,A-=4,n.nlen>286||n.ndist>30){x.msg="too many length or distance symbols",n.mode=N;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;A<3;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.lens[wt[n.have++]]=7&c,c>>>=3,A-=3}for(;n.have<19;)n.lens[wt[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,st={bits:n.lenbits},Y=I(0,n.lens,0,19,n.lencode,0,n.work,st),n.lenbits=st.bits,Y){x.msg="invalid code lengths set",n.mode=N;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;$=(nt=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,K=65535&nt,!((V=nt>>>24)<=A);){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(K<16)c>>>=V,A-=V,n.lens[n.have++]=K;else{if(K===16){for(ht=V+2;A<ht;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(c>>>=V,A-=V,n.have===0){x.msg="invalid bit length repeat",n.mode=N;break}L=n.lens[n.have-1],q=3+(3&c),c>>>=2,A-=2}else if(K===17){for(ht=V+3;A<ht;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}A-=V,L=0,q=3+(7&(c>>>=V)),c>>>=3,A-=3}else{for(ht=V+7;A<ht;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}A-=V,L=0,q=11+(127&(c>>>=V)),c>>>=7,A-=7}if(n.have+q>n.nlen+n.ndist){x.msg="invalid bit length repeat",n.mode=N;break}for(;q--;)n.lens[n.have++]=L}}if(n.mode===N)break;if(n.lens[256]===0){x.msg="invalid code -- missing end-of-block",n.mode=N;break}if(n.lenbits=9,st={bits:n.lenbits},Y=I(1,n.lens,0,n.nlen,n.lencode,0,n.work,st),n.lenbits=st.bits,Y){x.msg="invalid literal/lengths set",n.mode=N;break}if(n.distbits=6,n.distcode=n.distdyn,st={bits:n.distbits},Y=I(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,st),n.distbits=st.bits,Y){x.msg="invalid distances set",n.mode=N;break}if(n.mode=20,D===6)break t;case 20:n.mode=21;case 21:if(rt>=6&&at>=258){x.next_out=lt,x.avail_out=at,x.next_in=G,x.avail_in=rt,n.hold=c,n.bits=A,g(x,k),lt=x.next_out,Q=x.output,at=x.avail_out,G=x.next_in,B=x.input,rt=x.avail_in,c=n.hold,A=n.bits,n.mode===S&&(n.back=-1);break}for(n.back=0;$=(nt=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,K=65535&nt,!((V=nt>>>24)<=A);){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if($&&(240&$)==0){for(T=V,o=$,v=K;$=(nt=n.lencode[v+((c&(1<<T+o)-1)>>T)])>>>16&255,K=65535&nt,!(T+(V=nt>>>24)<=A);){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}c>>>=T,A-=T,n.back+=T}if(c>>>=V,A-=V,n.back+=V,n.length=K,$===0){n.mode=26;break}if(32&$){n.back=-1,n.mode=S;break}if(64&$){x.msg="invalid literal/length code",n.mode=N;break}n.extra=15&$,n.mode=22;case 22:if(n.extra){for(ht=n.extra;A<ht;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,A-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;$=(nt=n.distcode[c&(1<<n.distbits)-1])>>>16&255,K=65535&nt,!((V=nt>>>24)<=A);){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if((240&$)==0){for(T=V,o=$,v=K;$=(nt=n.distcode[v+((c&(1<<T+o)-1)>>T)])>>>16&255,K=65535&nt,!(T+(V=nt>>>24)<=A);){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}c>>>=T,A-=T,n.back+=T}if(c>>>=V,A-=V,n.back+=V,64&$){x.msg="invalid distance code",n.mode=N;break}n.offset=K,n.extra=15&$,n.mode=24;case 24:if(n.extra){for(ht=n.extra;A<ht;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,A-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){x.msg="invalid distance too far back",n.mode=N;break}n.mode=25;case 25:if(at===0)break t;if(q=k-at,n.offset>q){if((q=n.offset-q)>n.whave&&n.sane){x.msg="invalid distance too far back",n.mode=N;break}q>n.wnext?(q-=n.wnext,F=n.wsize-q):F=n.wnext-q,q>n.length&&(q=n.length),W=n.window}else W=Q,F=lt-n.offset,q=n.length;q>at&&(q=at),at-=q,n.length-=q;do Q[lt++]=W[F++];while(--q);n.length===0&&(n.mode=21);break;case 26:if(at===0)break t;Q[lt++]=n.length,at--,n.mode=21;break;case 27:if(n.wrap){for(;A<32;){if(rt===0)break t;rt--,c|=B[G++]<<A,A+=8}if(k-=at,x.total_out+=k,n.total+=k,k&&(x.adler=n.check=n.flags?l(n.check,Q,k,lt-k):i(n.check,Q,k,lt-k)),k=at,(n.flags?c:_(c))!==n.check){x.msg="incorrect data check",n.mode=N;break}c=0,A=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;A<32;){if(rt===0)break t;rt--,c+=B[G++]<<A,A+=8}if(c!==(4294967295&n.total)){x.msg="incorrect length check",n.mode=N;break}c=0,A=0}n.mode=29;case 29:Y=1;break t;case N:Y=-3;break t;case 31:return-4;default:return p}return x.next_out=lt,x.avail_out=at,x.next_in=G,x.avail_in=rt,n.hold=c,n.bits=A,(n.wsize||k!==x.avail_out&&n.mode<N&&(n.mode<27||D!==4))&&C(x,x.output,x.next_out,k-x.avail_out)?(n.mode=31,-4):(U-=x.avail_in,k-=x.avail_out,x.total_in+=U,x.total_out+=k,n.total+=k,n.wrap&&k&&(x.adler=n.check=n.flags?l(n.check,Q,k,x.next_out-k):i(n.check,Q,k,x.next_out-k)),x.data_type=n.bits+(n.last?64:0)+(n.mode===S?128:0)+(n.mode===20||n.mode===15?256:0),(U===0&&k===0||D===4)&&Y===0&&(Y=-5),Y)},P.inflateEnd=function(x){if(!x||!x.state)return p;var D=x.state;return D.window&&(D.window=null),x.state=null,0},P.inflateGetHeader=function(x,D){var n;return x&&x.state?(2&(n=x.state).wrap)==0?p:(n.head=D,D.done=!1,0):p},P.inflateSetDictionary=function(x,D){var n,B=D.length;return x&&x.state?(n=x.state).wrap!==0&&n.mode!==11?p:n.mode===11&&i(1,D,B,0)!==n.check?-3:C(x,D,B,B)?(n.mode=31,-4):(n.havedict=1,0):p},P.inflateInfo="pako inflate (from Nodeca project)"},9241:(z,P,r)=>{var a=r(4236),i=[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],l=[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],g=[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],I=[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];z.exports=function(p,S,N,_,y,h,u,m){var E,O,M,d,b,C,x,D,n,B=m.bits,Q=0,G=0,lt=0,rt=0,at=0,c=0,A=0,U=0,k=0,q=0,F=null,W=0,V=new a.Buf16(16),$=new a.Buf16(16),K=null,T=0;for(Q=0;Q<=15;Q++)V[Q]=0;for(G=0;G<_;G++)V[S[N+G]]++;for(at=B,rt=15;rt>=1&&V[rt]===0;rt--);if(at>rt&&(at=rt),rt===0)return y[h++]=20971520,y[h++]=20971520,m.bits=1,0;for(lt=1;lt<rt&&V[lt]===0;lt++);for(at<lt&&(at=lt),U=1,Q=1;Q<=15;Q++)if(U<<=1,(U-=V[Q])<0)return-1;if(U>0&&(p===0||rt!==1))return-1;for($[1]=0,Q=1;Q<15;Q++)$[Q+1]=$[Q]+V[Q];for(G=0;G<_;G++)S[N+G]!==0&&(u[$[S[N+G]]++]=G);if(p===0?(F=K=u,C=19):p===1?(F=i,W-=257,K=l,T-=257,C=256):(F=g,K=I,C=-1),q=0,G=0,Q=lt,b=h,c=at,A=0,M=-1,d=(k=1<<at)-1,p===1&&k>852||p===2&&k>592)return 1;for(;;){x=Q-A,u[G]<C?(D=0,n=u[G]):u[G]>C?(D=K[T+u[G]],n=F[W+u[G]]):(D=96,n=0),E=1<<Q-A,lt=O=1<<c;do y[b+(q>>A)+(O-=E)]=x<<24|D<<16|n|0;while(O!==0);for(E=1<<Q-1;q&E;)E>>=1;if(E!==0?(q&=E-1,q+=E):q=0,G++,--V[Q]==0){if(Q===rt)break;Q=S[N+u[G]]}if(Q>at&&(q&d)!==M){for(A===0&&(A=at),b+=lt,U=1<<(c=Q-A);c+A<rt&&!((U-=V[c+A])<=0);)c++,U<<=1;if(k+=1<<c,p===1&&k>852||p===2&&k>592)return 1;y[M=q&d]=at<<24|c<<16|b-h|0}}return q!==0&&(y[b+q]=Q-A<<24|4194304|0),m.bits=at,0}},8898:z=>{z.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"}},342:(z,P,r)=>{var a=r(4236);function i(F){for(var W=F.length;--W>=0;)F[W]=0}var 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],g=[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],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],p=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(576);i(S);var N=new Array(60);i(N);var _=new Array(512);i(_);var y=new Array(256);i(y);var h=new Array(29);i(h);var u,m,E,O=new Array(30);function M(F,W,V,$,K){this.static_tree=F,this.extra_bits=W,this.extra_base=V,this.elems=$,this.max_length=K,this.has_stree=F&&F.length}function d(F,W){this.dyn_tree=F,this.max_code=0,this.stat_desc=W}function b(F){return F<256?_[F]:_[256+(F>>>7)]}function C(F,W){F.pending_buf[F.pending++]=255&W,F.pending_buf[F.pending++]=W>>>8&255}function x(F,W,V){F.bi_valid>16-V?(F.bi_buf|=W<<F.bi_valid&65535,C(F,F.bi_buf),F.bi_buf=W>>16-F.bi_valid,F.bi_valid+=V-16):(F.bi_buf|=W<<F.bi_valid&65535,F.bi_valid+=V)}function D(F,W,V){x(F,V[2*W],V[2*W+1])}function n(F,W){var V=0;do V|=1&F,F>>>=1,V<<=1;while(--W>0);return V>>>1}function B(F,W,V){var $,K,T=new Array(16),o=0;for($=1;$<=15;$++)T[$]=o=o+V[$-1]<<1;for(K=0;K<=W;K++){var v=F[2*K+1];v!==0&&(F[2*K]=n(T[v]++,v))}}function Q(F){var W;for(W=0;W<286;W++)F.dyn_ltree[2*W]=0;for(W=0;W<30;W++)F.dyn_dtree[2*W]=0;for(W=0;W<19;W++)F.bl_tree[2*W]=0;F.dyn_ltree[512]=1,F.opt_len=F.static_len=0,F.last_lit=F.matches=0}function G(F){F.bi_valid>8?C(F,F.bi_buf):F.bi_valid>0&&(F.pending_buf[F.pending++]=F.bi_buf),F.bi_buf=0,F.bi_valid=0}function lt(F,W,V,$){var K=2*W,T=2*V;return F[K]<F[T]||F[K]===F[T]&&$[W]<=$[V]}function rt(F,W,V){for(var $=F.heap[V],K=V<<1;K<=F.heap_len&&(K<F.heap_len&<(W,F.heap[K+1],F.heap[K],F.depth)&&K++,!lt(W,$,F.heap[K],F.depth));)F.heap[V]=F.heap[K],V=K,K<<=1;F.heap[V]=$}function at(F,W,V){var $,K,T,o,v=0;if(F.last_lit!==0)do $=F.pending_buf[F.d_buf+2*v]<<8|F.pending_buf[F.d_buf+2*v+1],K=F.pending_buf[F.l_buf+v],v++,$===0?D(F,K,W):(D(F,(T=y[K])+256+1,W),(o=l[T])!==0&&x(F,K-=h[T],o),D(F,T=b(--$),V),(o=g[T])!==0&&x(F,$-=O[T],o));while(v<F.last_lit);D(F,256,W)}function c(F,W){var V,$,K,T=W.dyn_tree,o=W.stat_desc.static_tree,v=W.stat_desc.has_stree,L=W.stat_desc.elems,Y=-1;for(F.heap_len=0,F.heap_max=573,V=0;V<L;V++)T[2*V]!==0?(F.heap[++F.heap_len]=Y=V,F.depth[V]=0):T[2*V+1]=0;for(;F.heap_len<2;)T[2*(K=F.heap[++F.heap_len]=Y<2?++Y:0)]=1,F.depth[K]=0,F.opt_len--,v&&(F.static_len-=o[2*K+1]);for(W.max_code=Y,V=F.heap_len>>1;V>=1;V--)rt(F,T,V);K=L;do V=F.heap[1],F.heap[1]=F.heap[F.heap_len--],rt(F,T,1),$=F.heap[1],F.heap[--F.heap_max]=V,F.heap[--F.heap_max]=$,T[2*K]=T[2*V]+T[2*$],F.depth[K]=(F.depth[V]>=F.depth[$]?F.depth[V]:F.depth[$])+1,T[2*V+1]=T[2*$+1]=K,F.heap[1]=K++,rt(F,T,1);while(F.heap_len>=2);F.heap[--F.heap_max]=F.heap[1],(function(st,ht){var nt,it,wt,ft,Tt,Ft,s=ht.dyn_tree,w=ht.max_code,R=ht.stat_desc.static_tree,j=ht.stat_desc.has_stree,X=ht.stat_desc.extra_bits,Z=ht.stat_desc.extra_base,et=ht.stat_desc.max_length,yt=0;for(ft=0;ft<=15;ft++)st.bl_count[ft]=0;for(s[2*st.heap[st.heap_max]+1]=0,nt=st.heap_max+1;nt<573;nt++)(ft=s[2*s[2*(it=st.heap[nt])+1]+1]+1)>et&&(ft=et,yt++),s[2*it+1]=ft,it>w||(st.bl_count[ft]++,Tt=0,it>=Z&&(Tt=X[it-Z]),Ft=s[2*it],st.opt_len+=Ft*(ft+Tt),j&&(st.static_len+=Ft*(R[2*it+1]+Tt)));if(yt!==0){do{for(ft=et-1;st.bl_count[ft]===0;)ft--;st.bl_count[ft]--,st.bl_count[ft+1]+=2,st.bl_count[et]--,yt-=2}while(yt>0);for(ft=et;ft!==0;ft--)for(it=st.bl_count[ft];it!==0;)(wt=st.heap[--nt])>w||(s[2*wt+1]!==ft&&(st.opt_len+=(ft-s[2*wt+1])*s[2*wt],s[2*wt+1]=ft),it--)}})(F,W),B(T,Y,F.bl_count)}function A(F,W,V){var $,K,T=-1,o=W[1],v=0,L=7,Y=4;for(o===0&&(L=138,Y=3),W[2*(V+1)+1]=65535,$=0;$<=V;$++)K=o,o=W[2*($+1)+1],++v<L&&K===o||(v<Y?F.bl_tree[2*K]+=v:K!==0?(K!==T&&F.bl_tree[2*K]++,F.bl_tree[32]++):v<=10?F.bl_tree[34]++:F.bl_tree[36]++,v=0,T=K,o===0?(L=138,Y=3):K===o?(L=6,Y=3):(L=7,Y=4))}function U(F,W,V){var $,K,T=-1,o=W[1],v=0,L=7,Y=4;for(o===0&&(L=138,Y=3),$=0;$<=V;$++)if(K=o,o=W[2*($+1)+1],!(++v<L&&K===o)){if(v<Y)do D(F,K,F.bl_tree);while(--v!=0);else K!==0?(K!==T&&(D(F,K,F.bl_tree),v--),D(F,16,F.bl_tree),x(F,v-3,2)):v<=10?(D(F,17,F.bl_tree),x(F,v-3,3)):(D(F,18,F.bl_tree),x(F,v-11,7));v=0,T=K,o===0?(L=138,Y=3):K===o?(L=6,Y=3):(L=7,Y=4)}}i(O);var k=!1;function q(F,W,V,$){x(F,0+($?1:0),3),(function(K,T,o,v){G(K),C(K,o),C(K,~o),a.arraySet(K.pending_buf,K.window,T,o,K.pending),K.pending+=o})(F,W,V)}P._tr_init=function(F){k||((function(){var W,V,$,K,T,o=new Array(16);for($=0,K=0;K<28;K++)for(h[K]=$,W=0;W<1<<l[K];W++)y[$++]=K;for(y[$-1]=K,T=0,K=0;K<16;K++)for(O[K]=T,W=0;W<1<<g[K];W++)_[T++]=K;for(T>>=7;K<30;K++)for(O[K]=T<<7,W=0;W<1<<g[K]-7;W++)_[256+T++]=K;for(V=0;V<=15;V++)o[V]=0;for(W=0;W<=143;)S[2*W+1]=8,W++,o[8]++;for(;W<=255;)S[2*W+1]=9,W++,o[9]++;for(;W<=279;)S[2*W+1]=7,W++,o[7]++;for(;W<=287;)S[2*W+1]=8,W++,o[8]++;for(B(S,287,o),W=0;W<30;W++)N[2*W+1]=5,N[2*W]=n(W,5);u=new M(S,l,257,286,15),m=new M(N,g,0,30,15),E=new M(new Array(0),I,0,19,7)})(),k=!0),F.l_desc=new d(F.dyn_ltree,u),F.d_desc=new d(F.dyn_dtree,m),F.bl_desc=new d(F.bl_tree,E),F.bi_buf=0,F.bi_valid=0,Q(F)},P._tr_stored_block=q,P._tr_flush_block=function(F,W,V,$){var K,T,o=0;F.level>0?(F.strm.data_type===2&&(F.strm.data_type=(function(v){var L,Y=4093624447;for(L=0;L<=31;L++,Y>>>=1)if(1&Y&&v.dyn_ltree[2*L]!==0)return 0;if(v.dyn_ltree[18]!==0||v.dyn_ltree[20]!==0||v.dyn_ltree[26]!==0)return 1;for(L=32;L<256;L++)if(v.dyn_ltree[2*L]!==0)return 1;return 0})(F)),c(F,F.l_desc),c(F,F.d_desc),o=(function(v){var L;for(A(v,v.dyn_ltree,v.l_desc.max_code),A(v,v.dyn_dtree,v.d_desc.max_code),c(v,v.bl_desc),L=18;L>=3&&v.bl_tree[2*p[L]+1]===0;L--);return v.opt_len+=3*(L+1)+5+5+4,L})(F),K=F.opt_len+3+7>>>3,(T=F.static_len+3+7>>>3)<=K&&(K=T)):K=T=V+5,V+4<=K&&W!==-1?q(F,W,V,$):F.strategy===4||T===K?(x(F,2+($?1:0),3),at(F,S,N)):(x(F,4+($?1:0),3),(function(v,L,Y,st){var ht;for(x(v,L-257,5),x(v,Y-1,5),x(v,st-4,4),ht=0;ht<st;ht++)x(v,v.bl_tree[2*p[ht]+1],3);U(v,v.dyn_ltree,L-1),U(v,v.dyn_dtree,Y-1)})(F,F.l_desc.max_code+1,F.d_desc.max_code+1,o+1),at(F,F.dyn_ltree,F.dyn_dtree)),Q(F),$&&G(F)},P._tr_tally=function(F,W,V){return F.pending_buf[F.d_buf+2*F.last_lit]=W>>>8&255,F.pending_buf[F.d_buf+2*F.last_lit+1]=255&W,F.pending_buf[F.l_buf+F.last_lit]=255&V,F.last_lit++,W===0?F.dyn_ltree[2*V]++:(F.matches++,W--,F.dyn_ltree[2*(y[V]+256+1)]++,F.dyn_dtree[2*b(W)]++),F.last_lit===F.lit_bufsize-1},P._tr_align=function(F){x(F,2,3),D(F,256,S),(function(W){W.bi_valid===16?(C(W,W.bi_buf),W.bi_buf=0,W.bi_valid=0):W.bi_valid>=8&&(W.pending_buf[W.pending++]=255&W.bi_buf,W.bi_buf>>=8,W.bi_valid-=8)})(F)}},2292:z=>{z.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}},4155:z=>{var P,r,a=z.exports={};function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function g(m){if(P===setTimeout)return setTimeout(m,0);if((P===i||!P)&&setTimeout)return P=setTimeout,setTimeout(m,0);try{return P(m,0)}catch{try{return P.call(null,m,0)}catch{return P.call(this,m,0)}}}(function(){try{P=typeof setTimeout=="function"?setTimeout:i}catch{P=i}try{r=typeof clearTimeout=="function"?clearTimeout:l}catch{r=l}})();var I,p=[],S=!1,N=-1;function _(){S&&I&&(S=!1,I.length?p=I.concat(p):N=-1,p.length&&y())}function y(){if(!S){var m=g(_);S=!0;for(var E=p.length;E;){for(I=p,p=[];++N<E;)I&&I[N].run();N=-1,E=p.length}I=null,S=!1,(function(O){if(r===clearTimeout)return clearTimeout(O);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(O);try{r(O)}catch{try{return r.call(null,O)}catch{return r.call(this,O)}}})(m)}}function h(m,E){this.fun=m,this.array=E}function u(){}a.nextTick=function(m){var E=new Array(arguments.length-1);if(arguments.length>1)for(var O=1;O<arguments.length;O++)E[O-1]=arguments[O];p.push(new h(m,E)),p.length!==1||S||g(y)},h.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=u,a.addListener=u,a.once=u,a.off=u,a.removeListener=u,a.removeAllListeners=u,a.emit=u,a.prependListener=u,a.prependOnceListener=u,a.listeners=function(m){return[]},a.binding=function(m){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(m){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},9509:(z,P,r)=>{var a=r(8764),i=a.Buffer;function l(I,p){for(var S in I)p[S]=I[S]}function g(I,p,S){return i(I,p,S)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?z.exports=a:(l(a,P),P.Buffer=g),l(i,g),g.from=function(I,p,S){if(typeof I=="number")throw new TypeError("Argument must not be a number");return i(I,p,S)},g.alloc=function(I,p,S){if(typeof I!="number")throw new TypeError("Argument must be a number");var N=i(I);return p!==void 0?typeof S=="string"?N.fill(p,S):N.fill(p):N.fill(0),N},g.allocUnsafe=function(I){if(typeof I!="number")throw new TypeError("Argument must be a number");return i(I)},g.allocUnsafeSlow=function(I){if(typeof I!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(I)}},6099:(z,P,r)=>{(function(a){a.parser=function(T,o){return new g(T,o)},a.SAXParser=g,a.SAXStream=p,a.createStream=function(T,o){return new p(T,o)},a.MAX_BUFFER_LENGTH=65536;var i,l=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function g(T,o){if(!(this instanceof g))return new g(T,o);var v=this;(function(L){for(var Y=0,st=l.length;Y<st;Y++)L[l[Y]]=""})(v),v.q=v.c="",v.bufferCheckPosition=a.MAX_BUFFER_LENGTH,v.opt=o||{},v.opt.lowercase=v.opt.lowercase||v.opt.lowercasetags,v.looseCase=v.opt.lowercase?"toLowerCase":"toUpperCase",v.tags=[],v.closed=v.closedRoot=v.sawRoot=!1,v.tag=v.error=null,v.strict=!!T,v.noscript=!(!T&&!v.opt.noscript),v.state=n.BEGIN,v.strictEntities=v.opt.strictEntities,v.ENTITIES=v.strictEntities?Object.create(a.XML_ENTITIES):Object.create(a.ENTITIES),v.attribList=[],v.opt.xmlns&&(v.ns=Object.create(_)),v.trackPosition=v.opt.position!==!1,v.trackPosition&&(v.position=v.line=v.column=0),Q(v,"onready")}a.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(T){function o(){}return o.prototype=T,new o}),Object.keys||(Object.keys=function(T){var o=[];for(var v in T)T.hasOwnProperty(v)&&o.push(v);return o}),g.prototype={end:function(){c(this)},write:function(T){var o=this;if(this.error)throw this.error;if(o.closed)return at(o,"Cannot write after close. Assign an onready handler.");if(T===null)return c(o);typeof T=="object"&&(T=T.toString());for(var v=0,L="";L=K(T,v++),o.c=L,L;)switch(o.trackPosition&&(o.position++,L===`
|
|
3
3
|
`?(o.line++,o.column=0):o.column++),o.state){case n.BEGIN:if(o.state=n.BEGIN_WHITESPACE,L==="\uFEFF")continue;$(o,L);continue;case n.BEGIN_WHITESPACE:$(o,L);continue;case n.TEXT:if(o.sawRoot&&!o.closedRoot){for(var Y=v-1;L&&L!=="<"&&L!=="&";)(L=K(T,v++))&&o.trackPosition&&(o.position++,L===`
|
|
4
4
|
`?(o.line++,o.column=0):o.column++);o.textNode+=T.substring(Y,v-1)}L!=="<"||o.sawRoot&&o.closedRoot&&!o.strict?(E(L)||o.sawRoot&&!o.closedRoot||A(o,"Text data outside of root node."),L==="&"?o.state=n.TEXT_ENTITY:o.textNode+=L):(o.state=n.OPEN_WAKA,o.startTagPosition=o.position);continue;case n.SCRIPT:L==="<"?o.state=n.SCRIPT_ENDING:o.script+=L;continue;case n.SCRIPT_ENDING:L==="/"?o.state=n.CLOSE_TAG:(o.script+="<"+L,o.state=n.SCRIPT);continue;case n.OPEN_WAKA:if(L==="!")o.state=n.SGML_DECL,o.sgmlDecl="";else if(!E(L))if(d(y,L))o.state=n.OPEN_TAG,o.tagName=L;else if(L==="/")o.state=n.CLOSE_TAG,o.tagName="";else if(L==="?")o.state=n.PROC_INST,o.procInstName=o.procInstBody="";else{if(A(o,"Unencoded <"),o.startTagPosition+1<o.position){var st=o.position-o.startTagPosition;L=new Array(st).join(" ")+L}o.textNode+="<"+L,o.state=n.TEXT}continue;case n.SGML_DECL:(o.sgmlDecl+L).toUpperCase()==="[CDATA["?(G(o,"onopencdata"),o.state=n.CDATA,o.sgmlDecl="",o.cdata=""):o.sgmlDecl+L==="--"?(o.state=n.COMMENT,o.comment="",o.sgmlDecl=""):(o.sgmlDecl+L).toUpperCase()==="DOCTYPE"?(o.state=n.DOCTYPE,(o.doctype||o.sawRoot)&&A(o,"Inappropriately located doctype declaration"),o.doctype="",o.sgmlDecl=""):L===">"?(G(o,"onsgmldeclaration",o.sgmlDecl),o.sgmlDecl="",o.state=n.TEXT):(O(L)&&(o.state=n.SGML_DECL_QUOTED),o.sgmlDecl+=L);continue;case n.SGML_DECL_QUOTED:L===o.q&&(o.state=n.SGML_DECL,o.q=""),o.sgmlDecl+=L;continue;case n.DOCTYPE:L===">"?(o.state=n.TEXT,G(o,"ondoctype",o.doctype),o.doctype=!0):(o.doctype+=L,L==="["?o.state=n.DOCTYPE_DTD:O(L)&&(o.state=n.DOCTYPE_QUOTED,o.q=L));continue;case n.DOCTYPE_QUOTED:o.doctype+=L,L===o.q&&(o.q="",o.state=n.DOCTYPE);continue;case n.DOCTYPE_DTD:o.doctype+=L,L==="]"?o.state=n.DOCTYPE:O(L)&&(o.state=n.DOCTYPE_DTD_QUOTED,o.q=L);continue;case n.DOCTYPE_DTD_QUOTED:o.doctype+=L,L===o.q&&(o.state=n.DOCTYPE_DTD,o.q="");continue;case n.COMMENT:L==="-"?o.state=n.COMMENT_ENDING:o.comment+=L;continue;case n.COMMENT_ENDING:L==="-"?(o.state=n.COMMENT_ENDED,o.comment=rt(o.opt,o.comment),o.comment&&G(o,"oncomment",o.comment),o.comment=""):(o.comment+="-"+L,o.state=n.COMMENT);continue;case n.COMMENT_ENDED:L!==">"?(A(o,"Malformed comment"),o.comment+="--"+L,o.state=n.COMMENT):o.state=n.TEXT;continue;case n.CDATA:L==="]"?o.state=n.CDATA_ENDING:o.cdata+=L;continue;case n.CDATA_ENDING:L==="]"?o.state=n.CDATA_ENDING_2:(o.cdata+="]"+L,o.state=n.CDATA);continue;case n.CDATA_ENDING_2:L===">"?(o.cdata&&G(o,"oncdata",o.cdata),G(o,"onclosecdata"),o.cdata="",o.state=n.TEXT):L==="]"?o.cdata+="]":(o.cdata+="]]"+L,o.state=n.CDATA);continue;case n.PROC_INST:L==="?"?o.state=n.PROC_INST_ENDING:E(L)?o.state=n.PROC_INST_BODY:o.procInstName+=L;continue;case n.PROC_INST_BODY:if(!o.procInstBody&&E(L))continue;L==="?"?o.state=n.PROC_INST_ENDING:o.procInstBody+=L;continue;case n.PROC_INST_ENDING:L===">"?(G(o,"onprocessinginstruction",{name:o.procInstName,body:o.procInstBody}),o.procInstName=o.procInstBody="",o.state=n.TEXT):(o.procInstBody+="?"+L,o.state=n.PROC_INST_BODY);continue;case n.OPEN_TAG:d(h,L)?o.tagName+=L:(U(o),L===">"?F(o):L==="/"?o.state=n.OPEN_TAG_SLASH:(E(L)||A(o,"Invalid character in tag name"),o.state=n.ATTRIB));continue;case n.OPEN_TAG_SLASH:L===">"?(F(o,!0),W(o)):(A(o,"Forward-slash in opening tag not followed by >"),o.state=n.ATTRIB);continue;case n.ATTRIB:if(E(L))continue;L===">"?F(o):L==="/"?o.state=n.OPEN_TAG_SLASH:d(y,L)?(o.attribName=L,o.attribValue="",o.state=n.ATTRIB_NAME):A(o,"Invalid attribute name");continue;case n.ATTRIB_NAME:L==="="?o.state=n.ATTRIB_VALUE:L===">"?(A(o,"Attribute without value"),o.attribValue=o.attribName,q(o),F(o)):E(L)?o.state=n.ATTRIB_NAME_SAW_WHITE:d(h,L)?o.attribName+=L:A(o,"Invalid attribute name");continue;case n.ATTRIB_NAME_SAW_WHITE:if(L==="=")o.state=n.ATTRIB_VALUE;else{if(E(L))continue;A(o,"Attribute without value"),o.tag.attributes[o.attribName]="",o.attribValue="",G(o,"onattribute",{name:o.attribName,value:""}),o.attribName="",L===">"?F(o):d(y,L)?(o.attribName=L,o.state=n.ATTRIB_NAME):(A(o,"Invalid attribute name"),o.state=n.ATTRIB)}continue;case n.ATTRIB_VALUE:if(E(L))continue;O(L)?(o.q=L,o.state=n.ATTRIB_VALUE_QUOTED):(A(o,"Unquoted attribute value"),o.state=n.ATTRIB_VALUE_UNQUOTED,o.attribValue=L);continue;case n.ATTRIB_VALUE_QUOTED:if(L!==o.q){L==="&"?o.state=n.ATTRIB_VALUE_ENTITY_Q:o.attribValue+=L;continue}q(o),o.q="",o.state=n.ATTRIB_VALUE_CLOSED;continue;case n.ATTRIB_VALUE_CLOSED:E(L)?o.state=n.ATTRIB:L===">"?F(o):L==="/"?o.state=n.OPEN_TAG_SLASH:d(y,L)?(A(o,"No whitespace between attributes"),o.attribName=L,o.attribValue="",o.state=n.ATTRIB_NAME):A(o,"Invalid attribute name");continue;case n.ATTRIB_VALUE_UNQUOTED:if(!M(L)){L==="&"?o.state=n.ATTRIB_VALUE_ENTITY_U:o.attribValue+=L;continue}q(o),L===">"?F(o):o.state=n.ATTRIB;continue;case n.CLOSE_TAG:if(o.tagName)L===">"?W(o):d(h,L)?o.tagName+=L:o.script?(o.script+="</"+o.tagName,o.tagName="",o.state=n.SCRIPT):(E(L)||A(o,"Invalid tagname in closing tag"),o.state=n.CLOSE_TAG_SAW_WHITE);else{if(E(L))continue;b(y,L)?o.script?(o.script+="</"+L,o.state=n.SCRIPT):A(o,"Invalid tagname in closing tag."):o.tagName=L}continue;case n.CLOSE_TAG_SAW_WHITE:if(E(L))continue;L===">"?W(o):A(o,"Invalid characters in closing tag");continue;case n.TEXT_ENTITY:case n.ATTRIB_VALUE_ENTITY_Q:case n.ATTRIB_VALUE_ENTITY_U:var ht,nt;switch(o.state){case n.TEXT_ENTITY:ht=n.TEXT,nt="textNode";break;case n.ATTRIB_VALUE_ENTITY_Q:ht=n.ATTRIB_VALUE_QUOTED,nt="attribValue";break;case n.ATTRIB_VALUE_ENTITY_U:ht=n.ATTRIB_VALUE_UNQUOTED,nt="attribValue"}L===";"?(o[nt]+=V(o),o.entity="",o.state=ht):d(o.entity.length?m:u,L)?o.entity+=L:(A(o,"Invalid character in entity name"),o[nt]+="&"+o.entity+L,o.entity="",o.state=ht);continue;default:throw new Error(o,"Unknown state: "+o.state)}return o.position>=o.bufferCheckPosition&&(function(it){for(var wt=Math.max(a.MAX_BUFFER_LENGTH,10),ft=0,Tt=0,Ft=l.length;Tt<Ft;Tt++){var s=it[l[Tt]].length;if(s>wt)switch(l[Tt]){case"textNode":lt(it);break;case"cdata":G(it,"oncdata",it.cdata),it.cdata="";break;case"script":G(it,"onscript",it.script),it.script="";break;default:at(it,"Max buffer length exceeded: "+l[Tt])}ft=Math.max(ft,s)}var w=a.MAX_BUFFER_LENGTH-ft;it.bufferCheckPosition=w+it.position})(o),o},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var T;lt(T=this),T.cdata!==""&&(G(T,"oncdata",T.cdata),T.cdata=""),T.script!==""&&(G(T,"onscript",T.script),T.script="")}};try{i=r(2830).Stream}catch{i=function(){}}var I=a.EVENTS.filter((function(T){return T!=="error"&&T!=="end"}));function p(T,o){if(!(this instanceof p))return new p(T,o);i.apply(this),this._parser=new g(T,o),this.writable=!0,this.readable=!0;var v=this;this._parser.onend=function(){v.emit("end")},this._parser.onerror=function(L){v.emit("error",L),v._parser.error=null},this._decoder=null,I.forEach((function(L){Object.defineProperty(v,"on"+L,{get:function(){return v._parser["on"+L]},set:function(Y){if(!Y)return v.removeAllListeners(L),v._parser["on"+L]=Y,Y;v.on(L,Y)},enumerable:!0,configurable:!1})}))}p.prototype=Object.create(i.prototype,{constructor:{value:p}}),p.prototype.write=function(T){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(T)){if(!this._decoder){var o=r(2553).s;this._decoder=new o("utf8")}T=this._decoder.write(T)}return this._parser.write(T.toString()),this.emit("data",T),!0},p.prototype.end=function(T){return T&&T.length&&this.write(T),this._parser.end(),!0},p.prototype.on=function(T,o){var v=this;return v._parser["on"+T]||I.indexOf(T)===-1||(v._parser["on"+T]=function(){var L=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);L.splice(0,0,T),v.emit.apply(v,L)}),i.prototype.on.call(v,T,o)};var S="http://www.w3.org/XML/1998/namespace",N="http://www.w3.org/2000/xmlns/",_={xml:S,xmlns:N},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]/,h=/[:_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-]/,u=/[#:_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 E(T){return T===" "||T===`
|