import{a3 as dt,a6 as Ot}from"./index-ccab2584.js";import{c as wt}from"./_commonjs-dynamic-modules-d7dd40bd.js";var zt={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files (c) 2009-2016 Stuart Knightley Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE */(function(pt,mt){(function(b){pt.exports=b()})(function(){return function b(T,w,l){function o(p,g){if(!w[p]){if(!T[p]){var _=typeof wt=="function"&&wt;if(!g&&_)return _(p,!0);if(n)return n(p,!0);var m=new Error("Cannot find module '"+p+"'");throw m.code="MODULE_NOT_FOUND",m}var i=w[p]={exports:{}};T[p][0].call(i.exports,function(c){var r=T[p][1][c];return o(r||c)},i,i.exports,b,T,w,l)}return w[p].exports}for(var n=typeof wt=="function"&&wt,h=0;h>2,i=(3&p)<<4|g>>4,c=1>6:64,r=2>4,g=(15&m)<<4|(i=n.indexOf(h.charAt(r++)))>>2,_=(3&i)<<6|(c=n.indexOf(h.charAt(r++))),d[u++]=p,i!==64&&(d[u++]=g),c!==64&&(d[u++]=_);return d}},{"./support":30,"./utils":32}],2:[function(b,T,w){var l=b("./external"),o=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),h=b("./stream/DataLengthProbe");function p(g,_,m,i,c){this.compressedSize=g,this.uncompressedSize=_,this.crc32=m,this.compression=i,this.compressedContent=c}p.prototype={getContentWorker:function(){var g=new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),_=this;return g.on("end",function(){if(this.streamInfo.data_length!==_.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new o(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(g,_,m){return g.pipe(new n).pipe(new h("uncompressedSize")).pipe(_.compressWorker(m)).pipe(new h("compressedSize")).withStreamInfo("compression",_)},T.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,T,w){var l=b("./stream/GenericWorker");w.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},w.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,T,w){var l=b("./utils"),o=function(){for(var n,h=[],p=0;p<256;p++){n=p;for(var g=0;g<8;g++)n=1&n?3988292384^n>>>1:n>>>1;h[p]=n}return h}();T.exports=function(n,h){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r>>8^i[255&(p^g[r])];return-1^p}(0|h,n,n.length,0):function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r>>8^i[255&(p^g.charCodeAt(r))];return-1^p}(0|h,n,n.length,0):0}},{"./utils":32}],5:[function(b,T,w){w.base64=!1,w.binary=!1,w.dir=!1,w.createFolders=!0,w.date=null,w.compression=null,w.compressionOptions=null,w.comment=null,w.unixPermissions=null,w.dosPermissions=null},{}],6:[function(b,T,w){var l=null;l=typeof Promise<"u"?Promise:b("lie"),T.exports={Promise:l}},{lie:37}],7:[function(b,T,w){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=b("pako"),n=b("./utils"),h=b("./stream/GenericWorker"),p=l?"uint8array":"array";function g(_,m){h.call(this,"FlateWorker/"+_),this._pako=null,this._pakoAction=_,this._pakoOptions=m,this.meta={}}w.magic="\b\0",n.inherits(g,h),g.prototype.processChunk=function(_){this.meta=_.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(p,_.data),!1)},g.prototype.flush=function(){h.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},g.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},g.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var _=this;this._pako.onData=function(m){_.push({data:m,meta:_.meta})}},w.compressWorker=function(_){return new g("Deflate",_)},w.uncompressWorker=function(){return new g("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,T,w){function l(i,c){var r,u="";for(r=0;r>>=8;return u}function o(i,c,r,u,a,d){var y,S,x=i.file,F=i.compression,O=d!==p.utf8encode,P=n.transformTo("string",d(x.name)),I=n.transformTo("string",p.utf8encode(x.name)),M=x.comment,V=n.transformTo("string",d(M)),v=n.transformTo("string",p.utf8encode(M)),B=I.length!==x.name.length,e=v.length!==M.length,D="",J="",L="",$=x.dir,j=x.date,q={crc32:0,compressedSize:0,uncompressedSize:0};c&&!r||(q.crc32=i.crc32,q.compressedSize=i.compressedSize,q.uncompressedSize=i.uncompressedSize);var A=0;c&&(A|=8),O||!B&&!e||(A|=2048);var E=0,X=0;$&&(E|=16),a==="UNIX"?(X=798,E|=function(H,nt){var ot=H;return H||(ot=nt?16893:33204),(65535&ot)<<16}(x.unixPermissions,$)):(X=20,E|=function(H){return 63&(H||0)}(x.dosPermissions)),y=j.getUTCHours(),y<<=6,y|=j.getUTCMinutes(),y<<=5,y|=j.getUTCSeconds()/2,S=j.getUTCFullYear()-1980,S<<=4,S|=j.getUTCMonth()+1,S<<=5,S|=j.getUTCDate(),B&&(J=l(1,1)+l(g(P),4)+I,D+="up"+l(J.length,2)+J),e&&(L=l(1,1)+l(g(V),4)+v,D+="uc"+l(L.length,2)+L);var G="";return G+=` \0`,G+=l(A,2),G+=F.magic,G+=l(y,2),G+=l(S,2),G+=l(q.crc32,4),G+=l(q.compressedSize,4),G+=l(q.uncompressedSize,4),G+=l(P.length,2),G+=l(D.length,2),{fileRecord:_.LOCAL_FILE_HEADER+G+P+D,dirRecord:_.CENTRAL_FILE_HEADER+l(X,2)+G+l(V.length,2)+"\0\0\0\0"+l(E,4)+l(u,4)+P+D+V}}var n=b("../utils"),h=b("../stream/GenericWorker"),p=b("../utf8"),g=b("../crc32"),_=b("../signature");function m(i,c,r,u){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=c,this.zipPlatform=r,this.encodeFileName=u,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(m,h),m.prototype.push=function(i){var c=i.meta.percent||0,r=this.entriesCount,u=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:r?(c+100*(r-u-1))/r:100}}))},m.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var c=this.streamFiles&&!i.file.dir;if(c){var r=o(i,c,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(i){this.accumulate=!1;var c=this.streamFiles&&!i.file.dir,r=o(i,c,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),c)this.push({data:function(u){return _.DATA_DESCRIPTOR+l(u.crc32,4)+l(u.compressedSize,4)+l(u.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var i=this.bytesWritten,c=0;c=this.index;h--)p=(p<<8)+this.byteAt(h);return this.index+=n,p},readString:function(n){return l.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},T.exports=o},{"../utils":32}],19:[function(b,T,w){var l=b("./Uint8ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,T,w){var l=b("./DataReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},o.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},o.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./DataReader":18}],21:[function(b,T,w){var l=b("./ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var h=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(b,T,w){var l=b("../utils"),o=b("../support"),n=b("./ArrayReader"),h=b("./StringReader"),p=b("./NodeBufferReader"),g=b("./Uint8ArrayReader");T.exports=function(_){var m=l.getTypeOf(_);return l.checkSupport(m),m!=="string"||o.uint8array?m==="nodebuffer"?new p(_):o.uint8array?new g(l.transformTo("uint8array",_)):new n(l.transformTo("array",_)):new h(_)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,T,w){w.LOCAL_FILE_HEADER="PK",w.CENTRAL_FILE_HEADER="PK",w.CENTRAL_DIRECTORY_END="PK",w.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",w.ZIP64_CENTRAL_DIRECTORY_END="PK",w.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,T,w){var l=b("./GenericWorker"),o=b("../utils");function n(h){l.call(this,"ConvertWorker to "+h),this.destType=h}o.inherits(n,l),n.prototype.processChunk=function(h){this.push({data:o.transformTo(this.destType,h.data),meta:h.meta})},T.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(b,T,w){var l=b("./GenericWorker"),o=b("../crc32");function n(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(n,l),n.prototype.processChunk=function(h){this.streamInfo.crc32=o(h.data,this.streamInfo.crc32||0),this.push(h)},T.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,T,w){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataLengthProbe for "+h),this.propName=h,this.withStreamInfo(h,0)}l.inherits(n,o),n.prototype.processChunk=function(h){if(h){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+h.data.length}o.prototype.processChunk.call(this,h)},T.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(b,T,w){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(g){p.dataIsReady=!0,p.data=g,p.max=g&&g.length||0,p.type=l.getTypeOf(g),p.isPaused||p._tickAndRepeat()},function(g){p.error(g)})}l.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var h=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":h=this.data.substring(this.index,p);break;case"uint8array":h=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":h=this.data.slice(this.index,p)}return this.index=p,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},T.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(b,T,w){function l(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,n){return this._listeners[o].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,n){if(this._listeners[o])for(var h=0;h "+o:o}},T.exports=l},{}],29:[function(b,T,w){var l=b("../utils"),o=b("./ConvertWorker"),n=b("./GenericWorker"),h=b("../base64"),p=b("../support"),g=b("../external"),_=null;if(p.nodestream)try{_=b("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(c,r){return new g.Promise(function(u,a){var d=[],y=c._internalType,S=c._outputType,x=c._mimeType;c.on("data",function(F,O){d.push(F),r&&r(O)}).on("error",function(F){d=[],a(F)}).on("end",function(){try{var F=function(O,P,I){switch(O){case"blob":return l.newBlob(l.transformTo("arraybuffer",P),I);case"base64":return h.encode(P);default:return l.transformTo(O,P)}}(S,function(O,P){var I,M=0,V=null,v=0;for(I=0;I"u")w.blob=!1;else{var l=new ArrayBuffer(0);try{w.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(l),w.blob=o.getBlob("application/zip").size===0}catch{w.blob=!1}}}try{w.nodestream=!!b("readable-stream").Readable}catch{w.nodestream=!1}},{"readable-stream":16}],31:[function(b,T,w){for(var l=b("./utils"),o=b("./support"),n=b("./nodejsUtils"),h=b("./stream/GenericWorker"),p=new Array(256),g=0;g<256;g++)p[g]=252<=g?6:248<=g?5:240<=g?4:224<=g?3:192<=g?2:1;p[254]=p[254]=1;function _(){h.call(this,"utf-8 decode"),this.leftOver=null}function m(){h.call(this,"utf-8 encode")}w.utf8encode=function(i){return o.nodebuffer?n.newBufferFrom(i,"utf-8"):function(c){var r,u,a,d,y,S=c.length,x=0;for(d=0;d>>6:(u<65536?r[y++]=224|u>>>12:(r[y++]=240|u>>>18,r[y++]=128|u>>>12&63),r[y++]=128|u>>>6&63),r[y++]=128|63&u);return r}(i)},w.utf8decode=function(i){return o.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(c){var r,u,a,d,y=c.length,S=new Array(2*y);for(r=u=0;r>10&1023,S[u++]=56320|1023&a)}return S.length!==u&&(S.subarray?S=S.subarray(0,u):S.length=u),l.applyFromCharCode(S)}(i=l.transformTo(o.uint8array?"uint8array":"array",i))},l.inherits(_,h),_.prototype.processChunk=function(i){var c=l.transformTo(o.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var r=c;(c=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),c.set(r,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var u=function(d,y){var S;for((y=y||d.length)>d.length&&(y=d.length),S=y-1;0<=S&&(192&d[S])==128;)S--;return S<0||S===0?y:S+p[d[S]]>y?S:y}(c),a=c;u!==c.length&&(o.uint8array?(a=c.subarray(0,u),this.leftOver=c.subarray(u,c.length)):(a=c.slice(0,u),this.leftOver=c.slice(u,c.length))),this.push({data:w.utf8decode(a),meta:i.meta})},_.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:w.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},w.Utf8DecodeWorker=_,l.inherits(m,h),m.prototype.processChunk=function(i){this.push({data:w.utf8encode(i.data),meta:i.meta})},w.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,T,w){var l=b("./support"),o=b("./base64"),n=b("./nodejsUtils"),h=b("./external");function p(r){return r}function g(r,u){for(var a=0;a>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var c,r,u,a=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4>>6:(i<65536?m[u++]=224|i>>>12:(m[u++]=240|i>>>18,m[u++]=128|i>>>12&63),m[u++]=128|i>>>6&63),m[u++]=128|63&i);return m},w.buf2binstring=function(_){return g(_,_.length)},w.binstring2buf=function(_){for(var m=new l.Buf8(_.length),i=0,c=m.length;i>10&1023,d[c++]=56320|1023&r)}return g(d,c)},w.utf8border=function(_,m){var i;for((m=m||_.length)>_.length&&(m=_.length),i=m-1;0<=i&&(192&_[i])==128;)i--;return i<0||i===0?m:i+h[_[i]]>m?i:m}},{"./common":41}],43:[function(b,T,w){T.exports=function(l,o,n,h){for(var p=65535&l|0,g=l>>>16&65535|0,_=0;n!==0;){for(n-=_=2e3>>1:o>>>1;n[h]=o}return n}();T.exports=function(o,n,h,p){var g=l,_=p+h;o^=-1;for(var m=p;m<_;m++)o=o>>>8^g[255&(o^n[m])];return-1^o}},{}],46:[function(b,T,w){var l,o=b("../utils/common"),n=b("./trees"),h=b("./adler32"),p=b("./crc32"),g=b("./messages"),_=0,m=4,i=0,c=-2,r=-1,u=4,a=2,d=8,y=9,S=286,x=30,F=19,O=2*S+1,P=15,I=3,M=258,V=M+I+1,v=42,B=113,e=1,D=2,J=3,L=4;function $(t,R){return t.msg=g[R],R}function j(t){return(t<<1)-(4t.avail_out&&(C=t.avail_out),C!==0&&(o.arraySet(t.output,R.pending_buf,R.pending_out,C,t.next_out),t.next_out+=C,R.pending_out+=C,t.total_out+=C,t.avail_out-=C,R.pending-=C,R.pending===0&&(R.pending_out=0))}function E(t,R){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,R),t.block_start=t.strstart,A(t.strm)}function X(t,R){t.pending_buf[t.pending++]=R}function G(t,R){t.pending_buf[t.pending++]=R>>>8&255,t.pending_buf[t.pending++]=255&R}function H(t,R){var C,f,s=t.max_chain_length,k=t.strstart,U=t.prev_length,N=t.nice_match,z=t.strstart>t.w_size-V?t.strstart-(t.w_size-V):0,Z=t.window,K=t.w_mask,W=t.prev,Y=t.strstart+M,rt=Z[k+U-1],tt=Z[k+U];t.prev_length>=t.good_match&&(s>>=2),N>t.lookahead&&(N=t.lookahead);do if(Z[(C=R)+U]===tt&&Z[C+U-1]===rt&&Z[C]===Z[k]&&Z[++C]===Z[k+1]){k+=2,C++;do;while(Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&kz&&--s!=0);return U<=t.lookahead?U:t.lookahead}function nt(t){var R,C,f,s,k,U,N,z,Z,K,W=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=W+(W-V)){for(o.arraySet(t.window,t.window,W,W,0),t.match_start-=W,t.strstart-=W,t.block_start-=W,R=C=t.hash_size;f=t.head[--R],t.head[R]=W<=f?f-W:0,--C;);for(R=C=W;f=t.prev[--R],t.prev[R]=W<=f?f-W:0,--C;);s+=W}if(t.strm.avail_in===0)break;if(U=t.strm,N=t.window,z=t.strstart+t.lookahead,Z=s,K=void 0,K=U.avail_in,Z=I)for(k=t.strstart-t.insert,t.ins_h=t.window[k],t.ins_h=(t.ins_h<=I&&(t.ins_h=(t.ins_h<=I)if(f=n._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=I&&(t.ins_h=(t.ins_h<=I&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-I,f=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(C=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nt(t),t.lookahead===0&&R===_)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+C;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,E(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-V&&(E(t,!1),t.strm.avail_out===0))return e}return t.insert=0,R===m?(E(t,!0),t.strm.avail_out===0?J:L):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),e)}),new et(4,4,8,4,ot),new et(4,5,16,8,ot),new et(4,6,32,32,ot),new et(4,4,16,16,Q),new et(8,16,32,32,Q),new et(8,16,128,128,Q),new et(8,32,128,256,Q),new et(32,128,258,1024,Q),new et(32,258,258,4096,Q)],w.deflateInit=function(t,R){return ut(t,R,d,15,8,0)},w.deflateInit2=ut,w.deflateReset=lt,w.deflateResetKeep=it,w.deflateSetHeader=function(t,R){return t&&t.state?t.state.wrap!==2?c:(t.state.gzhead=R,i):c},w.deflate=function(t,R){var C,f,s,k;if(!t||!t.state||5>8&255),X(f,f.gzhead.time>>16&255),X(f,f.gzhead.time>>24&255),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(X(f,255&f.gzhead.extra.length),X(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=p(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(X(f,0),X(f,0),X(f,0),X(f,0),X(f,0),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,3),f.status=B);else{var U=d+(f.w_bits-8<<4)<<8;U|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(U|=32),U+=31-U%31,f.status=B,G(f,U),f.strstart!==0&&(G(f,t.adler>>>16),G(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(s=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending!==f.pending_buf_size));)X(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindexs&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),k===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindexs&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),k===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&A(t),f.pending+2<=f.pending_buf_size&&(X(f,255&t.adler),X(f,t.adler>>8&255),t.adler=0,f.status=B)):f.status=B),f.pending!==0){if(A(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&j(R)<=j(C)&&R!==m)return $(t,-5);if(f.status===666&&t.avail_in!==0)return $(t,-5);if(t.avail_in!==0||f.lookahead!==0||R!==_&&f.status!==666){var N=f.strategy===2?function(z,Z){for(var K;;){if(z.lookahead===0&&(nt(z),z.lookahead===0)){if(Z===_)return e;break}if(z.match_length=0,K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++,K&&(E(z,!1),z.strm.avail_out===0))return e}return z.insert=0,Z===m?(E(z,!0),z.strm.avail_out===0?J:L):z.last_lit&&(E(z,!1),z.strm.avail_out===0)?e:D}(f,R):f.strategy===3?function(z,Z){for(var K,W,Y,rt,tt=z.window;;){if(z.lookahead<=M){if(nt(z),z.lookahead<=M&&Z===_)return e;if(z.lookahead===0)break}if(z.match_length=0,z.lookahead>=I&&0z.lookahead&&(z.match_length=z.lookahead)}if(z.match_length>=I?(K=n._tr_tally(z,1,z.match_length-I),z.lookahead-=z.match_length,z.strstart+=z.match_length,z.match_length=0):(K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++),K&&(E(z,!1),z.strm.avail_out===0))return e}return z.insert=0,Z===m?(E(z,!0),z.strm.avail_out===0?J:L):z.last_lit&&(E(z,!1),z.strm.avail_out===0)?e:D}(f,R):l[f.level].func(f,R);if(N!==J&&N!==L||(f.status=666),N===e||N===J)return t.avail_out===0&&(f.last_flush=-1),i;if(N===D&&(R===1?n._tr_align(f):R!==5&&(n._tr_stored_block(f,0,0,!1),R===3&&(q(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),A(t),t.avail_out===0))return f.last_flush=-1,i}return R!==m?i:f.wrap<=0?1:(f.wrap===2?(X(f,255&t.adler),X(f,t.adler>>8&255),X(f,t.adler>>16&255),X(f,t.adler>>24&255),X(f,255&t.total_in),X(f,t.total_in>>8&255),X(f,t.total_in>>16&255),X(f,t.total_in>>24&255)):(G(f,t.adler>>>16),G(f,65535&t.adler)),A(t),0=C.w_size&&(k===0&&(q(C.head),C.strstart=0,C.block_start=0,C.insert=0),Z=new o.Buf8(C.w_size),o.arraySet(Z,R,K-C.w_size,C.w_size,0),R=Z,K=C.w_size),U=t.avail_in,N=t.next_in,z=t.input,t.avail_in=K,t.next_in=0,t.input=R,nt(C);C.lookahead>=I;){for(f=C.strstart,s=C.lookahead-(I-1);C.ins_h=(C.ins_h<>>=I=P>>>24,y-=I,(I=P>>>16&255)===0)D[g++]=65535&P;else{if(!(16&I)){if((64&I)==0){P=S[(65535&P)+(d&(1<>>=I,y-=I),y<15&&(d+=e[h++]<>>=I=P>>>24,y-=I,!(16&(I=P>>>16&255))){if((64&I)==0){P=x[(65535&P)+(d&(1<>>=I,y-=I,(I=g-_)>3,d&=(1<<(y-=M<<3))-1,l.next_in=h,l.next_out=g,l.avail_in=h>>24&255)+(v>>>8&65280)+((65280&v)<<8)+((255&v)<<24)}function d(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(v){var B;return v&&v.state?(B=v.state,v.total_in=v.total_out=B.total=0,v.msg="",B.wrap&&(v.adler=1&B.wrap),B.mode=c,B.last=0,B.havedict=0,B.dmax=32768,B.head=null,B.hold=0,B.bits=0,B.lencode=B.lendyn=new l.Buf32(r),B.distcode=B.distdyn=new l.Buf32(u),B.sane=1,B.back=-1,m):i}function S(v){var B;return v&&v.state?((B=v.state).wsize=0,B.whave=0,B.wnext=0,y(v)):i}function x(v,B){var e,D;return v&&v.state?(D=v.state,B<0?(e=0,B=-B):(e=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15=L.wsize?(l.arraySet(L.window,B,e-L.wsize,L.wsize,0),L.wnext=0,L.whave=L.wsize):(D<(J=L.wsize-L.wnext)&&(J=D),l.arraySet(L.window,B,e-D,J,L.wnext),(D-=J)?(l.arraySet(L.window,B,e-D,D,0),L.wnext=D,L.whave=L.wsize):(L.wnext+=J,L.wnext===L.wsize&&(L.wnext=0),L.whave>>8&255,e.check=n(e.check,k,2,0),E=A=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&A)<<8)+(A>>8))%31){v.msg="incorrect header check",e.mode=30;break}if((15&A)!=8){v.msg="unknown compression method",e.mode=30;break}if(E-=4,t=8+(15&(A>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){v.msg="invalid window size",e.mode=30;break}e.dmax=1<>8&1),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0)),E=A=0,e.mode=3;case 3:for(;E<32;){if(j===0)break t;j--,A+=D[L++]<>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,e.check=n(e.check,k,4,0)),E=A=0,e.mode=4;case 4:for(;E<16;){if(j===0)break t;j--,A+=D[L++]<>8),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0)),E=A=0,e.mode=5;case 5:if(1024&e.flags){for(;E<16;){if(j===0)break t;j--,A+=D[L++]<>>8&255,e.check=n(e.check,k,2,0)),E=A=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(j<(H=e.length)&&(H=j),H&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),l.arraySet(e.head.extra,D,L,H,t)),512&e.flags&&(e.check=n(e.check,D,H,L)),j-=H,L+=H,e.length-=H),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(j===0)break t;for(H=0;t=D[L+H++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&H>9&1,e.head.done=!0),v.adler=e.check=0,e.mode=12;break;case 10:for(;E<32;){if(j===0)break t;j--,A+=D[L++]<>>=7&E,E-=7&E,e.mode=27;break}for(;E<3;){if(j===0)break t;j--,A+=D[L++]<>>=1)){case 0:e.mode=14;break;case 1:if(M(e),e.mode=20,B!==6)break;A>>>=2,E-=2;break t;case 2:e.mode=17;break;case 3:v.msg="invalid block type",e.mode=30}A>>>=2,E-=2;break;case 14:for(A>>>=7&E,E-=7&E;E<32;){if(j===0)break t;j--,A+=D[L++]<>>16^65535)){v.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&A,E=A=0,e.mode=15,B===6)break t;case 15:e.mode=16;case 16:if(H=e.length){if(j>>=5,E-=5,e.ndist=1+(31&A),A>>>=5,E-=5,e.ncode=4+(15&A),A>>>=4,E-=4,286>>=3,E-=3}for(;e.have<19;)e.lens[U[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,C={bits:e.lenbits},R=p(0,e.lens,0,19,e.lencode,0,e.work,C),e.lenbits=C.bits,R){v.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<>>=Q,E-=Q,e.lens[e.have++]=st;else{if(st===16){for(f=Q+2;E>>=Q,E-=Q,e.have===0){v.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],H=3+(3&A),A>>>=2,E-=2}else if(st===17){for(f=Q+3;E>>=Q)),A>>>=3,E-=3}else{for(f=Q+7;E>>=Q)),A>>>=7,E-=7}if(e.have+H>e.nlen+e.ndist){v.msg="invalid bit length repeat",e.mode=30;break}for(;H--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){v.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,C={bits:e.lenbits},R=p(g,e.lens,0,e.nlen,e.lencode,0,e.work,C),e.lenbits=C.bits,R){v.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,C={bits:e.distbits},R=p(_,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,C),e.distbits=C.bits,R){v.msg="invalid distances set",e.mode=30;break}if(e.mode=20,B===6)break t;case 20:e.mode=21;case 21:if(6<=j&&258<=q){v.next_out=$,v.avail_out=q,v.next_in=L,v.avail_in=j,e.hold=A,e.bits=E,h(v,G),$=v.next_out,J=v.output,q=v.avail_out,L=v.next_in,D=v.input,j=v.avail_in,A=e.hold,E=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;et=(s=e.lencode[A&(1<>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<>>=it,E-=it,e.back+=it}if(A>>>=Q,E-=Q,e.back+=Q,e.length=st,et===0){e.mode=26;break}if(32&et){e.back=-1,e.mode=12;break}if(64&et){v.msg="invalid literal/length code",e.mode=30;break}e.extra=15&et,e.mode=22;case 22:if(e.extra){for(f=e.extra;E>>=e.extra,E-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;et=(s=e.distcode[A&(1<>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<>>=it,E-=it,e.back+=it}if(A>>>=Q,E-=Q,e.back+=Q,64&et){v.msg="invalid distance code",e.mode=30;break}e.offset=st,e.extra=15&et,e.mode=24;case 24:if(e.extra){for(f=e.extra;E>>=e.extra,E-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){v.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(q===0)break t;if(H=G-q,e.offset>H){if((H=e.offset-H)>e.whave&&e.sane){v.msg="invalid distance too far back",e.mode=30;break}nt=H>e.wnext?(H-=e.wnext,e.wsize-H):e.wnext-H,H>e.length&&(H=e.length),ot=e.window}else ot=J,nt=$-e.offset,H=e.length;for(qO?(I=nt[ot+u[B]],E[X+u[B]]):(I=96,0),d=1<>$)+(y-=d)]=P<<24|I<<16|M|0,y!==0;);for(d=1<>=1;if(d!==0?(A&=d-1,A+=d):A=0,B++,--G[v]==0){if(v===D)break;v=_[m+u[B]]}if(J>>7)]}function X(s,k){s.pending_buf[s.pending++]=255&k,s.pending_buf[s.pending++]=k>>>8&255}function G(s,k,U){s.bi_valid>a-U?(s.bi_buf|=k<>a-s.bi_valid,s.bi_valid+=U-a):(s.bi_buf|=k<>>=1,U<<=1,0<--k;);return U>>>1}function ot(s,k,U){var N,z,Z=new Array(u+1),K=0;for(N=1;N<=u;N++)Z[N]=K=K+U[N-1]<<1;for(z=0;z<=k;z++){var W=s[2*z+1];W!==0&&(s[2*z]=nt(Z[W]++,W))}}function Q(s){var k;for(k=0;k>1;1<=U;U--)it(s,Z,U);for(z=Y;U=s.heap[1],s.heap[1]=s.heap[s.heap_len--],it(s,Z,1),N=s.heap[1],s.heap[--s.heap_max]=U,s.heap[--s.heap_max]=N,Z[2*z]=Z[2*U]+Z[2*N],s.depth[z]=(s.depth[U]>=s.depth[N]?s.depth[U]:s.depth[N])+1,Z[2*U+1]=Z[2*N+1]=z,s.heap[1]=z++,it(s,Z,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(tt,ht){var _t,ft,gt,at,bt,kt,ct=ht.dyn_tree,xt=ht.max_code,At=ht.stat_desc.static_tree,Ct=ht.stat_desc.has_stree,It=ht.stat_desc.extra_bits,St=ht.stat_desc.extra_base,vt=ht.stat_desc.max_length,yt=0;for(at=0;at<=u;at++)tt.bl_count[at]=0;for(ct[2*tt.heap[tt.heap_max]+1]=0,_t=tt.heap_max+1;_t>=7;z>>=1)if(1&rt&&W.dyn_ltree[2*Y]!==0)return o;if(W.dyn_ltree[18]!==0||W.dyn_ltree[20]!==0||W.dyn_ltree[26]!==0)return n;for(Y=32;Y<_;Y++)if(W.dyn_ltree[2*Y]!==0)return n;return o}(s)),ut(s,s.l_desc),ut(s,s.d_desc),K=function(W){var Y;for(t(W,W.dyn_ltree,W.l_desc.max_code),t(W,W.dyn_dtree,W.d_desc.max_code),ut(W,W.bl_desc),Y=c-1;3<=Y&&W.bl_tree[2*M[Y]+1]===0;Y--);return W.opt_len+=3*(Y+1)+5+5+4,Y}(s),z=s.opt_len+3+7>>>3,(Z=s.static_len+3+7>>>3)<=z&&(z=Z)):z=Z=U+5,U+4<=z&&k!==-1?f(s,k,U,N):s.strategy===4||Z===z?(G(s,2+(N?1:0),3),lt(s,V,v)):(G(s,4+(N?1:0),3),function(W,Y,rt,tt){var ht;for(G(W,Y-257,5),G(W,rt-1,5),G(W,tt-4,4),ht=0;ht>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&k,s.pending_buf[s.l_buf+s.last_lit]=255&U,s.last_lit++,k===0?s.dyn_ltree[2*U]++:(s.matches++,k--,s.dyn_ltree[2*(e[U]+_+1)]++,s.dyn_dtree[2*E(k)]++),s.last_lit===s.lit_bufsize-1},w._tr_align=function(s){G(s,2,3),H(s,y,V),function(k){k.bi_valid===16?(X(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(b,T,w){T.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(b,T,w){(function(l){(function(o,n){if(!o.setImmediate){var h,p,g,_,m=1,i={},c=!1,r=o.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(o);u=u&&u.setTimeout?u:o,h={}.toString.call(o.process)==="[object process]"?function(S){process.nextTick(function(){d(S)})}:function(){if(o.postMessage&&!o.importScripts){var S=!0,x=o.onmessage;return o.onmessage=function(){S=!1},o.postMessage("","*"),o.onmessage=x,S}}()?(_="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",y,!1):o.attachEvent("onmessage",y),function(S){o.postMessage(_+S,"*")}):o.MessageChannel?((g=new MessageChannel).port1.onmessage=function(S){d(S.data)},function(S){g.port2.postMessage(S)}):r&&"onreadystatechange"in r.createElement("script")?(p=r.documentElement,function(S){var x=r.createElement("script");x.onreadystatechange=function(){d(S),x.onreadystatechange=null,p.removeChild(x),x=null},p.appendChild(x)}):function(S){setTimeout(d,0,S)},u.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var x=new Array(arguments.length-1),F=0;F"u"?l===void 0?this:l:self)}).call(this,typeof dt<"u"?dt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(zt);const Bt=zt.exports;var Et={exports:{}};(function(pt,mt){(function(b,T){T()})(dt,function(){function b(p,g){return typeof g>"u"?g={autoBom:!1}:typeof g!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),g={autoBom:!g}),g.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(p.type)?new Blob(["\uFEFF",p],{type:p.type}):p}function T(p,g,_){var m=new XMLHttpRequest;m.open("GET",p),m.responseType="blob",m.onload=function(){h(m.response,g,_)},m.onerror=function(){console.error("could not download file")},m.send()}function w(p){var g=new XMLHttpRequest;g.open("HEAD",p,!1);try{g.send()}catch{}return 200<=g.status&&299>=g.status}function l(p){try{p.dispatchEvent(new MouseEvent("click"))}catch{var g=document.createEvent("MouseEvents");g.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),p.dispatchEvent(g)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof dt=="object"&&dt.global===dt?dt:void 0,n=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!n?function(p,g,_){var m=o.URL||o.webkitURL,i=document.createElement("a");g=g||p.name||"download",i.download=g,i.rel="noopener",typeof p=="string"?(i.href=p,i.origin===location.origin?l(i):w(i.href)?T(p,g,_):l(i,i.target="_blank")):(i.href=m.createObjectURL(p),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){l(i)},0))}:"msSaveOrOpenBlob"in navigator?function(p,g,_){if(g=g||p.name||"download",typeof p!="string")navigator.msSaveOrOpenBlob(b(p,_),g);else if(w(p))T(p,g,_);else{var m=document.createElement("a");m.href=p,m.target="_blank",setTimeout(function(){l(m)})}}:function(p,g,_,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof p=="string")return T(p,g,_);var i=p.type==="application/octet-stream",c=/constructor/i.test(o.HTMLElement)||o.safari,r=/CriOS\/[\d]+/.test(navigator.userAgent);if((r||i&&c||n)&&typeof FileReader<"u"){var u=new FileReader;u.onloadend=function(){var y=u.result;y=r?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},u.readAsDataURL(p)}else{var a=o.URL||o.webkitURL,d=a.createObjectURL(p);m?m.location=d:location.href=d,m=null,setTimeout(function(){a.revokeObjectURL(d)},4e4)}});o.saveAs=h.saveAs=h,pt.exports=h})})(Et);const Rt=Et.exports,Tt=pt=>new Promise((mt,b)=>{Ot({method:"get",url:pt,responseType:"blob"}).then(T=>{mt(T.data)}).catch(T=>{b(T.toString())})}),Ut=pt=>{const mt=pt,b=new Bt,T=[];mt.forEach((w,l)=>{const o=Tt(w.fileUrl).then(n=>{const h=l+1+w.fileName;b.file(h,n,{binary:!0})});T.push(o)}),Promise.all(T).then(()=>{b.generateAsync({type:"blob"}).then(w=>{Rt.saveAs(w,"\u9644\u4EF6.zip")})})};export{Ut as D};