xh-htmlword 1.2.1 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/xh.js +21 -13
- package/dist/xh.umd.cjs +4 -4
- package/package.json +39 -39
package/dist/xh.js
CHANGED
@@ -5047,14 +5047,14 @@ var wa = Object.getOwnPropertyNames, Ut = /* @__PURE__ */ ((r) => typeof require
|
|
5047
5047
|
switch (Q.orientation) {
|
5048
5048
|
case "landscape":
|
5049
5049
|
return {
|
5050
|
-
height: 12240,
|
5051
|
-
width: 15840,
|
5050
|
+
height: Q.height || 12240,
|
5051
|
+
width: Q.width || 15840,
|
5052
5052
|
orient: "landscape"
|
5053
5053
|
};
|
5054
5054
|
default:
|
5055
5055
|
return {
|
5056
|
-
width: 12240,
|
5057
|
-
height: 15840,
|
5056
|
+
width: Q.width || 12240,
|
5057
|
+
height: Q.height || 15840,
|
5058
5058
|
orient: "portrait"
|
5059
5059
|
};
|
5060
5060
|
}
|
@@ -10245,9 +10245,9 @@ const $C = Array.isArray, AQ = (r, e, A) => new Promise((t, n) => {
|
|
10245
10245
|
r.setAttribute("src", C), Q.remove(), s();
|
10246
10246
|
};
|
10247
10247
|
});
|
10248
|
-
}),
|
10248
|
+
}), iQ = async ({
|
10249
10249
|
dom: r,
|
10250
|
-
fileName: e =
|
10250
|
+
fileName: e = nQ(),
|
10251
10251
|
timeOut: A = 5e3,
|
10252
10252
|
callBack: t,
|
10253
10253
|
options: n = {},
|
@@ -10300,14 +10300,22 @@ const $C = Array.isArray, AQ = (r, e, A) => new Promise((t, n) => {
|
|
10300
10300
|
<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'><head>
|
10301
10301
|
</head>
|
10302
10302
|
<body>
|
10303
|
-
${g.outerHTML}
|
10303
|
+
${eQ(g.outerHTML)}
|
10304
10304
|
</body>
|
10305
|
-
</html>`, p =
|
10305
|
+
</html>`, p = tQ(U, a), v = Ua.asBlob(p, n);
|
10306
10306
|
va(v, `${e}.docx`), t && t(v);
|
10307
10307
|
});
|
10308
10308
|
};
|
10309
|
-
function eQ(r
|
10310
|
-
|
10309
|
+
function eQ(r) {
|
10310
|
+
let e = "";
|
10311
|
+
for (var A = 0; A < r.length; A++) {
|
10312
|
+
var t = r.charCodeAt(A);
|
10313
|
+
t > 127 ? e += "&#x" + t.toString(16) + ";" : e += r[A];
|
10314
|
+
}
|
10315
|
+
return e;
|
10316
|
+
}
|
10317
|
+
function tQ(r, e) {
|
10318
|
+
return r = r.replace(/break-before: page/g, "page-break-before: always"), e && [...rQ(e)].forEach((A) => {
|
10311
10319
|
if (r.includes(fi(A.selectorText))) {
|
10312
10320
|
let t = new RegExp(`class="${fi(A.selectorText)}"`, "g");
|
10313
10321
|
r = r.replace(t, `style="${A.style.cssText}"`);
|
@@ -10320,13 +10328,13 @@ function fi(r) {
|
|
10320
10328
|
return e[1];
|
10321
10329
|
console.log("没有找到匹配的部分");
|
10322
10330
|
}
|
10323
|
-
function
|
10331
|
+
function rQ(r) {
|
10324
10332
|
return [...document.styleSheets].reverse().find(({ cssRules: t }) => [...t].find((n) => n.selectorText.includes(r))).cssRules;
|
10325
10333
|
}
|
10326
|
-
const
|
10334
|
+
const nQ = () => {
|
10327
10335
|
const r = /* @__PURE__ */ new Date(), e = r.getFullYear(), A = ("0" + (r.getMonth() + 1)).slice(-2), t = ("0" + r.getDate()).slice(-2);
|
10328
10336
|
return `${e}${A}${t}`;
|
10329
10337
|
};
|
10330
10338
|
export {
|
10331
|
-
|
10339
|
+
iQ as default
|
10332
10340
|
};
|
package/dist/xh.umd.cjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
(function($e,we){typeof exports=="object"&&typeof module<"u"?module.exports=we():typeof define=="function"&&define.amd?define(we):($e=typeof globalThis<"u"?globalThis:$e||self,$e["xh-html-word"]=we())})(this,function(){"use strict";var $e=Object.getOwnPropertyNames,we=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,A)=>(typeof require<"u"?require:e)[A]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')}),Ia=(r,e)=>function(){return e||(0,r[$e(r)[0]])((e={exports:{}}).exports,e),e.exports},da=Ia({"node_modules/html-docx-js/dist/html-docx.js"(r,e){(function(A){if(typeof r=="object"&&typeof e<"u")e.exports=A();else if(typeof define=="function"&&define.amd)define([],A);else{var t;typeof window<"u"?t=window:typeof global<"u"?t=global:typeof self<"u"&&(t=self),t.htmlDocx=A()}})(function(){return function A(t,n,i){function a(g,Q){if(!n[g]){if(!t[g]){var c=typeof we=="function"&&we;if(!Q&&c)return c(g,!0);if(o)return o(g,!0);throw new Error("Cannot find module '"+g+"'")}var h=n[g]={exports:{}};t[g][0].call(h.exports,function(C){var f=t[g][1][C];return a(f||C)},h,h.exports,A,t,n,i)}return n[g].exports}for(var o=typeof we=="function"&&we,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(A,t,n){var i=A("base64-js"),a=A("ieee754"),o=A("is-array");n.Buffer=g,n.SlowBuffer=g,n.INSPECT_MAX_BYTES=50,g.poolSize=8192;var s=1073741823;g.TYPED_ARRAY_SUPPORT=function(){try{var l=new ArrayBuffer(0),I=new Uint8Array(l);return I.foo=function(){return 42},I.foo()===42&&typeof I.subarray=="function"&&new Uint8Array(1).subarray(1,1).byteLength===0}catch{return!1}}();function g(l,I,y){if(!(this instanceof g))return new g(l,I,y);var M=typeof l,X;if(M==="number")X=l>0?l>>>0:0;else if(M==="string")I==="base64"&&(l=iA(l)),X=g.byteLength(l,I);else if(M==="object"&&l!==null)l.type==="Buffer"&&o(l.data)&&(l=l.data),X=+l.length>0?Math.floor(+l.length):0;else throw new TypeError("must start with number, buffer, array or string");if(this.length>s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");var z;g.TYPED_ARRAY_SUPPORT?z=g._augment(new Uint8Array(X)):(z=this,z.length=X,z._isBuffer=!0);var AA;if(g.TYPED_ARRAY_SUPPORT&&typeof l.byteLength=="number")z._set(l);else if(S(l))if(g.isBuffer(l))for(AA=0;AA<X;AA++)z[AA]=l.readUInt8(AA);else for(AA=0;AA<X;AA++)z[AA]=(l[AA]%256+256)%256;else if(M==="string")z.write(l,0,I);else if(M==="number"&&!g.TYPED_ARRAY_SUPPORT&&!y)for(AA=0;AA<X;AA++)z[AA]=0;return z}g.isBuffer=function(l){return!!(l!=null&&l._isBuffer)},g.compare=function(l,I){if(!g.isBuffer(l)||!g.isBuffer(I))throw new TypeError("Arguments must be Buffers");for(var y=l.length,M=I.length,X=0,z=Math.min(y,M);X<z&&l[X]===I[X];X++);return X!==z&&(y=l[X],M=I[X]),y<M?-1:M<y?1:0},g.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(l,I){if(!o(l))throw new TypeError("Usage: Buffer.concat(list[, length])");if(l.length===0)return new g(0);if(l.length===1)return l[0];var y;if(I===void 0)for(I=0,y=0;y<l.length;y++)I+=l[y].length;var M=new g(I),X=0;for(y=0;y<l.length;y++){var z=l[y];z.copy(M,X),X+=z.length}return M},g.byteLength=function(l,I){var y;switch(l=l+"",I||"utf8"){case"ascii":case"binary":case"raw":y=l.length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":y=l.length*2;break;case"hex":y=l.length>>>1;break;case"utf8":case"utf-8":y=J(l).length;break;case"base64":y=sA(l).length;break;default:y=l.length}return y},g.prototype.length=void 0,g.prototype.parent=void 0,g.prototype.toString=function(l,I,y){var M=!1;if(I=I>>>0,y=y===void 0||y===1/0?this.length:y>>>0,l||(l="utf8"),I<0&&(I=0),y>this.length&&(y=this.length),y<=I)return"";for(;;)switch(l){case"hex":return k(this,I,y);case"utf8":case"utf-8":return p(this,I,y);case"ascii":return v(this,I,y);case"binary":return K(this,I,y);case"base64":return U(this,I,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,I,y);default:if(M)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),M=!0}},g.prototype.equals=function(l){if(!g.isBuffer(l))throw new TypeError("Argument must be a Buffer");return g.compare(this,l)===0},g.prototype.inspect=function(){var l="",I=n.INSPECT_MAX_BYTES;return this.length>0&&(l=this.toString("hex",0,I).match(/.{2}/g).join(" "),this.length>I&&(l+=" ... ")),"<Buffer "+l+">"},g.prototype.compare=function(l){if(!g.isBuffer(l))throw new TypeError("Argument must be a Buffer");return g.compare(this,l)},g.prototype.get=function(l){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(l)},g.prototype.set=function(l,I){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(l,I)};function Q(l,I,y,M){y=Number(y)||0;var X=l.length-y;M?(M=Number(M),M>X&&(M=X)):M=X;var z=I.length;if(z%2!==0)throw new Error("Invalid hex string");M>z/2&&(M=z/2);for(var AA=0;AA<M;AA++){var fA=parseInt(I.substr(AA*2,2),16);if(isNaN(fA))throw new Error("Invalid hex string");l[y+AA]=fA}return AA}function c(l,I,y,M){var X=QA(J(I),l,y,M);return X}function h(l,I,y,M){var X=QA(eA(I),l,y,M);return X}function C(l,I,y,M){return h(l,I,y,M)}function f(l,I,y,M){var X=QA(sA(I),l,y,M);return X}function u(l,I,y,M){var X=QA(gA(I),l,y,M,2);return X}g.prototype.write=function(l,I,y,M){if(isFinite(I))isFinite(y)||(M=y,y=void 0);else{var X=M;M=I,I=y,y=X}I=Number(I)||0;var z=this.length-I;y?(y=Number(y),y>z&&(y=z)):y=z,M=String(M||"utf8").toLowerCase();var AA;switch(M){case"hex":AA=Q(this,l,I,y);break;case"utf8":case"utf-8":AA=c(this,l,I,y);break;case"ascii":AA=h(this,l,I,y);break;case"binary":AA=C(this,l,I,y);break;case"base64":AA=f(this,l,I,y);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":AA=u(this,l,I,y);break;default:throw new TypeError("Unknown encoding: "+M)}return AA},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(l,I,y){return I===0&&y===l.length?i.fromByteArray(l):i.fromByteArray(l.slice(I,y))}function p(l,I,y){var M="",X="";y=Math.min(l.length,y);for(var z=I;z<y;z++)l[z]<=127?(M+=lA(X)+String.fromCharCode(l[z]),X=""):X+="%"+l[z].toString(16);return M+lA(X)}function v(l,I,y){var M="";y=Math.min(l.length,y);for(var X=I;X<y;X++)M+=String.fromCharCode(l[X]);return M}function K(l,I,y){return v(l,I,y)}function k(l,I,y){var M=l.length;(!I||I<0)&&(I=0),(!y||y<0||y>M)&&(y=M);for(var X="",z=I;z<y;z++)X+=T(l[z]);return X}function L(l,I,y){for(var M=l.slice(I,y),X="",z=0;z<M.length;z+=2)X+=String.fromCharCode(M[z]+M[z+1]*256);return X}g.prototype.slice=function(l,I){var y=this.length;if(l=~~l,I=I===void 0?y:~~I,l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),I<0?(I+=y,I<0&&(I=0)):I>y&&(I=y),I<l&&(I=l),g.TYPED_ARRAY_SUPPORT)return g._augment(this.subarray(l,I));for(var M=I-l,X=new g(M,void 0,!0),z=0;z<M;z++)X[z]=this[z+l];return X};function F(l,I,y){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+I>y)throw new RangeError("Trying to access beyond buffer length")}g.prototype.readUInt8=function(l,I){return I||F(l,1,this.length),this[l]},g.prototype.readUInt16LE=function(l,I){return I||F(l,2,this.length),this[l]|this[l+1]<<8},g.prototype.readUInt16BE=function(l,I){return I||F(l,2,this.length),this[l]<<8|this[l+1]},g.prototype.readUInt32LE=function(l,I){return I||F(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},g.prototype.readUInt32BE=function(l,I){return I||F(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},g.prototype.readInt8=function(l,I){return I||F(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},g.prototype.readInt16LE=function(l,I){I||F(l,2,this.length);var y=this[l]|this[l+1]<<8;return y&32768?y|4294901760:y},g.prototype.readInt16BE=function(l,I){I||F(l,2,this.length);var y=this[l+1]|this[l]<<8;return y&32768?y|4294901760:y},g.prototype.readInt32LE=function(l,I){return I||F(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},g.prototype.readInt32BE=function(l,I){return I||F(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},g.prototype.readFloatLE=function(l,I){return I||F(l,4,this.length),a.read(this,l,!0,23,4)},g.prototype.readFloatBE=function(l,I){return I||F(l,4,this.length),a.read(this,l,!1,23,4)},g.prototype.readDoubleLE=function(l,I){return I||F(l,8,this.length),a.read(this,l,!0,52,8)},g.prototype.readDoubleBE=function(l,I){return I||F(l,8,this.length),a.read(this,l,!1,52,8)};function O(l,I,y,M,X,z){if(!g.isBuffer(l))throw new TypeError("buffer must be a Buffer instance");if(I>X||I<z)throw new TypeError("value is out of bounds");if(y+M>l.length)throw new TypeError("index out of range")}g.prototype.writeUInt8=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,1,255,0),g.TYPED_ARRAY_SUPPORT||(l=Math.floor(l)),this[I]=l,I+1};function D(l,I,y,M){I<0&&(I=65535+I+1);for(var X=0,z=Math.min(l.length-y,2);X<z;X++)l[y+X]=(I&255<<8*(M?X:1-X))>>>(M?X:1-X)*8}g.prototype.writeUInt16LE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[I]=l,this[I+1]=l>>>8):D(this,l,I,!0),I+2},g.prototype.writeUInt16BE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[I]=l>>>8,this[I+1]=l):D(this,l,I,!1),I+2};function V(l,I,y,M){I<0&&(I=4294967295+I+1);for(var X=0,z=Math.min(l.length-y,4);X<z;X++)l[y+X]=I>>>(M?X:3-X)*8&255}g.prototype.writeUInt32LE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[I+3]=l>>>24,this[I+2]=l>>>16,this[I+1]=l>>>8,this[I]=l):V(this,l,I,!0),I+4},g.prototype.writeUInt32BE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[I]=l>>>24,this[I+1]=l>>>16,this[I+2]=l>>>8,this[I+3]=l):V(this,l,I,!1),I+4},g.prototype.writeInt8=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,1,127,-128),g.TYPED_ARRAY_SUPPORT||(l=Math.floor(l)),l<0&&(l=255+l+1),this[I]=l,I+1},g.prototype.writeInt16LE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[I]=l,this[I+1]=l>>>8):D(this,l,I,!0),I+2},g.prototype.writeInt16BE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[I]=l>>>8,this[I+1]=l):D(this,l,I,!1),I+2},g.prototype.writeInt32LE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,4,2147483647,-2147483648),g.TYPED_ARRAY_SUPPORT?(this[I]=l,this[I+1]=l>>>8,this[I+2]=l>>>16,this[I+3]=l>>>24):V(this,l,I,!0),I+4},g.prototype.writeInt32BE=function(l,I,y){return l=+l,I=I>>>0,y||O(this,l,I,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),g.TYPED_ARRAY_SUPPORT?(this[I]=l>>>24,this[I+1]=l>>>16,this[I+2]=l>>>8,this[I+3]=l):V(this,l,I,!1),I+4};function Y(l,I,y,M,X,z){if(I>X||I<z)throw new TypeError("value is out of bounds");if(y+M>l.length)throw new TypeError("index out of range")}function q(l,I,y,M,X){return X||Y(l,I,y,4,34028234663852886e22,-34028234663852886e22),a.write(l,I,y,M,23,4),y+4}g.prototype.writeFloatLE=function(l,I,y){return q(this,l,I,!0,y)},g.prototype.writeFloatBE=function(l,I,y){return q(this,l,I,!1,y)};function W(l,I,y,M,X){return X||Y(l,I,y,8,17976931348623157e292,-17976931348623157e292),a.write(l,I,y,M,52,8),y+8}g.prototype.writeDoubleLE=function(l,I,y){return W(this,l,I,!0,y)},g.prototype.writeDoubleBE=function(l,I,y){return W(this,l,I,!1,y)},g.prototype.copy=function(l,I,y,M){var X=this;if(y||(y=0),!M&&M!==0&&(M=this.length),I||(I=0),M!==y&&!(l.length===0||X.length===0)){if(M<y)throw new TypeError("sourceEnd < sourceStart");if(I<0||I>=l.length)throw new TypeError("targetStart out of bounds");if(y<0||y>=X.length)throw new TypeError("sourceStart out of bounds");if(M<0||M>X.length)throw new TypeError("sourceEnd out of bounds");M>this.length&&(M=this.length),l.length-I<M-y&&(M=l.length-I+y);var z=M-y;if(z<1e3||!g.TYPED_ARRAY_SUPPORT)for(var AA=0;AA<z;AA++)l[AA+I]=this[AA+y];else l._set(this.subarray(y,y+z),I)}},g.prototype.fill=function(l,I,y){if(l||(l=0),I||(I=0),y||(y=this.length),y<I)throw new TypeError("end < start");if(y!==I&&this.length!==0){if(I<0||I>=this.length)throw new TypeError("start out of bounds");if(y<0||y>this.length)throw new TypeError("end out of bounds");var M;if(typeof l=="number")for(M=I;M<y;M++)this[M]=l;else{var X=J(l.toString()),z=X.length;for(M=I;M<y;M++)this[M]=X[M%z]}return this}},g.prototype.toArrayBuffer=function(){if(typeof Uint8Array<"u"){if(g.TYPED_ARRAY_SUPPORT)return new g(this).buffer;for(var l=new Uint8Array(this.length),I=0,y=l.length;I<y;I+=1)l[I]=this[I];return l.buffer}else throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var N=g.prototype;g._augment=function(l){return l.constructor=g,l._isBuffer=!0,l._get=l.get,l._set=l.set,l.get=N.get,l.set=N.set,l.write=N.write,l.toString=N.toString,l.toLocaleString=N.toString,l.toJSON=N.toJSON,l.equals=N.equals,l.compare=N.compare,l.copy=N.copy,l.slice=N.slice,l.readUInt8=N.readUInt8,l.readUInt16LE=N.readUInt16LE,l.readUInt16BE=N.readUInt16BE,l.readUInt32LE=N.readUInt32LE,l.readUInt32BE=N.readUInt32BE,l.readInt8=N.readInt8,l.readInt16LE=N.readInt16LE,l.readInt16BE=N.readInt16BE,l.readInt32LE=N.readInt32LE,l.readInt32BE=N.readInt32BE,l.readFloatLE=N.readFloatLE,l.readFloatBE=N.readFloatBE,l.readDoubleLE=N.readDoubleLE,l.readDoubleBE=N.readDoubleBE,l.writeUInt8=N.writeUInt8,l.writeUInt16LE=N.writeUInt16LE,l.writeUInt16BE=N.writeUInt16BE,l.writeUInt32LE=N.writeUInt32LE,l.writeUInt32BE=N.writeUInt32BE,l.writeInt8=N.writeInt8,l.writeInt16LE=N.writeInt16LE,l.writeInt16BE=N.writeInt16BE,l.writeInt32LE=N.writeInt32LE,l.writeInt32BE=N.writeInt32BE,l.writeFloatLE=N.writeFloatLE,l.writeFloatBE=N.writeFloatBE,l.writeDoubleLE=N.writeDoubleLE,l.writeDoubleBE=N.writeDoubleBE,l.fill=N.fill,l.inspect=N.inspect,l.toArrayBuffer=N.toArrayBuffer,l};var $=/[^+\/0-9A-z]/g;function iA(l){for(l=b(l).replace($,"");l.length%4!==0;)l=l+"=";return l}function b(l){return l.trim?l.trim():l.replace(/^\s+|\s+$/g,"")}function S(l){return o(l)||g.isBuffer(l)||l&&typeof l=="object"&&typeof l.length=="number"}function T(l){return l<16?"0"+l.toString(16):l.toString(16)}function J(l){for(var I=[],y=0;y<l.length;y++){var M=l.charCodeAt(y);if(M<=127)I.push(M);else{var X=y;M>=55296&&M<=57343&&y++;for(var z=encodeURIComponent(l.slice(X,y+1)).substr(1).split("%"),AA=0;AA<z.length;AA++)I.push(parseInt(z[AA],16))}}return I}function eA(l){for(var I=[],y=0;y<l.length;y++)I.push(l.charCodeAt(y)&255);return I}function gA(l){for(var I,y,M,X=[],z=0;z<l.length;z++)I=l.charCodeAt(z),y=I>>8,M=I%256,X.push(M),X.push(y);return X}function sA(l){return i.toByteArray(l)}function QA(l,I,y,M,X){X&&(M-=M%X);for(var z=0;z<M&&!(z+y>=I.length||z>=l.length);z++)I[z+y]=l[z];return z}function lA(l){try{return decodeURIComponent(l)}catch{return"�"}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(A,t,n){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(a){var o=typeof Uint8Array<"u"?Uint8Array:Array,s=43,g=47,Q=48,c=97,h=65;function C(U){var p=U.charCodeAt(0);if(p===s)return 62;if(p===g)return 63;if(p<Q)return-1;if(p<Q+10)return p-Q+26+26;if(p<h+26)return p-h;if(p<c+26)return p-c+26}function f(U){var p,v,K,k,L,F;if(U.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var O=U.length;L=U.charAt(O-2)==="="?2:U.charAt(O-1)==="="?1:0,F=new o(U.length*3/4-L),K=L>0?U.length-4:U.length;var D=0;function V(Y){F[D++]=Y}for(p=0,v=0;p<K;p+=4,v+=3)k=C(U.charAt(p))<<18|C(U.charAt(p+1))<<12|C(U.charAt(p+2))<<6|C(U.charAt(p+3)),V((k&16711680)>>16),V((k&65280)>>8),V(k&255);return L===2?(k=C(U.charAt(p))<<2|C(U.charAt(p+1))>>4,V(k&255)):L===1&&(k=C(U.charAt(p))<<10|C(U.charAt(p+1))<<4|C(U.charAt(p+2))>>2,V(k>>8&255),V(k&255)),F}function u(U){var p,v=U.length%3,K="",k,L;function F(D){return i.charAt(D)}function O(D){return F(D>>18&63)+F(D>>12&63)+F(D>>6&63)+F(D&63)}for(p=0,L=U.length-v;p<L;p+=3)k=(U[p]<<16)+(U[p+1]<<8)+U[p+2],K+=O(k);switch(v){case 1:k=U[U.length-1],K+=F(k>>2),K+=F(k<<4&63),K+="==";break;case 2:k=(U[U.length-2]<<8)+U[U.length-1],K+=F(k>>10),K+=F(k>>4&63),K+=F(k<<2&63),K+="=";break}return K}a.toByteArray=f,a.fromByteArray=u})(typeof n>"u"?this.base64js={}:n)},{}],3:[function(A,t,n){n.read=function(i,a,o,s,g){var Q,c,h=g*8-s-1,C=(1<<h)-1,f=C>>1,u=-7,U=o?g-1:0,p=o?-1:1,v=i[a+U];for(U+=p,Q=v&(1<<-u)-1,v>>=-u,u+=h;u>0;Q=Q*256+i[a+U],U+=p,u-=8);for(c=Q&(1<<-u)-1,Q>>=-u,u+=s;u>0;c=c*256+i[a+U],U+=p,u-=8);if(Q===0)Q=1-f;else{if(Q===C)return c?NaN:(v?-1:1)*(1/0);c=c+Math.pow(2,s),Q=Q-f}return(v?-1:1)*c*Math.pow(2,Q-s)},n.write=function(i,a,o,s,g,Q){var c,h,C,f=Q*8-g-1,u=(1<<f)-1,U=u>>1,p=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=s?0:Q-1,K=s?1:-1,k=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(h=isNaN(a)?1:0,c=u):(c=Math.floor(Math.log(a)/Math.LN2),a*(C=Math.pow(2,-c))<1&&(c--,C*=2),c+U>=1?a+=p/C:a+=p*Math.pow(2,1-U),a*C>=2&&(c++,C/=2),c+U>=u?(h=0,c=u):c+U>=1?(h=(a*C-1)*Math.pow(2,g),c=c+U):(h=a*Math.pow(2,U-1)*Math.pow(2,g),c=0));g>=8;i[o+v]=h&255,v+=K,h/=256,g-=8);for(c=c<<g|h,f+=g;f>0;i[o+v]=c&255,v+=K,c/=256,f-=8);i[o+v-K]|=k*128}},{}],4:[function(A,t,n){var i=Array.isArray,a=Object.prototype.toString;t.exports=i||function(o){return!!o&&a.call(o)=="[object Array]"}},{}],5:[function(A,t,n){var i=A("./dataReader");function a(o){if(o){this.data=o,this.length=this.data.length,this.index=0,this.zero=0;for(var s=0;s<this.data.length;s++)o[s]=o[s]&255}}a.prototype=new i,a.prototype.byteAt=function(o){return this.data[this.zero+o]},a.prototype.lastIndexOfSignature=function(o){for(var s=o.charCodeAt(0),g=o.charCodeAt(1),Q=o.charCodeAt(2),c=o.charCodeAt(3),h=this.length-4;h>=0;--h)if(this.data[h]===s&&this.data[h+1]===g&&this.data[h+2]===Q&&this.data[h+3]===c)return h-this.zero;return-1},a.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var s=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,s},t.exports=a},{"./dataReader":10}],6:[function(A,t,n){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(a,o){for(var s="",g,Q,c,h,C,f,u,U=0;U<a.length;)g=a.charCodeAt(U++),Q=a.charCodeAt(U++),c=a.charCodeAt(U++),h=g>>2,C=(g&3)<<4|Q>>4,f=(Q&15)<<2|c>>6,u=c&63,isNaN(Q)?f=u=64:isNaN(c)&&(u=64),s=s+i.charAt(h)+i.charAt(C)+i.charAt(f)+i.charAt(u);return s},n.decode=function(a,o){var s="",g,Q,c,h,C,f,u,U=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");U<a.length;)h=i.indexOf(a.charAt(U++)),C=i.indexOf(a.charAt(U++)),f=i.indexOf(a.charAt(U++)),u=i.indexOf(a.charAt(U++)),g=h<<2|C>>4,Q=(C&15)<<4|f>>2,c=(f&3)<<6|u,s=s+String.fromCharCode(g),f!=64&&(s=s+String.fromCharCode(Q)),u!=64&&(s=s+String.fromCharCode(c));return s}},{}],7:[function(A,t,n){function i(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}i.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=i},{}],8:[function(A,t,n){n.STORE={magic:"\0\0",compress:function(i,a){return i},uncompress:function(i){return i},compressInputType:null,uncompressInputType:null},n.DEFLATE=A("./flate")},{"./flate":13}],9:[function(A,t,n){var i=A("./utils"),a=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(s,g){if(typeof s>"u"||!s.length)return 0;var Q=i.getTypeOf(s)!=="string";typeof g>"u"&&(g=0);var c=0,h=0,C=0;g=g^-1;for(var f=0,u=s.length;f<u;f++)C=Q?s[f]:s.charCodeAt(f),h=(g^C)&255,c=a[h],g=g>>>8^c;return g^-1}},{"./utils":26}],10:[function(A,t,n){var i=A("./utils");function a(o){this.data=null,this.length=0,this.index=0,this.zero=0}a.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length<this.zero+o||o<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+o+"). Corrupted zip ?")},setIndex:function(o){this.checkIndex(o),this.index=o},skip:function(o){this.setIndex(this.index+o)},byteAt:function(o){},readInt:function(o){var s=0,g;for(this.checkOffset(o),g=this.index+o-1;g>=this.index;g--)s=(s<<8)+this.byteAt(g);return this.index+=o,s},readString:function(o){return i.transformTo("string",this.readData(o))},readData:function(o){},lastIndexOfSignature:function(o){},readDate:function(){var o=this.readInt(4);return new Date((o>>25&127)+1980,(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(o&31)<<1)}},t.exports=a},{"./utils":26}],11:[function(A,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],12:[function(A,t,n){var i=A("./utils");n.string2binary=function(a){return i.string2binary(a)},n.string2Uint8Array=function(a){return i.transformTo("uint8array",a)},n.uint8Array2String=function(a){return i.transformTo("string",a)},n.string2Blob=function(a){var o=i.transformTo("arraybuffer",a);return i.arrayBuffer2Blob(o)},n.arrayBuffer2Blob=function(a){return i.arrayBuffer2Blob(a)},n.transformTo=function(a,o){return i.transformTo(a,o)},n.getTypeOf=function(a){return i.getTypeOf(a)},n.checkSupport=function(a){return i.checkSupport(a)},n.MAX_VALUE_16BITS=i.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=i.MAX_VALUE_32BITS,n.pretty=function(a){return i.pretty(a)},n.findCompression=function(a){return i.findCompression(a)},n.isRegExp=function(a){return i.isRegExp(a)}},{"./utils":26}],13:[function(A,t,n){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=A("pako");n.uncompressInputType=i?"uint8array":"array",n.compressInputType=i?"uint8array":"array",n.magic="\b\0",n.compress=function(o,s){return a.deflateRaw(o,{level:s.level||-1})},n.uncompress=function(o){return a.inflateRaw(o)}},{pako:29}],14:[function(A,t,n){var i=A("./base64");function a(o,s){if(!(this instanceof a))return new a(o,s);this.files={},this.comment=null,this.root="",o&&this.load(o,s),this.clone=function(){var g=new a;for(var Q in this)typeof this[Q]!="function"&&(g[Q]=this[Q]);return g}}a.prototype=A("./object"),a.prototype.load=A("./load"),a.support=A("./support"),a.defaults=A("./defaults"),a.utils=A("./deprecatedPublicUtils"),a.base64={encode:function(o){return i.encode(o)},decode:function(o){return i.decode(o)}},a.compressions=A("./compressions"),t.exports=a},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(A,t,n){var i=A("./base64"),a=A("./utf8"),o=A("./utils"),s=A("./zipEntries");t.exports=function(g,Q){var c,h,C,f;for(Q=o.extend(Q||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),Q.base64&&(g=i.decode(g)),h=new s(g,Q),c=h.files,C=0;C<c.length;C++)f=c[C],this.file(f.fileNameStr,f.decompressed,{binary:!0,optimizedBinaryString:!0,date:f.date,dir:f.dir,comment:f.fileCommentStr.length?f.fileCommentStr:null,unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions,createFolders:Q.createFolders});return h.zipComment.length&&(this.comment=h.zipComment),this}},{"./base64":6,"./utf8":25,"./utils":26,"./zipEntries":27}],16:[function(A,t,n){(function(i){t.exports=function(a,o){return new i(a,o)},t.exports.test=function(a){return i.isBuffer(a)}}).call(this,A("buffer").Buffer)},{buffer:1}],17:[function(A,t,n){var i=A("./uint8ArrayReader");function a(o){this.data=o,this.length=this.data.length,this.index=0,this.zero=0}a.prototype=new i,a.prototype.readData=function(o){this.checkOffset(o);var s=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,s},t.exports=a},{"./uint8ArrayReader":23}],18:[function(A,t,n){var i=A("./support"),a=A("./utils"),o=A("./crc32"),s=A("./signature"),g=A("./defaults"),Q=A("./base64"),c=A("./compressions"),h=A("./compressedObject"),C=A("./nodeBuffer"),f=A("./utf8"),u=A("./stringWriter"),U=A("./uint8ArrayWriter"),p=function(b){if(b._data instanceof h&&(b._data=b._data.getContent(),b.options.binary=!0,b.options.base64=!1,a.getTypeOf(b._data)==="uint8array")){var S=b._data;b._data=new Uint8Array(S.length),S.length!==0&&b._data.set(S,0)}return b._data},v=function(b){var S=p(b),T=a.getTypeOf(S);return T==="string"?!b.options.binary&&i.nodebuffer?C(S,"utf-8"):b.asBinary():S},K=function(b){var S=p(this);return S===null||typeof S>"u"?"":(this.options.base64&&(S=Q.decode(S)),b&&this.options.binary?S=iA.utf8decode(S):S=a.transformTo("string",S),!b&&!this.options.binary&&(S=a.transformTo("string",iA.utf8encode(S))),S)},k=function(b,S,T){this.name=b,this.dir=T.dir,this.date=T.date,this.comment=T.comment,this.unixPermissions=T.unixPermissions,this.dosPermissions=T.dosPermissions,this._data=S,this.options=T,this._initialMetadata={dir:T.dir,date:T.date}};k.prototype={asText:function(){return K.call(this,!0)},asBinary:function(){return K.call(this,!1)},asNodeBuffer:function(){var b=v(this);return a.transformTo("nodebuffer",b)},asUint8Array:function(){var b=v(this);return a.transformTo("uint8array",b)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var L=function(b,S){var T="",J;for(J=0;J<S;J++)T+=String.fromCharCode(b&255),b=b>>>8;return T},F=function(b){return b=b||{},b.base64===!0&&(b.binary===null||b.binary===void 0)&&(b.binary=!0),b=a.extend(b,g),b.date=b.date||new Date,b.compression!==null&&(b.compression=b.compression.toUpperCase()),b},O=function(b,S,T){var J=a.getTypeOf(S),eA;if(T=F(T),typeof T.unixPermissions=="string"&&(T.unixPermissions=parseInt(T.unixPermissions,8)),T.unixPermissions&&T.unixPermissions&16384&&(T.dir=!0),T.dosPermissions&&T.dosPermissions&16&&(T.dir=!0),T.dir&&(b=V(b)),T.createFolders&&(eA=D(b))&&Y.call(this,eA,!0),T.dir||S===null||typeof S>"u")T.base64=!1,T.binary=!1,S=null,J=null;else if(J==="string")T.binary&&!T.base64&&T.optimizedBinaryString!==!0&&(S=a.string2binary(S));else{if(T.base64=!1,T.binary=!0,!J&&!(S instanceof h))throw new Error("The data of '"+b+"' is in an unsupported format !");J==="arraybuffer"&&(S=a.transformTo("uint8array",S))}var gA=new k(b,S,T);return this.files[b]=gA,gA},D=function(b){b.slice(-1)=="/"&&(b=b.substring(0,b.length-1));var S=b.lastIndexOf("/");return S>0?b.substring(0,S):""},V=function(b){return b.slice(-1)!="/"&&(b+="/"),b},Y=function(b,S){return S=typeof S<"u"?S:!1,b=V(b),this.files[b]||O.call(this,b,null,{dir:!0,createFolders:S}),this.files[b]},q=function(b,S,T){var J=new h,eA;return b._data instanceof h?(J.uncompressedSize=b._data.uncompressedSize,J.crc32=b._data.crc32,J.uncompressedSize===0||b.dir?(S=c.STORE,J.compressedContent="",J.crc32=0):b._data.compressionMethod===S.magic?J.compressedContent=b._data.getCompressedContent():(eA=b._data.getContent(),J.compressedContent=S.compress(a.transformTo(S.compressInputType,eA),T))):(eA=v(b),(!eA||eA.length===0||b.dir)&&(S=c.STORE,eA=""),J.uncompressedSize=eA.length,J.crc32=o(eA),J.compressedContent=S.compress(a.transformTo(S.compressInputType,eA),T)),J.compressedSize=J.compressedContent.length,J.compressionMethod=S.magic,J},W=function(b,S){var T=b;return b||(T=S?16893:33204),(T&65535)<<16},N=function(b,S){return(b||0)&63},$=function(b,S,T,J,eA,gA){T.compressedContent;var sA=gA!==f.utf8encode,QA=a.transformTo("string",gA(S.name)),lA=a.transformTo("string",f.utf8encode(S.name)),l=S.comment||"",I=a.transformTo("string",gA(l)),y=a.transformTo("string",f.utf8encode(l)),M=lA.length!==S.name.length,X=y.length!==l.length,z=S.options,AA,fA,hA="",KA="",PA="",MA,cA;S._initialMetadata.dir!==S.dir?MA=S.dir:MA=z.dir,S._initialMetadata.date!==S.date?cA=S.date:cA=z.date;var TA=0,ae=0;MA&&(TA|=16),eA==="UNIX"?(ae=798,TA|=W(S.unixPermissions,MA)):(ae=20,TA|=N(S.dosPermissions)),AA=cA.getHours(),AA=AA<<6,AA=AA|cA.getMinutes(),AA=AA<<5,AA=AA|cA.getSeconds()/2,fA=cA.getFullYear()-1980,fA=fA<<4,fA=fA|cA.getMonth()+1,fA=fA<<5,fA=fA|cA.getDate(),M&&(KA=L(1,1)+L(o(QA),4)+lA,hA+="up"+L(KA.length,2)+KA),X&&(PA=L(1,1)+L(this.crc32(I),4)+y,hA+="uc"+L(PA.length,2)+PA);var FA="";FA+=`
|
2
|
-
\0`,FA+=!sA&&(M||X)?"\0\b":"\0\0",FA+=T.compressionMethod,FA+=L(AA,2),FA+=L(fA,2),FA+=L(T.crc32,4),FA+=L(T.compressedSize,4),FA+=L(T.uncompressedSize,4),FA+=L(QA.length,2),FA+=L(hA.length,2);var zA=s.LOCAL_FILE_HEADER+FA+QA+hA,vA=s.CENTRAL_FILE_HEADER+L(ae,2)+FA+L(I.length,2)+"\0\0\0\0"+L(TA,4)+L(J,4)+QA+hA+I;return{fileRecord:zA,dirRecord:vA,compressedObject:T}},iA={load:function(b,S){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(b){var S=[],T,J,eA,gA;for(T in this.files)this.files.hasOwnProperty(T)&&(eA=this.files[T],gA=new k(eA.name,eA._data,a.extend(eA.options)),J=T.slice(this.root.length,T.length),T.slice(0,this.root.length)===this.root&&b(J,gA)&&S.push(gA));return S},file:function(b,S,T){if(arguments.length===1)if(a.isRegExp(b)){var J=b;return this.filter(function(eA,gA){return!gA.dir&&J.test(eA)})}else return this.filter(function(eA,gA){return!gA.dir&&eA===b})[0]||null;else b=this.root+b,O.call(this,b,S,T);return this},folder:function(b){if(!b)return this;if(a.isRegExp(b))return this.filter(function(eA,gA){return gA.dir&&b.test(eA)});var S=this.root+b,T=Y.call(this,S),J=this.clone();return J.root=T.name,J},remove:function(b){b=this.root+b;var S=this.files[b];if(S||(b.slice(-1)!="/"&&(b+="/"),S=this.files[b]),S&&!S.dir)delete this.files[b];else for(var T=this.filter(function(eA,gA){return gA.name.slice(0,b.length)===b}),J=0;J<T.length;J++)delete this.files[T[J].name];return this},generate:function(b){b=a.extend(b||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:f.utf8encode}),a.checkSupport(b.type),(b.platform==="darwin"||b.platform==="freebsd"||b.platform==="linux"||b.platform==="sunos")&&(b.platform="UNIX"),b.platform==="win32"&&(b.platform="DOS");var S=[],T=0,J=0,eA,gA,sA=a.transformTo("string",b.encodeFileName(b.comment||this.comment||""));for(var QA in this.files)if(this.files.hasOwnProperty(QA)){var lA=this.files[QA],l=lA.options.compression||b.compression.toUpperCase(),I=c[l];if(!I)throw new Error(l+" is not a valid compression method !");var y=lA.options.compressionOptions||b.compressionOptions||{},M=q.call(this,lA,I,y),X=$.call(this,QA,lA,M,T,b.platform,b.encodeFileName);T+=X.fileRecord.length+M.compressedSize,J+=X.dirRecord.length,S.push(X)}var z="";z=s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+L(S.length,2)+L(S.length,2)+L(J,4)+L(T,4)+L(sA.length,2)+sA;var AA=b.type.toLowerCase();for(AA==="uint8array"||AA==="arraybuffer"||AA==="blob"||AA==="nodebuffer"?eA=new U(T+J+z.length):eA=new u(T+J+z.length),gA=0;gA<S.length;gA++)eA.append(S[gA].fileRecord),eA.append(S[gA].compressedObject.compressedContent);for(gA=0;gA<S.length;gA++)eA.append(S[gA].dirRecord);eA.append(z);var fA=eA.finalize();switch(b.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return a.transformTo(b.type.toLowerCase(),fA);case"blob":return a.arrayBuffer2Blob(a.transformTo("arraybuffer",fA),b.mimeType);case"base64":return b.base64?Q.encode(fA):fA;default:return fA}},crc32:function(b,S){return o(b,S)},utf8encode:function(b){return a.transformTo("string",f.utf8encode(b))},utf8decode:function(b){return f.utf8decode(b)}};t.exports=iA},{"./base64":6,"./compressedObject":7,"./compressions":8,"./crc32":9,"./defaults":11,"./nodeBuffer":16,"./signature":19,"./stringWriter":21,"./support":22,"./uint8ArrayWriter":24,"./utf8":25,"./utils":26}],19:[function(A,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\x07\b"},{}],20:[function(A,t,n){var i=A("./dataReader"),a=A("./utils");function o(s,g){this.data=s,g||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}o.prototype=new i,o.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},o.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},o.prototype.readData=function(s){this.checkOffset(s);var g=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,g},t.exports=o},{"./dataReader":10,"./utils":26}],21:[function(A,t,n){var i=A("./utils"),a=function(){this.data=[]};a.prototype={append:function(o){o=i.transformTo("string",o),this.data.push(o)},finalize:function(){return this.data.join("")}},t.exports=a},{"./utils":26}],22:[function(A,t,n){(function(i){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",n.nodebuffer=typeof i<"u",n.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")n.blob=!1;else{var a=new ArrayBuffer(0);try{n.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var o=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,s=new o;s.append(a),n.blob=s.getBlob("application/zip").size===0}catch{n.blob=!1}}}}).call(this,A("buffer").Buffer)},{buffer:1}],23:[function(A,t,n){var i=A("./arrayReader");function a(o){o&&(this.data=o,this.length=this.data.length,this.index=0,this.zero=0)}a.prototype=new i,a.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var s=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,s},t.exports=a},{"./arrayReader":5}],24:[function(A,t,n){var i=A("./utils"),a=function(o){this.data=new Uint8Array(o),this.index=0};a.prototype={append:function(o){o.length!==0&&(o=i.transformTo("uint8array",o),this.data.set(o,this.index),this.index+=o.length)},finalize:function(){return this.data}},t.exports=a},{"./utils":26}],25:[function(A,t,n){for(var i=A("./utils"),a=A("./support"),o=A("./nodeBuffer"),s=new Array(256),g=0;g<256;g++)s[g]=g>=252?6:g>=248?5:g>=240?4:g>=224?3:g>=192?2:1;s[254]=s[254]=1;var Q=function(C){var f,u,U,p,v,K=C.length,k=0;for(p=0;p<K;p++)u=C.charCodeAt(p),(u&64512)===55296&&p+1<K&&(U=C.charCodeAt(p+1),(U&64512)===56320&&(u=65536+(u-55296<<10)+(U-56320),p++)),k+=u<128?1:u<2048?2:u<65536?3:4;for(a.uint8array?f=new Uint8Array(k):f=new Array(k),v=0,p=0;v<k;p++)u=C.charCodeAt(p),(u&64512)===55296&&p+1<K&&(U=C.charCodeAt(p+1),(U&64512)===56320&&(u=65536+(u-55296<<10)+(U-56320),p++)),u<128?f[v++]=u:u<2048?(f[v++]=192|u>>>6,f[v++]=128|u&63):u<65536?(f[v++]=224|u>>>12,f[v++]=128|u>>>6&63,f[v++]=128|u&63):(f[v++]=240|u>>>18,f[v++]=128|u>>>12&63,f[v++]=128|u>>>6&63,f[v++]=128|u&63);return f},c=function(C,f){var u;for(f=f||C.length,f>C.length&&(f=C.length),u=f-1;u>=0&&(C[u]&192)===128;)u--;return u<0||u===0?f:u+s[C[u]]>f?u:f},h=function(C){var f,u,U,p,v=C.length,K=new Array(v*2);for(u=0,f=0;f<v;){if(U=C[f++],U<128){K[u++]=U;continue}if(p=s[U],p>4){K[u++]=65533,f+=p-1;continue}for(U&=p===2?31:p===3?15:7;p>1&&f<v;)U=U<<6|C[f++]&63,p--;if(p>1){K[u++]=65533;continue}U<65536?K[u++]=U:(U-=65536,K[u++]=55296|U>>10&1023,K[u++]=56320|U&1023)}return K.length!==u&&(K.subarray?K=K.subarray(0,u):K.length=u),i.applyFromCharCode(K)};n.utf8encode=function(f){return a.nodebuffer?o(f,"utf-8"):Q(f)},n.utf8decode=function(f){if(a.nodebuffer)return i.transformTo("nodebuffer",f).toString("utf-8");f=i.transformTo(a.uint8array?"uint8array":"array",f);for(var u=[],U=0,p=f.length,v=65536;U<p;){var K=c(f,Math.min(U+v,p));a.uint8array?u.push(h(f.subarray(U,K))):u.push(h(f.slice(U,K))),U=K}return u.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(A,t,n){var i=A("./support"),a=A("./compressions"),o=A("./nodeBuffer");n.string2binary=function(C){for(var f="",u=0;u<C.length;u++)f+=String.fromCharCode(C.charCodeAt(u)&255);return f},n.arrayBuffer2Blob=function(C,f){n.checkSupport("blob"),f=f||"application/zip";try{return new Blob([C],{type:f})}catch{try{var u=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,U=new u;return U.append(C),U.getBlob(f)}catch{throw new Error("Bug : can't construct the Blob.")}}};function s(C){return C}function g(C,f){for(var u=0;u<C.length;++u)f[u]=C.charCodeAt(u)&255;return f}function Q(C){var f=65536,u=[],U=C.length,p=n.getTypeOf(C),v=0,K=!0;try{switch(p){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0));break}}catch{K=!1}if(!K){for(var k="",L=0;L<C.length;L++)k+=String.fromCharCode(C[L]);return k}for(;v<U&&f>1;)try{p==="array"||p==="nodebuffer"?u.push(String.fromCharCode.apply(null,C.slice(v,Math.min(v+f,U)))):u.push(String.fromCharCode.apply(null,C.subarray(v,Math.min(v+f,U)))),v+=f}catch{f=Math.floor(f/2)}return u.join("")}n.applyFromCharCode=Q;function c(C,f){for(var u=0;u<C.length;u++)f[u]=C[u];return f}var h={};h.string={string:s,array:function(C){return g(C,new Array(C.length))},arraybuffer:function(C){return h.string.uint8array(C).buffer},uint8array:function(C){return g(C,new Uint8Array(C.length))},nodebuffer:function(C){return g(C,o(C.length))}},h.array={string:Q,array:s,arraybuffer:function(C){return new Uint8Array(C).buffer},uint8array:function(C){return new Uint8Array(C)},nodebuffer:function(C){return o(C)}},h.arraybuffer={string:function(C){return Q(new Uint8Array(C))},array:function(C){return c(new Uint8Array(C),new Array(C.byteLength))},arraybuffer:s,uint8array:function(C){return new Uint8Array(C)},nodebuffer:function(C){return o(new Uint8Array(C))}},h.uint8array={string:Q,array:function(C){return c(C,new Array(C.length))},arraybuffer:function(C){return C.buffer},uint8array:s,nodebuffer:function(C){return o(C)}},h.nodebuffer={string:Q,array:function(C){return c(C,new Array(C.length))},arraybuffer:function(C){return h.nodebuffer.uint8array(C).buffer},uint8array:function(C){return c(C,new Uint8Array(C.length))},nodebuffer:s},n.transformTo=function(C,f){if(f||(f=""),!C)return f;n.checkSupport(C);var u=n.getTypeOf(f),U=h[u][C](f);return U},n.getTypeOf=function(C){if(typeof C=="string")return"string";if(Object.prototype.toString.call(C)==="[object Array]")return"array";if(i.nodebuffer&&o.test(C))return"nodebuffer";if(i.uint8array&&C instanceof Uint8Array)return"uint8array";if(i.arraybuffer&&C instanceof ArrayBuffer)return"arraybuffer"},n.checkSupport=function(C){var f=i[C.toLowerCase()];if(!f)throw new Error(C+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(C){var f="",u,U;for(U=0;U<(C||"").length;U++)u=C.charCodeAt(U),f+="\\x"+(u<16?"0":"")+u.toString(16).toUpperCase();return f},n.findCompression=function(C){for(var f in a)if(a.hasOwnProperty(f)&&a[f].magic===C)return a[f];return null},n.isRegExp=function(C){return Object.prototype.toString.call(C)==="[object RegExp]"},n.extend=function(){var C={},f,u;for(f=0;f<arguments.length;f++)for(u in arguments[f])arguments[f].hasOwnProperty(u)&&typeof C[u]>"u"&&(C[u]=arguments[f][u]);return C}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(A,t,n){var i=A("./stringReader"),a=A("./nodeBufferReader"),o=A("./uint8ArrayReader"),s=A("./arrayReader"),g=A("./utils"),Q=A("./signature"),c=A("./zipEntry"),h=A("./support");A("./object");function C(f,u){this.files=[],this.loadOptions=u,f&&this.load(f)}C.prototype={checkSignature:function(f){var u=this.reader.readString(4);if(u!==f)throw new Error("Corrupted zip or bug : unexpected signature ("+g.pretty(u)+", expected "+g.pretty(f)+")")},isSignature:function(f,u){var U=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4),v=p===u;return this.reader.setIndex(U),v},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 f=this.reader.readData(this.zipCommentLength),u=h.uint8array?"uint8array":"array",U=g.transformTo(u,f);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),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 f=this.zip64EndOfCentralSize-44,u=0,U,p,v;u<f;)U=this.reader.readInt(2),p=this.reader.readInt(4),v=this.reader.readString(p),this.zip64ExtensibleData[U]={id:U,length:p,value:v}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,u;for(f=0;f<this.files.length;f++)u=this.files[f],this.reader.setIndex(u.localHeaderOffset),this.checkSignature(Q.LOCAL_FILE_HEADER),u.readLocalPart(this.reader),u.handleUTF8(),u.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===Q.CENTRAL_FILE_HEADER;)f=new c({zip64:this.zip64},this.loadOptions),f.readCentralPart(this.reader),this.files.push(f);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 f=this.reader.lastIndexOfSignature(Q.CENTRAL_DIRECTORY_END);if(f<0){var u=!this.isSignature(0,Q.LOCAL_FILE_HEADER);throw u?new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(f);var U=f;if(this.checkSignature(Q.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===g.MAX_VALUE_16BITS||this.diskWithCentralDirStart===g.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===g.MAX_VALUE_16BITS||this.centralDirRecords===g.MAX_VALUE_16BITS||this.centralDirSize===g.MAX_VALUE_32BITS||this.centralDirOffset===g.MAX_VALUE_32BITS){if(this.zip64=!0,f=this.reader.lastIndexOfSignature(Q.ZIP64_CENTRAL_DIRECTORY_LOCATOR),f<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(Q.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Q.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Q.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(Q.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var p=this.centralDirOffset+this.centralDirSize;this.zip64&&(p+=20,p+=12+this.zip64EndOfCentralSize);var v=U-p;if(v>0)this.isSignature(U,Q.CENTRAL_FILE_HEADER)||(this.reader.zero=v);else if(v<0)throw new Error("Corrupted zip: missing "+Math.abs(v)+" bytes.")},prepareReader:function(f){var u=g.getTypeOf(f);if(g.checkSupport(u),u==="string"&&!h.uint8array)this.reader=new i(f,this.loadOptions.optimizedBinaryString);else if(u==="nodebuffer")this.reader=new a(f);else if(h.uint8array)this.reader=new o(g.transformTo("uint8array",f));else if(h.array)this.reader=new s(g.transformTo("array",f));else throw new Error("Unexpected error: unsupported type '"+u+"'")},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=C},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(A,t,n){var i=A("./stringReader"),a=A("./utils"),o=A("./compressedObject"),s=A("./object"),g=A("./support"),Q=0,c=3;function h(C,f){this.options=C,this.loadOptions=f}h.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},prepareCompressedContent:function(C,f,u){return function(){var U=C.index;C.setIndex(f);var p=C.readData(u);return C.setIndex(U),p}},prepareContent:function(C,f,u,U,p){return function(){var v=a.transformTo(U.uncompressInputType,this.getCompressedContent()),K=U.uncompress(v);if(K.length!==p)throw new Error("Bug : uncompressed data size mismatch");return K}},readLocalPart:function(C){var f,u;if(C.skip(22),this.fileNameLength=C.readInt(2),u=C.readInt(2),this.fileName=C.readData(this.fileNameLength),C.skip(u),this.compressedSize==-1||this.uncompressedSize==-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(f=a.findCompression(this.compressionMethod),f===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(C,C.index,this.compressedSize,f),this.decompressed.getContent=this.prepareContent(C,C.index,this.compressedSize,f,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(C){if(this.versionMadeBy=C.readInt(2),this.versionNeeded=C.readInt(2),this.bitFlag=C.readInt(2),this.compressionMethod=C.readString(2),this.date=C.readDate(),this.crc32=C.readInt(4),this.compressedSize=C.readInt(4),this.uncompressedSize=C.readInt(4),this.fileNameLength=C.readInt(2),this.extraFieldsLength=C.readInt(2),this.fileCommentLength=C.readInt(2),this.diskNumberStart=C.readInt(2),this.internalFileAttributes=C.readInt(2),this.externalFileAttributes=C.readInt(4),this.localHeaderOffset=C.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=C.readData(this.fileNameLength),this.readExtraFields(C),this.parseZIP64ExtraField(C),this.fileComment=C.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var C=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),C===Q&&(this.dosPermissions=this.externalFileAttributes&63),C===c&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(C){if(this.extraFields[1]){var f=new i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(C){var f=C.index,u,U,p;for(this.extraFields=this.extraFields||{};C.index<f+this.extraFieldsLength;)u=C.readInt(2),U=C.readInt(2),p=C.readString(U),this.extraFields[u]={id:u,length:U,value:p}},handleUTF8:function(){var C=g.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var u=a.transformTo(C,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var U=this.findExtraFieldUnicodeComment();if(U!==null)this.fileCommentStr=U;else{var p=a.transformTo(C,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var C=this.extraFields[28789];if(C){var f=new i(C.value);return f.readInt(1)!==1||s.crc32(this.fileName)!==f.readInt(4)?null:s.utf8decode(f.readString(C.length-5))}return null},findExtraFieldUnicodeComment:function(){var C=this.extraFields[25461];if(C){var f=new i(C.value);return f.readInt(1)!==1||s.crc32(this.fileComment)!==f.readInt(4)?null:s.utf8decode(f.readString(C.length-5))}return null}},t.exports=h},{"./compressedObject":7,"./object":18,"./stringReader":20,"./support":22,"./utils":26}],29:[function(A,t,n){var i=A("./lib/utils/common").assign,a=A("./lib/deflate"),o=A("./lib/inflate"),s=A("./lib/zlib/constants"),g={};i(g,a,o,s),t.exports=g},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(A,t,n){var i=A("./zlib/deflate"),a=A("./utils/common"),o=A("./utils/strings"),s=A("./zlib/messages"),g=A("./zlib/zstream"),Q=Object.prototype.toString,c=0,h=4,C=0,f=1,u=2,U=-1,p=0,v=8;function K(O){if(!(this instanceof K))return new K(O);this.options=a.assign({level:U,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},O||{});var D=this.options;D.raw&&D.windowBits>0?D.windowBits=-D.windowBits:D.gzip&&D.windowBits>0&&D.windowBits<16&&(D.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var V=i.deflateInit2(this.strm,D.level,D.method,D.windowBits,D.memLevel,D.strategy);if(V!==C)throw new Error(s[V]);if(D.header&&i.deflateSetHeader(this.strm,D.header),D.dictionary){var Y;if(typeof D.dictionary=="string"?Y=o.string2buf(D.dictionary):Q.call(D.dictionary)==="[object ArrayBuffer]"?Y=new Uint8Array(D.dictionary):Y=D.dictionary,V=i.deflateSetDictionary(this.strm,Y),V!==C)throw new Error(s[V]);this._dict_set=!0}}K.prototype.push=function(O,D){var V=this.strm,Y=this.options.chunkSize,q,W;if(this.ended)return!1;W=D===~~D?D:D===!0?h:c,typeof O=="string"?V.input=o.string2buf(O):Q.call(O)==="[object ArrayBuffer]"?V.input=new Uint8Array(O):V.input=O,V.next_in=0,V.avail_in=V.input.length;do{if(V.avail_out===0&&(V.output=new a.Buf8(Y),V.next_out=0,V.avail_out=Y),q=i.deflate(V,W),q!==f&&q!==C)return this.onEnd(q),this.ended=!0,!1;(V.avail_out===0||V.avail_in===0&&(W===h||W===u))&&(this.options.to==="string"?this.onData(o.buf2binstring(a.shrinkBuf(V.output,V.next_out))):this.onData(a.shrinkBuf(V.output,V.next_out)))}while((V.avail_in>0||V.avail_out===0)&&q!==f);return W===h?(q=i.deflateEnd(this.strm),this.onEnd(q),this.ended=!0,q===C):(W===u&&(this.onEnd(C),V.avail_out=0),!0)},K.prototype.onData=function(O){this.chunks.push(O)},K.prototype.onEnd=function(O){O===C&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};function k(O,D){var V=new K(D);if(V.push(O,!0),V.err)throw V.msg;return V.result}function L(O,D){return D=D||{},D.raw=!0,k(O,D)}function F(O,D){return D=D||{},D.gzip=!0,k(O,D)}n.Deflate=K,n.deflate=k,n.deflateRaw=L,n.gzip=F},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(A,t,n){var i=A("./zlib/inflate"),a=A("./utils/common"),o=A("./utils/strings"),s=A("./zlib/constants"),g=A("./zlib/messages"),Q=A("./zlib/zstream"),c=A("./zlib/gzheader"),h=Object.prototype.toString;function C(U){if(!(this instanceof C))return new C(U);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},U||{});var p=this.options;p.raw&&p.windowBits>=0&&p.windowBits<16&&(p.windowBits=-p.windowBits,p.windowBits===0&&(p.windowBits=-15)),p.windowBits>=0&&p.windowBits<16&&!(U&&U.windowBits)&&(p.windowBits+=32),p.windowBits>15&&p.windowBits<48&&(p.windowBits&15||(p.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Q,this.strm.avail_out=0;var v=i.inflateInit2(this.strm,p.windowBits);if(v!==s.Z_OK)throw new Error(g[v]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}C.prototype.push=function(U,p){var v=this.strm,K=this.options.chunkSize,k=this.options.dictionary,L,F,O,D,V,Y,q=!1;if(this.ended)return!1;F=p===~~p?p:p===!0?s.Z_FINISH:s.Z_NO_FLUSH,typeof U=="string"?v.input=o.binstring2buf(U):h.call(U)==="[object ArrayBuffer]"?v.input=new Uint8Array(U):v.input=U,v.next_in=0,v.avail_in=v.input.length;do{if(v.avail_out===0&&(v.output=new a.Buf8(K),v.next_out=0,v.avail_out=K),L=i.inflate(v,s.Z_NO_FLUSH),L===s.Z_NEED_DICT&&k&&(typeof k=="string"?Y=o.string2buf(k):h.call(k)==="[object ArrayBuffer]"?Y=new Uint8Array(k):Y=k,L=i.inflateSetDictionary(this.strm,Y)),L===s.Z_BUF_ERROR&&q===!0&&(L=s.Z_OK,q=!1),L!==s.Z_STREAM_END&&L!==s.Z_OK)return this.onEnd(L),this.ended=!0,!1;v.next_out&&(v.avail_out===0||L===s.Z_STREAM_END||v.avail_in===0&&(F===s.Z_FINISH||F===s.Z_SYNC_FLUSH))&&(this.options.to==="string"?(O=o.utf8border(v.output,v.next_out),D=v.next_out-O,V=o.buf2string(v.output,O),v.next_out=D,v.avail_out=K-D,D&&a.arraySet(v.output,v.output,O,D,0),this.onData(V)):this.onData(a.shrinkBuf(v.output,v.next_out))),v.avail_in===0&&v.avail_out===0&&(q=!0)}while((v.avail_in>0||v.avail_out===0)&&L!==s.Z_STREAM_END);return L===s.Z_STREAM_END&&(F=s.Z_FINISH),F===s.Z_FINISH?(L=i.inflateEnd(this.strm),this.onEnd(L),this.ended=!0,L===s.Z_OK):(F===s.Z_SYNC_FLUSH&&(this.onEnd(s.Z_OK),v.avail_out=0),!0)},C.prototype.onData=function(U){this.chunks.push(U)},C.prototype.onEnd=function(U){U===s.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=U,this.msg=this.strm.msg};function f(U,p){var v=new C(p);if(v.push(U,!0),v.err)throw v.msg;return v.result}function u(U,p){return p=p||{},p.raw=!0,f(U,p)}n.Inflate=C,n.inflate=f,n.inflateRaw=u,n.ungzip=f},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(A,t,n){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";n.assign=function(s){for(var g=Array.prototype.slice.call(arguments,1);g.length;){var Q=g.shift();if(Q){if(typeof Q!="object")throw new TypeError(Q+"must be non-object");for(var c in Q)Q.hasOwnProperty(c)&&(s[c]=Q[c])}}return s},n.shrinkBuf=function(s,g){return s.length===g?s:s.subarray?s.subarray(0,g):(s.length=g,s)};var a={arraySet:function(s,g,Q,c,h){if(g.subarray&&s.subarray){s.set(g.subarray(Q,Q+c),h);return}for(var C=0;C<c;C++)s[h+C]=g[Q+C]},flattenChunks:function(s){var g,Q,c,h,C,f;for(c=0,g=0,Q=s.length;g<Q;g++)c+=s[g].length;for(f=new Uint8Array(c),h=0,g=0,Q=s.length;g<Q;g++)C=s[g],f.set(C,h),h+=C.length;return f}},o={arraySet:function(s,g,Q,c,h){for(var C=0;C<c;C++)s[h+C]=g[Q+C]},flattenChunks:function(s){return[].concat.apply([],s)}};n.setTyped=function(s){s?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,a)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],33:[function(A,t,n){var i=A("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var s=new i.Buf8(256),g=0;g<256;g++)s[g]=g>=252?6:g>=248?5:g>=240?4:g>=224?3:g>=192?2:1;s[254]=s[254]=1,n.string2buf=function(c){var h,C,f,u,U,p=c.length,v=0;for(u=0;u<p;u++)C=c.charCodeAt(u),(C&64512)===55296&&u+1<p&&(f=c.charCodeAt(u+1),(f&64512)===56320&&(C=65536+(C-55296<<10)+(f-56320),u++)),v+=C<128?1:C<2048?2:C<65536?3:4;for(h=new i.Buf8(v),U=0,u=0;U<v;u++)C=c.charCodeAt(u),(C&64512)===55296&&u+1<p&&(f=c.charCodeAt(u+1),(f&64512)===56320&&(C=65536+(C-55296<<10)+(f-56320),u++)),C<128?h[U++]=C:C<2048?(h[U++]=192|C>>>6,h[U++]=128|C&63):C<65536?(h[U++]=224|C>>>12,h[U++]=128|C>>>6&63,h[U++]=128|C&63):(h[U++]=240|C>>>18,h[U++]=128|C>>>12&63,h[U++]=128|C>>>6&63,h[U++]=128|C&63);return h};function Q(c,h){if(h<65537&&(c.subarray&&o||!c.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(c,h));for(var C="",f=0;f<h;f++)C+=String.fromCharCode(c[f]);return C}n.buf2binstring=function(c){return Q(c,c.length)},n.binstring2buf=function(c){for(var h=new i.Buf8(c.length),C=0,f=h.length;C<f;C++)h[C]=c.charCodeAt(C);return h},n.buf2string=function(c,h){var C,f,u,U,p=h||c.length,v=new Array(p*2);for(f=0,C=0;C<p;){if(u=c[C++],u<128){v[f++]=u;continue}if(U=s[u],U>4){v[f++]=65533,C+=U-1;continue}for(u&=U===2?31:U===3?15:7;U>1&&C<p;)u=u<<6|c[C++]&63,U--;if(U>1){v[f++]=65533;continue}u<65536?v[f++]=u:(u-=65536,v[f++]=55296|u>>10&1023,v[f++]=56320|u&1023)}return Q(v,f)},n.utf8border=function(c,h){var C;for(h=h||c.length,h>c.length&&(h=c.length),C=h-1;C>=0&&(c[C]&192)===128;)C--;return C<0||C===0?h:C+s[c[C]]>h?C:h}},{"./common":32}],34:[function(A,t,n){function i(a,o,s,g){for(var Q=a&65535|0,c=a>>>16&65535|0,h=0;s!==0;){h=s>2e3?2e3:s,s-=h;do Q=Q+o[g++]|0,c=c+Q|0;while(--h);Q%=65521,c%=65521}return Q|c<<16|0}t.exports=i},{}],35:[function(A,t,n){t.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}},{}],36:[function(A,t,n){function i(){for(var s,g=[],Q=0;Q<256;Q++){s=Q;for(var c=0;c<8;c++)s=s&1?3988292384^s>>>1:s>>>1;g[Q]=s}return g}var a=i();function o(s,g,Q,c){var h=a,C=c+Q;s^=-1;for(var f=c;f<C;f++)s=s>>>8^h[(s^g[f])&255];return s^-1}t.exports=o},{}],37:[function(A,t,n){var i=A("../utils/common"),a=A("./trees"),o=A("./adler32"),s=A("./crc32"),g=A("./messages"),Q=0,c=1,h=3,C=4,f=5,u=0,U=1,p=-2,v=-3,K=-5,k=-1,L=1,F=2,O=3,D=4,V=0,Y=2,q=8,W=9,N=15,$=8,iA=29,b=256,S=b+1+iA,T=30,J=19,eA=2*S+1,gA=15,sA=3,QA=258,lA=QA+sA+1,l=32,I=42,y=69,M=73,X=91,z=103,AA=113,fA=666,hA=1,KA=2,PA=3,MA=4,cA=3;function TA(B,R){return B.msg=g[R],R}function ae(B){return(B<<1)-(B>4?9:0)}function FA(B){for(var R=B.length;--R>=0;)B[R]=0}function zA(B){var R=B.state,_=R.pending;_>B.avail_out&&(_=B.avail_out),_!==0&&(i.arraySet(B.output,R.pending_buf,R.pending_out,_,B.next_out),B.next_out+=_,R.pending_out+=_,B.total_out+=_,B.avail_out-=_,R.pending-=_,R.pending===0&&(R.pending_out=0))}function vA(B,R){a._tr_flush_block(B,B.block_start>=0?B.block_start:-1,B.strstart-B.block_start,R),B.block_start=B.strstart,zA(B.strm)}function uA(B,R){B.pending_buf[B.pending++]=R}function ee(B,R){B.pending_buf[B.pending++]=R>>>8&255,B.pending_buf[B.pending++]=R&255}function Je(B,R,_,w){var m=B.avail_in;return m>w&&(m=w),m===0?0:(B.avail_in-=m,i.arraySet(R,B.input,B.next_in,m,_),B.state.wrap===1?B.adler=o(B.adler,R,m,_):B.state.wrap===2&&(B.adler=s(B.adler,R,m,_)),B.next_in+=m,B.total_in+=m,m)}function He(B,R){var _=B.max_chain_length,w=B.strstart,m,x,oA=B.prev_length,rA=B.nice_match,BA=B.strstart>B.w_size-lA?B.strstart-(B.w_size-lA):0,wA=B.window,Ee=B.w_mask,mA=B.prev,IA=B.strstart+QA,xA=wA[w+oA-1],WA=wA[w+oA];B.prev_length>=B.good_match&&(_>>=2),rA>B.lookahead&&(rA=B.lookahead);do if(m=R,!(wA[m+oA]!==WA||wA[m+oA-1]!==xA||wA[m]!==wA[w]||wA[++m]!==wA[w+1])){w+=2,m++;do;while(wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&w<IA);if(x=QA-(IA-w),w=IA-QA,x>oA){if(B.match_start=R,oA=x,x>=rA)break;xA=wA[w+oA-1],WA=wA[w+oA]}}while((R=mA[R&Ee])>BA&&--_!==0);return oA<=B.lookahead?oA:B.lookahead}function te(B){var R=B.w_size,_,w,m,x,oA;do{if(x=B.window_size-B.lookahead-B.strstart,B.strstart>=R+(R-lA)){i.arraySet(B.window,B.window,R,R,0),B.match_start-=R,B.strstart-=R,B.block_start-=R,w=B.hash_size,_=w;do m=B.head[--_],B.head[_]=m>=R?m-R:0;while(--w);w=R,_=w;do m=B.prev[--_],B.prev[_]=m>=R?m-R:0;while(--w);x+=R}if(B.strm.avail_in===0)break;if(w=Je(B.strm,B.window,B.strstart+B.lookahead,x),B.lookahead+=w,B.lookahead+B.insert>=sA)for(oA=B.strstart-B.insert,B.ins_h=B.window[oA],B.ins_h=(B.ins_h<<B.hash_shift^B.window[oA+1])&B.hash_mask;B.insert&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[oA+sA-1])&B.hash_mask,B.prev[oA&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=oA,oA++,B.insert--,!(B.lookahead+B.insert<sA)););}while(B.lookahead<lA&&B.strm.avail_in!==0)}function Ye(B,R){var _=65535;for(_>B.pending_buf_size-5&&(_=B.pending_buf_size-5);;){if(B.lookahead<=1){if(te(B),B.lookahead===0&&R===Q)return hA;if(B.lookahead===0)break}B.strstart+=B.lookahead,B.lookahead=0;var w=B.block_start+_;if((B.strstart===0||B.strstart>=w)&&(B.lookahead=B.strstart-w,B.strstart=w,vA(B,!1),B.strm.avail_out===0)||B.strstart-B.block_start>=B.w_size-lA&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):(B.strstart>B.block_start&&(vA(B,!1),B.strm.avail_out===0),hA)}function Le(B,R){for(var _,w;;){if(B.lookahead<lA){if(te(B),B.lookahead<lA&&R===Q)return hA;if(B.lookahead===0)break}if(_=0,B.lookahead>=sA&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart),_!==0&&B.strstart-_<=B.w_size-lA&&(B.match_length=He(B,_)),B.match_length>=sA)if(w=a._tr_tally(B,B.strstart-B.match_start,B.match_length-sA),B.lookahead-=B.match_length,B.match_length<=B.max_lazy_match&&B.lookahead>=sA){B.match_length--;do B.strstart++,B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart;while(--B.match_length!==0);B.strstart++}else B.strstart+=B.match_length,B.match_length=0,B.ins_h=B.window[B.strstart],B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+1])&B.hash_mask;else w=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++;if(w&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=B.strstart<sA-1?B.strstart:sA-1,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function Be(B,R){for(var _,w,m;;){if(B.lookahead<lA){if(te(B),B.lookahead<lA&&R===Q)return hA;if(B.lookahead===0)break}if(_=0,B.lookahead>=sA&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart),B.prev_length=B.match_length,B.prev_match=B.match_start,B.match_length=sA-1,_!==0&&B.prev_length<B.max_lazy_match&&B.strstart-_<=B.w_size-lA&&(B.match_length=He(B,_),B.match_length<=5&&(B.strategy===L||B.match_length===sA&&B.strstart-B.match_start>4096)&&(B.match_length=sA-1)),B.prev_length>=sA&&B.match_length<=B.prev_length){m=B.strstart+B.lookahead-sA,w=a._tr_tally(B,B.strstart-1-B.prev_match,B.prev_length-sA),B.lookahead-=B.prev_length-1,B.prev_length-=2;do++B.strstart<=m&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart);while(--B.prev_length!==0);if(B.match_available=0,B.match_length=sA-1,B.strstart++,w&&(vA(B,!1),B.strm.avail_out===0))return hA}else if(B.match_available){if(w=a._tr_tally(B,0,B.window[B.strstart-1]),w&&vA(B,!1),B.strstart++,B.lookahead--,B.strm.avail_out===0)return hA}else B.match_available=1,B.strstart++,B.lookahead--}return B.match_available&&(w=a._tr_tally(B,0,B.window[B.strstart-1]),B.match_available=0),B.insert=B.strstart<sA-1?B.strstart:sA-1,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function qe(B,R){for(var _,w,m,x,oA=B.window;;){if(B.lookahead<=QA){if(te(B),B.lookahead<=QA&&R===Q)return hA;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=sA&&B.strstart>0&&(m=B.strstart-1,w=oA[m],w===oA[++m]&&w===oA[++m]&&w===oA[++m])){x=B.strstart+QA;do;while(w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&m<x);B.match_length=QA-(x-m),B.match_length>B.lookahead&&(B.match_length=B.lookahead)}if(B.match_length>=sA?(_=a._tr_tally(B,1,B.match_length-sA),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(_=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),_&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function Ke(B,R){for(var _;;){if(B.lookahead===0&&(te(B),B.lookahead===0)){if(R===Q)return hA;break}if(B.match_length=0,_=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,_&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function XA(B,R,_,w,m){this.good_length=B,this.max_lazy=R,this.nice_length=_,this.max_chain=w,this.func=m}var Ce;Ce=[new XA(0,0,0,0,Ye),new XA(4,4,8,4,Le),new XA(4,5,16,8,Le),new XA(4,6,32,32,Le),new XA(4,4,16,16,Be),new XA(8,16,32,32,Be),new XA(8,16,128,128,Be),new XA(8,32,128,256,Be),new XA(32,128,258,1024,Be),new XA(32,258,258,4096,Be)];function je(B){B.window_size=2*B.w_size,FA(B.head),B.max_lazy_match=Ce[B.level].max_lazy,B.good_match=Ce[B.level].good_length,B.nice_match=Ce[B.level].nice_length,B.max_chain_length=Ce[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=sA-1,B.match_available=0,B.ins_h=0}function d(){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=q,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(eA*2),this.dyn_dtree=new i.Buf16((2*T+1)*2),this.bl_tree=new i.Buf16((2*J+1)*2),FA(this.dyn_ltree),FA(this.dyn_dtree),FA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(gA+1),this.heap=new i.Buf16(2*S+1),FA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*S+1),FA(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 G(B){var R;return!B||!B.state?TA(B,p):(B.total_in=B.total_out=0,B.data_type=Y,R=B.state,R.pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?I:AA,B.adler=R.wrap===2?0:1,R.last_flush=Q,a._tr_init(R),u)}function j(B){var R=G(B);return R===u&&je(B.state),R}function aA(B,R){return!B||!B.state||B.state.wrap!==2?p:(B.state.gzhead=R,u)}function H(B,R,_,w,m,x){if(!B)return p;var oA=1;if(R===k&&(R=6),w<0?(oA=0,w=-w):w>15&&(oA=2,w-=16),m<1||m>W||_!==q||w<8||w>15||R<0||R>9||x<0||x>D)return TA(B,p);w===8&&(w=9);var rA=new d;return B.state=rA,rA.strm=B,rA.wrap=oA,rA.gzhead=null,rA.w_bits=w,rA.w_size=1<<rA.w_bits,rA.w_mask=rA.w_size-1,rA.hash_bits=m+7,rA.hash_size=1<<rA.hash_bits,rA.hash_mask=rA.hash_size-1,rA.hash_shift=~~((rA.hash_bits+sA-1)/sA),rA.window=new i.Buf8(rA.w_size*2),rA.head=new i.Buf16(rA.hash_size),rA.prev=new i.Buf16(rA.w_size),rA.lit_bufsize=1<<m+6,rA.pending_buf_size=rA.lit_bufsize*4,rA.pending_buf=new i.Buf8(rA.pending_buf_size),rA.d_buf=rA.lit_bufsize>>1,rA.l_buf=3*rA.lit_bufsize,rA.level=R,rA.strategy=x,rA.method=_,j(B)}function P(B,R){return H(B,R,q,N,$,V)}function E(B,R){var _,w,m,x;if(!B||!B.state||R>f||R<0)return B?TA(B,p):p;if(w=B.state,!B.output||!B.input&&B.avail_in!==0||w.status===fA&&R!==C)return TA(B,B.avail_out===0?K:p);if(w.strm=B,_=w.last_flush,w.last_flush=R,w.status===I)if(w.wrap===2)B.adler=0,uA(w,31),uA(w,139),uA(w,8),w.gzhead?(uA(w,(w.gzhead.text?1:0)+(w.gzhead.hcrc?2:0)+(w.gzhead.extra?4:0)+(w.gzhead.name?8:0)+(w.gzhead.comment?16:0)),uA(w,w.gzhead.time&255),uA(w,w.gzhead.time>>8&255),uA(w,w.gzhead.time>>16&255),uA(w,w.gzhead.time>>24&255),uA(w,w.level===9?2:w.strategy>=F||w.level<2?4:0),uA(w,w.gzhead.os&255),w.gzhead.extra&&w.gzhead.extra.length&&(uA(w,w.gzhead.extra.length&255),uA(w,w.gzhead.extra.length>>8&255)),w.gzhead.hcrc&&(B.adler=s(B.adler,w.pending_buf,w.pending,0)),w.gzindex=0,w.status=y):(uA(w,0),uA(w,0),uA(w,0),uA(w,0),uA(w,0),uA(w,w.level===9?2:w.strategy>=F||w.level<2?4:0),uA(w,cA),w.status=AA);else{var oA=q+(w.w_bits-8<<4)<<8,rA=-1;w.strategy>=F||w.level<2?rA=0:w.level<6?rA=1:w.level===6?rA=2:rA=3,oA|=rA<<6,w.strstart!==0&&(oA|=l),oA+=31-oA%31,w.status=AA,ee(w,oA),w.strstart!==0&&(ee(w,B.adler>>>16),ee(w,B.adler&65535)),B.adler=1}if(w.status===y)if(w.gzhead.extra){for(m=w.pending;w.gzindex<(w.gzhead.extra.length&65535)&&!(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size));)uA(w,w.gzhead.extra[w.gzindex]&255),w.gzindex++;w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),w.gzindex===w.gzhead.extra.length&&(w.gzindex=0,w.status=M)}else w.status=M;if(w.status===M)if(w.gzhead.name){m=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size)){x=1;break}w.gzindex<w.gzhead.name.length?x=w.gzhead.name.charCodeAt(w.gzindex++)&255:x=0,uA(w,x)}while(x!==0);w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),x===0&&(w.gzindex=0,w.status=X)}else w.status=X;if(w.status===X)if(w.gzhead.comment){m=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size)){x=1;break}w.gzindex<w.gzhead.comment.length?x=w.gzhead.comment.charCodeAt(w.gzindex++)&255:x=0,uA(w,x)}while(x!==0);w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),x===0&&(w.status=z)}else w.status=z;if(w.status===z&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&zA(B),w.pending+2<=w.pending_buf_size&&(uA(w,B.adler&255),uA(w,B.adler>>8&255),B.adler=0,w.status=AA)):w.status=AA),w.pending!==0){if(zA(B),B.avail_out===0)return w.last_flush=-1,u}else if(B.avail_in===0&&ae(R)<=ae(_)&&R!==C)return TA(B,K);if(w.status===fA&&B.avail_in!==0)return TA(B,K);if(B.avail_in!==0||w.lookahead!==0||R!==Q&&w.status!==fA){var BA=w.strategy===F?Ke(w,R):w.strategy===O?qe(w,R):Ce[w.level].func(w,R);if((BA===PA||BA===MA)&&(w.status=fA),BA===hA||BA===PA)return B.avail_out===0&&(w.last_flush=-1),u;if(BA===KA&&(R===c?a._tr_align(w):R!==f&&(a._tr_stored_block(w,0,0,!1),R===h&&(FA(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),zA(B),B.avail_out===0))return w.last_flush=-1,u}return R!==C?u:w.wrap<=0?U:(w.wrap===2?(uA(w,B.adler&255),uA(w,B.adler>>8&255),uA(w,B.adler>>16&255),uA(w,B.adler>>24&255),uA(w,B.total_in&255),uA(w,B.total_in>>8&255),uA(w,B.total_in>>16&255),uA(w,B.total_in>>24&255)):(ee(w,B.adler>>>16),ee(w,B.adler&65535)),zA(B),w.wrap>0&&(w.wrap=-w.wrap),w.pending!==0?u:U)}function Z(B){var R;return!B||!B.state?p:(R=B.state.status,R!==I&&R!==y&&R!==M&&R!==X&&R!==z&&R!==AA&&R!==fA?TA(B,p):(B.state=null,R===AA?TA(B,v):u))}function CA(B,R){var _=R.length,w,m,x,oA,rA,BA,wA,Ee;if(!B||!B.state||(w=B.state,oA=w.wrap,oA===2||oA===1&&w.status!==I||w.lookahead))return p;for(oA===1&&(B.adler=o(B.adler,R,_,0)),w.wrap=0,_>=w.w_size&&(oA===0&&(FA(w.head),w.strstart=0,w.block_start=0,w.insert=0),Ee=new i.Buf8(w.w_size),i.arraySet(Ee,R,_-w.w_size,w.w_size,0),R=Ee,_=w.w_size),rA=B.avail_in,BA=B.next_in,wA=B.input,B.avail_in=_,B.next_in=0,B.input=R,te(w);w.lookahead>=sA;){m=w.strstart,x=w.lookahead-(sA-1);do w.ins_h=(w.ins_h<<w.hash_shift^w.window[m+sA-1])&w.hash_mask,w.prev[m&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=m,m++;while(--x);w.strstart=m,w.lookahead=sA-1,te(w)}return w.strstart+=w.lookahead,w.block_start=w.strstart,w.insert=w.lookahead,w.lookahead=0,w.match_length=w.prev_length=sA-1,w.match_available=0,B.next_in=BA,B.input=wA,B.avail_in=rA,w.wrap=oA,u}n.deflateInit=P,n.deflateInit2=H,n.deflateReset=j,n.deflateResetKeep=G,n.deflateSetHeader=aA,n.deflate=E,n.deflateEnd=Z,n.deflateSetDictionary=CA,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(A,t,n){function i(){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}t.exports=i},{}],39:[function(A,t,n){var i=30,a=12;t.exports=function(s,g){var Q,c,h,C,f,u,U,p,v,K,k,L,F,O,D,V,Y,q,W,N,$,iA,b,S,T;Q=s.state,c=s.next_in,S=s.input,h=c+(s.avail_in-5),C=s.next_out,T=s.output,f=C-(g-s.avail_out),u=C+(s.avail_out-257),U=Q.dmax,p=Q.wsize,v=Q.whave,K=Q.wnext,k=Q.window,L=Q.hold,F=Q.bits,O=Q.lencode,D=Q.distcode,V=(1<<Q.lenbits)-1,Y=(1<<Q.distbits)-1;A:do{F<15&&(L+=S[c++]<<F,F+=8,L+=S[c++]<<F,F+=8),q=O[L&V];e:for(;;){if(W=q>>>24,L>>>=W,F-=W,W=q>>>16&255,W===0)T[C++]=q&65535;else if(W&16){N=q&65535,W&=15,W&&(F<W&&(L+=S[c++]<<F,F+=8),N+=L&(1<<W)-1,L>>>=W,F-=W),F<15&&(L+=S[c++]<<F,F+=8,L+=S[c++]<<F,F+=8),q=D[L&Y];t:for(;;){if(W=q>>>24,L>>>=W,F-=W,W=q>>>16&255,W&16){if($=q&65535,W&=15,F<W&&(L+=S[c++]<<F,F+=8,F<W&&(L+=S[c++]<<F,F+=8)),$+=L&(1<<W)-1,$>U){s.msg="invalid distance too far back",Q.mode=i;break A}if(L>>>=W,F-=W,W=C-f,$>W){if(W=$-W,W>v&&Q.sane){s.msg="invalid distance too far back",Q.mode=i;break A}if(iA=0,b=k,K===0){if(iA+=p-W,W<N){N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}}else if(K<W){if(iA+=p+K-W,W-=K,W<N){N-=W;do T[C++]=k[iA++];while(--W);if(iA=0,K<N){W=K,N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}}}else if(iA+=K-W,W<N){N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}for(;N>2;)T[C++]=b[iA++],T[C++]=b[iA++],T[C++]=b[iA++],N-=3;N&&(T[C++]=b[iA++],N>1&&(T[C++]=b[iA++]))}else{iA=C-$;do T[C++]=T[iA++],T[C++]=T[iA++],T[C++]=T[iA++],N-=3;while(N>2);N&&(T[C++]=T[iA++],N>1&&(T[C++]=T[iA++]))}}else if(W&64){s.msg="invalid distance code",Q.mode=i;break A}else{q=D[(q&65535)+(L&(1<<W)-1)];continue t}break}}else if(W&64)if(W&32){Q.mode=a;break A}else{s.msg="invalid literal/length code",Q.mode=i;break A}else{q=O[(q&65535)+(L&(1<<W)-1)];continue e}break}}while(c<h&&C<u);N=F>>3,c-=N,F-=N<<3,L&=(1<<F)-1,s.next_in=c,s.next_out=C,s.avail_in=c<h?5+(h-c):5-(c-h),s.avail_out=C<u?257+(u-C):257-(C-u),Q.hold=L,Q.bits=F}},{}],40:[function(A,t,n){var i=A("../utils/common"),a=A("./adler32"),o=A("./crc32"),s=A("./inffast"),g=A("./inftrees"),Q=0,c=1,h=2,C=4,f=5,u=6,U=0,p=1,v=2,K=-2,k=-3,L=-4,F=-5,O=8,D=1,V=2,Y=3,q=4,W=5,N=6,$=7,iA=8,b=9,S=10,T=11,J=12,eA=13,gA=14,sA=15,QA=16,lA=17,l=18,I=19,y=20,M=21,X=22,z=23,AA=24,fA=25,hA=26,KA=27,PA=28,MA=29,cA=30,TA=31,ae=32,FA=852,zA=592,vA=15,uA=vA;function ee(H){return(H>>>24&255)+(H>>>8&65280)+((H&65280)<<8)+((H&255)<<24)}function Je(){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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function He(H){var P;return!H||!H.state?K:(P=H.state,H.total_in=H.total_out=P.total=0,H.msg="",P.wrap&&(H.adler=P.wrap&1),P.mode=D,P.last=0,P.havedict=0,P.dmax=32768,P.head=null,P.hold=0,P.bits=0,P.lencode=P.lendyn=new i.Buf32(FA),P.distcode=P.distdyn=new i.Buf32(zA),P.sane=1,P.back=-1,U)}function te(H){var P;return!H||!H.state?K:(P=H.state,P.wsize=0,P.whave=0,P.wnext=0,He(H))}function Ye(H,P){var E,Z;return!H||!H.state||(Z=H.state,P<0?(E=0,P=-P):(E=(P>>4)+1,P<48&&(P&=15)),P&&(P<8||P>15))?K:(Z.window!==null&&Z.wbits!==P&&(Z.window=null),Z.wrap=E,Z.wbits=P,te(H))}function Le(H,P){var E,Z;return H?(Z=new Je,H.state=Z,Z.window=null,E=Ye(H,P),E!==U&&(H.state=null),E):K}function Be(H){return Le(H,uA)}var qe=!0,Ke,XA;function Ce(H){if(qe){var P;for(Ke=new i.Buf32(512),XA=new i.Buf32(32),P=0;P<144;)H.lens[P++]=8;for(;P<256;)H.lens[P++]=9;for(;P<280;)H.lens[P++]=7;for(;P<288;)H.lens[P++]=8;for(g(c,H.lens,0,288,Ke,0,H.work,{bits:9}),P=0;P<32;)H.lens[P++]=5;g(h,H.lens,0,32,XA,0,H.work,{bits:5}),qe=!1}H.lencode=Ke,H.lenbits=9,H.distcode=XA,H.distbits=5}function je(H,P,E,Z){var CA,B=H.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new i.Buf8(B.wsize)),Z>=B.wsize?(i.arraySet(B.window,P,E-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(CA=B.wsize-B.wnext,CA>Z&&(CA=Z),i.arraySet(B.window,P,E-Z,CA,B.wnext),Z-=CA,Z?(i.arraySet(B.window,P,E-Z,Z,0),B.wnext=Z,B.whave=B.wsize):(B.wnext+=CA,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=CA))),0}function d(H,P){var E,Z,CA,B,R,_,w,m,x,oA,rA,BA,wA,Ee,mA=0,IA,xA,WA,JA,cr,ur,SA,re,_A=new i.Buf8(4),he,Qe,wa=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!H||!H.state||!H.output||!H.input&&H.avail_in!==0)return K;E=H.state,E.mode===J&&(E.mode=eA),R=H.next_out,CA=H.output,w=H.avail_out,B=H.next_in,Z=H.input,_=H.avail_in,m=E.hold,x=E.bits,oA=_,rA=w,re=U;A:for(;;)switch(E.mode){case D:if(E.wrap===0){E.mode=eA;break}for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.wrap&2&&m===35615){E.check=0,_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0),m=0,x=0,E.mode=V;break}if(E.flags=0,E.head&&(E.head.done=!1),!(E.wrap&1)||(((m&255)<<8)+(m>>8))%31){H.msg="incorrect header check",E.mode=cA;break}if((m&15)!==O){H.msg="unknown compression method",E.mode=cA;break}if(m>>>=4,x-=4,SA=(m&15)+8,E.wbits===0)E.wbits=SA;else if(SA>E.wbits){H.msg="invalid window size",E.mode=cA;break}E.dmax=1<<SA,H.adler=E.check=1,E.mode=m&512?S:J,m=0,x=0;break;case V:for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.flags=m,(E.flags&255)!==O){H.msg="unknown compression method",E.mode=cA;break}if(E.flags&57344){H.msg="unknown header flags set",E.mode=cA;break}E.head&&(E.head.text=m>>8&1),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0,E.mode=Y;case Y:for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.head&&(E.head.time=m),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,_A[2]=m>>>16&255,_A[3]=m>>>24&255,E.check=o(E.check,_A,4,0)),m=0,x=0,E.mode=q;case q:for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.head&&(E.head.xflags=m&255,E.head.os=m>>8),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0,E.mode=W;case W:if(E.flags&1024){for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.length=m,E.head&&(E.head.extra_len=m),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0}else E.head&&(E.head.extra=null);E.mode=N;case N:if(E.flags&1024&&(BA=E.length,BA>_&&(BA=_),BA&&(E.head&&(SA=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),i.arraySet(E.head.extra,Z,B,BA,SA)),E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,E.length-=BA),E.length))break A;E.length=0,E.mode=$;case $:if(E.flags&2048){if(_===0)break A;BA=0;do SA=Z[B+BA++],E.head&&SA&&E.length<65536&&(E.head.name+=String.fromCharCode(SA));while(SA&&BA<_);if(E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,SA)break A}else E.head&&(E.head.name=null);E.length=0,E.mode=iA;case iA:if(E.flags&4096){if(_===0)break A;BA=0;do SA=Z[B+BA++],E.head&&SA&&E.length<65536&&(E.head.comment+=String.fromCharCode(SA));while(SA&&BA<_);if(E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,SA)break A}else E.head&&(E.head.comment=null);E.mode=b;case b:if(E.flags&512){for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m!==(E.check&65535)){H.msg="header crc mismatch",E.mode=cA;break}m=0,x=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),H.adler=E.check=0,E.mode=J;break;case S:for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}H.adler=E.check=ee(m),m=0,x=0,E.mode=T;case T:if(E.havedict===0)return H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,v;H.adler=E.check=1,E.mode=J;case J:if(P===f||P===u)break A;case eA:if(E.last){m>>>=x&7,x-=x&7,E.mode=KA;break}for(;x<3;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}switch(E.last=m&1,m>>>=1,x-=1,m&3){case 0:E.mode=gA;break;case 1:if(Ce(E),E.mode=y,P===u){m>>>=2,x-=2;break A}break;case 2:E.mode=lA;break;case 3:H.msg="invalid block type",E.mode=cA}m>>>=2,x-=2;break;case gA:for(m>>>=x&7,x-=x&7;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if((m&65535)!==(m>>>16^65535)){H.msg="invalid stored block lengths",E.mode=cA;break}if(E.length=m&65535,m=0,x=0,E.mode=sA,P===u)break A;case sA:E.mode=QA;case QA:if(BA=E.length,BA){if(BA>_&&(BA=_),BA>w&&(BA=w),BA===0)break A;i.arraySet(CA,Z,B,BA,R),_-=BA,B+=BA,w-=BA,R+=BA,E.length-=BA;break}E.mode=J;break;case lA:for(;x<14;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.nlen=(m&31)+257,m>>>=5,x-=5,E.ndist=(m&31)+1,m>>>=5,x-=5,E.ncode=(m&15)+4,m>>>=4,x-=4,E.nlen>286||E.ndist>30){H.msg="too many length or distance symbols",E.mode=cA;break}E.have=0,E.mode=l;case l:for(;E.have<E.ncode;){for(;x<3;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.lens[wa[E.have++]]=m&7,m>>>=3,x-=3}for(;E.have<19;)E.lens[wa[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,he={bits:E.lenbits},re=g(Q,E.lens,0,19,E.lencode,0,E.work,he),E.lenbits=he.bits,re){H.msg="invalid code lengths set",E.mode=cA;break}E.have=0,E.mode=I;case I:for(;E.have<E.nlen+E.ndist;){for(;mA=E.lencode[m&(1<<E.lenbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(WA<16)m>>>=IA,x-=IA,E.lens[E.have++]=WA;else{if(WA===16){for(Qe=IA+2;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m>>>=IA,x-=IA,E.have===0){H.msg="invalid bit length repeat",E.mode=cA;break}SA=E.lens[E.have-1],BA=3+(m&3),m>>>=2,x-=2}else if(WA===17){for(Qe=IA+3;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=IA,x-=IA,SA=0,BA=3+(m&7),m>>>=3,x-=3}else{for(Qe=IA+7;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=IA,x-=IA,SA=0,BA=11+(m&127),m>>>=7,x-=7}if(E.have+BA>E.nlen+E.ndist){H.msg="invalid bit length repeat",E.mode=cA;break}for(;BA--;)E.lens[E.have++]=SA}}if(E.mode===cA)break;if(E.lens[256]===0){H.msg="invalid code -- missing end-of-block",E.mode=cA;break}if(E.lenbits=9,he={bits:E.lenbits},re=g(c,E.lens,0,E.nlen,E.lencode,0,E.work,he),E.lenbits=he.bits,re){H.msg="invalid literal/lengths set",E.mode=cA;break}if(E.distbits=6,E.distcode=E.distdyn,he={bits:E.distbits},re=g(h,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,he),E.distbits=he.bits,re){H.msg="invalid distances set",E.mode=cA;break}if(E.mode=y,P===u)break A;case y:E.mode=M;case M:if(_>=6&&w>=258){H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,s(H,rA),R=H.next_out,CA=H.output,w=H.avail_out,B=H.next_in,Z=H.input,_=H.avail_in,m=E.hold,x=E.bits,E.mode===J&&(E.back=-1);break}for(E.back=0;mA=E.lencode[m&(1<<E.lenbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(xA&&!(xA&240)){for(JA=IA,cr=xA,ur=WA;mA=E.lencode[ur+((m&(1<<JA+cr)-1)>>JA)],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(JA+IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=JA,x-=JA,E.back+=JA}if(m>>>=IA,x-=IA,E.back+=IA,E.length=WA,xA===0){E.mode=hA;break}if(xA&32){E.back=-1,E.mode=J;break}if(xA&64){H.msg="invalid literal/length code",E.mode=cA;break}E.extra=xA&15,E.mode=X;case X:if(E.extra){for(Qe=E.extra;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.length+=m&(1<<E.extra)-1,m>>>=E.extra,x-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=z;case z:for(;mA=E.distcode[m&(1<<E.distbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(!(xA&240)){for(JA=IA,cr=xA,ur=WA;mA=E.distcode[ur+((m&(1<<JA+cr)-1)>>JA)],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(JA+IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=JA,x-=JA,E.back+=JA}if(m>>>=IA,x-=IA,E.back+=IA,xA&64){H.msg="invalid distance code",E.mode=cA;break}E.offset=WA,E.extra=xA&15,E.mode=AA;case AA:if(E.extra){for(Qe=E.extra;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.offset+=m&(1<<E.extra)-1,m>>>=E.extra,x-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){H.msg="invalid distance too far back",E.mode=cA;break}E.mode=fA;case fA:if(w===0)break A;if(BA=rA-w,E.offset>BA){if(BA=E.offset-BA,BA>E.whave&&E.sane){H.msg="invalid distance too far back",E.mode=cA;break}BA>E.wnext?(BA-=E.wnext,wA=E.wsize-BA):wA=E.wnext-BA,BA>E.length&&(BA=E.length),Ee=E.window}else Ee=CA,wA=R-E.offset,BA=E.length;BA>w&&(BA=w),w-=BA,E.length-=BA;do CA[R++]=Ee[wA++];while(--BA);E.length===0&&(E.mode=M);break;case hA:if(w===0)break A;CA[R++]=E.length,w--,E.mode=M;break;case KA:if(E.wrap){for(;x<32;){if(_===0)break A;_--,m|=Z[B++]<<x,x+=8}if(rA-=w,H.total_out+=rA,E.total+=rA,rA&&(H.adler=E.check=E.flags?o(E.check,CA,rA,R-rA):a(E.check,CA,rA,R-rA)),rA=w,(E.flags?m:ee(m))!==E.check){H.msg="incorrect data check",E.mode=cA;break}m=0,x=0}E.mode=PA;case PA:if(E.wrap&&E.flags){for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m!==(E.total&4294967295)){H.msg="incorrect length check",E.mode=cA;break}m=0,x=0}E.mode=MA;case MA:re=p;break A;case cA:re=k;break A;case TA:return L;case ae:default:return K}return H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,(E.wsize||rA!==H.avail_out&&E.mode<cA&&(E.mode<KA||P!==C))&&je(H,H.output,H.next_out,rA-H.avail_out),oA-=H.avail_in,rA-=H.avail_out,H.total_in+=oA,H.total_out+=rA,E.total+=rA,E.wrap&&rA&&(H.adler=E.check=E.flags?o(E.check,CA,rA,H.next_out-rA):a(E.check,CA,rA,H.next_out-rA)),H.data_type=E.bits+(E.last?64:0)+(E.mode===J?128:0)+(E.mode===y||E.mode===sA?256:0),(oA===0&&rA===0||P===C)&&re===U&&(re=F),re}function G(H){if(!H||!H.state)return K;var P=H.state;return P.window&&(P.window=null),H.state=null,U}function j(H,P){var E;return!H||!H.state||(E=H.state,!(E.wrap&2))?K:(E.head=P,P.done=!1,U)}function aA(H,P){var E=P.length,Z,CA,B;return!H||!H.state||(Z=H.state,Z.wrap!==0&&Z.mode!==T)?K:Z.mode===T&&(CA=1,CA=a(CA,P,E,0),CA!==Z.check)?k:(B=je(H,P,E,E),B?(Z.mode=TA,L):(Z.havedict=1,U))}n.inflateReset=te,n.inflateReset2=Ye,n.inflateResetKeep=He,n.inflateInit=Be,n.inflateInit2=Le,n.inflate=d,n.inflateEnd=G,n.inflateGetHeader=j,n.inflateSetDictionary=aA,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(A,t,n){var i=A("../utils/common"),a=15,o=852,s=592,g=0,Q=1,c=2,h=[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],C=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[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];t.exports=function(p,v,K,k,L,F,O,D){var V=D.bits,Y=0,q=0,W=0,N=0,$=0,iA=0,b=0,S=0,T=0,J=0,eA,gA,sA,QA,lA,l=null,I=0,y,M=new i.Buf16(a+1),X=new i.Buf16(a+1),z=null,AA=0,fA,hA,KA;for(Y=0;Y<=a;Y++)M[Y]=0;for(q=0;q<k;q++)M[v[K+q]]++;for($=V,N=a;N>=1&&M[N]===0;N--);if($>N&&($=N),N===0)return L[F++]=1<<24|64<<16|0,L[F++]=1<<24|64<<16|0,D.bits=1,0;for(W=1;W<N&&M[W]===0;W++);for($<W&&($=W),S=1,Y=1;Y<=a;Y++)if(S<<=1,S-=M[Y],S<0)return-1;if(S>0&&(p===g||N!==1))return-1;for(X[1]=0,Y=1;Y<a;Y++)X[Y+1]=X[Y]+M[Y];for(q=0;q<k;q++)v[K+q]!==0&&(O[X[v[K+q]]++]=q);if(p===g?(l=z=O,y=19):p===Q?(l=h,I-=257,z=C,AA-=257,y=256):(l=f,z=u,y=-1),J=0,q=0,Y=W,lA=F,iA=$,b=0,sA=-1,T=1<<$,QA=T-1,p===Q&&T>o||p===c&&T>s)return 1;for(;;){fA=Y-b,O[q]<y?(hA=0,KA=O[q]):O[q]>y?(hA=z[AA+O[q]],KA=l[I+O[q]]):(hA=96,KA=0),eA=1<<Y-b,gA=1<<iA,W=gA;do gA-=eA,L[lA+(J>>b)+gA]=fA<<24|hA<<16|KA|0;while(gA!==0);for(eA=1<<Y-1;J&eA;)eA>>=1;if(eA!==0?(J&=eA-1,J+=eA):J=0,q++,--M[Y]===0){if(Y===N)break;Y=v[K+O[q]]}if(Y>$&&(J&QA)!==sA){for(b===0&&(b=$),lA+=W,iA=Y-b,S=1<<iA;iA+b<N&&(S-=M[iA+b],!(S<=0));)iA++,S<<=1;if(T+=1<<iA,p===Q&&T>o||p===c&&T>s)return 1;sA=J&QA,L[sA]=$<<24|iA<<16|lA-F|0}}return J!==0&&(L[lA+J]=Y-b<<24|64<<16|0),D.bits=$,0}},{"../utils/common":32}],42:[function(A,t,n){t.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"}},{}],43:[function(A,t,n){var i=A("../utils/common"),a=4,o=0,s=1,g=2;function Q(d){for(var G=d.length;--G>=0;)d[G]=0}var c=0,h=1,C=2,f=3,u=258,U=29,p=256,v=p+1+U,K=30,k=19,L=2*v+1,F=15,O=16,D=7,V=256,Y=16,q=17,W=18,N=[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],$=[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],iA=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],b=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,T=new Array((v+2)*2);Q(T);var J=new Array(K*2);Q(J);var eA=new Array(S);Q(eA);var gA=new Array(u-f+1);Q(gA);var sA=new Array(U);Q(sA);var QA=new Array(K);Q(QA);function lA(d,G,j,aA,H){this.static_tree=d,this.extra_bits=G,this.extra_base=j,this.elems=aA,this.max_length=H,this.has_stree=d&&d.length}var l,I,y;function M(d,G){this.dyn_tree=d,this.max_code=0,this.stat_desc=G}function X(d){return d<256?eA[d]:eA[256+(d>>>7)]}function z(d,G){d.pending_buf[d.pending++]=G&255,d.pending_buf[d.pending++]=G>>>8&255}function AA(d,G,j){d.bi_valid>O-j?(d.bi_buf|=G<<d.bi_valid&65535,z(d,d.bi_buf),d.bi_buf=G>>O-d.bi_valid,d.bi_valid+=j-O):(d.bi_buf|=G<<d.bi_valid&65535,d.bi_valid+=j)}function fA(d,G,j){AA(d,j[G*2],j[G*2+1])}function hA(d,G){var j=0;do j|=d&1,d>>>=1,j<<=1;while(--G>0);return j>>>1}function KA(d){d.bi_valid===16?(z(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):d.bi_valid>=8&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}function PA(d,G){var j=G.dyn_tree,aA=G.max_code,H=G.stat_desc.static_tree,P=G.stat_desc.has_stree,E=G.stat_desc.extra_bits,Z=G.stat_desc.extra_base,CA=G.stat_desc.max_length,B,R,_,w,m,x,oA=0;for(w=0;w<=F;w++)d.bl_count[w]=0;for(j[d.heap[d.heap_max]*2+1]=0,B=d.heap_max+1;B<L;B++)R=d.heap[B],w=j[j[R*2+1]*2+1]+1,w>CA&&(w=CA,oA++),j[R*2+1]=w,!(R>aA)&&(d.bl_count[w]++,m=0,R>=Z&&(m=E[R-Z]),x=j[R*2],d.opt_len+=x*(w+m),P&&(d.static_len+=x*(H[R*2+1]+m)));if(oA!==0){do{for(w=CA-1;d.bl_count[w]===0;)w--;d.bl_count[w]--,d.bl_count[w+1]+=2,d.bl_count[CA]--,oA-=2}while(oA>0);for(w=CA;w!==0;w--)for(R=d.bl_count[w];R!==0;)_=d.heap[--B],!(_>aA)&&(j[_*2+1]!==w&&(d.opt_len+=(w-j[_*2+1])*j[_*2],j[_*2+1]=w),R--)}}function MA(d,G,j){var aA=new Array(F+1),H=0,P,E;for(P=1;P<=F;P++)aA[P]=H=H+j[P-1]<<1;for(E=0;E<=G;E++){var Z=d[E*2+1];Z!==0&&(d[E*2]=hA(aA[Z]++,Z))}}function cA(){var d,G,j,aA,H,P=new Array(F+1);for(j=0,aA=0;aA<U-1;aA++)for(sA[aA]=j,d=0;d<1<<N[aA];d++)gA[j++]=aA;for(gA[j-1]=aA,H=0,aA=0;aA<16;aA++)for(QA[aA]=H,d=0;d<1<<$[aA];d++)eA[H++]=aA;for(H>>=7;aA<K;aA++)for(QA[aA]=H<<7,d=0;d<1<<$[aA]-7;d++)eA[256+H++]=aA;for(G=0;G<=F;G++)P[G]=0;for(d=0;d<=143;)T[d*2+1]=8,d++,P[8]++;for(;d<=255;)T[d*2+1]=9,d++,P[9]++;for(;d<=279;)T[d*2+1]=7,d++,P[7]++;for(;d<=287;)T[d*2+1]=8,d++,P[8]++;for(MA(T,v+1,P),d=0;d<K;d++)J[d*2+1]=5,J[d*2]=hA(d,5);l=new lA(T,N,p+1,v,F),I=new lA(J,$,0,K,F),y=new lA(new Array(0),iA,0,k,D)}function TA(d){var G;for(G=0;G<v;G++)d.dyn_ltree[G*2]=0;for(G=0;G<K;G++)d.dyn_dtree[G*2]=0;for(G=0;G<k;G++)d.bl_tree[G*2]=0;d.dyn_ltree[V*2]=1,d.opt_len=d.static_len=0,d.last_lit=d.matches=0}function ae(d){d.bi_valid>8?z(d,d.bi_buf):d.bi_valid>0&&(d.pending_buf[d.pending++]=d.bi_buf),d.bi_buf=0,d.bi_valid=0}function FA(d,G,j,aA){ae(d),aA&&(z(d,j),z(d,~j)),i.arraySet(d.pending_buf,d.window,G,j,d.pending),d.pending+=j}function zA(d,G,j,aA){var H=G*2,P=j*2;return d[H]<d[P]||d[H]===d[P]&&aA[G]<=aA[j]}function vA(d,G,j){for(var aA=d.heap[j],H=j<<1;H<=d.heap_len&&(H<d.heap_len&&zA(G,d.heap[H+1],d.heap[H],d.depth)&&H++,!zA(G,aA,d.heap[H],d.depth));)d.heap[j]=d.heap[H],j=H,H<<=1;d.heap[j]=aA}function uA(d,G,j){var aA,H,P=0,E,Z;if(d.last_lit!==0)do aA=d.pending_buf[d.d_buf+P*2]<<8|d.pending_buf[d.d_buf+P*2+1],H=d.pending_buf[d.l_buf+P],P++,aA===0?fA(d,H,G):(E=gA[H],fA(d,E+p+1,G),Z=N[E],Z!==0&&(H-=sA[E],AA(d,H,Z)),aA--,E=X(aA),fA(d,E,j),Z=$[E],Z!==0&&(aA-=QA[E],AA(d,aA,Z)));while(P<d.last_lit);fA(d,V,G)}function ee(d,G){var j=G.dyn_tree,aA=G.stat_desc.static_tree,H=G.stat_desc.has_stree,P=G.stat_desc.elems,E,Z,CA=-1,B;for(d.heap_len=0,d.heap_max=L,E=0;E<P;E++)j[E*2]!==0?(d.heap[++d.heap_len]=CA=E,d.depth[E]=0):j[E*2+1]=0;for(;d.heap_len<2;)B=d.heap[++d.heap_len]=CA<2?++CA:0,j[B*2]=1,d.depth[B]=0,d.opt_len--,H&&(d.static_len-=aA[B*2+1]);for(G.max_code=CA,E=d.heap_len>>1;E>=1;E--)vA(d,j,E);B=P;do E=d.heap[1],d.heap[1]=d.heap[d.heap_len--],vA(d,j,1),Z=d.heap[1],d.heap[--d.heap_max]=E,d.heap[--d.heap_max]=Z,j[B*2]=j[E*2]+j[Z*2],d.depth[B]=(d.depth[E]>=d.depth[Z]?d.depth[E]:d.depth[Z])+1,j[E*2+1]=j[Z*2+1]=B,d.heap[1]=B++,vA(d,j,1);while(d.heap_len>=2);d.heap[--d.heap_max]=d.heap[1],PA(d,G),MA(j,CA,d.bl_count)}function Je(d,G,j){var aA,H=-1,P,E=G[0*2+1],Z=0,CA=7,B=4;for(E===0&&(CA=138,B=3),G[(j+1)*2+1]=65535,aA=0;aA<=j;aA++)P=E,E=G[(aA+1)*2+1],!(++Z<CA&&P===E)&&(Z<B?d.bl_tree[P*2]+=Z:P!==0?(P!==H&&d.bl_tree[P*2]++,d.bl_tree[Y*2]++):Z<=10?d.bl_tree[q*2]++:d.bl_tree[W*2]++,Z=0,H=P,E===0?(CA=138,B=3):P===E?(CA=6,B=3):(CA=7,B=4))}function He(d,G,j){var aA,H=-1,P,E=G[0*2+1],Z=0,CA=7,B=4;for(E===0&&(CA=138,B=3),aA=0;aA<=j;aA++)if(P=E,E=G[(aA+1)*2+1],!(++Z<CA&&P===E)){if(Z<B)do fA(d,P,d.bl_tree);while(--Z!==0);else P!==0?(P!==H&&(fA(d,P,d.bl_tree),Z--),fA(d,Y,d.bl_tree),AA(d,Z-3,2)):Z<=10?(fA(d,q,d.bl_tree),AA(d,Z-3,3)):(fA(d,W,d.bl_tree),AA(d,Z-11,7));Z=0,H=P,E===0?(CA=138,B=3):P===E?(CA=6,B=3):(CA=7,B=4)}}function te(d){var G;for(Je(d,d.dyn_ltree,d.l_desc.max_code),Je(d,d.dyn_dtree,d.d_desc.max_code),ee(d,d.bl_desc),G=k-1;G>=3&&d.bl_tree[b[G]*2+1]===0;G--);return d.opt_len+=3*(G+1)+5+5+4,G}function Ye(d,G,j,aA){var H;for(AA(d,G-257,5),AA(d,j-1,5),AA(d,aA-4,4),H=0;H<aA;H++)AA(d,d.bl_tree[b[H]*2+1],3);He(d,d.dyn_ltree,G-1),He(d,d.dyn_dtree,j-1)}function Le(d){var G=4093624447,j;for(j=0;j<=31;j++,G>>>=1)if(G&1&&d.dyn_ltree[j*2]!==0)return o;if(d.dyn_ltree[9*2]!==0||d.dyn_ltree[10*2]!==0||d.dyn_ltree[13*2]!==0)return s;for(j=32;j<p;j++)if(d.dyn_ltree[j*2]!==0)return s;return o}var Be=!1;function qe(d){Be||(cA(),Be=!0),d.l_desc=new M(d.dyn_ltree,l),d.d_desc=new M(d.dyn_dtree,I),d.bl_desc=new M(d.bl_tree,y),d.bi_buf=0,d.bi_valid=0,TA(d)}function Ke(d,G,j,aA){AA(d,(c<<1)+(aA?1:0),3),FA(d,G,j,!0)}function XA(d){AA(d,h<<1,3),fA(d,V,T),KA(d)}function Ce(d,G,j,aA){var H,P,E=0;d.level>0?(d.strm.data_type===g&&(d.strm.data_type=Le(d)),ee(d,d.l_desc),ee(d,d.d_desc),E=te(d),H=d.opt_len+3+7>>>3,P=d.static_len+3+7>>>3,P<=H&&(H=P)):H=P=j+5,j+4<=H&&G!==-1?Ke(d,G,j,aA):d.strategy===a||P===H?(AA(d,(h<<1)+(aA?1:0),3),uA(d,T,J)):(AA(d,(C<<1)+(aA?1:0),3),Ye(d,d.l_desc.max_code+1,d.d_desc.max_code+1,E+1),uA(d,d.dyn_ltree,d.dyn_dtree)),TA(d),aA&&ae(d)}function je(d,G,j){return d.pending_buf[d.d_buf+d.last_lit*2]=G>>>8&255,d.pending_buf[d.d_buf+d.last_lit*2+1]=G&255,d.pending_buf[d.l_buf+d.last_lit]=j&255,d.last_lit++,G===0?d.dyn_ltree[j*2]++:(d.matches++,G--,d.dyn_ltree[(gA[j]+p+1)*2]++,d.dyn_dtree[X(G)*2]++),d.last_lit===d.lit_bufsize-1}n._tr_init=qe,n._tr_stored_block=Ke,n._tr_flush_block=Ce,n._tr_tally=je,n._tr_align=XA},{"../utils/common":32}],44:[function(A,t,n){function i(){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}t.exports=i},{}],45:[function(A,t,n){var i=A("lodash._root"),a=1/0,o="[object Symbol]",s=/[&<>"'`]/g,g=RegExp(s.source),Q={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function c(L){return Q[L]}var h=Object.prototype,C=h.toString,f=i.Symbol,u=f?f.prototype:void 0,U=f?u.toString:void 0;function p(L){return!!L&&typeof L=="object"}function v(L){return typeof L=="symbol"||p(L)&&C.call(L)==o}function K(L){if(typeof L=="string")return L;if(L==null)return"";if(v(L))return f?U.call(L):"";var F=L+"";return F=="0"&&1/L==-a?"-0":F}function k(L){return L=K(L),L&&g.test(L)?L.replace(s,c):L}t.exports=k},{"lodash._root":46}],46:[function(A,t,n){(function(i){var a={function:!0,object:!0},o=a[typeof n]&&n&&!n.nodeType?n:void 0,s=a[typeof t]&&t&&!t.nodeType?t:void 0,g=f(o&&s&&typeof i=="object"&&i),Q=f(a[typeof self]&&self),c=f(a[typeof window]&&window),h=f(a[typeof this]&&this),C=g||c!==(h&&h.window)&&c||Q||h||Function("return this")();function f(u){return u&&u.Object===Object?u:null}t.exports=C}).call(this,typeof self<"u"?self:typeof window<"u"?window:{})},{}],47:[function(A,t,n){var i=A("lodash._arraycopy"),a=A("lodash._arrayeach"),o=A("lodash._createassigner"),s=A("lodash.isarguments"),g=A("lodash.isarray"),Q=A("lodash.isplainobject"),c=A("lodash.istypedarray"),h=A("lodash.keys"),C=A("lodash.toplainobject");function f(D){return!!D&&typeof D=="object"}var u=9007199254740991;function U(D,V,Y,q,W){if(!F(D))return D;var N=k(V)&&(g(V)||c(V)),$=N?void 0:h(V);return a($||V,function(iA,b){if($&&(b=iA,iA=V[b]),f(iA))q||(q=[]),W||(W=[]),p(D,V,b,U,Y,q,W);else{var S=D[b],T=Y?Y(S,iA,b,D,V):void 0,J=T===void 0;J&&(T=iA),(T!==void 0||N&&!(b in D))&&(J||(T===T?T!==S:S===S))&&(D[b]=T)}}),D}function p(D,V,Y,q,W,N,$){for(var iA=N.length,b=V[Y];iA--;)if(N[iA]==b){D[Y]=$[iA];return}var S=D[Y],T=W?W(S,b,Y,D,V):void 0,J=T===void 0;J&&(T=b,k(b)&&(g(b)||c(b))?T=g(S)?S:k(S)?i(S):[]:Q(b)||s(b)?T=s(S)?C(S):Q(S)?S:{}:J=!1),N.push(b),$.push(T),J?D[Y]=q(T,b,W,N,$):(T===T?T!==S:S===S)&&(D[Y]=T)}function v(D){return function(V){return V==null?void 0:V[D]}}var K=v("length");function k(D){return D!=null&&L(K(D))}function L(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=u}function F(D){var V=typeof D;return!!D&&(V=="object"||V=="function")}var O=o(U);t.exports=O},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(A,t,n){function i(a,o){var s=-1,g=a.length;for(o||(o=Array(g));++s<g;)o[s]=a[s];return o}t.exports=i},{}],49:[function(A,t,n){function i(a,o){for(var s=-1,g=a.length;++s<g&&o(a[s],s,a)!==!1;);return a}t.exports=i},{}],50:[function(A,t,n){var i=A("lodash._bindcallback"),a=A("lodash._isiterateecall"),o=A("lodash.restparam");function s(g){return o(function(Q,c){var h=-1,C=Q==null?0:c.length,f=C>2?c[C-2]:void 0,u=C>2?c[2]:void 0,U=C>1?c[C-1]:void 0;for(typeof f=="function"?(f=i(f,U,5),C-=2):(f=typeof U=="function"?U:void 0,C-=f?1:0),u&&a(c[0],c[1],u)&&(f=C<3?void 0:f,C=1);++h<C;){var p=c[h];p&&g(Q,p,f)}return Q})}t.exports=s},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(A,t,n){function i(o,s,g){if(typeof o!="function")return a;if(s===void 0)return o;switch(g){case 1:return function(Q){return o.call(s,Q)};case 3:return function(Q,c,h){return o.call(s,Q,c,h)};case 4:return function(Q,c,h,C){return o.call(s,Q,c,h,C)};case 5:return function(Q,c,h,C,f){return o.call(s,Q,c,h,C,f)}}return function(){return o.apply(s,arguments)}}function a(o){return o}t.exports=i},{}],52:[function(A,t,n){var i=/^\d+$/,a=9007199254740991;function o(f){return function(u){return u==null?void 0:u[f]}}var s=o("length");function g(f){return f!=null&&h(s(f))}function Q(f,u){return f=typeof f=="number"||i.test(f)?+f:-1,u=u??a,f>-1&&f%1==0&&f<u}function c(f,u,U){if(!C(U))return!1;var p=typeof u;if(p=="number"?g(U)&&Q(u,U.length):p=="string"&&u in U){var v=U[u];return f===f?f===v:v!==v}return!1}function h(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=a}function C(f){var u=typeof f;return!!f&&(u=="object"||u=="function")}t.exports=c},{}],53:[function(A,t,n){var i="Expected a function",a=Math.max;function o(s,g){if(typeof s!="function")throw new TypeError(i);return g=a(g===void 0?s.length-1:+g||0,0),function(){for(var Q=arguments,c=-1,h=a(Q.length-g,0),C=Array(h);++c<h;)C[c]=Q[g+c];switch(g){case 0:return s.call(this,C);case 1:return s.call(this,Q[0],C);case 2:return s.call(this,Q[0],Q[1],C)}var f=Array(g+1);for(c=-1;++c<g;)f[c]=Q[c];return f[g]=C,s.apply(this,f)}}t.exports=o},{}],54:[function(A,t,n){var i="[object Function]",a=/^\[object .+?Constructor\]$/;function o(p){return!!p&&typeof p=="object"}var s=Object.prototype,g=Function.prototype.toString,Q=s.hasOwnProperty,c=s.toString,h=RegExp("^"+g.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function C(p,v){var K=p==null?void 0:p[v];return U(K)?K:void 0}function f(p){return u(p)&&c.call(p)==i}function u(p){var v=typeof p;return!!p&&(v=="object"||v=="function")}function U(p){return p==null?!1:f(p)?h.test(g.call(p)):o(p)&&a.test(p)}t.exports=C},{}],55:[function(A,t,n){var i=9007199254740991,a="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",g=Object.prototype,Q=g.hasOwnProperty,c=g.toString,h=g.propertyIsEnumerable;function C(F){return function(O){return O==null?void 0:O[F]}}var f=C("length");function u(F){return p(F)&&Q.call(F,"callee")&&(!h.call(F,"callee")||c.call(F)==a)}function U(F){return F!=null&&K(f(F))&&!v(F)}function p(F){return L(F)&&U(F)}function v(F){var O=k(F)?c.call(F):"";return O==o||O==s}function K(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=i}function k(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}function L(F){return!!F&&typeof F=="object"}t.exports=u},{}],56:[function(A,t,n){var i="[object Array]",a="[object Function]",o=/^\[object .+?Constructor\]$/;function s(F){return!!F&&typeof F=="object"}var g=Object.prototype,Q=Function.prototype.toString,c=g.hasOwnProperty,h=g.toString,C=RegExp("^"+Q.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=U(Array,"isArray"),u=9007199254740991;function U(F,O){var D=F==null?void 0:F[O];return L(D)?D:void 0}function p(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=u}var v=f||function(F){return s(F)&&p(F.length)&&h.call(F)==i};function K(F){return k(F)&&h.call(F)==a}function k(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}function L(F){return F==null?!1:K(F)?C.test(Q.call(F)):s(F)&&o.test(F)}t.exports=v},{}],57:[function(A,t,n){var i=A("lodash._basefor"),a=A("lodash.isarguments"),o=A("lodash.keysin"),s="[object Object]";function g(u){return!!u&&typeof u=="object"}var Q=Object.prototype,c=Q.hasOwnProperty,h=Q.toString;function C(u,U){return i(u,U,o)}function f(u){var U;if(!(g(u)&&h.call(u)==s&&!a(u))||!c.call(u,"constructor")&&(U=u.constructor,typeof U=="function"&&!(U instanceof U)))return!1;var p;return C(u,function(v,K){p=K}),p===void 0||c.call(u,p)}t.exports=f},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(A,t,n){var i=a();function a(o){return function(s,g,Q){for(var c=-1,h=Object(s),C=Q(s),f=C.length;f--;){var u=C[o?f:++c];if(g(h[u],u,h)===!1)break}return s}}t.exports=i},{}],59:[function(A,t,n){var i=9007199254740991,a="[object Arguments]",o="[object Array]",s="[object Boolean]",g="[object Date]",Q="[object Error]",c="[object Function]",h="[object Map]",C="[object Number]",f="[object Object]",u="[object RegExp]",U="[object Set]",p="[object String]",v="[object WeakMap]",K="[object ArrayBuffer]",k="[object DataView]",L="[object Float32Array]",F="[object Float64Array]",O="[object Int8Array]",D="[object Int16Array]",V="[object Int32Array]",Y="[object Uint8Array]",q="[object Uint8ClampedArray]",W="[object Uint16Array]",N="[object Uint32Array]",$={};$[L]=$[F]=$[O]=$[D]=$[V]=$[Y]=$[q]=$[W]=$[N]=!0,$[a]=$[o]=$[K]=$[s]=$[k]=$[g]=$[Q]=$[c]=$[h]=$[C]=$[f]=$[u]=$[U]=$[p]=$[v]=!1;var iA=Object.prototype,b=iA.toString;function S(eA){return typeof eA=="number"&&eA>-1&&eA%1==0&&eA<=i}function T(eA){return!!eA&&typeof eA=="object"}function J(eA){return T(eA)&&S(eA.length)&&!!$[b.call(eA)]}t.exports=J},{}],60:[function(A,t,n){var i=A("lodash._getnative"),a=A("lodash.isarguments"),o=A("lodash.isarray"),s=/^\d+$/,g=Object.prototype,Q=g.hasOwnProperty,c=i(Object,"keys"),h=9007199254740991;function C(F){return function(O){return O==null?void 0:O[F]}}var f=C("length");function u(F){return F!=null&&p(f(F))}function U(F,O){return F=typeof F=="number"||s.test(F)?+F:-1,O=O??h,F>-1&&F%1==0&&F<O}function p(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=h}function v(F){for(var O=L(F),D=O.length,V=D&&F.length,Y=!!V&&p(V)&&(o(F)||a(F)),q=-1,W=[];++q<D;){var N=O[q];(Y&&U(N,V)||Q.call(F,N))&&W.push(N)}return W}function K(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}var k=c?function(F){var O=F==null?void 0:F.constructor;return typeof O=="function"&&O.prototype===F||typeof F!="function"&&u(F)?v(F):K(F)?c(F):[]}:v;function L(F){if(F==null)return[];K(F)||(F=Object(F));var O=F.length;O=O&&p(O)&&(o(F)||a(F))&&O||0;for(var D=F.constructor,V=-1,Y=typeof D=="function"&&D.prototype===F,q=Array(O),W=O>0;++V<O;)q[V]=V+"";for(var N in F)!(W&&U(N,O))&&!(N=="constructor"&&(Y||!Q.call(F,N)))&&q.push(N);return q}t.exports=k},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(A,t,n){var i=A("lodash.isarguments"),a=A("lodash.isarray"),o=/^\d+$/,s=Object.prototype,g=s.hasOwnProperty,Q=9007199254740991;function c(u,U){return u=typeof u=="number"||o.test(u)?+u:-1,U=U??Q,u>-1&&u%1==0&&u<U}function h(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=Q}function C(u){var U=typeof u;return!!u&&(U=="object"||U=="function")}function f(u){if(u==null)return[];C(u)||(u=Object(u));var U=u.length;U=U&&h(U)&&(a(u)||i(u))&&U||0;for(var p=u.constructor,v=-1,K=typeof p=="function"&&p.prototype===u,k=Array(U),L=U>0;++v<U;)k[v]=v+"";for(var F in u)!(L&&c(F,U))&&!(F=="constructor"&&(K||!g.call(u,F)))&&k.push(F);return k}t.exports=f},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(A,t,n){var i=A("lodash._basecopy"),a=A("lodash.keysin");function o(s){return i(s,a(s))}t.exports=o},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(A,t,n){function i(a,o,s){s||(s={});for(var g=-1,Q=o.length;++g<Q;){var c=o[g];s[c]=a[c]}return s}t.exports=i},{}],64:[function(A,t,n){var i,a;i=A("jszip"),a=A("./internal"),t.exports={asBlob:function(o,s){var g;return g=new i,a.addFiles(g,o,s),a.generateDocument(g)}}},{"./internal":65,jszip:14}],65:[function(A,t,n){(function(i,a){var o,s,g;o=A("./templates/document"),s=A("./utils"),g={merge:A("lodash.merge")},t.exports={generateDocument:function(Q){var c;if(c=Q.generate({type:"arraybuffer"}),i.Blob)return new Blob([c],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(i.Buffer)return new a(new Uint8Array(c));throw new Error("Neither Blob nor Buffer are accessible in this environment. Consider adding Blob.js shim")},renderDocumentFile:function(Q){var c;return Q==null&&(Q={}),c=g.merge({margins:{top:1440,right:700,bottom:1440,left:700,header:720,footer:720,gutter:0}},function(){switch(Q.orientation){case"landscape":return{height:12240,width:15840,orient:"landscape"};default:return{width:12240,height:15840,orient:"portrait"}}}(),{margins:Q.margins}),o(c)},addFiles:function(Q,c,h){return Q.file("[Content_Types].xml",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),Q.folder("_rels").file(".rels",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),Q.folder("word").file("document.xml",this.renderDocumentFile(h)).file("afchunk.mht",s.getMHTdocument(c)).folder("_rels").file("document.xml.rels",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvYUZDaHVuayIKICAgIFRhcmdldD0iL3dvcmQvYWZjaHVuay5taHQiIElkPSJodG1sQ2h1bmsiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64"))}}}).call(this,typeof self<"u"?self:typeof window<"u"?window:{},A("buffer").Buffer)},{"./templates/document":66,"./utils":69,buffer:1,"lodash.merge":47}],66:[function(A,t,n){A("lodash.escape"),t.exports=function(i){var a,o="";return o+=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
\0`,FA+=!sA&&(M||X)?"\0\b":"\0\0",FA+=T.compressionMethod,FA+=L(AA,2),FA+=L(fA,2),FA+=L(T.crc32,4),FA+=L(T.compressedSize,4),FA+=L(T.uncompressedSize,4),FA+=L(QA.length,2),FA+=L(hA.length,2);var zA=s.LOCAL_FILE_HEADER+FA+QA+hA,vA=s.CENTRAL_FILE_HEADER+L(ae,2)+FA+L(I.length,2)+"\0\0\0\0"+L(TA,4)+L(J,4)+QA+hA+I;return{fileRecord:zA,dirRecord:vA,compressedObject:T}},iA={load:function(b,S){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(b){var S=[],T,J,eA,gA;for(T in this.files)this.files.hasOwnProperty(T)&&(eA=this.files[T],gA=new k(eA.name,eA._data,a.extend(eA.options)),J=T.slice(this.root.length,T.length),T.slice(0,this.root.length)===this.root&&b(J,gA)&&S.push(gA));return S},file:function(b,S,T){if(arguments.length===1)if(a.isRegExp(b)){var J=b;return this.filter(function(eA,gA){return!gA.dir&&J.test(eA)})}else return this.filter(function(eA,gA){return!gA.dir&&eA===b})[0]||null;else b=this.root+b,O.call(this,b,S,T);return this},folder:function(b){if(!b)return this;if(a.isRegExp(b))return this.filter(function(eA,gA){return gA.dir&&b.test(eA)});var S=this.root+b,T=Y.call(this,S),J=this.clone();return J.root=T.name,J},remove:function(b){b=this.root+b;var S=this.files[b];if(S||(b.slice(-1)!="/"&&(b+="/"),S=this.files[b]),S&&!S.dir)delete this.files[b];else for(var T=this.filter(function(eA,gA){return gA.name.slice(0,b.length)===b}),J=0;J<T.length;J++)delete this.files[T[J].name];return this},generate:function(b){b=a.extend(b||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:f.utf8encode}),a.checkSupport(b.type),(b.platform==="darwin"||b.platform==="freebsd"||b.platform==="linux"||b.platform==="sunos")&&(b.platform="UNIX"),b.platform==="win32"&&(b.platform="DOS");var S=[],T=0,J=0,eA,gA,sA=a.transformTo("string",b.encodeFileName(b.comment||this.comment||""));for(var QA in this.files)if(this.files.hasOwnProperty(QA)){var lA=this.files[QA],l=lA.options.compression||b.compression.toUpperCase(),I=c[l];if(!I)throw new Error(l+" is not a valid compression method !");var y=lA.options.compressionOptions||b.compressionOptions||{},M=q.call(this,lA,I,y),X=$.call(this,QA,lA,M,T,b.platform,b.encodeFileName);T+=X.fileRecord.length+M.compressedSize,J+=X.dirRecord.length,S.push(X)}var z="";z=s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+L(S.length,2)+L(S.length,2)+L(J,4)+L(T,4)+L(sA.length,2)+sA;var AA=b.type.toLowerCase();for(AA==="uint8array"||AA==="arraybuffer"||AA==="blob"||AA==="nodebuffer"?eA=new U(T+J+z.length):eA=new u(T+J+z.length),gA=0;gA<S.length;gA++)eA.append(S[gA].fileRecord),eA.append(S[gA].compressedObject.compressedContent);for(gA=0;gA<S.length;gA++)eA.append(S[gA].dirRecord);eA.append(z);var fA=eA.finalize();switch(b.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return a.transformTo(b.type.toLowerCase(),fA);case"blob":return a.arrayBuffer2Blob(a.transformTo("arraybuffer",fA),b.mimeType);case"base64":return b.base64?Q.encode(fA):fA;default:return fA}},crc32:function(b,S){return o(b,S)},utf8encode:function(b){return a.transformTo("string",f.utf8encode(b))},utf8decode:function(b){return f.utf8decode(b)}};t.exports=iA},{"./base64":6,"./compressedObject":7,"./compressions":8,"./crc32":9,"./defaults":11,"./nodeBuffer":16,"./signature":19,"./stringWriter":21,"./support":22,"./uint8ArrayWriter":24,"./utf8":25,"./utils":26}],19:[function(A,t,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\x07\b"},{}],20:[function(A,t,n){var i=A("./dataReader"),a=A("./utils");function o(s,g){this.data=s,g||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}o.prototype=new i,o.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},o.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},o.prototype.readData=function(s){this.checkOffset(s);var g=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,g},t.exports=o},{"./dataReader":10,"./utils":26}],21:[function(A,t,n){var i=A("./utils"),a=function(){this.data=[]};a.prototype={append:function(o){o=i.transformTo("string",o),this.data.push(o)},finalize:function(){return this.data.join("")}},t.exports=a},{"./utils":26}],22:[function(A,t,n){(function(i){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",n.nodebuffer=typeof i<"u",n.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")n.blob=!1;else{var a=new ArrayBuffer(0);try{n.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var o=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,s=new o;s.append(a),n.blob=s.getBlob("application/zip").size===0}catch{n.blob=!1}}}}).call(this,A("buffer").Buffer)},{buffer:1}],23:[function(A,t,n){var i=A("./arrayReader");function a(o){o&&(this.data=o,this.length=this.data.length,this.index=0,this.zero=0)}a.prototype=new i,a.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var s=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,s},t.exports=a},{"./arrayReader":5}],24:[function(A,t,n){var i=A("./utils"),a=function(o){this.data=new Uint8Array(o),this.index=0};a.prototype={append:function(o){o.length!==0&&(o=i.transformTo("uint8array",o),this.data.set(o,this.index),this.index+=o.length)},finalize:function(){return this.data}},t.exports=a},{"./utils":26}],25:[function(A,t,n){for(var i=A("./utils"),a=A("./support"),o=A("./nodeBuffer"),s=new Array(256),g=0;g<256;g++)s[g]=g>=252?6:g>=248?5:g>=240?4:g>=224?3:g>=192?2:1;s[254]=s[254]=1;var Q=function(C){var f,u,U,p,v,K=C.length,k=0;for(p=0;p<K;p++)u=C.charCodeAt(p),(u&64512)===55296&&p+1<K&&(U=C.charCodeAt(p+1),(U&64512)===56320&&(u=65536+(u-55296<<10)+(U-56320),p++)),k+=u<128?1:u<2048?2:u<65536?3:4;for(a.uint8array?f=new Uint8Array(k):f=new Array(k),v=0,p=0;v<k;p++)u=C.charCodeAt(p),(u&64512)===55296&&p+1<K&&(U=C.charCodeAt(p+1),(U&64512)===56320&&(u=65536+(u-55296<<10)+(U-56320),p++)),u<128?f[v++]=u:u<2048?(f[v++]=192|u>>>6,f[v++]=128|u&63):u<65536?(f[v++]=224|u>>>12,f[v++]=128|u>>>6&63,f[v++]=128|u&63):(f[v++]=240|u>>>18,f[v++]=128|u>>>12&63,f[v++]=128|u>>>6&63,f[v++]=128|u&63);return f},c=function(C,f){var u;for(f=f||C.length,f>C.length&&(f=C.length),u=f-1;u>=0&&(C[u]&192)===128;)u--;return u<0||u===0?f:u+s[C[u]]>f?u:f},h=function(C){var f,u,U,p,v=C.length,K=new Array(v*2);for(u=0,f=0;f<v;){if(U=C[f++],U<128){K[u++]=U;continue}if(p=s[U],p>4){K[u++]=65533,f+=p-1;continue}for(U&=p===2?31:p===3?15:7;p>1&&f<v;)U=U<<6|C[f++]&63,p--;if(p>1){K[u++]=65533;continue}U<65536?K[u++]=U:(U-=65536,K[u++]=55296|U>>10&1023,K[u++]=56320|U&1023)}return K.length!==u&&(K.subarray?K=K.subarray(0,u):K.length=u),i.applyFromCharCode(K)};n.utf8encode=function(f){return a.nodebuffer?o(f,"utf-8"):Q(f)},n.utf8decode=function(f){if(a.nodebuffer)return i.transformTo("nodebuffer",f).toString("utf-8");f=i.transformTo(a.uint8array?"uint8array":"array",f);for(var u=[],U=0,p=f.length,v=65536;U<p;){var K=c(f,Math.min(U+v,p));a.uint8array?u.push(h(f.subarray(U,K))):u.push(h(f.slice(U,K))),U=K}return u.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(A,t,n){var i=A("./support"),a=A("./compressions"),o=A("./nodeBuffer");n.string2binary=function(C){for(var f="",u=0;u<C.length;u++)f+=String.fromCharCode(C.charCodeAt(u)&255);return f},n.arrayBuffer2Blob=function(C,f){n.checkSupport("blob"),f=f||"application/zip";try{return new Blob([C],{type:f})}catch{try{var u=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,U=new u;return U.append(C),U.getBlob(f)}catch{throw new Error("Bug : can't construct the Blob.")}}};function s(C){return C}function g(C,f){for(var u=0;u<C.length;++u)f[u]=C.charCodeAt(u)&255;return f}function Q(C){var f=65536,u=[],U=C.length,p=n.getTypeOf(C),v=0,K=!0;try{switch(p){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0));break}}catch{K=!1}if(!K){for(var k="",L=0;L<C.length;L++)k+=String.fromCharCode(C[L]);return k}for(;v<U&&f>1;)try{p==="array"||p==="nodebuffer"?u.push(String.fromCharCode.apply(null,C.slice(v,Math.min(v+f,U)))):u.push(String.fromCharCode.apply(null,C.subarray(v,Math.min(v+f,U)))),v+=f}catch{f=Math.floor(f/2)}return u.join("")}n.applyFromCharCode=Q;function c(C,f){for(var u=0;u<C.length;u++)f[u]=C[u];return f}var h={};h.string={string:s,array:function(C){return g(C,new Array(C.length))},arraybuffer:function(C){return h.string.uint8array(C).buffer},uint8array:function(C){return g(C,new Uint8Array(C.length))},nodebuffer:function(C){return g(C,o(C.length))}},h.array={string:Q,array:s,arraybuffer:function(C){return new Uint8Array(C).buffer},uint8array:function(C){return new Uint8Array(C)},nodebuffer:function(C){return o(C)}},h.arraybuffer={string:function(C){return Q(new Uint8Array(C))},array:function(C){return c(new Uint8Array(C),new Array(C.byteLength))},arraybuffer:s,uint8array:function(C){return new Uint8Array(C)},nodebuffer:function(C){return o(new Uint8Array(C))}},h.uint8array={string:Q,array:function(C){return c(C,new Array(C.length))},arraybuffer:function(C){return C.buffer},uint8array:s,nodebuffer:function(C){return o(C)}},h.nodebuffer={string:Q,array:function(C){return c(C,new Array(C.length))},arraybuffer:function(C){return h.nodebuffer.uint8array(C).buffer},uint8array:function(C){return c(C,new Uint8Array(C.length))},nodebuffer:s},n.transformTo=function(C,f){if(f||(f=""),!C)return f;n.checkSupport(C);var u=n.getTypeOf(f),U=h[u][C](f);return U},n.getTypeOf=function(C){if(typeof C=="string")return"string";if(Object.prototype.toString.call(C)==="[object Array]")return"array";if(i.nodebuffer&&o.test(C))return"nodebuffer";if(i.uint8array&&C instanceof Uint8Array)return"uint8array";if(i.arraybuffer&&C instanceof ArrayBuffer)return"arraybuffer"},n.checkSupport=function(C){var f=i[C.toLowerCase()];if(!f)throw new Error(C+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(C){var f="",u,U;for(U=0;U<(C||"").length;U++)u=C.charCodeAt(U),f+="\\x"+(u<16?"0":"")+u.toString(16).toUpperCase();return f},n.findCompression=function(C){for(var f in a)if(a.hasOwnProperty(f)&&a[f].magic===C)return a[f];return null},n.isRegExp=function(C){return Object.prototype.toString.call(C)==="[object RegExp]"},n.extend=function(){var C={},f,u;for(f=0;f<arguments.length;f++)for(u in arguments[f])arguments[f].hasOwnProperty(u)&&typeof C[u]>"u"&&(C[u]=arguments[f][u]);return C}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(A,t,n){var i=A("./stringReader"),a=A("./nodeBufferReader"),o=A("./uint8ArrayReader"),s=A("./arrayReader"),g=A("./utils"),Q=A("./signature"),c=A("./zipEntry"),h=A("./support");A("./object");function C(f,u){this.files=[],this.loadOptions=u,f&&this.load(f)}C.prototype={checkSignature:function(f){var u=this.reader.readString(4);if(u!==f)throw new Error("Corrupted zip or bug : unexpected signature ("+g.pretty(u)+", expected "+g.pretty(f)+")")},isSignature:function(f,u){var U=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4),v=p===u;return this.reader.setIndex(U),v},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 f=this.reader.readData(this.zipCommentLength),u=h.uint8array?"uint8array":"array",U=g.transformTo(u,f);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),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 f=this.zip64EndOfCentralSize-44,u=0,U,p,v;u<f;)U=this.reader.readInt(2),p=this.reader.readInt(4),v=this.reader.readString(p),this.zip64ExtensibleData[U]={id:U,length:p,value:v}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,u;for(f=0;f<this.files.length;f++)u=this.files[f],this.reader.setIndex(u.localHeaderOffset),this.checkSignature(Q.LOCAL_FILE_HEADER),u.readLocalPart(this.reader),u.handleUTF8(),u.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===Q.CENTRAL_FILE_HEADER;)f=new c({zip64:this.zip64},this.loadOptions),f.readCentralPart(this.reader),this.files.push(f);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 f=this.reader.lastIndexOfSignature(Q.CENTRAL_DIRECTORY_END);if(f<0){var u=!this.isSignature(0,Q.LOCAL_FILE_HEADER);throw u?new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(f);var U=f;if(this.checkSignature(Q.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===g.MAX_VALUE_16BITS||this.diskWithCentralDirStart===g.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===g.MAX_VALUE_16BITS||this.centralDirRecords===g.MAX_VALUE_16BITS||this.centralDirSize===g.MAX_VALUE_32BITS||this.centralDirOffset===g.MAX_VALUE_32BITS){if(this.zip64=!0,f=this.reader.lastIndexOfSignature(Q.ZIP64_CENTRAL_DIRECTORY_LOCATOR),f<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(Q.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Q.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Q.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(Q.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var p=this.centralDirOffset+this.centralDirSize;this.zip64&&(p+=20,p+=12+this.zip64EndOfCentralSize);var v=U-p;if(v>0)this.isSignature(U,Q.CENTRAL_FILE_HEADER)||(this.reader.zero=v);else if(v<0)throw new Error("Corrupted zip: missing "+Math.abs(v)+" bytes.")},prepareReader:function(f){var u=g.getTypeOf(f);if(g.checkSupport(u),u==="string"&&!h.uint8array)this.reader=new i(f,this.loadOptions.optimizedBinaryString);else if(u==="nodebuffer")this.reader=new a(f);else if(h.uint8array)this.reader=new o(g.transformTo("uint8array",f));else if(h.array)this.reader=new s(g.transformTo("array",f));else throw new Error("Unexpected error: unsupported type '"+u+"'")},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=C},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(A,t,n){var i=A("./stringReader"),a=A("./utils"),o=A("./compressedObject"),s=A("./object"),g=A("./support"),Q=0,c=3;function h(C,f){this.options=C,this.loadOptions=f}h.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},prepareCompressedContent:function(C,f,u){return function(){var U=C.index;C.setIndex(f);var p=C.readData(u);return C.setIndex(U),p}},prepareContent:function(C,f,u,U,p){return function(){var v=a.transformTo(U.uncompressInputType,this.getCompressedContent()),K=U.uncompress(v);if(K.length!==p)throw new Error("Bug : uncompressed data size mismatch");return K}},readLocalPart:function(C){var f,u;if(C.skip(22),this.fileNameLength=C.readInt(2),u=C.readInt(2),this.fileName=C.readData(this.fileNameLength),C.skip(u),this.compressedSize==-1||this.uncompressedSize==-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(f=a.findCompression(this.compressionMethod),f===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(C,C.index,this.compressedSize,f),this.decompressed.getContent=this.prepareContent(C,C.index,this.compressedSize,f,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(C){if(this.versionMadeBy=C.readInt(2),this.versionNeeded=C.readInt(2),this.bitFlag=C.readInt(2),this.compressionMethod=C.readString(2),this.date=C.readDate(),this.crc32=C.readInt(4),this.compressedSize=C.readInt(4),this.uncompressedSize=C.readInt(4),this.fileNameLength=C.readInt(2),this.extraFieldsLength=C.readInt(2),this.fileCommentLength=C.readInt(2),this.diskNumberStart=C.readInt(2),this.internalFileAttributes=C.readInt(2),this.externalFileAttributes=C.readInt(4),this.localHeaderOffset=C.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=C.readData(this.fileNameLength),this.readExtraFields(C),this.parseZIP64ExtraField(C),this.fileComment=C.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var C=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),C===Q&&(this.dosPermissions=this.externalFileAttributes&63),C===c&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(C){if(this.extraFields[1]){var f=new i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(C){var f=C.index,u,U,p;for(this.extraFields=this.extraFields||{};C.index<f+this.extraFieldsLength;)u=C.readInt(2),U=C.readInt(2),p=C.readString(U),this.extraFields[u]={id:u,length:U,value:p}},handleUTF8:function(){var C=g.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var u=a.transformTo(C,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var U=this.findExtraFieldUnicodeComment();if(U!==null)this.fileCommentStr=U;else{var p=a.transformTo(C,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var C=this.extraFields[28789];if(C){var f=new i(C.value);return f.readInt(1)!==1||s.crc32(this.fileName)!==f.readInt(4)?null:s.utf8decode(f.readString(C.length-5))}return null},findExtraFieldUnicodeComment:function(){var C=this.extraFields[25461];if(C){var f=new i(C.value);return f.readInt(1)!==1||s.crc32(this.fileComment)!==f.readInt(4)?null:s.utf8decode(f.readString(C.length-5))}return null}},t.exports=h},{"./compressedObject":7,"./object":18,"./stringReader":20,"./support":22,"./utils":26}],29:[function(A,t,n){var i=A("./lib/utils/common").assign,a=A("./lib/deflate"),o=A("./lib/inflate"),s=A("./lib/zlib/constants"),g={};i(g,a,o,s),t.exports=g},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(A,t,n){var i=A("./zlib/deflate"),a=A("./utils/common"),o=A("./utils/strings"),s=A("./zlib/messages"),g=A("./zlib/zstream"),Q=Object.prototype.toString,c=0,h=4,C=0,f=1,u=2,U=-1,p=0,v=8;function K(O){if(!(this instanceof K))return new K(O);this.options=a.assign({level:U,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},O||{});var D=this.options;D.raw&&D.windowBits>0?D.windowBits=-D.windowBits:D.gzip&&D.windowBits>0&&D.windowBits<16&&(D.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var V=i.deflateInit2(this.strm,D.level,D.method,D.windowBits,D.memLevel,D.strategy);if(V!==C)throw new Error(s[V]);if(D.header&&i.deflateSetHeader(this.strm,D.header),D.dictionary){var Y;if(typeof D.dictionary=="string"?Y=o.string2buf(D.dictionary):Q.call(D.dictionary)==="[object ArrayBuffer]"?Y=new Uint8Array(D.dictionary):Y=D.dictionary,V=i.deflateSetDictionary(this.strm,Y),V!==C)throw new Error(s[V]);this._dict_set=!0}}K.prototype.push=function(O,D){var V=this.strm,Y=this.options.chunkSize,q,W;if(this.ended)return!1;W=D===~~D?D:D===!0?h:c,typeof O=="string"?V.input=o.string2buf(O):Q.call(O)==="[object ArrayBuffer]"?V.input=new Uint8Array(O):V.input=O,V.next_in=0,V.avail_in=V.input.length;do{if(V.avail_out===0&&(V.output=new a.Buf8(Y),V.next_out=0,V.avail_out=Y),q=i.deflate(V,W),q!==f&&q!==C)return this.onEnd(q),this.ended=!0,!1;(V.avail_out===0||V.avail_in===0&&(W===h||W===u))&&(this.options.to==="string"?this.onData(o.buf2binstring(a.shrinkBuf(V.output,V.next_out))):this.onData(a.shrinkBuf(V.output,V.next_out)))}while((V.avail_in>0||V.avail_out===0)&&q!==f);return W===h?(q=i.deflateEnd(this.strm),this.onEnd(q),this.ended=!0,q===C):(W===u&&(this.onEnd(C),V.avail_out=0),!0)},K.prototype.onData=function(O){this.chunks.push(O)},K.prototype.onEnd=function(O){O===C&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};function k(O,D){var V=new K(D);if(V.push(O,!0),V.err)throw V.msg;return V.result}function L(O,D){return D=D||{},D.raw=!0,k(O,D)}function F(O,D){return D=D||{},D.gzip=!0,k(O,D)}n.Deflate=K,n.deflate=k,n.deflateRaw=L,n.gzip=F},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(A,t,n){var i=A("./zlib/inflate"),a=A("./utils/common"),o=A("./utils/strings"),s=A("./zlib/constants"),g=A("./zlib/messages"),Q=A("./zlib/zstream"),c=A("./zlib/gzheader"),h=Object.prototype.toString;function C(U){if(!(this instanceof C))return new C(U);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},U||{});var p=this.options;p.raw&&p.windowBits>=0&&p.windowBits<16&&(p.windowBits=-p.windowBits,p.windowBits===0&&(p.windowBits=-15)),p.windowBits>=0&&p.windowBits<16&&!(U&&U.windowBits)&&(p.windowBits+=32),p.windowBits>15&&p.windowBits<48&&(p.windowBits&15||(p.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Q,this.strm.avail_out=0;var v=i.inflateInit2(this.strm,p.windowBits);if(v!==s.Z_OK)throw new Error(g[v]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}C.prototype.push=function(U,p){var v=this.strm,K=this.options.chunkSize,k=this.options.dictionary,L,F,O,D,V,Y,q=!1;if(this.ended)return!1;F=p===~~p?p:p===!0?s.Z_FINISH:s.Z_NO_FLUSH,typeof U=="string"?v.input=o.binstring2buf(U):h.call(U)==="[object ArrayBuffer]"?v.input=new Uint8Array(U):v.input=U,v.next_in=0,v.avail_in=v.input.length;do{if(v.avail_out===0&&(v.output=new a.Buf8(K),v.next_out=0,v.avail_out=K),L=i.inflate(v,s.Z_NO_FLUSH),L===s.Z_NEED_DICT&&k&&(typeof k=="string"?Y=o.string2buf(k):h.call(k)==="[object ArrayBuffer]"?Y=new Uint8Array(k):Y=k,L=i.inflateSetDictionary(this.strm,Y)),L===s.Z_BUF_ERROR&&q===!0&&(L=s.Z_OK,q=!1),L!==s.Z_STREAM_END&&L!==s.Z_OK)return this.onEnd(L),this.ended=!0,!1;v.next_out&&(v.avail_out===0||L===s.Z_STREAM_END||v.avail_in===0&&(F===s.Z_FINISH||F===s.Z_SYNC_FLUSH))&&(this.options.to==="string"?(O=o.utf8border(v.output,v.next_out),D=v.next_out-O,V=o.buf2string(v.output,O),v.next_out=D,v.avail_out=K-D,D&&a.arraySet(v.output,v.output,O,D,0),this.onData(V)):this.onData(a.shrinkBuf(v.output,v.next_out))),v.avail_in===0&&v.avail_out===0&&(q=!0)}while((v.avail_in>0||v.avail_out===0)&&L!==s.Z_STREAM_END);return L===s.Z_STREAM_END&&(F=s.Z_FINISH),F===s.Z_FINISH?(L=i.inflateEnd(this.strm),this.onEnd(L),this.ended=!0,L===s.Z_OK):(F===s.Z_SYNC_FLUSH&&(this.onEnd(s.Z_OK),v.avail_out=0),!0)},C.prototype.onData=function(U){this.chunks.push(U)},C.prototype.onEnd=function(U){U===s.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=U,this.msg=this.strm.msg};function f(U,p){var v=new C(p);if(v.push(U,!0),v.err)throw v.msg;return v.result}function u(U,p){return p=p||{},p.raw=!0,f(U,p)}n.Inflate=C,n.inflate=f,n.inflateRaw=u,n.ungzip=f},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(A,t,n){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";n.assign=function(s){for(var g=Array.prototype.slice.call(arguments,1);g.length;){var Q=g.shift();if(Q){if(typeof Q!="object")throw new TypeError(Q+"must be non-object");for(var c in Q)Q.hasOwnProperty(c)&&(s[c]=Q[c])}}return s},n.shrinkBuf=function(s,g){return s.length===g?s:s.subarray?s.subarray(0,g):(s.length=g,s)};var a={arraySet:function(s,g,Q,c,h){if(g.subarray&&s.subarray){s.set(g.subarray(Q,Q+c),h);return}for(var C=0;C<c;C++)s[h+C]=g[Q+C]},flattenChunks:function(s){var g,Q,c,h,C,f;for(c=0,g=0,Q=s.length;g<Q;g++)c+=s[g].length;for(f=new Uint8Array(c),h=0,g=0,Q=s.length;g<Q;g++)C=s[g],f.set(C,h),h+=C.length;return f}},o={arraySet:function(s,g,Q,c,h){for(var C=0;C<c;C++)s[h+C]=g[Q+C]},flattenChunks:function(s){return[].concat.apply([],s)}};n.setTyped=function(s){s?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,a)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],33:[function(A,t,n){var i=A("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var s=new i.Buf8(256),g=0;g<256;g++)s[g]=g>=252?6:g>=248?5:g>=240?4:g>=224?3:g>=192?2:1;s[254]=s[254]=1,n.string2buf=function(c){var h,C,f,u,U,p=c.length,v=0;for(u=0;u<p;u++)C=c.charCodeAt(u),(C&64512)===55296&&u+1<p&&(f=c.charCodeAt(u+1),(f&64512)===56320&&(C=65536+(C-55296<<10)+(f-56320),u++)),v+=C<128?1:C<2048?2:C<65536?3:4;for(h=new i.Buf8(v),U=0,u=0;U<v;u++)C=c.charCodeAt(u),(C&64512)===55296&&u+1<p&&(f=c.charCodeAt(u+1),(f&64512)===56320&&(C=65536+(C-55296<<10)+(f-56320),u++)),C<128?h[U++]=C:C<2048?(h[U++]=192|C>>>6,h[U++]=128|C&63):C<65536?(h[U++]=224|C>>>12,h[U++]=128|C>>>6&63,h[U++]=128|C&63):(h[U++]=240|C>>>18,h[U++]=128|C>>>12&63,h[U++]=128|C>>>6&63,h[U++]=128|C&63);return h};function Q(c,h){if(h<65537&&(c.subarray&&o||!c.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(c,h));for(var C="",f=0;f<h;f++)C+=String.fromCharCode(c[f]);return C}n.buf2binstring=function(c){return Q(c,c.length)},n.binstring2buf=function(c){for(var h=new i.Buf8(c.length),C=0,f=h.length;C<f;C++)h[C]=c.charCodeAt(C);return h},n.buf2string=function(c,h){var C,f,u,U,p=h||c.length,v=new Array(p*2);for(f=0,C=0;C<p;){if(u=c[C++],u<128){v[f++]=u;continue}if(U=s[u],U>4){v[f++]=65533,C+=U-1;continue}for(u&=U===2?31:U===3?15:7;U>1&&C<p;)u=u<<6|c[C++]&63,U--;if(U>1){v[f++]=65533;continue}u<65536?v[f++]=u:(u-=65536,v[f++]=55296|u>>10&1023,v[f++]=56320|u&1023)}return Q(v,f)},n.utf8border=function(c,h){var C;for(h=h||c.length,h>c.length&&(h=c.length),C=h-1;C>=0&&(c[C]&192)===128;)C--;return C<0||C===0?h:C+s[c[C]]>h?C:h}},{"./common":32}],34:[function(A,t,n){function i(a,o,s,g){for(var Q=a&65535|0,c=a>>>16&65535|0,h=0;s!==0;){h=s>2e3?2e3:s,s-=h;do Q=Q+o[g++]|0,c=c+Q|0;while(--h);Q%=65521,c%=65521}return Q|c<<16|0}t.exports=i},{}],35:[function(A,t,n){t.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}},{}],36:[function(A,t,n){function i(){for(var s,g=[],Q=0;Q<256;Q++){s=Q;for(var c=0;c<8;c++)s=s&1?3988292384^s>>>1:s>>>1;g[Q]=s}return g}var a=i();function o(s,g,Q,c){var h=a,C=c+Q;s^=-1;for(var f=c;f<C;f++)s=s>>>8^h[(s^g[f])&255];return s^-1}t.exports=o},{}],37:[function(A,t,n){var i=A("../utils/common"),a=A("./trees"),o=A("./adler32"),s=A("./crc32"),g=A("./messages"),Q=0,c=1,h=3,C=4,f=5,u=0,U=1,p=-2,v=-3,K=-5,k=-1,L=1,F=2,O=3,D=4,V=0,Y=2,q=8,W=9,N=15,$=8,iA=29,b=256,S=b+1+iA,T=30,J=19,eA=2*S+1,gA=15,sA=3,QA=258,lA=QA+sA+1,l=32,I=42,y=69,M=73,X=91,z=103,AA=113,fA=666,hA=1,KA=2,PA=3,MA=4,cA=3;function TA(B,R){return B.msg=g[R],R}function ae(B){return(B<<1)-(B>4?9:0)}function FA(B){for(var R=B.length;--R>=0;)B[R]=0}function zA(B){var R=B.state,_=R.pending;_>B.avail_out&&(_=B.avail_out),_!==0&&(i.arraySet(B.output,R.pending_buf,R.pending_out,_,B.next_out),B.next_out+=_,R.pending_out+=_,B.total_out+=_,B.avail_out-=_,R.pending-=_,R.pending===0&&(R.pending_out=0))}function vA(B,R){a._tr_flush_block(B,B.block_start>=0?B.block_start:-1,B.strstart-B.block_start,R),B.block_start=B.strstart,zA(B.strm)}function uA(B,R){B.pending_buf[B.pending++]=R}function ee(B,R){B.pending_buf[B.pending++]=R>>>8&255,B.pending_buf[B.pending++]=R&255}function Je(B,R,_,w){var m=B.avail_in;return m>w&&(m=w),m===0?0:(B.avail_in-=m,i.arraySet(R,B.input,B.next_in,m,_),B.state.wrap===1?B.adler=o(B.adler,R,m,_):B.state.wrap===2&&(B.adler=s(B.adler,R,m,_)),B.next_in+=m,B.total_in+=m,m)}function He(B,R){var _=B.max_chain_length,w=B.strstart,m,x,oA=B.prev_length,rA=B.nice_match,BA=B.strstart>B.w_size-lA?B.strstart-(B.w_size-lA):0,wA=B.window,Ee=B.w_mask,mA=B.prev,IA=B.strstart+QA,xA=wA[w+oA-1],WA=wA[w+oA];B.prev_length>=B.good_match&&(_>>=2),rA>B.lookahead&&(rA=B.lookahead);do if(m=R,!(wA[m+oA]!==WA||wA[m+oA-1]!==xA||wA[m]!==wA[w]||wA[++m]!==wA[w+1])){w+=2,m++;do;while(wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&wA[++w]===wA[++m]&&w<IA);if(x=QA-(IA-w),w=IA-QA,x>oA){if(B.match_start=R,oA=x,x>=rA)break;xA=wA[w+oA-1],WA=wA[w+oA]}}while((R=mA[R&Ee])>BA&&--_!==0);return oA<=B.lookahead?oA:B.lookahead}function te(B){var R=B.w_size,_,w,m,x,oA;do{if(x=B.window_size-B.lookahead-B.strstart,B.strstart>=R+(R-lA)){i.arraySet(B.window,B.window,R,R,0),B.match_start-=R,B.strstart-=R,B.block_start-=R,w=B.hash_size,_=w;do m=B.head[--_],B.head[_]=m>=R?m-R:0;while(--w);w=R,_=w;do m=B.prev[--_],B.prev[_]=m>=R?m-R:0;while(--w);x+=R}if(B.strm.avail_in===0)break;if(w=Je(B.strm,B.window,B.strstart+B.lookahead,x),B.lookahead+=w,B.lookahead+B.insert>=sA)for(oA=B.strstart-B.insert,B.ins_h=B.window[oA],B.ins_h=(B.ins_h<<B.hash_shift^B.window[oA+1])&B.hash_mask;B.insert&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[oA+sA-1])&B.hash_mask,B.prev[oA&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=oA,oA++,B.insert--,!(B.lookahead+B.insert<sA)););}while(B.lookahead<lA&&B.strm.avail_in!==0)}function Ye(B,R){var _=65535;for(_>B.pending_buf_size-5&&(_=B.pending_buf_size-5);;){if(B.lookahead<=1){if(te(B),B.lookahead===0&&R===Q)return hA;if(B.lookahead===0)break}B.strstart+=B.lookahead,B.lookahead=0;var w=B.block_start+_;if((B.strstart===0||B.strstart>=w)&&(B.lookahead=B.strstart-w,B.strstart=w,vA(B,!1),B.strm.avail_out===0)||B.strstart-B.block_start>=B.w_size-lA&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):(B.strstart>B.block_start&&(vA(B,!1),B.strm.avail_out===0),hA)}function Le(B,R){for(var _,w;;){if(B.lookahead<lA){if(te(B),B.lookahead<lA&&R===Q)return hA;if(B.lookahead===0)break}if(_=0,B.lookahead>=sA&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart),_!==0&&B.strstart-_<=B.w_size-lA&&(B.match_length=He(B,_)),B.match_length>=sA)if(w=a._tr_tally(B,B.strstart-B.match_start,B.match_length-sA),B.lookahead-=B.match_length,B.match_length<=B.max_lazy_match&&B.lookahead>=sA){B.match_length--;do B.strstart++,B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart;while(--B.match_length!==0);B.strstart++}else B.strstart+=B.match_length,B.match_length=0,B.ins_h=B.window[B.strstart],B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+1])&B.hash_mask;else w=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++;if(w&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=B.strstart<sA-1?B.strstart:sA-1,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function Be(B,R){for(var _,w,m;;){if(B.lookahead<lA){if(te(B),B.lookahead<lA&&R===Q)return hA;if(B.lookahead===0)break}if(_=0,B.lookahead>=sA&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart),B.prev_length=B.match_length,B.prev_match=B.match_start,B.match_length=sA-1,_!==0&&B.prev_length<B.max_lazy_match&&B.strstart-_<=B.w_size-lA&&(B.match_length=He(B,_),B.match_length<=5&&(B.strategy===L||B.match_length===sA&&B.strstart-B.match_start>4096)&&(B.match_length=sA-1)),B.prev_length>=sA&&B.match_length<=B.prev_length){m=B.strstart+B.lookahead-sA,w=a._tr_tally(B,B.strstart-1-B.prev_match,B.prev_length-sA),B.lookahead-=B.prev_length-1,B.prev_length-=2;do++B.strstart<=m&&(B.ins_h=(B.ins_h<<B.hash_shift^B.window[B.strstart+sA-1])&B.hash_mask,_=B.prev[B.strstart&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=B.strstart);while(--B.prev_length!==0);if(B.match_available=0,B.match_length=sA-1,B.strstart++,w&&(vA(B,!1),B.strm.avail_out===0))return hA}else if(B.match_available){if(w=a._tr_tally(B,0,B.window[B.strstart-1]),w&&vA(B,!1),B.strstart++,B.lookahead--,B.strm.avail_out===0)return hA}else B.match_available=1,B.strstart++,B.lookahead--}return B.match_available&&(w=a._tr_tally(B,0,B.window[B.strstart-1]),B.match_available=0),B.insert=B.strstart<sA-1?B.strstart:sA-1,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function qe(B,R){for(var _,w,m,x,oA=B.window;;){if(B.lookahead<=QA){if(te(B),B.lookahead<=QA&&R===Q)return hA;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=sA&&B.strstart>0&&(m=B.strstart-1,w=oA[m],w===oA[++m]&&w===oA[++m]&&w===oA[++m])){x=B.strstart+QA;do;while(w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&w===oA[++m]&&m<x);B.match_length=QA-(x-m),B.match_length>B.lookahead&&(B.match_length=B.lookahead)}if(B.match_length>=sA?(_=a._tr_tally(B,1,B.match_length-sA),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(_=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),_&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function Ke(B,R){for(var _;;){if(B.lookahead===0&&(te(B),B.lookahead===0)){if(R===Q)return hA;break}if(B.match_length=0,_=a._tr_tally(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,_&&(vA(B,!1),B.strm.avail_out===0))return hA}return B.insert=0,R===C?(vA(B,!0),B.strm.avail_out===0?PA:MA):B.last_lit&&(vA(B,!1),B.strm.avail_out===0)?hA:KA}function XA(B,R,_,w,m){this.good_length=B,this.max_lazy=R,this.nice_length=_,this.max_chain=w,this.func=m}var Ce;Ce=[new XA(0,0,0,0,Ye),new XA(4,4,8,4,Le),new XA(4,5,16,8,Le),new XA(4,6,32,32,Le),new XA(4,4,16,16,Be),new XA(8,16,32,32,Be),new XA(8,16,128,128,Be),new XA(8,32,128,256,Be),new XA(32,128,258,1024,Be),new XA(32,258,258,4096,Be)];function je(B){B.window_size=2*B.w_size,FA(B.head),B.max_lazy_match=Ce[B.level].max_lazy,B.good_match=Ce[B.level].good_length,B.nice_match=Ce[B.level].nice_length,B.max_chain_length=Ce[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=sA-1,B.match_available=0,B.ins_h=0}function d(){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=q,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(eA*2),this.dyn_dtree=new i.Buf16((2*T+1)*2),this.bl_tree=new i.Buf16((2*J+1)*2),FA(this.dyn_ltree),FA(this.dyn_dtree),FA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(gA+1),this.heap=new i.Buf16(2*S+1),FA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*S+1),FA(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 G(B){var R;return!B||!B.state?TA(B,p):(B.total_in=B.total_out=0,B.data_type=Y,R=B.state,R.pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?I:AA,B.adler=R.wrap===2?0:1,R.last_flush=Q,a._tr_init(R),u)}function j(B){var R=G(B);return R===u&&je(B.state),R}function aA(B,R){return!B||!B.state||B.state.wrap!==2?p:(B.state.gzhead=R,u)}function H(B,R,_,w,m,x){if(!B)return p;var oA=1;if(R===k&&(R=6),w<0?(oA=0,w=-w):w>15&&(oA=2,w-=16),m<1||m>W||_!==q||w<8||w>15||R<0||R>9||x<0||x>D)return TA(B,p);w===8&&(w=9);var rA=new d;return B.state=rA,rA.strm=B,rA.wrap=oA,rA.gzhead=null,rA.w_bits=w,rA.w_size=1<<rA.w_bits,rA.w_mask=rA.w_size-1,rA.hash_bits=m+7,rA.hash_size=1<<rA.hash_bits,rA.hash_mask=rA.hash_size-1,rA.hash_shift=~~((rA.hash_bits+sA-1)/sA),rA.window=new i.Buf8(rA.w_size*2),rA.head=new i.Buf16(rA.hash_size),rA.prev=new i.Buf16(rA.w_size),rA.lit_bufsize=1<<m+6,rA.pending_buf_size=rA.lit_bufsize*4,rA.pending_buf=new i.Buf8(rA.pending_buf_size),rA.d_buf=rA.lit_bufsize>>1,rA.l_buf=3*rA.lit_bufsize,rA.level=R,rA.strategy=x,rA.method=_,j(B)}function P(B,R){return H(B,R,q,N,$,V)}function E(B,R){var _,w,m,x;if(!B||!B.state||R>f||R<0)return B?TA(B,p):p;if(w=B.state,!B.output||!B.input&&B.avail_in!==0||w.status===fA&&R!==C)return TA(B,B.avail_out===0?K:p);if(w.strm=B,_=w.last_flush,w.last_flush=R,w.status===I)if(w.wrap===2)B.adler=0,uA(w,31),uA(w,139),uA(w,8),w.gzhead?(uA(w,(w.gzhead.text?1:0)+(w.gzhead.hcrc?2:0)+(w.gzhead.extra?4:0)+(w.gzhead.name?8:0)+(w.gzhead.comment?16:0)),uA(w,w.gzhead.time&255),uA(w,w.gzhead.time>>8&255),uA(w,w.gzhead.time>>16&255),uA(w,w.gzhead.time>>24&255),uA(w,w.level===9?2:w.strategy>=F||w.level<2?4:0),uA(w,w.gzhead.os&255),w.gzhead.extra&&w.gzhead.extra.length&&(uA(w,w.gzhead.extra.length&255),uA(w,w.gzhead.extra.length>>8&255)),w.gzhead.hcrc&&(B.adler=s(B.adler,w.pending_buf,w.pending,0)),w.gzindex=0,w.status=y):(uA(w,0),uA(w,0),uA(w,0),uA(w,0),uA(w,0),uA(w,w.level===9?2:w.strategy>=F||w.level<2?4:0),uA(w,cA),w.status=AA);else{var oA=q+(w.w_bits-8<<4)<<8,rA=-1;w.strategy>=F||w.level<2?rA=0:w.level<6?rA=1:w.level===6?rA=2:rA=3,oA|=rA<<6,w.strstart!==0&&(oA|=l),oA+=31-oA%31,w.status=AA,ee(w,oA),w.strstart!==0&&(ee(w,B.adler>>>16),ee(w,B.adler&65535)),B.adler=1}if(w.status===y)if(w.gzhead.extra){for(m=w.pending;w.gzindex<(w.gzhead.extra.length&65535)&&!(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size));)uA(w,w.gzhead.extra[w.gzindex]&255),w.gzindex++;w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),w.gzindex===w.gzhead.extra.length&&(w.gzindex=0,w.status=M)}else w.status=M;if(w.status===M)if(w.gzhead.name){m=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size)){x=1;break}w.gzindex<w.gzhead.name.length?x=w.gzhead.name.charCodeAt(w.gzindex++)&255:x=0,uA(w,x)}while(x!==0);w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),x===0&&(w.gzindex=0,w.status=X)}else w.status=X;if(w.status===X)if(w.gzhead.comment){m=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),zA(B),m=w.pending,w.pending===w.pending_buf_size)){x=1;break}w.gzindex<w.gzhead.comment.length?x=w.gzhead.comment.charCodeAt(w.gzindex++)&255:x=0,uA(w,x)}while(x!==0);w.gzhead.hcrc&&w.pending>m&&(B.adler=s(B.adler,w.pending_buf,w.pending-m,m)),x===0&&(w.status=z)}else w.status=z;if(w.status===z&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&zA(B),w.pending+2<=w.pending_buf_size&&(uA(w,B.adler&255),uA(w,B.adler>>8&255),B.adler=0,w.status=AA)):w.status=AA),w.pending!==0){if(zA(B),B.avail_out===0)return w.last_flush=-1,u}else if(B.avail_in===0&&ae(R)<=ae(_)&&R!==C)return TA(B,K);if(w.status===fA&&B.avail_in!==0)return TA(B,K);if(B.avail_in!==0||w.lookahead!==0||R!==Q&&w.status!==fA){var BA=w.strategy===F?Ke(w,R):w.strategy===O?qe(w,R):Ce[w.level].func(w,R);if((BA===PA||BA===MA)&&(w.status=fA),BA===hA||BA===PA)return B.avail_out===0&&(w.last_flush=-1),u;if(BA===KA&&(R===c?a._tr_align(w):R!==f&&(a._tr_stored_block(w,0,0,!1),R===h&&(FA(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),zA(B),B.avail_out===0))return w.last_flush=-1,u}return R!==C?u:w.wrap<=0?U:(w.wrap===2?(uA(w,B.adler&255),uA(w,B.adler>>8&255),uA(w,B.adler>>16&255),uA(w,B.adler>>24&255),uA(w,B.total_in&255),uA(w,B.total_in>>8&255),uA(w,B.total_in>>16&255),uA(w,B.total_in>>24&255)):(ee(w,B.adler>>>16),ee(w,B.adler&65535)),zA(B),w.wrap>0&&(w.wrap=-w.wrap),w.pending!==0?u:U)}function Z(B){var R;return!B||!B.state?p:(R=B.state.status,R!==I&&R!==y&&R!==M&&R!==X&&R!==z&&R!==AA&&R!==fA?TA(B,p):(B.state=null,R===AA?TA(B,v):u))}function CA(B,R){var _=R.length,w,m,x,oA,rA,BA,wA,Ee;if(!B||!B.state||(w=B.state,oA=w.wrap,oA===2||oA===1&&w.status!==I||w.lookahead))return p;for(oA===1&&(B.adler=o(B.adler,R,_,0)),w.wrap=0,_>=w.w_size&&(oA===0&&(FA(w.head),w.strstart=0,w.block_start=0,w.insert=0),Ee=new i.Buf8(w.w_size),i.arraySet(Ee,R,_-w.w_size,w.w_size,0),R=Ee,_=w.w_size),rA=B.avail_in,BA=B.next_in,wA=B.input,B.avail_in=_,B.next_in=0,B.input=R,te(w);w.lookahead>=sA;){m=w.strstart,x=w.lookahead-(sA-1);do w.ins_h=(w.ins_h<<w.hash_shift^w.window[m+sA-1])&w.hash_mask,w.prev[m&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=m,m++;while(--x);w.strstart=m,w.lookahead=sA-1,te(w)}return w.strstart+=w.lookahead,w.block_start=w.strstart,w.insert=w.lookahead,w.lookahead=0,w.match_length=w.prev_length=sA-1,w.match_available=0,B.next_in=BA,B.input=wA,B.avail_in=rA,w.wrap=oA,u}n.deflateInit=P,n.deflateInit2=H,n.deflateReset=j,n.deflateResetKeep=G,n.deflateSetHeader=aA,n.deflate=E,n.deflateEnd=Z,n.deflateSetDictionary=CA,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(A,t,n){function i(){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}t.exports=i},{}],39:[function(A,t,n){var i=30,a=12;t.exports=function(s,g){var Q,c,h,C,f,u,U,p,v,K,k,L,F,O,D,V,Y,q,W,N,$,iA,b,S,T;Q=s.state,c=s.next_in,S=s.input,h=c+(s.avail_in-5),C=s.next_out,T=s.output,f=C-(g-s.avail_out),u=C+(s.avail_out-257),U=Q.dmax,p=Q.wsize,v=Q.whave,K=Q.wnext,k=Q.window,L=Q.hold,F=Q.bits,O=Q.lencode,D=Q.distcode,V=(1<<Q.lenbits)-1,Y=(1<<Q.distbits)-1;A:do{F<15&&(L+=S[c++]<<F,F+=8,L+=S[c++]<<F,F+=8),q=O[L&V];e:for(;;){if(W=q>>>24,L>>>=W,F-=W,W=q>>>16&255,W===0)T[C++]=q&65535;else if(W&16){N=q&65535,W&=15,W&&(F<W&&(L+=S[c++]<<F,F+=8),N+=L&(1<<W)-1,L>>>=W,F-=W),F<15&&(L+=S[c++]<<F,F+=8,L+=S[c++]<<F,F+=8),q=D[L&Y];t:for(;;){if(W=q>>>24,L>>>=W,F-=W,W=q>>>16&255,W&16){if($=q&65535,W&=15,F<W&&(L+=S[c++]<<F,F+=8,F<W&&(L+=S[c++]<<F,F+=8)),$+=L&(1<<W)-1,$>U){s.msg="invalid distance too far back",Q.mode=i;break A}if(L>>>=W,F-=W,W=C-f,$>W){if(W=$-W,W>v&&Q.sane){s.msg="invalid distance too far back",Q.mode=i;break A}if(iA=0,b=k,K===0){if(iA+=p-W,W<N){N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}}else if(K<W){if(iA+=p+K-W,W-=K,W<N){N-=W;do T[C++]=k[iA++];while(--W);if(iA=0,K<N){W=K,N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}}}else if(iA+=K-W,W<N){N-=W;do T[C++]=k[iA++];while(--W);iA=C-$,b=T}for(;N>2;)T[C++]=b[iA++],T[C++]=b[iA++],T[C++]=b[iA++],N-=3;N&&(T[C++]=b[iA++],N>1&&(T[C++]=b[iA++]))}else{iA=C-$;do T[C++]=T[iA++],T[C++]=T[iA++],T[C++]=T[iA++],N-=3;while(N>2);N&&(T[C++]=T[iA++],N>1&&(T[C++]=T[iA++]))}}else if(W&64){s.msg="invalid distance code",Q.mode=i;break A}else{q=D[(q&65535)+(L&(1<<W)-1)];continue t}break}}else if(W&64)if(W&32){Q.mode=a;break A}else{s.msg="invalid literal/length code",Q.mode=i;break A}else{q=O[(q&65535)+(L&(1<<W)-1)];continue e}break}}while(c<h&&C<u);N=F>>3,c-=N,F-=N<<3,L&=(1<<F)-1,s.next_in=c,s.next_out=C,s.avail_in=c<h?5+(h-c):5-(c-h),s.avail_out=C<u?257+(u-C):257-(C-u),Q.hold=L,Q.bits=F}},{}],40:[function(A,t,n){var i=A("../utils/common"),a=A("./adler32"),o=A("./crc32"),s=A("./inffast"),g=A("./inftrees"),Q=0,c=1,h=2,C=4,f=5,u=6,U=0,p=1,v=2,K=-2,k=-3,L=-4,F=-5,O=8,D=1,V=2,Y=3,q=4,W=5,N=6,$=7,iA=8,b=9,S=10,T=11,J=12,eA=13,gA=14,sA=15,QA=16,lA=17,l=18,I=19,y=20,M=21,X=22,z=23,AA=24,fA=25,hA=26,KA=27,PA=28,MA=29,cA=30,TA=31,ae=32,FA=852,zA=592,vA=15,uA=vA;function ee(H){return(H>>>24&255)+(H>>>8&65280)+((H&65280)<<8)+((H&255)<<24)}function Je(){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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function He(H){var P;return!H||!H.state?K:(P=H.state,H.total_in=H.total_out=P.total=0,H.msg="",P.wrap&&(H.adler=P.wrap&1),P.mode=D,P.last=0,P.havedict=0,P.dmax=32768,P.head=null,P.hold=0,P.bits=0,P.lencode=P.lendyn=new i.Buf32(FA),P.distcode=P.distdyn=new i.Buf32(zA),P.sane=1,P.back=-1,U)}function te(H){var P;return!H||!H.state?K:(P=H.state,P.wsize=0,P.whave=0,P.wnext=0,He(H))}function Ye(H,P){var E,Z;return!H||!H.state||(Z=H.state,P<0?(E=0,P=-P):(E=(P>>4)+1,P<48&&(P&=15)),P&&(P<8||P>15))?K:(Z.window!==null&&Z.wbits!==P&&(Z.window=null),Z.wrap=E,Z.wbits=P,te(H))}function Le(H,P){var E,Z;return H?(Z=new Je,H.state=Z,Z.window=null,E=Ye(H,P),E!==U&&(H.state=null),E):K}function Be(H){return Le(H,uA)}var qe=!0,Ke,XA;function Ce(H){if(qe){var P;for(Ke=new i.Buf32(512),XA=new i.Buf32(32),P=0;P<144;)H.lens[P++]=8;for(;P<256;)H.lens[P++]=9;for(;P<280;)H.lens[P++]=7;for(;P<288;)H.lens[P++]=8;for(g(c,H.lens,0,288,Ke,0,H.work,{bits:9}),P=0;P<32;)H.lens[P++]=5;g(h,H.lens,0,32,XA,0,H.work,{bits:5}),qe=!1}H.lencode=Ke,H.lenbits=9,H.distcode=XA,H.distbits=5}function je(H,P,E,Z){var CA,B=H.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new i.Buf8(B.wsize)),Z>=B.wsize?(i.arraySet(B.window,P,E-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(CA=B.wsize-B.wnext,CA>Z&&(CA=Z),i.arraySet(B.window,P,E-Z,CA,B.wnext),Z-=CA,Z?(i.arraySet(B.window,P,E-Z,Z,0),B.wnext=Z,B.whave=B.wsize):(B.wnext+=CA,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=CA))),0}function d(H,P){var E,Z,CA,B,R,_,w,m,x,oA,rA,BA,wA,Ee,mA=0,IA,xA,WA,JA,cr,ur,SA,re,_A=new i.Buf8(4),he,Qe,wa=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!H||!H.state||!H.output||!H.input&&H.avail_in!==0)return K;E=H.state,E.mode===J&&(E.mode=eA),R=H.next_out,CA=H.output,w=H.avail_out,B=H.next_in,Z=H.input,_=H.avail_in,m=E.hold,x=E.bits,oA=_,rA=w,re=U;A:for(;;)switch(E.mode){case D:if(E.wrap===0){E.mode=eA;break}for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.wrap&2&&m===35615){E.check=0,_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0),m=0,x=0,E.mode=V;break}if(E.flags=0,E.head&&(E.head.done=!1),!(E.wrap&1)||(((m&255)<<8)+(m>>8))%31){H.msg="incorrect header check",E.mode=cA;break}if((m&15)!==O){H.msg="unknown compression method",E.mode=cA;break}if(m>>>=4,x-=4,SA=(m&15)+8,E.wbits===0)E.wbits=SA;else if(SA>E.wbits){H.msg="invalid window size",E.mode=cA;break}E.dmax=1<<SA,H.adler=E.check=1,E.mode=m&512?S:J,m=0,x=0;break;case V:for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.flags=m,(E.flags&255)!==O){H.msg="unknown compression method",E.mode=cA;break}if(E.flags&57344){H.msg="unknown header flags set",E.mode=cA;break}E.head&&(E.head.text=m>>8&1),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0,E.mode=Y;case Y:for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.head&&(E.head.time=m),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,_A[2]=m>>>16&255,_A[3]=m>>>24&255,E.check=o(E.check,_A,4,0)),m=0,x=0,E.mode=q;case q:for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.head&&(E.head.xflags=m&255,E.head.os=m>>8),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0,E.mode=W;case W:if(E.flags&1024){for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.length=m,E.head&&(E.head.extra_len=m),E.flags&512&&(_A[0]=m&255,_A[1]=m>>>8&255,E.check=o(E.check,_A,2,0)),m=0,x=0}else E.head&&(E.head.extra=null);E.mode=N;case N:if(E.flags&1024&&(BA=E.length,BA>_&&(BA=_),BA&&(E.head&&(SA=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),i.arraySet(E.head.extra,Z,B,BA,SA)),E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,E.length-=BA),E.length))break A;E.length=0,E.mode=$;case $:if(E.flags&2048){if(_===0)break A;BA=0;do SA=Z[B+BA++],E.head&&SA&&E.length<65536&&(E.head.name+=String.fromCharCode(SA));while(SA&&BA<_);if(E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,SA)break A}else E.head&&(E.head.name=null);E.length=0,E.mode=iA;case iA:if(E.flags&4096){if(_===0)break A;BA=0;do SA=Z[B+BA++],E.head&&SA&&E.length<65536&&(E.head.comment+=String.fromCharCode(SA));while(SA&&BA<_);if(E.flags&512&&(E.check=o(E.check,Z,BA,B)),_-=BA,B+=BA,SA)break A}else E.head&&(E.head.comment=null);E.mode=b;case b:if(E.flags&512){for(;x<16;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m!==(E.check&65535)){H.msg="header crc mismatch",E.mode=cA;break}m=0,x=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),H.adler=E.check=0,E.mode=J;break;case S:for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}H.adler=E.check=ee(m),m=0,x=0,E.mode=T;case T:if(E.havedict===0)return H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,v;H.adler=E.check=1,E.mode=J;case J:if(P===f||P===u)break A;case eA:if(E.last){m>>>=x&7,x-=x&7,E.mode=KA;break}for(;x<3;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}switch(E.last=m&1,m>>>=1,x-=1,m&3){case 0:E.mode=gA;break;case 1:if(Ce(E),E.mode=y,P===u){m>>>=2,x-=2;break A}break;case 2:E.mode=lA;break;case 3:H.msg="invalid block type",E.mode=cA}m>>>=2,x-=2;break;case gA:for(m>>>=x&7,x-=x&7;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if((m&65535)!==(m>>>16^65535)){H.msg="invalid stored block lengths",E.mode=cA;break}if(E.length=m&65535,m=0,x=0,E.mode=sA,P===u)break A;case sA:E.mode=QA;case QA:if(BA=E.length,BA){if(BA>_&&(BA=_),BA>w&&(BA=w),BA===0)break A;i.arraySet(CA,Z,B,BA,R),_-=BA,B+=BA,w-=BA,R+=BA,E.length-=BA;break}E.mode=J;break;case lA:for(;x<14;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(E.nlen=(m&31)+257,m>>>=5,x-=5,E.ndist=(m&31)+1,m>>>=5,x-=5,E.ncode=(m&15)+4,m>>>=4,x-=4,E.nlen>286||E.ndist>30){H.msg="too many length or distance symbols",E.mode=cA;break}E.have=0,E.mode=l;case l:for(;E.have<E.ncode;){for(;x<3;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.lens[wa[E.have++]]=m&7,m>>>=3,x-=3}for(;E.have<19;)E.lens[wa[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,he={bits:E.lenbits},re=g(Q,E.lens,0,19,E.lencode,0,E.work,he),E.lenbits=he.bits,re){H.msg="invalid code lengths set",E.mode=cA;break}E.have=0,E.mode=I;case I:for(;E.have<E.nlen+E.ndist;){for(;mA=E.lencode[m&(1<<E.lenbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(WA<16)m>>>=IA,x-=IA,E.lens[E.have++]=WA;else{if(WA===16){for(Qe=IA+2;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m>>>=IA,x-=IA,E.have===0){H.msg="invalid bit length repeat",E.mode=cA;break}SA=E.lens[E.have-1],BA=3+(m&3),m>>>=2,x-=2}else if(WA===17){for(Qe=IA+3;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=IA,x-=IA,SA=0,BA=3+(m&7),m>>>=3,x-=3}else{for(Qe=IA+7;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=IA,x-=IA,SA=0,BA=11+(m&127),m>>>=7,x-=7}if(E.have+BA>E.nlen+E.ndist){H.msg="invalid bit length repeat",E.mode=cA;break}for(;BA--;)E.lens[E.have++]=SA}}if(E.mode===cA)break;if(E.lens[256]===0){H.msg="invalid code -- missing end-of-block",E.mode=cA;break}if(E.lenbits=9,he={bits:E.lenbits},re=g(c,E.lens,0,E.nlen,E.lencode,0,E.work,he),E.lenbits=he.bits,re){H.msg="invalid literal/lengths set",E.mode=cA;break}if(E.distbits=6,E.distcode=E.distdyn,he={bits:E.distbits},re=g(h,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,he),E.distbits=he.bits,re){H.msg="invalid distances set",E.mode=cA;break}if(E.mode=y,P===u)break A;case y:E.mode=M;case M:if(_>=6&&w>=258){H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,s(H,rA),R=H.next_out,CA=H.output,w=H.avail_out,B=H.next_in,Z=H.input,_=H.avail_in,m=E.hold,x=E.bits,E.mode===J&&(E.back=-1);break}for(E.back=0;mA=E.lencode[m&(1<<E.lenbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(xA&&!(xA&240)){for(JA=IA,cr=xA,ur=WA;mA=E.lencode[ur+((m&(1<<JA+cr)-1)>>JA)],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(JA+IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=JA,x-=JA,E.back+=JA}if(m>>>=IA,x-=IA,E.back+=IA,E.length=WA,xA===0){E.mode=hA;break}if(xA&32){E.back=-1,E.mode=J;break}if(xA&64){H.msg="invalid literal/length code",E.mode=cA;break}E.extra=xA&15,E.mode=X;case X:if(E.extra){for(Qe=E.extra;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.length+=m&(1<<E.extra)-1,m>>>=E.extra,x-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=z;case z:for(;mA=E.distcode[m&(1<<E.distbits)-1],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(!(xA&240)){for(JA=IA,cr=xA,ur=WA;mA=E.distcode[ur+((m&(1<<JA+cr)-1)>>JA)],IA=mA>>>24,xA=mA>>>16&255,WA=mA&65535,!(JA+IA<=x);){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}m>>>=JA,x-=JA,E.back+=JA}if(m>>>=IA,x-=IA,E.back+=IA,xA&64){H.msg="invalid distance code",E.mode=cA;break}E.offset=WA,E.extra=xA&15,E.mode=AA;case AA:if(E.extra){for(Qe=E.extra;x<Qe;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}E.offset+=m&(1<<E.extra)-1,m>>>=E.extra,x-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){H.msg="invalid distance too far back",E.mode=cA;break}E.mode=fA;case fA:if(w===0)break A;if(BA=rA-w,E.offset>BA){if(BA=E.offset-BA,BA>E.whave&&E.sane){H.msg="invalid distance too far back",E.mode=cA;break}BA>E.wnext?(BA-=E.wnext,wA=E.wsize-BA):wA=E.wnext-BA,BA>E.length&&(BA=E.length),Ee=E.window}else Ee=CA,wA=R-E.offset,BA=E.length;BA>w&&(BA=w),w-=BA,E.length-=BA;do CA[R++]=Ee[wA++];while(--BA);E.length===0&&(E.mode=M);break;case hA:if(w===0)break A;CA[R++]=E.length,w--,E.mode=M;break;case KA:if(E.wrap){for(;x<32;){if(_===0)break A;_--,m|=Z[B++]<<x,x+=8}if(rA-=w,H.total_out+=rA,E.total+=rA,rA&&(H.adler=E.check=E.flags?o(E.check,CA,rA,R-rA):a(E.check,CA,rA,R-rA)),rA=w,(E.flags?m:ee(m))!==E.check){H.msg="incorrect data check",E.mode=cA;break}m=0,x=0}E.mode=PA;case PA:if(E.wrap&&E.flags){for(;x<32;){if(_===0)break A;_--,m+=Z[B++]<<x,x+=8}if(m!==(E.total&4294967295)){H.msg="incorrect length check",E.mode=cA;break}m=0,x=0}E.mode=MA;case MA:re=p;break A;case cA:re=k;break A;case TA:return L;case ae:default:return K}return H.next_out=R,H.avail_out=w,H.next_in=B,H.avail_in=_,E.hold=m,E.bits=x,(E.wsize||rA!==H.avail_out&&E.mode<cA&&(E.mode<KA||P!==C))&&je(H,H.output,H.next_out,rA-H.avail_out),oA-=H.avail_in,rA-=H.avail_out,H.total_in+=oA,H.total_out+=rA,E.total+=rA,E.wrap&&rA&&(H.adler=E.check=E.flags?o(E.check,CA,rA,H.next_out-rA):a(E.check,CA,rA,H.next_out-rA)),H.data_type=E.bits+(E.last?64:0)+(E.mode===J?128:0)+(E.mode===y||E.mode===sA?256:0),(oA===0&&rA===0||P===C)&&re===U&&(re=F),re}function G(H){if(!H||!H.state)return K;var P=H.state;return P.window&&(P.window=null),H.state=null,U}function j(H,P){var E;return!H||!H.state||(E=H.state,!(E.wrap&2))?K:(E.head=P,P.done=!1,U)}function aA(H,P){var E=P.length,Z,CA,B;return!H||!H.state||(Z=H.state,Z.wrap!==0&&Z.mode!==T)?K:Z.mode===T&&(CA=1,CA=a(CA,P,E,0),CA!==Z.check)?k:(B=je(H,P,E,E),B?(Z.mode=TA,L):(Z.havedict=1,U))}n.inflateReset=te,n.inflateReset2=Ye,n.inflateResetKeep=He,n.inflateInit=Be,n.inflateInit2=Le,n.inflate=d,n.inflateEnd=G,n.inflateGetHeader=j,n.inflateSetDictionary=aA,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(A,t,n){var i=A("../utils/common"),a=15,o=852,s=592,g=0,Q=1,c=2,h=[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],C=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[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];t.exports=function(p,v,K,k,L,F,O,D){var V=D.bits,Y=0,q=0,W=0,N=0,$=0,iA=0,b=0,S=0,T=0,J=0,eA,gA,sA,QA,lA,l=null,I=0,y,M=new i.Buf16(a+1),X=new i.Buf16(a+1),z=null,AA=0,fA,hA,KA;for(Y=0;Y<=a;Y++)M[Y]=0;for(q=0;q<k;q++)M[v[K+q]]++;for($=V,N=a;N>=1&&M[N]===0;N--);if($>N&&($=N),N===0)return L[F++]=1<<24|64<<16|0,L[F++]=1<<24|64<<16|0,D.bits=1,0;for(W=1;W<N&&M[W]===0;W++);for($<W&&($=W),S=1,Y=1;Y<=a;Y++)if(S<<=1,S-=M[Y],S<0)return-1;if(S>0&&(p===g||N!==1))return-1;for(X[1]=0,Y=1;Y<a;Y++)X[Y+1]=X[Y]+M[Y];for(q=0;q<k;q++)v[K+q]!==0&&(O[X[v[K+q]]++]=q);if(p===g?(l=z=O,y=19):p===Q?(l=h,I-=257,z=C,AA-=257,y=256):(l=f,z=u,y=-1),J=0,q=0,Y=W,lA=F,iA=$,b=0,sA=-1,T=1<<$,QA=T-1,p===Q&&T>o||p===c&&T>s)return 1;for(;;){fA=Y-b,O[q]<y?(hA=0,KA=O[q]):O[q]>y?(hA=z[AA+O[q]],KA=l[I+O[q]]):(hA=96,KA=0),eA=1<<Y-b,gA=1<<iA,W=gA;do gA-=eA,L[lA+(J>>b)+gA]=fA<<24|hA<<16|KA|0;while(gA!==0);for(eA=1<<Y-1;J&eA;)eA>>=1;if(eA!==0?(J&=eA-1,J+=eA):J=0,q++,--M[Y]===0){if(Y===N)break;Y=v[K+O[q]]}if(Y>$&&(J&QA)!==sA){for(b===0&&(b=$),lA+=W,iA=Y-b,S=1<<iA;iA+b<N&&(S-=M[iA+b],!(S<=0));)iA++,S<<=1;if(T+=1<<iA,p===Q&&T>o||p===c&&T>s)return 1;sA=J&QA,L[sA]=$<<24|iA<<16|lA-F|0}}return J!==0&&(L[lA+J]=Y-b<<24|64<<16|0),D.bits=$,0}},{"../utils/common":32}],42:[function(A,t,n){t.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"}},{}],43:[function(A,t,n){var i=A("../utils/common"),a=4,o=0,s=1,g=2;function Q(d){for(var G=d.length;--G>=0;)d[G]=0}var c=0,h=1,C=2,f=3,u=258,U=29,p=256,v=p+1+U,K=30,k=19,L=2*v+1,F=15,O=16,D=7,V=256,Y=16,q=17,W=18,N=[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],$=[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],iA=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],b=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,T=new Array((v+2)*2);Q(T);var J=new Array(K*2);Q(J);var eA=new Array(S);Q(eA);var gA=new Array(u-f+1);Q(gA);var sA=new Array(U);Q(sA);var QA=new Array(K);Q(QA);function lA(d,G,j,aA,H){this.static_tree=d,this.extra_bits=G,this.extra_base=j,this.elems=aA,this.max_length=H,this.has_stree=d&&d.length}var l,I,y;function M(d,G){this.dyn_tree=d,this.max_code=0,this.stat_desc=G}function X(d){return d<256?eA[d]:eA[256+(d>>>7)]}function z(d,G){d.pending_buf[d.pending++]=G&255,d.pending_buf[d.pending++]=G>>>8&255}function AA(d,G,j){d.bi_valid>O-j?(d.bi_buf|=G<<d.bi_valid&65535,z(d,d.bi_buf),d.bi_buf=G>>O-d.bi_valid,d.bi_valid+=j-O):(d.bi_buf|=G<<d.bi_valid&65535,d.bi_valid+=j)}function fA(d,G,j){AA(d,j[G*2],j[G*2+1])}function hA(d,G){var j=0;do j|=d&1,d>>>=1,j<<=1;while(--G>0);return j>>>1}function KA(d){d.bi_valid===16?(z(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):d.bi_valid>=8&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}function PA(d,G){var j=G.dyn_tree,aA=G.max_code,H=G.stat_desc.static_tree,P=G.stat_desc.has_stree,E=G.stat_desc.extra_bits,Z=G.stat_desc.extra_base,CA=G.stat_desc.max_length,B,R,_,w,m,x,oA=0;for(w=0;w<=F;w++)d.bl_count[w]=0;for(j[d.heap[d.heap_max]*2+1]=0,B=d.heap_max+1;B<L;B++)R=d.heap[B],w=j[j[R*2+1]*2+1]+1,w>CA&&(w=CA,oA++),j[R*2+1]=w,!(R>aA)&&(d.bl_count[w]++,m=0,R>=Z&&(m=E[R-Z]),x=j[R*2],d.opt_len+=x*(w+m),P&&(d.static_len+=x*(H[R*2+1]+m)));if(oA!==0){do{for(w=CA-1;d.bl_count[w]===0;)w--;d.bl_count[w]--,d.bl_count[w+1]+=2,d.bl_count[CA]--,oA-=2}while(oA>0);for(w=CA;w!==0;w--)for(R=d.bl_count[w];R!==0;)_=d.heap[--B],!(_>aA)&&(j[_*2+1]!==w&&(d.opt_len+=(w-j[_*2+1])*j[_*2],j[_*2+1]=w),R--)}}function MA(d,G,j){var aA=new Array(F+1),H=0,P,E;for(P=1;P<=F;P++)aA[P]=H=H+j[P-1]<<1;for(E=0;E<=G;E++){var Z=d[E*2+1];Z!==0&&(d[E*2]=hA(aA[Z]++,Z))}}function cA(){var d,G,j,aA,H,P=new Array(F+1);for(j=0,aA=0;aA<U-1;aA++)for(sA[aA]=j,d=0;d<1<<N[aA];d++)gA[j++]=aA;for(gA[j-1]=aA,H=0,aA=0;aA<16;aA++)for(QA[aA]=H,d=0;d<1<<$[aA];d++)eA[H++]=aA;for(H>>=7;aA<K;aA++)for(QA[aA]=H<<7,d=0;d<1<<$[aA]-7;d++)eA[256+H++]=aA;for(G=0;G<=F;G++)P[G]=0;for(d=0;d<=143;)T[d*2+1]=8,d++,P[8]++;for(;d<=255;)T[d*2+1]=9,d++,P[9]++;for(;d<=279;)T[d*2+1]=7,d++,P[7]++;for(;d<=287;)T[d*2+1]=8,d++,P[8]++;for(MA(T,v+1,P),d=0;d<K;d++)J[d*2+1]=5,J[d*2]=hA(d,5);l=new lA(T,N,p+1,v,F),I=new lA(J,$,0,K,F),y=new lA(new Array(0),iA,0,k,D)}function TA(d){var G;for(G=0;G<v;G++)d.dyn_ltree[G*2]=0;for(G=0;G<K;G++)d.dyn_dtree[G*2]=0;for(G=0;G<k;G++)d.bl_tree[G*2]=0;d.dyn_ltree[V*2]=1,d.opt_len=d.static_len=0,d.last_lit=d.matches=0}function ae(d){d.bi_valid>8?z(d,d.bi_buf):d.bi_valid>0&&(d.pending_buf[d.pending++]=d.bi_buf),d.bi_buf=0,d.bi_valid=0}function FA(d,G,j,aA){ae(d),aA&&(z(d,j),z(d,~j)),i.arraySet(d.pending_buf,d.window,G,j,d.pending),d.pending+=j}function zA(d,G,j,aA){var H=G*2,P=j*2;return d[H]<d[P]||d[H]===d[P]&&aA[G]<=aA[j]}function vA(d,G,j){for(var aA=d.heap[j],H=j<<1;H<=d.heap_len&&(H<d.heap_len&&zA(G,d.heap[H+1],d.heap[H],d.depth)&&H++,!zA(G,aA,d.heap[H],d.depth));)d.heap[j]=d.heap[H],j=H,H<<=1;d.heap[j]=aA}function uA(d,G,j){var aA,H,P=0,E,Z;if(d.last_lit!==0)do aA=d.pending_buf[d.d_buf+P*2]<<8|d.pending_buf[d.d_buf+P*2+1],H=d.pending_buf[d.l_buf+P],P++,aA===0?fA(d,H,G):(E=gA[H],fA(d,E+p+1,G),Z=N[E],Z!==0&&(H-=sA[E],AA(d,H,Z)),aA--,E=X(aA),fA(d,E,j),Z=$[E],Z!==0&&(aA-=QA[E],AA(d,aA,Z)));while(P<d.last_lit);fA(d,V,G)}function ee(d,G){var j=G.dyn_tree,aA=G.stat_desc.static_tree,H=G.stat_desc.has_stree,P=G.stat_desc.elems,E,Z,CA=-1,B;for(d.heap_len=0,d.heap_max=L,E=0;E<P;E++)j[E*2]!==0?(d.heap[++d.heap_len]=CA=E,d.depth[E]=0):j[E*2+1]=0;for(;d.heap_len<2;)B=d.heap[++d.heap_len]=CA<2?++CA:0,j[B*2]=1,d.depth[B]=0,d.opt_len--,H&&(d.static_len-=aA[B*2+1]);for(G.max_code=CA,E=d.heap_len>>1;E>=1;E--)vA(d,j,E);B=P;do E=d.heap[1],d.heap[1]=d.heap[d.heap_len--],vA(d,j,1),Z=d.heap[1],d.heap[--d.heap_max]=E,d.heap[--d.heap_max]=Z,j[B*2]=j[E*2]+j[Z*2],d.depth[B]=(d.depth[E]>=d.depth[Z]?d.depth[E]:d.depth[Z])+1,j[E*2+1]=j[Z*2+1]=B,d.heap[1]=B++,vA(d,j,1);while(d.heap_len>=2);d.heap[--d.heap_max]=d.heap[1],PA(d,G),MA(j,CA,d.bl_count)}function Je(d,G,j){var aA,H=-1,P,E=G[0*2+1],Z=0,CA=7,B=4;for(E===0&&(CA=138,B=3),G[(j+1)*2+1]=65535,aA=0;aA<=j;aA++)P=E,E=G[(aA+1)*2+1],!(++Z<CA&&P===E)&&(Z<B?d.bl_tree[P*2]+=Z:P!==0?(P!==H&&d.bl_tree[P*2]++,d.bl_tree[Y*2]++):Z<=10?d.bl_tree[q*2]++:d.bl_tree[W*2]++,Z=0,H=P,E===0?(CA=138,B=3):P===E?(CA=6,B=3):(CA=7,B=4))}function He(d,G,j){var aA,H=-1,P,E=G[0*2+1],Z=0,CA=7,B=4;for(E===0&&(CA=138,B=3),aA=0;aA<=j;aA++)if(P=E,E=G[(aA+1)*2+1],!(++Z<CA&&P===E)){if(Z<B)do fA(d,P,d.bl_tree);while(--Z!==0);else P!==0?(P!==H&&(fA(d,P,d.bl_tree),Z--),fA(d,Y,d.bl_tree),AA(d,Z-3,2)):Z<=10?(fA(d,q,d.bl_tree),AA(d,Z-3,3)):(fA(d,W,d.bl_tree),AA(d,Z-11,7));Z=0,H=P,E===0?(CA=138,B=3):P===E?(CA=6,B=3):(CA=7,B=4)}}function te(d){var G;for(Je(d,d.dyn_ltree,d.l_desc.max_code),Je(d,d.dyn_dtree,d.d_desc.max_code),ee(d,d.bl_desc),G=k-1;G>=3&&d.bl_tree[b[G]*2+1]===0;G--);return d.opt_len+=3*(G+1)+5+5+4,G}function Ye(d,G,j,aA){var H;for(AA(d,G-257,5),AA(d,j-1,5),AA(d,aA-4,4),H=0;H<aA;H++)AA(d,d.bl_tree[b[H]*2+1],3);He(d,d.dyn_ltree,G-1),He(d,d.dyn_dtree,j-1)}function Le(d){var G=4093624447,j;for(j=0;j<=31;j++,G>>>=1)if(G&1&&d.dyn_ltree[j*2]!==0)return o;if(d.dyn_ltree[9*2]!==0||d.dyn_ltree[10*2]!==0||d.dyn_ltree[13*2]!==0)return s;for(j=32;j<p;j++)if(d.dyn_ltree[j*2]!==0)return s;return o}var Be=!1;function qe(d){Be||(cA(),Be=!0),d.l_desc=new M(d.dyn_ltree,l),d.d_desc=new M(d.dyn_dtree,I),d.bl_desc=new M(d.bl_tree,y),d.bi_buf=0,d.bi_valid=0,TA(d)}function Ke(d,G,j,aA){AA(d,(c<<1)+(aA?1:0),3),FA(d,G,j,!0)}function XA(d){AA(d,h<<1,3),fA(d,V,T),KA(d)}function Ce(d,G,j,aA){var H,P,E=0;d.level>0?(d.strm.data_type===g&&(d.strm.data_type=Le(d)),ee(d,d.l_desc),ee(d,d.d_desc),E=te(d),H=d.opt_len+3+7>>>3,P=d.static_len+3+7>>>3,P<=H&&(H=P)):H=P=j+5,j+4<=H&&G!==-1?Ke(d,G,j,aA):d.strategy===a||P===H?(AA(d,(h<<1)+(aA?1:0),3),uA(d,T,J)):(AA(d,(C<<1)+(aA?1:0),3),Ye(d,d.l_desc.max_code+1,d.d_desc.max_code+1,E+1),uA(d,d.dyn_ltree,d.dyn_dtree)),TA(d),aA&&ae(d)}function je(d,G,j){return d.pending_buf[d.d_buf+d.last_lit*2]=G>>>8&255,d.pending_buf[d.d_buf+d.last_lit*2+1]=G&255,d.pending_buf[d.l_buf+d.last_lit]=j&255,d.last_lit++,G===0?d.dyn_ltree[j*2]++:(d.matches++,G--,d.dyn_ltree[(gA[j]+p+1)*2]++,d.dyn_dtree[X(G)*2]++),d.last_lit===d.lit_bufsize-1}n._tr_init=qe,n._tr_stored_block=Ke,n._tr_flush_block=Ce,n._tr_tally=je,n._tr_align=XA},{"../utils/common":32}],44:[function(A,t,n){function i(){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}t.exports=i},{}],45:[function(A,t,n){var i=A("lodash._root"),a=1/0,o="[object Symbol]",s=/[&<>"'`]/g,g=RegExp(s.source),Q={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function c(L){return Q[L]}var h=Object.prototype,C=h.toString,f=i.Symbol,u=f?f.prototype:void 0,U=f?u.toString:void 0;function p(L){return!!L&&typeof L=="object"}function v(L){return typeof L=="symbol"||p(L)&&C.call(L)==o}function K(L){if(typeof L=="string")return L;if(L==null)return"";if(v(L))return f?U.call(L):"";var F=L+"";return F=="0"&&1/L==-a?"-0":F}function k(L){return L=K(L),L&&g.test(L)?L.replace(s,c):L}t.exports=k},{"lodash._root":46}],46:[function(A,t,n){(function(i){var a={function:!0,object:!0},o=a[typeof n]&&n&&!n.nodeType?n:void 0,s=a[typeof t]&&t&&!t.nodeType?t:void 0,g=f(o&&s&&typeof i=="object"&&i),Q=f(a[typeof self]&&self),c=f(a[typeof window]&&window),h=f(a[typeof this]&&this),C=g||c!==(h&&h.window)&&c||Q||h||Function("return this")();function f(u){return u&&u.Object===Object?u:null}t.exports=C}).call(this,typeof self<"u"?self:typeof window<"u"?window:{})},{}],47:[function(A,t,n){var i=A("lodash._arraycopy"),a=A("lodash._arrayeach"),o=A("lodash._createassigner"),s=A("lodash.isarguments"),g=A("lodash.isarray"),Q=A("lodash.isplainobject"),c=A("lodash.istypedarray"),h=A("lodash.keys"),C=A("lodash.toplainobject");function f(D){return!!D&&typeof D=="object"}var u=9007199254740991;function U(D,V,Y,q,W){if(!F(D))return D;var N=k(V)&&(g(V)||c(V)),$=N?void 0:h(V);return a($||V,function(iA,b){if($&&(b=iA,iA=V[b]),f(iA))q||(q=[]),W||(W=[]),p(D,V,b,U,Y,q,W);else{var S=D[b],T=Y?Y(S,iA,b,D,V):void 0,J=T===void 0;J&&(T=iA),(T!==void 0||N&&!(b in D))&&(J||(T===T?T!==S:S===S))&&(D[b]=T)}}),D}function p(D,V,Y,q,W,N,$){for(var iA=N.length,b=V[Y];iA--;)if(N[iA]==b){D[Y]=$[iA];return}var S=D[Y],T=W?W(S,b,Y,D,V):void 0,J=T===void 0;J&&(T=b,k(b)&&(g(b)||c(b))?T=g(S)?S:k(S)?i(S):[]:Q(b)||s(b)?T=s(S)?C(S):Q(S)?S:{}:J=!1),N.push(b),$.push(T),J?D[Y]=q(T,b,W,N,$):(T===T?T!==S:S===S)&&(D[Y]=T)}function v(D){return function(V){return V==null?void 0:V[D]}}var K=v("length");function k(D){return D!=null&&L(K(D))}function L(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=u}function F(D){var V=typeof D;return!!D&&(V=="object"||V=="function")}var O=o(U);t.exports=O},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(A,t,n){function i(a,o){var s=-1,g=a.length;for(o||(o=Array(g));++s<g;)o[s]=a[s];return o}t.exports=i},{}],49:[function(A,t,n){function i(a,o){for(var s=-1,g=a.length;++s<g&&o(a[s],s,a)!==!1;);return a}t.exports=i},{}],50:[function(A,t,n){var i=A("lodash._bindcallback"),a=A("lodash._isiterateecall"),o=A("lodash.restparam");function s(g){return o(function(Q,c){var h=-1,C=Q==null?0:c.length,f=C>2?c[C-2]:void 0,u=C>2?c[2]:void 0,U=C>1?c[C-1]:void 0;for(typeof f=="function"?(f=i(f,U,5),C-=2):(f=typeof U=="function"?U:void 0,C-=f?1:0),u&&a(c[0],c[1],u)&&(f=C<3?void 0:f,C=1);++h<C;){var p=c[h];p&&g(Q,p,f)}return Q})}t.exports=s},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(A,t,n){function i(o,s,g){if(typeof o!="function")return a;if(s===void 0)return o;switch(g){case 1:return function(Q){return o.call(s,Q)};case 3:return function(Q,c,h){return o.call(s,Q,c,h)};case 4:return function(Q,c,h,C){return o.call(s,Q,c,h,C)};case 5:return function(Q,c,h,C,f){return o.call(s,Q,c,h,C,f)}}return function(){return o.apply(s,arguments)}}function a(o){return o}t.exports=i},{}],52:[function(A,t,n){var i=/^\d+$/,a=9007199254740991;function o(f){return function(u){return u==null?void 0:u[f]}}var s=o("length");function g(f){return f!=null&&h(s(f))}function Q(f,u){return f=typeof f=="number"||i.test(f)?+f:-1,u=u??a,f>-1&&f%1==0&&f<u}function c(f,u,U){if(!C(U))return!1;var p=typeof u;if(p=="number"?g(U)&&Q(u,U.length):p=="string"&&u in U){var v=U[u];return f===f?f===v:v!==v}return!1}function h(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=a}function C(f){var u=typeof f;return!!f&&(u=="object"||u=="function")}t.exports=c},{}],53:[function(A,t,n){var i="Expected a function",a=Math.max;function o(s,g){if(typeof s!="function")throw new TypeError(i);return g=a(g===void 0?s.length-1:+g||0,0),function(){for(var Q=arguments,c=-1,h=a(Q.length-g,0),C=Array(h);++c<h;)C[c]=Q[g+c];switch(g){case 0:return s.call(this,C);case 1:return s.call(this,Q[0],C);case 2:return s.call(this,Q[0],Q[1],C)}var f=Array(g+1);for(c=-1;++c<g;)f[c]=Q[c];return f[g]=C,s.apply(this,f)}}t.exports=o},{}],54:[function(A,t,n){var i="[object Function]",a=/^\[object .+?Constructor\]$/;function o(p){return!!p&&typeof p=="object"}var s=Object.prototype,g=Function.prototype.toString,Q=s.hasOwnProperty,c=s.toString,h=RegExp("^"+g.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function C(p,v){var K=p==null?void 0:p[v];return U(K)?K:void 0}function f(p){return u(p)&&c.call(p)==i}function u(p){var v=typeof p;return!!p&&(v=="object"||v=="function")}function U(p){return p==null?!1:f(p)?h.test(g.call(p)):o(p)&&a.test(p)}t.exports=C},{}],55:[function(A,t,n){var i=9007199254740991,a="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",g=Object.prototype,Q=g.hasOwnProperty,c=g.toString,h=g.propertyIsEnumerable;function C(F){return function(O){return O==null?void 0:O[F]}}var f=C("length");function u(F){return p(F)&&Q.call(F,"callee")&&(!h.call(F,"callee")||c.call(F)==a)}function U(F){return F!=null&&K(f(F))&&!v(F)}function p(F){return L(F)&&U(F)}function v(F){var O=k(F)?c.call(F):"";return O==o||O==s}function K(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=i}function k(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}function L(F){return!!F&&typeof F=="object"}t.exports=u},{}],56:[function(A,t,n){var i="[object Array]",a="[object Function]",o=/^\[object .+?Constructor\]$/;function s(F){return!!F&&typeof F=="object"}var g=Object.prototype,Q=Function.prototype.toString,c=g.hasOwnProperty,h=g.toString,C=RegExp("^"+Q.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=U(Array,"isArray"),u=9007199254740991;function U(F,O){var D=F==null?void 0:F[O];return L(D)?D:void 0}function p(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=u}var v=f||function(F){return s(F)&&p(F.length)&&h.call(F)==i};function K(F){return k(F)&&h.call(F)==a}function k(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}function L(F){return F==null?!1:K(F)?C.test(Q.call(F)):s(F)&&o.test(F)}t.exports=v},{}],57:[function(A,t,n){var i=A("lodash._basefor"),a=A("lodash.isarguments"),o=A("lodash.keysin"),s="[object Object]";function g(u){return!!u&&typeof u=="object"}var Q=Object.prototype,c=Q.hasOwnProperty,h=Q.toString;function C(u,U){return i(u,U,o)}function f(u){var U;if(!(g(u)&&h.call(u)==s&&!a(u))||!c.call(u,"constructor")&&(U=u.constructor,typeof U=="function"&&!(U instanceof U)))return!1;var p;return C(u,function(v,K){p=K}),p===void 0||c.call(u,p)}t.exports=f},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(A,t,n){var i=a();function a(o){return function(s,g,Q){for(var c=-1,h=Object(s),C=Q(s),f=C.length;f--;){var u=C[o?f:++c];if(g(h[u],u,h)===!1)break}return s}}t.exports=i},{}],59:[function(A,t,n){var i=9007199254740991,a="[object Arguments]",o="[object Array]",s="[object Boolean]",g="[object Date]",Q="[object Error]",c="[object Function]",h="[object Map]",C="[object Number]",f="[object Object]",u="[object RegExp]",U="[object Set]",p="[object String]",v="[object WeakMap]",K="[object ArrayBuffer]",k="[object DataView]",L="[object Float32Array]",F="[object Float64Array]",O="[object Int8Array]",D="[object Int16Array]",V="[object Int32Array]",Y="[object Uint8Array]",q="[object Uint8ClampedArray]",W="[object Uint16Array]",N="[object Uint32Array]",$={};$[L]=$[F]=$[O]=$[D]=$[V]=$[Y]=$[q]=$[W]=$[N]=!0,$[a]=$[o]=$[K]=$[s]=$[k]=$[g]=$[Q]=$[c]=$[h]=$[C]=$[f]=$[u]=$[U]=$[p]=$[v]=!1;var iA=Object.prototype,b=iA.toString;function S(eA){return typeof eA=="number"&&eA>-1&&eA%1==0&&eA<=i}function T(eA){return!!eA&&typeof eA=="object"}function J(eA){return T(eA)&&S(eA.length)&&!!$[b.call(eA)]}t.exports=J},{}],60:[function(A,t,n){var i=A("lodash._getnative"),a=A("lodash.isarguments"),o=A("lodash.isarray"),s=/^\d+$/,g=Object.prototype,Q=g.hasOwnProperty,c=i(Object,"keys"),h=9007199254740991;function C(F){return function(O){return O==null?void 0:O[F]}}var f=C("length");function u(F){return F!=null&&p(f(F))}function U(F,O){return F=typeof F=="number"||s.test(F)?+F:-1,O=O??h,F>-1&&F%1==0&&F<O}function p(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=h}function v(F){for(var O=L(F),D=O.length,V=D&&F.length,Y=!!V&&p(V)&&(o(F)||a(F)),q=-1,W=[];++q<D;){var N=O[q];(Y&&U(N,V)||Q.call(F,N))&&W.push(N)}return W}function K(F){var O=typeof F;return!!F&&(O=="object"||O=="function")}var k=c?function(F){var O=F==null?void 0:F.constructor;return typeof O=="function"&&O.prototype===F||typeof F!="function"&&u(F)?v(F):K(F)?c(F):[]}:v;function L(F){if(F==null)return[];K(F)||(F=Object(F));var O=F.length;O=O&&p(O)&&(o(F)||a(F))&&O||0;for(var D=F.constructor,V=-1,Y=typeof D=="function"&&D.prototype===F,q=Array(O),W=O>0;++V<O;)q[V]=V+"";for(var N in F)!(W&&U(N,O))&&!(N=="constructor"&&(Y||!Q.call(F,N)))&&q.push(N);return q}t.exports=k},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(A,t,n){var i=A("lodash.isarguments"),a=A("lodash.isarray"),o=/^\d+$/,s=Object.prototype,g=s.hasOwnProperty,Q=9007199254740991;function c(u,U){return u=typeof u=="number"||o.test(u)?+u:-1,U=U??Q,u>-1&&u%1==0&&u<U}function h(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=Q}function C(u){var U=typeof u;return!!u&&(U=="object"||U=="function")}function f(u){if(u==null)return[];C(u)||(u=Object(u));var U=u.length;U=U&&h(U)&&(a(u)||i(u))&&U||0;for(var p=u.constructor,v=-1,K=typeof p=="function"&&p.prototype===u,k=Array(U),L=U>0;++v<U;)k[v]=v+"";for(var F in u)!(L&&c(F,U))&&!(F=="constructor"&&(K||!g.call(u,F)))&&k.push(F);return k}t.exports=f},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(A,t,n){var i=A("lodash._basecopy"),a=A("lodash.keysin");function o(s){return i(s,a(s))}t.exports=o},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(A,t,n){function i(a,o,s){s||(s={});for(var g=-1,Q=o.length;++g<Q;){var c=o[g];s[c]=a[c]}return s}t.exports=i},{}],64:[function(A,t,n){var i,a;i=A("jszip"),a=A("./internal"),t.exports={asBlob:function(o,s){var g;return g=new i,a.addFiles(g,o,s),a.generateDocument(g)}}},{"./internal":65,jszip:14}],65:[function(A,t,n){(function(i,a){var o,s,g;o=A("./templates/document"),s=A("./utils"),g={merge:A("lodash.merge")},t.exports={generateDocument:function(Q){var c;if(c=Q.generate({type:"arraybuffer"}),i.Blob)return new Blob([c],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(i.Buffer)return new a(new Uint8Array(c));throw new Error("Neither Blob nor Buffer are accessible in this environment. Consider adding Blob.js shim")},renderDocumentFile:function(Q){var c;return Q==null&&(Q={}),c=g.merge({margins:{top:1440,right:700,bottom:1440,left:700,header:720,footer:720,gutter:0}},function(){switch(Q.orientation){case"landscape":return{height:Q.height||12240,width:Q.width||15840,orient:"landscape"};default:return{width:Q.width||12240,height:Q.height||15840,orient:"portrait"}}}(),{margins:Q.margins}),o(c)},addFiles:function(Q,c,h){return Q.file("[Content_Types].xml",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),Q.folder("_rels").file(".rels",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),Q.folder("word").file("document.xml",this.renderDocumentFile(h)).file("afchunk.mht",s.getMHTdocument(c)).folder("_rels").file("document.xml.rels",a("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvYUZDaHVuayIKICAgIFRhcmdldD0iL3dvcmQvYWZjaHVuay5taHQiIElkPSJodG1sQ2h1bmsiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64"))}}}).call(this,typeof self<"u"?self:typeof window<"u"?window:{},A("buffer").Buffer)},{"./templates/document":66,"./utils":69,buffer:1,"lodash.merge":47}],66:[function(A,t,n){A("lodash.escape"),t.exports=function(i){var a,o="";return o+=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
3
3
|
<w:document
|
4
4
|
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
5
5
|
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
@@ -98,10 +98,10 @@ Content-Location: `+((a=i.contentLocation)==null?"":a)+`
|
|
98
98
|
* @vue/shared v3.4.23
|
99
99
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
100
100
|
* @license MIT
|
101
|
-
**/process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const $C=Array.isArray,AQ=(r,e,A)=>new Promise((t,n)=>{const i=new Image;i.crossOrigin="",i.src=r.src,i.onload=function(){const s=document.createElement("canvas");s.width=r.width,s.height=r.height;const g=s.getContext("2d");g==null||g.drawImage(i,0,0,r.width,r.height);const Q=i.src.substring(i.src.lastIndexOf(".")+1).toLowerCase(),c=s.toDataURL("image/"+Q,1);r.setAttribute("src",c),s.remove(),clearTimeout(a),t(c)},i.onerror=async()=>{clearTimeout(a),await o(),console.error("图片加载异常:",i.src),t("xh-htmlword: 图片加载异常")};const a=setTimeout(async()=>{await o(),console.error("图片加载超时:",i.src),t("xh-htmlword: 图片加载超时")},e),o=()=>new Promise(s=>{const g=new Image;g.crossOrigin="",g.src=A||ya,g.onload=()=>{const Q=document.createElement("canvas");Q.width=r.width,Q.height=r.height;const c=Q.getContext("2d");c==null||c.drawImage(g,0,0,r.width,r.height);const h=g.src.substring(g.src.lastIndexOf(".")+1).toLowerCase(),C=Q.toDataURL("image/"+h,1);r.setAttribute("src",C),Q.remove(),s()}})}),eQ=async({dom:r,fileName:e=
|
101
|
+
**/process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const $C=Array.isArray,AQ=(r,e,A)=>new Promise((t,n)=>{const i=new Image;i.crossOrigin="",i.src=r.src,i.onload=function(){const s=document.createElement("canvas");s.width=r.width,s.height=r.height;const g=s.getContext("2d");g==null||g.drawImage(i,0,0,r.width,r.height);const Q=i.src.substring(i.src.lastIndexOf(".")+1).toLowerCase(),c=s.toDataURL("image/"+Q,1);r.setAttribute("src",c),s.remove(),clearTimeout(a),t(c)},i.onerror=async()=>{clearTimeout(a),await o(),console.error("图片加载异常:",i.src),t("xh-htmlword: 图片加载异常")};const a=setTimeout(async()=>{await o(),console.error("图片加载超时:",i.src),t("xh-htmlword: 图片加载超时")},e),o=()=>new Promise(s=>{const g=new Image;g.crossOrigin="",g.src=A||ya,g.onload=()=>{const Q=document.createElement("canvas");Q.width=r.width,Q.height=r.height;const c=Q.getContext("2d");c==null||c.drawImage(g,0,0,r.width,r.height);const h=g.src.substring(g.src.lastIndexOf(".")+1).toLowerCase(),C=Q.toDataURL("image/"+h,1);r.setAttribute("src",C),Q.remove(),s()}})}),eQ=async({dom:r,fileName:e=iQ(),timeOut:A=5e3,callBack:t,options:n={},defultImg:i,className:a,drawCanvas:o})=>{const s=document.querySelector(r),g=s.cloneNode(!0);if(o&&o.length>0&&$C(o)){const f=[];o.map(u=>{const U=document.querySelectorAll(u);if(U.length==0)throw new Error(`dom不存在:“${u}” , 请检查传入的dom标签是否正确`);U.forEach((p,v)=>{f.push(new Promise((K,k)=>{YC(p,{scale:1,width:p.offsetWidth,height:p.offsetHeight,allowTaint:!0,useCORS:!0}).then(L=>{const F=g.querySelectorAll(u)[v];F.innerHTML="";const O=L.toDataURL("image/png",1),D=new Image;D.onload=()=>{URL.revokeObjectURL(O)},D.src=O,F.appendChild(D),K(L)})}))})}),await Promise.all(f)}const Q=s==null?void 0:s.getElementsByTagName("canvas"),c=g==null?void 0:g.getElementsByTagName("canvas"),h=Array.from(Q).map((f,u)=>new Promise(U=>{const p=f.toDataURL("image/png",1),v=new Image;v.onload=()=>{URL.revokeObjectURL(p),U()},v.src=p,c[u].parentNode.insertBefore(v,c[u])})),C=g.getElementsByTagName("canvas");Array.from(C).forEach(f=>f.parentNode.removeChild(f)),Promise.all(h).then(async()=>{const f=[...g.getElementsByTagName("img")];let u=[];f.forEach(K=>{u.push(AQ(K,A,i))}),await Promise.all(u);const U=`
|
102
102
|
<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'><head>
|
103
103
|
</head>
|
104
104
|
<body>
|
105
|
-
${g.outerHTML}
|
105
|
+
${tQ(g.outerHTML)}
|
106
106
|
</body>
|
107
|
-
</html>`,p=
|
107
|
+
</html>`,p=rQ(U,a),v=Ua.asBlob(p,n);va(v,`${e}.docx`),t&&t(v)})};function tQ(r){let e="";for(var A=0;A<r.length;A++){var t=r.charCodeAt(A);t>127?e+="&#x"+t.toString(16)+";":e+=r[A]}return e}function rQ(r,e){return r=r.replace(/break-before: page/g,"page-break-before: always"),e&&[...nQ(e)].forEach(A=>{if(r.includes(ha(A.selectorText))){let t=new RegExp(`class="${ha(A.selectorText)}"`,"g");r=r.replace(t,`style="${A.style.cssText}"`)}}),r}function ha(r){let e=r.match(/\.(\w+)/);if(e)return e[1];console.log("没有找到匹配的部分")}function nQ(r){return[...document.styleSheets].reverse().find(({cssRules:t})=>[...t].find(n=>n.selectorText.includes(r))).cssRules}const iQ=()=>{const r=new Date,e=r.getFullYear(),A=("0"+(r.getMonth()+1)).slice(-2),t=("0"+r.getDate()).slice(-2);return`${e}${A}${t}`};return eQ});
|
package/package.json
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
{
|
2
|
-
"name": "xh-htmlword",
|
3
|
-
"version": "1.
|
4
|
-
"type": "module",
|
5
|
-
"description": "用于html页转word文档的工具",
|
6
|
-
"files": [
|
7
|
-
"dist",
|
8
|
-
"index.d.ts"
|
9
|
-
],
|
10
|
-
"main": "./dist/xh.umd.cjs",
|
11
|
-
"module": "./dist/xh.js",
|
12
|
-
"types": "./index.d.ts",
|
13
|
-
"exports": {
|
14
|
-
"types": "./index.d.ts",
|
15
|
-
"import": "./dist/xh.js",
|
16
|
-
"require": "./dist/xh.umd.cjs"
|
17
|
-
},
|
18
|
-
"scripts": {
|
19
|
-
"dev": "vite --open",
|
20
|
-
"build": "vite build"
|
21
|
-
},
|
22
|
-
"devDependencies": {
|
23
|
-
"sass": "^1.75.0",
|
24
|
-
"vite": "^5.0.10",
|
25
|
-
"element-plus": "^2.7.0",
|
26
|
-
"vue": "^3.4.23",
|
27
|
-
"@vitejs/plugin-vue": "^5.0.4"
|
28
|
-
},
|
29
|
-
"keywords": [
|
30
|
-
"word",
|
31
|
-
"HTMLDOCX"
|
32
|
-
],
|
33
|
-
"author": "xuhao",
|
34
|
-
"license": "ISC",
|
35
|
-
"dependencies": {
|
36
|
-
"file-saver": "^2.0.5",
|
37
|
-
"html2canvas": "^1.4.1"
|
38
|
-
}
|
39
|
-
}
|
1
|
+
{
|
2
|
+
"name": "xh-htmlword",
|
3
|
+
"version": "1.3.1",
|
4
|
+
"type": "module",
|
5
|
+
"description": "用于html页转word文档的工具",
|
6
|
+
"files": [
|
7
|
+
"dist",
|
8
|
+
"index.d.ts"
|
9
|
+
],
|
10
|
+
"main": "./dist/xh.umd.cjs",
|
11
|
+
"module": "./dist/xh.js",
|
12
|
+
"types": "./index.d.ts",
|
13
|
+
"exports": {
|
14
|
+
"types": "./index.d.ts",
|
15
|
+
"import": "./dist/xh.js",
|
16
|
+
"require": "./dist/xh.umd.cjs"
|
17
|
+
},
|
18
|
+
"scripts": {
|
19
|
+
"dev": "vite --open",
|
20
|
+
"build": "vite build"
|
21
|
+
},
|
22
|
+
"devDependencies": {
|
23
|
+
"sass": "^1.75.0",
|
24
|
+
"vite": "^5.0.10",
|
25
|
+
"element-plus": "^2.7.0",
|
26
|
+
"vue": "^3.4.23",
|
27
|
+
"@vitejs/plugin-vue": "^5.0.4"
|
28
|
+
},
|
29
|
+
"keywords": [
|
30
|
+
"word",
|
31
|
+
"HTMLDOCX"
|
32
|
+
],
|
33
|
+
"author": "xuhao",
|
34
|
+
"license": "ISC",
|
35
|
+
"dependencies": {
|
36
|
+
"file-saver": "^2.0.5",
|
37
|
+
"html2canvas": "^1.4.1"
|
38
|
+
}
|
39
|
+
}
|