@eigenpal/docx-js-editor 0.0.28 → 0.0.29

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.
Files changed (136) hide show
  1. package/dist/{ClipboardManager-BzgQ-SOi.d.cts → ClipboardManager-t936d0KD.d.mts} +1 -1
  2. package/dist/{DocumentAgent-B9FUoSVS.d.cts → DocumentAgent-BqA9EJ3F.d.mts} +1 -1
  3. package/dist/FindReplaceDialog-AQFR4OCT.js +1 -1
  4. package/dist/FindReplaceDialog-N4J5OB7O.mjs +1 -0
  5. package/dist/FootnotePropertiesDialog-UFUIHLDW.mjs +1 -0
  6. package/dist/FootnotePropertiesDialog-YYIZU5U6.js +1 -1
  7. package/dist/HyperlinkDialog-HGZ2S37Z.js +1 -1
  8. package/dist/HyperlinkDialog-YQSQFHOP.mjs +1 -0
  9. package/dist/ImagePositionDialog-DQ4JWS4F.js +1 -1
  10. package/dist/ImagePositionDialog-HT6J2SHV.mjs +1 -0
  11. package/dist/ImagePropertiesDialog-3VK2S2AF.mjs +1 -0
  12. package/dist/ImagePropertiesDialog-GJMGLM6G.js +1 -1
  13. package/dist/PageSetupDialog-3QCVUNDL.mjs +1 -0
  14. package/dist/PageSetupDialog-ZZTFPZKJ.js +1 -1
  15. package/dist/TablePropertiesDialog-FI5E3RCB.mjs +1 -0
  16. package/dist/TablePropertiesDialog-STZOGHJB.js +1 -1
  17. package/dist/chunk-2KHL5RSD.js +3 -3
  18. package/dist/chunk-4VUZBV2S.js +1 -1
  19. package/dist/chunk-6WPRCJ5A.mjs +1 -0
  20. package/dist/chunk-7HZRJTOL.mjs +4 -0
  21. package/dist/chunk-AARNCPWR.js +1 -1
  22. package/dist/chunk-AZRYS2WF.mjs +2 -0
  23. package/dist/chunk-BUEMG4NW.js +1 -1
  24. package/dist/chunk-CQRI4YUS.mjs +26 -0
  25. package/dist/chunk-CTYOM6BE.js +2 -2
  26. package/dist/{chunk-PRBTINOW.js → chunk-DLVLK5FT.mjs} +2 -2
  27. package/dist/chunk-FVUGBRDD.js +1 -1
  28. package/dist/chunk-G72SXG7G.js +258 -0
  29. package/dist/chunk-H5NTJZO4.js +1 -1
  30. package/dist/chunk-I6LFWQFR.mjs +59 -0
  31. package/dist/chunk-IFPN3NT3.js +3 -3
  32. package/dist/chunk-IRO7KGGC.js +59 -0
  33. package/dist/chunk-KCUPCJFL.mjs +111 -0
  34. package/dist/chunk-LYBG4YI7.mjs +1 -0
  35. package/dist/chunk-M5F4SK3W.mjs +1 -0
  36. package/dist/chunk-MRWJ3GNH.js +9 -0
  37. package/dist/chunk-MVCTPHRR.mjs +258 -0
  38. package/dist/chunk-PB7VMDDP.js +24 -0
  39. package/dist/chunk-PJVI53AH.js +2 -2
  40. package/dist/chunk-QAZ4233N.mjs +1 -0
  41. package/dist/{chunk-OJ7NJK46.cjs → chunk-QQ63M65M.js} +1 -1
  42. package/dist/chunk-QTSXJRP6.mjs +1 -0
  43. package/dist/chunk-QVPR2W5S.js +1 -1
  44. package/dist/chunk-SE5EN2QL.js +1 -1
  45. package/dist/chunk-TAUMSKRE.mjs +1 -0
  46. package/dist/{chunk-JO2CKU4O.js → chunk-TDEHAPMZ.mjs} +1 -1
  47. package/dist/chunk-VHWEKJ35.js +10 -0
  48. package/dist/chunk-VR6PT4IZ.js +26 -0
  49. package/dist/chunk-W53SI3XW.mjs +1 -0
  50. package/dist/chunk-WOHFANC5.mjs +3 -0
  51. package/dist/chunk-XGL3EGKF.js +7 -7
  52. package/dist/chunk-XWBCP563.mjs +2 -0
  53. package/dist/{chunk-TOGKKPIW.js → chunk-YGTSQZRK.mjs} +1 -1
  54. package/dist/chunk-Z35FA4M4.mjs +10 -0
  55. package/dist/{clipboard-Cm7udEnb.d.cts → clipboard-BkM7Zvgs.d.mts} +1 -1
  56. package/dist/{colorResolver-Bu7uJqpw.d.cts → colorResolver-BwI_Uxp3.d.mts} +2 -2
  57. package/dist/{core-plugins-reexport.d.cts → core-plugins-reexport.d.mts} +4 -4
  58. package/dist/core-plugins-reexport.js +1 -1
  59. package/dist/core-plugins-reexport.mjs +1 -0
  60. package/dist/{core-reexport.d.cts → core-reexport.d.mts} +11 -11
  61. package/dist/core-reexport.js +1 -1
  62. package/dist/core-reexport.mjs +1 -0
  63. package/dist/executor-L2MVKMXO.js +1 -1
  64. package/dist/executor-XKBCCVNY.mjs +1 -0
  65. package/dist/{fontLoader-X8ocGzeD.d.cts → fontLoader-DicgJidU.d.mts} +1 -1
  66. package/dist/{headless-reexport.d.cts → headless-reexport.d.mts} +7 -7
  67. package/dist/headless-reexport.js +2 -2
  68. package/dist/headless-reexport.mjs +4 -0
  69. package/dist/{index.d.cts → index.d.mts} +14 -14
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +6 -6
  72. package/dist/index.mjs +155 -0
  73. package/dist/lib-BCT2DRYI.mjs +1 -0
  74. package/dist/lib-U35UU4OU.js +1 -1
  75. package/dist/{mcp-reexport.d.cts → mcp-reexport.d.mts} +2 -2
  76. package/dist/mcp-reexport.js +9 -9
  77. package/dist/mcp-reexport.mjs +16 -0
  78. package/dist/processTemplate-5ZST2Q5L.js +1 -0
  79. package/dist/{processTemplate-CGIQEJ26.js → processTemplate-LRHXOWMZ.mjs} +1 -1
  80. package/dist/{react-BgZObIoP.d.ts → react-By80Gfi-.d.ts} +4 -0
  81. package/dist/{react-D9JDP3cV.d.cts → react-C-pJU0Y4.d.mts} +8 -4
  82. package/dist/{react.d.cts → react.d.mts} +5 -5
  83. package/dist/react.d.ts +1 -1
  84. package/dist/react.js +1 -1
  85. package/dist/react.mjs +1 -0
  86. package/dist/{registry-Bxb5ZI1z.d.cts → registry-DyIMyB-0.d.mts} +1 -1
  87. package/dist/selectionRects-6TRAXB7D.js +1 -0
  88. package/dist/selectionRects-IS7ZAS3A.mjs +1 -0
  89. package/dist/{types-D03hsi5t.d.cts → types-B3LkfO0u.d.mts} +1 -1
  90. package/dist/{ui.d.cts → ui.d.mts} +3 -3
  91. package/dist/ui.js +1 -1
  92. package/dist/ui.mjs +1 -0
  93. package/dist/{variableDetector-iGl52A6q.d.cts → variableDetector-CIqTek7A.d.mts} +1 -1
  94. package/package.json +17 -18
  95. package/dist/FindReplaceDialog-J3DI3U5I.cjs +0 -1
  96. package/dist/FootnotePropertiesDialog-DO5DCAW6.cjs +0 -1
  97. package/dist/HyperlinkDialog-PEPS3C2G.cjs +0 -1
  98. package/dist/ImagePositionDialog-UYXYHSP4.cjs +0 -1
  99. package/dist/ImagePropertiesDialog-V6SVKINO.cjs +0 -1
  100. package/dist/PageSetupDialog-RLMYJ3BA.cjs +0 -1
  101. package/dist/TablePropertiesDialog-A36OXG3A.cjs +0 -1
  102. package/dist/chunk-2FYTKTQL.cjs +0 -111
  103. package/dist/chunk-2VHQ7YOQ.cjs +0 -1
  104. package/dist/chunk-3YHC2RAO.js +0 -258
  105. package/dist/chunk-63YB7DGI.js +0 -59
  106. package/dist/chunk-7OCUAFPO.cjs +0 -258
  107. package/dist/chunk-HE3SUXOQ.cjs +0 -4
  108. package/dist/chunk-HRUPO723.js +0 -10
  109. package/dist/chunk-IA4LPH2A.cjs +0 -1
  110. package/dist/chunk-JMR5HNJP.cjs +0 -10
  111. package/dist/chunk-KR32M3S4.cjs +0 -1
  112. package/dist/chunk-MSV5LTHM.cjs +0 -9
  113. package/dist/chunk-NLYEW36R.js +0 -26
  114. package/dist/chunk-NVAQQYBJ.cjs +0 -1
  115. package/dist/chunk-P7ZF45KZ.cjs +0 -1
  116. package/dist/chunk-PCJ5ACUV.cjs +0 -1
  117. package/dist/chunk-PVV7DV3L.cjs +0 -59
  118. package/dist/chunk-QDNL7NWN.cjs +0 -3
  119. package/dist/chunk-VPDOOMUJ.cjs +0 -26
  120. package/dist/chunk-VTAS7VZ6.cjs +0 -2
  121. package/dist/chunk-XKBIFFAS.cjs +0 -24
  122. package/dist/chunk-XS2AQFMF.cjs +0 -2
  123. package/dist/chunk-YS7FDEZ4.cjs +0 -1
  124. package/dist/core-plugins-reexport.cjs +0 -1
  125. package/dist/core-reexport.cjs +0 -1
  126. package/dist/executor-JGWZ7S6Z.cjs +0 -1
  127. package/dist/headless-reexport.cjs +0 -4
  128. package/dist/index.cjs +0 -155
  129. package/dist/lib-SPXD4LFI.cjs +0 -1
  130. package/dist/mcp-reexport.cjs +0 -16
  131. package/dist/processTemplate-FOYV6BC5.cjs +0 -1
  132. package/dist/react.cjs +0 -1
  133. package/dist/selectionRects-BMXJJCPJ.cjs +0 -1
  134. package/dist/selectionRects-TWK7CAC3.js +0 -1
  135. package/dist/ui.cjs +0 -1
  136. /package/dist/{agentApi-BVHzyk2l.d.cts → agentApi-BVHzyk2l.d.mts} +0 -0
@@ -0,0 +1,3 @@
1
+ import {b,a}from'./chunk-TAUMSKRE.mjs';var kt=b((qc,Qr)=>{typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Qr.exports={nextTick:il}:Qr.exports=process;function il(e,t,r,i){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var n=arguments.length,a,o;switch(n){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t);});case 3:return process.nextTick(function(){e.call(null,t,r);});case 4:return process.nextTick(function(){e.call(null,t,r,i);});default:for(a=new Array(n-1),o=0;o<a.length;)a[o++]=arguments[o];return process.nextTick(function(){e.apply(null,a);})}}});var Hn=b((Lc,Wn)=>{var nl={}.toString;Wn.exports=Array.isArray||function(e){return nl.call(e)=="[object Array]"};});var $r=b((Mc,Kn)=>{Kn.exports=a("stream");});var St=b((ei,Xn)=>{var sr=a("buffer"),pe=sr.Buffer;function Yn(e,t){for(var r in e)t[r]=e[r];}pe.from&&pe.alloc&&pe.allocUnsafe&&pe.allocUnsafeSlow?Xn.exports=sr:(Yn(sr,ei),ei.Buffer=Ve);function Ve(e,t,r){return pe(e,t,r)}Yn(pe,Ve);Ve.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return pe(e,t,r)};Ve.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=pe(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};Ve.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return pe(e)};Ve.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return sr.SlowBuffer(e)};});var Je=b(Z=>{function al(e){return Array.isArray?Array.isArray(e):fr(e)==="[object Array]"}Z.isArray=al;function ol(e){return typeof e=="boolean"}Z.isBoolean=ol;function sl(e){return e===null}Z.isNull=sl;function fl(e){return e==null}Z.isNullOrUndefined=fl;function ll(e){return typeof e=="number"}Z.isNumber=ll;function ul(e){return typeof e=="string"}Z.isString=ul;function hl(e){return typeof e=="symbol"}Z.isSymbol=hl;function dl(e){return e===void 0}Z.isUndefined=dl;function cl(e){return fr(e)==="[object RegExp]"}Z.isRegExp=cl;function pl(e){return typeof e=="object"&&e!==null}Z.isObject=pl;function vl(e){return fr(e)==="[object Date]"}Z.isDate=vl;function _l(e){return fr(e)==="[object Error]"||e instanceof Error}Z.isError=_l;function gl(e){return typeof e=="function"}Z.isFunction=gl;function wl(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Z.isPrimitive=wl;Z.isBuffer=a("buffer").Buffer.isBuffer;function fr(e){return Object.prototype.toString.call(e)}});var Gn=b((Uc,ti)=>{typeof Object.create=="function"?ti.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}}));}:ti.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t;}};});var Qe=b((Zc,ii)=>{try{if(ri=a("util"),typeof ri.inherits!="function")throw "";ii.exports=ri.inherits;}catch{ii.exports=Gn();}var ri;});var Jn=b((jc,ni)=>{function bl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Vn=St().Buffer,Et=a("util");function ml(e,t,r){e.copy(t,r);}ni.exports=(function(){function e(){bl(this,e),this.head=null,this.tail=null,this.length=0;}return e.prototype.push=function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length;},e.prototype.unshift=function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length;},e.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0;},e.prototype.join=function(r){if(this.length===0)return "";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n},e.prototype.concat=function(r){if(this.length===0)return Vn.alloc(0);for(var i=Vn.allocUnsafe(r>>>0),n=this.head,a=0;n;)ml(n.data,i,a),a+=n.data.length,n=n.next;return i},e})();Et&&Et.inspect&&Et.inspect.custom&&(ni.exports.prototype[Et.inspect.custom]=function(){var e=Et.inspect({length:this.length});return this.constructor.name+" "+e});});var ai=b((Wc,Qn)=>{var lr=kt();function yl(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=true,lr.nextTick(ur,this,e)):lr.nextTick(ur,this,e)),this):(this._readableState&&(this._readableState.destroyed=true),this._writableState&&(this._writableState.destroyed=true),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=true,lr.nextTick(ur,r,a)):lr.nextTick(ur,r,a):t&&t(a);}),this)}function xl(){this._readableState&&(this._readableState.destroyed=false,this._readableState.reading=false,this._readableState.ended=false,this._readableState.endEmitted=false),this._writableState&&(this._writableState.destroyed=false,this._writableState.ended=false,this._writableState.ending=false,this._writableState.finalCalled=false,this._writableState.prefinished=false,this._writableState.finished=false,this._writableState.errorEmitted=false);}function ur(e,t){e.emit("error",t);}Qn.exports={destroy:yl,undestroy:xl};});var ea=b((Hc,$n)=>{$n.exports=a("util").deprecate;});var si=b((Kc,fa)=>{var Fe=kt();fa.exports=q;function ra(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Pl(t,e);};}var kl=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Fe.nextTick,$e;q.WritableState=Tt;var ia=Object.create(Je());ia.inherits=Qe();var Sl={deprecate:ea()},na=$r(),dr=St().Buffer,El=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Cl(e){return dr.from(e)}function Tl(e){return dr.isBuffer(e)||e instanceof El}var aa=ai();ia.inherits(q,na);function Al(){}function Tt(e,t){$e=$e||Ne(),e=e||{};var r=t instanceof $e;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,n=e.writableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=false,this.needDrain=false,this.ending=false,this.ended=false,this.finished=false,this.destroyed=false;var o=e.decodeStrings===false;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=false,this.corked=0,this.sync=true,this.bufferProcessing=false,this.onwrite=function(s){Fl(t,s);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=false,this.errorEmitted=false,this.bufferedRequestCount=0,this.corkedRequestsFree=new ra(this);}Tt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Tt.prototype,"buffer",{get:Sl.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var hr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(hr=Function.prototype[Symbol.hasInstance],Object.defineProperty(q,Symbol.hasInstance,{value:function(e){return hr.call(this,e)?true:this!==q?false:e&&e._writableState instanceof Tt}})):hr=function(e){return e instanceof this};function q(e){if($e=$e||Ne(),!hr.call(q,this)&&!(this instanceof $e))return new q(e);this._writableState=new Tt(e,this),this.writable=true,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),na.call(this);}q.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function Rl(e,t){var r=new Error("write after end");e.emit("error",r),Fe.nextTick(t,r);}function Ol(e,t,r,i){var n=true,a=false;return r===null?a=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Fe.nextTick(i,a),n=false),n}q.prototype.write=function(e,t,r){var i=this._writableState,n=false,a=!i.objectMode&&Tl(e);return a&&!dr.isBuffer(e)&&(e=Cl(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Al),i.ended?Rl(this,r):(a||Ol(this,i,e,r))&&(i.pendingcb++,n=Dl(this,i,a,e,t,r)),n};q.prototype.cork=function(){var e=this._writableState;e.corked++;};q.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&oa(this,e));};q.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function Il(e,t,r){return !e.objectMode&&e.decodeStrings!==false&&typeof t=="string"&&(t=dr.from(t,r)),t}Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function Dl(e,t,r,i,n,a){if(!r){var o=Il(t,i,n);i!==o&&(r=true,n="buffer",i=o);}var s=t.objectMode?1:i.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=true),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:a,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1;}else oi(e,t,false,s,i,n,a);return u}function oi(e,t,r,i,n,a,o){t.writelen=i,t.writecb=o,t.writing=true,t.sync=true,r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=false;}function Bl(e,t,r,i,n){--t.pendingcb,r?(Fe.nextTick(n,i),Fe.nextTick(Ct,e,t),e._writableState.errorEmitted=true,e.emit("error",i)):(n(i),e._writableState.errorEmitted=true,e.emit("error",i),Ct(e,t));}function zl(e){e.writing=false,e.writecb=null,e.length-=e.writelen,e.writelen=0;}function Fl(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(zl(r),t)Bl(e,r,i,t,n);else {var a=sa(r);!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&oa(e,r),i?kl(ta,e,r,a,n):ta(e,r,a,n);}}function ta(e,t,r,i){r||Nl(e,t),t.pendingcb--,i(),Ct(e,t);}function Nl(e,t){t.length===0&&t.needDrain&&(t.needDrain=false,e.emit("drain"));}function oa(e,t){t.bufferProcessing=true;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=true;r;)n[o]=r,r.isBuf||(s=false),r=r.next,o+=1;n.allBuffers=s,oi(e,t,true,t.length,n,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new ra(t),t.bufferedRequestCount=0;}else {for(;r;){var u=r.chunk,f=r.encoding,l=r.callback,w=t.objectMode?1:u.length;if(oi(e,t,false,w,u,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null);}t.bufferedRequest=r,t.bufferProcessing=false;}q.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"));};q.prototype._writev=null;q.prototype.end=function(e,t,r){var i=this._writableState;typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||Ml(this,i,r);};function sa(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function ql(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=true,e.emit("prefinish"),Ct(e,t);});}function Ll(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=true,Fe.nextTick(ql,e,t)):(t.prefinished=true,e.emit("prefinish")));}function Ct(e,t){var r=sa(t);return r&&(Ll(e,t),t.pendingcb===0&&(t.finished=true,e.emit("finish"))),r}function Ml(e,t,r){t.ending=true,Ct(e,t),r&&(t.finished?Fe.nextTick(r):e.once("finish",r)),t.ended=true,e.writable=false;}function Pl(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next;}t.corkedRequestsFree.next=e;}Object.defineProperty(q.prototype,"destroyed",{get:function(){return this._writableState===void 0?false:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e);}});q.prototype.destroy=aa.destroy;q.prototype._undestroy=aa.undestroy;q.prototype._destroy=function(e,t){this.end(),t(e);};});var Ne=b((Yc,da)=>{var la=kt(),Ul=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};da.exports=ve;var ua=Object.create(Je());ua.inherits=Qe();var ha=ui(),li=si();ua.inherits(ve,ha);for(fi=Ul(li.prototype),cr=0;cr<fi.length;cr++)pr=fi[cr],ve.prototype[pr]||(ve.prototype[pr]=li.prototype[pr]);var fi,pr,cr;function ve(e){if(!(this instanceof ve))return new ve(e);ha.call(this,e),li.call(this,e),e&&e.readable===false&&(this.readable=false),e&&e.writable===false&&(this.writable=false),this.allowHalfOpen=true,e&&e.allowHalfOpen===false&&(this.allowHalfOpen=false),this.once("end",Zl);}Object.defineProperty(ve.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function Zl(){this.allowHalfOpen||this._writableState.ended||la.nextTick(jl,this);}function jl(e){e.end();}Object.defineProperty(ve.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?false:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e);}});ve.prototype._destroy=function(e,t){this.push(null),this.end(),la.nextTick(t,e);};});var ci=b(pa=>{var di=St().Buffer,ca=di.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":case "raw":return true;default:return false}};function Wl(e){if(!e)return "utf8";for(var t;;)switch(e){case "utf8":case "utf-8":return "utf8";case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return "utf16le";case "latin1":case "binary":return "latin1";case "base64":case "ascii":case "hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=true;}}function Hl(e){var t=Wl(e);if(typeof t!="string"&&(di.isEncoding===ca||!ca(e)))throw new Error("Unknown encoding: "+e);return t||e}pa.StringDecoder=At;function At(e){this.encoding=Hl(e);var t;switch(this.encoding){case "utf16le":this.text=Jl,this.end=Ql,t=4;break;case "utf8":this.fillLast=Xl,t=4;break;case "base64":this.text=$l,this.end=eu,t=3;break;default:this.write=tu,this.end=ru;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=di.allocUnsafe(t);}At.prototype.write=function(e){if(e.length===0)return "";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return "";r=this.lastNeed,this.lastNeed=0;}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};At.prototype.end=Vl;At.prototype.text=Gl;At.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length;};function hi(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Kl(e,t,r){var i=t.length-1;if(i<r)return 0;var n=hi(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=hi(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=hi(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function Yl(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function Xl(e){var t=this.lastTotal-this.lastNeed,r=Yl(this,e);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length;}function Gl(e,t){var r=Kl(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function Vl(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function Jl(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Ql(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function $l(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function eu(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function tu(e){return e.toString(this.encoding)}function ru(e){return e&&e.length?this.write(e):""}});var ui=b((Vc,Ca)=>{var tt=kt();Ca.exports=B;var iu=Hn(),Rt;B.ReadableState=ya;a("events").EventEmitter;var wa=function(e,t){return e.listeners(t).length},wi=$r(),Ot=St().Buffer,nu=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function au(e){return Ot.from(e)}function ou(e){return Ot.isBuffer(e)||e instanceof nu}var ba=Object.create(Je());ba.inherits=Qe();var pi=a("util"),O=void 0;pi&&pi.debuglog?O=pi.debuglog("stream"):O=function(){};var su=Jn(),ma=ai(),et;ba.inherits(B,wi);var vi=["error","close","destroy","pause","resume"];function fu(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):iu(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]];}function ya(e,t){Rt=Rt||Ne(),e=e||{};var r=t instanceof Rt;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,n=e.readableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new su,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=false,this.endEmitted=false,this.reading=false,this.sync=true,this.needReadable=false,this.emittedReadable=false,this.readableListening=false,this.resumeScheduled=false,this.destroyed=false,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=false,this.decoder=null,this.encoding=null,e.encoding&&(et||(et=ci().StringDecoder),this.decoder=new et(e.encoding),this.encoding=e.encoding);}function B(e){if(Rt=Rt||Ne(),!(this instanceof B))return new B(e);this._readableState=new ya(e,this),this.readable=true,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),wi.call(this);}Object.defineProperty(B.prototype,"destroyed",{get:function(){return this._readableState===void 0?false:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e);}});B.prototype.destroy=ma.destroy;B.prototype._undestroy=ma.undestroy;B.prototype._destroy=function(e,t){this.push(null),t(e);};B.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=true:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=Ot.from(e,t),t=""),i=true),xa(this,e,t,false,i)};B.prototype.unshift=function(e){return xa(this,e,null,true,false)};function xa(e,t,r,i,n){var a=e._readableState;if(t===null)a.reading=false,du(e,a);else {var o;n||(o=lu(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==Ot.prototype&&(t=au(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_i(e,a,t,true):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=false,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?_i(e,a,t,false):ka(e,a)):_i(e,a,t,false))):i||(a.reading=false);}return uu(a)}function _i(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&vr(e)),ka(e,t);}function lu(e,t){var r;return !ou(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function uu(e){return !e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}B.prototype.isPaused=function(){return this._readableState.flowing===false};B.prototype.setEncoding=function(e){return et||(et=ci().StringDecoder),this._readableState.decoder=new et(e),this._readableState.encoding=e,this};var va=8388608;function hu(e){return e>=va?e=va:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function _a(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=hu(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=true,0))}B.prototype.read=function(e){O("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=false),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return O("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?gi(this):vr(this),null;if(e=_a(e,t),e===0&&t.ended)return t.length===0&&gi(this),null;var i=t.needReadable;O("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=true,O("length less than watermark",i)),t.ended||t.reading?(i=false,O("reading or ended",i)):i&&(O("do read"),t.reading=true,t.sync=true,t.length===0&&(t.needReadable=true),this._read(t.highWaterMark),t.sync=false,t.reading||(e=_a(r,t)));var n;return e>0?n=Sa(e,t):n=null,n===null?(t.needReadable=true,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=true),r!==e&&t.ended&&gi(this)),n!==null&&this.emit("data",n),n};function du(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length);}t.ended=true,vr(e);}}function vr(e){var t=e._readableState;t.needReadable=false,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=true,t.sync?tt.nextTick(ga,e):ga(e));}function ga(e){O("emit readable"),e.emit("readable"),bi(e);}function ka(e,t){t.readingMore||(t.readingMore=true,tt.nextTick(cu,e,t));}function cu(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(O("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=false;}B.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"));};B.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,O("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==false)&&e!==process.stdout&&e!==process.stderr,a=n?s:y;i.endEmitted?tt.nextTick(a):r.once("end",a),e.on("unpipe",o);function o(_,c){O("onunpipe"),_===r&&c&&c.hasUnpiped===false&&(c.hasUnpiped=true,l());}function s(){O("onend"),e.end();}var u=pu(r);e.on("drain",u);var f=false;function l(){O("cleanup"),e.removeListener("close",k),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",o),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",d),f=true,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u();}var w=false;r.on("data",d);function d(_){O("ondata"),w=false;var c=e.write(_);c===false&&!w&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Ea(i.pipes,e)!==-1)&&!f&&(O("false write response, pause",i.awaitDrain),i.awaitDrain++,w=true),r.pause());}function h(_){O("onerror",_),y(),e.removeListener("error",h),wa(e,"error")===0&&e.emit("error",_);}fu(e,"error",h);function k(){e.removeListener("finish",b),y();}e.once("close",k);function b(){O("onfinish"),e.removeListener("close",k),y();}e.once("finish",b);function y(){O("unpipe"),r.unpipe(e);}return e.emit("pipe",r),i.flowing||(O("pipe resume"),r.resume()),e};function pu(e){return function(){var t=e._readableState;O("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&wa(e,"data")&&(t.flowing=true,bi(e));}}B.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=false,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=false;for(var a=0;a<n;a++)i[a].emit("unpipe",this,{hasUnpiped:false});return this}var o=Ea(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};B.prototype.on=function(e,t){var r=wi.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==false&&this.resume();else if(e==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=true,i.emittedReadable=false,i.reading?i.length&&vr(this):tt.nextTick(vu,this));}return r};B.prototype.addListener=B.prototype.on;function vu(e){O("readable nexttick read 0"),e.read(0);}B.prototype.resume=function(){var e=this._readableState;return e.flowing||(O("resume"),e.flowing=true,_u(this,e)),this};function _u(e,t){t.resumeScheduled||(t.resumeScheduled=true,tt.nextTick(gu,e,t));}function gu(e,t){t.reading||(O("resume read 0"),e.read(0)),t.resumeScheduled=false,t.awaitDrain=0,e.emit("resume"),bi(e),t.flowing&&!t.reading&&e.read(0);}B.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==false&&(O("pause"),this._readableState.flowing=false,this.emit("pause")),this};function bi(e){var t=e._readableState;for(O("flow",t.flowing);t.flowing&&e.read()!==null;);}B.prototype.wrap=function(e){var t=this,r=this._readableState,i=false;e.on("end",function(){if(O("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o);}t.push(null);}),e.on("data",function(o){if(O("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var s=t.push(o);s||(i=true,e.pause());}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=(function(o){return function(){return e[o].apply(e,arguments)}})(n));for(var a=0;a<vi.length;a++)e.on(vi[a],this.emit.bind(this,vi[a]));return this._read=function(o){O("wrapped _read",o),i&&(i=false,e.resume());},this};Object.defineProperty(B.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});B._fromList=Sa;function Sa(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.head.data:r=t.buffer.concat(t.length),t.buffer.clear()):r=wu(e,t.buffer,t.decoder),r}function wu(e,t,r){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?i=t.shift():i=r?bu(e,t):mu(e,t),i}function bu(e,t){var r=t.head,i=1,n=r.data;for(e-=n.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?n+=a:n+=a.slice(0,e),e-=o,e===0){o===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++i;}return t.length-=i,n}function mu(e,t){var r=Ot.allocUnsafe(e),i=t.head,n=1;for(i.data.copy(r),e-=i.data.length;i=i.next;){var a=i.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,e===0){o===a.length?(++n,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(o));break}++n;}return t.length-=n,r}function gi(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=true,tt.nextTick(yu,t,e));}function yu(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=true,t.readable=false,t.emit("end"));}function Ea(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return -1}});var mi=b((Jc,Ra)=>{Ra.exports=_e;var _r=Ne(),Aa=Object.create(Je());Aa.inherits=Qe();Aa.inherits(_e,_r);function xu(e,t){var r=this._transformState;r.transforming=false;var i=r.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=false,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}function _e(e){if(!(this instanceof _e))return new _e(e);_r.call(this,e),this._transformState={afterTransform:xu.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=true,this._readableState.sync=false,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",ku);}function ku(){var e=this;typeof this._flush=="function"?this._flush(function(t,r){Ta(e,t,r);}):Ta(this,null,null);}_e.prototype.push=function(e,t){return this._transformState.needTransform=false,_r.prototype.push.call(this,e,t)};_e.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};_e.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}};_e.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=true,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=true;};_e.prototype._destroy=function(e,t){var r=this;_r.prototype._destroy.call(this,e,function(i){t(i),r.emit("close");});};function Ta(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var Ba=b((Qc,Da)=>{Da.exports=It;var Oa=mi(),Ia=Object.create(Je());Ia.inherits=Qe();Ia.inherits(It,Oa);function It(e){if(!(this instanceof It))return new It(e);Oa.call(this,e);}It.prototype._transform=function(e,t,r){r(null,e);};});var yi=b((P,gr)=>{var oe=a("stream");process.env.READABLE_STREAM==="disable"&&oe?(gr.exports=oe,P=gr.exports=oe.Readable,P.Readable=oe.Readable,P.Writable=oe.Writable,P.Duplex=oe.Duplex,P.Transform=oe.Transform,P.PassThrough=oe.PassThrough,P.Stream=oe):(P=gr.exports=ui(),P.Stream=oe||P,P.Readable=P,P.Writable=si(),P.Duplex=Ne(),P.Transform=mi(),P.PassThrough=Ba());});var ge=b(X=>{X.base64=true;X.array=true;X.string=true;X.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";X.nodebuffer=typeof Buffer<"u";X.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")X.blob=false;else {xi=new ArrayBuffer(0);try{X.blob=new Blob([xi],{type:"application/zip"}).size===0;}catch{try{za=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,ki=new za,ki.append(xi),X.blob=ki.getBlob("application/zip").size===0;}catch{X.blob=false;}}}var xi,za,ki;try{X.nodestream=!!yi().Readable;}catch{X.nodestream=false;}});var Ei=b(Si=>{var Su=F(),Eu=ge(),se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Si.encode=function(e){for(var t=[],r,i,n,a,o,s,u,f=0,l=e.length,w=l,d=Su.getTypeOf(e)!=="string";f<e.length;)w=l-f,d?(r=e[f++],i=f<l?e[f++]:0,n=f<l?e[f++]:0):(r=e.charCodeAt(f++),i=f<l?e.charCodeAt(f++):0,n=f<l?e.charCodeAt(f++):0),a=r>>2,o=(r&3)<<4|i>>4,s=w>1?(i&15)<<2|n>>6:64,u=w>2?n&63:64,t.push(se.charAt(a)+se.charAt(o)+se.charAt(s)+se.charAt(u));return t.join("")};Si.decode=function(e){var t,r,i,n,a,o,s,u=0,f=0,l="data:";if(e.substr(0,l.length)===l)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9+/=]/g,"");var w=e.length*3/4;if(e.charAt(e.length-1)===se.charAt(64)&&w--,e.charAt(e.length-2)===se.charAt(64)&&w--,w%1!==0)throw new Error("Invalid base64 input, bad content length.");var d;for(Eu.uint8array?d=new Uint8Array(w|0):d=new Array(w|0);u<e.length;)n=se.indexOf(e.charAt(u++)),a=se.indexOf(e.charAt(u++)),o=se.indexOf(e.charAt(u++)),s=se.indexOf(e.charAt(u++)),t=n<<2|a>>4,r=(a&15)<<4|o>>2,i=(o&3)<<6|s,d[f++]=t,o!==64&&(d[f++]=r),s!==64&&(d[f++]=i);return d};});var Dt=b((tp,Fa)=>{Fa.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}};});var Ma=b((rp,La)=>{var Na=global.MutationObserver||global.WebKitMutationObserver,rt;process.browser?Na?(Ci=0,qa=new Na(Bt),Ti=global.document.createTextNode(""),qa.observe(Ti,{characterData:true}),rt=function(){Ti.data=Ci=++Ci%2;}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Ai=new global.MessageChannel,Ai.port1.onmessage=Bt,rt=function(){Ai.port2.postMessage(0);}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?rt=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){Bt(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null;},global.document.documentElement.appendChild(e);}:rt=function(){setTimeout(Bt,0);}:rt=function(){process.nextTick(Bt);};var Ci,qa,Ti,Ai,Ri,zt=[];function Bt(){Ri=true;for(var e,t,r=zt.length;r;){for(t=zt,zt=[],e=-1;++e<r;)t[e]();r=zt.length;}Ri=false;}La.exports=Cu;function Cu(e){zt.push(e)===1&&!Ri&&rt();}});var Ka=b((ip,Ha)=>{var Pa=Ma();function it(){}var j={},Ua=["REJECTED"],Oi=["FULFILLED"],Za=["PENDING"];process.browser||(Ft=["UNHANDLED"]);var Ft;Ha.exports=Se;function Se(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=Za,this.queue=[],this.outcome=void 0,process.browser||(this.handled=Ft),e!==it&&ja(this,e);}Se.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(r,i);function r(n){function a(){return n}return t.resolve(e()).then(a)}function i(n){function a(){throw n}return t.resolve(e()).then(a)}};Se.prototype.catch=function(e){return this.then(null,e)};Se.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Oi||typeof t!="function"&&this.state===Ua)return this;var r=new this.constructor(it);if(process.browser||this.handled===Ft&&(this.handled=null),this.state!==Za){var i=this.state===Oi?e:t;Ii(r,i,this.outcome);}else this.queue.push(new Nt(r,e,t));return r};function Nt(e,t,r){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof r=="function"&&(this.onRejected=r,this.callRejected=this.otherCallRejected);}Nt.prototype.callFulfilled=function(e){j.resolve(this.promise,e);};Nt.prototype.otherCallFulfilled=function(e){Ii(this.promise,this.onFulfilled,e);};Nt.prototype.callRejected=function(e){j.reject(this.promise,e);};Nt.prototype.otherCallRejected=function(e){Ii(this.promise,this.onRejected,e);};function Ii(e,t,r){Pa(function(){var i;try{i=t(r);}catch(n){return j.reject(e,n)}i===e?j.reject(e,new TypeError("Cannot resolve promise with itself")):j.resolve(e,i);});}j.resolve=function(e,t){var r=Wa(Tu,t);if(r.status==="error")return j.reject(e,r.value);var i=r.value;if(i)ja(e,i);else {e.state=Oi,e.outcome=t;for(var n=-1,a=e.queue.length;++n<a;)e.queue[n].callFulfilled(t);}return e};j.reject=function(e,t){e.state=Ua,e.outcome=t,process.browser||e.handled===Ft&&Pa(function(){e.handled===Ft&&process.emit("unhandledRejection",t,e);});for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e};function Tu(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments);}}function ja(e,t){var r=false;function i(s){r||(r=true,j.reject(e,s));}function n(s){r||(r=true,j.resolve(e,s));}function a(){t(n,i);}var o=Wa(a);o.status==="error"&&i(o.value);}function Wa(e,t){var r={};try{r.value=e(t),r.status="success";}catch(i){r.status="error",r.value=i;}return r}Se.resolve=Au;function Au(e){return e instanceof this?e:j.resolve(new this(it),e)}Se.reject=Ru;function Ru(e){var t=new this(it);return j.reject(t,e)}Se.all=Ou;function Ou(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var r=e.length,i=false;if(!r)return this.resolve([]);for(var n=new Array(r),a=0,o=-1,s=new this(it);++o<r;)u(e[o],o);return s;function u(f,l){t.resolve(f).then(w,function(d){i||(i=true,j.reject(s,d));});function w(d){n[l]=d,++a===r&&!i&&(i=true,j.resolve(s,n));}}}Se.race=Iu;function Iu(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var r=e.length,i=false;if(!r)return this.resolve([]);for(var n=-1,a=new this(it);++n<r;)o(e[n]);return a;function o(s){t.resolve(s).then(function(u){i||(i=true,j.resolve(a,u));},function(u){i||(i=true,j.reject(a,u));});}}});var nt=b((np,Ya)=>{var Di=null;typeof Promise<"u"?Di=Promise:Di=Ka();Ya.exports={Promise:Di};});var Ga=b(Xa=>{(function(e,t){if(e.setImmediate)return;var r=1,i={},n=false,a=e.document,o;function s(c){typeof c!="function"&&(c=new Function(""+c));for(var m=new Array(arguments.length-1),p=0;p<m.length;p++)m[p]=arguments[p+1];var g={callback:c,args:m};return i[r]=g,o(r),r++}function u(c){delete i[c];}function f(c){var m=c.callback,p=c.args;switch(p.length){case 0:m();break;case 1:m(p[0]);break;case 2:m(p[0],p[1]);break;case 3:m(p[0],p[1],p[2]);break;default:m.apply(t,p);break}}function l(c){if(n)setTimeout(l,0,c);else {var m=i[c];if(m){n=true;try{f(m);}finally{u(c),n=false;}}}}function w(){o=function(c){process.nextTick(function(){l(c);});};}function d(){if(e.postMessage&&!e.importScripts){var c=true,m=e.onmessage;return e.onmessage=function(){c=false;},e.postMessage("","*"),e.onmessage=m,c}}function h(){var c="setImmediate$"+Math.random()+"$",m=function(p){p.source===e&&typeof p.data=="string"&&p.data.indexOf(c)===0&&l(+p.data.slice(c.length));};e.addEventListener?e.addEventListener("message",m,false):e.attachEvent("onmessage",m),o=function(p){e.postMessage(c+p,"*");};}function k(){var c=new MessageChannel;c.port1.onmessage=function(m){var p=m.data;l(p);},o=function(m){c.port2.postMessage(m);};}function b(){var c=a.documentElement;o=function(m){var p=a.createElement("script");p.onreadystatechange=function(){l(m),p.onreadystatechange=null,c.removeChild(p),p=null;},c.appendChild(p);};}function y(){o=function(c){setTimeout(l,0,c);};}var _=Object.getPrototypeOf&&Object.getPrototypeOf(e);_=_&&_.setTimeout?_:e,{}.toString.call(e.process)==="[object process]"?w():d()?h():e.MessageChannel?k():a&&"onreadystatechange"in a.createElement("script")?b():y(),_.setImmediate=s,_.clearImmediate=u;})(typeof self>"u"?typeof global>"u"?Xa:global:self);});var F=b(L=>{var Ee=ge(),Du=Ei(),at=Dt(),Bi=nt();Ga();function Bu(e){var t=null;return Ee.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),br(e,t)}L.newBlob=function(e,t){L.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var r=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,i=new r;return i.append(e),i.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function qt(e){return e}function br(e,t){for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)&255;return t}var wr={stringifyByChunk:function(e,t,r){var i=[],n=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;n<a;)t==="array"||t==="nodebuffer"?i.push(String.fromCharCode.apply(null,e.slice(n,Math.min(n+r,a)))):i.push(String.fromCharCode.apply(null,e.subarray(n,Math.min(n+r,a)))),n+=r;return i.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:(function(){try{return Ee.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return false}})(),nodebuffer:(function(){try{return Ee.nodebuffer&&String.fromCharCode.apply(null,at.allocBuffer(1)).length===1}catch{return false}})()}};function Lt(e){var t=65536,r=L.getTypeOf(e),i=true;if(r==="uint8array"?i=wr.applyCanBeUsed.uint8array:r==="nodebuffer"&&(i=wr.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return wr.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2);}return wr.stringifyByChar(e)}L.applyFromCharCode=Lt;function mr(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var Ce={};Ce.string={string:qt,array:function(e){return br(e,new Array(e.length))},arraybuffer:function(e){return Ce.string.uint8array(e).buffer},uint8array:function(e){return br(e,new Uint8Array(e.length))},nodebuffer:function(e){return br(e,at.allocBuffer(e.length))}};Ce.array={string:Lt,array:qt,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return at.newBufferFrom(e)}};Ce.arraybuffer={string:function(e){return Lt(new Uint8Array(e))},array:function(e){return mr(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:qt,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return at.newBufferFrom(new Uint8Array(e))}};Ce.uint8array={string:Lt,array:function(e){return mr(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:qt,nodebuffer:function(e){return at.newBufferFrom(e)}};Ce.nodebuffer={string:Lt,array:function(e){return mr(e,new Array(e.length))},arraybuffer:function(e){return Ce.nodebuffer.uint8array(e).buffer},uint8array:function(e){return mr(e,new Uint8Array(e.length))},nodebuffer:qt};L.transformTo=function(e,t){if(t||(t=""),!e)return t;L.checkSupport(e);var r=L.getTypeOf(t),i=Ce[r][e](t);return i};L.resolve=function(e){for(var t=e.split("/"),r=[],i=0;i<t.length;i++){var n=t[i];n==="."||n===""&&i!==0&&i!==t.length-1||(n===".."?r.pop():r.push(n));}return r.join("/")};L.getTypeOf=function(e){if(typeof e=="string")return "string";if(Object.prototype.toString.call(e)==="[object Array]")return "array";if(Ee.nodebuffer&&at.isBuffer(e))return "nodebuffer";if(Ee.uint8array&&e instanceof Uint8Array)return "uint8array";if(Ee.arraybuffer&&e instanceof ArrayBuffer)return "arraybuffer"};L.checkSupport=function(e){var t=Ee[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};L.MAX_VALUE_16BITS=65535;L.MAX_VALUE_32BITS=-1;L.pretty=function(e){var t="",r,i;for(i=0;i<(e||"").length;i++)r=e.charCodeAt(i),t+="\\x"+(r<16?"0":"")+r.toString(16).toUpperCase();return t};L.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[]);});};L.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r;};L.extend=function(){var e={},t,r;for(t=0;t<arguments.length;t++)for(r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&typeof e[r]>"u"&&(e[r]=arguments[t][r]);return e};L.prepareContent=function(e,t,r,i,n){var a=Bi.Promise.resolve(t).then(function(o){var s=Ee.blob&&(o instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(o))!==-1);return s&&typeof FileReader<"u"?new Bi.Promise(function(u,f){var l=new FileReader;l.onload=function(w){u(w.target.result);},l.onerror=function(w){f(w.target.error);},l.readAsArrayBuffer(o);}):o});return a.then(function(o){var s=L.getTypeOf(o);return s?(s==="arraybuffer"?o=L.transformTo("uint8array",o):s==="string"&&(n?o=Du.decode(o):r&&i!==true&&(o=Bu(o))),o):Bi.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})};});var G=b((sp,Ja)=>{function Va(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=true,this.isFinished=false,this.isLocked=false,this._listeners={data:[],end:[],error:[]},this.previous=null;}Va.prototype={push:function(e){this.emit("data",e);},end:function(){if(this.isFinished)return false;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0;}catch(e){this.emit("error",e);}return true},error:function(e){return this.isFinished?false:(this.isPaused?this.generatedError=e:(this.isFinished=true,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),true)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[];},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t);},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(r){t.processChunk(r);}),e.on("end",function(){t.end();}),e.on("error",function(r){t.error(r);}),this},pause:function(){return this.isPaused||this.isFinished?false:(this.isPaused=true,this.previous&&this.previous.pause(),true)},resume:function(){if(!this.isPaused||this.isFinished)return false;this.isPaused=false;var e=false;return this.generatedError&&(this.error(this.generatedError),e=true),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e);},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e]);},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=true,this.previous&&this.previous.lock();},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};Ja.exports=Va;});var st=b(Te=>{var ot=F(),qe=ge(),zu=Dt(),yr=G(),Mt=new Array(256);for(we=0;we<256;we++)Mt[we]=we>=252?6:we>=248?5:we>=240?4:we>=224?3:we>=192?2:1;var we;Mt[254]=Mt[254]=1;var Fu=function(e){var t,r,i,n,a,o=e.length,s=0;for(n=0;n<o;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<o&&(i=e.charCodeAt(n+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),n++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(qe.uint8array?t=new Uint8Array(s):t=new Array(s),a=0,n=0;a<s;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<o&&(i=e.charCodeAt(n+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),n++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t},Nu=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Mt[e[r]]>t?r:t},qu=function(e){var t,r,i,n,a=e.length,o=new Array(a*2);for(r=0,t=0;t<a;){if(i=e[t++],i<128){o[r++]=i;continue}if(n=Mt[i],n>4){o[r++]=65533,t+=n-1;continue}for(i&=n===2?31:n===3?15:7;n>1&&t<a;)i=i<<6|e[t++]&63,n--;if(n>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023);}return o.length!==r&&(o.subarray?o=o.subarray(0,r):o.length=r),ot.applyFromCharCode(o)};Te.utf8encode=function(t){return qe.nodebuffer?zu.newBufferFrom(t,"utf-8"):Fu(t)};Te.utf8decode=function(t){return qe.nodebuffer?ot.transformTo("nodebuffer",t).toString("utf-8"):(t=ot.transformTo(qe.uint8array?"uint8array":"array",t),qu(t))};function xr(){yr.call(this,"utf-8 decode"),this.leftOver=null;}ot.inherits(xr,yr);xr.prototype.processChunk=function(e){var t=ot.transformTo(qe.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(qe.uint8array){var r=t;t=new Uint8Array(r.length+this.leftOver.length),t.set(this.leftOver,0),t.set(r,this.leftOver.length);}else t=this.leftOver.concat(t);this.leftOver=null;}var i=Nu(t),n=t;i!==t.length&&(qe.uint8array?(n=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(n=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:Te.utf8decode(n),meta:e.meta});};xr.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Te.utf8decode(this.leftOver),meta:{}}),this.leftOver=null);};Te.Utf8DecodeWorker=xr;function zi(){yr.call(this,"utf-8 encode");}ot.inherits(zi,yr);zi.prototype.processChunk=function(e){this.push({data:Te.utf8encode(e.data),meta:e.meta});};Te.Utf8EncodeWorker=zi;});var to=b((lp,eo)=>{var Qa=G(),$a=F();function Fi(e){Qa.call(this,"ConvertWorker to "+e),this.destType=e;}$a.inherits(Fi,Qa);Fi.prototype.processChunk=function(e){this.push({data:$a.transformTo(this.destType,e.data),meta:e.meta});};eo.exports=Fi;});var no=b((up,io)=>{var ro=yi().Readable,Lu=F();Lu.inherits(Ni,ro);function Ni(e,t,r){ro.call(this,t),this._helper=e;var i=this;e.on("data",function(n,a){i.push(n)||i._helper.pause(),r&&r(a);}).on("error",function(n){i.emit("error",n);}).on("end",function(){i.push(null);});}Ni.prototype._read=function(){this._helper.resume();};io.exports=Ni;});var qi=b((hp,so)=>{var Le=F(),Mu=to(),Pu=G(),Uu=Ei(),Zu=ge(),ju=nt(),ao=null;if(Zu.nodestream)try{ao=no();}catch{}function Wu(e,t,r){switch(e){case "blob":return Le.newBlob(Le.transformTo("arraybuffer",t),r);case "base64":return Uu.encode(t);default:return Le.transformTo(e,t)}}function Hu(e,t){var r,i=0,n=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case "string":return t.join("");case "array":return Array.prototype.concat.apply([],t);case "uint8array":for(n=new Uint8Array(a),r=0;r<t.length;r++)n.set(t[r],i),i+=t[r].length;return n;case "nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function Ku(e,t){return new ju.Promise(function(r,i){var n=[],a=e._internalType,o=e._outputType,s=e._mimeType;e.on("data",function(u,f){n.push(u),t&&t(f);}).on("error",function(u){n=[],i(u);}).on("end",function(){try{var u=Wu(o,Hu(a,n),s);r(u);}catch(f){i(f);}n=[];}).resume();})}function oo(e,t,r){var i=t;switch(t){case "blob":case "arraybuffer":i="uint8array";break;case "base64":i="string";break}try{this._internalType=i,this._outputType=t,this._mimeType=r,Le.checkSupport(i),this._worker=e.pipe(new Mu(i)),e.lock();}catch(n){this._worker=new Pu("error"),this._worker.error(n);}}oo.prototype={accumulate:function(e){return Ku(this,e)},on:function(e,t){var r=this;return e==="data"?this._worker.on(e,function(i){t.call(r,i.data,i.meta);}):this._worker.on(e,function(){Le.delay(t,arguments,r);}),this},resume:function(){return Le.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Le.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new ao(this,{objectMode:this._outputType!=="nodebuffer"},e)}};so.exports=oo;});var Li=b(te=>{te.base64=false;te.binary=false;te.dir=false;te.createFolders=true;te.date=null;te.compression=null;te.compressionOptions=null;te.comment=null;te.unixPermissions=null;te.dosPermissions=null;});var Mi=b((cp,fo)=>{var kr=F(),Sr=G(),Yu=16*1024;function ft(e){Sr.call(this,"DataWorker");var t=this;this.dataIsReady=false,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=false,e.then(function(r){t.dataIsReady=true,t.data=r,t.max=r&&r.length||0,t.type=kr.getTypeOf(r),t.isPaused||t._tickAndRepeat();},function(r){t.error(r);});}kr.inherits(ft,Sr);ft.prototype.cleanUp=function(){Sr.prototype.cleanUp.call(this),this.data=null;};ft.prototype.resume=function(){return Sr.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=true,kr.delay(this._tickAndRepeat,[],this)),true):false};ft.prototype._tickAndRepeat=function(){this._tickScheduled=false,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(kr.delay(this._tickAndRepeat,[],this),this._tickScheduled=true));};ft.prototype._tick=function(){if(this.isPaused||this.isFinished)return false;var e=Yu,t=null,r=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case "string":t=this.data.substring(this.index,r);break;case "uint8array":t=this.data.subarray(this.index,r);break;case "array":case "nodebuffer":t=this.data.slice(this.index,r);break}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};fo.exports=ft;});var Er=b((pp,uo)=>{var Xu=F();function Gu(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e;}return t}var lo=Gu();function Vu(e,t,r,i){var n=lo,a=i+r;e=e^-1;for(var o=i;o<a;o++)e=e>>>8^n[(e^t[o])&255];return e^-1}function Ju(e,t,r,i){var n=lo,a=i+r;e=e^-1;for(var o=i;o<a;o++)e=e>>>8^n[(e^t.charCodeAt(o))&255];return e^-1}uo.exports=function(t,r){if(typeof t>"u"||!t.length)return 0;var i=Xu.getTypeOf(t)!=="string";return i?Vu(r|0,t,t.length,0):Ju(r|0,t,t.length,0)};});var Ui=b((vp,co)=>{var ho=G(),Qu=Er(),$u=F();function Pi(){ho.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0);}$u.inherits(Pi,ho);Pi.prototype.processChunk=function(e){this.streamInfo.crc32=Qu(e.data,this.streamInfo.crc32||0),this.push(e);};co.exports=Pi;});var vo=b((_p,po)=>{var eh=F(),Zi=G();function ji(e){Zi.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0);}eh.inherits(ji,Zi);ji.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length;}Zi.prototype.processChunk.call(this,e);};po.exports=ji;});var Cr=b((gp,wo)=>{var _o=nt(),go=Mi(),th=Ui(),Wi=vo();function Hi(e,t,r,i,n){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=i,this.compressedContent=n;}Hi.prototype={getContentWorker:function(){var e=new go(_o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Wi("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new go(_o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Hi.createWorkerFrom=function(e,t,r){return e.pipe(new th).pipe(new Wi("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new Wi("compressedSize")).withStreamInfo("compression",t)};wo.exports=Hi;});var xo=b((wp,yo)=>{var rh=qi(),ih=Mi(),Ki=st(),Yi=Cr(),bo=G(),Xi=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions};};Xi.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");r=e.toLowerCase();var i=r==="string"||r==="text";(r==="binarystring"||r==="text")&&(r="string"),t=this._decompressWorker();var n=!this._dataBinary;n&&!i&&(t=t.pipe(new Ki.Utf8EncodeWorker)),!n&&i&&(t=t.pipe(new Ki.Utf8DecodeWorker));}catch(a){t=new bo("error"),t.error(a);}return new rh(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Yi&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Ki.Utf8EncodeWorker)),Yi.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof Yi?this._data.getContentWorker():this._data instanceof bo?this._data:new ih(this._data)}};var mo=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],nh=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Tr=0;Tr<mo.length;Tr++)Xi.prototype[mo[Tr]]=nh;var Tr;yo.exports=Xi;});var be=b(W=>{var ah=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function oh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}W.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(var i in r)oh(r,i)&&(e[i]=r[i]);}}return e};W.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var sh={arraySet:function(e,t,r,i,n){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+i),n);return}for(var a=0;a<i;a++)e[n+a]=t[r+a];},flattenChunks:function(e){var t,r,i,n,a,o;for(i=0,t=0,r=e.length;t<r;t++)i+=e[t].length;for(o=new Uint8Array(i),n=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,n),n+=a.length;return o}},fh={arraySet:function(e,t,r,i,n){for(var a=0;a<i;a++)e[n+a]=t[r+a];},flattenChunks:function(e){return [].concat.apply([],e)}};W.setTyped=function(e){e?(W.Buf8=Uint8Array,W.Buf16=Uint16Array,W.Buf32=Int32Array,W.assign(W,sh)):(W.Buf8=Array,W.Buf16=Array,W.Buf32=Array,W.assign(W,fh));};W.setTyped(ah);});var Ho=b(ht=>{var lh=be(),uh=4,ko=0,So=1,hh=2;function ut(e){for(var t=e.length;--t>=0;)e[t]=0;}var dh=0,Oo=1,ch=2,ph=3,vh=258,tn=29,Ht=256,Ut=Ht+1+tn,lt=30,rn=19,Io=2*Ut+1,Me=15,Gi=16,_h=7,nn=256,Do=16,Bo=17,zo=18,$i=[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],Ar=[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],gh=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Fo=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],wh=512,me=new Array((Ut+2)*2);ut(me);var Pt=new Array(lt*2);ut(Pt);var Zt=new Array(wh);ut(Zt);var jt=new Array(vh-ph+1);ut(jt);var an=new Array(tn);ut(an);var Rr=new Array(lt);ut(Rr);function Vi(e,t,r,i,n){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=e&&e.length;}var No,qo,Lo;function Ji(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t;}function Mo(e){return e<256?Zt[e]:Zt[256+(e>>>7)]}function Wt(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255;}function K(e,t,r){e.bi_valid>Gi-r?(e.bi_buf|=t<<e.bi_valid&65535,Wt(e,e.bi_buf),e.bi_buf=t>>Gi-e.bi_valid,e.bi_valid+=r-Gi):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r);}function fe(e,t,r){K(e,r[t*2],r[t*2+1]);}function Po(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function bh(e){e.bi_valid===16?(Wt(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8);}function mh(e,t){var r=t.dyn_tree,i=t.max_code,n=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,u=t.stat_desc.max_length,f,l,w,d,h,k,b=0;for(d=0;d<=Me;d++)e.bl_count[d]=0;for(r[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<Io;f++)l=e.heap[f],d=r[r[l*2+1]*2+1]+1,d>u&&(d=u,b++),r[l*2+1]=d,!(l>i)&&(e.bl_count[d]++,h=0,l>=s&&(h=o[l-s]),k=r[l*2],e.opt_len+=k*(d+h),a&&(e.static_len+=k*(n[l*2+1]+h)));if(b!==0){do{for(d=u-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[u]--,b-=2;}while(b>0);for(d=u;d!==0;d--)for(l=e.bl_count[d];l!==0;)w=e.heap[--f],!(w>i)&&(r[w*2+1]!==d&&(e.opt_len+=(d-r[w*2+1])*r[w*2],r[w*2+1]=d),l--);}}function Uo(e,t,r){var i=new Array(Me+1),n=0,a,o;for(a=1;a<=Me;a++)i[a]=n=n+r[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Po(i[s]++,s));}}function yh(){var e,t,r,i,n,a=new Array(Me+1);for(r=0,i=0;i<tn-1;i++)for(an[i]=r,e=0;e<1<<$i[i];e++)jt[r++]=i;for(jt[r-1]=i,n=0,i=0;i<16;i++)for(Rr[i]=n,e=0;e<1<<Ar[i];e++)Zt[n++]=i;for(n>>=7;i<lt;i++)for(Rr[i]=n<<7,e=0;e<1<<Ar[i]-7;e++)Zt[256+n++]=i;for(t=0;t<=Me;t++)a[t]=0;for(e=0;e<=143;)me[e*2+1]=8,e++,a[8]++;for(;e<=255;)me[e*2+1]=9,e++,a[9]++;for(;e<=279;)me[e*2+1]=7,e++,a[7]++;for(;e<=287;)me[e*2+1]=8,e++,a[8]++;for(Uo(me,Ut+1,a),e=0;e<lt;e++)Pt[e*2+1]=5,Pt[e*2]=Po(e,5);No=new Vi(me,$i,Ht+1,Ut,Me),qo=new Vi(Pt,Ar,0,lt,Me),Lo=new Vi(new Array(0),gh,0,rn,_h);}function Zo(e){var t;for(t=0;t<Ut;t++)e.dyn_ltree[t*2]=0;for(t=0;t<lt;t++)e.dyn_dtree[t*2]=0;for(t=0;t<rn;t++)e.bl_tree[t*2]=0;e.dyn_ltree[nn*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0;}function jo(e){e.bi_valid>8?Wt(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0;}function xh(e,t,r,i){jo(e),(Wt(e,r),Wt(e,~r)),lh.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r;}function Eo(e,t,r,i){var n=t*2,a=r*2;return e[n]<e[a]||e[n]===e[a]&&i[t]<=i[r]}function Qi(e,t,r){for(var i=e.heap[r],n=r<<1;n<=e.heap_len&&(n<e.heap_len&&Eo(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!Eo(t,i,e.heap[n],e.depth));)e.heap[r]=e.heap[n],r=n,n<<=1;e.heap[r]=i;}function Co(e,t,r){var i,n,a=0,o,s;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],n=e.pending_buf[e.l_buf+a],a++,i===0?fe(e,n,t):(o=jt[n],fe(e,o+Ht+1,t),s=$i[o],s!==0&&(n-=an[o],K(e,n,s)),i--,o=Mo(i),fe(e,o,r),s=Ar[o],s!==0&&(i-=Rr[o],K(e,i,s)));while(a<e.last_lit);fe(e,nn,t);}function en(e,t){var r=t.dyn_tree,i=t.stat_desc.static_tree,n=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,u=-1,f;for(e.heap_len=0,e.heap_max=Io,o=0;o<a;o++)r[o*2]!==0?(e.heap[++e.heap_len]=u=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=u<2?++u:0,r[f*2]=1,e.depth[f]=0,e.opt_len--,n&&(e.static_len-=i[f*2+1]);for(t.max_code=u,o=e.heap_len>>1;o>=1;o--)Qi(e,r,o);f=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Qi(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[f*2]=r[o*2]+r[s*2],e.depth[f]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=f,e.heap[1]=f++,Qi(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],mh(e,t),Uo(r,u,e.bl_count);}function To(e,t,r){var i,n=-1,a,o=t[1],s=0,u=7,f=4;for(o===0&&(u=138,f=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)a=o,o=t[(i+1)*2+1],!(++s<u&&a===o)&&(s<f?e.bl_tree[a*2]+=s:a!==0?(a!==n&&e.bl_tree[a*2]++,e.bl_tree[Do*2]++):s<=10?e.bl_tree[Bo*2]++:e.bl_tree[zo*2]++,s=0,n=a,o===0?(u=138,f=3):a===o?(u=6,f=3):(u=7,f=4));}function Ao(e,t,r){var i,n=-1,a,o=t[1],s=0,u=7,f=4;for(o===0&&(u=138,f=3),i=0;i<=r;i++)if(a=o,o=t[(i+1)*2+1],!(++s<u&&a===o)){if(s<f)do fe(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==n&&(fe(e,a,e.bl_tree),s--),fe(e,Do,e.bl_tree),K(e,s-3,2)):s<=10?(fe(e,Bo,e.bl_tree),K(e,s-3,3)):(fe(e,zo,e.bl_tree),K(e,s-11,7));s=0,n=a,o===0?(u=138,f=3):a===o?(u=6,f=3):(u=7,f=4);}}function kh(e){var t;for(To(e,e.dyn_ltree,e.l_desc.max_code),To(e,e.dyn_dtree,e.d_desc.max_code),en(e,e.bl_desc),t=rn-1;t>=3&&e.bl_tree[Fo[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Sh(e,t,r,i){var n;for(K(e,t-257,5),K(e,r-1,5),K(e,i-4,4),n=0;n<i;n++)K(e,e.bl_tree[Fo[n]*2+1],3);Ao(e,e.dyn_ltree,t-1),Ao(e,e.dyn_dtree,r-1);}function Eh(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return ko;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return So;for(r=32;r<Ht;r++)if(e.dyn_ltree[r*2]!==0)return So;return ko}var Ro=false;function Ch(e){Ro||(yh(),Ro=true),e.l_desc=new Ji(e.dyn_ltree,No),e.d_desc=new Ji(e.dyn_dtree,qo),e.bl_desc=new Ji(e.bl_tree,Lo),e.bi_buf=0,e.bi_valid=0,Zo(e);}function Wo(e,t,r,i){K(e,(dh<<1)+(i?1:0),3),xh(e,t,r);}function Th(e){K(e,Oo<<1,3),fe(e,nn,me),bh(e);}function Ah(e,t,r,i){var n,a,o=0;e.level>0?(e.strm.data_type===hh&&(e.strm.data_type=Eh(e)),en(e,e.l_desc),en(e,e.d_desc),o=kh(e),n=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=n&&(n=a)):n=a=r+5,r+4<=n&&t!==-1?Wo(e,t,r,i):e.strategy===uh||a===n?(K(e,(Oo<<1)+(i?1:0),3),Co(e,me,Pt)):(K(e,(ch<<1)+(i?1:0),3),Sh(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Co(e,e.dyn_ltree,e.dyn_dtree)),Zo(e),i&&jo(e);}function Rh(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(jt[r]+Ht+1)*2]++,e.dyn_dtree[Mo(t)*2]++),e.last_lit===e.lit_bufsize-1}ht._tr_init=Ch;ht._tr_stored_block=Wo;ht._tr_flush_block=Ah;ht._tr_tally=Rh;ht._tr_align=Th;});var on=b((yp,Ko)=>{function Oh(e,t,r,i){for(var n=e&65535|0,a=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do n=n+t[i++]|0,a=a+n|0;while(--o);n%=65521,a%=65521;}return n|a<<16|0}Ko.exports=Oh;});var sn=b((xp,Yo)=>{function Ih(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e;}return t}var Dh=Ih();function Bh(e,t,r,i){var n=Dh,a=i+r;e^=-1;for(var o=i;o<a;o++)e=e>>>8^n[(e^t[o])&255];return e^-1}Yo.exports=Bh;});var Or=b((kp,Xo)=>{Xo.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"};});var is=b(he=>{var H=be(),J=Ho(),Qo=on(),Ae=sn(),zh=Or(),je=0,Fh=1,Nh=3,Be=4,Go=5,ue=0,Vo=1,Q=-2,qh=-3,fn=-5,Lh=-1,Mh=1,Ir=2,Ph=3,Uh=4,Zh=0,jh=2,Fr=8,Wh=9,Hh=15,Kh=8,Yh=29,Xh=256,un=Xh+1+Yh,Gh=30,Vh=19,Jh=2*un+1,Qh=15,A=3,Ie=258,re=Ie+A+1,$h=32,Nr=42,hn=69,Dr=73,Br=91,zr=103,Pe=113,Yt=666,M=1,Xt=2,Ue=3,pt=4,ed=3;function De(e,t){return e.msg=zh[t],t}function Jo(e){return (e<<1)-(e>4?9:0)}function Oe(e){for(var t=e.length;--t>=0;)e[t]=0;}function Re(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(H.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0));}function U(e,t){J._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Re(e.strm);}function R(e,t){e.pending_buf[e.pending++]=t;}function Kt(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255;}function td(e,t,r,i){var n=e.avail_in;return n>i&&(n=i),n===0?0:(e.avail_in-=n,H.arraySet(t,e.input,e.next_in,n,r),e.state.wrap===1?e.adler=Qo(e.adler,t,n,r):e.state.wrap===2&&(e.adler=Ae(e.adler,t,n,r)),e.next_in+=n,e.total_in+=n,n)}function $o(e,t){var r=e.max_chain_length,i=e.strstart,n,a,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-re?e.strstart-(e.w_size-re):0,f=e.window,l=e.w_mask,w=e.prev,d=e.strstart+Ie,h=f[i+o-1],k=f[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(n=t,!(f[n+o]!==k||f[n+o-1]!==h||f[n]!==f[i]||f[++n]!==f[i+1])){i+=2,n++;do;while(f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&f[++i]===f[++n]&&i<d);if(a=Ie-(d-i),i=d-Ie,a>o){if(e.match_start=t,o=a,a>=s)break;h=f[i+o-1],k=f[i+o];}}while((t=w[t&l])>u&&--r!==0);return o<=e.lookahead?o:e.lookahead}function Ze(e){var t=e.w_size,r,i,n,a,o;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-re)){H.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do n=e.head[--r],e.head[r]=n>=t?n-t:0;while(--i);i=t,r=i;do n=e.prev[--r],e.prev[r]=n>=t?n-t:0;while(--i);a+=t;}if(e.strm.avail_in===0)break;if(i=td(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=i,e.lookahead+e.insert>=A)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+A-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<A)););}while(e.lookahead<re&&e.strm.avail_in!==0)}function rd(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ze(e),e.lookahead===0&&t===je)return M;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,U(e,false),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-re&&(U(e,false),e.strm.avail_out===0))return M}return e.insert=0,t===Be?(U(e,true),e.strm.avail_out===0?Ue:pt):(e.strstart>e.block_start&&(U(e,false),e.strm.avail_out===0),M)}function ln(e,t){for(var r,i;;){if(e.lookahead<re){if(Ze(e),e.lookahead<re&&t===je)return M;if(e.lookahead===0)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-re&&(e.match_length=$o(e,r)),e.match_length>=A)if(i=J._tr_tally(e,e.strstart-e.match_start,e.match_length-A),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=A){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++;}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=J._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(U(e,false),e.strm.avail_out===0))return M}return e.insert=e.strstart<A-1?e.strstart:A-1,t===Be?(U(e,true),e.strm.avail_out===0?Ue:pt):e.last_lit&&(U(e,false),e.strm.avail_out===0)?M:Xt}function dt(e,t){for(var r,i,n;;){if(e.lookahead<re){if(Ze(e),e.lookahead<re&&t===je)return M;if(e.lookahead===0)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=A-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-re&&(e.match_length=$o(e,r),e.match_length<=5&&(e.strategy===Mh||e.match_length===A&&e.strstart-e.match_start>4096)&&(e.match_length=A-1)),e.prev_length>=A&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-A,i=J._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-A),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=A-1,e.strstart++,i&&(U(e,false),e.strm.avail_out===0))return M}else if(e.match_available){if(i=J._tr_tally(e,0,e.window[e.strstart-1]),i&&U(e,false),e.strstart++,e.lookahead--,e.strm.avail_out===0)return M}else e.match_available=1,e.strstart++,e.lookahead--;}return e.match_available&&(i=J._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<A-1?e.strstart:A-1,t===Be?(U(e,true),e.strm.avail_out===0?Ue:pt):e.last_lit&&(U(e,false),e.strm.avail_out===0)?M:Xt}function id(e,t){for(var r,i,n,a,o=e.window;;){if(e.lookahead<=Ie){if(Ze(e),e.lookahead<=Ie&&t===je)return M;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=A&&e.strstart>0&&(n=e.strstart-1,i=o[n],i===o[++n]&&i===o[++n]&&i===o[++n])){a=e.strstart+Ie;do;while(i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&i===o[++n]&&n<a);e.match_length=Ie-(a-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead);}if(e.match_length>=A?(r=J._tr_tally(e,1,e.match_length-A),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=J._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(U(e,false),e.strm.avail_out===0))return M}return e.insert=0,t===Be?(U(e,true),e.strm.avail_out===0?Ue:pt):e.last_lit&&(U(e,false),e.strm.avail_out===0)?M:Xt}function nd(e,t){for(var r;;){if(e.lookahead===0&&(Ze(e),e.lookahead===0)){if(t===je)return M;break}if(e.match_length=0,r=J._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(U(e,false),e.strm.avail_out===0))return M}return e.insert=0,t===Be?(U(e,true),e.strm.avail_out===0?Ue:pt):e.last_lit&&(U(e,false),e.strm.avail_out===0)?M:Xt}function le(e,t,r,i,n){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=n;}var ct;ct=[new le(0,0,0,0,rd),new le(4,4,8,4,ln),new le(4,5,16,8,ln),new le(4,6,32,32,ln),new le(4,4,16,16,dt),new le(8,16,32,32,dt),new le(8,16,128,128,dt),new le(8,32,128,256,dt),new le(32,128,258,1024,dt),new le(32,258,258,4096,dt)];function ad(e){e.window_size=2*e.w_size,Oe(e.head),e.max_lazy_match=ct[e.level].max_lazy,e.good_match=ct[e.level].good_length,e.nice_match=ct[e.level].nice_length,e.max_chain_length=ct[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=A-1,e.match_available=0,e.ins_h=0;}function od(){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=Fr,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 H.Buf16(Jh*2),this.dyn_dtree=new H.Buf16((2*Gh+1)*2),this.bl_tree=new H.Buf16((2*Vh+1)*2),Oe(this.dyn_ltree),Oe(this.dyn_dtree),Oe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new H.Buf16(Qh+1),this.heap=new H.Buf16(2*un+1),Oe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new H.Buf16(2*un+1),Oe(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 es(e){var t;return !e||!e.state?De(e,Q):(e.total_in=e.total_out=0,e.data_type=jh,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Nr:Pe,e.adler=t.wrap===2?0:1,t.last_flush=je,J._tr_init(t),ue)}function ts(e){var t=es(e);return t===ue&&ad(e.state),t}function sd(e,t){return !e||!e.state||e.state.wrap!==2?Q:(e.state.gzhead=t,ue)}function rs(e,t,r,i,n,a){if(!e)return Q;var o=1;if(t===Lh&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),n<1||n>Wh||r!==Fr||i<8||i>15||t<0||t>9||a<0||a>Uh)return De(e,Q);i===8&&(i=9);var s=new od;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=n+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+A-1)/A),s.window=new H.Buf8(s.w_size*2),s.head=new H.Buf16(s.hash_size),s.prev=new H.Buf16(s.w_size),s.lit_bufsize=1<<n+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new H.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,ts(e)}function fd(e,t){return rs(e,t,Fr,Hh,Kh,Zh)}function ld(e,t){var r,i,n,a;if(!e||!e.state||t>Go||t<0)return e?De(e,Q):Q;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Yt&&t!==Be)return De(e,e.avail_out===0?fn:Q);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===Nr)if(i.wrap===2)e.adler=0,R(i,31),R(i,139),R(i,8),i.gzhead?(R(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),R(i,i.gzhead.time&255),R(i,i.gzhead.time>>8&255),R(i,i.gzhead.time>>16&255),R(i,i.gzhead.time>>24&255),R(i,i.level===9?2:i.strategy>=Ir||i.level<2?4:0),R(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(R(i,i.gzhead.extra.length&255),R(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Ae(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=hn):(R(i,0),R(i,0),R(i,0),R(i,0),R(i,0),R(i,i.level===9?2:i.strategy>=Ir||i.level<2?4:0),R(i,ed),i.status=Pe);else {var o=Fr+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=Ir||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=$h),o+=31-o%31,i.status=Pe,Kt(i,o),i.strstart!==0&&(Kt(i,e.adler>>>16),Kt(i,e.adler&65535)),e.adler=1;}if(i.status===hn)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),Re(e),n=i.pending,i.pending===i.pending_buf_size));)R(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Dr);}else i.status=Dr;if(i.status===Dr)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),Re(e),n=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.name.length?a=i.gzhead.name.charCodeAt(i.gzindex++)&255:a=0,R(i,a);}while(a!==0);i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),a===0&&(i.gzindex=0,i.status=Br);}else i.status=Br;if(i.status===Br)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),Re(e),n=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.comment.length?a=i.gzhead.comment.charCodeAt(i.gzindex++)&255:a=0,R(i,a);}while(a!==0);i.gzhead.hcrc&&i.pending>n&&(e.adler=Ae(e.adler,i.pending_buf,i.pending-n,n)),a===0&&(i.status=zr);}else i.status=zr;if(i.status===zr&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Re(e),i.pending+2<=i.pending_buf_size&&(R(i,e.adler&255),R(i,e.adler>>8&255),e.adler=0,i.status=Pe)):i.status=Pe),i.pending!==0){if(Re(e),e.avail_out===0)return i.last_flush=-1,ue}else if(e.avail_in===0&&Jo(t)<=Jo(r)&&t!==Be)return De(e,fn);if(i.status===Yt&&e.avail_in!==0)return De(e,fn);if(e.avail_in!==0||i.lookahead!==0||t!==je&&i.status!==Yt){var u=i.strategy===Ir?nd(i,t):i.strategy===Ph?id(i,t):ct[i.level].func(i,t);if((u===Ue||u===pt)&&(i.status=Yt),u===M||u===Ue)return e.avail_out===0&&(i.last_flush=-1),ue;if(u===Xt&&(t===Fh?J._tr_align(i):t!==Go&&(J._tr_stored_block(i,0,0,false),t===Nh&&(Oe(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Re(e),e.avail_out===0))return i.last_flush=-1,ue}return t!==Be?ue:i.wrap<=0?Vo:(i.wrap===2?(R(i,e.adler&255),R(i,e.adler>>8&255),R(i,e.adler>>16&255),R(i,e.adler>>24&255),R(i,e.total_in&255),R(i,e.total_in>>8&255),R(i,e.total_in>>16&255),R(i,e.total_in>>24&255)):(Kt(i,e.adler>>>16),Kt(i,e.adler&65535)),Re(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?ue:Vo)}function ud(e){var t;return !e||!e.state?Q:(t=e.state.status,t!==Nr&&t!==hn&&t!==Dr&&t!==Br&&t!==zr&&t!==Pe&&t!==Yt?De(e,Q):(e.state=null,t===Pe?De(e,qh):ue))}function hd(e,t){var r=t.length,i,n,a,o,s,u,f,l;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==Nr||i.lookahead))return Q;for(o===1&&(e.adler=Qo(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(Oe(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new H.Buf8(i.w_size),H.arraySet(l,t,r-i.w_size,i.w_size,0),t=l,r=i.w_size),s=e.avail_in,u=e.next_in,f=e.input,e.avail_in=r,e.next_in=0,e.input=t,Ze(i);i.lookahead>=A;){n=i.strstart,a=i.lookahead-(A-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+A-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++;while(--a);i.strstart=n,i.lookahead=A-1,Ze(i);}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=A-1,i.match_available=0,e.next_in=u,e.input=f,e.avail_in=s,i.wrap=o,ue}he.deflateInit=fd;he.deflateInit2=rs;he.deflateReset=ts;he.deflateResetKeep=es;he.deflateSetHeader=sd;he.deflate=ld;he.deflateEnd=ud;he.deflateSetDictionary=hd;he.deflateInfo="pako deflate (from Nodeca project)";});var dn=b(vt=>{var qr=be(),ns=true,as=true;try{String.fromCharCode.apply(null,[0]);}catch{ns=false;}try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{as=false;}var Gt=new qr.Buf8(256);for(ye=0;ye<256;ye++)Gt[ye]=ye>=252?6:ye>=248?5:ye>=240?4:ye>=224?3:ye>=192?2:1;var ye;Gt[254]=Gt[254]=1;vt.string2buf=function(e){var t,r,i,n,a,o=e.length,s=0;for(n=0;n<o;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<o&&(i=e.charCodeAt(n+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),n++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new qr.Buf8(s),a=0,n=0;a<s;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<o&&(i=e.charCodeAt(n+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),n++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t};function os(e,t){if(t<65534&&(e.subarray&&as||!e.subarray&&ns))return String.fromCharCode.apply(null,qr.shrinkBuf(e,t));for(var r="",i=0;i<t;i++)r+=String.fromCharCode(e[i]);return r}vt.buf2binstring=function(e){return os(e,e.length)};vt.binstring2buf=function(e){for(var t=new qr.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t};vt.buf2string=function(e,t){var r,i,n,a,o=t||e.length,s=new Array(o*2);for(i=0,r=0;r<o;){if(n=e[r++],n<128){s[i++]=n;continue}if(a=Gt[n],a>4){s[i++]=65533,r+=a-1;continue}for(n&=a===2?31:a===3?15:7;a>1&&r<o;)n=n<<6|e[r++]&63,a--;if(a>1){s[i++]=65533;continue}n<65536?s[i++]=n:(n-=65536,s[i++]=55296|n>>10&1023,s[i++]=56320|n&1023);}return os(s,i)};vt.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Gt[e[r]]>t?r:t};});var cn=b((Cp,ss)=>{function dd(){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;}ss.exports=dd;});var hs=b(Qt=>{var Vt=is(),Jt=be(),vn=dn(),_n=Or(),cd=cn(),us=Object.prototype.toString,pd=0,pn=4,_t=0,fs=1,ls=2,vd=-1,_d=0,gd=8;function We(e){if(!(this instanceof We))return new We(e);this.options=Jt.assign({level:vd,method:gd,chunkSize:16384,windowBits:15,memLevel:8,strategy:_d,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new cd,this.strm.avail_out=0;var r=Vt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==_t)throw new Error(_n[r]);if(t.header&&Vt.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=vn.string2buf(t.dictionary):us.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Vt.deflateSetDictionary(this.strm,i),r!==_t)throw new Error(_n[r]);this._dict_set=true;}}We.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,n,a;if(this.ended)return false;a=t===~~t?t:t===true?pn:pd,typeof e=="string"?r.input=vn.string2buf(e):us.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Jt.Buf8(i),r.next_out=0,r.avail_out=i),n=Vt.deflate(r,a),n!==fs&&n!==_t)return this.onEnd(n),this.ended=true,false;(r.avail_out===0||r.avail_in===0&&(a===pn||a===ls))&&(this.options.to==="string"?this.onData(vn.buf2binstring(Jt.shrinkBuf(r.output,r.next_out))):this.onData(Jt.shrinkBuf(r.output,r.next_out)));}while((r.avail_in>0||r.avail_out===0)&&n!==fs);return a===pn?(n=Vt.deflateEnd(this.strm),this.onEnd(n),this.ended=true,n===_t):(a===ls&&(this.onEnd(_t),r.avail_out=0),true)};We.prototype.onData=function(e){this.chunks.push(e);};We.prototype.onEnd=function(e){e===_t&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Jt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg;};function gn(e,t){var r=new We(t);if(r.push(e,true),r.err)throw r.msg||_n[r.err];return r.result}function wd(e,t){return t=t||{},t.raw=true,gn(e,t)}function bd(e,t){return t=t||{},t.gzip=true,gn(e,t)}Qt.Deflate=We;Qt.deflate=gn;Qt.deflateRaw=wd;Qt.gzip=bd;});var cs=b((Ap,ds)=>{var Lr=30,md=12;ds.exports=function(t,r){var i,n,a,o,s,u,f,l,w,d,h,k,b,y,_,c,m,p,g,C,E,S,T,D,x;i=t.state,n=t.next_in,D=t.input,a=n+(t.avail_in-5),o=t.next_out,x=t.output,s=o-(r-t.avail_out),u=o+(t.avail_out-257),f=i.dmax,l=i.wsize,w=i.whave,d=i.wnext,h=i.window,k=i.hold,b=i.bits,y=i.lencode,_=i.distcode,c=(1<<i.lenbits)-1,m=(1<<i.distbits)-1;e:do{b<15&&(k+=D[n++]<<b,b+=8,k+=D[n++]<<b,b+=8),p=y[k&c];t:for(;;){if(g=p>>>24,k>>>=g,b-=g,g=p>>>16&255,g===0)x[o++]=p&65535;else if(g&16){C=p&65535,g&=15,g&&(b<g&&(k+=D[n++]<<b,b+=8),C+=k&(1<<g)-1,k>>>=g,b-=g),b<15&&(k+=D[n++]<<b,b+=8,k+=D[n++]<<b,b+=8),p=_[k&m];r:for(;;){if(g=p>>>24,k>>>=g,b-=g,g=p>>>16&255,g&16){if(E=p&65535,g&=15,b<g&&(k+=D[n++]<<b,b+=8,b<g&&(k+=D[n++]<<b,b+=8)),E+=k&(1<<g)-1,E>f){t.msg="invalid distance too far back",i.mode=Lr;break e}if(k>>>=g,b-=g,g=o-s,E>g){if(g=E-g,g>w&&i.sane){t.msg="invalid distance too far back",i.mode=Lr;break e}if(S=0,T=h,d===0){if(S+=l-g,g<C){C-=g;do x[o++]=h[S++];while(--g);S=o-E,T=x;}}else if(d<g){if(S+=l+d-g,g-=d,g<C){C-=g;do x[o++]=h[S++];while(--g);if(S=0,d<C){g=d,C-=g;do x[o++]=h[S++];while(--g);S=o-E,T=x;}}}else if(S+=d-g,g<C){C-=g;do x[o++]=h[S++];while(--g);S=o-E,T=x;}for(;C>2;)x[o++]=T[S++],x[o++]=T[S++],x[o++]=T[S++],C-=3;C&&(x[o++]=T[S++],C>1&&(x[o++]=T[S++]));}else {S=o-E;do x[o++]=x[S++],x[o++]=x[S++],x[o++]=x[S++],C-=3;while(C>2);C&&(x[o++]=x[S++],C>1&&(x[o++]=x[S++]));}}else if((g&64)===0){p=_[(p&65535)+(k&(1<<g)-1)];continue r}else {t.msg="invalid distance code",i.mode=Lr;break e}break}}else if((g&64)===0){p=y[(p&65535)+(k&(1<<g)-1)];continue t}else if(g&32){i.mode=md;break e}else {t.msg="invalid literal/length code",i.mode=Lr;break e}break}}while(n<a&&o<u);C=b>>3,n-=C,b-=C<<3,k&=(1<<b)-1,t.next_in=n,t.next_out=o,t.avail_in=n<a?5+(a-n):5-(n-a),t.avail_out=o<u?257+(u-o):257-(o-u),i.hold=k,i.bits=b;};});var ms=b((Rp,bs)=>{var ps=be(),gt=15,vs=852,_s=592,gs=0,wn=1,ws=2,yd=[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],xd=[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],kd=[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],Sd=[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];bs.exports=function(t,r,i,n,a,o,s,u){var f=u.bits,l=0,w=0,d=0,h=0,k=0,b=0,y=0,_=0,c=0,m=0,p,g,C,E,S,T=null,D=0,x,Y=new ps.Buf16(gt+1),Ge=new ps.Buf16(gt+1),nr=null,Zn=0,jn,ar,or;for(l=0;l<=gt;l++)Y[l]=0;for(w=0;w<n;w++)Y[r[i+w]]++;for(k=f,h=gt;h>=1&&Y[h]===0;h--);if(k>h&&(k=h),h===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,u.bits=1,0;for(d=1;d<h&&Y[d]===0;d++);for(k<d&&(k=d),_=1,l=1;l<=gt;l++)if(_<<=1,_-=Y[l],_<0)return -1;if(_>0&&(t===gs||h!==1))return -1;for(Ge[1]=0,l=1;l<gt;l++)Ge[l+1]=Ge[l]+Y[l];for(w=0;w<n;w++)r[i+w]!==0&&(s[Ge[r[i+w]]++]=w);if(t===gs?(T=nr=s,x=19):t===wn?(T=yd,D-=257,nr=xd,Zn-=257,x=256):(T=kd,nr=Sd,x=-1),m=0,w=0,l=d,S=o,b=k,y=0,C=-1,c=1<<k,E=c-1,t===wn&&c>vs||t===ws&&c>_s)return 1;for(;;){jn=l-y,s[w]<x?(ar=0,or=s[w]):s[w]>x?(ar=nr[Zn+s[w]],or=T[D+s[w]]):(ar=96,or=0),p=1<<l-y,g=1<<b,d=g;do g-=p,a[S+(m>>y)+g]=jn<<24|ar<<16|or|0;while(g!==0);for(p=1<<l-1;m&p;)p>>=1;if(p!==0?(m&=p-1,m+=p):m=0,w++,--Y[l]===0){if(l===h)break;l=r[i+s[w]];}if(l>k&&(m&E)!==C){for(y===0&&(y=k),S+=d,b=l-y,_=1<<b;b+y<h&&(_-=Y[b+y],!(_<=0));)b++,_<<=1;if(c+=1<<b,t===wn&&c>vs||t===ws&&c>_s)return 1;C=m&E,a[C]=k<<24|b<<16|S-o|0;}}return m!==0&&(a[S+m]=l-y<<24|64<<16|0),u.bits=k,0};});var tf=b(ie=>{var V=be(),Sn=on(),de=sn(),Ed=cs(),$t=ms(),Cd=0,Ks=1,Ys=2,ys=4,Td=5,Mr=6,He=0,Ad=1,Rd=2,$=-2,Xs=-3,En=-4,Od=-5,xs=8,Gs=1,ks=2,Ss=3,Es=4,Cs=5,Ts=6,As=7,Rs=8,Os=9,Is=10,Zr=11,xe=12,bn=13,Ds=14,mn=15,Bs=16,zs=17,Fs=18,Ns=19,Pr=20,Ur=21,qs=22,Ls=23,Ms=24,Ps=25,Us=26,yn=27,Zs=28,js=29,z=30,Cn=31,Id=32,Dd=852,Bd=592,zd=15,Fd=zd;function Ws(e){return (e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function Nd(){this.mode=0,this.last=false,this.wrap=0,this.havedict=false,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 V.Buf16(320),this.work=new V.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0;}function Vs(e){var t;return !e||!e.state?$:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Gs,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new V.Buf32(Dd),t.distcode=t.distdyn=new V.Buf32(Bd),t.sane=1,t.back=-1,He)}function Js(e){var t;return !e||!e.state?$:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Vs(e))}function Qs(e,t){var r,i;return !e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?$:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Js(e))}function $s(e,t){var r,i;return e?(i=new Nd,e.state=i,i.window=null,r=Qs(e,t),r!==He&&(e.state=null),r):$}function qd(e){return $s(e,Fd)}var Hs=true,xn,kn;function Ld(e){if(Hs){var t;for(xn=new V.Buf32(512),kn=new V.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for($t(Ks,e.lens,0,288,xn,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;$t(Ys,e.lens,0,32,kn,0,e.work,{bits:5}),Hs=false;}e.lencode=xn,e.lenbits=9,e.distcode=kn,e.distbits=5;}function ef(e,t,r,i){var n,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new V.Buf8(a.wsize)),i>=a.wsize?(V.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(n=a.wsize-a.wnext,n>i&&(n=i),V.arraySet(a.window,t,r-i,n,a.wnext),i-=n,i?(V.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=n,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=n))),0}function Md(e,t){var r,i,n,a,o,s,u,f,l,w,d,h,k,b,y=0,_,c,m,p,g,C,E,S,T=new V.Buf8(4),D,x,Y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return $;r=e.state,r.mode===xe&&(r.mode=bn),o=e.next_out,n=e.output,u=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,f=r.hold,l=r.bits,w=s,d=u,S=He;e:for(;;)switch(r.mode){case Gs:if(r.wrap===0){r.mode=bn;break}for(;l<16;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(r.wrap&2&&f===35615){r.check=0,T[0]=f&255,T[1]=f>>>8&255,r.check=de(r.check,T,2,0),f=0,l=0,r.mode=ks;break}if(r.flags=0,r.head&&(r.head.done=false),!(r.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",r.mode=z;break}if((f&15)!==xs){e.msg="unknown compression method",r.mode=z;break}if(f>>>=4,l-=4,E=(f&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=z;break}r.dmax=1<<E,e.adler=r.check=1,r.mode=f&512?Is:xe,f=0,l=0;break;case ks:for(;l<16;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(r.flags=f,(r.flags&255)!==xs){e.msg="unknown compression method",r.mode=z;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=z;break}r.head&&(r.head.text=f>>8&1),r.flags&512&&(T[0]=f&255,T[1]=f>>>8&255,r.check=de(r.check,T,2,0)),f=0,l=0,r.mode=Ss;case Ss:for(;l<32;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.head&&(r.head.time=f),r.flags&512&&(T[0]=f&255,T[1]=f>>>8&255,T[2]=f>>>16&255,T[3]=f>>>24&255,r.check=de(r.check,T,4,0)),f=0,l=0,r.mode=Es;case Es:for(;l<16;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.head&&(r.head.xflags=f&255,r.head.os=f>>8),r.flags&512&&(T[0]=f&255,T[1]=f>>>8&255,r.check=de(r.check,T,2,0)),f=0,l=0,r.mode=Cs;case Cs:if(r.flags&1024){for(;l<16;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.length=f,r.head&&(r.head.extra_len=f),r.flags&512&&(T[0]=f&255,T[1]=f>>>8&255,r.check=de(r.check,T,2,0)),f=0,l=0;}else r.head&&(r.head.extra=null);r.mode=Ts;case Ts:if(r.flags&1024&&(h=r.length,h>s&&(h=s),h&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),V.arraySet(r.head.extra,i,a,h,E)),r.flags&512&&(r.check=de(r.check,i,h,a)),s-=h,a+=h,r.length-=h),r.length))break e;r.length=0,r.mode=As;case As:if(r.flags&2048){if(s===0)break e;h=0;do E=i[a+h++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&h<s);if(r.flags&512&&(r.check=de(r.check,i,h,a)),s-=h,a+=h,E)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=Rs;case Rs:if(r.flags&4096){if(s===0)break e;h=0;do E=i[a+h++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E));while(E&&h<s);if(r.flags&512&&(r.check=de(r.check,i,h,a)),s-=h,a+=h,E)break e}else r.head&&(r.head.comment=null);r.mode=Os;case Os:if(r.flags&512){for(;l<16;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(f!==(r.check&65535)){e.msg="header crc mismatch",r.mode=z;break}f=0,l=0;}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=true),e.adler=r.check=0,r.mode=xe;break;case Is:for(;l<32;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}e.adler=r.check=Ws(f),f=0,l=0,r.mode=Zr;case Zr:if(r.havedict===0)return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=f,r.bits=l,Rd;e.adler=r.check=1,r.mode=xe;case xe:if(t===Td||t===Mr)break e;case bn:if(r.last){f>>>=l&7,l-=l&7,r.mode=yn;break}for(;l<3;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}switch(r.last=f&1,f>>>=1,l-=1,f&3){case 0:r.mode=Ds;break;case 1:if(Ld(r),r.mode=Pr,t===Mr){f>>>=2,l-=2;break e}break;case 2:r.mode=zs;break;case 3:e.msg="invalid block type",r.mode=z;}f>>>=2,l-=2;break;case Ds:for(f>>>=l&7,l-=l&7;l<32;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if((f&65535)!==(f>>>16^65535)){e.msg="invalid stored block lengths",r.mode=z;break}if(r.length=f&65535,f=0,l=0,r.mode=mn,t===Mr)break e;case mn:r.mode=Bs;case Bs:if(h=r.length,h){if(h>s&&(h=s),h>u&&(h=u),h===0)break e;V.arraySet(n,i,a,h,o),s-=h,a+=h,u-=h,o+=h,r.length-=h;break}r.mode=xe;break;case zs:for(;l<14;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(r.nlen=(f&31)+257,f>>>=5,l-=5,r.ndist=(f&31)+1,f>>>=5,l-=5,r.ncode=(f&15)+4,f>>>=4,l-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=z;break}r.have=0,r.mode=Fs;case Fs:for(;r.have<r.ncode;){for(;l<3;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.lens[Y[r.have++]]=f&7,f>>>=3,l-=3;}for(;r.have<19;)r.lens[Y[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,D={bits:r.lenbits},S=$t(Cd,r.lens,0,19,r.lencode,0,r.work,D),r.lenbits=D.bits,S){e.msg="invalid code lengths set",r.mode=z;break}r.have=0,r.mode=Ns;case Ns:for(;r.have<r.nlen+r.ndist;){for(;y=r.lencode[f&(1<<r.lenbits)-1],_=y>>>24,c=y>>>16&255,m=y&65535,!(_<=l);){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(m<16)f>>>=_,l-=_,r.lens[r.have++]=m;else {if(m===16){for(x=_+2;l<x;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(f>>>=_,l-=_,r.have===0){e.msg="invalid bit length repeat",r.mode=z;break}E=r.lens[r.have-1],h=3+(f&3),f>>>=2,l-=2;}else if(m===17){for(x=_+3;l<x;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}f>>>=_,l-=_,E=0,h=3+(f&7),f>>>=3,l-=3;}else {for(x=_+7;l<x;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}f>>>=_,l-=_,E=0,h=11+(f&127),f>>>=7,l-=7;}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=z;break}for(;h--;)r.lens[r.have++]=E;}}if(r.mode===z)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=z;break}if(r.lenbits=9,D={bits:r.lenbits},S=$t(Ks,r.lens,0,r.nlen,r.lencode,0,r.work,D),r.lenbits=D.bits,S){e.msg="invalid literal/lengths set",r.mode=z;break}if(r.distbits=6,r.distcode=r.distdyn,D={bits:r.distbits},S=$t(Ys,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,D),r.distbits=D.bits,S){e.msg="invalid distances set",r.mode=z;break}if(r.mode=Pr,t===Mr)break e;case Pr:r.mode=Ur;case Ur:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=f,r.bits=l,Ed(e,d),o=e.next_out,n=e.output,u=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,f=r.hold,l=r.bits,r.mode===xe&&(r.back=-1);break}for(r.back=0;y=r.lencode[f&(1<<r.lenbits)-1],_=y>>>24,c=y>>>16&255,m=y&65535,!(_<=l);){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(c&&(c&240)===0){for(p=_,g=c,C=m;y=r.lencode[C+((f&(1<<p+g)-1)>>p)],_=y>>>24,c=y>>>16&255,m=y&65535,!(p+_<=l);){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}f>>>=p,l-=p,r.back+=p;}if(f>>>=_,l-=_,r.back+=_,r.length=m,c===0){r.mode=Us;break}if(c&32){r.back=-1,r.mode=xe;break}if(c&64){e.msg="invalid literal/length code",r.mode=z;break}r.extra=c&15,r.mode=qs;case qs:if(r.extra){for(x=r.extra;l<x;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.length+=f&(1<<r.extra)-1,f>>>=r.extra,l-=r.extra,r.back+=r.extra;}r.was=r.length,r.mode=Ls;case Ls:for(;y=r.distcode[f&(1<<r.distbits)-1],_=y>>>24,c=y>>>16&255,m=y&65535,!(_<=l);){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if((c&240)===0){for(p=_,g=c,C=m;y=r.distcode[C+((f&(1<<p+g)-1)>>p)],_=y>>>24,c=y>>>16&255,m=y&65535,!(p+_<=l);){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}f>>>=p,l-=p,r.back+=p;}if(f>>>=_,l-=_,r.back+=_,c&64){e.msg="invalid distance code",r.mode=z;break}r.offset=m,r.extra=c&15,r.mode=Ms;case Ms:if(r.extra){for(x=r.extra;l<x;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}r.offset+=f&(1<<r.extra)-1,f>>>=r.extra,l-=r.extra,r.back+=r.extra;}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=z;break}r.mode=Ps;case Ps:if(u===0)break e;if(h=d-u,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=z;break}h>r.wnext?(h-=r.wnext,k=r.wsize-h):k=r.wnext-h,h>r.length&&(h=r.length),b=r.window;}else b=n,k=o-r.offset,h=r.length;h>u&&(h=u),u-=h,r.length-=h;do n[o++]=b[k++];while(--h);r.length===0&&(r.mode=Ur);break;case Us:if(u===0)break e;n[o++]=r.length,u--,r.mode=Ur;break;case yn:if(r.wrap){for(;l<32;){if(s===0)break e;s--,f|=i[a++]<<l,l+=8;}if(d-=u,e.total_out+=d,r.total+=d,d&&(e.adler=r.check=r.flags?de(r.check,n,d,o-d):Sn(r.check,n,d,o-d)),d=u,(r.flags?f:Ws(f))!==r.check){e.msg="incorrect data check",r.mode=z;break}f=0,l=0;}r.mode=Zs;case Zs:if(r.wrap&&r.flags){for(;l<32;){if(s===0)break e;s--,f+=i[a++]<<l,l+=8;}if(f!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=z;break}f=0,l=0;}r.mode=js;case js:S=Ad;break e;case z:S=Xs;break e;case Cn:return En;case Id:default:return $}return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=f,r.bits=l,(r.wsize||d!==e.avail_out&&r.mode<z&&(r.mode<yn||t!==ys))&&ef(e,e.output,e.next_out,d-e.avail_out)?(r.mode=Cn,En):(w-=e.avail_in,d-=e.avail_out,e.total_in+=w,e.total_out+=d,r.total+=d,r.wrap&&d&&(e.adler=r.check=r.flags?de(r.check,n,d,e.next_out-d):Sn(r.check,n,d,e.next_out-d)),e.data_type=r.bits+(r.last?64:0)+(r.mode===xe?128:0)+(r.mode===Pr||r.mode===mn?256:0),(w===0&&d===0||t===ys)&&S===He&&(S=Od),S)}function Pd(e){if(!e||!e.state)return $;var t=e.state;return t.window&&(t.window=null),e.state=null,He}function Ud(e,t){var r;return !e||!e.state||(r=e.state,(r.wrap&2)===0)?$:(r.head=t,t.done=false,He)}function Zd(e,t){var r=t.length,i,n,a;return !e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==Zr)?$:i.mode===Zr&&(n=1,n=Sn(n,t,r,0),n!==i.check)?Xs:(a=ef(e,t,r,r),a?(i.mode=Cn,En):(i.havedict=1,He))}ie.inflateReset=Js;ie.inflateReset2=Qs;ie.inflateResetKeep=Vs;ie.inflateInit=qd;ie.inflateInit2=$s;ie.inflate=Md;ie.inflateEnd=Pd;ie.inflateGetHeader=Ud;ie.inflateSetDictionary=Zd;ie.inflateInfo="pako inflate (from Nodeca project)";});var Tn=b((Ip,rf)=>{rf.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};});var af=b((Dp,nf)=>{function jd(){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=false;}nf.exports=jd;});var sf=b(tr=>{var wt=tf(),er=be(),jr=dn(),N=Tn(),An=Or(),Wd=cn(),Hd=af(),of=Object.prototype.toString;function Ke(e){if(!(this instanceof Ke))return new Ke(e);this.options=er.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new Wd,this.strm.avail_out=0;var r=wt.inflateInit2(this.strm,t.windowBits);if(r!==N.Z_OK)throw new Error(An[r]);if(this.header=new Hd,wt.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=jr.string2buf(t.dictionary):of.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=wt.inflateSetDictionary(this.strm,t.dictionary),r!==N.Z_OK)))throw new Error(An[r])}Ke.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,n=this.options.dictionary,a,o,s,u,f,l=false;if(this.ended)return false;o=t===~~t?t:t===true?N.Z_FINISH:N.Z_NO_FLUSH,typeof e=="string"?r.input=jr.binstring2buf(e):of.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new er.Buf8(i),r.next_out=0,r.avail_out=i),a=wt.inflate(r,N.Z_NO_FLUSH),a===N.Z_NEED_DICT&&n&&(a=wt.inflateSetDictionary(this.strm,n)),a===N.Z_BUF_ERROR&&l===true&&(a=N.Z_OK,l=false),a!==N.Z_STREAM_END&&a!==N.Z_OK)return this.onEnd(a),this.ended=true,false;r.next_out&&(r.avail_out===0||a===N.Z_STREAM_END||r.avail_in===0&&(o===N.Z_FINISH||o===N.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=jr.utf8border(r.output,r.next_out),u=r.next_out-s,f=jr.buf2string(r.output,s),r.next_out=u,r.avail_out=i-u,u&&er.arraySet(r.output,r.output,s,u,0),this.onData(f)):this.onData(er.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(l=true);}while((r.avail_in>0||r.avail_out===0)&&a!==N.Z_STREAM_END);return a===N.Z_STREAM_END&&(o=N.Z_FINISH),o===N.Z_FINISH?(a=wt.inflateEnd(this.strm),this.onEnd(a),this.ended=true,a===N.Z_OK):(o===N.Z_SYNC_FLUSH&&(this.onEnd(N.Z_OK),r.avail_out=0),true)};Ke.prototype.onData=function(e){this.chunks.push(e);};Ke.prototype.onEnd=function(e){e===N.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=er.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg;};function Rn(e,t){var r=new Ke(t);if(r.push(e,true),r.err)throw r.msg||An[r.err];return r.result}function Kd(e,t){return t=t||{},t.raw=true,Rn(e,t)}tr.Inflate=Ke;tr.inflate=Rn;tr.inflateRaw=Kd;tr.ungzip=Rn;});var uf=b((zp,lf)=>{var Yd=be().assign,Xd=hs(),Gd=sf(),Vd=Tn(),ff={};Yd(ff,Xd,Gd,Vd);lf.exports=ff;});var df=b(Hr=>{var Jd=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Qd=uf(),hf=F(),Wr=G(),$d=Jd?"uint8array":"array";Hr.magic="\b\0";function Ye(e,t){Wr.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={};}hf.inherits(Ye,Wr);Ye.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(hf.transformTo($d,e.data),false);};Ye.prototype.flush=function(){Wr.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],true);};Ye.prototype.cleanUp=function(){Wr.prototype.cleanUp.call(this),this._pako=null;};Ye.prototype._createPako=function(){this._pako=new Qd[this._pakoAction]({raw:true,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta});};};Hr.compressWorker=function(e){return new Ye("Deflate",e)};Hr.uncompressWorker=function(){return new Ye("Inflate",{})};});var In=b(On=>{var cf=G();On.STORE={magic:"\0\0",compressWorker:function(){return new cf("STORE compression")},uncompressWorker:function(){return new cf("STORE decompression")}};On.DEFLATE=df();});var Dn=b(Xe=>{Xe.LOCAL_FILE_HEADER="PK";Xe.CENTRAL_FILE_HEADER="PK";Xe.CENTRAL_DIRECTORY_END="PK";Xe.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Xe.ZIP64_CENTRAL_DIRECTORY_END="PK";Xe.DATA_DESCRIPTOR="PK\x07\b";});var gf=b((Lp,_f)=>{var bt=F(),mt=G(),Bn=st(),pf=Er(),Kr=Dn(),I=function(e,t){var r="",i;for(i=0;i<t;i++)r+=String.fromCharCode(e&255),e=e>>>8;return r},ec=function(e,t){var r=e;return e||(r=t?16893:33204),(r&65535)<<16},tc=function(e){return (e||0)&63},vf=function(e,t,r,i,n,a){var o=e.file,s=e.compression,u=a!==Bn.utf8encode,f=bt.transformTo("string",a(o.name)),l=bt.transformTo("string",Bn.utf8encode(o.name)),w=o.comment,d=bt.transformTo("string",a(w)),h=bt.transformTo("string",Bn.utf8encode(w)),k=l.length!==o.name.length,b=h.length!==w.length,y,_,c="",m="",p="",g=o.dir,C=o.date,E={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(E.crc32=e.crc32,E.compressedSize=e.compressedSize,E.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),!u&&(k||b)&&(S|=2048);var T=0,D=0;g&&(T|=16),n==="UNIX"?(D=798,T|=ec(o.unixPermissions,g)):(D=20,T|=tc(o.dosPermissions)),y=C.getUTCHours(),y=y<<6,y=y|C.getUTCMinutes(),y=y<<5,y=y|C.getUTCSeconds()/2,_=C.getUTCFullYear()-1980,_=_<<4,_=_|C.getUTCMonth()+1,_=_<<5,_=_|C.getUTCDate(),k&&(m=I(1,1)+I(pf(f),4)+l,c+="up"+I(m.length,2)+m),b&&(p=I(1,1)+I(pf(d),4)+h,c+="uc"+I(p.length,2)+p);var x="";x+=`
2
+ \0`,x+=I(S,2),x+=s.magic,x+=I(y,2),x+=I(_,2),x+=I(E.crc32,4),x+=I(E.compressedSize,4),x+=I(E.uncompressedSize,4),x+=I(f.length,2),x+=I(c.length,2);var Y=Kr.LOCAL_FILE_HEADER+x+f+c,Ge=Kr.CENTRAL_FILE_HEADER+I(D,2)+x+I(d.length,2)+"\0\0\0\0"+I(T,4)+I(i,4)+f+c+d;return {fileRecord:Y,dirRecord:Ge}},rc=function(e,t,r,i,n){var a="",o=bt.transformTo("string",n(i));return a=Kr.CENTRAL_DIRECTORY_END+"\0\0\0\0"+I(e,2)+I(e,2)+I(t,4)+I(r,4)+I(o.length,2)+o,a},ic=function(e){var t="";return t=Kr.DATA_DESCRIPTOR+I(e.crc32,4)+I(e.compressedSize,4)+I(e.uncompressedSize,4),t};function ne(e,t,r,i){mt.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=e,this.accumulate=false,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[];}bt.inherits(ne,mt);ne.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,mt.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-i-1))/r:100}}));};ne.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=vf(e,t,false,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}});}else this.accumulate=true;};ne.prototype.closedSource=function(e){this.accumulate=false;var t=this.streamFiles&&!e.file.dir,r=vf(e,t,true,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:ic(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null;};ne.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=rc(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}});};ne.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume();};ne.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(r){t.processChunk(r);}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end();}),e.on("error",function(r){t.error(r);}),this};ne.prototype.resume=function(){if(!mt.prototype.resume.call(this))return false;if(!this.previous&&this._sources.length)return this.prepareNextSource(),true;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),true};ne.prototype.error=function(e){var t=this._sources;if(!mt.prototype.error.call(this,e))return false;for(var r=0;r<t.length;r++)try{t[r].error(e);}catch{}return true};ne.prototype.lock=function(){mt.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock();};_f.exports=ne;});var bf=b(wf=>{var nc=In(),ac=gf(),oc=function(e,t){var r=e||t,i=nc[r];if(!i)throw new Error(r+" is not a valid compression method !");return i};wf.generateWorker=function(e,t,r){var i=new ac(t.streamFiles,r,t.platform,t.encodeFileName),n=0;try{e.forEach(function(a,o){n++;var s=oc(o.options.compression,t.compression),u=o.options.compressionOptions||t.compressionOptions||{},f=o.dir,l=o.date;o._compressWorker(s,u).withStreamInfo("file",{name:a,dir:f,date:l,comment:o.comment||"",unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions}).pipe(i);}),i.entriesCount=n;}catch(a){i.error(a);}return i};});var yf=b((Pp,mf)=>{var sc=F(),Yr=G();function rr(e,t){Yr.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=false,this._bindStream(t);}sc.inherits(rr,Yr);rr.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(r){t.push({data:r,meta:{percent:0}});}).on("error",function(r){t.isPaused?this.generatedError=r:t.error(r);}).on("end",function(){t.isPaused?t._upstreamEnded=true:t.end();});};rr.prototype.pause=function(){return Yr.prototype.pause.call(this)?(this._stream.pause(),true):false};rr.prototype.resume=function(){return Yr.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),true):false};mf.exports=rr;});var If=b((Up,Of)=>{var fc=st(),ir=F(),Ef=G(),lc=qi(),Cf=Li(),xf=Cr(),uc=xo(),hc=bf(),kf=Dt(),dc=yf(),Tf=function(e,t,r){var i=ir.getTypeOf(t),n,a=ir.extend(r||{},Cf);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=true),a.dosPermissions&&a.dosPermissions&16&&(a.dir=true),a.dir&&(e=Af(e)),a.createFolders&&(n=cc(e))&&Rf.call(this,n,true);var o=i==="string"&&a.binary===false&&a.base64===false;(!r||typeof r.binary>"u")&&(a.binary=!o);var s=t instanceof xf&&t.uncompressedSize===0;(s||a.dir||!t||t.length===0)&&(a.base64=false,a.binary=true,t="",a.compression="STORE",i="string");var u=null;t instanceof xf||t instanceof Ef?u=t:kf.isNode&&kf.isStream(t)?u=new dc(e,t):u=ir.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var f=new uc(e,u,a);this.files[e]=f;},cc=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Af=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},Rf=function(e,t){return t=typeof t<"u"?t:Cf.createFolders,e=Af(e),this.files[e]||Tf.call(this,e,null,{dir:true,createFolders:t}),this.files[e]};function Sf(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var pc={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,i;for(t in this.files)i=this.files[t],r=t.slice(this.root.length,t.length),r&&t.slice(0,this.root.length)===this.root&&e(r,i);},filter:function(e){var t=[];return this.forEach(function(r,i){e(r,i)&&t.push(i);}),t},file:function(e,t,r){if(arguments.length===1)if(Sf(e)){var i=e;return this.filter(function(a,o){return !o.dir&&i.test(a)})}else {var n=this.files[this.root+e];return n&&!n.dir?n:null}else e=this.root+e,Tf.call(this,e,t,r);return this},folder:function(e){if(!e)return this;if(Sf(e))return this.filter(function(n,a){return a.dir&&e.test(n)});var t=this.root+e,r=Rf.call(this,t),i=this.clone();return i.root=r.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(n,a){return a.name.slice(0,e.length)===e}),i=0;i<r.length;i++)delete this.files[r[i].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if(r=ir.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:fc.utf8encode}),r.type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),r.type==="binarystring"&&(r.type="string"),!r.type)throw new Error("No output type specified.");ir.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var i=r.comment||this.comment||"";t=hc.generateWorker(this,r,i);}catch(n){t=new Ef("error"),t.error(n);}return new lc(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};Of.exports=pc;});var zn=b((Zp,Bf)=>{var vc=F();function Df(e){this.data=e,this.length=e.length,this.index=0,this.zero=0;}Df.prototype={checkOffset:function(e){this.checkIndex(this.index+e);},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e;},skip:function(e){this.setIndex(this.index+e);},byteAt:function(){},readInt:function(e){var t=0,r;for(this.checkOffset(e),r=this.index+e-1;r>=this.index;r--)t=(t<<8)+this.byteAt(r);return this.index+=e,t},readString:function(e){return vc.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};Bf.exports=Df;});var Fn=b((jp,Ff)=>{var zf=zn(),_c=F();function yt(e){zf.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255;}_c.inherits(yt,zf);yt.prototype.byteAt=function(e){return this.data[this.zero+e]};yt.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===i&&this.data[a+3]===n)return a-this.zero;return -1};yt.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&i===a[2]&&n===a[3]};yt.prototype.readData=function(e){if(this.checkOffset(e),e===0)return [];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Ff.exports=yt;});var Lf=b((Wp,qf)=>{var Nf=zn(),gc=F();function xt(e){Nf.call(this,e);}gc.inherits(xt,Nf);xt.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};xt.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};xt.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};xt.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};qf.exports=xt;});var qn=b((Hp,Pf)=>{var Mf=Fn(),wc=F();function Nn(e){Mf.call(this,e);}wc.inherits(Nn,Mf);Nn.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Pf.exports=Nn;});var jf=b((Kp,Zf)=>{var Uf=qn(),bc=F();function Ln(e){Uf.call(this,e);}bc.inherits(Ln,Uf);Ln.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Zf.exports=Ln;});var Mn=b((Yp,Hf)=>{var Xr=F(),Wf=ge(),mc=Fn(),yc=Lf(),xc=jf(),kc=qn();Hf.exports=function(e){var t=Xr.getTypeOf(e);return Xr.checkSupport(t),t==="string"&&!Wf.uint8array?new yc(e):t==="nodebuffer"?new xc(e):Wf.uint8array?new kc(Xr.transformTo("uint8array",e)):new mc(Xr.transformTo("array",e))};});var Gf=b((Xp,Xf)=>{var Pn=Mn(),ze=F(),Sc=Cr(),Kf=Er(),Gr=st(),Vr=In(),Ec=ge(),Cc=0,Tc=3,Ac=function(e){for(var t in Vr)if(Object.prototype.hasOwnProperty.call(Vr,t)&&Vr[t].magic===e)return Vr[t];return null};function Yf(e,t){this.options=e,this.loadOptions=t;}Yf.prototype={isEncrypted:function(){return (this.bitFlag&1)===1},useUTF8:function(){return (this.bitFlag&2048)===2048},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),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(t=Ac(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+ze.pretty(this.compressionMethod)+" unknown (inner file : "+ze.transformTo("string",this.fileName)+")");this.decompressed=new Sc(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize));},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength);},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===Cc&&(this.dosPermissions=this.externalFileAttributes&63),e===Tc&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=true);},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=Pn(this.extraFields[1].value);this.uncompressedSize===ze.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===ze.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===ze.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===ze.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4));}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,r,i,n;for(this.extraFields||(this.extraFields={});e.index+4<t;)r=e.readInt(2),i=e.readInt(2),n=e.readData(i),this.extraFields[r]={id:r,length:i,value:n};e.setIndex(t);},handleUTF8:function(){var e=Ec.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Gr.utf8decode(this.fileName),this.fileCommentStr=Gr.utf8decode(this.fileComment);else {var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else {var r=ze.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r);}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else {var n=ze.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(n);}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Pn(e.value);return t.readInt(1)!==1||Kf(this.fileName)!==t.readInt(4)?null:Gr.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Pn(e.value);return t.readInt(1)!==1||Kf(this.fileComment)!==t.readInt(4)?null:Gr.utf8decode(t.readData(e.length-5))}return null}};Xf.exports=Yf;});var Qf=b((Gp,Jf)=>{var Rc=Mn(),ke=F(),ae=Dn(),Oc=Gf(),Ic=ge();function Vf(e){this.files=[],this.loadOptions=e;}Vf.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ke.pretty(t)+", expected "+ke.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4),n=i===t;return this.reader.setIndex(r),n},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 e=this.reader.readData(this.zipCommentLength),t=Ic.uint8array?"uint8array":"array",r=ke.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r);},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 e=this.zip64EndOfCentralSize-44,t=0,r,i,n;t<e;)r=this.reader.readInt(2),i=this.reader.readInt(4),n=this.reader.readData(i),this.zip64ExtensibleData[r]={id:r,length:i,value:n};},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 e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(ae.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes();},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(ae.CENTRAL_FILE_HEADER);)e=new Oc({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);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 e=this.reader.lastIndexOfSignature(ae.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,ae.LOCAL_FILE_HEADER);throw t?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"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var r=e;if(this.checkSignature(ae.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ke.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ke.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ke.MAX_VALUE_16BITS||this.centralDirRecords===ke.MAX_VALUE_16BITS||this.centralDirSize===ke.MAX_VALUE_32BITS||this.centralDirOffset===ke.MAX_VALUE_32BITS){if(this.zip64=true,e=this.reader.lastIndexOfSignature(ae.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(ae.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,ae.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(ae.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(ae.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral();}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var n=r-i;if(n>0)this.isSignature(r,ae.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=Rc(e);},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles();}};Jf.exports=Vf;});var tl=b((Vp,el)=>{var Un=F(),Jr=nt(),Dc=st(),Bc=Qf(),zc=Ui(),$f=Dt();function Fc(e){return new Jr.Promise(function(t,r){var i=e.decompressed.getContentWorker().pipe(new zc);i.on("error",function(n){r(n);}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t();}).resume();})}el.exports=function(e,t){var r=this;return t=Un.extend(t||{},{base64:false,checkCRC32:false,optimizedBinaryString:false,createFolders:false,decodeFileName:Dc.utf8decode}),$f.isNode&&$f.isStream(e)?Jr.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Un.prepareContent("the loaded zip file",e,true,t.optimizedBinaryString,t.base64).then(function(i){var n=new Bc(t);return n.load(i),n}).then(function(n){var a=[Jr.Promise.resolve(n)],o=n.files;if(t.checkCRC32)for(var s=0;s<o.length;s++)a.push(Fc(o[s]));return Jr.Promise.all(a)}).then(function(n){for(var a=n.shift(),o=a.files,s=0;s<o.length;s++){var u=o[s],f=u.fileNameStr,l=Un.resolve(u.fileNameStr);r.file(l,u.decompressed,{binary:true,optimizedBinaryString:true,date:u.date,dir:u.dir,comment:u.fileCommentStr.length?u.fileCommentStr:null,unixPermissions:u.unixPermissions,dosPermissions:u.dosPermissions,createFolders:t.createFolders}),u.dir||(r.file(l).unsafeOriginalName=f);}return a.zipComment.length&&(r.comment=a.zipComment),r})};});var Nc=b((Jp,rl)=>{function ee(){if(!(this instanceof ee))return new ee;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 e=new ee;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e};}ee.prototype=If();ee.prototype.loadAsync=tl();ee.support=ge();ee.defaults=Li();ee.version="3.10.1";ee.loadAsync=function(e,t){return new ee().loadAsync(e,t)};ee.external=nt();rl.exports=ee;});
3
+ export{Nc as a};