8bitworkshop/gen/jszip.min-QZ4ZBVAS.js

15 lines
96 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{c as _t,d as Et}from"./chunk-WAARL7ET.js";var At=Et((xt,yt)=>{(function(b){typeof xt=="object"&&typeof yt!="undefined"?yt.exports=b():typeof define=="function"&&define.amd?define([],b):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).JSZip=b()})(function(){return function b(U,k,l){function o(_,y){if(!k[_]){if(!U[_]){var p=typeof _t=="function"&&_t;if(!y&&p)return p(_,!0);if(n)return n(_,!0);var g=new Error("Cannot find module '"+_+"'");throw g.code="MODULE_NOT_FOUND",g}var i=k[_]={exports:{}};U[_][0].call(i.exports,function(c){var e=U[_][1][c];return o(e||c)},i,i.exports,b,U,k,l)}return k[_].exports}for(var n=typeof _t=="function"&&_t,h=0;h<l.length;h++)o(l[h]);return o}({1:[function(b,U,k){"use strict";var l=b("./utils"),o=b("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";k.encode=function(h){for(var _,y,p,g,i,c,e,u=[],s=0,d=h.length,v=d,S=l.getTypeOf(h)!=="string";s<h.length;)v=d-s,p=S?(_=h[s++],y=s<d?h[s++]:0,s<d?h[s++]:0):(_=h.charCodeAt(s++),y=s<d?h.charCodeAt(s++):0,s<d?h.charCodeAt(s++):0),g=_>>2,i=(3&_)<<4|y>>4,c=1<v?(15&y)<<2|p>>6:64,e=2<v?63&p:64,u.push(n.charAt(g)+n.charAt(i)+n.charAt(c)+n.charAt(e));return u.join("")},k.decode=function(h){var _,y,p,g,i,c,e=0,u=0,s="data:";if(h.substr(0,s.length)===s)throw new Error("Invalid base64 input, it looks like a data url.");var d,v=3*(h=h.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(h.charAt(h.length-1)===n.charAt(64)&&v--,h.charAt(h.length-2)===n.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=o.uint8array?new Uint8Array(0|v):new Array(0|v);e<h.length;)_=n.indexOf(h.charAt(e++))<<2|(g=n.indexOf(h.charAt(e++)))>>4,y=(15&g)<<4|(i=n.indexOf(h.charAt(e++)))>>2,p=(3&i)<<6|(c=n.indexOf(h.charAt(e++))),d[u++]=_,i!==64&&(d[u++]=y),c!==64&&(d[u++]=p);return d}},{"./support":30,"./utils":32}],2:[function(b,U,k){"use strict";var l=b("./external"),o=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),h=b("./stream/DataLengthProbe");function _(y,p,g,i,c){this.compressedSize=y,this.uncompressedSize=p,this.crc32=g,this.compression=i,this.compressedContent=c}_.prototype={getContentWorker:function(){var y=new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),p=this;return y.on("end",function(){if(this.streamInfo.data_length!==p.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},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)}},_.createWorkerFrom=function(y,p,g){return y.pipe(new n).pipe(new h("uncompressedSize")).pipe(p.compressWorker(g)).pipe(new h("compressedSize")).withStreamInfo("compression",p)},U.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,U,k){"use strict";var l=b("./stream/GenericWorker");k.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},k.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,U,k){"use strict";var l=b("./utils"),o=function(){for(var n,h=[],_=0;_<256;_++){n=_;for(var y=0;y<8;y++)n=1&n?3988292384^n>>>1:n>>>1;h[_]=n}return h}();U.exports=function(n,h){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?function(_,y,p,g){var i=o,c=g+p;_^=-1;for(var e=g;e<c;e++)_=_>>>8^i[255&(_^y[e])];return-1^_}(0|h,n,n.length,0):function(_,y,p,g){var i=o,c=g+p;_^=-1;for(var e=g;e<c;e++)_=_>>>8^i[255&(_^y.charCodeAt(e))];return-1^_}(0|h,n,n.length,0):0}},{"./utils":32}],5:[function(b,U,k){"use strict";k.base64=!1,k.binary=!1,k.dir=!1,k.createFolders=!0,k.date=null,k.compression=null,k.compressionOptions=null,k.comment=null,k.unixPermissions=null,k.dosPermissions=null},{}],6:[function(b,U,k){"use strict";var l=null;l=typeof Promise!="undefined"?Promise:b("lie"),U.exports={Promise:l}},{lie:37}],7:[function(b,U,k){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",o=b("pako"),n=b("./utils"),h=b("./stream/GenericWorker"),_=l?"uint8array":"array";function y(p,g){h.call(this,"FlateWorker/"+p),this._pako=null,this._pakoAction=p,this._pakoOptions=g,this.meta={}}k.magic="\b\0",n.inherits(y,h),y.prototype.processChunk=function(p){this.meta=p.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(_,p.data),!1)},y.prototype.flush=function(){h.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var p=this;this._pako.onData=function(g){p.push({data:g,meta:p.meta})}},k.compressWorker=function(p){return new y("Deflate",p)},k.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,U,k){"use strict";function l(i,c){var e,u="";for(e=0;e<c;e++)u+=String.fromCharCode(255&i),i>>>=8;return u}function o(i,c,e,u,s,d){var v,S,x=i.file,D=i.compression,O=d!==_.utf8encode,L=n.transformTo("string",d(x.name)),I=n.transformTo("string",_.utf8encode(x.name)),M=x.comment,V=n.transformTo("string",d(M)),m=n.transformTo("string",_.utf8encode(M)),B=I.length!==x.name.length,r=m.length!==M.length,T="",J="",P="",$=x.dir,j=x.date,q={crc32:0,compressedSize:0,uncompressedSize:0};c&&!e||(q.crc32=i.crc32,q.compressedSize=i.compressedSize,q.uncompressedSize=i.uncompressedSize);var E=0;c&&(E|=8),O||!B&&!r||(E|=2048);var C=0,X=0;$&&(C|=16),s==="UNIX"?(X=798,C|=function(H,nt){var ot=H;return H||(ot=nt?16893:33204),(65535&ot)<<16}(x.unixPermissions,$)):(X=20,C|=function(H){return 63&(H||0)}(x.dosPermissions)),v=j.getUTCHours(),v<<=6,v|=j.getUTCMinutes(),v<<=5,v|=j.getUTCSeconds()/2,S=j.getUTCFullYear()-1980,S<<=4,S|=j.getUTCMonth()+1,S<<=5,S|=j.getUTCDate(),B&&(J=l(1,1)+l(y(L),4)+I,T+="up"+l(J.length,2)+J),r&&(P=l(1,1)+l(y(V),4)+m,T+="uc"+l(P.length,2)+P);var G="";return G+=`
\0`,G+=l(E,2),G+=D.magic,G+=l(v,2),G+=l(S,2),G+=l(q.crc32,4),G+=l(q.compressedSize,4),G+=l(q.uncompressedSize,4),G+=l(L.length,2),G+=l(T.length,2),{fileRecord:p.LOCAL_FILE_HEADER+G+L+T,dirRecord:p.CENTRAL_FILE_HEADER+l(X,2)+G+l(V.length,2)+"\0\0\0\0"+l(C,4)+l(u,4)+L+T+V}}var n=b("../utils"),h=b("../stream/GenericWorker"),_=b("../utf8"),y=b("../crc32"),p=b("../signature");function g(i,c,e,u){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=c,this.zipPlatform=e,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(g,h),g.prototype.push=function(i){var c=i.meta.percent||0,e=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:e?(c+100*(e-u-1))/e:100}}))},g.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var c=this.streamFiles&&!i.file.dir;if(c){var e=o(i,c,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:e.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(i){this.accumulate=!1;var c=this.streamFiles&&!i.file.dir,e=o(i,c,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),c)this.push({data:function(u){return p.DATA_DESCRIPTOR+l(u.crc32,4)+l(u.compressedSize,4)+l(u.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var i=this.bytesWritten,c=0;c<this.dirRecords.length;c++)this.push({data:this.dirRecords[c],meta:{percent:100}});var e=this.bytesWritten-i,u=function(s,d,v,S,x){var D=n.transformTo("string",x(S));return p.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(s,2)+l(s,2)+l(d,4)+l(v,4)+l(D.length,2)+D}(this.dirRecords.length,e,i,this.zipComment,this.encodeFileName);this.push({data:u,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(i){this._sources.push(i);var c=this;return i.on("data",function(e){c.processChunk(e)}),i.on("end",function(){c.closedSource(c.previous.streamInfo),c._sources.length?c.prepareNextSource():c.end()}),i.on("error",function(e){c.error(e)}),this},g.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(i){var c=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var e=0;e<c.length;e++)try{c[e].error(i)}catch(u){}return!0},g.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,c=0;c<i.length;c++)i[c].lock()},U.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,U,k){"use strict";var l=b("../compressions"),o=b("./ZipFileWorker");k.generateWorker=function(n,h,_){var y=new o(h.streamFiles,_,h.platform,h.encodeFileName),p=0;try{n.forEach(function(g,i){p++;var c=function(d,v){var S=d||v,x=l[S];if(!x)throw new Error(S+" is not a valid compression method !");return x}(i.options.compression,h.compression),e=i.options.compressionOptions||h.compressionOptions||{},u=i.dir,s=i.date;i._compressWorker(c,e).withStreamInfo("file",{name:g,dir:u,date:s,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(y)}),y.entriesCount=p}catch(g){y.error(g)}return y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,U,k){"use strict";function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new l;for(var n in this)typeof this[n]!="function"&&(o[n]=this[n]);return o}}(l.prototype=b("./object")).loadAsync=b("./load"),l.support=b("./support"),l.defaults=b("./defaults"),l.version="3.10.1",l.loadAsync=function(o,n){return new l().loadAsync(o,n)},l.external=b("./external"),U.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,U,k){"use strict";var l=b("./utils"),o=b("./external"),n=b("./utf8"),h=b("./zipEntries"),_=b("./stream/Crc32Probe"),y=b("./nodejsUtils");function p(g){return new o.Promise(function(i,c){var e=g.decompressed.getContentWorker().pipe(new _);e.on("error",function(u){c(u)}).on("end",function(){e.streamInfo.crc32!==g.decompressed.crc32?c(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}U.exports=function(g,i){var c=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),y.isNode&&y.isStream(g)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",g,!0,i.optimizedBinaryString,i.base64).then(function(e){var u=new h(i);return u.load(e),u}).then(function(e){var u=[o.Promise.resolve(e)],s=e.files;if(i.checkCRC32)for(var d=0;d<s.length;d++)u.push(p(s[d]));return o.Promise.all(u)}).then(function(e){for(var u=e.shift(),s=u.files,d=0;d<s.length;d++){var v=s[d],S=v.fileNameStr,x=l.resolve(v.fileNameStr);c.file(x,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:i.createFolders}),v.dir||(c.file(x).unsafeOriginalName=S)}return u.zipComment.length&&(c.comment=u.zipComment),c})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,U,k){"use strict";var l=b("../utils"),o=b("../stream/GenericWorker");function n(h,_){o.call(this,"Nodejs stream input adapter for "+h),this._upstreamEnded=!1,this._bindStream(_)}l.inherits(n,o),n.prototype._bindStream=function(h){var _=this;(this._stream=h).pause(),h.on("data",function(y){_.push({data:y,meta:{percent:0}})}).on("error",function(y){_.isPaused?this.generatedError=y:_.error(y)}).on("end",function(){_.isPaused?_._upstreamEnded=!0:_.end()})},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,U,k){"use strict";var l=b("readable-stream").Readable;function o(n,h,_){l.call(this,h),this._helper=n;var y=this;n.on("data",function(p,g){y.push(p)||y._helper.pause(),_&&_(g)}).on("error",function(p){y.emit("error",p)}).on("end",function(){y.push(null)})}b("../utils").inherits(o,l),o.prototype._read=function(){this._helper.resume()},U.exports=o},{"../utils":32,"readable-stream":16}],14:[function(b,U,k){"use strict";U.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(l,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,o);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,o)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var o=new Buffer(l);return o.fill(0),o},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(b,U,k){"use strict";function l(x,D,O){var L,I=n.getTypeOf(D),M=n.extend(O||{},y);M.date=M.date||new Date,M.compression!==null&&(M.compression=M.compression.toUpperCase()),typeof M.unixPermissions=="string"&&(M.unixPermissions=parseInt(M.unixPermissions,8)),M.unixPermissions&&16384&M.unixPermissions&&(M.dir=!0),M.dosPermissions&&16&M.dosPermissions&&(M.dir=!0),M.dir&&(x=s(x)),M.createFolders&&(L=u(x))&&d.call(this,L,!0);var V=I==="string"&&M.binary===!1&&M.base64===!1;O&&O.binary!==void 0||(M.binary=!V),(D instanceof p&&D.uncompressedSize===0||M.dir||!D||D.length===0)&&(M.base64=!1,M.binary=!0,D="",M.compression="STORE",I="string");var m=null;m=D instanceof p||D instanceof h?D:c.isNode&&c.isStream(D)?new e(x,D):n.prepareContent(x,D,M.binary,M.optimizedBinaryString,M.base64);var B=new g(x,m,M);this.files[x]=B}var o=b("./utf8"),n=b("./utils"),h=b("./stream/GenericWorker"),_=b("./stream/StreamHelper"),y=b("./defaults"),p=b("./compressedObject"),g=b("./zipObject"),i=b("./generate"),c=b("./nodejsUtils"),e=b("./nodejs/NodejsStreamInputAdapter"),u=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var D=x.lastIndexOf("/");return 0<D?x.substring(0,D):""},s=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},d=function(x,D){return D=D!==void 0?D:y.createFolders,x=s(x),this.files[x]||l.call(this,x,null,{dir:!0,createFolders:D}),this.files[x]};function v(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var D,O,L;for(D in this.files)L=this.files[D],(O=D.slice(this.root.length,D.length))&&D.slice(0,this.root.length)===this.root&&x(O,L)},filter:function(x){var D=[];return this.forEach(function(O,L){x(O,L)&&D.push(L)}),D},file:function(x,D,O){if(arguments.length!==1)return x=this.root+x,l.call(this,x,D,O),this;if(v(x)){var L=x;return this.filter(function(M,V){return!V.dir&&L.test(M)})}var I=this.files[this.root+x];return I&&!I.dir?I:null},folder:function(x){if(!x)return this;if(v(x))return this.filter(function(I,M){return M.dir&&x.test(I)});var D=this.root+x,O=d.call(this,D),L=this.clone();return L.root=O.name,L},remove:function(x){x=this.root+x;var D=this.files[x];if(D||(x.slice(-1)!=="/"&&(x+="/"),D=this.files[x]),D&&!D.dir)delete this.files[x];else for(var O=this.filter(function(I,M){return M.name.slice(0,x.length)===x}),L=0;L<O.length;L++)delete this.files[O[L].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var D,O={};try{if((O=n.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");n.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var L=O.comment||this.comment||"";D=i.generateWorker(this,O,L)}catch(I){(D=new h("error")).error(I)}return new _(D,O.type||"string",O.mimeType)},generateAsync:function(x,D){return this.generateInternalStream(x).accumulate(D)},generateNodeStream:function(x,D){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(D)}};U.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(b,U,k){"use strict";U.exports=b("stream")},{stream:void 0}],17:[function(b,U,k){"use strict";var l=b("./DataReader");function o(n){l.call(this,n);for(var h=0;h<this.data.length;h++)n[h]=255&n[h]}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data[this.zero+n]},o.prototype.lastIndexOfSignature=function(n){for(var h=n.charCodeAt(0),_=n.charCodeAt(1),y=n.charCodeAt(2),p=n.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===h&&this.data[g+1]===_&&this.data[g+2]===y&&this.data[g+3]===p)return g-this.zero;return-1},o.prototype.readAndCheckSignature=function(n){var h=n.charCodeAt(0),_=n.charCodeAt(1),y=n.charCodeAt(2),p=n.charCodeAt(3),g=this.readData(4);return h===g[0]&&_===g[1]&&y===g[2]&&p===g[3]},o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},U.exports=o},{"../utils":32,"./DataReader":18}],18:[function(b,U,k){"use strict";var l=b("../utils");function o(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var h,_=0;for(this.checkOffset(n),h=this.index+n-1;h>=this.index;h--)_=(_<<8)+this.byteAt(h);return this.index+=n,_},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))}},U.exports=o},{"../utils":32}],19:[function(b,U,k){"use strict";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},U.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,U,k){"use strict";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},U.exports=o},{"../utils":32,"./DataReader":18}],21:[function(b,U,k){"use strict";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},U.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(b,U,k){"use strict";var l=b("../utils"),o=b("../support"),n=b("./ArrayReader"),h=b("./StringReader"),_=b("./NodeBufferReader"),y=b("./Uint8ArrayReader");U.exports=function(p){var g=l.getTypeOf(p);return l.checkSupport(g),g!=="string"||o.uint8array?g==="nodebuffer"?new _(p):o.uint8array?new y(l.transformTo("uint8array",p)):new n(l.transformTo("array",p)):new h(p)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,U,k){"use strict";k.LOCAL_FILE_HEADER="PK",k.CENTRAL_FILE_HEADER="PK",k.CENTRAL_DIRECTORY_END="PK",k.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",k.ZIP64_CENTRAL_DIRECTORY_END="PK",k.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,U,k){"use strict";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})},U.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(b,U,k){"use strict";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)},U.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,U,k){"use strict";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 _=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=_+h.data.length}o.prototype.processChunk.call(this,h)},U.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(b,U,k){"use strict";var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataWorker");var _=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(y){_.dataIsReady=!0,_.data=y,_.max=y&&y.length||0,_.type=l.getTypeOf(y),_.isPaused||_._tickAndRepeat()},function(y){_.error(y)})}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,_=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,_);break;case"uint8array":h=this.data.subarray(this.index,_);break;case"array":case"nodebuffer":h=this.data.slice(this.index,_)}return this.index=_,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(b,U,k){"use strict";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<this._listeners[o].length;h++)this._listeners[o][h].call(this,n)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var n=this;return o.on("data",function(h){n.processChunk(h)}),o.on("end",function(){n.end()}),o.on("error",function(h){n.error(h)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,n){return this.extraStreamInfo[o]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},U.exports=l},{}],29:[function(b,U,k){"use strict";var l=b("../utils"),o=b("./ConvertWorker"),n=b("./GenericWorker"),h=b("../base64"),_=b("../support"),y=b("../external"),p=null;if(_.nodestream)try{p=b("../nodejs/NodejsStreamOutputAdapter")}catch(c){}function g(c,e){return new y.Promise(function(u,s){var d=[],v=c._internalType,S=c._outputType,x=c._mimeType;c.on("data",function(D,O){d.push(D),e&&e(O)}).on("error",function(D){d=[],s(D)}).on("end",function(){try{var D=function(O,L,I){switch(O){case"blob":return l.newBlob(l.transformTo("arraybuffer",L),I);case"base64":return h.encode(L);default:return l.transformTo(O,L)}}(S,function(O,L){var I,M=0,V=null,m=0;for(I=0;I<L.length;I++)m+=L[I].length;switch(O){case"string":return L.join("");case"array":return Array.prototype.concat.apply([],L);case"uint8array":for(V=new Uint8Array(m),I=0;I<L.length;I++)V.set(L[I],M),M+=L[I].length;return V;case"nodebuffer":return Buffer.concat(L);default:throw new Error("concat : unsupported type '"+O+"'")}}(v,d),x);u(D)}catch(O){s(O)}d=[]}).resume()})}function i(c,e,u){var s=e;switch(e){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=e,this._mimeType=u,l.checkSupport(s),this._worker=c.pipe(new o(s)),c.lock()}catch(d){this._worker=new n("error"),this._worker.error(d)}}i.prototype={accumulate:function(c){return g(this,c)},on:function(c,e){var u=this;return c==="data"?this._worker.on(c,function(s){e.call(u,s.data,s.meta)}):this._worker.on(c,function(){l.delay(e,arguments,u)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(c){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new p(this,{objectMode:this._outputType!=="nodebuffer"},c)}},U.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,U,k){"use strict";if(k.base64=!0,k.array=!0,k.string=!0,k.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",k.nodebuffer=typeof Buffer!="undefined",k.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")k.blob=!1;else{var l=new ArrayBuffer(0);try{k.blob=new Blob([l],{type:"application/zip"}).size===0}catch(n){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(l),k.blob=o.getBlob("application/zip").size===0}catch(h){k.blob=!1}}}try{k.nodestream=!!b("readable-stream").Readable}catch(n){k.nodestream=!1}},{"readable-stream":16}],31:[function(b,U,k){"use strict";for(var l=b("./utils"),o=b("./support"),n=b("./nodejsUtils"),h=b("./stream/GenericWorker"),_=new Array(256),y=0;y<256;y++)_[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;_[254]=_[254]=1;function p(){h.call(this,"utf-8 decode"),this.leftOver=null}function g(){h.call(this,"utf-8 encode")}k.utf8encode=function(i){return o.nodebuffer?n.newBufferFrom(i,"utf-8"):function(c){var e,u,s,d,v,S=c.length,x=0;for(d=0;d<S;d++)(64512&(u=c.charCodeAt(d)))==55296&&d+1<S&&(64512&(s=c.charCodeAt(d+1)))==56320&&(u=65536+(u-55296<<10)+(s-56320),d++),x+=u<128?1:u<2048?2:u<65536?3:4;for(e=o.uint8array?new Uint8Array(x):new Array(x),d=v=0;v<x;d++)(64512&(u=c.charCodeAt(d)))==55296&&d+1<S&&(64512&(s=c.charCodeAt(d+1)))==56320&&(u=65536+(u-55296<<10)+(s-56320),d++),u<128?e[v++]=u:(u<2048?e[v++]=192|u>>>6:(u<65536?e[v++]=224|u>>>12:(e[v++]=240|u>>>18,e[v++]=128|u>>>12&63),e[v++]=128|u>>>6&63),e[v++]=128|63&u);return e}(i)},k.utf8decode=function(i){return o.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(c){var e,u,s,d,v=c.length,S=new Array(2*v);for(e=u=0;e<v;)if((s=c[e++])<128)S[u++]=s;else if(4<(d=_[s]))S[u++]=65533,e+=d-1;else{for(s&=d===2?31:d===3?15:7;1<d&&e<v;)s=s<<6|63&c[e++],d--;1<d?S[u++]=65533:s<65536?S[u++]=s:(s-=65536,S[u++]=55296|s>>10&1023,S[u++]=56320|1023&s)}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(p,h),p.prototype.processChunk=function(i){var c=l.transformTo(o.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var e=c;(c=new Uint8Array(e.length+this.leftOver.length)).set(this.leftOver,0),c.set(e,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var u=function(d,v){var S;for((v=v||d.length)>d.length&&(v=d.length),S=v-1;0<=S&&(192&d[S])==128;)S--;return S<0||S===0?v:S+_[d[S]]>v?S:v}(c),s=c;u!==c.length&&(o.uint8array?(s=c.subarray(0,u),this.leftOver=c.subarray(u,c.length)):(s=c.slice(0,u),this.leftOver=c.slice(u,c.length))),this.push({data:k.utf8decode(s),meta:i.meta})},p.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:k.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},k.Utf8DecodeWorker=p,l.inherits(g,h),g.prototype.processChunk=function(i){this.push({data:k.utf8encode(i.data),meta:i.meta})},k.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,U,k){"use strict";var l=b("./support"),o=b("./base64"),n=b("./nodejsUtils"),h=b("./external");function _(e){return e}function y(e,u){for(var s=0;s<e.length;++s)u[s]=255&e.charCodeAt(s);return u}b("setimmediate"),k.newBlob=function(e,u){k.checkSupport("blob");try{return new Blob([e],{type:u})}catch(d){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(e),s.getBlob(u)}catch(v){throw new Error("Bug : can't construct the Blob.")}}};var p={stringifyByChunk:function(e,u,s){var d=[],v=0,S=e.length;if(S<=s)return String.fromCharCode.apply(null,e);for(;v<S;)u==="array"||u==="nodebuffer"?d.push(String.fromCharCode.apply(null,e.slice(v,Math.min(v+s,S)))):d.push(String.fromCharCode.apply(null,e.subarray(v,Math.min(v+s,S)))),v+=s;return d.join("")},stringifyByChar:function(e){for(var u="",s=0;s<e.length;s++)u+=String.fromCharCode(e[s]);return u},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(e){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch(e){return!1}}()}};function g(e){var u=65536,s=k.getTypeOf(e),d=!0;if(s==="uint8array"?d=p.applyCanBeUsed.uint8array:s==="nodebuffer"&&(d=p.applyCanBeUsed.nodebuffer),d)for(;1<u;)try{return p.stringifyByChunk(e,s,u)}catch(v){u=Math.floor(u/2)}return p.stringifyByChar(e)}function i(e,u){for(var s=0;s<e.length;s++)u[s]=e[s];return u}k.applyFromCharCode=g;var c={};c.string={string:_,array:function(e){return y(e,new Array(e.length))},arraybuffer:function(e){return c.string.uint8array(e).buffer},uint8array:function(e){return y(e,new Uint8Array(e.length))},nodebuffer:function(e){return y(e,n.allocBuffer(e.length))}},c.array={string:g,array:_,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},c.arraybuffer={string:function(e){return g(new Uint8Array(e))},array:function(e){return i(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:_,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},c.uint8array={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:_,nodebuffer:function(e){return n.newBufferFrom(e)}},c.nodebuffer={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return c.nodebuffer.uint8array(e).buffer},uint8array:function(e){return i(e,new Uint8Array(e.length))},nodebuffer:_},k.transformTo=function(e,u){if(u=u||"",!e)return u;k.checkSupport(e);var s=k.getTypeOf(u);return c[s][e](u)},k.resolve=function(e){for(var u=e.split("/"),s=[],d=0;d<u.length;d++){var v=u[d];v==="."||v===""&&d!==0&&d!==u.length-1||(v===".."?s.pop():s.push(v))}return s.join("/")},k.getTypeOf=function(e){return typeof e=="string"?"string":Object.prototype.toString.call(e)==="[object Array]"?"array":l.nodebuffer&&n.isBuffer(e)?"nodebuffer":l.uint8array&&e instanceof Uint8Array?"uint8array":l.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},k.checkSupport=function(e){if(!l[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},k.MAX_VALUE_16BITS=65535,k.MAX_VALUE_32BITS=-1,k.pretty=function(e){var u,s,d="";for(s=0;s<(e||"").length;s++)d+="\\x"+((u=e.charCodeAt(s))<16?"0":"")+u.toString(16).toUpperCase();return d},k.delay=function(e,u,s){setImmediate(function(){e.apply(s||null,u||[])})},k.inherits=function(e,u){function s(){}s.prototype=u.prototype,e.prototype=new s},k.extend=function(){var e,u,s={};for(e=0;e<arguments.length;e++)for(u in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],u)&&s[u]===void 0&&(s[u]=arguments[e][u]);return s},k.prepareContent=function(e,u,s,d,v){return h.Promise.resolve(u).then(function(S){return l.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader!="undefined"?new h.Promise(function(x,D){var O=new FileReader;O.onload=function(L){x(L.target.result)},O.onerror=function(L){D(L.target.error)},O.readAsArrayBuffer(S)}):S}).then(function(S){var x=k.getTypeOf(S);return x?(x==="arraybuffer"?S=k.transformTo("uint8array",S):x==="string"&&(v?S=o.decode(S):s&&d!==!0&&(S=function(D){return y(D,l.uint8array?new Uint8Array(D.length):new Array(D.length))}(S))),S):h.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,U,k){"use strict";var l=b("./reader/readerFor"),o=b("./utils"),n=b("./signature"),h=b("./zipEntry"),_=b("./support");function y(p){this.files=[],this.loadOptions=p}y.prototype={checkSignature:function(p){if(!this.reader.readAndCheckSignature(p)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(g)+", expected "+o.pretty(p)+")")}},isSignature:function(p,g){var i=this.reader.index;this.reader.setIndex(p);var c=this.reader.readString(4)===g;return this.reader.setIndex(i),c},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 p=this.reader.readData(this.zipCommentLength),g=_.uint8array?"uint8array":"array",i=o.transformTo(g,p);this.zipComment=this.loadOptions.decodeFileName(i)},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 p,g,i,c=this.zip64EndOfCentralSize-44;0<c;)p=this.reader.readInt(2),g=this.reader.readInt(4),i=this.reader.readData(g),this.zip64ExtensibleData[p]={id:p,length:g,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var p,g;for(p=0;p<this.files.length;p++)g=this.files[p],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var p;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(p=new h({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(p);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 p=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(p<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(p);var g=p;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(p=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(p),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.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(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var c=g-i;if(0<c)this.isSignature(g,n.CENTRAL_FILE_HEADER)||(this.reader.zero=c);else if(c<0)throw new Error("Corrupted zip: missing "+Math.abs(c)+" bytes.")},prepareReader:function(p){this.reader=l(p)},load:function(p){this.prepareReader(p),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=y},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(b,U,k){"use strict";var l=b("./reader/readerFor"),o=b("./utils"),n=b("./compressedObject"),h=b("./crc32"),_=b("./utf8"),y=b("./compressions"),p=b("./support");function g(i,c){this.options=i,this.loadOptions=c}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var c,e;if(i.skip(22),this.fileNameLength=i.readInt(2),e=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(e),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((c=function(u){for(var s in y)if(Object.prototype.hasOwnProperty.call(y,s)&&y[s].magic===u)return y[s];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,c,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var c=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(c),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>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,e,u,s=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<s;)c=i.readInt(2),e=i.readInt(2),u=i.readData(e),this.extraFields[c]={id:c,length:e,value:u};i.setIndex(s)},handleUTF8:function(){var i=p.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=_.utf8decode(this.fileName),this.fileCommentStr=_.utf8decode(this.fileComment);else{var c=this.findExtraFieldUnicodePath();if(c!==null)this.fileNameStr=c;else{var e=o.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(e)}var u=this.findExtraFieldUnicodeComment();if(u!==null)this.fileCommentStr=u;else{var s=o.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var c=l(i.value);return c.readInt(1)!==1||h(this.fileName)!==c.readInt(4)?null:_.utf8decode(c.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var c=l(i.value);return c.readInt(1)!==1||h(this.fileComment)!==c.readInt(4)?null:_.utf8decode(c.readData(i.length-5))}return null}},U.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,U,k){"use strict";function l(c,e,u){this.name=c,this.dir=u.dir,this.date=u.date,this.comment=u.comment,this.unixPermissions=u.unixPermissions,this.dosPermissions=u.dosPermissions,this._data=e,this._dataBinary=u.binary,this.options={compression:u.compression,compressionOptions:u.compressionOptions}}var o=b("./stream/StreamHelper"),n=b("./stream/DataWorker"),h=b("./utf8"),_=b("./compressedObject"),y=b("./stream/GenericWorker");l.prototype={internalStream:function(c){var e=null,u="string";try{if(!c)throw new Error("No output type specified.");var s=(u=c.toLowerCase())==="string"||u==="text";u!=="binarystring"&&u!=="text"||(u="string"),e=this._decompressWorker();var d=!this._dataBinary;d&&!s&&(e=e.pipe(new h.Utf8EncodeWorker)),!d&&s&&(e=e.pipe(new h.Utf8DecodeWorker))}catch(v){(e=new y("error")).error(v)}return new o(e,u,"")},async:function(c,e){return this.internalStream(c).accumulate(e)},nodeStream:function(c,e){return this.internalStream(c||"nodebuffer").toNodejsStream(e)},_compressWorker:function(c,e){if(this._data instanceof _&&this._data.compression.magic===c.magic)return this._data.getCompressedWorker();var u=this._decompressWorker();return this._dataBinary||(u=u.pipe(new h.Utf8EncodeWorker)),_.createWorkerFrom(u,c,e)},_decompressWorker:function(){return this._data instanceof _?this._data.getContentWorker():this._data instanceof y?this._data:new n(this._data)}};for(var p=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<p.length;i++)l.prototype[p[i]]=g;U.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,U,k){(function(l){"use strict";var o,n,h=l.MutationObserver||l.WebKitMutationObserver;if(h){var _=0,y=new h(c),p=l.document.createTextNode("");y.observe(p,{characterData:!0}),o=function(){p.data=_=++_%2}}else if(l.setImmediate||l.MessageChannel===void 0)o="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var e=l.document.createElement("script");e.onreadystatechange=function(){c(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},l.document.documentElement.appendChild(e)}:function(){setTimeout(c,0)};else{var g=new l.MessageChannel;g.port1.onmessage=c,o=function(){g.port2.postMessage(0)}}var i=[];function c(){var e,u;n=!0;for(var s=i.length;s;){for(u=i,i=[],e=-1;++e<s;)u[e]();s=i.length}n=!1}U.exports=function(e){i.push(e)!==1||n||o()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(b,U,k){"use strict";var l=b("immediate");function o(){}var n={},h=["REJECTED"],_=["FULFILLED"],y=["PENDING"];function p(s){if(typeof s!="function")throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,s!==o&&e(this,s)}function g(s,d,v){this.promise=s,typeof d=="function"&&(this.onFulfilled=d,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function i(s,d,v){l(function(){var S;try{S=d(v)}catch(x){return n.reject(s,x)}S===s?n.reject(s,new TypeError("Cannot resolve promise with itself")):n.resolve(s,S)})}function c(s){var d=s&&s.then;if(s&&(typeof s=="object"||typeof s=="function")&&typeof d=="function")return function(){d.apply(s,arguments)}}function e(s,d){var v=!1;function S(O){v||(v=!0,n.reject(s,O))}function x(O){v||(v=!0,n.resolve(s,O))}var D=u(function(){d(x,S)});D.status==="error"&&S(D.value)}function u(s,d){var v={};try{v.value=s(d),v.status="success"}catch(S){v.status="error",v.value=S}return v}(U.exports=p).prototype.finally=function(s){if(typeof s!="function")return this;var d=this.constructor;return this.then(function(v){return d.resolve(s()).then(function(){return v})},function(v){return d.resolve(s()).then(function(){throw v})})},p.prototype.catch=function(s){return this.then(null,s)},p.prototype.then=function(s,d){if(typeof s!="function"&&this.state===_||typeof d!="function"&&this.state===h)return this;var v=new this.constructor(o);return this.state!==y?i(v,this.state===_?s:d,this.outcome):this.queue.push(new g(v,s,d)),v},g.prototype.callFulfilled=function(s){n.resolve(this.promise,s)},g.prototype.otherCallFulfilled=function(s){i(this.promise,this.onFulfilled,s)},g.prototype.callRejected=function(s){n.reject(this.promise,s)},g.prototype.otherCallRejected=function(s){i(this.promise,this.onRejected,s)},n.resolve=function(s,d){var v=u(c,d);if(v.status==="error")return n.reject(s,v.value);var S=v.value;if(S)e(s,S);else{s.state=_,s.outcome=d;for(var x=-1,D=s.queue.length;++x<D;)s.queue[x].callFulfilled(d)}return s},n.reject=function(s,d){s.state=h,s.outcome=d;for(var v=-1,S=s.queue.length;++v<S;)s.queue[v].callRejected(d);return s},p.resolve=function(s){return s instanceof this?s:n.resolve(new this(o),s)},p.reject=function(s){var d=new this(o);return n.reject(d,s)},p.all=function(s){var d=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=s.length,S=!1;if(!v)return this.resolve([]);for(var x=new Array(v),D=0,O=-1,L=new this(o);++O<v;)I(s[O],O);return L;function I(M,V){d.resolve(M).then(function(m){x[V]=m,++D!==v||S||(S=!0,n.resolve(L,x))},function(m){S||(S=!0,n.reject(L,m))})}},p.race=function(s){var d=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=s.length,S=!1;if(!v)return this.resolve([]);for(var x=-1,D=new this(o);++x<v;)O=s[x],d.resolve(O).then(function(L){S||(S=!0,n.resolve(D,L))},function(L){S||(S=!0,n.reject(D,L))});var O;return D}},{immediate:36}],38:[function(b,U,k){"use strict";var l={};(0,b("./lib/utils/common").assign)(l,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),U.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,U,k){"use strict";var l=b("./zlib/deflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/messages"),_=b("./zlib/zstream"),y=Object.prototype.toString,p=0,g=-1,i=0,c=8;function e(s){if(!(this instanceof e))return new e(s);this.options=o.assign({level:g,method:c,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},s||{});var d=this.options;d.raw&&0<d.windowBits?d.windowBits=-d.windowBits:d.gzip&&0<d.windowBits&&d.windowBits<16&&(d.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var v=l.deflateInit2(this.strm,d.level,d.method,d.windowBits,d.memLevel,d.strategy);if(v!==p)throw new Error(h[v]);if(d.header&&l.deflateSetHeader(this.strm,d.header),d.dictionary){var S;if(S=typeof d.dictionary=="string"?n.string2buf(d.dictionary):y.call(d.dictionary)==="[object ArrayBuffer]"?new Uint8Array(d.dictionary):d.dictionary,(v=l.deflateSetDictionary(this.strm,S))!==p)throw new Error(h[v]);this._dict_set=!0}}function u(s,d){var v=new e(d);if(v.push(s,!0),v.err)throw v.msg||h[v.err];return v.result}e.prototype.push=function(s,d){var v,S,x=this.strm,D=this.options.chunkSize;if(this.ended)return!1;S=d===~~d?d:d===!0?4:0,typeof s=="string"?x.input=n.string2buf(s):y.call(s)==="[object ArrayBuffer]"?x.input=new Uint8Array(s):x.input=s,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new o.Buf8(D),x.next_out=0,x.avail_out=D),(v=l.deflate(x,S))!==1&&v!==p)return this.onEnd(v),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(o.shrinkBuf(x.output,x.next_out))):this.onData(o.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&v!==1);return S===4?(v=l.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===p):S!==2||(this.onEnd(p),!(x.avail_out=0))},e.prototype.onData=function(s){this.chunks.push(s)},e.prototype.onEnd=function(s){s===p&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg},k.Deflate=e,k.deflate=u,k.deflateRaw=function(s,d){return(d=d||{}).raw=!0,u(s,d)},k.gzip=function(s,d){return(d=d||{}).gzip=!0,u(s,d)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,U,k){"use strict";var l=b("./zlib/inflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/constants"),_=b("./zlib/messages"),y=b("./zlib/zstream"),p=b("./zlib/gzheader"),g=Object.prototype.toString;function i(e){if(!(this instanceof i))return new i(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var u=this.options;u.raw&&0<=u.windowBits&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),!(0<=u.windowBits&&u.windowBits<16)||e&&e.windowBits||(u.windowBits+=32),15<u.windowBits&&u.windowBits<48&&(15&u.windowBits)==0&&(u.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var s=l.inflateInit2(this.strm,u.windowBits);if(s!==h.Z_OK)throw new Error(_[s]);this.header=new p,l.inflateGetHeader(this.strm,this.header)}function c(e,u){var s=new i(u);if(s.push(e,!0),s.err)throw s.msg||_[s.err];return s.result}i.prototype.push=function(e,u){var s,d,v,S,x,D,O=this.strm,L=this.options.chunkSize,I=this.options.dictionary,M=!1;if(this.ended)return!1;d=u===~~u?u:u===!0?h.Z_FINISH:h.Z_NO_FLUSH,typeof e=="string"?O.input=n.binstring2buf(e):g.call(e)==="[object ArrayBuffer]"?O.input=new Uint8Array(e):O.input=e,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new o.Buf8(L),O.next_out=0,O.avail_out=L),(s=l.inflate(O,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&I&&(D=typeof I=="string"?n.string2buf(I):g.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,s=l.inflateSetDictionary(this.strm,D)),s===h.Z_BUF_ERROR&&M===!0&&(s=h.Z_OK,M=!1),s!==h.Z_STREAM_END&&s!==h.Z_OK)return this.onEnd(s),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&s!==h.Z_STREAM_END&&(O.avail_in!==0||d!==h.Z_FINISH&&d!==h.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=n.utf8border(O.output,O.next_out),S=O.next_out-v,x=n.buf2string(O.output,v),O.next_out=S,O.avail_out=L-S,S&&o.arraySet(O.output,O.output,v,S,0),this.onData(x)):this.onData(o.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(M=!0)}while((0<O.avail_in||O.avail_out===0)&&s!==h.Z_STREAM_END);return s===h.Z_STREAM_END&&(d=h.Z_FINISH),d===h.Z_FINISH?(s=l.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===h.Z_OK):d!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),!(O.avail_out=0))},i.prototype.onData=function(e){this.chunks.push(e)},i.prototype.onEnd=function(e){e===h.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},k.Inflate=i,k.inflate=c,k.inflateRaw=function(e,u){return(u=u||{}).raw=!0,c(e,u)},k.ungzip=c},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,U,k){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";k.assign=function(h){for(var _=Array.prototype.slice.call(arguments,1);_.length;){var y=_.shift();if(y){if(typeof y!="object")throw new TypeError(y+"must be non-object");for(var p in y)y.hasOwnProperty(p)&&(h[p]=y[p])}}return h},k.shrinkBuf=function(h,_){return h.length===_?h:h.subarray?h.subarray(0,_):(h.length=_,h)};var o={arraySet:function(h,_,y,p,g){if(_.subarray&&h.subarray)h.set(_.subarray(y,y+p),g);else for(var i=0;i<p;i++)h[g+i]=_[y+i]},flattenChunks:function(h){var _,y,p,g,i,c;for(_=p=0,y=h.length;_<y;_++)p+=h[_].length;for(c=new Uint8Array(p),_=g=0,y=h.length;_<y;_++)i=h[_],c.set(i,g),g+=i.length;return c}},n={arraySet:function(h,_,y,p,g){for(var i=0;i<p;i++)h[g+i]=_[y+i]},flattenChunks:function(h){return[].concat.apply([],h)}};k.setTyped=function(h){h?(k.Buf8=Uint8Array,k.Buf16=Uint16Array,k.Buf32=Int32Array,k.assign(k,o)):(k.Buf8=Array,k.Buf16=Array,k.Buf32=Array,k.assign(k,n))},k.setTyped(l)},{}],42:[function(b,U,k){"use strict";var l=b("./common"),o=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(p){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(p){n=!1}for(var h=new l.Buf8(256),_=0;_<256;_++)h[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;function y(p,g){if(g<65537&&(p.subarray&&n||!p.subarray&&o))return String.fromCharCode.apply(null,l.shrinkBuf(p,g));for(var i="",c=0;c<g;c++)i+=String.fromCharCode(p[c]);return i}h[254]=h[254]=1,k.string2buf=function(p){var g,i,c,e,u,s=p.length,d=0;for(e=0;e<s;e++)(64512&(i=p.charCodeAt(e)))==55296&&e+1<s&&(64512&(c=p.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(c-56320),e++),d+=i<128?1:i<2048?2:i<65536?3:4;for(g=new l.Buf8(d),e=u=0;u<d;e++)(64512&(i=p.charCodeAt(e)))==55296&&e+1<s&&(64512&(c=p.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(c-56320),e++),i<128?g[u++]=i:(i<2048?g[u++]=192|i>>>6:(i<65536?g[u++]=224|i>>>12:(g[u++]=240|i>>>18,g[u++]=128|i>>>12&63),g[u++]=128|i>>>6&63),g[u++]=128|63&i);return g},k.buf2binstring=function(p){return y(p,p.length)},k.binstring2buf=function(p){for(var g=new l.Buf8(p.length),i=0,c=g.length;i<c;i++)g[i]=p.charCodeAt(i);return g},k.buf2string=function(p,g){var i,c,e,u,s=g||p.length,d=new Array(2*s);for(i=c=0;i<s;)if((e=p[i++])<128)d[c++]=e;else if(4<(u=h[e]))d[c++]=65533,i+=u-1;else{for(e&=u===2?31:u===3?15:7;1<u&&i<s;)e=e<<6|63&p[i++],u--;1<u?d[c++]=65533:e<65536?d[c++]=e:(e-=65536,d[c++]=55296|e>>10&1023,d[c++]=56320|1023&e)}return y(d,c)},k.utf8border=function(p,g){var i;for((g=g||p.length)>p.length&&(g=p.length),i=g-1;0<=i&&(192&p[i])==128;)i--;return i<0||i===0?g:i+h[p[i]]>g?i:g}},{"./common":41}],43:[function(b,U,k){"use strict";U.exports=function(l,o,n,h){for(var _=65535&l|0,y=l>>>16&65535|0,p=0;n!==0;){for(n-=p=2e3<n?2e3:n;y=y+(_=_+o[h++]|0)|0,--p;);_%=65521,y%=65521}return _|y<<16|0}},{}],44:[function(b,U,k){"use strict";U.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(b,U,k){"use strict";var l=function(){for(var o,n=[],h=0;h<256;h++){o=h;for(var _=0;_<8;_++)o=1&o?3988292384^o>>>1:o>>>1;n[h]=o}return n}();U.exports=function(o,n,h,_){var y=l,p=_+h;o^=-1;for(var g=_;g<p;g++)o=o>>>8^y[255&(o^n[g])];return-1^o}},{}],46:[function(b,U,k){"use strict";var l,o=b("../utils/common"),n=b("./trees"),h=b("./adler32"),_=b("./crc32"),y=b("./messages"),p=0,g=4,i=0,c=-2,e=-1,u=4,s=2,d=8,v=9,S=286,x=30,D=19,O=2*S+1,L=15,I=3,M=258,V=M+I+1,m=42,B=113,r=1,T=2,J=3,P=4;function $(t,R){return t.msg=y[R],R}function j(t){return(t<<1)-(4<t?9:0)}function q(t){for(var R=t.length;0<=--R;)t[R]=0}function E(t){var R=t.state,A=R.pending;A>t.avail_out&&(A=t.avail_out),A!==0&&(o.arraySet(t.output,R.pending_buf,R.pending_out,A,t.next_out),t.next_out+=A,R.pending_out+=A,t.total_out+=A,t.avail_out-=A,R.pending-=A,R.pending===0&&(R.pending_out=0))}function C(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,E(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 A,f,a=t.max_chain_length,w=t.strstart,F=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,et=Z[w+F-1],tt=Z[w+F];t.prev_length>=t.good_match&&(a>>=2),N>t.lookahead&&(N=t.lookahead);do if(Z[(A=R)+F]===tt&&Z[A+F-1]===et&&Z[A]===Z[w]&&Z[++A]===Z[w+1]){w+=2,A++;do;while(Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&w<Y);if(f=M-(Y-w),w=Y-M,F<f){if(t.match_start=R,N<=(F=f))break;et=Z[w+F-1],tt=Z[w+F]}}while((R=W[R&K])>z&&--a!=0);return F<=t.lookahead?F:t.lookahead}function nt(t){var R,A,f,a,w,F,N,z,Z,K,W=t.w_size;do{if(a=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=A=t.hash_size;f=t.head[--R],t.head[R]=W<=f?f-W:0,--A;);for(R=A=W;f=t.prev[--R],t.prev[R]=W<=f?f-W:0,--A;);a+=W}if(t.strm.avail_in===0)break;if(F=t.strm,N=t.window,z=t.strstart+t.lookahead,Z=a,K=void 0,K=F.avail_in,Z<K&&(K=Z),A=K===0?0:(F.avail_in-=K,o.arraySet(N,F.input,F.next_in,K,z),F.state.wrap===1?F.adler=h(F.adler,N,K,z):F.state.wrap===2&&(F.adler=_(F.adler,N,K,z)),F.next_in+=K,F.total_in+=K,K),t.lookahead+=A,t.lookahead+t.insert>=I)for(w=t.strstart-t.insert,t.ins_h=t.window[w],t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+I-1])&t.hash_mask,t.prev[w&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=w,w++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<V&&t.strm.avail_in!==0)}function ot(t,R){for(var A,f;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===p)return r;if(t.lookahead===0)break}if(A=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),A!==0&&t.strstart-A<=t.w_size-V&&(t.match_length=H(t,A)),t.match_length>=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<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(C(t,!1),t.strm.avail_out===0))return r}return t.insert=t.strstart<I-1?t.strstart:I-1,R===g?(C(t,!0),t.strm.avail_out===0?J:P):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?r:T}function Q(t,R){for(var A,f,a;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===p)return r;if(t.lookahead===0)break}if(A=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,A!==0&&t.prev_length<t.max_lazy_match&&t.strstart-A<=t.w_size-V&&(t.match_length=H(t,A),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(a=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<=a&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,f&&(C(t,!1),t.strm.avail_out===0))return r}else if(t.match_available){if((f=n._tr_tally(t,0,t.window[t.strstart-1]))&&C(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return r}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,R===g?(C(t,!0),t.strm.avail_out===0?J:P):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?r:T}function rt(t,R,A,f,a){this.good_length=t,this.max_lazy=R,this.nice_length=A,this.max_chain=f,this.func=a}function at(){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=d,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 o.Buf16(2*O),this.dyn_dtree=new o.Buf16(2*(2*x+1)),this.bl_tree=new o.Buf16(2*(2*D+1)),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(L+1),this.heap=new o.Buf16(2*S+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*S+1),q(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 it(t){var R;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=s,(R=t.state).pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?m:B,t.adler=R.wrap===2?0:1,R.last_flush=p,n._tr_init(R),i):$(t,c)}function lt(t){var R=it(t);return R===i&&function(A){A.window_size=2*A.w_size,q(A.head),A.max_lazy_match=l[A.level].max_lazy,A.good_match=l[A.level].good_length,A.nice_match=l[A.level].nice_length,A.max_chain_length=l[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=I-1,A.match_available=0,A.ins_h=0}(t.state),R}function ut(t,R,A,f,a,w){if(!t)return c;var F=1;if(R===e&&(R=6),f<0?(F=0,f=-f):15<f&&(F=2,f-=16),a<1||v<a||A!==d||f<8||15<f||R<0||9<R||w<0||u<w)return $(t,c);f===8&&(f=9);var N=new at;return(t.state=N).strm=t,N.wrap=F,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=a+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+I-1)/I),N.window=new o.Buf8(2*N.w_size),N.head=new o.Buf16(N.hash_size),N.prev=new o.Buf16(N.w_size),N.lit_bufsize=1<<a+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new o.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=R,N.strategy=w,N.method=A,lt(t)}l=[new rt(0,0,0,0,function(t,R){var A=65535;for(A>t.pending_buf_size-5&&(A=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nt(t),t.lookahead===0&&R===p)return r;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+A;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,C(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-V&&(C(t,!1),t.strm.avail_out===0))return r}return t.insert=0,R===g?(C(t,!0),t.strm.avail_out===0?J:P):(t.strstart>t.block_start&&(C(t,!1),t.strm.avail_out),r)}),new rt(4,4,8,4,ot),new rt(4,5,16,8,ot),new rt(4,6,32,32,ot),new rt(4,4,16,16,Q),new rt(8,16,32,32,Q),new rt(8,16,128,128,Q),new rt(8,32,128,256,Q),new rt(32,128,258,1024,Q),new rt(32,258,258,4096,Q)],k.deflateInit=function(t,R){return ut(t,R,d,15,8,0)},k.deflateInit2=ut,k.deflateReset=lt,k.deflateResetKeep=it,k.deflateSetHeader=function(t,R){return t&&t.state?t.state.wrap!==2?c:(t.state.gzhead=R,i):c},k.deflate=function(t,R){var A,f,a,w;if(!t||!t.state||5<R||R<0)return t?$(t,c):c;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&R!==g)return $(t,t.avail_out===0?-5:c);if(f.strm=t,A=f.last_flush,f.last_flush=R,f.status===m)if(f.wrap===2)t.adler=0,X(f,31),X(f,139),X(f,8),f.gzhead?(X(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),X(f,255&f.gzhead.time),X(f,f.gzhead.time>>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=_(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 F=d+(f.w_bits-8<<4)<<8;F|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(F|=32),F+=31-F%31,f.status=B,G(f,F),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(a=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),E(t),a=f.pending,f.pending!==f.pending_buf_size));)X(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){a=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),E(t),a=f.pending,f.pending===f.pending_buf_size)){w=1;break}w=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,X(f,w)}while(w!==0);f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),w===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){a=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),E(t),a=f.pending,f.pending===f.pending_buf_size)){w=1;break}w=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,X(f,w)}while(w!==0);f.gzhead.hcrc&&f.pending>a&&(t.adler=_(t.adler,f.pending_buf,f.pending-a,a)),w===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&E(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(E(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&j(R)<=j(A)&&R!==g)return $(t,-5);if(f.status===666&&t.avail_in!==0)return $(t,-5);if(t.avail_in!==0||f.lookahead!==0||R!==p&&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===p)return r;break}if(z.match_length=0,K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++,K&&(C(z,!1),z.strm.avail_out===0))return r}return z.insert=0,Z===g?(C(z,!0),z.strm.avail_out===0?J:P):z.last_lit&&(C(z,!1),z.strm.avail_out===0)?r:T}(f,R):f.strategy===3?function(z,Z){for(var K,W,Y,et,tt=z.window;;){if(z.lookahead<=M){if(nt(z),z.lookahead<=M&&Z===p)return r;if(z.lookahead===0)break}if(z.match_length=0,z.lookahead>=I&&0<z.strstart&&(W=tt[Y=z.strstart-1])===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]){et=z.strstart+M;do;while(W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&Y<et);z.match_length=M-(et-Y),z.match_length>z.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&&(C(z,!1),z.strm.avail_out===0))return r}return z.insert=0,Z===g?(C(z,!0),z.strm.avail_out===0?J:P):z.last_lit&&(C(z,!1),z.strm.avail_out===0)?r:T}(f,R):l[f.level].func(f,R);if(N!==J&&N!==P||(f.status=666),N===r||N===J)return t.avail_out===0&&(f.last_flush=-1),i;if(N===T&&(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))),E(t),t.avail_out===0))return f.last_flush=-1,i}return R!==g?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)),E(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},k.deflateEnd=function(t){var R;return t&&t.state?(R=t.state.status)!==m&&R!==69&&R!==73&&R!==91&&R!==103&&R!==B&&R!==666?$(t,c):(t.state=null,R===B?$(t,-3):i):c},k.deflateSetDictionary=function(t,R){var A,f,a,w,F,N,z,Z,K=R.length;if(!t||!t.state||(w=(A=t.state).wrap)===2||w===1&&A.status!==m||A.lookahead)return c;for(w===1&&(t.adler=h(t.adler,R,K,0)),A.wrap=0,K>=A.w_size&&(w===0&&(q(A.head),A.strstart=0,A.block_start=0,A.insert=0),Z=new o.Buf8(A.w_size),o.arraySet(Z,R,K-A.w_size,A.w_size,0),R=Z,K=A.w_size),F=t.avail_in,N=t.next_in,z=t.input,t.avail_in=K,t.next_in=0,t.input=R,nt(A);A.lookahead>=I;){for(f=A.strstart,a=A.lookahead-(I-1);A.ins_h=(A.ins_h<<A.hash_shift^A.window[f+I-1])&A.hash_mask,A.prev[f&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=f,f++,--a;);A.strstart=f,A.lookahead=I-1,nt(A)}return A.strstart+=A.lookahead,A.block_start=A.strstart,A.insert=A.lookahead,A.lookahead=0,A.match_length=A.prev_length=I-1,A.match_available=0,t.next_in=N,t.input=z,t.avail_in=F,A.wrap=w,i},k.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,U,k){"use strict";U.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(b,U,k){"use strict";U.exports=function(l,o){var n,h,_,y,p,g,i,c,e,u,s,d,v,S,x,D,O,L,I,M,V,m,B,r,T;n=l.state,h=l.next_in,r=l.input,_=h+(l.avail_in-5),y=l.next_out,T=l.output,p=y-(o-l.avail_out),g=y+(l.avail_out-257),i=n.dmax,c=n.wsize,e=n.whave,u=n.wnext,s=n.window,d=n.hold,v=n.bits,S=n.lencode,x=n.distcode,D=(1<<n.lenbits)-1,O=(1<<n.distbits)-1;t:do{v<15&&(d+=r[h++]<<v,v+=8,d+=r[h++]<<v,v+=8),L=S[d&D];r:for(;;){if(d>>>=I=L>>>24,v-=I,(I=L>>>16&255)==0)T[y++]=65535&L;else{if(!(16&I)){if((64&I)==0){L=S[(65535&L)+(d&(1<<I)-1)];continue r}if(32&I){n.mode=12;break t}l.msg="invalid literal/length code",n.mode=30;break t}M=65535&L,(I&=15)&&(v<I&&(d+=r[h++]<<v,v+=8),M+=d&(1<<I)-1,d>>>=I,v-=I),v<15&&(d+=r[h++]<<v,v+=8,d+=r[h++]<<v,v+=8),L=x[d&O];e:for(;;){if(d>>>=I=L>>>24,v-=I,!(16&(I=L>>>16&255))){if((64&I)==0){L=x[(65535&L)+(d&(1<<I)-1)];continue e}l.msg="invalid distance code",n.mode=30;break t}if(V=65535&L,v<(I&=15)&&(d+=r[h++]<<v,(v+=8)<I&&(d+=r[h++]<<v,v+=8)),i<(V+=d&(1<<I)-1)){l.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=I,v-=I,(I=y-p)<V){if(e<(I=V-I)&&n.sane){l.msg="invalid distance too far back",n.mode=30;break t}if(B=s,(m=0)===u){if(m+=c-I,I<M){for(M-=I;T[y++]=s[m++],--I;);m=y-V,B=T}}else if(u<I){if(m+=c+u-I,(I-=u)<M){for(M-=I;T[y++]=s[m++],--I;);if(m=0,u<M){for(M-=I=u;T[y++]=s[m++],--I;);m=y-V,B=T}}}else if(m+=u-I,I<M){for(M-=I;T[y++]=s[m++],--I;);m=y-V,B=T}for(;2<M;)T[y++]=B[m++],T[y++]=B[m++],T[y++]=B[m++],M-=3;M&&(T[y++]=B[m++],1<M&&(T[y++]=B[m++]))}else{for(m=y-V;T[y++]=T[m++],T[y++]=T[m++],T[y++]=T[m++],2<(M-=3););M&&(T[y++]=T[m++],1<M&&(T[y++]=T[m++]))}break}}break}}while(h<_&&y<g);h-=M=v>>3,d&=(1<<(v-=M<<3))-1,l.next_in=h,l.next_out=y,l.avail_in=h<_?_-h+5:5-(h-_),l.avail_out=y<g?g-y+257:257-(y-g),n.hold=d,n.bits=v}},{}],49:[function(b,U,k){"use strict";var l=b("../utils/common"),o=b("./adler32"),n=b("./crc32"),h=b("./inffast"),_=b("./inftrees"),y=1,p=2,g=0,i=-2,c=1,e=852,u=592;function s(m){return(m>>>24&255)+(m>>>8&65280)+((65280&m)<<8)+((255&m)<<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 v(m){var B;return m&&m.state?(B=m.state,m.total_in=m.total_out=B.total=0,m.msg="",B.wrap&&(m.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(e),B.distcode=B.distdyn=new l.Buf32(u),B.sane=1,B.back=-1,g):i}function S(m){var B;return m&&m.state?((B=m.state).wsize=0,B.whave=0,B.wnext=0,v(m)):i}function x(m,B){var r,T;return m&&m.state?(T=m.state,B<0?(r=0,B=-B):(r=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15<B)?i:(T.window!==null&&T.wbits!==B&&(T.window=null),T.wrap=r,T.wbits=B,S(m))):i}function D(m,B){var r,T;return m?(T=new d,(m.state=T).window=null,(r=x(m,B))!==g&&(m.state=null),r):i}var O,L,I=!0;function M(m){if(I){var B;for(O=new l.Buf32(512),L=new l.Buf32(32),B=0;B<144;)m.lens[B++]=8;for(;B<256;)m.lens[B++]=9;for(;B<280;)m.lens[B++]=7;for(;B<288;)m.lens[B++]=8;for(_(y,m.lens,0,288,O,0,m.work,{bits:9}),B=0;B<32;)m.lens[B++]=5;_(p,m.lens,0,32,L,0,m.work,{bits:5}),I=!1}m.lencode=O,m.lenbits=9,m.distcode=L,m.distbits=5}function V(m,B,r,T){var J,P=m.state;return P.window===null&&(P.wsize=1<<P.wbits,P.wnext=0,P.whave=0,P.window=new l.Buf8(P.wsize)),T>=P.wsize?(l.arraySet(P.window,B,r-P.wsize,P.wsize,0),P.wnext=0,P.whave=P.wsize):(T<(J=P.wsize-P.wnext)&&(J=T),l.arraySet(P.window,B,r-T,J,P.wnext),(T-=J)?(l.arraySet(P.window,B,r-T,T,0),P.wnext=T,P.whave=P.wsize):(P.wnext+=J,P.wnext===P.wsize&&(P.wnext=0),P.whave<P.wsize&&(P.whave+=J))),0}k.inflateReset=S,k.inflateReset2=x,k.inflateResetKeep=v,k.inflateInit=function(m){return D(m,15)},k.inflateInit2=D,k.inflate=function(m,B){var r,T,J,P,$,j,q,E,C,X,G,H,nt,ot,Q,rt,at,it,lt,ut,t,R,A,f,a=0,w=new l.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!m||!m.state||!m.output||!m.input&&m.avail_in!==0)return i;(r=m.state).mode===12&&(r.mode=13),$=m.next_out,J=m.output,q=m.avail_out,P=m.next_in,T=m.input,j=m.avail_in,E=r.hold,C=r.bits,X=j,G=q,R=g;t:for(;;)switch(r.mode){case c:if(r.wrap===0){r.mode=13;break}for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(2&r.wrap&&E===35615){w[r.check=0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0),C=E=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&E)<<8)+(E>>8))%31){m.msg="incorrect header check",r.mode=30;break}if((15&E)!=8){m.msg="unknown compression method",r.mode=30;break}if(C-=4,t=8+(15&(E>>>=4)),r.wbits===0)r.wbits=t;else if(t>r.wbits){m.msg="invalid window size",r.mode=30;break}r.dmax=1<<t,m.adler=r.check=1,r.mode=512&E?10:12,C=E=0;break;case 2:for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(r.flags=E,(255&r.flags)!=8){m.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){m.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=E>>8&1),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0,r.mode=3;case 3:for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.head&&(r.head.time=E),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,w[2]=E>>>16&255,w[3]=E>>>24&255,r.check=n(r.check,w,4,0)),C=E=0,r.mode=4;case 4:for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.head&&(r.head.xflags=255&E,r.head.os=E>>8),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0,r.mode=5;case 5:if(1024&r.flags){for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.length=E,r.head&&(r.head.extra_len=E),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(j<(H=r.length)&&(H=j),H&&(r.head&&(t=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),l.arraySet(r.head.extra,T,P,H,t)),512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,r.length-=H),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(j===0)break t;for(H=0;t=T[P+H++],r.head&&t&&r.length<65536&&(r.head.name+=String.fromCharCode(t)),t&&H<j;);if(512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,t)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(j===0)break t;for(H=0;t=T[P+H++],r.head&&t&&r.length<65536&&(r.head.comment+=String.fromCharCode(t)),t&&H<j;);if(512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,t)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E!==(65535&r.check)){m.msg="header crc mismatch",r.mode=30;break}C=E=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),m.adler=r.check=0,r.mode=12;break;case 10:for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}m.adler=r.check=s(E),C=E=0,r.mode=11;case 11:if(r.havedict===0)return m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,2;m.adler=r.check=1,r.mode=12;case 12:if(B===5||B===6)break t;case 13:if(r.last){E>>>=7&C,C-=7&C,r.mode=27;break}for(;C<3;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}switch(r.last=1&E,C-=1,3&(E>>>=1)){case 0:r.mode=14;break;case 1:if(M(r),r.mode=20,B!==6)break;E>>>=2,C-=2;break t;case 2:r.mode=17;break;case 3:m.msg="invalid block type",r.mode=30}E>>>=2,C-=2;break;case 14:for(E>>>=7&C,C-=7&C;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if((65535&E)!=(E>>>16^65535)){m.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&E,C=E=0,r.mode=15,B===6)break t;case 15:r.mode=16;case 16:if(H=r.length){if(j<H&&(H=j),q<H&&(H=q),H===0)break t;l.arraySet(J,T,P,H,$),j-=H,P+=H,q-=H,$+=H,r.length-=H;break}r.mode=12;break;case 17:for(;C<14;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(r.nlen=257+(31&E),E>>>=5,C-=5,r.ndist=1+(31&E),E>>>=5,C-=5,r.ncode=4+(15&E),E>>>=4,C-=4,286<r.nlen||30<r.ndist){m.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;C<3;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.lens[F[r.have++]]=7&E,E>>>=3,C-=3}for(;r.have<19;)r.lens[F[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},R=_(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,R){m.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;rt=(a=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(at<16)E>>>=Q,C-=Q,r.lens[r.have++]=at;else{if(at===16){for(f=Q+2;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E>>>=Q,C-=Q,r.have===0){m.msg="invalid bit length repeat",r.mode=30;break}t=r.lens[r.have-1],H=3+(3&E),E>>>=2,C-=2}else if(at===17){for(f=Q+3;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}C-=Q,t=0,H=3+(7&(E>>>=Q)),E>>>=3,C-=3}else{for(f=Q+7;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}C-=Q,t=0,H=11+(127&(E>>>=Q)),E>>>=7,C-=7}if(r.have+H>r.nlen+r.ndist){m.msg="invalid bit length repeat",r.mode=30;break}for(;H--;)r.lens[r.have++]=t}}if(r.mode===30)break;if(r.lens[256]===0){m.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,A={bits:r.lenbits},R=_(y,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,R){m.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},R=_(p,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,R){m.msg="invalid distances set",r.mode=30;break}if(r.mode=20,B===6)break t;case 20:r.mode=21;case 21:if(6<=j&&258<=q){m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,h(m,G),$=m.next_out,J=m.output,q=m.avail_out,P=m.next_in,T=m.input,j=m.avail_in,E=r.hold,C=r.bits,r.mode===12&&(r.back=-1);break}for(r.back=0;rt=(a=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(rt&&(240&rt)==0){for(it=Q,lt=rt,ut=at;rt=(a=r.lencode[ut+((E&(1<<it+lt)-1)>>it)])>>>16&255,at=65535&a,!(it+(Q=a>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}E>>>=it,C-=it,r.back+=it}if(E>>>=Q,C-=Q,r.back+=Q,r.length=at,rt===0){r.mode=26;break}if(32&rt){r.back=-1,r.mode=12;break}if(64&rt){m.msg="invalid literal/length code",r.mode=30;break}r.extra=15&rt,r.mode=22;case 22:if(r.extra){for(f=r.extra;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.length+=E&(1<<r.extra)-1,E>>>=r.extra,C-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;rt=(a=r.distcode[E&(1<<r.distbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if((240&rt)==0){for(it=Q,lt=rt,ut=at;rt=(a=r.distcode[ut+((E&(1<<it+lt)-1)>>it)])>>>16&255,at=65535&a,!(it+(Q=a>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}E>>>=it,C-=it,r.back+=it}if(E>>>=Q,C-=Q,r.back+=Q,64&rt){m.msg="invalid distance code",r.mode=30;break}r.offset=at,r.extra=15&rt,r.mode=24;case 24:if(r.extra){for(f=r.extra;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.offset+=E&(1<<r.extra)-1,E>>>=r.extra,C-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){m.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(q===0)break t;if(H=G-q,r.offset>H){if((H=r.offset-H)>r.whave&&r.sane){m.msg="invalid distance too far back",r.mode=30;break}nt=H>r.wnext?(H-=r.wnext,r.wsize-H):r.wnext-H,H>r.length&&(H=r.length),ot=r.window}else ot=J,nt=$-r.offset,H=r.length;for(q<H&&(H=q),q-=H,r.length-=H;J[$++]=ot[nt++],--H;);r.length===0&&(r.mode=21);break;case 26:if(q===0)break t;J[$++]=r.length,q--,r.mode=21;break;case 27:if(r.wrap){for(;C<32;){if(j===0)break t;j--,E|=T[P++]<<C,C+=8}if(G-=q,m.total_out+=G,r.total+=G,G&&(m.adler=r.check=r.flags?n(r.check,J,G,$-G):o(r.check,J,G,$-G)),G=q,(r.flags?E:s(E))!==r.check){m.msg="incorrect data check",r.mode=30;break}C=E=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E!==(4294967295&r.total)){m.msg="incorrect length check",r.mode=30;break}C=E=0}r.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return i}return m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,(r.wsize||G!==m.avail_out&&r.mode<30&&(r.mode<27||B!==4))&&V(m,m.output,m.next_out,G-m.avail_out)?(r.mode=31,-4):(X-=m.avail_in,G-=m.avail_out,m.total_in+=X,m.total_out+=G,r.total+=G,r.wrap&&G&&(m.adler=r.check=r.flags?n(r.check,J,G,m.next_out-G):o(r.check,J,G,m.next_out-G)),m.data_type=r.bits+(r.last?64:0)+(r.mode===12?128:0)+(r.mode===20||r.mode===15?256:0),(X==0&&G===0||B===4)&&R===g&&(R=-5),R)},k.inflateEnd=function(m){if(!m||!m.state)return i;var B=m.state;return B.window&&(B.window=null),m.state=null,g},k.inflateGetHeader=function(m,B){var r;return m&&m.state?(2&(r=m.state).wrap)==0?i:((r.head=B).done=!1,g):i},k.inflateSetDictionary=function(m,B){var r,T=B.length;return m&&m.state?(r=m.state).wrap!==0&&r.mode!==11?i:r.mode===11&&o(1,B,T,0)!==r.check?-3:V(m,B,T,T)?(r.mode=31,-4):(r.havedict=1,g):i},k.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,U,k){"use strict";var l=b("../utils/common"),o=[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],n=[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],h=[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],_=[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];U.exports=function(y,p,g,i,c,e,u,s){var d,v,S,x,D,O,L,I,M,V=s.bits,m=0,B=0,r=0,T=0,J=0,P=0,$=0,j=0,q=0,E=0,C=null,X=0,G=new l.Buf16(16),H=new l.Buf16(16),nt=null,ot=0;for(m=0;m<=15;m++)G[m]=0;for(B=0;B<i;B++)G[p[g+B]]++;for(J=V,T=15;1<=T&&G[T]===0;T--);if(T<J&&(J=T),T===0)return c[e++]=20971520,c[e++]=20971520,s.bits=1,0;for(r=1;r<T&&G[r]===0;r++);for(J<r&&(J=r),m=j=1;m<=15;m++)if(j<<=1,(j-=G[m])<0)return-1;if(0<j&&(y===0||T!==1))return-1;for(H[1]=0,m=1;m<15;m++)H[m+1]=H[m]+G[m];for(B=0;B<i;B++)p[g+B]!==0&&(u[H[p[g+B]]++]=B);if(O=y===0?(C=nt=u,19):y===1?(C=o,X-=257,nt=n,ot-=257,256):(C=h,nt=_,-1),m=r,D=e,$=B=E=0,S=-1,x=(q=1<<(P=J))-1,y===1&&852<q||y===2&&592<q)return 1;for(;;){for(L=m-$,M=u[B]<O?(I=0,u[B]):u[B]>O?(I=nt[ot+u[B]],C[X+u[B]]):(I=96,0),d=1<<m-$,r=v=1<<P;c[D+(E>>$)+(v-=d)]=L<<24|I<<16|M|0,v!==0;);for(d=1<<m-1;E&d;)d>>=1;if(d!==0?(E&=d-1,E+=d):E=0,B++,--G[m]==0){if(m===T)break;m=p[g+u[B]]}if(J<m&&(E&x)!==S){for($===0&&($=J),D+=r,j=1<<(P=m-$);P+$<T&&!((j-=G[P+$])<=0);)P++,j<<=1;if(q+=1<<P,y===1&&852<q||y===2&&592<q)return 1;c[S=E&x]=J<<24|P<<16|D-e|0}}return E!==0&&(c[D+E]=m-$<<24|64<<16|0),s.bits=J,0}},{"../utils/common":41}],51:[function(b,U,k){"use strict";U.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(b,U,k){"use strict";var l=b("../utils/common"),o=0,n=1;function h(a){for(var w=a.length;0<=--w;)a[w]=0}var _=0,y=29,p=256,g=p+1+y,i=30,c=19,e=2*g+1,u=15,s=16,d=7,v=256,S=16,x=17,D=18,O=[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],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(g+2));h(V);var m=new Array(2*i);h(m);var B=new Array(512);h(B);var r=new Array(256);h(r);var T=new Array(y);h(T);var J,P,$,j=new Array(i);function q(a,w,F,N,z){this.static_tree=a,this.extra_bits=w,this.extra_base=F,this.elems=N,this.max_length=z,this.has_stree=a&&a.length}function E(a,w){this.dyn_tree=a,this.max_code=0,this.stat_desc=w}function C(a){return a<256?B[a]:B[256+(a>>>7)]}function X(a,w){a.pending_buf[a.pending++]=255&w,a.pending_buf[a.pending++]=w>>>8&255}function G(a,w,F){a.bi_valid>s-F?(a.bi_buf|=w<<a.bi_valid&65535,X(a,a.bi_buf),a.bi_buf=w>>s-a.bi_valid,a.bi_valid+=F-s):(a.bi_buf|=w<<a.bi_valid&65535,a.bi_valid+=F)}function H(a,w,F){G(a,F[2*w],F[2*w+1])}function nt(a,w){for(var F=0;F|=1&a,a>>>=1,F<<=1,0<--w;);return F>>>1}function ot(a,w,F){var N,z,Z=new Array(u+1),K=0;for(N=1;N<=u;N++)Z[N]=K=K+F[N-1]<<1;for(z=0;z<=w;z++){var W=a[2*z+1];W!==0&&(a[2*z]=nt(Z[W]++,W))}}function Q(a){var w;for(w=0;w<g;w++)a.dyn_ltree[2*w]=0;for(w=0;w<i;w++)a.dyn_dtree[2*w]=0;for(w=0;w<c;w++)a.bl_tree[2*w]=0;a.dyn_ltree[2*v]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function rt(a){8<a.bi_valid?X(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function at(a,w,F,N){var z=2*w,Z=2*F;return a[z]<a[Z]||a[z]===a[Z]&&N[w]<=N[F]}function it(a,w,F){for(var N=a.heap[F],z=F<<1;z<=a.heap_len&&(z<a.heap_len&&at(w,a.heap[z+1],a.heap[z],a.depth)&&z++,!at(w,N,a.heap[z],a.depth));)a.heap[F]=a.heap[z],F=z,z<<=1;a.heap[F]=N}function lt(a,w,F){var N,z,Z,K,W=0;if(a.last_lit!==0)for(;N=a.pending_buf[a.d_buf+2*W]<<8|a.pending_buf[a.d_buf+2*W+1],z=a.pending_buf[a.l_buf+W],W++,N===0?H(a,z,w):(H(a,(Z=r[z])+p+1,w),(K=O[Z])!==0&&G(a,z-=T[Z],K),H(a,Z=C(--N),F),(K=L[Z])!==0&&G(a,N-=j[Z],K)),W<a.last_lit;);H(a,v,w)}function ut(a,w){var F,N,z,Z=w.dyn_tree,K=w.stat_desc.static_tree,W=w.stat_desc.has_stree,Y=w.stat_desc.elems,et=-1;for(a.heap_len=0,a.heap_max=e,F=0;F<Y;F++)Z[2*F]!==0?(a.heap[++a.heap_len]=et=F,a.depth[F]=0):Z[2*F+1]=0;for(;a.heap_len<2;)Z[2*(z=a.heap[++a.heap_len]=et<2?++et:0)]=1,a.depth[z]=0,a.opt_len--,W&&(a.static_len-=K[2*z+1]);for(w.max_code=et,F=a.heap_len>>1;1<=F;F--)it(a,Z,F);for(z=Y;F=a.heap[1],a.heap[1]=a.heap[a.heap_len--],it(a,Z,1),N=a.heap[1],a.heap[--a.heap_max]=F,a.heap[--a.heap_max]=N,Z[2*z]=Z[2*F]+Z[2*N],a.depth[z]=(a.depth[F]>=a.depth[N]?a.depth[F]:a.depth[N])+1,Z[2*F+1]=Z[2*N+1]=z,a.heap[1]=z++,it(a,Z,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],function(tt,ht){var dt,ft,pt,st,gt,vt,ct=ht.dyn_tree,wt=ht.max_code,St=ht.stat_desc.static_tree,zt=ht.stat_desc.has_stree,Ct=ht.stat_desc.extra_bits,kt=ht.stat_desc.extra_base,mt=ht.stat_desc.max_length,bt=0;for(st=0;st<=u;st++)tt.bl_count[st]=0;for(ct[2*tt.heap[tt.heap_max]+1]=0,dt=tt.heap_max+1;dt<e;dt++)mt<(st=ct[2*ct[2*(ft=tt.heap[dt])+1]+1]+1)&&(st=mt,bt++),ct[2*ft+1]=st,wt<ft||(tt.bl_count[st]++,gt=0,kt<=ft&&(gt=Ct[ft-kt]),vt=ct[2*ft],tt.opt_len+=vt*(st+gt),zt&&(tt.static_len+=vt*(St[2*ft+1]+gt)));if(bt!==0){do{for(st=mt-1;tt.bl_count[st]===0;)st--;tt.bl_count[st]--,tt.bl_count[st+1]+=2,tt.bl_count[mt]--,bt-=2}while(0<bt);for(st=mt;st!==0;st--)for(ft=tt.bl_count[st];ft!==0;)wt<(pt=tt.heap[--dt])||(ct[2*pt+1]!==st&&(tt.opt_len+=(st-ct[2*pt+1])*ct[2*pt],ct[2*pt+1]=st),ft--)}}(a,w),ot(Z,et,a.bl_count)}function t(a,w,F){var N,z,Z=-1,K=w[1],W=0,Y=7,et=4;for(K===0&&(Y=138,et=3),w[2*(F+1)+1]=65535,N=0;N<=F;N++)z=K,K=w[2*(N+1)+1],++W<Y&&z===K||(W<et?a.bl_tree[2*z]+=W:z!==0?(z!==Z&&a.bl_tree[2*z]++,a.bl_tree[2*S]++):W<=10?a.bl_tree[2*x]++:a.bl_tree[2*D]++,Z=z,et=(W=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4))}function R(a,w,F){var N,z,Z=-1,K=w[1],W=0,Y=7,et=4;for(K===0&&(Y=138,et=3),N=0;N<=F;N++)if(z=K,K=w[2*(N+1)+1],!(++W<Y&&z===K)){if(W<et)for(;H(a,z,a.bl_tree),--W!=0;);else z!==0?(z!==Z&&(H(a,z,a.bl_tree),W--),H(a,S,a.bl_tree),G(a,W-3,2)):W<=10?(H(a,x,a.bl_tree),G(a,W-3,3)):(H(a,D,a.bl_tree),G(a,W-11,7));Z=z,et=(W=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4)}}h(j);var A=!1;function f(a,w,F,N){G(a,(_<<1)+(N?1:0),3),function(z,Z,K,W){rt(z),W&&(X(z,K),X(z,~K)),l.arraySet(z.pending_buf,z.window,Z,K,z.pending),z.pending+=K}(a,w,F,!0)}k._tr_init=function(a){A||(function(){var w,F,N,z,Z,K=new Array(u+1);for(z=N=0;z<y-1;z++)for(T[z]=N,w=0;w<1<<O[z];w++)r[N++]=z;for(r[N-1]=z,z=Z=0;z<16;z++)for(j[z]=Z,w=0;w<1<<L[z];w++)B[Z++]=z;for(Z>>=7;z<i;z++)for(j[z]=Z<<7,w=0;w<1<<L[z]-7;w++)B[256+Z++]=z;for(F=0;F<=u;F++)K[F]=0;for(w=0;w<=143;)V[2*w+1]=8,w++,K[8]++;for(;w<=255;)V[2*w+1]=9,w++,K[9]++;for(;w<=279;)V[2*w+1]=7,w++,K[7]++;for(;w<=287;)V[2*w+1]=8,w++,K[8]++;for(ot(V,g+1,K),w=0;w<i;w++)m[2*w+1]=5,m[2*w]=nt(w,5);J=new q(V,O,p+1,g,u),P=new q(m,L,0,i,u),$=new q(new Array(0),I,0,c,d)}(),A=!0),a.l_desc=new E(a.dyn_ltree,J),a.d_desc=new E(a.dyn_dtree,P),a.bl_desc=new E(a.bl_tree,$),a.bi_buf=0,a.bi_valid=0,Q(a)},k._tr_stored_block=f,k._tr_flush_block=function(a,w,F,N){var z,Z,K=0;0<a.level?(a.strm.data_type===2&&(a.strm.data_type=function(W){var Y,et=4093624447;for(Y=0;Y<=31;Y++,et>>>=1)if(1&et&&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<p;Y++)if(W.dyn_ltree[2*Y]!==0)return n;return o}(a)),ut(a,a.l_desc),ut(a,a.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}(a),z=a.opt_len+3+7>>>3,(Z=a.static_len+3+7>>>3)<=z&&(z=Z)):z=Z=F+5,F+4<=z&&w!==-1?f(a,w,F,N):a.strategy===4||Z===z?(G(a,2+(N?1:0),3),lt(a,V,m)):(G(a,4+(N?1:0),3),function(W,Y,et,tt){var ht;for(G(W,Y-257,5),G(W,et-1,5),G(W,tt-4,4),ht=0;ht<tt;ht++)G(W,W.bl_tree[2*M[ht]+1],3);R(W,W.dyn_ltree,Y-1),R(W,W.dyn_dtree,et-1)}(a,a.l_desc.max_code+1,a.d_desc.max_code+1,K+1),lt(a,a.dyn_ltree,a.dyn_dtree)),Q(a),N&&rt(a)},k._tr_tally=function(a,w,F){return a.pending_buf[a.d_buf+2*a.last_lit]=w>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&w,a.pending_buf[a.l_buf+a.last_lit]=255&F,a.last_lit++,w===0?a.dyn_ltree[2*F]++:(a.matches++,w--,a.dyn_ltree[2*(r[F]+p+1)]++,a.dyn_dtree[2*C(w)]++),a.last_lit===a.lit_bufsize-1},k._tr_align=function(a){G(a,2,3),H(a,v,V),function(w){w.bi_valid===16?(X(w,w.bi_buf),w.bi_buf=0,w.bi_valid=0):8<=w.bi_valid&&(w.pending_buf[w.pending++]=255&w.bi_buf,w.bi_buf>>=8,w.bi_valid-=8)}(a)}},{"../utils/common":41}],53:[function(b,U,k){"use strict";U.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,U,k){(function(l){(function(o,n){"use strict";if(!o.setImmediate){var h,_,y,p,g=1,i={},c=!1,e=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}}()?(p="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",v,!1):o.attachEvent("onmessage",v),function(S){o.postMessage(p+S,"*")}):o.MessageChannel?((y=new MessageChannel).port1.onmessage=function(S){d(S.data)},function(S){y.port2.postMessage(S)}):e&&"onreadystatechange"in e.createElement("script")?(_=e.documentElement,function(S){var x=e.createElement("script");x.onreadystatechange=function(){d(S),x.onreadystatechange=null,_.removeChild(x),x=null},_.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),D=0;D<x.length;D++)x[D]=arguments[D+1];var O={callback:S,args:x};return i[g]=O,h(g),g++},u.clearImmediate=s}function s(S){delete i[S]}function d(S){if(c)setTimeout(d,0,S);else{var x=i[S];if(x){c=!0;try{(function(D){var O=D.callback,L=D.args;switch(L.length){case 0:O();break;case 1:O(L[0]);break;case 2:O(L[0],L[1]);break;case 3:O(L[0],L[1],L[2]);break;default:O.apply(n,L)}})(x)}finally{s(S),c=!1}}}}function v(S){S.source===o&&typeof S.data=="string"&&S.data.indexOf(p)===0&&d(+S.data.slice(p.length))}})(typeof self=="undefined"?l===void 0?this:l:self)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})});export default At();
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
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
*/
//# sourceMappingURL=jszip.min-QZ4ZBVAS.js.map