/*! For license information please see Compression.js.LICENSE.txt */ (()=>{var __webpack_modules__={67526:(A,e)=>{"use strict";e.byteLength=function(A){var e=n(A),t=e[0],I=e[1];return 3*(t+I)/4-I},e.toByteArray=function(A){var e,t,g=n(A),i=g[0],o=g[1],a=new r(function(A,e,t){return 3*(e+t)/4-t}(0,i,o)),C=0,B=o>0?i-4:i;for(t=0;t>16&255,a[C++]=e>>8&255,a[C++]=255&e;return 2===o&&(e=I[A.charCodeAt(t)]<<2|I[A.charCodeAt(t+1)]>>4,a[C++]=255&e),1===o&&(e=I[A.charCodeAt(t)]<<10|I[A.charCodeAt(t+1)]<<4|I[A.charCodeAt(t+2)]>>2,a[C++]=e>>8&255,a[C++]=255&e),a},e.fromByteArray=function(A){for(var e,I=A.length,r=I%3,g=[],i=16383,n=0,a=I-r;na?a:n+i));return 1===r?(e=A[I-1],g.push(t[e>>2]+t[e<<4&63]+"==")):2===r&&(e=(A[I-2]<<8)+A[I-1],g.push(t[e>>10]+t[e>>4&63]+t[e<<2&63]+"=")),g.join("")};for(var t=[],I=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)t[i]=g[i],I[g.charCodeAt(i)]=i;function n(A){var e=A.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=A.indexOf("=");return-1===t&&(t=e),[t,t===e?0:4-t%4]}function o(A,e,I){for(var r,g,i=[],n=e;n>18&63]+t[g>>12&63]+t[g>>6&63]+t[63&g]);return i.join("")}I["-".charCodeAt(0)]=62,I["_".charCodeAt(0)]=63},48287:(A,e,t)=>{"use strict";const I=t(67526),r=t(251),g="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.INSPECT_MAX_BYTES=50;const i=2147483647;function n(A){if(A>i)throw new RangeError('The value "'+A+'" is invalid for option "size"');const e=new Uint8Array(A);return Object.setPrototypeOf(e,o.prototype),e}function o(A,e,t){if("number"==typeof A){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return B(A)}return a(A,e,t)}function a(A,e,t){if("string"==typeof A)return function(A,e){if("string"==typeof e&&""!==e||(e="utf8"),!o.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const t=0|Q(A,e);let I=n(t);const r=I.write(A,e);return r!==t&&(I=I.slice(0,r)),I}(A,e);if(ArrayBuffer.isView(A))return function(A){if(Z(A,Uint8Array)){const e=new Uint8Array(A);return E(e.buffer,e.byteOffset,e.byteLength)}return s(A)}(A);if(null==A)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A);if(Z(A,ArrayBuffer)||A&&Z(A.buffer,ArrayBuffer))return E(A,e,t);if("undefined"!=typeof SharedArrayBuffer&&(Z(A,SharedArrayBuffer)||A&&Z(A.buffer,SharedArrayBuffer)))return E(A,e,t);if("number"==typeof A)throw new TypeError('The "value" argument must not be of type number. Received type number');const I=A.valueOf&&A.valueOf();if(null!=I&&I!==A)return o.from(I,e,t);const r=function(A){if(o.isBuffer(A)){const e=0|h(A.length),t=n(e);return 0===t.length||A.copy(t,0,0,e),t}return void 0!==A.length?"number"!=typeof A.length||j(A.length)?n(0):s(A):"Buffer"===A.type&&Array.isArray(A.data)?s(A.data):void 0}(A);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof A[Symbol.toPrimitive])return o.from(A[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}function C(A){if("number"!=typeof A)throw new TypeError('"size" argument must be of type number');if(A<0)throw new RangeError('The value "'+A+'" is invalid for option "size"')}function B(A){return C(A),n(A<0?0:0|h(A))}function s(A){const e=A.length<0?0:0|h(A.length),t=n(e);for(let I=0;I=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|A}function Q(A,e){if(o.isBuffer(A))return A.length;if(ArrayBuffer.isView(A)||Z(A,ArrayBuffer))return A.byteLength;if("string"!=typeof A)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof A);const t=A.length,I=arguments.length>2&&!0===arguments[2];if(!I&&0===t)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return W(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return O(A).length;default:if(r)return I?-1:W(A).length;e=(""+e).toLowerCase(),r=!0}}function c(A,e,t){let I=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return G(this,e,t);case"utf8":case"utf-8":return S(this,e,t);case"ascii":return U(this,e,t);case"latin1":case"binary":return k(this,e,t);case"base64":return D(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,e,t);default:if(I)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),I=!0}}function u(A,e,t){const I=A[e];A[e]=A[t],A[t]=I}function f(A,e,t,I,r){if(0===A.length)return-1;if("string"==typeof t?(I=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),j(t=+t)&&(t=r?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(r)return-1;t=A.length-1}else if(t<0){if(!r)return-1;t=0}if("string"==typeof e&&(e=o.from(e,I)),o.isBuffer(e))return 0===e.length?-1:l(A,e,t,I,r);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):l(A,[e],t,I,r);throw new TypeError("val must be string, number or Buffer")}function l(A,e,t,I,r){let g,i=1,n=A.length,o=e.length;if(void 0!==I&&("ucs2"===(I=String(I).toLowerCase())||"ucs-2"===I||"utf16le"===I||"utf-16le"===I)){if(A.length<2||e.length<2)return-1;i=2,n/=2,o/=2,t/=2}function a(A,e){return 1===i?A[e]:A.readUInt16BE(e*i)}if(r){let I=-1;for(g=t;gn&&(t=n-o),g=t;g>=0;g--){let t=!0;for(let I=0;Ir&&(I=r):I=r;const g=e.length;let i;for(I>g/2&&(I=g/2),i=0;i>8,r=t%256,g.push(r),g.push(I);return g}(e,A.length-t),A,t,I)}function D(A,e,t){return 0===e&&t===A.length?I.fromByteArray(A):I.fromByteArray(A.slice(e,t))}function S(A,e,t){t=Math.min(A.length,t);const I=[];let r=e;for(;r239?4:e>223?3:e>191?2:1;if(r+i<=t){let t,I,n,o;switch(i){case 1:e<128&&(g=e);break;case 2:t=A[r+1],128==(192&t)&&(o=(31&e)<<6|63&t,o>127&&(g=o));break;case 3:t=A[r+1],I=A[r+2],128==(192&t)&&128==(192&I)&&(o=(15&e)<<12|(63&t)<<6|63&I,o>2047&&(o<55296||o>57343)&&(g=o));break;case 4:t=A[r+1],I=A[r+2],n=A[r+3],128==(192&t)&&128==(192&I)&&128==(192&n)&&(o=(15&e)<<18|(63&t)<<12|(63&I)<<6|63&n,o>65535&&o<1114112&&(g=o))}}null===g?(g=65533,i=1):g>65535&&(g-=65536,I.push(g>>>10&1023|55296),g=56320|1023&g),I.push(g),r+=i}return function(A){const e=A.length;if(e<=m)return String.fromCharCode.apply(String,A);let t="",I=0;for(;II.length?(o.isBuffer(e)||(e=o.from(e)),e.copy(I,r)):Uint8Array.prototype.set.call(I,e,r);else{if(!o.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(I,r)}r+=e.length}return I},o.byteLength=Q,o.prototype._isBuffer=!0,o.prototype.swap16=function(){const A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;et&&(A+=" ... "),""},g&&(o.prototype[g]=o.prototype.inspect),o.prototype.compare=function(A,e,t,I,r){if(Z(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),!o.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===I&&(I=0),void 0===r&&(r=this.length),e<0||t>A.length||I<0||r>this.length)throw new RangeError("out of range index");if(I>=r&&e>=t)return 0;if(I>=r)return-1;if(e>=t)return 1;if(this===A)return 0;let g=(r>>>=0)-(I>>>=0),i=(t>>>=0)-(e>>>=0);const n=Math.min(g,i),a=this.slice(I,r),C=A.slice(e,t);for(let A=0;A>>=0,isFinite(t)?(t>>>=0,void 0===I&&(I="utf8")):(I=t,t=void 0)}const r=this.length-e;if((void 0===t||t>r)&&(t=r),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let g=!1;for(;;)switch(I){case"hex":return y(this,A,e,t);case"utf8":case"utf-8":return p(this,A,e,t);case"ascii":case"latin1":case"binary":return w(this,A,e,t);case"base64":return d(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,A,e,t);default:if(g)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),g=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const m=4096;function U(A,e,t){let I="";t=Math.min(A.length,t);for(let r=e;rI)&&(t=I);let r="";for(let I=e;It)throw new RangeError("Trying to access beyond buffer length")}function M(A,e,t,I,r,g){if(!o.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||eA.length)throw new RangeError("Index out of range")}function R(A,e,t,I,r){T(e,I,r,A,t,7);let g=Number(e&BigInt(4294967295));A[t++]=g,g>>=8,A[t++]=g,g>>=8,A[t++]=g,g>>=8,A[t++]=g;let i=Number(e>>BigInt(32)&BigInt(4294967295));return A[t++]=i,i>>=8,A[t++]=i,i>>=8,A[t++]=i,i>>=8,A[t++]=i,t}function Y(A,e,t,I,r){T(e,I,r,A,t,7);let g=Number(e&BigInt(4294967295));A[t+7]=g,g>>=8,A[t+6]=g,g>>=8,A[t+5]=g,g>>=8,A[t+4]=g;let i=Number(e>>BigInt(32)&BigInt(4294967295));return A[t+3]=i,i>>=8,A[t+2]=i,i>>=8,A[t+1]=i,i>>=8,A[t]=i,t+8}function N(A,e,t,I,r,g){if(t+I>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function L(A,e,t,I,g){return e=+e,t>>>=0,g||N(A,0,t,4),r.write(A,e,t,I,23,4),t+4}function H(A,e,t,I,g){return e=+e,t>>>=0,g||N(A,0,t,8),r.write(A,e,t,I,52,8),t+8}o.prototype.slice=function(A,e){const t=this.length;(A=~~A)<0?(A+=t)<0&&(A=0):A>t&&(A=t),(e=void 0===e?t:~~e)<0?(e+=t)<0&&(e=0):e>t&&(e=t),e>>=0,e>>>=0,t||b(A,e,this.length);let I=this[A],r=1,g=0;for(;++g>>=0,e>>>=0,t||b(A,e,this.length);let I=this[A+--e],r=1;for(;e>0&&(r*=256);)I+=this[A+--e]*r;return I},o.prototype.readUint8=o.prototype.readUInt8=function(A,e){return A>>>=0,e||b(A,1,this.length),this[A]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(A,e){return A>>>=0,e||b(A,2,this.length),this[A]|this[A+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(A,e){return A>>>=0,e||b(A,2,this.length),this[A]<<8|this[A+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(A,e){return A>>>=0,e||b(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(A,e){return A>>>=0,e||b(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},o.prototype.readBigUInt64LE=z((function(A){x(A>>>=0,"offset");const e=this[A],t=this[A+7];void 0!==e&&void 0!==t||_(A,this.length-8);const I=e+256*this[++A]+65536*this[++A]+this[++A]*2**24,r=this[++A]+256*this[++A]+65536*this[++A]+t*2**24;return BigInt(I)+(BigInt(r)<>>=0,"offset");const e=this[A],t=this[A+7];void 0!==e&&void 0!==t||_(A,this.length-8);const I=e*2**24+65536*this[++A]+256*this[++A]+this[++A],r=this[++A]*2**24+65536*this[++A]+256*this[++A]+t;return(BigInt(I)<>>=0,e>>>=0,t||b(A,e,this.length);let I=this[A],r=1,g=0;for(;++g=r&&(I-=Math.pow(2,8*e)),I},o.prototype.readIntBE=function(A,e,t){A>>>=0,e>>>=0,t||b(A,e,this.length);let I=e,r=1,g=this[A+--I];for(;I>0&&(r*=256);)g+=this[A+--I]*r;return r*=128,g>=r&&(g-=Math.pow(2,8*e)),g},o.prototype.readInt8=function(A,e){return A>>>=0,e||b(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},o.prototype.readInt16LE=function(A,e){A>>>=0,e||b(A,2,this.length);const t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},o.prototype.readInt16BE=function(A,e){A>>>=0,e||b(A,2,this.length);const t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},o.prototype.readInt32LE=function(A,e){return A>>>=0,e||b(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},o.prototype.readInt32BE=function(A,e){return A>>>=0,e||b(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},o.prototype.readBigInt64LE=z((function(A){x(A>>>=0,"offset");const e=this[A],t=this[A+7];void 0!==e&&void 0!==t||_(A,this.length-8);const I=this[A+4]+256*this[A+5]+65536*this[A+6]+(t<<24);return(BigInt(I)<>>=0,"offset");const e=this[A],t=this[A+7];void 0!==e&&void 0!==t||_(A,this.length-8);const I=(e<<24)+65536*this[++A]+256*this[++A]+this[++A];return(BigInt(I)<>>=0,e||b(A,4,this.length),r.read(this,A,!0,23,4)},o.prototype.readFloatBE=function(A,e){return A>>>=0,e||b(A,4,this.length),r.read(this,A,!1,23,4)},o.prototype.readDoubleLE=function(A,e){return A>>>=0,e||b(A,8,this.length),r.read(this,A,!0,52,8)},o.prototype.readDoubleBE=function(A,e){return A>>>=0,e||b(A,8,this.length),r.read(this,A,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(A,e,t,I){A=+A,e>>>=0,t>>>=0,I||M(this,A,e,t,Math.pow(2,8*t)-1,0);let r=1,g=0;for(this[e]=255&A;++g>>=0,t>>>=0,I||M(this,A,e,t,Math.pow(2,8*t)-1,0);let r=t-1,g=1;for(this[e+r]=255&A;--r>=0&&(g*=256);)this[e+r]=A/g&255;return e+t},o.prototype.writeUint8=o.prototype.writeUInt8=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,1,255,0),this[e]=255&A,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,2,65535,0),this[e]=255&A,this[e+1]=A>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,2,65535,0),this[e]=A>>>8,this[e+1]=255&A,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,4,4294967295,0),this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,4,4294967295,0),this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A,e+4},o.prototype.writeBigUInt64LE=z((function(A,e=0){return R(this,A,e,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeBigUInt64BE=z((function(A,e=0){return Y(this,A,e,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeIntLE=function(A,e,t,I){if(A=+A,e>>>=0,!I){const I=Math.pow(2,8*t-1);M(this,A,e,t,I-1,-I)}let r=0,g=1,i=0;for(this[e]=255&A;++r>>=0,!I){const I=Math.pow(2,8*t-1);M(this,A,e,t,I-1,-I)}let r=t-1,g=1,i=0;for(this[e+r]=255&A;--r>=0&&(g*=256);)A<0&&0===i&&0!==this[e+r+1]&&(i=1),this[e+r]=(A/g|0)-i&255;return e+t},o.prototype.writeInt8=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,1,127,-128),A<0&&(A=255+A+1),this[e]=255&A,e+1},o.prototype.writeInt16LE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,2,32767,-32768),this[e]=255&A,this[e+1]=A>>>8,e+2},o.prototype.writeInt16BE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,2,32767,-32768),this[e]=A>>>8,this[e+1]=255&A,e+2},o.prototype.writeInt32LE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,4,2147483647,-2147483648),this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24,e+4},o.prototype.writeInt32BE=function(A,e,t){return A=+A,e>>>=0,t||M(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A,e+4},o.prototype.writeBigInt64LE=z((function(A,e=0){return R(this,A,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeBigInt64BE=z((function(A,e=0){return Y(this,A,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeFloatLE=function(A,e,t){return L(this,A,e,!0,t)},o.prototype.writeFloatBE=function(A,e,t){return L(this,A,e,!1,t)},o.prototype.writeDoubleLE=function(A,e,t){return H(this,A,e,!0,t)},o.prototype.writeDoubleBE=function(A,e,t){return H(this,A,e,!1,t)},o.prototype.copy=function(A,e,t,I){if(!o.isBuffer(A))throw new TypeError("argument should be a Buffer");if(t||(t=0),I||0===I||(I=this.length),e>=A.length&&(e=A.length),e||(e=0),I>0&&I=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),A.length-e>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"==typeof A)for(r=e;r=I+4;t-=3)e=`_${A.slice(t-3,t)}${e}`;return`${A.slice(0,t)}${e}`}function T(A,e,t,I,r,g){if(A>t||A3?0===e||e===BigInt(0)?`>= 0${I} and < 2${I} ** ${8*(g+1)}${I}`:`>= -(2${I} ** ${8*(g+1)-1}${I}) and < 2 ** ${8*(g+1)-1}${I}`:`>= ${e}${I} and <= ${t}${I}`,new J.ERR_OUT_OF_RANGE("value",r,A)}!function(A,e,t){x(e,"offset"),void 0!==A[e]&&void 0!==A[e+t]||_(e,A.length-(t+1))}(I,r,g)}function x(A,e){if("number"!=typeof A)throw new J.ERR_INVALID_ARG_TYPE(e,"number",A)}function _(A,e,t){if(Math.floor(A)!==A)throw x(A,t),new J.ERR_OUT_OF_RANGE(t||"offset","an integer",A);if(e<0)throw new J.ERR_BUFFER_OUT_OF_BOUNDS;throw new J.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${e}`,A)}q("ERR_BUFFER_OUT_OF_BOUNDS",(function(A){return A?`${A} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),q("ERR_INVALID_ARG_TYPE",(function(A,e){return`The "${A}" argument must be of type number. Received type ${typeof e}`}),TypeError),q("ERR_OUT_OF_RANGE",(function(A,e,t){let I=`The value of "${A}" is out of range.`,r=t;return Number.isInteger(t)&&Math.abs(t)>2**32?r=K(String(t)):"bigint"==typeof t&&(r=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(r=K(r)),r+="n"),I+=` It must be ${e}. Received ${r}`,I}),RangeError);const V=/[^+/0-9A-Za-z-_]/g;function W(A,e){let t;e=e||1/0;const I=A.length;let r=null;const g=[];for(let i=0;i55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&g.push(239,191,189);continue}if(i+1===I){(e-=3)>-1&&g.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&g.push(239,191,189),r=t;continue}t=65536+(r-55296<<10|t-56320)}else r&&(e-=3)>-1&&g.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;g.push(t)}else if(t<2048){if((e-=2)<0)break;g.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;g.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;g.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return g}function O(A){return I.toByteArray(function(A){if((A=(A=A.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function P(A,e,t,I){let r;for(r=0;r=e.length||r>=A.length);++r)e[r+t]=A[r];return r}function Z(A,e){return A instanceof e||null!=A&&null!=A.constructor&&null!=A.constructor.name&&A.constructor.name===e.name}function j(A){return A!=A}const X=function(){const A="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){const I=16*t;for(let r=0;r<16;++r)e[I+r]=A[t]+A[r]}return e}();function z(A){return"undefined"==typeof BigInt?$:A}function $(){throw new Error("BigInt not supported")}},251:(A,e)=>{e.read=function(A,e,t,I,r){var g,i,n=8*r-I-1,o=(1<>1,C=-7,B=t?r-1:0,s=t?-1:1,E=A[e+B];for(B+=s,g=E&(1<<-C)-1,E>>=-C,C+=n;C>0;g=256*g+A[e+B],B+=s,C-=8);for(i=g&(1<<-C)-1,g>>=-C,C+=I;C>0;i=256*i+A[e+B],B+=s,C-=8);if(0===g)g=1-a;else{if(g===o)return i?NaN:1/0*(E?-1:1);i+=Math.pow(2,I),g-=a}return(E?-1:1)*i*Math.pow(2,g-I)},e.write=function(A,e,t,I,r,g){var i,n,o,a=8*g-r-1,C=(1<>1,s=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,E=I?0:g-1,h=I?1:-1,Q=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(n=isNaN(e)?1:0,i=C):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),(e+=i+B>=1?s/o:s*Math.pow(2,1-B))*o>=2&&(i++,o/=2),i+B>=C?(n=0,i=C):i+B>=1?(n=(e*o-1)*Math.pow(2,r),i+=B):(n=e*Math.pow(2,B-1)*Math.pow(2,r),i=0));r>=8;A[t+E]=255&n,E+=h,n/=256,r-=8);for(i=i<0;A[t+E]=255&i,E+=h,i/=256,a-=8);A[t+E-h]|=128*Q}},54958:(A,e,t)=>{var I=t(65606),r=t(48287).Buffer,g=("undefined"!=typeof document&&document.currentScript&&document.currentScript.src,function(A){A=void 0!==(A=A||{})?A:{};var e,g={};for(e in A)A.hasOwnProperty(e)&&(g[e]=A[e]);A.arguments=[],A.thisProgram="./this.program",A.quit=function(A,e){throw e},A.preRun=[],A.postRun=[];var i,n,o=!1;i="object"==typeof window,n="function"==typeof importScripts;var a,C,B="";(o="object"==typeof I&&!i&&!n)&&(B="//",A.read=function(A,e){var I;return(I=_A(A))||(a||(a=t(77650)),C||(C=t(43627)),A=C.normalize(A),I=a.readFileSync(A)),e?I:I.toString()},A.readBinary=function(e){var t,I=A.read(e,!0);return I.buffer||(I=new Uint8Array(I)),I.buffer||$A("Assertion failed: "+t),I},I.argv.length>1&&(A.thisProgram=I.argv[1].replace(/\\/g,"/")),A.arguments=I.argv.slice(2),I.on("uncaughtException",(function(A){if(!(A instanceof XA))throw A})),I.on("unhandledRejection",$A),A.quit=function(A){I.exit(A)},A.inspect=function(){return"[Emscripten Module object]"});var s=A.print||("undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null),E=A.printErr||("undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||s);for(e in g)g.hasOwnProperty(e)&&(A[e]=g[e]);g=void 0;var h,Q={"f64-rem":function(A,e){return A%e},debugger:function(){}};new Array(0),"object"!=typeof WebAssembly&&E("no native wasm support detected");var c,u,f,l,y,p,w,d,F,D=!1,S="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function m(A,e,t){for(var I=e+t,r=e;A[r]&&!(r>=I);)++r;if(r-e>16&&A.subarray&&S)return S.decode(A.subarray(e,r));for(var g="";e>10,56320|1023&a)}}else g+=String.fromCharCode((31&i)<<6|n)}else g+=String.fromCharCode(i)}return g}function U(A,e){return A?m(f,A,e):""}function k(A,e){return A%e>0&&(A+=e-A%e),A}function G(){A.HEAP8=u=new Int8Array(c),A.HEAP16=l=new Int16Array(c),A.HEAP32=p=new Int32Array(c),A.HEAPU8=f=new Uint8Array(c),A.HEAPU16=y=new Uint16Array(c),A.HEAPU32=w=new Uint32Array(c),A.HEAPF32=d=new Float32Array(c),A.HEAPF64=F=new Float64Array(c)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var v=5242880,b=A.TOTAL_MEMORY||16777216;function M(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var I=t.func;"number"==typeof I?void 0===t.arg?A.dynCall_v(I):A.dynCall_vi(I,t.arg):I(void 0===t.arg?null:t.arg)}else t()}}b>2]},getStr:function(){return U(O.get())},get64:function(){var A=O.get();return O.get(),A},getZero:function(){O.get()}};function P(A){switch(A){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+A)}}var Z=void 0;function j(A){for(var e="",t=A;f[t];)e+=Z[f[t++]];return e}var X={},z={},$={},AA=48,eA=57;function tA(A){if(void 0===A)return"_unknown";var e=(A=A.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=AA&&e<=eA?"_"+A:A}function IA(A,e){return A=tA(A),new Function("body","return function "+A+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function rA(A,e){var t=IA(e,(function(A){this.name=e,this.message=A;var t=new Error(A).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(A.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var gA=void 0;function iA(A){throw new gA(A)}var nA=void 0;function oA(A){throw new nA(A)}function aA(A,e,t){function I(e){var I=t(e);I.length!==A.length&&oA("Mismatched type converter count");for(var r=0;r>2])}function FA(A,e,t){if(e===t)return A;if(void 0===t.baseClass)return null;var I=FA(A,e,t.baseClass);return null===I?null:t.downcast(I)}var DA={};function SA(A,e){return e.ptrType&&e.ptr||oA("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&oA("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Object.create(A,{$$:{value:e}})}function mA(A,e,t,I,r,g,i,n,o,a,C){this.name=A,this.registeredClass=e,this.isReference=t,this.isConst=I,this.isSmartPointer=r,this.pointeeType=g,this.sharingPolicy=i,this.rawGetPointee=n,this.rawConstructor=o,this.rawShare=a,this.rawDestructor=C,r||void 0!==e.baseClass?this.toWireType=pA:I?(this.toWireType=yA,this.destructorFunction=null):(this.toWireType=wA,this.destructorFunction=null)}function UA(e,t,I){A.hasOwnProperty(e)||oA("Replacing nonexistant public symbol"),void 0!==A[e].overloadTable&&void 0!==I?A[e].overloadTable[I]=t:(A[e]=t,A[e].argCount=I)}function kA(e,t){var I;if(e=j(e),void 0!==A["FUNCTION_TABLE_"+e])I=A["FUNCTION_TABLE_"+e][t];else if("undefined"!=typeof FUNCTION_TABLE)I=FUNCTION_TABLE[t];else{var r=A["dynCall_"+e];void 0===r&&void 0===(r=A["dynCall_"+e.replace(/f/g,"d")])&&iA("No dynCall invoker for signature: "+e),I=function(A){for(var I=[],r=1;r4&&0==--NA[A].refcount&&(NA[A]=void 0,YA.push(A))}function HA(A){switch(A){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=YA.length?YA.pop():NA.length;return NA[e]={refcount:1,value:A},e}}function JA(A){if(null===A)return"null";var e=typeof A;return"object"===e||"array"===e||"function"===e?A.toString():""+A}function qA(A,e){switch(e){case 2:return function(A){return this.fromWireType(d[A>>2])};case 3:return function(A){return this.fromWireType(F[A>>3])};default:throw new TypeError("Unknown float type: "+A)}}function KA(A,e,t){switch(e){case 0:return t?function(A){return u[A]}:function(A){return f[A]};case 1:return t?function(A){return l[A>>1]}:function(A){return y[A>>1]};case 2:return t?function(A){return p[A>>2]}:function(A){return w[A>>2]};default:throw new TypeError("Unknown integer type: "+A)}}function TA(){return u.length}!function(){for(var A=new Array(256),e=0;e<256;++e)A[e]=String.fromCharCode(e);Z=A}(),gA=A.BindingError=rA(Error,"BindingError"),nA=A.InternalError=rA(Error,"InternalError"),QA.prototype.isAliasOf=function(A){if(!(this instanceof QA))return!1;if(!(A instanceof QA))return!1;for(var e=this.$$.ptrType.registeredClass,t=this.$$.ptr,I=A.$$.ptrType.registeredClass,r=A.$$.ptr;e.baseClass;)t=e.upcast(t),e=e.baseClass;for(;I.baseClass;)r=I.upcast(r),I=I.baseClass;return e===I&&t===r},QA.prototype.clone=function(){if(this.$$.ptr||BA(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var A,e=Object.create(Object.getPrototypeOf(this),{$$:{value:(A=this.$$,{count:A.count,deleteScheduled:A.deleteScheduled,preservePointerOnDelete:A.preservePointerOnDelete,ptr:A.ptr,ptrType:A.ptrType,smartPtr:A.smartPtr,smartPtrType:A.smartPtrType})}});return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},QA.prototype.delete=function(){var A;this.$$.ptr||BA(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&iA("Object already scheduled for deletion"),this.$$.count.value-=1,0===this.$$.count.value&&((A=this.$$).smartPtr?A.smartPtrType.rawDestructor(A.smartPtr):A.ptrType.registeredClass.rawDestructor(A.ptr)),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},QA.prototype.isDeleted=function(){return!this.$$.ptr},QA.prototype.deleteLater=function(){return this.$$.ptr||BA(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&iA("Object already scheduled for deletion"),EA.push(this),1===EA.length&&sA&&sA(hA),this.$$.deleteScheduled=!0,this},mA.prototype.getPointee=function(A){return this.rawGetPointee&&(A=this.rawGetPointee(A)),A},mA.prototype.destructor=function(A){this.rawDestructor&&this.rawDestructor(A)},mA.prototype.argPackAdvance=8,mA.prototype.readValueFromPointer=dA,mA.prototype.deleteObject=function(A){null!==A&&A.delete()},mA.prototype.fromWireType=function(A){var e=this.getPointee(A);if(!e)return this.destructor(A),null;var t=function(A,e){return e=function(A,e){for(void 0===e&&iA("ptr should not be undefined");A.baseClass;)e=A.upcast(e),A=A.baseClass;return e}(A,e),DA[e]}(this.registeredClass,e);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=e,t.$$.smartPtr=A,t.clone();var I=t.clone();return this.destructor(A),I}function r(){return this.isSmartPointer?SA(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:A}):SA(this.registeredClass.instancePrototype,{ptrType:this,ptr:A})}var g,i=this.registeredClass.getActualType(e),n=cA[i];if(!n)return r.call(this);g=this.isConst?n.constPointerType:n.pointerType;var o=FA(e,this.registeredClass,g.registeredClass);return null===o?r.call(this):this.isSmartPointer?SA(g.registeredClass.instancePrototype,{ptrType:g,ptr:o,smartPtrType:this,smartPtr:A}):SA(g.registeredClass.instancePrototype,{ptrType:g,ptr:o})},A.getInheritedInstanceCount=function(){return Object.keys(DA).length},A.getLiveInheritedInstances=function(){var A=[];for(var e in DA)DA.hasOwnProperty(e)&&A.push(DA[e]);return A},A.flushPendingDeletes=hA,A.setDelayFunction=function(A){sA=A,EA.length&&sA&&sA(hA)},GA=A.UnboundTypeError=rA(Error,"UnboundTypeError"),A.count_emval_handles=function(){for(var A=0,e=5;e>4,t=(15&r)<<4|(g=n.indexOf(A.charAt(a++)))>>2,I=(3&g)<<6|(i=n.indexOf(A.charAt(a++))),o+=String.fromCharCode(e),64!==g&&(o+=String.fromCharCode(t)),64!==i&&(o+=String.fromCharCode(I))}while(a>2]=e),e},u:function(A,e){O.varargs=e;try{var t=O.getStreamFromFD(),I=(O.get(),O.get()),r=O.get(),g=O.get(),i=I;return FS.llseek(t,i,g),p[r>>2]=t.position,t.getdents&&0===i&&0===g&&(t.getdents=null),0}catch(A){return"undefined"!=typeof FS&&A instanceof FS.ErrnoError||$A(A),-A.errno}},h:function(A,e){O.varargs=e;try{for(var t=O.get(),I=O.get(),r=O.get(),g=0,i=0;i>2],o=p[I+(8*i+4)>>2],a=0;a>g])},destructorFunction:null})},n:function(A,e,t,I,r,g,i,n,o,a,C,B,s){C=j(C),g=kA(r,g),n&&(n=kA(i,n)),a&&(a=kA(o,a)),s=kA(B,s);var E=tA(C);uA(E,(function(){bA("Cannot construct "+C+" due to unbound types",[I])})),aA([A,e,t],I?[I]:[],(function(e){var t,r;e=e[0],r=I?(t=e.registeredClass).instancePrototype:QA.prototype;var i=IA(E,(function(){if(Object.getPrototypeOf(this)!==o)throw new gA("Use 'new' to construct "+C);if(void 0===B.constructor_body)throw new gA(C+" has no accessible constructor");var A=B.constructor_body[arguments.length];if(void 0===A)throw new gA("Tried to invoke ctor of "+C+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(B.constructor_body).toString()+") parameters instead!");return A.apply(this,arguments)})),o=Object.create(r,{constructor:{value:i}});i.prototype=o;var B=new fA(C,i,o,s,t,g,n,a),h=new mA(C,B,!0,!1,!1),Q=new mA(C+"*",B,!1,!1,!1),c=new mA(C+" const*",B,!1,!0,!1);return cA[A]={pointerType:Q,constPointerType:c},UA(E,i),[h,Q,c]}))},e:function(A,e,t,I,r,g,i,n,o,a){e=j(e),r=kA(I,r),aA([],[A],(function(A){var I=(A=A[0]).name+"."+e,C={get:function(){bA("Cannot access "+I+" due to unbound types",[t,i])},enumerable:!0,configurable:!0};return C.set=o?function(){bA("Cannot access "+I+" due to unbound types",[t,i])}:function(A){iA(I+" is a read-only property")},Object.defineProperty(A.registeredClass.instancePrototype,e,C),aA([],o?[t,i]:[t],(function(t){var i=t[0],C={get:function(){var e=RA(this,A,I+" getter");return i.fromWireType(r(g,e))},enumerable:!0};if(o){o=kA(n,o);var B=t[1];C.set=function(e){var t=RA(this,A,I+" setter"),r=[];o(a,t,B.toWireType(r,e)),MA(r)}}return Object.defineProperty(A.registeredClass.instancePrototype,e,C),[]})),[]}))},m:function(A,e){CA(A,{name:e=j(e),fromWireType:function(A){var e=NA[A].value;return LA(A),e},toWireType:function(A,e){return HA(e)},argPackAdvance:8,readValueFromPointer:dA,destructorFunction:null})},g:function(A,e,t){var I=P(t);CA(A,{name:e=j(e),fromWireType:function(A){return A},toWireType:function(A,e){if("number"!=typeof e&&"boolean"!=typeof e)throw new TypeError('Cannot convert "'+JA(e)+'" to '+this.name);return e},argPackAdvance:8,readValueFromPointer:qA(e,I),destructorFunction:null})},k:function(A,e,t,I,r,g){var i=function(A,e){for(var t=[],I=0;I>2)+I]);return t}(e,t);A=j(A),r=kA(I,r),uA(A,(function(){bA("Cannot call "+A+" due to unbound types",i)}),e-1),aA([],i,(function(t){var I=[t[0],null].concat(t.slice(1));return UA(A,function(A,e,t,I,r){var g=e.length;g<2&&iA("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var i=null!==e[1]&&null!==t,n=!1,o=1;o0?", ":"")+B),s+=(a?"var rv = ":"")+"invoker(fn"+(B.length>0?", ":"")+B+");\n",n)s+="runDestructors(destructors);\n";else for(o=i?1:2;o>>n}}var o=-1!=e.indexOf("unsigned");CA(A,{name:e,fromWireType:i,toWireType:function(A,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+JA(t)+'" to '+this.name);if(tr)throw new TypeError('Passing a number "'+JA(t)+'" from JS side to C/C++ side to an argument of type "'+e+'", which is outside the valid range ['+I+", "+r+"]!");return o?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:KA(e,g,0!==I),destructorFunction:null})},b:function(A,e,t){var I=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function r(A){var e=w,t=e[A>>=2],r=e[A+1];return new I(e.buffer,r,t)}CA(A,{name:t=j(t),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{ignoreDuplicateRegistrations:!0})},j:function(A,e){var t="std::string"===(e=j(e));CA(A,{name:e,fromWireType:function(A){var e,I=w[A>>2];if(t){var r=f[A+4+I],g=0;0!=r&&(g=r,f[A+4+I]=0);for(var i=A+4,n=0;n<=I;++n){var o=A+4+n;if(0==f[o]){var a=U(i);void 0===e?e=a:(e+=String.fromCharCode(0),e+=a),i=o+1}}0!=g&&(f[A+4+I]=g)}else{var C=new Array(I);for(n=0;n=55296&&I<=57343&&(I=65536+((1023&I)<<10)|1023&A.charCodeAt(++t)),I<=127?++e:e+=I<=2047?2:I<=65535?3:4}return e}(e)}:function(){return e.length};var g=I(),i=ZA(4+g+1);if(w[i>>2]=g,t&&r)!function(A,e,t,I){if(!(I>0))return 0;for(var r=t+I-1,g=0;g=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&A.charCodeAt(++g)),i<=127){if(t>=r)break;e[t++]=i}else if(i<=2047){if(t+1>=r)break;e[t++]=192|i>>6,e[t++]=128|63&i}else if(i<=65535){if(t+2>=r)break;e[t++]=224|i>>12,e[t++]=128|i>>6&63,e[t++]=128|63&i}else{if(t+3>=r)break;e[t++]=240|i>>18,e[t++]=128|i>>12&63,e[t++]=128|i>>6&63,e[t++]=128|63&i}}e[t]=0}(e,f,i+4,g+1);else if(r)for(var n=0;n255&&(PA(i),iA("String has UTF-16 code units that do not fit in 8 bits")),f[i+4+n]=o}else for(n=0;n>2],g=new Array(t),i=A+4>>r,n=0;n>2]=i;for(var o=n+4>>r,a=0;a4&&(NA[A].refcount+=1)},v:function(A,e){var t,I;return void 0===(I=z[t=A])&&iA("_emval_take_value has unknown type "+vA(t)),HA((A=I).readValueFromPointer(e))},f:function(){A.abort()},t:TA,s:function(A,e,t){f.set(f.subarray(e,e+t),A)},r:function(A){var e=TA(),t=2147418112;if(A>t)return!1;for(var I=Math.max(e,16777216);I0||(function(){if(A.preRun)for("function"==typeof A.preRun&&(A.preRun=[A.preRun]);A.preRun.length;)e=A.preRun.shift(),R.unshift(e);var e;M(R)}(),J>0||A.calledRun||(A.setStatus?(A.setStatus("Running..."),setTimeout((function(){setTimeout((function(){A.setStatus("")}),1),t()}),1)):t()))}function $A(e){throw A.onAbort&&A.onAbort(e),void 0!==e?(s(e),E(e),e=JSON.stringify(e)):e="",D=!0,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(A.dynCall_ii=function(){return A.asm.D.apply(null,arguments)},A.dynCall_iii=function(){return A.asm.E.apply(null,arguments)},A.dynCall_iiii=function(){return A.asm.F.apply(null,arguments)},A.dynCall_iiiii=function(){return A.asm.G.apply(null,arguments)},A.dynCall_v=function(){return A.asm.H.apply(null,arguments)},A.dynCall_vi=function(){return A.asm.I.apply(null,arguments)},A.dynCall_vii=function(){return A.asm.J.apply(null,arguments)},A.dynCall_viii=function(){return A.asm.K.apply(null,arguments)},A.dynCall_viiii=function(){return A.asm.L.apply(null,arguments)},A.dynCall_viiiii=function(){return A.asm.M.apply(null,arguments)},A.dynCall_viiiiii=function(){return A.asm.N.apply(null,arguments)},A.asm=WA,A.then=function(e){if(A.calledRun)e(A);else{var t=A.onRuntimeInitialized;A.onRuntimeInitialized=function(){t&&t(),e(A)}}return A},XA.prototype=new Error,XA.prototype.constructor=XA,K=function e(){A.calledRun||zA(),A.calledRun||(K=e)},A.run=zA,A.abort=$A,A.preInit)for("function"==typeof A.preInit&&(A.preInit=[A.preInit]);A.preInit.length>0;)A.preInit.pop()();return A.noExitRuntime=!0,zA(),A});A.exports=g},73065:function(A,e,t){var I,r;!function(g,i){"use strict";I=function(){var A=function(){},e="undefined",t=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),I=["trace","debug","info","warn","error"],r={},g=null;function i(A,e){var t=A[e];if("function"==typeof t.bind)return t.bind(A);try{return Function.prototype.bind.call(t,A)}catch(e){return function(){return Function.prototype.apply.apply(t,[A,arguments])}}}function n(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function o(){for(var t=this.getLevel(),r=0;r=0&&e<=B.levels.SILENT)return e;throw new TypeError("log.setLevel() called with invalid level: "+A)}"string"==typeof A?s+=":"+A:"symbol"==typeof A&&(s=void 0),B.name=A,B.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},B.methodFactory=t||C,B.getLevel=function(){return null!=a?a:null!=n?n:i},B.setLevel=function(A,t){return a=h(A),!1!==t&&function(A){var t=(I[A]||"silent").toUpperCase();if(typeof window!==e&&s){try{return void(window.localStorage[s]=t)}catch(A){}try{window.document.cookie=encodeURIComponent(s)+"="+t+";"}catch(A){}}}(a),o.call(B)},B.setDefaultLevel=function(A){n=h(A),E()||B.setLevel(A,!1)},B.resetLevel=function(){a=null,function(){if(typeof window!==e&&s){try{window.localStorage.removeItem(s)}catch(A){}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(A){}}}(),o.call(B)},B.enableAll=function(A){B.setLevel(B.levels.TRACE,A)},B.disableAll=function(A){B.setLevel(B.levels.SILENT,A)},B.rebuild=function(){if(g!==B&&(i=h(g.getLevel())),o.call(B),g===B)for(var A in r)r[A].rebuild()},i=h(g?g.getLevel():"WARN");var Q=E();null!=Q&&(a=h(Q)),o.call(B)}(g=new B).getLogger=function(A){if("symbol"!=typeof A&&"string"!=typeof A||""===A)throw new TypeError("You must supply a name when creating a logger.");var e=r[A];return e||(e=r[A]=new B(A,g.methodFactory)),e};var s=typeof window!==e?window.log:void 0;return g.noConflict=function(){return typeof window!==e&&window.log===g&&(window.log=s),g},g.getLoggers=function(){return r},g.default=g,g},void 0===(r=I.call(e,t,e,A))||(A.exports=r)}()},32992:(A,e,t)=>{var I,r=function(){var A=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",I={};function r(A,e){if(!I[A]){I[A]={};for(var t=0;t>>8,t[2*I+1]=i%256}return t},decompressFromUint8Array:function(e){if(null==e)return g.decompress(e);for(var t=new Array(e.length/2),I=0,r=t.length;I>=1}else{for(r=1,I=0;I>=1}0==--B&&(B=Math.pow(2,E),E++),delete n[C]}else for(r=i[C],I=0;I>=1;0==--B&&(B=Math.pow(2,E),E++),i[a]=s++,C=String(o)}if(""!==C){if(Object.prototype.hasOwnProperty.call(n,C)){if(C.charCodeAt(0)<256){for(I=0;I>=1}else{for(r=1,I=0;I>=1}0==--B&&(B=Math.pow(2,E),E++),delete n[C]}else for(r=i[C],I=0;I>=1;0==--B&&(B=Math.pow(2,E),E++)}for(r=2,I=0;I>=1;for(;;){if(Q<<=1,c==e-1){h.push(t(Q));break}c++}return h.join("")},decompress:function(A){return null==A?"":""==A?null:g._decompress(A.length,32768,(function(e){return A.charCodeAt(e)}))},_decompress:function(e,t,I){var r,g,i,n,o,a,C,B=[],s=4,E=4,h=3,Q="",c=[],u={val:I(0),position:t,index:1};for(r=0;r<3;r+=1)B[r]=r;for(i=0,o=Math.pow(2,2),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;switch(i){case 0:for(i=0,o=Math.pow(2,8),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;C=A(i);break;case 1:for(i=0,o=Math.pow(2,16),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;C=A(i);break;case 2:return""}for(B[3]=C,g=C,c.push(C);;){if(u.index>e)return"";for(i=0,o=Math.pow(2,h),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;switch(C=i){case 0:for(i=0,o=Math.pow(2,8),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;B[E++]=A(i),C=E-1,s--;break;case 1:for(i=0,o=Math.pow(2,16),a=1;a!=o;)n=u.val&u.position,u.position>>=1,0==u.position&&(u.position=t,u.val=I(u.index++)),i|=(n>0?1:0)*a,a<<=1;B[E++]=A(i),C=E-1,s--;break;case 2:return c.join("")}if(0==s&&(s=Math.pow(2,h),h++),B[C])Q=B[C];else{if(C!==E)return null;Q=g+g.charAt(0)}c.push(Q),B[E++]=g+Q.charAt(0),g=Q,0==--s&&(s=Math.pow(2,h),h++)}}};return g}();void 0===(I=function(){return r}.call(e,t,e,A))||(A.exports=I)},95404:(A,e,t)=>{var I=t(80255),r=t(91144),g=65536,i=B(5<<20),n=function(){try{return new Uint32Array(g)}catch(t){for(var A=new Array(g),e=0;e>4&7;if(void 0===C[i])throw new Error("invalid block size "+i);var n=C[i];if(g)return r.readU64(A,e);e++;for(var B=0;;){var s=r.readU32(A,e);if(e+=4,B+=s&a?s&=2147483647:n,0===s)return B;I&&(e+=4),e+=s}},e.makeBuffer=B,e.decompressBlock=function(A,e,t,I,r){var g,i,n,o,a;for(n=t+I;t>4;if(B>0){if(15===B)for(;B+=A[t],255===A[t++];);for(o=t+B;t=n)break;if(g=15&C,i=A[t++]|A[t++]<<8,15===g)for(;g+=A[t],255===A[t++];);for(o=(a=r-i)+(g+=4);a=13)for(var h=67;t+4>>0;if(i=g[c=(c>>16^c)>>>0&65535]-1,g[c]=t+1,i<0||t-i>>>16>0||r.readU32(A,i)!==Q)t+=h++>>6;else{for(h=67,C=t-n,a=t-i,i+=4,o=t+=4;t=15){for(e[B++]=240+u,E=C-15;E>=255;E-=255)e[B++]=255;e[B++]=E}else e[B++]=(C<<4)+u;for(var f=0;f>8,o>=15){for(E=o-15;E>=255;E-=255)e[B++]=255;e[B++]=E}n=t}}if(0===n)return 0;if((C=s-n)>=15){for(e[B++]=240,E=C-15;E>=255;E-=255)e[B++]=255;e[B++]=E}else e[B++]=C<<4;for(t=n;t>4&7;if(void 0===C[E])throw new Error("invalid block size");for(i&&(B+=8),B++;;){var h;if(h=r.readU32(A,B),B+=4,0===h)break;if(I&&(B+=4),h&a){h&=2147483647;for(var Q=0;Q>8,a++;var B=C[7],s=A.length,E=0;for(function(A){for(var e=0;e0;){var h,Q=s>B?B:s;if((h=e.compressBlock(A,i,E,Q,n))>Q||0===h){r.writeU32(t,a,2147483648|Q),a+=4;for(var c=E+Q;E{e.hashU32=function(A){return-1252372727^(A=(A=(A=374761393+(A=-949894596^(A=2127912214+(A|=0)+(A<<12)|0)^A>>>19)+(A<<5)|0)-744332180^A<<9)-42973499+(A<<3)|0)^A>>>16},e.readU64=function(A,e){var t=0;return t|=0|A[e++],t|=A[e++]<<8,t|=A[e++]<<16,t|=A[e++]<<24,t|=A[e++]<<32,t|=A[e++]<<40,(t|=A[e++]<<48)|A[e++]<<56},e.readU32=function(A,e){var t=0;return t|=0|A[e++],t|=A[e++]<<8,(t|=A[e++]<<16)|A[e++]<<24},e.writeU32=function(A,e,t){A[e++]=255&t,A[e++]=t>>8&255,A[e++]=t>>16&255,A[e++]=t>>24&255},e.imul=function(A,e){var t=65535&A,I=65535&e;return t*I+((A>>>16)*I+t*(e>>>16)<<16)|0}},80255:(A,e,t)=>{var I=t(91144),r=2654435761,g=2246822519,i=3266489917,n=374761393;function o(A,e){return(A|=0)>>>(32-(e|=0)|0)|A<>>(32-e|0)|A<>>(e|=0)^A}function B(A,e,t,r,g){return a(I.imul(e,t)+A,r,g)}function s(A,e,t){return a(A+I.imul(e[t],n),11,r)}function E(A,e,t){return B(A,I.readU32(e,t),i,17,668265263)}function h(A,e,t){return[B(A[0],I.readU32(e,t+0),g,13,r),B(A[1],I.readU32(e,t+4),g,13,r),B(A[2],I.readU32(e,t+8),g,13,r),B(A[3],I.readU32(e,t+12),g,13,r)]}e.hash=function(A,e,t,a){var B,Q;if(Q=a,a>=16){for(B=[A+r+g,A+g,A,A-r];a>=16;)B=h(B,e,t),t+=16,a-=16;B=o(B[0],1)+o(B[1],7)+o(B[2],12)+o(B[3],18)+Q}else B=A+n+a>>>0;for(;a>=4;)B=E(B,e,t),t+=4,a-=4;for(;a>0;)B=s(B,e,t),t++,a--;return(B=C(I.imul(C(I.imul(C(B,15),g),13),i),16))>>>0}},43627:(A,e,t)=>{"use strict";var I=t(65606),r="win32"===I.platform,g=t(40537);function i(A,e){for(var t=[],I=0;I=0&&!A[I];I--);return 0===t&&I===e?A:t>I?[]:A.slice(t,I+1)}var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,a=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,C={};function B(A){var e=o.exec(A),t=(e[1]||"")+(e[2]||""),I=e[3]||"",r=a.exec(I);return[t,r[1],r[2],r[3]]}function s(A){var e=o.exec(A),t=e[1]||"",I=!!t&&":"!==t[1];return{device:t,isUnc:I,isAbsolute:I||!!e[2],tail:e[3]}}function E(A){return"\\\\"+A.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}C.resolve=function(){for(var A="",e="",t=!1,r=arguments.length-1;r>=-1;r--){var n;if(r>=0?n=arguments[r]:A?(n=I.env["="+A])&&n.substr(0,3).toLowerCase()===A.toLowerCase()+"\\"||(n=A+"\\"):n=I.cwd(),!g.isString(n))throw new TypeError("Arguments to path.resolve must be strings");if(n){var o=s(n),a=o.device,C=o.isUnc,B=o.isAbsolute,h=o.tail;if((!a||!A||a.toLowerCase()===A.toLowerCase())&&(A||(A=a),t||(e=h+"\\"+e,t=B),A&&t))break}}return C&&(A=E(A)),A+(t?"\\":"")+(e=i(e.split(/[\\\/]+/),!t).join("\\"))||"."},C.normalize=function(A){var e=s(A),t=e.device,I=e.isUnc,r=e.isAbsolute,g=e.tail,n=/[\\\/]$/.test(g);return(g=i(g.split(/[\\\/]+/),!r).join("\\"))||r||(g="."),g&&n&&(g+="\\"),I&&(t=E(t)),t+(r?"\\":"")+g},C.isAbsolute=function(A){return s(A).isAbsolute},C.join=function(){for(var A=[],e=0;e=-1&&!e;t--){var r=t>=0?arguments[t]:I.cwd();if(!g.isString(r))throw new TypeError("Arguments to path.resolve must be strings");r&&(A=r+"/"+A,e="/"===r[0])}return(e?"/":"")+(A=i(A.split("/"),!e).join("/"))||"."},Q.normalize=function(A){var e=Q.isAbsolute(A),t=A&&"/"===A[A.length-1];return(A=i(A.split("/"),!e).join("/"))||e||(A="."),A&&t&&(A+="/"),(e?"/":"")+A},Q.isAbsolute=function(A){return"/"===A.charAt(0)},Q.join=function(){for(var A="",e=0;e{var e,t,I=A.exports={};function r(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function i(A){if(e===setTimeout)return setTimeout(A,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(A,0);try{return e(A,0)}catch(t){try{return e.call(null,A,0)}catch(t){return e.call(this,A,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(A){e=r}try{t="function"==typeof clearTimeout?clearTimeout:g}catch(A){t=g}}();var n,o=[],a=!1,C=-1;function B(){a&&n&&(a=!1,n.length?o=n.concat(o):C=-1,o.length&&s())}function s(){if(!a){var A=i(B);a=!0;for(var e=o.length;e;){for(n=o,o=[];++C1)for(var t=1;t{!function(A){var e,t,I,r=String.fromCharCode;function g(A){for(var e,t,I=[],r=0,g=A.length;r=55296&&e<=56319&&r=55296&&A<=57343)throw Error("Lone surrogate U+"+A.toString(16).toUpperCase()+" is not a scalar value")}function n(A,e){return r(A>>e&63|128)}function o(A){if(!(4294967168&A))return r(A);var e="";return 4294965248&A?4294901760&A?4292870144&A||(e=r(A>>18&7|240),e+=n(A,12),e+=n(A,6)):(i(A),e=r(A>>12&15|224),e+=n(A,6)):e=r(A>>6&31|192),e+r(63&A|128)}function a(){if(I>=t)throw Error("Invalid byte index");var A=255&e[I];if(I++,128==(192&A))return 63&A;throw Error("Invalid continuation byte")}function C(){var A,r;if(I>t)throw Error("Invalid byte index");if(I==t)return!1;if(A=255&e[I],I++,!(128&A))return A;if(192==(224&A)){if((r=(31&A)<<6|a())>=128)return r;throw Error("Invalid continuation byte")}if(224==(240&A)){if((r=(15&A)<<12|a()<<6|a())>=2048)return i(r),r;throw Error("Invalid continuation byte")}if(240==(248&A)&&(r=(7&A)<<18|a()<<12|a()<<6|a())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}A.version="3.0.0",A.encode=function(A){for(var e=g(A),t=e.length,I=-1,r="";++I65535&&(g+=r((e-=65536)>>>10&1023|55296),e=56320|1023&e),g+=r(e);return g}(n)}}(e)},36622:A=>{"function"==typeof Object.create?A.exports=function(A,e){A.super_=e,A.prototype=Object.create(e.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:A.exports=function(A,e){A.super_=e;var t=function(){};t.prototype=e.prototype,A.prototype=new t,A.prototype.constructor=A}},81135:A=>{A.exports=function(A){return A&&"object"==typeof A&&"function"==typeof A.copy&&"function"==typeof A.fill&&"function"==typeof A.readUInt8}},40537:(A,e,t)=>{var I=t(65606),r=/%[sdj%]/g;e.format=function(A){if(!u(A)){for(var e=[],t=0;t=g)return A;switch(A){case"%s":return String(I[t++]);case"%d":return Number(I[t++]);case"%j":try{return JSON.stringify(I[t++])}catch(A){return"[Circular]"}default:return A}})),o=I[t];t=3&&(I.depth=arguments[2]),arguments.length>=4&&(I.colors=arguments[3]),h(t)?I.showHidden=t:t&&e._extend(I,t),f(I.showHidden)&&(I.showHidden=!1),f(I.depth)&&(I.depth=2),f(I.colors)&&(I.colors=!1),f(I.customInspect)&&(I.customInspect=!0),I.colors&&(I.stylize=o),C(I,A,I.depth)}function o(A,e){var t=n.styles[e];return t?"["+n.colors[t][0]+"m"+A+"["+n.colors[t][1]+"m":A}function a(A,e){return A}function C(A,t,I){if(A.customInspect&&t&&d(t.inspect)&&t.inspect!==e.inspect&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(I,A);return u(r)||(r=C(A,r,I)),r}var g=function(A,e){if(f(e))return A.stylize("undefined","undefined");if(u(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(t,"string")}return c(e)?A.stylize(""+e,"number"):h(e)?A.stylize(""+e,"boolean"):Q(e)?A.stylize("null","null"):void 0}(A,t);if(g)return g;var i=Object.keys(t),n=function(A){var e={};return A.forEach((function(A,t){e[A]=!0})),e}(i);if(A.showHidden&&(i=Object.getOwnPropertyNames(t)),w(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return B(t);if(0===i.length){if(d(t)){var o=t.name?": "+t.name:"";return A.stylize("[Function"+o+"]","special")}if(l(t))return A.stylize(RegExp.prototype.toString.call(t),"regexp");if(p(t))return A.stylize(Date.prototype.toString.call(t),"date");if(w(t))return B(t)}var a,y="",F=!1,D=["{","}"];return E(t)&&(F=!0,D=["[","]"]),d(t)&&(y=" [Function"+(t.name?": "+t.name:"")+"]"),l(t)&&(y=" "+RegExp.prototype.toString.call(t)),p(t)&&(y=" "+Date.prototype.toUTCString.call(t)),w(t)&&(y=" "+B(t)),0!==i.length||F&&0!=t.length?I<0?l(t)?A.stylize(RegExp.prototype.toString.call(t),"regexp"):A.stylize("[Object]","special"):(A.seen.push(t),a=F?function(A,e,t,I,r){for(var g=[],i=0,n=e.length;i60?t[0]+(""===e?"":e+"\n ")+" "+A.join(",\n ")+" "+t[1]:t[0]+e+" "+A.join(", ")+" "+t[1]}(a,y,D)):D[0]+y+D[1]}function B(A){return"["+Error.prototype.toString.call(A)+"]"}function s(A,e,t,I,r,g){var i,n,o;if((o=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?n=o.set?A.stylize("[Getter/Setter]","special"):A.stylize("[Getter]","special"):o.set&&(n=A.stylize("[Setter]","special")),m(I,r)||(i="["+r+"]"),n||(A.seen.indexOf(o.value)<0?(n=Q(t)?C(A,o.value,null):C(A,o.value,t-1)).indexOf("\n")>-1&&(n=g?n.split("\n").map((function(A){return" "+A})).join("\n").substr(2):"\n"+n.split("\n").map((function(A){return" "+A})).join("\n")):n=A.stylize("[Circular]","special")),f(i)){if(g&&r.match(/^\d+$/))return n;(i=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=A.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=A.stylize(i,"string"))}return i+": "+n}function E(A){return Array.isArray(A)}function h(A){return"boolean"==typeof A}function Q(A){return null===A}function c(A){return"number"==typeof A}function u(A){return"string"==typeof A}function f(A){return void 0===A}function l(A){return y(A)&&"[object RegExp]"===F(A)}function y(A){return"object"==typeof A&&null!==A}function p(A){return y(A)&&"[object Date]"===F(A)}function w(A){return y(A)&&("[object Error]"===F(A)||A instanceof Error)}function d(A){return"function"==typeof A}function F(A){return Object.prototype.toString.call(A)}function D(A){return A<10?"0"+A.toString(10):A.toString(10)}e.debuglog=function(A){if(f(g)&&(g=I.env.NODE_DEBUG||""),A=A.toUpperCase(),!i[A])if(new RegExp("\\b"+A+"\\b","i").test(g)){var t=I.pid;i[A]=function(){var I=e.format.apply(e,arguments);console.error("%s %d: %s",A,t,I)}}else i[A]=function(){};return i[A]},e.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=E,e.isBoolean=h,e.isNull=Q,e.isNullOrUndefined=function(A){return null==A},e.isNumber=c,e.isString=u,e.isSymbol=function(A){return"symbol"==typeof A},e.isUndefined=f,e.isRegExp=l,e.isObject=y,e.isDate=p,e.isError=w,e.isFunction=d,e.isPrimitive=function(A){return null===A||"boolean"==typeof A||"number"==typeof A||"string"==typeof A||"symbol"==typeof A||void 0===A},e.isBuffer=t(81135);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function m(A,e){return Object.prototype.hasOwnProperty.call(A,e)}e.log=function(){var A,t;console.log("%s - %s",(t=[D((A=new Date).getHours()),D(A.getMinutes()),D(A.getSeconds())].join(":"),[A.getDate(),S[A.getMonth()],t].join(" ")),e.format.apply(e,arguments))},e.inherits=t(36622),e._extend=function(A,e){if(!e||!y(e))return A;for(var t=Object.keys(e),I=t.length;I--;)A[t[I]]=e[t[I]];return A}},20602:function(){(function(){"use strict";function A(A){throw A}var e=void 0,t=this;function I(A,I){var r,g=A.split("."),i=t;!(g[0]in i)&&i.execScript&&i.execScript("var "+g[0]);for(;g.length&&(r=g.shift());)g.length||I===e?i=i[r]?i[r]:i[r]={}:i[r]=I}var r,g="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array&&"undefined"!=typeof DataView;for(new(g?Uint8Array:Array)(256),r=0;256>r;++r)for(var i=(i=r)>>>1;i;i>>>=1);function n(A,e,t){var I,r="number"==typeof e?e:e=0,g="number"==typeof t?t:A.length;for(I=-1,r=7&g;r--;++e)I=I>>>8^a[255&(I^A[e])];for(r=g>>3;r--;e+=8)I=(I=(I=(I=(I=(I=(I=(I=I>>>8^a[255&(I^A[e])])>>>8^a[255&(I^A[e+1])])>>>8^a[255&(I^A[e+2])])>>>8^a[255&(I^A[e+3])])>>>8^a[255&(I^A[e+4])])>>>8^a[255&(I^A[e+5])])>>>8^a[255&(I^A[e+6])])>>>8^a[255&(I^A[e+7])];return(4294967295^I)>>>0}var o=[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],a=g?new Uint32Array(o):o;function C(){}function B(A){var e,t,I,r,i,n,o,a,C,B,s=A.length,E=0,h=Number.POSITIVE_INFINITY;for(a=0;aE&&(E=A[a]),A[a]>=1;for(B=I<<16|a,C=n;Cs;s++)switch(!0){case 143>=s:E.push([s+48,8]);break;case 255>=s:E.push([s-144+400,9]);break;case 279>=s:E.push([s-256+0,7]);break;case 287>=s:E.push([s-280+192,8]);break;default:A("invalid literal: "+s)}var h=function(){function e(e){switch(!0){case 3===e:return[257,e-3,0];case 4===e:return[258,e-4,0];case 5===e:return[259,e-5,0];case 6===e:return[260,e-6,0];case 7===e:return[261,e-7,0];case 8===e:return[262,e-8,0];case 9===e:return[263,e-9,0];case 10===e:return[264,e-10,0];case 12>=e:return[265,e-11,1];case 14>=e:return[266,e-13,1];case 16>=e:return[267,e-15,1];case 18>=e:return[268,e-17,1];case 22>=e:return[269,e-19,2];case 26>=e:return[270,e-23,2];case 30>=e:return[271,e-27,2];case 34>=e:return[272,e-31,2];case 42>=e:return[273,e-35,3];case 50>=e:return[274,e-43,3];case 58>=e:return[275,e-51,3];case 66>=e:return[276,e-59,3];case 82>=e:return[277,e-67,4];case 98>=e:return[278,e-83,4];case 114>=e:return[279,e-99,4];case 130>=e:return[280,e-115,4];case 162>=e:return[281,e-131,5];case 194>=e:return[282,e-163,5];case 226>=e:return[283,e-195,5];case 257>=e:return[284,e-227,5];case 258===e:return[285,e-258,0];default:A("invalid length: "+e)}}var t,I,r=[];for(t=3;258>=t;t++)I=e(t),r[t]=I[2]<<24|I[1]<<16|I[0];return r}();function Q(e,t){switch(this.i=[],this.j=32768,this.d=this.f=this.c=this.n=0,this.input=g?new Uint8Array(e):e,this.o=!1,this.k=u,this.w=!1,!t&&(t={})||(t.index&&(this.c=t.index),t.bufferSize&&(this.j=t.bufferSize),t.bufferType&&(this.k=t.bufferType),t.resize&&(this.w=t.resize)),this.k){case c:this.a=32768,this.b=new(g?Uint8Array:Array)(32768+this.j+258);break;case u:this.a=0,this.b=new(g?Uint8Array:Array)(this.j),this.e=this.D,this.q=this.A,this.l=this.C;break;default:A(Error("invalid inflate mode"))}}g&&new Uint32Array(h);var c=0,u=1;Q.prototype.g=function(){for(;!this.o;){var t=N(this,3);switch(1&t&&(this.o=!0),t>>>=1){case 0:var I=this.input,r=this.c,i=this.b,n=this.a,o=I.length,a=e,C=i.length,s=e;switch(this.d=this.f=0,r+1>=o&&A(Error("invalid uncompressed block header: LEN")),a=I[r++]|I[r++]<<8,r+1>=o&&A(Error("invalid uncompressed block header: NLEN")),a===~(I[r++]|I[r++]<<8)&&A(Error("invalid uncompressed block header: length verify")),r+a>I.length&&A(Error("input buffer is broken")),this.k){case c:for(;n+a>i.length;){if(a-=s=C-n,g)i.set(I.subarray(r,r+s),n),n+=s,r+=s;else for(;s--;)i[n++]=I[r++];this.a=n,i=this.e(),n=this.a}break;case u:for(;n+a>i.length;)i=this.e({t:2});break;default:A(Error("invalid inflate mode"))}if(g)i.set(I.subarray(r,r+a),n),n+=a,r+=a;else for(;a--;)i[n++]=I[r++];this.c=r,this.a=n,this.b=i;break;case 1:this.l(M,Y);break;case 2:var E,h,Q,f,l=N(this,5)+257,y=N(this,5)+1,w=N(this,4)+4,d=new(g?Uint8Array:Array)(p.length),F=e,D=e,S=e,m=e,U=e;for(U=0;U=f?8:255>=f?9:279>=f?7:8;var v,b,M=B(G),R=new(g?Uint8Array:Array)(30);for(v=0,b=R.length;v=o&&A(Error("input buffer is broken")),r|=i[n++]<>>t,e.d=g-t,e.c=n,I}function L(e,t){for(var I,r,g=e.f,i=e.d,n=e.input,o=e.c,a=n.length,C=t[0],B=t[1];i=a);)g|=n[o++]<>>16)>i&&A(Error("invalid code length: "+r)),e.f=g>>r,e.d=i-r,e.c=o,65535&I}function H(A){this.input=A,this.c=0,this.m=[],this.s=!1}Q.prototype.l=function(A,e){var t=this.b,I=this.a;this.r=A;for(var r,g,i,n,o=t.length-258;256!==(r=L(this,A));)if(256>r)I>=o&&(this.a=I,t=this.e(),I=this.a),t[I++]=r;else for(n=d[g=r-257],0=o&&(this.a=I,t=this.e(),I=this.a);n--;)t[I]=t[I++-i];for(;8<=this.d;)this.d-=8,this.c--;this.a=I},Q.prototype.C=function(A,e){var t=this.b,I=this.a;this.r=A;for(var r,g,i,n,o=t.length;256!==(r=L(this,A));)if(256>r)I>=o&&(o=(t=this.e()).length),t[I++]=r;else for(n=d[g=r-257],0o&&(o=(t=this.e()).length);n--;)t[I]=t[I++-i];for(;8<=this.d;)this.d-=8,this.c--;this.a=I},Q.prototype.e=function(){var A,e,t=new(g?Uint8Array:Array)(this.a-32768),I=this.a-32768,r=this.b;if(g)t.set(r.subarray(32768,t.length));else for(A=0,e=t.length;AA;++A)r[A]=r[I+A];return this.a=32768,r},Q.prototype.D=function(A){var e,t,I,r=this.input.length/this.c+1|0,i=this.input,n=this.b;return A&&("number"==typeof A.t&&(r=A.t),"number"==typeof A.z&&(r+=A.z)),t=2>r?(I=(i.length-this.c)/this.r[2]/2*258|0)e&&(this.b.length=e),A=this.b),this.buffer=A},H.prototype.F=function(){return this.s||this.g(),this.m.slice()},H.prototype.g=function(){for(var t=this.input.length;this.c>>0,n(I,e,e)!==c&&A(Error("invalid CRC-32 checksum: 0x"+n(I,e,e).toString(16)+" / 0x"+c.toString(16))),i.L=o=(u[f++]|u[f++]<<8|u[f++]<<16|u[f++]<<24)>>>0,(4294967295&I.length)!==o&&A(Error("invalid input size: "+(4294967295&I.length)+" / "+o)),this.m.push(i),this.c=f}this.s=!0;var l,y,p,w=this.m,d=0,F=0;for(l=0,y=w.length;l>>8&255]<<16|s[A>>>16&255]<<8|s[A>>>24&255])>>32-e:s[A]>>8-e),8>e+n)o=o<>e-I-1&1,8==++n&&(n=0,r[g++]=s[o],o=0,g===r.length&&(r=i(this)));r[g]=o,this.buffer=r,this.f=n,this.index=g},g.prototype.finish=function(){var A,e=this.buffer,t=this.index;return 0n;++n){for(var a=B=n,C=7,B=B>>>1;B;B>>>=1)a<<=1,a|=1&B,--C;o[n]=(a<>>0}var s=o;function E(A,e,t){var I,r="number"==typeof e?e:e=0,g="number"==typeof t?t:A.length;for(I=-1,r=7&g;r--;++e)I=I>>>8^Q[255&(I^A[e])];for(r=g>>3;r--;e+=8)I=(I=(I=(I=(I=(I=(I=(I=I>>>8^Q[255&(I^A[e])])>>>8^Q[255&(I^A[e+1])])>>>8^Q[255&(I^A[e+2])])>>>8^Q[255&(I^A[e+3])])>>>8^Q[255&(I^A[e+4])])>>>8^Q[255&(I^A[e+5])])>>>8^Q[255&(I^A[e+6])])>>>8^Q[255&(I^A[e+7])];return(4294967295^I)>>>0}var h=[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],Q=r?new Uint32Array(h):h;function c(A){this.buffer=new(r?Uint16Array:Array)(2*A),this.length=0}function u(A,e){this.h=l,this.j=0,this.input=r&&A instanceof Array?new Uint8Array(A):A,this.c=0,e&&(e.lazy&&(this.j=e.lazy),"number"==typeof e.compressionType&&(this.h=e.compressionType),e.outputBuffer&&(this.a=r&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.c=e.outputIndex)),this.a||(this.a=new(r?Uint8Array:Array)(32768))}c.prototype.getParent=function(A){return 2*((A-2)/4|0)},c.prototype.push=function(A,e){var t,I,r,g=this.buffer;for(t=this.length,g[this.length++]=e,g[this.length++]=A;0g[I]);)r=g[t],g[t]=g[I],g[I]=r,r=g[t+1],g[t+1]=g[I+1],g[I+1]=r,t=I;return this.length},c.prototype.pop=function(){var A,e,t,I,r,g=this.buffer;for(e=g[0],A=g[1],this.length-=2,g[0]=g[this.length],g[1]=g[this.length+1],r=0;!((I=2*r+2)>=this.length)&&(I+2g[I]&&(I+=2),g[I]>g[r]);)t=g[r],g[r]=g[I],g[I]=t,t=g[r+1],g[r+1]=g[I+1],g[I+1]=t,r=I;return{index:A,value:e,length:this.length}};var f,l=2,y=[];for(f=0;288>f;f++)switch(e){case 143>=f:y.push([f+48,8]);break;case 255>=f:y.push([f-144+400,9]);break;case 279>=f:y.push([f-256+0,7]);break;case 287>=f:y.push([f-280+192,8]);break;default:throw"invalid literal: "+f}function p(A,e){this.length=A,this.k=e}u.prototype.g=function(){var t,I,i,n,o=this.input;switch(this.h){case 0:for(i=0,n=o.length;i>>8&255,c[u++]=255&B,c[u++]=B>>>8&255,r)c.set(s,u),u+=s.length,c=c.subarray(0,u);else{for(h=0,Q=s.length;hP)for(;0P?P:138)>P-3&&X=X?(eA[j++]=17,eA[j++]=X-3,tA[17]++):(eA[j++]=18,eA[j++]=X-11,tA[18]++),P-=X;else if(eA[j++]=AA[W],tA[AA[W]]++,3>--P)for(;0P?P:6)>P-3&&XK;K++)V[K]=L[_[K]];for(b=19;4=A:return[265,A-11,1];case 14>=A:return[266,A-13,1];case 16>=A:return[267,A-15,1];case 18>=A:return[268,A-17,1];case 22>=A:return[269,A-19,2];case 26>=A:return[270,A-23,2];case 30>=A:return[271,A-27,2];case 34>=A:return[272,A-31,2];case 42>=A:return[273,A-35,3];case 50>=A:return[274,A-43,3];case 58>=A:return[275,A-51,3];case 66>=A:return[276,A-59,3];case 82>=A:return[277,A-67,4];case 98>=A:return[278,A-83,4];case 114>=A:return[279,A-99,4];case 130>=A:return[280,A-115,4];case 162>=A:return[281,A-131,5];case 194>=A:return[282,A-163,5];case 226>=A:return[283,A-195,5];case 257>=A:return[284,A-227,5];case 258===A:return[285,A-258,0];default:throw"invalid length: "+A}}var t,I,r=[];for(t=3;258>=t;t++)I=A(t),r[t]=I[2]<<24|I[1]<<16|I[0];return r}(),d=r?new Uint32Array(w):w;function F(t,I){function g(A,t){var I,r,g,i,n=A.k,o=[],a=0;switch(I=d[A.length],o[a++]=65535&I,o[a++]=I>>16&255,o[a++]=I>>24,e){case 1===n:r=[0,n-1,0];break;case 2===n:r=[1,n-2,0];break;case 3===n:r=[2,n-3,0];break;case 4===n:r=[3,n-4,0];break;case 6>=n:r=[4,n-5,1];break;case 8>=n:r=[5,n-7,1];break;case 12>=n:r=[6,n-9,2];break;case 16>=n:r=[7,n-13,2];break;case 24>=n:r=[8,n-17,3];break;case 32>=n:r=[9,n-25,3];break;case 48>=n:r=[10,n-33,4];break;case 64>=n:r=[11,n-49,4];break;case 96>=n:r=[12,n-65,5];break;case 128>=n:r=[13,n-97,5];break;case 192>=n:r=[14,n-129,6];break;case 256>=n:r=[15,n-193,6];break;case 384>=n:r=[16,n-257,7];break;case 512>=n:r=[17,n-385,7];break;case 768>=n:r=[18,n-513,8];break;case 1024>=n:r=[19,n-769,8];break;case 1536>=n:r=[20,n-1025,9];break;case 2048>=n:r=[21,n-1537,9];break;case 3072>=n:r=[22,n-2049,10];break;case 4096>=n:r=[23,n-3073,10];break;case 6144>=n:r=[24,n-4097,11];break;case 8192>=n:r=[25,n-6145,11];break;case 12288>=n:r=[26,n-8193,12];break;case 16384>=n:r=[27,n-12289,12];break;case 24576>=n:r=[28,n-16385,13];break;case 32768>=n:r=[29,n-24577,13];break;default:throw"invalid distance"}for(I=r,o[a++]=I[0],o[a++]=I[1],o[a++]=I[2],g=0,i=o.length;g=o;)l[o++]=0;for(o=0;29>=o;)y[o++]=0}for(l[256]=1,i=0,n=I.length;i=n){for(E&&g(E,-1),o=0,a=n-i;og&&e+ga&&(r=I,a=g),258===g)break}return new p(a,e-r)}function S(A,e){var t,I,g,i,n,o=A.length,a=new c(572),C=new(r?Uint8Array:Array)(o);if(!r)for(i=0;i2*C[i-1]+B[i]&&(C[i]=2*C[i-1]+B[i]),E[i]=Array(C[i]),h[i]=Array(C[i]);for(g=0;gA[g]?(E[i][n]=o,h[i][n]=e,a+=2):(E[i][n]=A[g],h[i][n]=g,++g);Q[i]=0,1===B[i]&&I(i)}return s}(I,I.length,e),i=0,n=t.length;i>>=1;return i}function U(A,e){this.input=A,this.c=this.i=0,this.d={},e&&(e.flags&&(this.d=e.flags),"string"==typeof e.filename&&(this.filename=e.filename),"string"==typeof e.comment&&(this.l=e.comment),e.deflateOptions&&(this.e=e.deflateOptions)),this.e||(this.e={})}U.prototype.g=function(){var e,t,I,g,i,n,o,a,C=new(r?Uint8Array:Array)(32768),B=0,s=this.input,h=this.i,Q=this.filename,c=this.l;if(C[B++]=31,C[B++]=139,C[B++]=8,e=0,this.d.fname&&(e|=v),this.d.fcomment&&(e|=b),this.d.fhcrc&&(e|=G),C[B++]=e,t=(Date.now?Date.now():+new Date)/1e3|0,C[B++]=255&t,C[B++]=t>>>8&255,C[B++]=t>>>16&255,C[B++]=t>>>24&255,C[B++]=0,C[B++]=k,this.d.fname!==A){for(o=0,a=Q.length;o>>8&255),C[B++]=255&n;C[B++]=0}if(this.d.comment){for(o=0,a=c.length;o>>8&255),C[B++]=255&n;C[B++]=0}return this.d.fhcrc&&(I=65535&E(C,0,B),C[B++]=255&I,C[B++]=I>>>8&255),this.e.outputBuffer=C,this.e.outputIndex=B,C=(i=new u(s,this.e)).g(),B=i.c,r&&(B+8>C.buffer.byteLength?(this.a=new Uint8Array(B+8),this.a.set(new Uint8Array(C.buffer)),C=this.a):C=new Uint8Array(C.buffer)),g=E(s,A,A),C[B++]=255&g,C[B++]=g>>>8&255,C[B++]=g>>>16&255,C[B++]=g>>>24&255,a=s.length,C[B++]=255&a,C[B++]=a>>>8&255,C[B++]=a>>>16&255,C[B++]=a>>>24&255,this.i=h,r&&B>>8&255]<<16|s[A>>>16&255]<<8|s[A>>>24&255])>>32-e:s[A]>>8-e),8>e+n)o=o<>e-I-1&1,8==++n&&(n=0,r[g++]=s[o],o=0,g===r.length&&(r=i(this)));r[g]=o,this.buffer=r,this.d=n,this.index=g},g.prototype.finish=function(){var A,e=this.buffer,t=this.index;return 0n;++n){for(var a=B=n,C=7,B=B>>>1;B;B>>>=1)a<<=1,a|=1&B,--C;o[n]=(a<>>0}var s=o;function E(A){this.buffer=new(r?Uint16Array:Array)(2*A),this.length=0}function h(A,e){this.e=c,this.f=0,this.input=r&&A instanceof Array?new Uint8Array(A):A,this.c=0,e&&(e.lazy&&(this.f=e.lazy),"number"==typeof e.compressionType&&(this.e=e.compressionType),e.outputBuffer&&(this.b=r&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.c=e.outputIndex)),this.b||(this.b=new(r?Uint8Array:Array)(32768))}E.prototype.getParent=function(A){return 2*((A-2)/4|0)},E.prototype.push=function(A,e){var t,I,r,g=this.buffer;for(t=this.length,g[this.length++]=e,g[this.length++]=A;0g[I]);)r=g[t],g[t]=g[I],g[I]=r,r=g[t+1],g[t+1]=g[I+1],g[I+1]=r,t=I;return this.length},E.prototype.pop=function(){var A,e,t,I,r,g=this.buffer;for(e=g[0],A=g[1],this.length-=2,g[0]=g[this.length],g[1]=g[this.length+1],r=0;!((I=2*r+2)>=this.length)&&(I+2g[I]&&(I+=2),g[I]>g[r]);)t=g[r],g[r]=g[I],g[I]=t,t=g[r+1],g[r+1]=g[I+1],g[I+1]=t,r=I;return{index:A,value:e,length:this.length}};var Q,c=2,u=[];for(Q=0;288>Q;Q++)switch(e){case 143>=Q:u.push([Q+48,8]);break;case 255>=Q:u.push([Q-144+400,9]);break;case 279>=Q:u.push([Q-256+0,7]);break;case 287>=Q:u.push([Q-280+192,8]);break;default:throw"invalid literal: "+Q}function f(A,e){this.length=A,this.g=e}h.prototype.h=function(){var t,I,i,n,o=this.input;switch(this.e){case 0:for(i=0,n=o.length;i>>8&255,f[l++]=255&B,f[l++]=B>>>8&255,r)f.set(s,l),l+=s.length,f=f.subarray(0,l);else{for(h=0,Q=s.length;hP)for(;0P?P:138)>P-3&&X=X?(eA[j++]=17,eA[j++]=X-3,tA[17]++):(eA[j++]=18,eA[j++]=X-11,tA[18]++),P-=X;else if(eA[j++]=AA[W],tA[AA[W]]++,3>--P)for(;0P?P:6)>P-3&&XK;K++)V[K]=L[_[K]];for(b=19;4=A:return[265,A-11,1];case 14>=A:return[266,A-13,1];case 16>=A:return[267,A-15,1];case 18>=A:return[268,A-17,1];case 22>=A:return[269,A-19,2];case 26>=A:return[270,A-23,2];case 30>=A:return[271,A-27,2];case 34>=A:return[272,A-31,2];case 42>=A:return[273,A-35,3];case 50>=A:return[274,A-43,3];case 58>=A:return[275,A-51,3];case 66>=A:return[276,A-59,3];case 82>=A:return[277,A-67,4];case 98>=A:return[278,A-83,4];case 114>=A:return[279,A-99,4];case 130>=A:return[280,A-115,4];case 162>=A:return[281,A-131,5];case 194>=A:return[282,A-163,5];case 226>=A:return[283,A-195,5];case 257>=A:return[284,A-227,5];case 258===A:return[285,A-258,0];default:throw"invalid length: "+A}}var t,I,r=[];for(t=3;258>=t;t++)I=A(t),r[t]=I[2]<<24|I[1]<<16|I[0];return r}(),y=r?new Uint32Array(l):l;function p(t,I){function g(A,t){var I,r,g,i,n=A.g,o=[],a=0;switch(I=y[A.length],o[a++]=65535&I,o[a++]=I>>16&255,o[a++]=I>>24,e){case 1===n:r=[0,n-1,0];break;case 2===n:r=[1,n-2,0];break;case 3===n:r=[2,n-3,0];break;case 4===n:r=[3,n-4,0];break;case 6>=n:r=[4,n-5,1];break;case 8>=n:r=[5,n-7,1];break;case 12>=n:r=[6,n-9,2];break;case 16>=n:r=[7,n-13,2];break;case 24>=n:r=[8,n-17,3];break;case 32>=n:r=[9,n-25,3];break;case 48>=n:r=[10,n-33,4];break;case 64>=n:r=[11,n-49,4];break;case 96>=n:r=[12,n-65,5];break;case 128>=n:r=[13,n-97,5];break;case 192>=n:r=[14,n-129,6];break;case 256>=n:r=[15,n-193,6];break;case 384>=n:r=[16,n-257,7];break;case 512>=n:r=[17,n-385,7];break;case 768>=n:r=[18,n-513,8];break;case 1024>=n:r=[19,n-769,8];break;case 1536>=n:r=[20,n-1025,9];break;case 2048>=n:r=[21,n-1537,9];break;case 3072>=n:r=[22,n-2049,10];break;case 4096>=n:r=[23,n-3073,10];break;case 6144>=n:r=[24,n-4097,11];break;case 8192>=n:r=[25,n-6145,11];break;case 12288>=n:r=[26,n-8193,12];break;case 16384>=n:r=[27,n-12289,12];break;case 24576>=n:r=[28,n-16385,13];break;case 32768>=n:r=[29,n-24577,13];break;default:throw"invalid distance"}for(I=r,o[a++]=I[0],o[a++]=I[1],o[a++]=I[2],g=0,i=o.length;g=o;)l[o++]=0;for(o=0;29>=o;)p[o++]=0}for(l[256]=1,i=0,n=I.length;i=n){for(E&&g(E,-1),o=0,a=n-i;og&&e+ga&&(r=I,a=g),258===g)break}return new f(a,e-r)}function d(A,e){var t,I,g,i,n,o=A.length,a=new E(572),C=new(r?Uint8Array:Array)(o);if(!r)for(i=0;i2*C[i-1]+B[i]&&(C[i]=2*C[i-1]+B[i]),E[i]=Array(C[i]),h[i]=Array(C[i]);for(g=0;gA[g]?(E[i][n]=o,h[i][n]=e,a+=2):(E[i][n]=A[g],h[i][n]=g,++g);Q[i]=0,1===B[i]&&I(i)}return s}(I,I.length,e),i=0,n=t.length;i>>=1;return i}I("Zlib.RawDeflate",h),I("Zlib.RawDeflate.prototype.compress",h.prototype.h);var D,S,m,U,k={NONE:0,FIXED:1,DYNAMIC:c};if(Object.keys)D=Object.keys(k);else for(S in D=[],m=0,k)D[m++]=S;for(m=0,U=D.length;mE&&(E=A[a]),A[a]>=1;for(B=r<<16|a,C=n;C>>=1){case 0:var t=this.input,g=this.d,o=this.b,a=this.a,C=t.length,s=A,E=o.length,h=A;if(this.c=this.f=0,g+1>=C)throw Error("invalid uncompressed block header: LEN");if(s=t[g++]|t[g++]<<8,g+1>=C)throw Error("invalid uncompressed block header: NLEN");if(s===~(t[g++]|t[g++]<<8))throw Error("invalid uncompressed block header: length verify");if(g+s>t.length)throw Error("input buffer is broken");switch(this.i){case i:for(;a+s>o.length;){if(s-=h=E-a,I)o.set(t.subarray(g,g+h),a),a+=h,g+=h;else for(;h--;)o[a++]=t[g++];this.a=a,o=this.e(),a=this.a}break;case n:for(;a+s>o.length;)o=this.e({o:2});break;default:throw Error("invalid inflate mode")}if(I)o.set(t.subarray(g,g+s),a),a+=s,g+=s;else for(;s--;)o[a++]=t[g++];this.d=g,this.a=a,this.b=o;break;case 1:this.j(d,D);break;case 2:var Q,c,u,f,l=S(this,5)+257,y=S(this,5)+1,p=S(this,4)+4,w=new(I?Uint8Array:Array)(B.length),F=A,U=A,k=A,G=A,v=A;for(v=0;v=o?8:255>=o?9:279>=o?7:8;var p,w,d=r(y),F=new(I?Uint8Array:Array)(30);for(p=0,w=F.length;p=n)throw Error("input buffer is broken");I|=g[i++]<>>e,A.c=r-e,A.d=i,t}function m(A,e){for(var t,I,r=A.f,g=A.c,i=A.input,n=A.d,o=i.length,a=e[0],C=e[1];g=o);)r|=i[n++]<>>16)>g)throw Error("invalid code length: "+I);return A.f=r>>I,A.c=g-I,A.d=n,65535&t}g.prototype.j=function(A,e){var t=this.b,I=this.a;this.n=A;for(var r,g,i,n,o=t.length-258;256!==(r=m(this,A));)if(256>r)I>=o&&(this.a=I,t=this.e(),I=this.a),t[I++]=r;else for(n=E[g=r-257],0=o&&(this.a=I,t=this.e(),I=this.a);n--;)t[I]=t[I++-i];for(;8<=this.c;)this.c-=8,this.d--;this.a=I},g.prototype.s=function(A,e){var t=this.b,I=this.a;this.n=A;for(var r,g,i,n,o=t.length;256!==(r=m(this,A));)if(256>r)I>=o&&(o=(t=this.e()).length),t[I++]=r;else for(n=E[g=r-257],0o&&(o=(t=this.e()).length);n--;)t[I]=t[I++-i];for(;8<=this.c;)this.c-=8,this.d--;this.a=I},g.prototype.e=function(){var A,e,t=new(I?Uint8Array:Array)(this.a-32768),r=this.a-32768,g=this.b;if(I)t.set(g.subarray(32768,t.length));else for(A=0,e=t.length;AA;++A)g[A]=g[r+A];return this.a=32768,g},g.prototype.u=function(A){var e,t,r,g=this.input.length/this.d+1|0,i=this.input,n=this.b;return A&&("number"==typeof A.o&&(g=A.o),"number"==typeof A.q&&(g+=A.q)),t=2>g?(r=(i.length-this.d)/this.n[2]/2*258|0)e&&(this.b.length=e),A=this.b),this.buffer=A},t("Zlib.RawInflate",g),t("Zlib.RawInflate.prototype.decompress",g.prototype.t);var U,k,G,v,b={ADAPTIVE:n,BLOCK:i};if(Object.keys)U=Object.keys(b);else for(k in U=[],G=0,b)U[G++]=k;for(G=0,v=U.length;Gz;++z)for(var B=z,ba=7,B=B>>>1;B;B>>>=1)--ba;var ca=[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],C=y?new Uint32Array(ca):ca,a;if(aa.Uint8Array!==r)try{eval("String.fromCharCode.apply(null, new Uint8Array([0]));")}catch(A){String.fromCharCode.apply=(a=String.fromCharCode.apply,function(A,e){return a.call(String.fromCharCode,A,Array.prototype.slice.call(e))})}function D(A){var e,t,I,r,g,i,n,o,a,C,B=A.length,s=0,E=Number.POSITIVE_INFINITY;for(o=0;os&&(s=A[o]),A[o]>=1;for(C=I<<16|o,a=i;aG;G++)switch(!0){case 143>=G:F.push([G+48,8]);break;case 255>=G:F.push([G-144+400,9]);break;case 279>=G:F.push([G-256+0,7]);break;case 287>=G:F.push([G-280+192,8]);break;default:l("invalid literal: "+G)}var fa=function(){function A(A){switch(!0){case 3===A:return[257,A-3,0];case 4===A:return[258,A-4,0];case 5===A:return[259,A-5,0];case 6===A:return[260,A-6,0];case 7===A:return[261,A-7,0];case 8===A:return[262,A-8,0];case 9===A:return[263,A-9,0];case 10===A:return[264,A-10,0];case 12>=A:return[265,A-11,1];case 14>=A:return[266,A-13,1];case 16>=A:return[267,A-15,1];case 18>=A:return[268,A-17,1];case 22>=A:return[269,A-19,2];case 26>=A:return[270,A-23,2];case 30>=A:return[271,A-27,2];case 34>=A:return[272,A-31,2];case 42>=A:return[273,A-35,3];case 50>=A:return[274,A-43,3];case 58>=A:return[275,A-51,3];case 66>=A:return[276,A-59,3];case 82>=A:return[277,A-67,4];case 98>=A:return[278,A-83,4];case 114>=A:return[279,A-99,4];case 130>=A:return[280,A-115,4];case 162>=A:return[281,A-131,5];case 194>=A:return[282,A-163,5];case 226>=A:return[283,A-195,5];case 257>=A:return[284,A-227,5];case 258===A:return[285,A-258,0];default:l("invalid length: "+A)}}var e,t,I=[];for(e=3;258>=e;e++)t=A(e),I[e]=t[2]<<24|t[1]<<16|t[0];return I}();function I(A,e){switch(this.l=[],this.m=32768,this.d=this.f=this.c=this.t=0,this.input=y?new Uint8Array(A):A,this.u=!1,this.n=J,this.K=!1,!e&&(e={})||(e.index&&(this.c=e.index),e.bufferSize&&(this.m=e.bufferSize),e.bufferType&&(this.n=e.bufferType),e.resize&&(this.K=e.resize)),this.n){case ga:this.a=32768,this.b=new(y?Uint8Array:Array)(32768+this.m+258);break;case J:this.a=0,this.b=new(y?Uint8Array:Array)(this.m),this.e=this.W,this.B=this.R,this.q=this.V;break;default:l(Error("invalid inflate mode"))}}y&&new Uint32Array(fa);var ga=0,J=1;I.prototype.r=function(){for(;!this.u;){var A=K(this,3);switch(1&A&&(this.u=!0),A>>>=1){case 0:var e=this.input,t=this.c,I=this.b,g=this.a,i=e.length,n=r,o=I.length,a=r;switch(this.d=this.f=0,t+1>=i&&l(Error("invalid uncompressed block header: LEN")),n=e[t++]|e[t++]<<8,t+1>=i&&l(Error("invalid uncompressed block header: NLEN")),n===~(e[t++]|e[t++]<<8)&&l(Error("invalid uncompressed block header: length verify")),t+n>e.length&&l(Error("input buffer is broken")),this.n){case ga:for(;g+n>I.length;){if(n-=a=o-g,y)I.set(e.subarray(t,t+a),g),g+=a,t+=a;else for(;a--;)I[g++]=e[t++];this.a=g,I=this.e(),g=this.a}break;case J:for(;g+n>I.length;)I=this.e({H:2});break;default:l(Error("invalid inflate mode"))}if(y)I.set(e.subarray(t,t+n),g),g+=n,t+=n;else for(;n--;)I[g++]=e[t++];this.c=t,this.a=g,this.b=I;break;case 1:this.q(ha,ia);break;case 2:var C,B,s,E,h=K(this,5)+257,Q=K(this,5)+1,c=K(this,4)+4,u=new(y?Uint8Array:Array)(L.length),f=r,p=r,w=r,d=r,F=r;for(F=0;F=R?8:255>=R?9:279>=R?7:8;var ha=D(Q),S=new(y?Uint8Array:Array)(30),T,ra;for(T=0,ra=S.length;T=n&&l(Error("input buffer is broken")),I|=g[i++]<>>e,A.d=r-e,A.c=i,t}function M(A,e){for(var t,I,r=A.f,g=A.d,i=A.input,n=A.c,o=i.length,a=e[0],C=e[1];g=o);)r|=i[n++]<>>16)>g&&l(Error("invalid code length: "+I)),A.f=r>>I,A.d=g-I,A.c=n,65535&t}function U(A){A=A||{},this.files=[],this.v=A.comment}function V(A,e){e=e||{},this.input=y&&A instanceof Array?new Uint8Array(A):A,this.c=0,this.ba=e.verify||!1,this.j=e.password}t=I.prototype,t.q=function(A,e){var t=this.b,I=this.a;this.C=A;for(var r,g,i,n,o=t.length-258;256!==(r=M(this,A));)if(256>r)I>=o&&(this.a=I,t=this.e(),I=this.a),t[I++]=r;else for(n=la[g=r-257],0=o&&(this.a=I,t=this.e(),I=this.a);n--;)t[I]=t[I++-i];for(;8<=this.d;)this.d-=8,this.c--;this.a=I},t.V=function(A,e){var t=this.b,I=this.a;this.C=A;for(var r,g,i,n,o=t.length;256!==(r=M(this,A));)if(256>r)I>=o&&(o=(t=this.e()).length),t[I++]=r;else for(n=la[g=r-257],0o&&(o=(t=this.e()).length);n--;)t[I]=t[I++-i];for(;8<=this.d;)this.d-=8,this.c--;this.a=I},t.e=function(){var A,e,t=new(y?Uint8Array:Array)(this.a-32768),I=this.a-32768,r=this.b;if(y)t.set(r.subarray(32768,t.length));else for(A=0,e=t.length;AA;++A)r[A]=r[I+A];return this.a=32768,r},t.W=function(A){var e,t,I,r=this.input.length/this.c+1|0,g=this.input,i=this.b;return A&&("number"==typeof A.H&&(r=A.H),"number"==typeof A.P&&(r+=A.P)),t=2>r?(I=(g.length-this.c)/this.C[2]/2*258|0)e&&(this.b.length=e),A=this.b),this.buffer=A},U.prototype.L=function(A){this.j=A},U.prototype.s=function(A){var e=65535&A[2]|2;return e*(1^e)>>8&255},U.prototype.k=function(A,e){A[0]=(C[255&(A[0]^e)]^A[0]>>>8)>>>0,A[1]=1+(6681*(20173*(A[1]+(255&A[0]))>>>0)>>>0)>>>0,A[2]=(C[255&(A[2]^A[1]>>>24)]^A[2]>>>8)>>>0},U.prototype.T=function(A){var e,t,I=[305419896,591751049,878082192];for(y&&(I=new Uint32Array(I)),e=0,t=A.length;e>>0,this.z=(A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24)>>>0,this.J=(A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24)>>>0,this.h=A[e++]|A[e++]<<8,this.g=A[e++]|A[e++]<<8,this.F=A[e++]|A[e++]<<8,this.ea=A[e++]|A[e++]<<8,this.ga=A[e++]|A[e++]<<8,this.fa=A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24,this.$=(A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24)>>>0,this.filename=String.fromCharCode.apply(null,y?A.subarray(e,e+=this.h):A.slice(e,e+=this.h)),this.X=y?A.subarray(e,e+=this.g):A.slice(e,e+=this.g),this.v=y?A.subarray(e,e+this.F):A.slice(e,e+this.F),this.length=e-this.offset};var va={N:1,ca:8,da:2048};function $(A){var e,t,I,g,i=[],n={};if(!A.i){if(A.o===r){var o,a=A.input;if(!A.D)A:{var C,B=A.input;for(C=B.length-12;0>>0,A.o=(a[o++]|a[o++]<<8|a[o++]<<16|a[o++]<<24)>>>0,A.w=a[o++]|a[o++]<<8,A.v=y?a.subarray(o,o+A.w):a.slice(o,o+A.w)}for(e=A.o,I=0,g=A.aa;I>>0,this.z=(A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24)>>>0,this.J=(A[e++]|A[e++]<<8|A[e++]<<16|A[e++]<<24)>>>0,this.h=A[e++]|A[e++]<<8,this.g=A[e++]|A[e++]<<8,this.filename=String.fromCharCode.apply(null,y?A.subarray(e,e+=this.h):A.slice(e,e+=this.h)),this.X=y?A.subarray(e,e+=this.g):A.slice(e,e+=this.g),this.length=e-this.offset},t=V.prototype,t.Y=function(){var A,e,t,I=[];for(this.i||$(this),A=0,e=(t=this.i).length;A>>8^C[255&(u^a[f])];for(p=w>>3;p--;f+=8)u=(u=(u=(u=(u=(u=(u=(u=u>>>8^C[255&(u^a[f])])>>>8^C[255&(u^a[f+1])])>>>8^C[255&(u^a[f+2])])>>>8^C[255&(u^a[f+3])])>>>8^C[255&(u^a[f+4])])>>>8^C[255&(u^a[f+5])])>>>8^C[255&(u^a[f+6])])>>>8^C[255&(u^a[f+7])];B=(4294967295^u)>>>0,i.p!==B&&l(Error("wrong crc: file=0x"+i.p.toString(16)+", data=0x"+B.toString(16)))}return a},t.L=function(A){this.j=A},t.k=U.prototype.k,t.S=U.prototype.T,t.s=U.prototype.s,v("Zlib.Unzip",V),v("Zlib.Unzip.prototype.decompress",V.prototype.r),v("Zlib.Unzip.prototype.getFilenames",V.prototype.Y),v("Zlib.Unzip.prototype.setPassword",V.prototype.L)}).call(this)},4808:function(){(function(){"use strict";var A=void 0,e=!0,t=this;function I(e,I){var r,g=e.split("."),i=t;!(g[0]in i)&&i.execScript&&i.execScript("var "+g[0]);for(;g.length&&(r=g.shift());)g.length||I===A?i=i[r]?i[r]:i[r]={}:i[r]=I}var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array&&"undefined"!=typeof DataView;function g(A,e){if(this.index="number"==typeof e?e:0,this.f=0,this.buffer=A instanceof(r?Uint8Array:Array)?A:new(r?Uint8Array:Array)(32768),2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&i(this)}function i(A){var e,t=A.buffer,I=t.length,g=new(r?Uint8Array:Array)(I<<1);if(r)g.set(t);else for(e=0;e>>8&255]<<16|s[A>>>16&255]<<8|s[A>>>24&255])>>32-e:s[A]>>8-e),8>e+n)o=o<>e-I-1&1,8==++n&&(n=0,r[g++]=s[o],o=0,g===r.length&&(r=i(this)));r[g]=o,this.buffer=r,this.f=n,this.index=g},g.prototype.finish=function(){var A,e=this.buffer,t=this.index;return 0n;++n){for(var a=B=n,C=7,B=B>>>1;B;B>>>=1)a<<=1,a|=1&B,--C;o[n]=(a<>>0}var s=o;function E(e){var t,I=A,r="number"==typeof I?I:I=0,g=e.length;for(t=-1,r=7&g;r--;++I)t=t>>>8^Q[255&(t^e[I])];for(r=g>>3;r--;I+=8)t=(t=(t=(t=(t=(t=(t=(t=t>>>8^Q[255&(t^e[I])])>>>8^Q[255&(t^e[I+1])])>>>8^Q[255&(t^e[I+2])])>>>8^Q[255&(t^e[I+3])])>>>8^Q[255&(t^e[I+4])])>>>8^Q[255&(t^e[I+5])])>>>8^Q[255&(t^e[I+6])])>>>8^Q[255&(t^e[I+7])];return(4294967295^t)>>>0}var h=[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],Q=r?new Uint32Array(h):h;function c(A){this.buffer=new(r?Uint16Array:Array)(2*A),this.length=0}function u(A,e){this.k=l,this.l=0,this.input=r&&A instanceof Array?new Uint8Array(A):A,this.e=0,e&&(e.lazy&&(this.l=e.lazy),"number"==typeof e.compressionType&&(this.k=e.compressionType),e.outputBuffer&&(this.c=r&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.e=e.outputIndex)),this.c||(this.c=new(r?Uint8Array:Array)(32768))}c.prototype.getParent=function(A){return 2*((A-2)/4|0)},c.prototype.push=function(A,e){var t,I,r,g=this.buffer;for(t=this.length,g[this.length++]=e,g[this.length++]=A;0g[I]);)r=g[t],g[t]=g[I],g[I]=r,r=g[t+1],g[t+1]=g[I+1],g[I+1]=r,t=I;return this.length},c.prototype.pop=function(){var A,e,t,I,r,g=this.buffer;for(e=g[0],A=g[1],this.length-=2,g[0]=g[this.length],g[1]=g[this.length+1],r=0;!((I=2*r+2)>=this.length)&&(I+2g[I]&&(I+=2),g[I]>g[r]);)t=g[r],g[r]=g[I],g[I]=t,t=g[r+1],g[r+1]=g[I+1],g[I+1]=t,r=I;return{index:A,value:e,length:this.length}};var f,l=2,y=[];for(f=0;288>f;f++)switch(e){case 143>=f:y.push([f+48,8]);break;case 255>=f:y.push([f-144+400,9]);break;case 279>=f:y.push([f-256+0,7]);break;case 287>=f:y.push([f-280+192,8]);break;default:throw"invalid literal: "+f}function p(A,e){this.length=A,this.n=e}u.prototype.g=function(){var t,I,i,n,o=this.input;switch(this.k){case 0:for(i=0,n=o.length;i>>8&255,c[u++]=255&B,c[u++]=B>>>8&255,r)c.set(s,u),u+=s.length,c=c.subarray(0,u);else{for(h=0,Q=s.length;hP)for(;0P?P:138)>P-3&&X=X?(eA[j++]=17,eA[j++]=X-3,tA[17]++):(eA[j++]=18,eA[j++]=X-11,tA[18]++),P-=X;else if(eA[j++]=AA[W],tA[AA[W]]++,3>--P)for(;0P?P:6)>P-3&&XK;K++)V[K]=L[_[K]];for(b=19;4=A:return[265,A-11,1];case 14>=A:return[266,A-13,1];case 16>=A:return[267,A-15,1];case 18>=A:return[268,A-17,1];case 22>=A:return[269,A-19,2];case 26>=A:return[270,A-23,2];case 30>=A:return[271,A-27,2];case 34>=A:return[272,A-31,2];case 42>=A:return[273,A-35,3];case 50>=A:return[274,A-43,3];case 58>=A:return[275,A-51,3];case 66>=A:return[276,A-59,3];case 82>=A:return[277,A-67,4];case 98>=A:return[278,A-83,4];case 114>=A:return[279,A-99,4];case 130>=A:return[280,A-115,4];case 162>=A:return[281,A-131,5];case 194>=A:return[282,A-163,5];case 226>=A:return[283,A-195,5];case 257>=A:return[284,A-227,5];case 258===A:return[285,A-258,0];default:throw"invalid length: "+A}}var t,I,r=[];for(t=3;258>=t;t++)I=A(t),r[t]=I[2]<<24|I[1]<<16|I[0];return r}(),d=r?new Uint32Array(w):w;function F(t,I){function g(A,t){var I,r,g,i,n=A.n,o=[],a=0;switch(I=d[A.length],o[a++]=65535&I,o[a++]=I>>16&255,o[a++]=I>>24,e){case 1===n:r=[0,n-1,0];break;case 2===n:r=[1,n-2,0];break;case 3===n:r=[2,n-3,0];break;case 4===n:r=[3,n-4,0];break;case 6>=n:r=[4,n-5,1];break;case 8>=n:r=[5,n-7,1];break;case 12>=n:r=[6,n-9,2];break;case 16>=n:r=[7,n-13,2];break;case 24>=n:r=[8,n-17,3];break;case 32>=n:r=[9,n-25,3];break;case 48>=n:r=[10,n-33,4];break;case 64>=n:r=[11,n-49,4];break;case 96>=n:r=[12,n-65,5];break;case 128>=n:r=[13,n-97,5];break;case 192>=n:r=[14,n-129,6];break;case 256>=n:r=[15,n-193,6];break;case 384>=n:r=[16,n-257,7];break;case 512>=n:r=[17,n-385,7];break;case 768>=n:r=[18,n-513,8];break;case 1024>=n:r=[19,n-769,8];break;case 1536>=n:r=[20,n-1025,9];break;case 2048>=n:r=[21,n-1537,9];break;case 3072>=n:r=[22,n-2049,10];break;case 4096>=n:r=[23,n-3073,10];break;case 6144>=n:r=[24,n-4097,11];break;case 8192>=n:r=[25,n-6145,11];break;case 12288>=n:r=[26,n-8193,12];break;case 16384>=n:r=[27,n-12289,12];break;case 24576>=n:r=[28,n-16385,13];break;case 32768>=n:r=[29,n-24577,13];break;default:throw"invalid distance"}for(I=r,o[a++]=I[0],o[a++]=I[1],o[a++]=I[2],g=0,i=o.length;g=o;)l[o++]=0;for(o=0;29>=o;)y[o++]=0}for(l[256]=1,i=0,n=I.length;i=n){for(E&&g(E,-1),o=0,a=n-i;og&&e+ga&&(r=I,a=g),258===g)break}return new p(a,e-r)}function S(A,e){var t,I,g,i,n,o=A.length,a=new c(572),C=new(r?Uint8Array:Array)(o);if(!r)for(i=0;i2*C[i-1]+B[i]&&(C[i]=2*C[i-1]+B[i]),E[i]=Array(C[i]),h[i]=Array(C[i]);for(g=0;gA[g]?(E[i][n]=o,h[i][n]=e,a+=2):(E[i][n]=A[g],h[i][n]=g,++g);Q[i]=0,1===B[i]&&I(i)}return s}(I,I.length,e),i=0,n=t.length;i>>=1;return i}function U(A){A=A||{},this.files=[],this.d=A.comment}var k=[80,75,1,2],G=[80,75,3,4],v=[80,75,5,6];function b(A,e){var t,I=65535&A[2]|2;return t=I*(1^I)>>8&255,M(A,e),t^e}function M(A,e){A[0]=(Q[255&(A[0]^e)]^A[0]>>>8)>>>0,A[1]=1+(6681*(20173*(A[1]+(255&A[0]))>>>0)>>>0)>>>0,A[2]=(Q[255&(A[2]^A[1]>>>24)]^A[2]>>>8)>>>0}function R(A,e){var t,r,g,i;if(Object.keys)t=Object.keys(e);else for(r in t=[],g=0,e)t[g++]=r;for(g=0,i=t.length;gm;++m)w[m]=b(F,11===D?255&t.h:256*Math.random()|0);for(U=w.length;m>8&255,C=t.a.compressionMethod,I[g++]=I[i++]=255&C,I[g++]=I[i++]=C>>8&255,B=t.a.date||new Date,I[g++]=I[i++]=(7&B.getMinutes())<<5|B.getSeconds()/2,I[g++]=I[i++]=B.getHours()<<3|B.getMinutes()>>3,I[g++]=I[i++]=(B.getMonth()+1&7)<<5|B.getDate(),I[g++]=I[i++]=(B.getFullYear()-1980&127)<<1|B.getMonth()+1>>3,s=t.h,I[g++]=I[i++]=255&s,I[g++]=I[i++]=s>>8&255,I[g++]=I[i++]=s>>16&255,I[g++]=I[i++]=s>>24&255,h=t.buffer.length,I[g++]=I[i++]=255&h,I[g++]=I[i++]=h>>8&255,I[g++]=I[i++]=h>>16&255,I[g++]=I[i++]=h>>24&255,Q=t.size,I[g++]=I[i++]=255&Q,I[g++]=I[i++]=Q>>8&255,I[g++]=I[i++]=Q>>16&255,I[g++]=I[i++]=Q>>24&255,I[g++]=I[i++]=255&c,I[g++]=I[i++]=c>>8&255,I[g++]=I[i++]=0,I[g++]=I[i++]=0,I[i++]=255&f,I[i++]=f>>8&255,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=0,I[i++]=255&o,I[i++]=o>>8&255,I[i++]=o>>16&255,I[i++]=o>>24&255,l=t.a.filename)if(r)I.set(l,g),I.set(l,i),g+=c,i+=c;else for(m=0;m>8&255,I[n++]=255&S,I[n++]=S>>8&255,I[n++]=255&N,I[n++]=N>>8&255,I[n++]=N>>16&255,I[n++]=N>>24&255,I[n++]=255&Y,I[n++]=Y>>8&255,I[n++]=Y>>16&255,I[n++]=Y>>24&255,f=this.d?this.d.length:0,I[n++]=255&f,I[n++]=f>>8&255,this.d)if(r)I.set(this.d,n);else for(m=0,U=f;m>>8&255]<<16|s[A>>>16&255]<<8|s[A>>>24&255])>>32-e:s[A]>>8-e),8>e+i)n=n<>e-I-1&1,8==++i&&(i=0,r[g++]=s[n],n=0,g===r.length&&(r=this.f()));r[g]=n,this.buffer=r,this.m=i,this.index=g},i.prototype.finish=function(){var A,e=this.buffer,t=this.index;return 0n;++n){for(var a=B=n,C=7,B=B>>>1;B;B>>>=1)a<<=1,a|=1&B,--C;o[n]=(a<>>0}var s=o;function E(A,e,t){var I,r="number"==typeof e?e:e=0,g="number"==typeof t?t:A.length;for(I=-1,r=7&g;r--;++e)I=I>>>8^Q[255&(I^A[e])];for(r=g>>3;r--;e+=8)I=(I=(I=(I=(I=(I=(I=(I=I>>>8^Q[255&(I^A[e])])>>>8^Q[255&(I^A[e+1])])>>>8^Q[255&(I^A[e+2])])>>>8^Q[255&(I^A[e+3])])>>>8^Q[255&(I^A[e+4])])>>>8^Q[255&(I^A[e+5])])>>>8^Q[255&(I^A[e+6])])>>>8^Q[255&(I^A[e+7])];return(4294967295^I)>>>0}var h=[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],Q=g?new Uint32Array(h):h;function c(){}function u(A){this.buffer=new(g?Uint16Array:Array)(2*A),this.length=0}function f(A){var e,t,I,r,i,n,o,a,C,B,s=A.length,E=0,h=Number.POSITIVE_INFINITY;for(a=0;aE&&(E=A[a]),A[a]>=1;for(B=I<<16|a,C=n;Cg[I]);)r=g[t],g[t]=g[I],g[I]=r,r=g[t+1],g[t+1]=g[I+1],g[I+1]=r,t=I;return this.length},u.prototype.pop=function(){var A,e,t,I,r,g=this.buffer;for(e=g[0],A=g[1],this.length-=2,g[0]=g[this.length],g[1]=g[this.length+1],r=0;!((I=2*r+2)>=this.length)&&(I+2g[I]&&(I+=2),g[I]>g[r]);)t=g[r],g[r]=g[I],g[I]=t,t=g[r+1],g[r+1]=g[I+1],g[I+1]=t,r=I;return{index:A,value:e,length:this.length}};var y,p=2,w={NONE:0,v:1,o:p,aa:3},d=[];for(y=0;288>y;y++)switch(t){case 143>=y:d.push([y+48,8]);break;case 255>=y:d.push([y-144+400,9]);break;case 279>=y:d.push([y-256+0,7]);break;case 287>=y:d.push([y-280+192,8]);break;default:A("invalid literal: "+y)}function F(A,e){this.length=A,this.P=e}l.prototype.g=function(){var I,r,n,o,a=this.input;switch(this.k){case 0:for(n=0,o=a.length;n>>8&255,u[f++]=255&s,u[f++]=s>>>8&255,g)u.set(E,f),f+=E.length,u=u.subarray(0,f);else{for(Q=0,c=E.length;QZ)for(;0Z?Z:138)>Z-3&&z=z?(tA[X++]=17,tA[X++]=z-3,IA[17]++):(tA[X++]=18,tA[X++]=z-11,IA[18]++),Z-=z;else if(tA[X++]=eA[O],IA[eA[O]]++,3>--Z)for(;0Z?Z:6)>Z-3&&zT;T++)W[T]=H[V[T]];for(M=19;4=e:return[265,e-11,1];case 14>=e:return[266,e-13,1];case 16>=e:return[267,e-15,1];case 18>=e:return[268,e-17,1];case 22>=e:return[269,e-19,2];case 26>=e:return[270,e-23,2];case 30>=e:return[271,e-27,2];case 34>=e:return[272,e-31,2];case 42>=e:return[273,e-35,3];case 50>=e:return[274,e-43,3];case 58>=e:return[275,e-51,3];case 66>=e:return[276,e-59,3];case 82>=e:return[277,e-67,4];case 98>=e:return[278,e-83,4];case 114>=e:return[279,e-99,4];case 130>=e:return[280,e-115,4];case 162>=e:return[281,e-131,5];case 194>=e:return[282,e-163,5];case 226>=e:return[283,e-195,5];case 257>=e:return[284,e-227,5];case 258===e:return[285,e-258,0];default:A("invalid length: "+e)}}var I,r,g=[];for(I=3;258>=I;I++)r=e(I),g[I]=r[2]<<24|r[1]<<16|r[0];return g}(),S=g?new Uint32Array(D):D;function m(I,r){function i(e,I){var r,g,i,n,o=e.P,a=[],C=0;switch(r=S[e.length],a[C++]=65535&r,a[C++]=r>>16&255,a[C++]=r>>24,t){case 1===o:g=[0,o-1,0];break;case 2===o:g=[1,o-2,0];break;case 3===o:g=[2,o-3,0];break;case 4===o:g=[3,o-4,0];break;case 6>=o:g=[4,o-5,1];break;case 8>=o:g=[5,o-7,1];break;case 12>=o:g=[6,o-9,2];break;case 16>=o:g=[7,o-13,2];break;case 24>=o:g=[8,o-17,3];break;case 32>=o:g=[9,o-25,3];break;case 48>=o:g=[10,o-33,4];break;case 64>=o:g=[11,o-49,4];break;case 96>=o:g=[12,o-65,5];break;case 128>=o:g=[13,o-97,5];break;case 192>=o:g=[14,o-129,6];break;case 256>=o:g=[15,o-193,6];break;case 384>=o:g=[16,o-257,7];break;case 512>=o:g=[17,o-385,7];break;case 768>=o:g=[18,o-513,8];break;case 1024>=o:g=[19,o-769,8];break;case 1536>=o:g=[20,o-1025,9];break;case 2048>=o:g=[21,o-1537,9];break;case 3072>=o:g=[22,o-2049,10];break;case 4096>=o:g=[23,o-3073,10];break;case 6144>=o:g=[24,o-4097,11];break;case 8192>=o:g=[25,o-6145,11];break;case 12288>=o:g=[26,o-8193,12];break;case 16384>=o:g=[27,o-12289,12];break;case 24576>=o:g=[28,o-16385,13];break;case 32768>=o:g=[29,o-24577,13];break;default:A("invalid distance")}for(r=g,a[C++]=r[0],a[C++]=r[1],a[C++]=r[2],i=0,n=a.length;i=a;)y[a++]=0;for(a=0;29>=a;)p[a++]=0}for(y[256]=1,n=0,o=r.length;n=o){for(h&&i(h,-1),a=0,C=o-n;ag&&e+ga&&(r=I,a=g),258===g)break}return new F(a,e-r)}function k(A,e){var t,I,r,i,n,o=A.length,a=new u(572),C=new(g?Uint8Array:Array)(o);if(!g)for(i=0;i2*C[i-1]+B[i]&&(C[i]=2*C[i-1]+B[i]),E[i]=Array(C[i]),h[i]=Array(C[i]);for(r=0;rA[r]?(E[i][n]=o,h[i][n]=e,a+=2):(E[i][n]=A[r],h[i][n]=r,++r);Q[i]=0,1===B[i]&&I(i)}return s}(I,I.length,e),i=0,n=t.length;i>>=1;return i}function v(A,e){this.input=A,this.b=this.c=0,this.i={},e&&(e.flags&&(this.i=e.flags),"string"==typeof e.filename&&(this.filename=e.filename),"string"==typeof e.comment&&(this.A=e.comment),e.deflateOptions&&(this.l=e.deflateOptions)),this.l||(this.l={})}v.prototype.g=function(){var A,t,I,r,i,n,o,a,C=new(g?Uint8Array:Array)(32768),B=0,s=this.input,h=this.c,Q=this.filename,c=this.A;if(C[B++]=31,C[B++]=139,C[B++]=8,A=0,this.i.fname&&(A|=R),this.i.fcomment&&(A|=Y),this.i.fhcrc&&(A|=M),C[B++]=A,t=(Date.now?Date.now():+new Date)/1e3|0,C[B++]=255&t,C[B++]=t>>>8&255,C[B++]=t>>>16&255,C[B++]=t>>>24&255,C[B++]=0,C[B++]=b,this.i.fname!==e){for(o=0,a=Q.length;o>>8&255),C[B++]=255&n;C[B++]=0}if(this.i.comment){for(o=0,a=c.length;o>>8&255),C[B++]=255&n;C[B++]=0}return this.i.fhcrc&&(I=65535&E(C,0,B),C[B++]=255&I,C[B++]=I>>>8&255),this.l.outputBuffer=C,this.l.outputIndex=B,C=(i=new l(s,this.l)).g(),B=i.b,g&&(B+8>C.buffer.byteLength?(this.a=new Uint8Array(B+8),this.a.set(new Uint8Array(C.buffer)),C=this.a):C=new Uint8Array(C.buffer)),r=E(s,e,e),C[B++]=255&r,C[B++]=r>>>8&255,C[B++]=r>>>16&255,C[B++]=r>>>24&255,a=s.length,C[B++]=255&a,C[B++]=a>>>8&255,C[B++]=a>>>16&255,C[B++]=a>>>24&255,this.c=h,g&&B>>=1){case 0:var r=this.input,i=this.c,n=this.a,o=this.b,a=r.length,C=e,B=n.length,s=e;switch(this.e=this.j=0,i+1>=a&&A(Error("invalid uncompressed block header: LEN")),C=r[i++]|r[i++]<<8,i+1>=a&&A(Error("invalid uncompressed block header: NLEN")),C===~(r[i++]|r[i++]<<8)&&A(Error("invalid uncompressed block header: length verify")),i+C>r.length&&A(Error("input buffer is broken")),this.r){case L:for(;o+C>n.length;){if(C-=s=B-o,g)n.set(r.subarray(i,i+s),o),o+=s,i+=s;else for(;s--;)n[o++]=r[i++];this.b=o,n=this.f(),o=this.b}break;case H:for(;o+C>n.length;)n=this.f({F:2});break;default:A(Error("invalid inflate mode"))}if(g)n.set(r.subarray(i,i+C),o),o+=C,i+=C;else for(;C--;)n[o++]=r[i++];this.c=i,this.b=o,this.a=n;break;case 1:this.s(eA,IA);break;case 2:var E,h,Q,c,u=rA(this,5)+257,l=rA(this,5)+1,y=rA(this,4)+4,p=new(g?Uint8Array:Array)(x.length),w=e,d=e,F=e,D=e,S=e;for(S=0;S=q?8:255>=q?9:279>=q?7:8;var $,AA,eA=f(z),tA=new(g?Uint8Array:Array)(30);for($=0,AA=tA.length;$=o&&A(Error("input buffer is broken")),r|=i[n++]<>>t,e.e=g-t,e.c=n,I}function gA(e,t){for(var I,r,g=e.j,i=e.e,n=e.input,o=e.c,a=n.length,C=t[0],B=t[1];i=a);)g|=n[o++]<>>16)>i&&A(Error("invalid code length: "+r)),e.j=g>>r,e.e=i-r,e.c=o,65535&I}function iA(A){this.input=A,this.c=0,this.t=[],this.D=!1}function nA(A){if("string"==typeof A){var e,t,I=A.split("");for(e=0,t=I.length;e>>0;A=I}for(var r,g=1,i=0,n=A.length,o=0;0>>0}function oA(e,t){var I,r;this.input=e,this.c=0,!t&&(t={})||(t.index&&(this.c=t.index),t.verify&&(this.Z=t.verify)),I=e[this.c++],r=e[this.c++],(15&I)===aA?this.method=aA:A(Error("unsupported compression method")),0!=((I<<8)+r)%31&&A(Error("invalid fcheck flag:"+((I<<8)+r)%31)),32&r&&A(Error("fdict flag is not supported")),this.K=new N(e,{index:this.c,bufferSize:t.bufferSize,bufferType:t.bufferType,resize:t.resize})}N.prototype.s=function(A,e){var t=this.a,I=this.b;this.C=A;for(var r,g,i,n,o=t.length-258;256!==(r=gA(this,A));)if(256>r)I>=o&&(this.b=I,t=this.f(),I=this.b),t[I++]=r;else for(n=V[g=r-257],0=o&&(this.b=I,t=this.f(),I=this.b);n--;)t[I]=t[I++-i];for(;8<=this.e;)this.e-=8,this.c--;this.b=I},N.prototype.S=function(A,e){var t=this.a,I=this.b;this.C=A;for(var r,g,i,n,o=t.length;256!==(r=gA(this,A));)if(256>r)I>=o&&(o=(t=this.f()).length),t[I++]=r;else for(n=V[g=r-257],0o&&(o=(t=this.f()).length);n--;)t[I]=t[I++-i];for(;8<=this.e;)this.e-=8,this.c--;this.b=I},N.prototype.f=function(){var A,e,t=new(g?Uint8Array:Array)(this.b-32768),I=this.b-32768,r=this.a;if(g)t.set(r.subarray(32768,t.length));else for(A=0,e=t.length;AA;++A)r[A]=r[I+A];return this.b=32768,r},N.prototype.T=function(A){var e,t,I,r=this.input.length/this.c+1|0,i=this.input,n=this.a;return A&&("number"==typeof A.F&&(r=A.F),"number"==typeof A.O&&(r+=A.O)),t=2>r?(I=(i.length-this.c)/this.C[2]/2*258|0)e&&(this.a.length=e),A=this.a),this.buffer=A},iA.prototype.W=function(){return this.D||this.h(),this.t.slice()},iA.prototype.h=function(){for(var I=this.input.length;this.c>>0,E(r,e,e)!==Q&&A(Error("invalid CRC-32 checksum: 0x"+E(r,e,e).toString(16)+" / 0x"+Q.toString(16))),n.ca=o=(u[f++]|u[f++]<<8|u[f++]<<16|u[f++]<<24)>>>0,(4294967295&r.length)!==o&&A(Error("invalid input size: "+(4294967295&r.length)+" / "+o)),this.t.push(n),this.c=f}this.D=t;var l,y,p,w=this.t,d=0,F=0;for(l=0,y=w.length;l>>0!==nA(e)&&A(Error("invalid adler-32 checksum")),e};var aA=8;function CA(A,e){this.input=A,this.a=new(g?Uint8Array:Array)(32768),this.k=BA.o;var t,I={};for(t in!e&&(e={})||"number"!=typeof e.compressionType||(this.k=e.compressionType),e)I[t]=e[t];I.outputBuffer=this.a,this.J=new l(this.input,I)}var BA=w;function sA(A,e){var t,I,g,i;if(Object.keys)t=Object.keys(e);else for(I in t=[],g=0,e)t[g++]=I;for(g=0,i=t.length;g>24&255,o[a++]=n>>16&255,o[a++]=n>>8&255,o[a++]=255&n,o},r("Zlib.Inflate",oA),r("Zlib.Inflate.prototype.decompress",oA.prototype.h),sA("Zlib.Inflate.BufferType",{ADAPTIVE:J.M,BLOCK:J.N}),r("Zlib.Deflate",CA),r("Zlib.Deflate.compress",(function(A,e){return new CA(A,e).g()})),r("Zlib.Deflate.prototype.compress",CA.prototype.g),sA("Zlib.Deflate.CompressionType",{NONE:BA.NONE,FIXED:BA.v,DYNAMIC:BA.o}),r("Zlib.Gzip",v),r("Zlib.Gzip.prototype.compress",v.prototype.g),r("Zlib.Gunzip",iA),r("Zlib.Gunzip.prototype.decompress",iA.prototype.h),r("Zlib.Gunzip.prototype.getMembers",iA.prototype.W),r("Zlib.GunzipMember",c),r("Zlib.GunzipMember.prototype.getName",c.prototype.getName),r("Zlib.GunzipMember.prototype.getData",c.prototype.getData),r("Zlib.GunzipMember.prototype.getMtime",c.prototype.X)}).call(this)},77650:()=>{},4633:(A,e,t)=>{var I=t(73738).default;function r(){"use strict";A.exports=r=function(){return t},A.exports.__esModule=!0,A.exports.default=A.exports;var e,t={},g=Object.prototype,i=g.hasOwnProperty,n=Object.defineProperty||function(A,e,t){A[e]=t.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",C=o.asyncIterator||"@@asyncIterator",B=o.toStringTag||"@@toStringTag";function s(A,e,t){return Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),A[e]}try{s({},"")}catch(e){s=function(A,e,t){return A[e]=t}}function E(A,e,t,I){var r=e&&e.prototype instanceof y?e:y,g=Object.create(r.prototype),i=new M(I||[]);return n(g,"_invoke",{value:k(A,t,i)}),g}function h(A,e,t){try{return{type:"normal",arg:A.call(e,t)}}catch(A){return{type:"throw",arg:A}}}t.wrap=E;var Q="suspendedStart",c="suspendedYield",u="executing",f="completed",l={};function y(){}function p(){}function w(){}var d={};s(d,a,(function(){return this}));var F=Object.getPrototypeOf,D=F&&F(F(R([])));D&&D!==g&&i.call(D,a)&&(d=D);var S=w.prototype=y.prototype=Object.create(d);function m(A){["next","throw","return"].forEach((function(e){s(A,e,(function(A){return this._invoke(e,A)}))}))}function U(A,e){function t(r,g,n,o){var a=h(A[r],A,g);if("throw"!==a.type){var C=a.arg,B=C.value;return B&&"object"==I(B)&&i.call(B,"__await")?e.resolve(B.__await).then((function(A){t("next",A,n,o)}),(function(A){t("throw",A,n,o)})):e.resolve(B).then((function(A){C.value=A,n(C)}),(function(A){return t("throw",A,n,o)}))}o(a.arg)}var r;n(this,"_invoke",{value:function(A,I){function g(){return new e((function(e,r){t(A,I,e,r)}))}return r=r?r.then(g,g):g()}})}function k(A,t,I){var r=Q;return function(g,i){if(r===u)throw Error("Generator is already running");if(r===f){if("throw"===g)throw i;return{value:e,done:!0}}for(I.method=g,I.arg=i;;){var n=I.delegate;if(n){var o=G(n,I);if(o){if(o===l)continue;return o}}if("next"===I.method)I.sent=I._sent=I.arg;else if("throw"===I.method){if(r===Q)throw r=f,I.arg;I.dispatchException(I.arg)}else"return"===I.method&&I.abrupt("return",I.arg);r=u;var a=h(A,t,I);if("normal"===a.type){if(r=I.done?f:c,a.arg===l)continue;return{value:a.arg,done:I.done}}"throw"===a.type&&(r=f,I.method="throw",I.arg=a.arg)}}}function G(A,t){var I=t.method,r=A.iterator[I];if(r===e)return t.delegate=null,"throw"===I&&A.iterator.return&&(t.method="return",t.arg=e,G(A,t),"throw"===t.method)||"return"!==I&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+I+"' method")),l;var g=h(r,A.iterator,t.arg);if("throw"===g.type)return t.method="throw",t.arg=g.arg,t.delegate=null,l;var i=g.arg;return i?i.done?(t[A.resultName]=i.value,t.next=A.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function v(A){var e={tryLoc:A[0]};1 in A&&(e.catchLoc=A[1]),2 in A&&(e.finallyLoc=A[2],e.afterLoc=A[3]),this.tryEntries.push(e)}function b(A){var e=A.completion||{};e.type="normal",delete e.arg,A.completion=e}function M(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(v,this),this.reset(!0)}function R(A){if(A||""===A){var t=A[a];if(t)return t.call(A);if("function"==typeof A.next)return A;if(!isNaN(A.length)){var r=-1,g=function t(){for(;++r=0;--r){var g=this.tryEntries[r],n=g.completion;if("root"===g.tryLoc)return I("end");if(g.tryLoc<=this.prev){var o=i.call(g,"catchLoc"),a=i.call(g,"finallyLoc");if(o&&a){if(this.prev=0;--t){var I=this.tryEntries[t];if(I.tryLoc<=this.prev&&i.call(I,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===A)return this.complete(t.completion,t.afterLoc),b(t),l}},catch:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===A){var I=t.completion;if("throw"===I.type){var r=I.arg;b(t)}return r}}throw Error("illegal catch attempt")},delegateYield:function(A,t,I){return this.delegate={iterator:R(A),resultName:t,nextLoc:I},"next"===this.method&&(this.arg=e),l}},t}A.exports=r,A.exports.__esModule=!0,A.exports.default=A.exports},73738:A=>{function e(t){return A.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},A.exports.__esModule=!0,A.exports.default=A.exports,e(t)}A.exports=e,A.exports.__esModule=!0,A.exports.default=A.exports},54756:(A,e,t)=>{var I=t(4633)();A.exports=I;try{regeneratorRuntime=I}catch(A){"object"==typeof globalThis?globalThis.regeneratorRuntime=I:Function("r","regeneratorRuntime = r")(I)}}},__webpack_module_cache__={};function __webpack_require__(A){var e=__webpack_module_cache__[A];if(void 0!==e)return e.exports;var t=__webpack_module_cache__[A]={exports:{}};return __webpack_modules__[A].call(t.exports,t,t.exports,__webpack_require__),t.exports}__webpack_require__.n=A=>{var e=A&&A.__esModule?()=>A.default:()=>A;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(A,e)=>{for(var t in e)__webpack_require__.o(e,t)&&!__webpack_require__.o(A,t)&&Object.defineProperty(A,t,{enumerable:!0,get:e[t]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(A){if("object"==typeof window)return window}}(),__webpack_require__.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e);var __webpack_exports__={};(()=>{"use strict";function A(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,I=Array(e);t1&&void 0!==arguments[1]?arguments[1]:"A-Za-z0-9+/=";if(!A)return"";if("string"==typeof A&&(A=Y.strToArrayBuffer(A)),A instanceof ArrayBuffer&&(A=new Uint8Array(A)),64!==(e=Y.expandAlphRange(e).join("")).length&&65!==e.length)throw new d(`Invalid Base64 alphabet length (${e.length}): ${e}`);for(var t,I,r,g,i,n,o,a="",C=0;C>2,i=(3&t)<<4|(I=A[C++])>>4,n=(15&I)<<2|(r=A[C++])>>6,o=63&r,isNaN(I)?n=o=64:isNaN(r)&&(o=64),a+=e.charAt(g)+e.charAt(i)+e.charAt(n)+e.charAt(o);return a}function D(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"A-Za-z0-9+/=",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"string",I=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!A)return"string"===t?"":[];if(e=e||"A-Za-z0-9+/=",64!==(e=Y.expandAlphRange(e).join("")).length&&65!==e.length)throw new d(`Error: Base64 alphabet should be 64 characters long, or 65 with a padding character. Found ${e.length}: ${e}`);if(I){var g=new RegExp("[^"+e.replace(/[[\]\\\-^$]/g,"\\$&")+"]","g");A=A.replace(g,"")}if(r){if(A.length%4==1)throw new d(`Error: Invalid Base64 input length (${A.length}). Cannot be 4n+1, even without padding chars.`);if(65===e.length){var i=e.charAt(64),n=A.indexOf(i);if(n>=0){if(n>2,C=(3&E)<<6|h,(o=B<<2|s>>4)>=0&&o<256&&Q.push(o),a>=0&&a<256&&64!==E&&Q.push(a),C>=0&&C<256&&64!==h&&Q.push(C)}return"string"===t?Y.byteArrayToUtf8(Q):Q}function S(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Auto",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(t<1||Math.round(t)!==t)throw new d("Byte length must be a positive integer");if("None"!==e){var I="Auto"===e?/[^a-f\d]|0x/gi:Y.regexRep(e);A=A.split(I)}else A=[A];for(var r=[],g=0;g1&&void 0!==arguments[1]?arguments[1]:"Auto";e=Y.charRep(e);var t=[],I=A.split(e);""===I[I.length-1]&&(I=I.slice(0,I.length-1));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"Space",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;if(t<1||Math.round(t)!==t)throw new d("Byte length must be a positive integer");var I=Y.regexRep(e);A=A.replace(I,"");for(var r=[],g=0;g65535){A-=65536;var e=String.fromCharCode(A>>>10&1023|55296);return A=56320|1023&A,e+String.fromCharCode(A)}return String.fromCharCode(A)}},{key:"ord",value:function(A){if(2===A.length){var e=A.charCodeAt(0),t=A.charCodeAt(1);if(e>=55296&&e<56320&&t>=56320&&t<57344)return 1024*(e-55296)+t-56320+65536}return A.charCodeAt(0)}},{key:"padBytesRight",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,I=new Array(e);return I.fill(t),c(A).forEach((function(A,e){I[e]=A})),I}},{key:"truncate",value:function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return A.length>e&&(A=A.slice(0,e-t.length)+t),A}},{key:"hex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(e="string"==typeof e?A.ord(e):e).toString(16).padStart(t,"0")}},{key:"bin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return(e="string"==typeof e?A.ord(e):e).toString(2).padStart(t,"0")}},{key:"printable",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?A.replace(/[^\x20-\x7f]/g,"."):(A=A.replace(/[\0-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0C00\u0C04\u0C0D\u0C11\u0C29\u0C34\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5A-\u0C5F\u0C64\u0C65\u0C70-\u0C77\u0C80\u0C81\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0D01\u0D04\u0D0D\u0D11\u0D3B\u0D3C\u0D45\u0D49\u0D4F-\u0D56\u0D58-\u0D5F\u0D64\u0D65\u0D76-\u0D78\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E86\u0E89\u0E8B\u0E8C\u0E8E-\u0E93\u0E98\u0EA0\u0EA4\u0EA6\u0EA8\u0EA9\u0EAC\u0EBA\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F5-\u13FF\u169D-\u169F\u16F1-\u16FF\u170D\u1715-\u171F\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180F\u181A-\u181F\u1878-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191D-\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE-\u1AFF\u1B4C-\u1B4F\u1B7D-\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C80-\u1CBF\u1CC8-\u1CCF\u1CF7-\u1CFF\u1DE7-\u1DFB\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20BB-\u20CF\u20F1-\u20FF\u218A-\u218F\u23F4-\u23FF\u2427-\u243F\u244B-\u245F\u2700\u2B4D-\u2B4F\u2B5A-\u2BFF\u2C2F\u2C5F\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E3C-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u312E-\u3130\u318F\u31BB-\u31BF\u31E4-\u31EF\u321F\u32FF\u4DB6-\u4DBF\u9FCD-\u9FFF\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA698-\uA69E\uA6F8-\uA6FF\uA78F\uA794-\uA79F\uA7AB-\uA7F7\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C5-\uA8CD\uA8DA-\uA8DF\uA8FC-\uA8FF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9E0-\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAA7C-\uAA7F\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F-\uABBF\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFE\uFDFF\uFE1A-\uFE1F\uFE27-\uFE2F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]/g,"."),e||(A=A.replace(/[\x09-\x10\u2028\u2029]/g,".")),A)}},{key:"escapeWhitespace",value:function(A){return A.replace(/[\x09-\x10]/g,(function(A){return String.fromCharCode(57344+A.charCodeAt(0))}))}},{key:"parseEscapedChars",value:function(A){return A.replace(/\\([abfnrtv'"]|[0-3][0-7]{2}|[0-7]{1,2}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]{1,6}\}|\\)/g,(function(A,e){switch(e[0]){case"\\":return"\\";case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":return String.fromCharCode(parseInt(e,8));case"a":return String.fromCharCode(7);case"b":return"\b";case"t":return"\t";case"n":return"\n";case"v":return"\v";case"f":return"\f";case"r":return"\r";case'"':return'"';case"'":return"'";case"x":return String.fromCharCode(parseInt(e.substr(1),16));case"u":return"{"===e[1]?String.fromCodePoint(parseInt(e.slice(2,-1),16)):String.fromCharCode(parseInt(e.substr(1),16))}}))}},{key:"escapeRegex",value:function(A){return A.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}},{key:"expandAlphRange",value:function(e){for(var t=[],I=0;I=0;r--)t=256*t+A[r];return t}},{key:"intToByteArray",value:function(A,e,t){var I=new Array(e);if("little"===t)for(var r=0;r>>=8;else for(var g=e-1;g>=0;g--)I[g]=255&A,A>>>=8;return I}},{key:"strToArrayBuffer",value:function(e){if(f().debug(`Converting string[${null==e?void 0:e.length}] to array buffer`),!e)return new ArrayBuffer;for(var t,I=new Uint8Array(e.length),r=e.length;r--;)if(t=e.charCodeAt(r),I[r]=t,t>255)return A.strToUtf8ArrayBuffer(e);return I.buffer}},{key:"strToUtf8ArrayBuffer",value:function(A){if(f().debug(`Converting string[${null==A?void 0:A.length}] to UTF8 array buffer`),!A)return new ArrayBuffer;var e=new TextEncoder("utf-8").encode(A);return A.length!==e.length&&(R()&&self&&"function"==typeof self.setOption?self.setOption("attemptHighlight",!1):M()&&(window.app.options.attemptHighlight=!1)),e.buffer}},{key:"strToByteArray",value:function(e){if(f().debug(`Converting string[${null==e?void 0:e.length}] to byte array`),!e)return[];for(var t,I=new Array(e.length),r=e.length;r--;)if(t=e.charCodeAt(r),I[r]=t,t>255)return A.strToUtf8ByteArray(e);return I}},{key:"strToUtf8ByteArray",value:function(e){if(f().debug(`Converting string[${null==e?void 0:e.length}] to UTF8 byte array`),!e)return[];var t=y().encode(e);return e.length!==t.length&&(R()?self.setOption("attemptHighlight",!1):M()&&(window.app.options.attemptHighlight=!1)),A.strToByteArray(t)}},{key:"strToCharcode",value:function(e){if(f().debug(`Converting string[${null==e?void 0:e.length}] to charcode`),!e)return[];for(var t=[],I=0;I=55296&&r<56320){var g=e[I+1].charCodeAt(0);g>=56320&&g<57344&&(r=A.ord(e[I]+e[++I]))}t.push(r)}return t}},{key:"byteArrayToUtf8",value:function(e){var t;if(f().debug(`Converting byte array[${null===(t=e)||void 0===t?void 0:t.length}] to UTF8`),!e||!e.length)return"";e instanceof Uint8Array||(e=new Uint8Array(e));try{var I=new TextDecoder("utf-8",{fatal:!0}).decode(e);return I.length!==e.length&&(R()?self.setOption("attemptHighlight",!1):M()&&(window.app.options.attemptHighlight=!1)),I}catch(t){return A.byteArrayToChars(e)}}},{key:"byteArrayToChars",value:function(A){if(f().debug(`Converting byte array[${null==A?void 0:A.length}] to chars`),!A||!A.length)return"";for(var e="",t=0;t1&&void 0!==arguments[1])||arguments[1];if(f().debug(`Converting array buffer[${null==e?void 0:e.byteLength}] to str`),!e||!e.byteLength)return"";var I=new Uint8Array(e);return t?A.byteArrayToUtf8(I):A.byteArrayToChars(I)}},{key:"calculateShannonEntropy",value:function(A){A instanceof ArrayBuffer&&(A=new Uint8Array(A));var e,t=[],I=new Array(256).fill(0);for(e=0;e0&&t.push(I[e]/A.length);var r,g=0;for(e=0;e1&&void 0!==arguments[1]?arguments[1]:[","],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["\n","\r"],g=!1,i=!1,n="",o=[],a=[];A.length&&"\ufeff"===A[0]&&(A=A.substr(1));for(var C=0;C=0?(o.push(n),n=""):!i&&r.indexOf(e)>=0?(o.push(n),n="",a.push(o),o=[],r.indexOf(t)>=0&&t!==e&&C++):n+=e:i=!0;return o.length&&(o.push(n),a.push(o)),a}},{key:"stripHtmlTags",value:function(A){function e(A,t){var I=t.replace(A,"");return I.length===t.length?I:e(A,I)}return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(A=e(/]*>(\s|\S)*?<\/script[^>]*>/gi,A),A=e(/]*>(\s|\S)*?<\/style[^>]*>/gi,A)),e(/<[^>]+>/g,A)}},{key:"escapeHtml",value:function(A){var e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\0":""};return A?A.replace(/[&<>"'`\u0000]/g,(function(A){return e[A]})):A}},{key:"unescapeHtml",value:function(A){var e={"&":"&","<":"<",">":">",""":'"',"'":"'","/":"/","`":"`","":"\0"};return A.replace(/(&#?x?[a-z0-9]{2,4};|\ue000)/gi,(function(A){return e[A]||A}))}},{key:"toTitleCase",value:function(A){return A.replace(/\w\S*/g,(function(A){return A.charAt(0).toUpperCase()+A.substr(1).toLowerCase()}))}},{key:"encodeURIFragment",value:function(A){var e={"%2D":"-","%2E":".","%5F":"_","%7E":"~","%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2C":",","%3B":";","%3A":":","%40":"@","%2F":"/","%3F":"?"};return(A=encodeURIComponent(A)).replace(/%[0-9A-F]{2}/g,(function(A){return e[A]||A}))}},{key:"generatePrettyRecipe",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t="",I="",r="",g="",i="";return A.forEach((function(A){I=A.op.replace(/ /g,"_"),r=JSON.stringify(A.args).slice(1,-1).replace(/'/g,"\\'").replace(/"((?:[^"\\]|\\.)*)"/g,"'$1'").replace(/\\"/g,'"'),g=A.disabled?"/disabled":"",i=A.breakpoint?"/breakpoint":"",t+=`${I}(${r}${g}${i})`,e&&(t+="\n")})),t}},{key:"parseRecipeConfig",value:function(A){if(0===(A=A.trim()).length)return[];if("["===A[0])return JSON.parse(A);var e,t;A=A.replace(/\n/g,"");for(var I=/([^(]+)\(((?:'[^'\\]*(?:\\.[^'\\]*)*'|[^)/'])*)(\/[^)]+)?\)/g,r=[];e=I.exec(A);){t="["+(t=e[2].replace(/"/g,'\\"').replace(/(^|,|{|:)'/g,'$1"').replace(/([^\\]|(?:\\\\)+)'(,|:|}|$)/g,'$1"$2').replace(/\\'/g,"'"))+"]";var g={op:e[1].replace(/_/g," "),args:JSON.parse(t)};e[3]&&e[3].indexOf("disabled")>0&&(g.disabled=!0),e[3]&&e[3].indexOf("breakpoint")>0&&(g.breakpoint=!0),r.push(g)}return r}},{key:"displayFilesAsHTML",value:(e=E(Q().mark((function e(t){var I,r,g,i,n;return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I=function(e){return`
\n
\n
\n ${A.escapeHtml(e.name)}\n
\n
\n
`},r=function(e,t){if(t.startsWith("image")){var I="data:";return I+=t+";",""}return`
${A.escapeHtml(A.arrayBufferToStr(e.buffer))}
`},g=function(){var e=E(Q().mark((function e(t,I){var g,i,n,o;return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A.readFile(t);case 2:return g=e.sent,i=new Blob([g],{type:t.type||"octet/stream"}),n=URL.createObjectURL(i),o=`
\n
\n
\n \n \n ${t.size.toLocaleString()} bytes\n \n save\n \n \n open_in_browser\n \n \n
\n
\n
\n
\n ${r(g,t.type)}\n
\n
\n
`,e.abrupt("return",o);case 7:case"end":return e.stop()}}),e)})));return function(A,t){return e.apply(this,arguments)}}(),i=`
\n ${t.length} file(s) found\n
`,n=0;case 5:if(!(n=A.size)e(r);else{var t=A.slice(g,g+i);I.readAsArrayBuffer(t)}};I.onload=function(A){r.set(new Uint8Array(I.result),g),g+=i,n()},I.onerror=function(A){t(I.error.message)},n()}))}},{key:"readFileSync",value:function(A){if(!b())throw new TypeError("Browser environment cannot support readFileSync");return Uint8Array.from(A.data).buffer}},{key:"mod",value:function(A,e){return(A%e+e)%e}},{key:"gcd",value:function(e,t){return t?A.gcd(t,e%t):e}},{key:"modInv",value:function(A,e){A%=e;for(var t=1;tA?String(this):((A-=this.length)>e.length&&(e+=e.repeat(A/e.length)),e.slice(0,A)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(A,e){return A|=0,e=String(void 0!==e?e:" "),this.length>A?String(this):((A-=this.length)>e.length&&(e+=e.repeat(A/e.length)),String(this)+e.slice(0,A))});const H=function(A){function e(){var A;I(this,e);for(var t=arguments.length,r=new Array(t),g=0;g0||A===e?e:e-1}function X(A){for(var e,t,I=1,r=A.length,g=A[0]+"";Ia^t?1:-1;for(n=(o=r.length)<(a=g.length)?o:a,i=0;ig[i]^t?1:-1;return o==a?0:o>a^t?1:-1}function $(A,e,t,I){if(At||A!==K(A))throw Error(T+(I||"Argument")+("number"==typeof A?At?" out of range: ":" not an integer: ":" not a primitive number: ")+String(A))}function AA(A){var e=A.c.length-1;return j(A.e/V)==e&&A.c[e]%2!=0}function eA(A,e){return(A.length>1?A.charAt(0)+"."+A.slice(1):A)+(e<0?"e":"e+")+e}function tA(A,e,t){var I,r;if(e<0){for(r=t+".";++e;r+=t);A=r+A}else if(++e>(I=A.length)){for(r=t,e-=I;--e;r+=t);A+=r}else el?s.c=s.e=null:A.e=10;o/=10,n++);return void(n>l?s.c=s.e=null:(s.e=n,s.c=[A]))}B=String(A)}else{if(!J.test(B=String(A)))return r(s,B,a);s.s=45==B.charCodeAt(0)?(B=B.slice(1),-1):1}(n=B.indexOf("."))>-1&&(B=B.replace(".","")),(o=B.search(/e/i))>0?(n<0&&(n=o),n+=+B.slice(o+1),B=B.substring(0,o)):n<0&&(n=B.length)}else{if($(e,2,F.length,"Base"),10==e&&D)return G(s=new S(A),h+s.e+1,Q);if(B=String(A),a="number"==typeof A){if(0*A!=0)return r(s,B,a,e);if(s.s=1/A<0?(B=B.slice(1),-1):1,S.DEBUG&&B.replace(/^0\.0*|\./,"").length>15)throw Error(x+A)}else s.s=45===B.charCodeAt(0)?(B=B.slice(1),-1):1;for(t=F.slice(0,e),n=o=0,C=B.length;on){n=C;continue}}else if(!i&&(B==B.toUpperCase()&&(B=B.toLowerCase())||B==B.toLowerCase()&&(B=B.toUpperCase()))){i=!0,o=-1,n=0;continue}return r(s,String(A),a,e)}a=!1,(n=(B=I(B,e,10,s.s)).indexOf("."))>-1?B=B.replace(".",""):n=B.length}for(o=0;48===B.charCodeAt(o);o++);for(C=B.length;48===B.charCodeAt(--C););if(B=B.slice(o,++C)){if(C-=o,a&&S.DEBUG&&C>15&&(A>W||A!==K(A)))throw Error(x+s.s*A);if((n=n-o-1)>l)s.c=s.e=null;else if(n=u)?eA(o,i):tA(o,i,"0");else if(g=(A=G(new S(A),e,t)).e,n=(o=X(A.c)).length,1==I||2==I&&(e<=g||g<=c)){for(;nn){if(--e>0)for(o+=".";e--;o+="0");}else if((e+=g-n)>0)for(g+1==n&&(o+=".");e--;o+="0");return A.s<0&&r?"-"+o:o}function U(A,e){for(var t,I,r=1,g=new S(A[0]);r=10;r/=10,I++);return(t=I+t*V-1)>l?A.c=A.e=null:t=10;n/=10,r++);if((g=e-r)<0)g+=V,i=e,o=B[a=0],C=K(o/s[r-i-1]%10);else if((a=q((g+1)/V))>=B.length){if(!I)break A;for(;B.length<=a;B.push(0));o=C=0,r=1,i=(g%=V)-V+1}else{for(o=n=B[a],r=1;n>=10;n/=10,r++);C=(i=(g%=V)-V+r)<0?0:K(o/s[r-i-1]%10)}if(I=I||e<0||null!=B[a+1]||(i<0?o:o%s[r-i-1]),I=t<4?(C||I)&&(0==t||t==(A.s<0?3:2)):C>5||5==C&&(4==t||I||6==t&&(g>0?i>0?o/s[r-i]:0:B[a-1])%10&1||t==(A.s<0?8:7)),e<1||!B[0])return B.length=0,I?(e-=A.e+1,B[0]=s[(V-e%V)%V],A.e=-e||0):B[0]=A.e=0,A;if(0==g?(B.length=a,n=1,a--):(B.length=a+1,n=s[V-g],B[a]=i>0?K(o/s[r-i]%s[i])*n:0),I)for(;;){if(0==a){for(g=1,i=B[0];i>=10;i/=10,g++);for(i=B[0]+=n,n=1;i>=10;i/=10,n++);g!=n&&(A.e++,B[0]==_&&(B[0]=1));break}if(B[a]+=n,B[a]!=_)break;B[a--]=0,n=1}for(g=B.length;0===B[--g];B.pop());}A.e>l?A.c=A.e=null:A.e=u?eA(e,t):tA(e,t,"0"),A.s<0?"-"+e:e)}return S.clone=A,S.ROUND_UP=0,S.ROUND_DOWN=1,S.ROUND_CEIL=2,S.ROUND_FLOOR=3,S.ROUND_HALF_UP=4,S.ROUND_HALF_DOWN=5,S.ROUND_HALF_EVEN=6,S.ROUND_HALF_CEIL=7,S.ROUND_HALF_FLOOR=8,S.EUCLID=9,S.config=S.set=function(A){var e,t;if(null!=A){if("object"!=typeof A)throw Error(T+"Object expected: "+A);if(A.hasOwnProperty(e="DECIMAL_PLACES")&&($(t=A[e],0,Z,e),h=t),A.hasOwnProperty(e="ROUNDING_MODE")&&($(t=A[e],0,8,e),Q=t),A.hasOwnProperty(e="EXPONENTIAL_AT")&&((t=A[e])&&t.pop?($(t[0],-Z,0,e),$(t[1],0,Z,e),c=t[0],u=t[1]):($(t,-Z,Z,e),c=-(u=t<0?-t:t))),A.hasOwnProperty(e="RANGE"))if((t=A[e])&&t.pop)$(t[0],-Z,-1,e),$(t[1],1,Z,e),f=t[0],l=t[1];else{if($(t,-Z,Z,e),!t)throw Error(T+e+" cannot be zero: "+t);f=-(l=t<0?-t:t)}if(A.hasOwnProperty(e="CRYPTO")){if((t=A[e])!==!!t)throw Error(T+e+" not true or false: "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw y=!t,Error(T+"crypto unavailable");y=t}else y=t}if(A.hasOwnProperty(e="MODULO_MODE")&&($(t=A[e],0,9,e),p=t),A.hasOwnProperty(e="POW_PRECISION")&&($(t=A[e],0,Z,e),w=t),A.hasOwnProperty(e="FORMAT")){if("object"!=typeof(t=A[e]))throw Error(T+e+" not an object: "+t);d=t}if(A.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(t=A[e])||/^.?$|[+\-.\s]|(.).*\1/.test(t))throw Error(T+e+" invalid: "+t);D="0123456789"==t.slice(0,10),F=t}}return{DECIMAL_PLACES:h,ROUNDING_MODE:Q,EXPONENTIAL_AT:[c,u],RANGE:[f,l],CRYPTO:y,MODULO_MODE:p,POW_PRECISION:w,FORMAT:d,ALPHABET:F}},S.isBigNumber=function(A){if(!A||!0!==A._isBigNumber)return!1;if(!S.DEBUG)return!0;var e,t,I=A.c,r=A.e,g=A.s;A:if("[object Array]"=={}.toString.call(I)){if((1===g||-1===g)&&r>=-Z&&r<=Z&&r===K(r)){if(0===I[0]){if(0===r&&1===I.length)return!0;break A}if((e=(r+1)%V)<1&&(e+=V),String(I[0]).length==e){for(e=0;e=_||t!==K(t))break A;if(0!==t)return!0}}}else if(null===I&&null===r&&(null===g||1===g||-1===g))return!0;throw Error(T+"Invalid BigNumber: "+A)},S.maximum=S.max=function(){return U(arguments,-1)},S.minimum=S.min=function(){return U(arguments,1)},S.random=(g=9007199254740992,i=Math.random()*g&2097151?function(){return K(Math.random()*g)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(A){var e,t,I,r,g,n=0,o=[],a=new S(E);if(null==A?A=h:$(A,0,Z),r=q(A/V),y)if(crypto.getRandomValues){for(e=crypto.getRandomValues(new Uint32Array(r*=2));n>>11))>=9e15?(t=crypto.getRandomValues(new Uint32Array(2)),e[n]=t[0],e[n+1]=t[1]):(o.push(g%1e14),n+=2);n=r/2}else{if(!crypto.randomBytes)throw y=!1,Error(T+"crypto unavailable");for(e=crypto.randomBytes(r*=7);n=9e15?crypto.randomBytes(7).copy(e,n):(o.push(g%1e14),n+=7);n=r/7}if(!y)for(;n=10;g/=10,n++);nt-1&&(null==i[r+1]&&(i[r+1]=0),i[r+1]+=i[r]/t|0,i[r]%=t)}return i.reverse()}return function(I,r,g,i,n){var o,a,C,B,s,E,c,u,f=I.indexOf("."),l=h,y=Q;for(f>=0&&(B=w,w=0,I=I.replace(".",""),E=(u=new S(r)).pow(I.length-f),w=B,u.c=e(tA(X(E.c),E.e,"0"),10,g,A),u.e=u.c.length),C=B=(c=e(I,r,g,n?(o=F,A):(o=A,F))).length;0==c[--B];c.pop());if(!c[0])return o.charAt(0);if(f<0?--C:(E.c=c,E.e=C,E.s=i,c=(E=t(E,u,l,y,g)).c,s=E.r,C=E.e),f=c[a=C+l+1],B=g/2,s=s||a<0||null!=c[a+1],s=y<4?(null!=f||s)&&(0==y||y==(E.s<0?3:2)):f>B||f==B&&(4==y||s||6==y&&1&c[a-1]||y==(E.s<0?8:7)),a<1||!c[0])I=s?tA(o.charAt(1),-l,o.charAt(0)):o.charAt(0);else{if(c.length=a,s)for(--g;++c[--a]>g;)c[a]=0,a||(++C,c=[1].concat(c));for(B=c.length;!c[--B];);for(f=0,I="";f<=B;I+=o.charAt(c[f++]));I=tA(I,C,o.charAt(0))}return I}}(),t=function(){function A(A,e,t){var I,r,g,i,n=0,o=A.length,a=e%P,C=e/P|0;for(A=A.slice();o--;)n=((r=a*(g=A[o]%P)+(I=C*g+(i=A[o]/P|0)*a)%P*P+n)/t|0)+(I/P|0)+C*i,A[o]=r%t;return n&&(A=[n].concat(A)),A}function e(A,e,t,I){var r,g;if(t!=I)g=t>I?1:-1;else for(r=g=0;re[r]?1:-1;break}return g}function t(A,e,t,I){for(var r=0;t--;)A[t]-=r,r=A[t]1;A.splice(0,1));}return function(I,r,g,i,n){var o,a,C,B,s,E,h,Q,c,u,f,l,y,p,w,d,F,D=I.s==r.s?1:-1,m=I.c,U=r.c;if(!(m&&m[0]&&U&&U[0]))return new S(I.s&&r.s&&(m?!U||m[0]!=U[0]:U)?m&&0==m[0]||!U?0*D:D/0:NaN);for(c=(Q=new S(D)).c=[],D=g+(a=I.e-r.e)+1,n||(n=_,a=j(I.e/V)-j(r.e/V),D=D/V|0),C=0;U[C]==(m[C]||0);C++);if(U[C]>(m[C]||0)&&a--,D<0)c.push(1),B=!0;else{for(p=m.length,d=U.length,C=0,D+=2,(s=K(n/(U[0]+1)))>1&&(U=A(U,s,n),m=A(m,s,n),d=U.length,p=m.length),y=d,f=(u=m.slice(0,d)).length;f=n/2&&w++;do{if(s=0,(o=e(U,u,d,f))<0){if(l=u[0],d!=f&&(l=l*n+(u[1]||0)),(s=K(l/w))>1)for(s>=n&&(s=n-1),h=(E=A(U,s,n)).length,f=u.length;1==e(E,u,h,f);)s--,t(E,d=10;D/=10,C++);G(Q,g+(Q.e=C+a*V-1)+1,i,B)}else Q.e=a,Q.r=+B;return Q}}(),n=/^(-?)0([xbo])(?=\w[\w.]*$)/i,o=/^([^.]+)\.$/,a=/^\.([^.]+)$/,C=/^-?(Infinity|NaN)$/,B=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(A,e,t,I){var r,g=t?e:e.replace(B,"");if(C.test(g))A.s=isNaN(g)?null:g<0?-1:1;else{if(!t&&(g=g.replace(n,(function(A,e,t){return r="x"==(t=t.toLowerCase())?16:"b"==t?2:8,I&&I!=r?A:e})),I&&(r=I,g=g.replace(o,"$1").replace(a,"0.$1")),e!=g))return new S(g,r);if(S.DEBUG)throw Error(T+"Not a"+(I?" base "+I:"")+" number: "+e);A.s=null}A.c=A.e=null},s.absoluteValue=s.abs=function(){var A=new S(this);return A.s<0&&(A.s=1),A},s.comparedTo=function(A,e){return z(this,new S(A,e))},s.decimalPlaces=s.dp=function(A,e){var t,I,r,g=this;if(null!=A)return $(A,0,Z),null==e?e=Q:$(e,0,8),G(new S(g),A+g.e+1,e);if(!(t=g.c))return null;if(I=((r=t.length-1)-j(this.e/V))*V,r=t[r])for(;r%10==0;r/=10,I--);return I<0&&(I=0),I},s.dividedBy=s.div=function(A,e){return t(this,new S(A,e),h,Q)},s.dividedToIntegerBy=s.idiv=function(A,e){return t(this,new S(A,e),0,1)},s.exponentiatedBy=s.pow=function(A,e){var t,I,r,g,i,n,o,a,C=this;if((A=new S(A)).c&&!A.isInteger())throw Error(T+"Exponent not an integer: "+v(A));if(null!=e&&(e=new S(e)),i=A.e>14,!C.c||!C.c[0]||1==C.c[0]&&!C.e&&1==C.c.length||!A.c||!A.c[0])return a=new S(Math.pow(+v(C),i?A.s*(2-AA(A)):+v(A))),e?a.mod(e):a;if(n=A.s<0,e){if(e.c?!e.c[0]:!e.s)return new S(NaN);(I=!n&&C.isInteger()&&e.isInteger())&&(C=C.mod(e))}else{if(A.e>9&&(C.e>0||C.e<-1||(0==C.e?C.c[0]>1||i&&C.c[1]>=24e7:C.c[0]<8e13||i&&C.c[0]<=9999975e7)))return g=C.s<0&&AA(A)?-0:0,C.e>-1&&(g=1/g),new S(n?1/g:g);w&&(g=q(w/V+2))}for(i?(t=new S(.5),n&&(A.s=1),o=AA(A)):o=(r=Math.abs(+v(A)))%2,a=new S(E);;){if(o){if(!(a=a.times(C)).c)break;g?a.c.length>g&&(a.c.length=g):I&&(a=a.mod(e))}if(r){if(0===(r=K(r/2)))break;o=r%2}else if(G(A=A.times(t),A.e+1,1),A.e>14)o=AA(A);else{if(0==(r=+v(A)))break;o=r%2}C=C.times(C),g?C.c&&C.c.length>g&&(C.c.length=g):I&&(C=C.mod(e))}return I?a:(n&&(a=E.div(a)),e?a.mod(e):g?G(a,w,Q,void 0):a)},s.integerValue=function(A){var e=new S(this);return null==A?A=Q:$(A,0,8),G(e,e.e+1,A)},s.isEqualTo=s.eq=function(A,e){return 0===z(this,new S(A,e))},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(A,e){return z(this,new S(A,e))>0},s.isGreaterThanOrEqualTo=s.gte=function(A,e){return 1===(e=z(this,new S(A,e)))||0===e},s.isInteger=function(){return!!this.c&&j(this.e/V)>this.c.length-2},s.isLessThan=s.lt=function(A,e){return z(this,new S(A,e))<0},s.isLessThanOrEqualTo=s.lte=function(A,e){return-1===(e=z(this,new S(A,e)))||0===e},s.isNaN=function(){return!this.s},s.isNegative=function(){return this.s<0},s.isPositive=function(){return this.s>0},s.isZero=function(){return!!this.c&&0==this.c[0]},s.minus=function(A,e){var t,I,r,g,i=this,n=i.s;if(e=(A=new S(A,e)).s,!n||!e)return new S(NaN);if(n!=e)return A.s=-e,i.plus(A);var o=i.e/V,a=A.e/V,C=i.c,B=A.c;if(!o||!a){if(!C||!B)return C?(A.s=-e,A):new S(B?i:NaN);if(!C[0]||!B[0])return B[0]?(A.s=-e,A):new S(C[0]?i:3==Q?-0:0)}if(o=j(o),a=j(a),C=C.slice(),n=o-a){for((g=n<0)?(n=-n,r=C):(a=o,r=B),r.reverse(),e=n;e--;r.push(0));r.reverse()}else for(I=(g=(n=C.length)<(e=B.length))?n:e,n=e=0;e0)for(;e--;C[t++]=0);for(e=_-1;I>n;){if(C[--I]=0;){for(t=0,s=l[r]%c,E=l[r]/c|0,g=r+(i=o);g>r;)t=((a=s*(a=f[--i]%c)+(n=E*a+(C=f[i]/c|0)*s)%c*c+h[g]+t)/Q|0)+(n/c|0)+E*C,h[g--]=a%Q;h[g]=t}return t?++I:h.splice(0,1),k(A,h,I)},s.negated=function(){var A=new S(this);return A.s=-A.s||null,A},s.plus=function(A,e){var t,I=this,r=I.s;if(e=(A=new S(A,e)).s,!r||!e)return new S(NaN);if(r!=e)return A.s=-e,I.minus(A);var g=I.e/V,i=A.e/V,n=I.c,o=A.c;if(!g||!i){if(!n||!o)return new S(r/0);if(!n[0]||!o[0])return o[0]?A:new S(n[0]?I:0*r)}if(g=j(g),i=j(i),n=n.slice(),r=g-i){for(r>0?(i=g,t=o):(r=-r,t=n),t.reverse();r--;t.push(0));t.reverse()}for((r=n.length)-(e=o.length)<0&&(t=o,o=n,n=t,e=r),r=0;e;)r=(n[--e]=n[e]+o[e]+r)/_|0,n[e]=_===n[e]?0:n[e]%_;return r&&(n=[r].concat(n),++i),k(A,n,i)},s.precision=s.sd=function(A,e){var t,I,r,g=this;if(null!=A&&A!==!!A)return $(A,1,Z),null==e?e=Q:$(e,0,8),G(new S(g),A,e);if(!(t=g.c))return null;if(I=(r=t.length-1)*V+1,r=t[r]){for(;r%10==0;r/=10,I--);for(r=t[0];r>=10;r/=10,I++);}return A&&g.e+1>I&&(I=g.e+1),I},s.shiftedBy=function(A){return $(A,-9007199254740991,W),this.times("1e"+A)},s.squareRoot=s.sqrt=function(){var A,e,I,r,g,i=this,n=i.c,o=i.s,a=i.e,C=h+4,B=new S("0.5");if(1!==o||!n||!n[0])return new S(!o||o<0&&(!n||n[0])?NaN:n?i:1/0);if(0==(o=Math.sqrt(+v(i)))||o==1/0?(((e=X(n)).length+a)%2==0&&(e+="0"),o=Math.sqrt(+e),a=j((a+1)/2)-(a<0||a%2),I=new S(e=o==1/0?"5e"+a:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+a)):I=new S(o+""),I.c[0])for((o=(a=I.e)+C)<3&&(o=0);;)if(g=I,I=B.times(g.plus(t(i,g,C,1))),X(g.c).slice(0,o)===(e=X(I.c)).slice(0,o)){if(I.e0&&h>0){for(g=h%n||n,C=E.substr(0,g);g0&&(C+=a+E.slice(g)),s&&(C="-"+C)}I=B?C+(t.decimalSeparator||"")+((o=+t.fractionGroupSize)?B.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+(t.fractionGroupSeparator||"")):B):C}return(t.prefix||"")+I+(t.suffix||"")},s.toFraction=function(A){var e,I,r,g,i,n,o,a,C,B,s,h,c=this,u=c.c;if(null!=A&&(!(o=new S(A)).isInteger()&&(o.c||1!==o.s)||o.lt(E)))throw Error(T+"Argument "+(o.isInteger()?"out of range: ":"not an integer: ")+v(o));if(!u)return new S(c);for(e=new S(E),C=I=new S(E),r=a=new S(E),h=X(u),i=e.e=h.length-c.e-1,e.c[0]=O[(n=i%V)<0?V+n:n],A=!A||o.comparedTo(e)>0?i>0?e:C:o,n=l,l=1/0,o=new S(h),a.c[0]=0;B=t(o,e,0,1),1!=(g=I.plus(B.times(r))).comparedTo(A);)I=r,r=g,C=a.plus(B.times(g=C)),a=g,e=o.minus(B.times(g=e)),o=g;return g=t(A.minus(I),r,0,1),a=a.plus(g.times(C)),I=I.plus(g.times(r)),a.s=C.s=c.s,s=t(C,r,i*=2,Q).minus(c).abs().comparedTo(t(a,I,i,Q).minus(c).abs())<1?[C,r]:[a,I],l=n,s},s.toNumber=function(){return+v(this)},s.toPrecision=function(A,e){return null!=A&&$(A,1,Z),m(this,A,e,2)},s.toString=function(A){var e,t=this,r=t.s,g=t.e;return null===g?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(null==A?e=g<=c||g>=u?eA(X(t.c),g):tA(X(t.c),g,"0"):10===A&&D?e=tA(X((t=G(new S(t),h+g+1,Q)).c),t.e,"0"):($(A,2,F.length,"Base"),e=I(tA(X(t.c),g,"0"),10,A,r,!0)),r<0&&t.c[0]&&(e="-"+e)),e},s.valueOf=s.toJSON=function(){return v(this)},s._isBigNumber=!0,s[Symbol.toStringTag]="BigNumber",s[Symbol.for("nodejs.util.inspect.custom")]=s.valueOf,null!=e&&S.set(e),S}();const rA=IA;var gA=function(){function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;I(this,A),this.bytes=e,this.length=this.bytes.length,this.position=t,this.bitPos=r}return n(A,[{key:"clone",value:function(){return new A(this.bytes,this.position,this.bitPos)}},{key:"getBytes",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!(this.position>this.length)){var e=null!==A?this.position+A:this.length,t=this.bytes.slice(this.position,e);return this.position=e,this.bitPos=0,t}}},{key:"readString",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(!(this.position>this.length)){-1===A&&(A=this.length-this.position);for(var e="",t=this.position;t1&&void 0!==arguments[1]?arguments[1]:"be";if(!(this.position>this.length)){var t=0;if("be"===e)for(var I=this.position;I=this.position;r--)t<<=8,t|=this.bytes[r];return this.position+=A,this.bitPos=0,t}}},{key:"readBits",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"be";if(!(this.position>this.length)){var t,I=0,r=0;for(I=this.bytes[this.position++]&(t=this.bitPos,"be"===e?(1<<8-t)-1:256-(1<>>=this.bitPos),r=8-this.bitPos,this.bitPos=0;rA){var g=r-A;"be"===e?I>>>=g:I&=(1<this.length))if(this.bitPos=0,"number"!=typeof A){var e=A.length,t=A[e-1];this.position=e;for(var I,r=function(A,e){var t=new Array;return A.forEach((function(A,I){t[A]=e-I})),t}(A,e);this.position=0;g--)if(this.bytes[this.position-e+g]!==A[g]){I=!1,this.position+=r[A[g]];break}if(I){this.position-=e;break}}}else for(;++this.positionthis.length)throw new Error("Cannot move to position "+e+" in stream. Out of bounds.");this.position=e,this.bitPos=0}},{key:"moveBackwardsBy",value:function(A){var e=this.position-A;if(e<0||e>this.length)throw new Error("Cannot move to position "+e+" in stream. Out of bounds.");this.position=e,this.bitPos=0}},{key:"moveBackwardsByBits",value:function(A){if(A<=this.bitPos)this.bitPos-=A;else for(this.bitPos>0&&(A-=this.bitPos,this.bitPos=0);A>0;)this.moveBackwardsBy(1),this.bitPos=8,this.moveBackwardsByBits(A),A-=8}},{key:"moveTo",value:function(A){if(A<0||A>this.length)throw new Error("Cannot move to position "+A+" in stream. Out of bounds.");this.position=A,this.bitPos=0}},{key:"hasMore",value:function(){return this.position0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.position;return this.bitPos>0&&e++,this.bytes.slice(A,e)}}])}();function iA(A,e){var t="undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(!t){if(Array.isArray(A)||(t=function(A,e){if(A){if("string"==typeof A)return nA(A,e);var t={}.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nA(A,e):void 0}}(A))||e&&A&&"number"==typeof A.length){t&&(A=t);var I=0,r=function(){};return{s:r,n:function(){return I>=A.length?{done:!0}:{done:!1,value:A[I++]}},e:function(A){throw A},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,i=!0,n=!1;return{s:function(){t=t.call(A)},n:function(){var A=t.next();return i=A.done,A},e:function(A){n=!0,g=A},f:function(){try{i||null==t.return||t.return()}finally{if(n)throw g}}}}function nA(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,I=Array(e);t>4],o=r[(15&i)>>2],a=(2&i)>>1;if("free"===n||"bad"===n||"reserved"===o){t.moveBackwardsBy(1);break}var C=Math.floor(144*n/o+a);if(t.position+C>t.length){t.moveTo(t.length);break}t.moveForwardsBy(C-3)}return t.carve()}},{name:"MPEG-4 Part 14 audio",extension:"m4a",mime:"audio/m4a",description:"",signature:[{4:102,5:116,6:121,7:112,8:77,9:52,10:65},{0:77,1:52,2:65,3:32}],extractor:null},{name:"Free Lossless Audio Codec",extension:"flac",mime:"audio/x-flac",description:"",signature:{0:102,1:76,2:97,3:67},extractor:null},{name:"Adaptive Multi-Rate audio codec",extension:"amr",mime:"audio/amr",description:"",signature:{0:35,1:33,2:65,3:77,4:82,5:10},extractor:null},{name:"Audacity",extension:"au",mime:"audio/x-au",description:"",signature:{0:100,1:110,2:115,3:46,24:65,25:117,26:100,27:97,28:99,29:105,30:116,31:121,32:66,33:108,34:111,35:99,36:107,37:70,38:105,39:108,40:101},extractor:null},{name:"Audacity Block",extension:"auf",mime:"application/octet-stream",description:"",signature:{0:65,1:117,2:100,3:97,4:99,5:105,6:116,7:121,8:66,9:108,10:111,11:99,12:107,13:70,14:105,15:108,16:101},extractor:null},{name:"Audio Interchange File",extension:"aif",mime:"audio/x-aiff",description:"",signature:{0:70,1:79,2:82,3:77,8:65,9:73,10:70,11:70},extractor:null},{name:"Audio Interchange File (compressed)",extension:"aifc",mime:"audio/x-aifc",description:"",signature:{0:70,1:79,2:82,3:77,8:65,9:73,10:70,11:67},extractor:null}],Documents:[{name:"Portable Document Format",extension:"pdf",mime:"application/pdf",description:"",signature:{0:37,1:80,2:68,3:70},extractor:function(A,e){var t=new gA(A.slice(e));return t.continueUntil([37,37,69,79,70]),t.moveForwardsBy(5),t.consumeIf(13),t.consumeIf(10),t.carve()}},{name:"Portable Document Format (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:65,1:74,2:86,3:66,4:69,5:82,6:105},extractor:null},{name:"Adobe PostScript",extension:"ps,eps,ai,pfa",mime:"application/postscript",description:"",signature:{0:37,1:33,2:80,3:83,4:45,5:65,6:100,7:111,8:98,9:101},extractor:null},{name:"PostScript",extension:"ps",mime:"application/postscript",description:"",signature:{0:37,1:33},extractor:null},{name:"Encapsulated PostScript",extension:"eps,ai",mime:"application/eps",description:"",signature:{0:197,1:208,2:211,3:198},extractor:null},{name:"Rich Text Format",extension:"rtf",mime:"application/rtf",description:"",signature:{0:123,1:92,2:114,3:116},extractor:function(A,e){var t=new gA(A.slice(e)),I=0;if(123!==t.readInt(1))throw new Error("Not a valid RTF file");for(I++;I>0&&t.hasMore();)switch(t.readInt(1)){case 123:I++;break;case 125:I--;break;case 92:t.consumeIf(92),t.position++}return t.carve()}},{name:"Microsoft Office document/OLE2",extension:"ole2,doc,xls,dot,ppt,xla,ppa,pps,pot,msi,sdw,db,vsd,msg",mime:"application/msword,application/vnd.ms-excel,application/vnd.ms-powerpoint",description:"Microsoft Office documents",signature:{0:208,1:207,2:17,3:224,4:161,5:177,6:26,7:225},extractor:null},{name:"Microsoft Office document/OLE2 (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:48,1:77,2:56,3:82,4:52,5:75,6:71,7:120},extractor:null},{name:"Microsoft Office 2007+ document",extension:"docx,xlsx,pptx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.presentationml.presentation",description:"",signature:{38:95,39:84,40:121,41:112,42:101,43:115,44:93,45:46,46:120,47:109,48:108},extractor:aA},{name:"Microsoft Access database",extension:"mdb,mda,mde,mdt,fdb,psa",mime:"application/msaccess",description:"",signature:{0:0,1:1,2:0,3:0,4:83,5:116,6:97,7:110,8:100,9:97,10:114,11:100,12:32,13:74,14:101,15:116},extractor:null},{name:"Microsoft Access 2007+ database",extension:"accdb,accde,accda,accdu",mime:"application/msaccess",description:"",signature:{0:0,1:1,2:0,3:0,4:83,5:116,6:97,7:110,8:100,9:97,10:114,11:100,12:32,13:65,14:67,15:69,16:32},extractor:null},{name:"Microsoft OneNote document",extension:"one",mime:"application/onenote",description:"",signature:{0:228,1:82,2:92,3:123,4:140,5:216,6:167,7:77,8:174,9:177,10:83,11:120,12:208,13:41,14:150,15:211},extractor:null},{name:"Outlook Express database",extension:"dbx",mime:"application/octet-stream",description:"",signature:{0:207,1:173,2:18,3:254,4:[48,197,198,199],11:17},extractor:null},{name:"Personal Storage Table (Outlook)",extension:"pst,ost,fdb,pab",mime:"application/octet-stream",description:"",signature:{0:33,1:66,2:68,3:78},extractor:null},{name:"Microsoft Exchange Database",extension:"edb",mime:"application/octet-stream",description:"",signature:{4:239,5:205,6:171,7:137,8:[32,35],9:6,10:0,11:0,12:[0,1],13:0,14:0,15:0},extractor:null},{name:"WordPerfect document",extension:"wpd,wp,wp5,wp6,wpp,bk!,wcm",mime:"application/wordperfect",description:"",signature:{0:255,1:87,2:80,3:67,7:[0,1,2],8:1,9:10},extractor:null},{name:"EPUB e-book",extension:"epub",mime:"application/epub+zip",description:"",signature:{0:80,1:75,2:3,3:4,30:109,31:105,32:109,33:101,34:116,35:121,36:112,37:101,38:97,39:112,40:112,41:108,42:105,43:99,44:97,45:116,46:105,47:111,48:110,49:47,50:101,51:112,52:117,53:98,54:43,55:122,56:105,57:112},extractor:aA}],Applications:[{name:"Windows Portable Executable",extension:"exe,dll,drv,vxd,sys,ocx,vbx,com,fon,scr",mime:"application/vnd.microsoft.portable-executable",description:"",signature:{0:77,1:90,3:[0,1,2],5:[0,1,2]},extractor:function(A,e){var t=new gA(A.slice(e));t.moveTo(60);var I=t.readInt(4,"le");t.moveTo(I),t.moveForwardsBy(6);var r=t.readInt(2,"le");t.moveForwardsBy(16);var g=523===t.readInt(2,"le")?112:96;t.moveForwardsBy(g-2),t.moveForwardsBy(32);var i=t.readInt(4,"le"),n=t.readInt(4,"le");if(i>0)return t.moveTo(i+n),t.carve();t.moveForwardsBy(88),t.moveForwardsBy(40*(r-1)),t.moveForwardsBy(16);var o=t.readInt(4,"le"),a=t.readInt(4,"le");return t.moveTo(a+o),t.carve()}},{name:"Executable and Linkable Format",extension:"elf,bin,axf,o,prx,so",mime:"application/x-executable",description:"Executable and Linkable Format file. No standard file extension.",signature:{0:127,1:69,2:76,3:70},extractor:function(A,e){var t=new gA(A.slice(e));t.moveForwardsBy(4);var I=1===t.readInt(1),r=1===t.readInt(1)?"le":"be";t.moveForwardsBy(I?26:34);var g=I?t.readInt(4,r):t.readInt(8,r);t.moveForwardsBy(10);var i=t.readInt(2,r),n=t.readInt(2,r);return t.moveTo(g),t.moveForwardsBy(i*n),t.carve()}},{name:"MacOS Mach-O object",extension:"dylib",mime:"application/octet-stream",description:"",signature:[{0:202,1:254,2:186,3:190,4:0,5:0,6:0,7:[1,2,3]},{0:206,1:250,2:237,3:254,4:7,5:0,6:0,7:0,8:[1,2,3]}],extractor:CA},{name:"MacOS Mach-O 64-bit object",extension:"dylib",mime:"application/octet-stream",description:"",signature:{0:207,1:250,2:237,3:254},extractor:CA},{name:"Adobe Flash",extension:"swf",mime:"application/x-shockwave-flash",description:"",signature:{0:[67,70],1:87,2:83},extractor:null},{name:"Java Class",extension:"class",mime:"application/java-vm",description:"",signature:{0:202,1:254,2:186,3:190},extractor:null},{name:"Dalvik Executable",extension:"dex",mime:"application/octet-stream",description:"Dalvik Executable as used by Android",signature:{0:100,1:101,2:120,3:10,4:48,5:51,6:53,7:0},extractor:null},{name:"Google Chrome Extension",extension:"crx",mime:"application/crx",description:"Google Chrome extension or packaged app",signature:{0:67,1:114,2:50,3:52},extractor:null}],Archives:[{name:"PKZIP archive",extension:"zip",mime:"application/zip",description:"",signature:{0:80,1:75,2:[3,5,7],3:[4,6,8]},extractor:aA},{name:"PKZIP archive (under Base64)",extension:"B64",mime:"application/octet-stream",description:"",signature:{0:85,1:69,2:115,3:68,4:66,5:66},extractor:null},{name:"TAR archive",extension:"tar",mime:"application/x-tar",description:"",signature:{257:117,258:115,259:116,260:97,261:114},extractor:function(A,e){for(var t=new gA(A.slice(e)),I=function(){if(t.moveForwardsBy(257),t.getBytes(5).join("")!==[117,115,116,97,114].join(""))return t.moveBackwardsBy(262),1;t.moveBackwardsBy(138);var A=0;t.getBytes(11).forEach((function(e,t){A+=(e-48).toString()})),A=512*Math.ceil(parseInt(A,8)/512),t.moveForwardsBy(A+377)};t.hasMore()&&!I(););return t.consumeWhile(0),t.carve()}},{name:"Roshal Archive",extension:"rar",mime:"application/x-rar-compressed",description:"",signature:{0:82,1:97,2:114,3:33,4:26,5:7,6:[0,1]},extractor:null},{name:"Gzip",extension:"gz",mime:"application/gzip",description:"",signature:{0:31,1:139,2:8},extractor:function(A,e){var t=new gA(A.slice(e));t.moveForwardsBy(3);var I=t.readInt(1);if(t.moveForwardsBy(4),t.readInt(1),t.moveForwardsBy(1),4&I){var r=t.readInt(2,"le");t.moveForwardsby(r)}return 8&I&&(t.continueUntil(0),t.moveForwardsBy(1)),16&I&&(t.continueUntil(0),t.moveForwardsBy(1)),2&I&&t.moveForwardsBy(2),cA(t),t.moveForwardsBy(8),t.carve()}},{name:"Bzip2",extension:"bz2",mime:"application/x-bzip2",description:"",signature:{0:66,1:90,2:104},extractor:function(A,e){for(var t=new gA(A.slice(e)),I=[[119,36,83,133,9],[238,72,167,10,18],[220,145,78,20,36],[185,34,156,40,72],[114,69,56,80,144],[187,146,41,194,132],[93,201,20,225,66],[46,228,138,112,161],[23,114,69,56,80]],r=0;r=2368&&t.moveForwardsBy(4);var n=t.readInt(1,"be");if(t.moveForwardsBy(n),64&i){var o=t.readInt(4,"be");t.moveForwardsBy(o)}for(t.moveForwardsBy(4);t.hasMore();){var a=t.readInt(4,"be");if(0===a)break;var C=t.readInt(4,"be"),B=a===C?r:r+I;t.moveForwardsBy(C+4*B)}return t.carve()}},{name:"Linux deb package",extension:"deb",mime:"application/vnd.debian.binary-package",description:"",signature:{0:33,1:60,2:97,3:114,4:99,5:104,6:62},extractor:function(A,e){var t=new gA(A.slice(e));for(t.moveForwardsBy(8);t.hasMore();){t.moveForwardsBy(48);var I,r="",g=iA(t.getBytes(10));try{for(g.s();!(I=g.n()).done;){var i=I.value;r+=String.fromCharCode(i)}}catch(A){g.e(A)}finally{g.f()}r=parseInt(r.trim(),10),t.moveForwardsBy(2),t.moveForwardsBy(r)}return t.carve()}},{name:"Apple Disk Image",extension:"dmg",mime:"application/x-apple-diskimage",description:"",signature:{0:120,1:1,2:115,3:13,4:98,5:98,6:96},extractor:null}],Miscellaneous:[{name:"UTF-8 text",extension:"txt",mime:"text/plain",description:"UTF-8 encoded Unicode byte order mark, commonly but not exclusively seen in text files.",signature:{0:239,1:187,2:191},extractor:null},{name:"UTF-32 LE text",extension:"utf32le",mime:"charset/utf32le",description:"Little-endian UTF-32 encoded Unicode byte order mark.",signature:{0:255,1:254,2:0,3:0},extractor:null},{name:"UTF-16 LE text",extension:"utf16le",mime:"charset/utf16le",description:"Little-endian UTF-16 encoded Unicode byte order mark.",signature:{0:255,1:254},extractor:null},{name:"Web Open Font Format",extension:"woff",mime:"application/font-woff",description:"",signature:{0:119,1:79,2:70,3:70,4:0,5:1,6:0,7:0},extractor:null},{name:"Web Open Font Format 2",extension:"woff2",mime:"application/font-woff",description:"",signature:{0:119,1:79,2:70,3:50,4:0,5:1,6:0,7:0},extractor:null},{name:"Embedded OpenType font",extension:"eot",mime:"application/octet-stream",description:"",signature:[{8:2,9:0,10:1,34:76,35:80},{8:1,9:0,10:0,34:76,35:80},{8:2,9:0,10:2,34:76,35:80}],extractor:null},{name:"TrueType Font",extension:"ttf",mime:"application/font-sfnt",description:"",signature:{0:0,1:1,2:0,3:0,4:0},extractor:null},{name:"OpenType Font",extension:"otf",mime:"application/font-sfnt",description:"",signature:{0:79,1:84,2:84,3:79,4:0},extractor:null},{name:"SQLite",extension:"sqlite",mime:"application/x-sqlite3",description:"",signature:{0:83,1:81,2:76,3:105},extractor:function(A,e){var t=new gA(A.slice(e));t.moveTo(16);var I=t.readInt(2);t.moveTo(28);var r=t.readInt(4);return t.moveTo(I*r),t.carve()}},{name:"BitTorrent link",extension:"torrent",mime:"application/x-bittorrent",description:"",signature:[{0:100,1:56,2:58,3:97,4:110,5:110,6:111,7:117,8:110,9:99,10:101,11:35,12:35,13:58},{0:100,1:52,2:58,3:105,4:110,5:102,6:111,7:100,8:[52,53,54],9:58}],extractor:null},{name:"Cryptocurrency wallet",extension:"wallet",mime:"application/octet-stream",description:"",signature:{0:0,1:0,2:0,3:0,4:1,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:98,13:49,14:5,15:0},extractor:null},{name:"Registry fragment",extension:"hbin",mime:"application/octet-stream",description:"",signature:{0:104,1:98,2:105,3:110,4:0},extractor:null},{name:"Registry script",extension:"rgs",mime:"application/octet-stream",description:"",signature:{0:72,1:75,2:67,3:82,4:13,5:10,6:92,7:123},extractor:null},{name:"WinNT Registry Hive",extension:"registry",mime:"application/octet-stream",description:"",signature:{0:114,1:101,2:103,3:102},extractor:null},{name:"Windows Event Log",extension:"evt",mime:"application/octet-stream",description:"",signature:{0:48,1:0,2:0,3:0,4:76,5:102,6:76,7:101},extractor:function(A,e){var t=new gA(A.slice(e));t.moveTo(20);var I=t.readInt(4,"le");t.moveTo(I);var r=t.readInt(4,"le");return t.moveForwardsBy(r-4),t.carve()}},{name:"Windows Event Log",extension:"evtx",mime:"application/octet-stream",description:"",signature:{0:69,1:108,2:102,3:70,4:105,5:108,6:101},extractor:function(A,e){var t=new gA(A.slice(e));t.moveTo(40);var I=t.readInt(4,"le")-44;for(t.moveForwardsBy(I);t.hasMore()&&t.getBytes(7).join("")===[69,108,102,67,104,110,107].join("");)t.moveForwardsBy(65529);return t.consumeWhile(0),t.carve()}},{name:"Windows Pagedump",extension:"dmp",mime:"application/octet-stream",description:"",signature:{0:80,1:65,2:71,3:69,4:68,5:85,6:[77,54],7:[80,52]},extractor:function(A,e){var t=new gA(A.slice(e));return t.moveTo(112),t.moveTo(4096*(t.readInt(4,"le")+1)),t.carve()}},{name:"Windows Prefetch",extension:"pf",mime:"application/x-pf",description:"",signature:{0:[17,23,26],1:0,2:0,3:0,4:83,5:67,6:67,7:65},extractor:function(A,e){var t=new gA(A.slice(e));return t.moveTo(12),t.moveTo(t.readInt(4,"be")),t.carve()}},{name:"Windows Prefetch (Win 10)",extension:"pf",mime:"application/x-pf",description:"",signature:{0:77,1:65,2:77,3:4,7:0},extractor:function(A,e){var t=new gA(A.slice(e));return t.moveTo(t.readInt(4,"be")),t.carve()}},{name:"PList (XML)",extension:"plist",mime:"application/xml",description:"",signature:{39:60,40:33,41:68,42:79,43:67,44:84,45:89,46:80,47:69,48:32,49:112,50:108,51:105,52:115,53:116},extractor:function(A,e){var t=new gA(A.slice(e)),I=0;for(t.continueUntil([60,112,108,105,115,116]),t.moveForwardsBy(6),I++;I>0&&t.hasMore();)60===t.readInt(1)&&(t.getBytes(5).join("")===[112,108,105,115,116].join("")?I++:t.moveBackwardsBy(5),t.getBytes(7).join("")===[47,112,108,105,115,116,62].join("")?I--:t.moveBackwardsBy(7));return t.consumeIf(10),t.carve()}},{name:"PList (binary)",extension:"bplist,plist,ipmeta,abcdp,mdbackup,mdinfo,strings,nib,ichat,qtz,webbookmark,webhistory",mime:"application/x-plist",description:"",signature:{0:98,1:112,2:108,3:105,4:115,5:116,6:48,7:48},extractor:null},{name:"MacOS X Keychain",extension:"keychain",mime:"application/octet-stream",description:"",signature:{0:107,1:121,2:99,3:104,4:0,5:1},extractor:function(A,e){var t=new gA(A.slice(e));return t.moveTo(20),t.moveForwardsBy(t.readInt(4)),t.carve()}},{name:"TCP Packet",extension:"tcp",mime:"application/tcp",description:"",signature:{12:8,13:0,14:69,15:0,21:0,22:function(A){return A>=1&&A<=128},23:6},extractor:null},{name:"UDP Packet",extension:"udp",mime:"application/udp",description:"",signature:{12:8,13:0,14:69,15:0,16:[0,1,2,3,4,5],22:function(A){return A>=1&&A<=128},23:17},extractor:null},{name:"Compiled HTML",extension:"chm,chw,chi",mime:"application/vnd.ms-htmlhelp",description:"",signature:{0:73,1:84,2:83,3:70,4:3,5:0,6:0,7:0},extractor:null},{name:"Windows Password",extension:"pwl",mime:"application/octet-stream",description:"",signature:{0:227,1:130,2:133,3:150},extractor:null},{name:"Bitlocker recovery key",extension:"bitlocker",mime:"application/octet-stream",description:"",signature:{0:255,1:254,2:66,3:0,4:105,5:0,6:116,7:0,8:76,9:0,10:111,11:0,12:99,13:0,14:107,15:0,16:101,17:0,18:114,19:0,20:32,21:0},extractor:null},{name:"Certificate",extension:"cer,cat,p7b,p7c,p7m,p7s,swz,rsa,crl,crt,der",mime:"application/pkix-cert",description:"",signature:{0:48,1:130,4:[6,10,48]},extractor:null},{name:"Certificate",extension:"cat,swz,p7m",mime:"application/vnd.ms-pki.seccat",description:"",signature:{0:48,1:131,2:function(A){return 0!==A},5:6,6:9},extractor:null},{name:"PGP pubring",extension:"pkr,gpg",mime:"application/pgp-keys",description:"",signature:{0:153,1:1,2:[13,162],3:4},extractor:null},{name:"PGP secring",extension:"skr",mime:"application/pgp-keys",description:"",signature:[{0:149,1:1,2:207,3:4},{0:149,1:3,2:198,3:4},{0:149,1:5,2:134,3:4}],extractor:null},{name:"PGP Safe",extension:"pgd",mime:"application/pgp-keys",description:"",signature:{0:80,1:71,2:80,3:100,4:77,5:65,6:73,7:78,8:96,9:1,10:0},extractor:null},{name:"Task Scheduler",extension:"job",mime:"application/octet-stream",description:"",signature:{0:[0,1,2,3],1:[5,6],2:1,3:0,20:70,21:0},extractor:null},{name:"Windows Shortcut",extension:"lnk",mime:"application/x-ms-shortcut",description:"",signature:{0:76,1:0,2:0,3:0,4:1,5:20,6:2,7:0,8:0,9:0,10:0,11:0,12:192,13:0,14:0,15:0,16:0,17:0,18:0,19:70},extractor:function(A,e){var t=new gA(A.slice(e));return t.moveTo(52),t.moveTo(t.readInt(4,"le")),t.carve()}},{name:"Bash",extension:"bash",mime:"application/bash",description:"",signature:{0:35,1:33,2:47,3:98,4:105,5:110,6:47,7:98,8:97,9:115,10:104},extractor:null},{name:"Shell",extension:"sh",mime:"application/sh",description:"",signature:{0:35,1:33,2:47,3:98,4:105,5:110,6:47,7:115,8:104},extractor:null},{name:"Python",extension:"py,pyc,pyd,pyo,pyw,pyz",mime:"application/python",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:112,12:121,13:116,14:104,15:111,16:110,17:[50,51,10,13]},extractor:null},{name:"Ruby",extension:"rb",mime:"application/ruby",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:114,12:117,13:98,14:121},extractor:null},{name:"perl",extension:"pl,pm,t,pod",mime:"application/perl",description:"",signature:{0:35,1:33,2:47,3:117,4:115,5:114,6:47,7:98,8:105,9:110,10:47,11:112,12:101,13:114,14:108},extractor:null},{name:"php",extension:"php,phtml,php3,php4,php5,php7,phps,php-s,pht,phar",mime:"application/php",description:"",signature:{0:60,1:63,2:112,3:104,4:112},extractor:null},{name:"Smile",extension:"sml",mime:"\tapplication/x-jackson-smile",description:"",signature:{0:58,1:41,2:10},extractor:null},{name:"Lua Bytecode",extension:"luac",mime:"application/x-lua",description:"",signature:{0:27,1:76,2:117,3:97},extractor:null},{name:"WebAssembly binary",extension:"wasm",mime:"application/octet-stream",description:"",signature:{0:0,1:97,2:115,3:109},extractor:null}]};function aA(A,e){var t=new gA(A.slice(e));t.continueUntil([80,75,5,6]),t.moveForwardsBy(20);var I=t.readInt(2,"le");return t.moveForwardsBy(I),t.carve()}function CA(A,e){var t="207250237254",I=new gA(A.slice(e)),r=I.getBytes(4).join("");return I.moveTo(function(A,e,t){var I=28;e&&(I+=4),A.moveTo(16);var r=A.readInt(4,t);return function(A,e,t,I){for(var r=0,g=0;g0&&A.moveForwardsBy(1)}var uA=[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],fA=[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];function lA(A,e,t){for(var I,r=0;(I=pA(A,e))&&256!==I;){if(++r>1e4)throw new Error("Caught in probable infinite loop while parsing Huffman Block");I<256||(A.readBits(uA[I-257],"le"),I=pA(A,t),A.readBits(fA[I],"le"))}}function yA(A){for(var e=Math.max.apply(Math,A),t=Math.min.apply(Math,A),I=1<>=1;for(var s=g<<16|o,E=a;E>>16;if(n>g)throw new Error(`Invalid Huffman Code length while parsing DEFLATE block at pos ${A.position}: ${n}`);return A.moveBackwardsByBits(g-n),65535&i}function wA(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(A.length){for(var I=0;I2&&void 0!==arguments[2]?arguments[2]:0;for(var I in A){var r=parseInt(I,10)+t;switch(typeof A[I]){case"number":if(e[r]!==A[I])return!1;break;case"object":if(A[I].indexOf(e[r])<0)return!1;break;case"function":if(!A[I](e[r]))return!1;break;default:throw new Error(`Unrecognised signature type at offset ${I}`)}}return!0}const FA=function(){return n((function A(){I(this,A)}),null,[{key:"checkForValue",value:function(A){if(void 0===A)throw new Error("only use translation methods with .bind")}},{key:"toArrayBuffer",value:function(){throw new Error("toArrayBuffer has not been implemented")}},{key:"fromArrayBuffer",value:function(){throw new Error("fromArrayBuffer has not been implemented")}}])}();function DA(A,e,t){return e=a(e),o(A,SA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function SA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(SA=function(){return!!A})()}const mA=function(A){function e(){return I(this,e),DA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){e.checkForValue(this.value),this.value=new Uint8Array(this.value).buffer}},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value),this.value=Array.prototype.slice.call(new Uint8Array(this.value))}}])}(FA);function UA(A,e,t){return e=a(e),o(A,kA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function kA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(kA=function(){return!!A})()}const GA=function(A){function e(){return I(this,e),UA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){e.checkForValue(this.value),this.value=rA.isBigNumber(this.value)?Y.strToArrayBuffer(this.value.toFixed()):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value);try{this.value=new rA(Y.arrayBufferToStr(this.value))}catch(A){this.value=new rA(NaN)}}}])}(FA);function vA(A,e,t){return e=a(e),o(A,bA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function bA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(bA=function(){return!!A})()}const MA=function(A){function e(){return I(this,e),vA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){var A=this;if(e.checkForValue(this.value),!b())return new Promise((function(e,t){Y.readFile(A.value).then((function(e){return A.value=e.buffer})).then(e).catch(t)}));this.value=Y.readFileSync(this.value)}},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value),this.value=new File(this.value,"unknown")}}])}(FA);function RA(A,e,t){return e=a(e),o(A,YA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function YA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(YA=function(){return!!A})()}const NA=function(A){function e(){return I(this,e),RA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){e.checkForValue(this.value),this.value=this.value?Y.strToArrayBuffer(this.value):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value),this.value=this.value?Y.arrayBufferToStr(this.value):""}}])}(FA);function LA(A,e,t){return e=a(e),o(A,HA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function HA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(HA=function(){return!!A})()}const JA=function(A){function e(){return I(this,e),LA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){e.checkForValue(this.value),this.value=this.value?Y.strToArrayBuffer(Y.unescapeHtml(Y.stripHtmlTags(this.value,!0))):new ArrayBuffer}}])}(NA);function qA(A,e,t){return e=a(e),o(A,KA()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function KA(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(KA=function(){return!!A})()}const TA=function(A){function e(){return I(this,e),qA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:function(){e.checkForValue(this.value),this.value=void 0!==this.value?Y.strToArrayBuffer(JSON.stringify(this.value,null,4)):new ArrayBuffer}},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value),this.value=JSON.parse(Y.arrayBufferToStr(this.value))}}])}(FA);function xA(A,e,t){return e=a(e),o(A,_A()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function _A(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(_A=function(){return!!A})()}const VA=function(A){function e(){return I(this,e),xA(this,e,arguments)}return B(e,A),n(e,null,[{key:"toArrayBuffer",value:(r=E(Q().mark((function A(){return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(e.checkForValue(this.value),!b()){A.next=5;break}this.value=this.value.map((function(A){return Uint8Array.from(A.data)})),A.next=8;break;case 5:return A.next=7,e.concatenateTypedArraysWithTypedElements.apply(e,c(this.value));case 7:this.value=A.sent;case 8:case"end":return A.stop()}}),A,this)}))),function(){return r.apply(this,arguments)})},{key:"fromArrayBuffer",value:function(){e.checkForValue(this.value),this.value=[new File(this.value,"unknown")]}},{key:"concatenateTypedArraysWithTypedElements",value:(t=E(Q().mark((function A(){var e,t,I,r,g,i,n,o,a,C,B,s,E,h=arguments;return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:for(e=0,t=h.length,I=new Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(I(this,A),this.value=new ArrayBuffer(0),this.type=A.ARRAY_BUFFER,e&&Object.prototype.hasOwnProperty.call(e,"value")&&Object.prototype.hasOwnProperty.call(e,"type"))this.set(e.value,e.type);else if(e&&null!==t)this.set(e,t);else if(e){var r=A.typeEnum(e.constructor.name);this.set(e,r)}}return n(A,[{key:"get",value:function(e){var t=this;return"string"==typeof e&&(e=A.typeEnum(e)),this.type!==e?b()?(this._translate(e),this.value):new Promise((function(A,I){t._translate(e).then((function(){A(t.value)})).catch(I)})):this.value}},{key:"set",value:function(e,t){if("string"==typeof t&&(t=A.typeEnum(t)),f().debug("Dish type: "+A.enumLookup(t)),this.value=e,this.type=t,!this.valid()){var I=Y.truncate(JSON.stringify(this.value),25);throw new H(`Data is not a valid ${A.enumLookup(t)}: ${I}`)}}},{key:"presentAs",value:function(A){return this.clone().get(A)}},{key:"detectDishType",value:function(){var A=function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(oA);if(A instanceof ArrayBuffer&&(A=new Uint8Array(A)),!(A&&A.length>1))return[];var t=[],I={};for(var r in oA)e.includes(r)&&(I[r]=oA[r]);for(var g in I)I[g].forEach((function(e){wA(e.signature,A)&&t.push(e)}));return t}(new Uint8Array(this.value.slice(0,2048)));return A.length&&A[0].mime&&"text/plain"===A[0].mime?A[0].mime:null}},{key:"getTitle",value:(e=E(Q().mark((function e(t){var I,r;return Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I="",e.t0=this.type,e.next=e.t0===A.FILE?4:e.t0===A.LIST_FILE?6:e.t0===A.JSON?8:e.t0===A.NUMBER||e.t0===A.BIG_NUMBER?10:e.t0===A.ARRAY_BUFFER||e.t0===A.BYTE_ARRAY?12:15;break;case 4:return I=this.value.name,e.abrupt("break",26);case 6:return I=`${this.value.length} file(s)`,e.abrupt("break",26);case 8:return I="application/json",e.abrupt("break",26);case 10:return I=this.value.toString(),e.abrupt("break",26);case 12:if(null===(I=this.detectDishType())){e.next=15;break}return e.abrupt("break",26);case 15:return e.prev=15,(r=this.clone()).value=r.value.slice(0,256),e.next=20,r.get(A.STRING);case 20:I=e.sent,e.next=26;break;case 23:e.prev=23,e.t1=e.catch(15),f().error(`${A.enumLookup(this.type)} cannot be sliced. ${e.t1}`);case 26:return e.abrupt("return",I.slice(0,t));case 27:case"end":return e.stop()}}),e,this,[[15,23]])}))),function(A){return e.apply(this,arguments)})},{key:"valid",value:function(){switch(this.type){case A.BYTE_ARRAY:if(!(this.value instanceof Uint8Array||this.value instanceof Array))return!1;for(var e=0;e255)return!1;return!0;case A.STRING:case A.HTML:return"string"==typeof this.value;case A.NUMBER:return"number"==typeof this.value;case A.ARRAY_BUFFER:return this.value instanceof ArrayBuffer;case A.BIG_NUMBER:if(rA.isBigNumber(this.value))return!0;if(Object.keys(this.value).sort().equals(["c","e","s"])){var t=new rA;return t.c=this.value.c,t.e=this.value.e,t.s=this.value.s,this.value=t,!0}return!1;case A.JSON:return!0;case A.FILE:return this.value instanceof File;case A.LIST_FILE:return this.value instanceof Array&&this.value.reduce((function(A,e){return A&&e instanceof File}),!0);default:return!1}}},{key:"size",get:function(){switch(this.type){case A.BYTE_ARRAY:case A.STRING:case A.HTML:return this.value.length;case A.NUMBER:case A.BIG_NUMBER:return this.value.toString().length;case A.ARRAY_BUFFER:return this.value.byteLength;case A.JSON:return JSON.stringify(this.value).length;case A.FILE:return this.value.size;case A.LIST_FILE:return this.value.reduce((function(A,e){return A+e.size}),0);default:return-1}}},{key:"clone",value:function(){var e=new A;switch(this.type){case A.STRING:case A.HTML:case A.NUMBER:case A.BIG_NUMBER:e.set(this.value,this.type);break;case A.BYTE_ARRAY:case A.JSON:e.set(JSON.parse(JSON.stringify(this.value)),this.type);break;case A.ARRAY_BUFFER:e.set(this.value.slice(0),this.type);break;case A.FILE:e.set(new File([this.value],this.value.name,{type:this.value.type,lastModified:this.value.lastModified}),this.type);break;case A.LIST_FILE:e.set(this.value.map((function(A){return new File([A],A.name,{type:A.type,lastModified:A.lastModified})})),this.type);break;default:throw new H("Cannot clone Dish, unknown type")}return e}},{key:"_translate",value:function(e){var t=this;if(f().debug(`Translating Dish from ${A.enumLookup(this.type)} to ${A.enumLookup(e)}`),!b())return new Promise((function(I,r){t._toArrayBuffer().then((function(){return t.type=A.ARRAY_BUFFER})).then((function(){t._fromArrayBuffer(e),I()})).catch(r)}));this._toArrayBuffer(),this.type=A.ARRAY_BUFFER,this._fromArrayBuffer(e)}},{key:"_toArrayBuffer",value:function(){var e=this,t={browser:{[A.STRING]:function(){return Promise.resolve(NA.toArrayBuffer.bind(e)())},[A.NUMBER]:function(){return Promise.resolve(PA.toArrayBuffer.bind(e)())},[A.HTML]:function(){return Promise.resolve(JA.toArrayBuffer.bind(e)())},[A.ARRAY_BUFFER]:function(){return Promise.resolve()},[A.BIG_NUMBER]:function(){return Promise.resolve(GA.toArrayBuffer.bind(e)())},[A.JSON]:function(){return Promise.resolve(TA.toArrayBuffer.bind(e)())},[A.FILE]:function(){return MA.toArrayBuffer.bind(e)()},[A.LIST_FILE]:function(){return Promise.resolve(VA.toArrayBuffer.bind(e)())},[A.BYTE_ARRAY]:function(){return Promise.resolve(mA.toArrayBuffer.bind(e)())}},node:{[A.STRING]:function(){return NA.toArrayBuffer.bind(e)()},[A.NUMBER]:function(){return PA.toArrayBuffer.bind(e)()},[A.HTML]:function(){return JA.toArrayBuffer.bind(e)()},[A.ARRAY_BUFFER]:function(){},[A.BIG_NUMBER]:function(){return GA.toArrayBuffer.bind(e)()},[A.JSON]:function(){return TA.toArrayBuffer.bind(e)()},[A.FILE]:function(){return MA.toArrayBuffer.bind(e)()},[A.LIST_FILE]:function(){return VA.toArrayBuffer.bind(e)()},[A.BYTE_ARRAY]:function(){return mA.toArrayBuffer.bind(e)()}}};try{return t[b()?"node":"browser"][this.type]()}catch(e){throw new H(`Error translating from ${A.enumLookup(this.type)} to ArrayBuffer: ${e}`)}}},{key:"_fromArrayBuffer",value:function(e){var t=this,I={[A.STRING]:function(){return NA.fromArrayBuffer.bind(t)()},[A.NUMBER]:function(){return PA.fromArrayBuffer.bind(t)()},[A.HTML]:function(){return JA.fromArrayBuffer.bind(t)()},[A.ARRAY_BUFFER]:function(){},[A.BIG_NUMBER]:function(){return GA.fromArrayBuffer.bind(t)()},[A.JSON]:function(){return TA.fromArrayBuffer.bind(t)()},[A.FILE]:function(){return MA.fromArrayBuffer.bind(t)()},[A.LIST_FILE]:function(){return VA.fromArrayBuffer.bind(t)()},[A.BYTE_ARRAY]:function(){return mA.fromArrayBuffer.bind(t)()}};try{I[e](),this.type=e}catch(t){throw new H(`Error translating from ArrayBuffer to ${A.enumLookup(e)}: ${t}`)}}}],[{key:"typeEnum",value:function(e){switch(e.toLowerCase()){case"bytearray":case"byte array":return A.BYTE_ARRAY;case"string":return A.STRING;case"number":return A.NUMBER;case"html":return A.HTML;case"arraybuffer":case"array buffer":return A.ARRAY_BUFFER;case"bignumber":case"big number":return A.BIG_NUMBER;case"json":case"object":return A.JSON;case"file":return A.FILE;case"list":return A.LIST_FILE;default:throw new H("Invalid data type string. No matching enum.")}}},{key:"enumLookup",value:function(e){switch(e){case A.BYTE_ARRAY:return"byteArray";case A.STRING:return"string";case A.NUMBER:return"number";case A.HTML:return"html";case A.ARRAY_BUFFER:return"ArrayBuffer";case A.BIG_NUMBER:return"BigNumber";case A.JSON:return"JSON";case A.FILE:return"File";case A.LIST_FILE:return"List";default:throw new H("Invalid data type enum. No matching type.")}}}]);var e}();ZA.BYTE_ARRAY=0,ZA.STRING=1,ZA.NUMBER=2,ZA.HTML=3,ZA.ARRAY_BUFFER=4,ZA.BIG_NUMBER=5,ZA.JSON=6,ZA.FILE=7,ZA.LIST_FILE=8;const jA=ZA,XA=function(){function A(e){I(this,A),this.name="",this.type="",this._value=null,this.disabled=!1,this.hint="",this.rows=0,this.toggleValues=[],this.target=null,this.defaultIndex=0,this.maxLength=null,this.min=null,this.max=null,this.step=1,e&&this._parseConfig(e)}return n(A,[{key:"_parseConfig",value:function(A){this.name=A.name,this.type=A.type,this.defaultValue=A.value,this.disabled=!!A.disabled,this.hint=A.hint||!1,this.rows=A.rows||!1,this.toggleValues=A.toggleValues,this.target=void 0!==A.target?A.target:null,this.defaultIndex=void 0!==A.defaultIndex?A.defaultIndex:0,this.maxLength=A.maxLength||null,this.min=A.min,this.max=A.max,this.step=A.step}},{key:"config",get:function(){return this._value}},{key:"value",get:function(){return this._value},set:function(e){this._value=A.prepare(e,this.type)}}],[{key:"prepare",value:function(A,e){var t;switch(e){case"binaryString":case"binaryShortString":case"editableOption":case"editableOptionShort":return Y.parseEscapedChars(A);case"byteArray":return"string"==typeof A?S(A=A.replace(/\s+/g,"")):A;case"number":if(null===A)return A;if(t=parseFloat(A),isNaN(t))throw"Invalid ingredient value. Not a number: "+Y.truncate(A.toString(),10);return t;default:return A}}}])}();var zA=function(){return n((function A(){I(this,A),this._inputType=-1,this._outputType=-1,this._presentType=-1,this._breakpoint=!1,this._disabled=!1,this._flowControl=!1,this._manualBake=!1,this._ingList=[],this.name="",this.module="",this.description="",this.infoURL=null}),[{key:"run",value:function(A,e){return A}},{key:"highlight",value:function(A,e){return!1}},{key:"highlightReverse",value:function(A,e){return!1}},{key:"present",value:function(A,e){return A}},{key:"inputType",get:function(){return jA.enumLookup(this._inputType)},set:function(A){this._inputType=jA.typeEnum(A)}},{key:"outputType",get:function(){return jA.enumLookup(this._outputType)},set:function(A){this._outputType=jA.typeEnum(A),this._presentType<0&&(this._presentType=this._outputType)}},{key:"presentType",get:function(){return jA.enumLookup(this._presentType)},set:function(A){this._presentType=jA.typeEnum(A)}},{key:"args",get:function(){return this._ingList.map((function(A){var e={name:A.name,type:A.type,value:A.defaultValue};return A.toggleValues&&(e.toggleValues=A.toggleValues),A.hint&&(e.hint=A.hint),A.rows&&(e.rows=A.rows),A.disabled&&(e.disabled=A.disabled),A.target&&(e.target=A.target),A.defaultIndex&&(e.defaultIndex=A.defaultIndex),A.maxLength&&(e.maxLength=A.maxLength),"number"==typeof A.min&&(e.min=A.min),"number"==typeof A.max&&(e.max=A.max),A.step&&(e.step=A.step),e}))},set:function(A){var e=this;A.forEach((function(A){var t=new XA(A);e.addIngredient(t)}))}},{key:"config",get:function(){return{op:this.name,args:this._ingList.map((function(A){return A.config}))}}},{key:"addIngredient",value:function(A){this._ingList.push(A)}},{key:"ingValues",get:function(){return this._ingList.map((function(A){return A.value}))},set:function(A){var e=this;A.forEach((function(A,t){e._ingList[t].value=A}))}},{key:"breakpoint",get:function(){return this._breakpoint},set:function(A){this._breakpoint=!!A}},{key:"disabled",get:function(){return this._disabled},set:function(A){this._disabled=!!A}},{key:"flowControl",get:function(){return this._flowControl},set:function(A){this._flowControl=!!A}},{key:"manualBake",get:function(){return this._manualBake},set:function(A){this._manualBake=!!A}}])}();const $A=zA;var Ae=__webpack_require__(54958),ee=__webpack_require__.n(Ae);function te(A,e,t){return e=a(e),o(A,Ie()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function Ie(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(Ie=function(){return!!A})()}const re=function(A){function e(){var A;return I(this,e),(A=te(this,e)).name="Bzip2 Compress",A.module="Compression",A.description="Bzip2 is a compression library developed by Julian Seward (of GHC fame) that uses the Burrows-Wheeler algorithm. It only supports compressing single files and its compression is slow, however is more effective than Deflate (.gz & .zip).",A.infoURL="https://wikipedia.org/wiki/Bzip2",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Block size (100s of kb)",type:"number",value:9,min:1,max:9},{name:"Work factor",type:"number",value:30}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var I=t(e,2),r=I[0],g=I[1];if(A.byteLength<=0)throw new d("Please provide an input.");return R()&&self.sendStatusMessage("Loading Bzip2..."),new Promise((function(e,t){ee()().then((function(I){R()&&self.sendStatusMessage("Compressing data...");var i=new Uint8Array(A),n=I.compressBZ2(i,r,g);if(0!==n.error)t(new d(n.error_msg));else{var o=n.output;e(o.buffer.slice(o.byteOffset,o.byteLength+o.byteOffset))}}))}))}}])}($A);function ge(A,e,t){return e=a(e),o(A,ie()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function ie(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(ie=function(){return!!A})()}const ne=function(A){function e(){var A;return I(this,e),(A=ge(this,e)).name="Bzip2 Decompress",A.module="Compression",A.description="Decompresses data using the Bzip2 algorithm.",A.infoURL="https://wikipedia.org/wiki/Bzip2",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Use low-memory, slower decompression algorithm",type:"boolean",value:!1}],A.checks=[{pattern:"^\\x42\\x5a\\x68",flags:"",args:[]}],A}return B(e,A),n(e,[{key:"run",value:(r=E(Q().mark((function A(e,I){var r,g;return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(r=t(I,1),g=r[0],!(e.byteLength<=0)){A.next=3;break}throw new d("Please provide an input.");case 3:return R()&&self.sendStatusMessage("Loading Bzip2..."),A.abrupt("return",new Promise((function(A,t){ee()().then((function(I){R()&&self.sendStatusMessage("Decompressing data...");var r=new Uint8Array(e),i=I.decompressBZ2(r,g?1:0);if(0!==i.error)t(new d(i.error_msg));else{var n=i.output;A(n.buffer.slice(n.byteOffset,n.byteLength+n.byteOffset))}}))})));case 5:case"end":return A.stop()}}),A)}))),function(A,e){return r.apply(this,arguments)})}]);var r}($A);var oe=__webpack_require__(20602);function ae(A,e,t){return e=a(e),o(A,Ce()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function Ce(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(Ce=function(){return!!A})()}var Be=__webpack_require__.n(oe)().Zlib;const se=function(A){function e(){var A;return I(this,e),(A=ae(this,e)).name="Gunzip",A.module="Compression",A.description="Decompresses data which has been compressed using the deflate algorithm with gzip headers.",A.infoURL="https://wikipedia.org/wiki/Gzip",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[],A.checks=[{pattern:"^\\x1f\\x8b\\x08",flags:"",args:[]}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Be.Gunzip(new Uint8Array(A));return new Uint8Array(t.decompress()).buffer}}])}($A);var Ee=__webpack_require__(8327),he=__webpack_require__.n(Ee),Qe=he().Zlib,ce=["Dynamic Huffman Coding","Fixed Huffman Coding","None (Store)"],ue=["Adaptive","Block"],fe={"Fixed Huffman Coding":Qe.Deflate.CompressionType.FIXED,"Dynamic Huffman Coding":Qe.Deflate.CompressionType.DYNAMIC,"None (Store)":Qe.Deflate.CompressionType.NONE},le=__webpack_require__(7295);function ye(A,e,t){return e=a(e),o(A,pe()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function pe(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(pe=function(){return!!A})()}var we=__webpack_require__.n(le)().Zlib;const de=function(A){function e(){var A;return I(this,e),(A=ye(this,e)).name="Gzip",A.module="Compression",A.description="Compresses data using the deflate algorithm with gzip headers.",A.infoURL="https://wikipedia.org/wiki/Gzip",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Compression type",type:"option",value:ce},{name:"Filename (optional)",type:"string",value:""},{name:"Comment (optional)",type:"string",value:""},{name:"Include file checksum",type:"boolean",value:!1}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=e[1],I=e[2],r={deflateOptions:{compressionType:fe[e[0]]},flags:{fhcrc:e[3]}};t.length&&(r.flags.fname=!0,r.filename=t),I.length&&(r.flags.comment=!0,r.comment=I);var g=new we.Gzip(new Uint8Array(A),r),i=new Uint8Array(g.compress());return!r.flags.comment||16&i[3]||(i[3]|=16),i.buffer}}])}($A);var Fe=__webpack_require__(95404);function De(A,e,t){return e=a(e),o(A,Se()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function Se(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(Se=function(){return!!A})()}const me=function(A){function e(){var A;return I(this,e),(A=De(this,e)).name="LZ4 Compress",A.module="Compression",A.description="LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 family of byte-oriented compression schemes.",A.infoURL="https://wikipedia.org/wiki/LZ4_(compression_algorithm)",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Uint8Array(A);return Fe.compress(t).buffer}}])}($A);function Ue(A,e,t){return e=a(e),o(A,ke()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function ke(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(ke=function(){return!!A})()}const Ge=function(A){function e(){var A;return I(this,e),(A=Ue(this,e)).name="LZ4 Decompress",A.module="Compression",A.description="LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 family of byte-oriented compression schemes.",A.infoURL="https://wikipedia.org/wiki/LZ4_(compression_algorithm)",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Uint8Array(A);return Fe.decompress(t).buffer}}])}($A);var ve=3,be="function"==typeof setImmediate?setImmediate:setTimeout,Me=4294967296,Re=[4294967295,-Me],Ye=[0,-0x8000000000000000],Ne=[0,0],Le=[1,0];function He(A,e){postMessage({action:ve,cbn:e,result:A})}function Je(A){var e=[];return e[A-1]=void 0,e}function qe(A,e){return xe(A[0]+e[0],A[1]+e[1])}function Ke(A,e){return t=Math.max(Math.min(A[1]/Me,2147483647),-2147483648)&Math.max(Math.min(e[1]/Me,2147483647),-2147483648),I=We(A)&We(e),r=I,I<0&&(r+=Me),[r,t*Me];var t,I,r}function Te(A,e){var t,I;return A[0]==e[0]&&A[1]==e[1]?0:(t=A[1]<0,I=e[1]<0,t&&!I?-1:!t&&I?1:je(A,e)[1]<0?-1:1)}function xe(A,e){var t,I;for(A%=0x10000000000000000,e=(e%=0x10000000000000000)-(t=e%Me)+(I=Math.floor(A/Me)*Me),A=A-I+t;A<0;)A+=Me,e-=Me;for(;A>4294967295;)A-=Me,e+=Me;for(e%=0x10000000000000000;e>0x7fffffff00000000;)e-=0x10000000000000000;for(;e<-0x8000000000000000;)e+=0x10000000000000000;return[A,e]}function _e(A,e){return A[0]==e[0]&&A[1]==e[1]}function Ve(A){return A>=0?[A,0]:[A+Me,-Me]}function We(A){return A[0]>=2147483648?~~Math.max(Math.min(A[0]-Me,2147483647),-2147483648):~~Math.max(Math.min(A[0],2147483647),-2147483648)}function Oe(A){return A<=30?1<=0x8000000000000000&&(I-=0x10000000000000000),[r-=t,I]}function Ze(A,e){var t;return t=Oe(e&=63),xe(Math.floor(A[0]/t),A[1]/t)}function je(A,e){return xe(A[0]-e[0],A[1]-e[1])}function Xe(A,e){return A.buf=e,A.pos=0,A.count=e.length,A}function ze(A){return A.pos>=A.count?-1:255&A.buf[A.pos++]}function $e(A,e,t,I){return A.pos>=A.count?-1:(I=Math.min(I,A.count-A.pos),rt(A.buf,A.pos,e,t,I),A.pos+=I,I)}function At(A){return A.buf=Je(32),A.count=0,A}function et(A){var e=A.buf;return e.length=A.count,e}function tt(A,e){A.buf[A.count++]=e<<24>>24}function It(A,e,t,I){rt(e,t,A.buf,A.count,I),A.count+=I}function rt(A,e,t,I,r){for(var g=0;g1<>24;for(var t=0;t<4;++t)A.properties[1+t]=A._dictionarySize>>8*t<<24>>24;It(e,A.properties,0,5)}(g,t),i=0;i<64;i+=8)tt(t,255&We(Ze(I,i)));A.chunker=(g._needReleaseMFStream=0,g._inStream=e,g._finished=0,function(A){var e,t;A._matchFinder||(e={},t=4,A._matchFinderType||(t=2),function(A,e){A.HASH_ARRAY=e>2,A.HASH_ARRAY?(A.kNumHashDirectBytes=0,A.kMinMatchCheck=4,A.kFixHashSize=66560):(A.kNumHashDirectBytes=2,A.kMinMatchCheck=3,A.kFixHashSize=0)}(e,t),A._matchFinder=e),function(A,e,t){var I,r;if(null==A.m_Coders||A.m_NumPrevBits!=t||A.m_NumPosBits!=e)for(A.m_NumPosBits=e,A.m_PosMask=(1<>1),function(A,e,t,I){var r;A._keepSizeBefore=e,A._keepSizeAfter=t,r=e+t+I,(null==A._bufferBase||A._blockSize!=r)&&(A._bufferBase=null,A._blockSize=r,A._bufferBase=Je(A._blockSize)),A._pointerToLastSafePosition=A._blockSize-t}(A,e+4096,I+274,256+~~((e+4096+I+274)/2)),A._matchMaxLen=I,g=e+1,A._cyclicBufferSize!=g&&(A._son=Je(2*(A._cyclicBufferSize=g))),i=65536,A.HASH_ARRAY&&(i=e-1,i|=i>>1,i|=i>>2,i|=i>>4,i|=i>>8,i>>=1,(i|=65535)>16777216&&(i>>=1),A._hashMask=i,i+=1,i+=A.kFixHashSize),i!=A._hashSizeSum&&(A._hash=Je(A._hashSizeSum=i)))}(A._matchFinder,A._dictionarySize,0,A._numFastBytes),A._dictionarySizePrev=A._dictionarySize,A._numFastBytesPrev=A._numFastBytes)}(g),g._rangeEncoder.Stream=t,function(A){(function(A){A._state=0,A._previousByte=0;for(var e=0;e<4;++e)A._repDistances[e]=0})(A),function(A){A._position=Ne,A.Low=Ne,A.Range=-1,A._cacheSize=1,A._cache=0}(A._rangeEncoder),nI(A._isMatch),nI(A._isRep0Long),nI(A._isRep),nI(A._isRepG0),nI(A._isRepG1),nI(A._isRepG2),nI(A._posEncoders),function(A){var e,t=1<>24}if(I=function(A){A.m_OutWindow={},A.m_RangeDecoder={},A.m_IsMatchDecoders=Je(192),A.m_IsRepDecoders=Je(12),A.m_IsRepG0Decoders=Je(12),A.m_IsRepG1Decoders=Je(12),A.m_IsRepG2Decoders=Je(12),A.m_IsRep0LongDecoders=Je(192),A.m_PosSlotDecoder=Je(4),A.m_PosDecoders=Je(114),A.m_PosAlignDecoder=Xt({},4),A.m_LenDecoder=Ft({}),A.m_RepLenDecoder=Ft({}),A.m_LiteralDecoder={};for(var e=0;e<4;++e)A.m_PosSlotDecoder[e]=Xt({},6);return A}({}),!function(A,e){var t,I,r,g,i,n,o;if(e.length<5)return 0;for(r=(o=255&e[0])%9,g=(n=~~(o/9))%5,i=~~(n/5),t=0,I=0;I<4;++I)t+=(255&e[1+I])<<8*I;return t>99999999||!function(A,e,t,I){if(e>8||t>4||I>4)return 0;!function(A,e,t){var I,r;if(null==A.m_Coders||A.m_NumPrevBits!=t||A.m_NumPosBits!=e)for(A.m_NumPosBits=e,A.m_PosMask=(1<4294967295?Re:Ve(i)),A.chunker=function(A,e,t,I){return A.m_RangeDecoder.Stream=e,ut(A.m_OutWindow),A.m_OutWindow._stream=t,function(A){A.m_OutWindow._streamPos=0,A.m_OutWindow._pos=0,nI(A.m_IsMatchDecoders),nI(A.m_IsRep0LongDecoders),nI(A.m_IsRepDecoders),nI(A.m_IsRepG0Decoders),nI(A.m_IsRepG1Decoders),nI(A.m_IsRepG2Decoders),nI(A.m_PosDecoders),function(A){var e,t;for(t=1<A._streamPos&&(I=A._streamPos-(A._pos+e)),++t,g=A._bufferOffset+A._pos+e,r=0;rA._pointerToLastSafePosition&&(A._posLimit=A._pointerToLastSafePosition-A._bufferOffset),void(A._streamEndWasReached=1);A._streamPos+=e,A._streamPos>=A._pos+A._keepSizeAfter&&(A._posLimit=A._streamPos-A._keepSizeAfter)}}function Bt(A,e){A._bufferOffset+=e,A._posLimit-=e,A._pos-=e,A._streamPos-=e}var st=function(){var A,e,t,I=[];for(A=0;A<256;++A){for(t=A,e=0;e<8;++e)1&t?(t>>>=1,t^=-306674912):t>>>=1;I[A]=t}return I}();function Et(A){var e;(A._cyclicBufferPos+=1)>=A._cyclicBufferSize&&(A._cyclicBufferPos=0),function(A){A._pos+=1,A._pos>A._posLimit&&(A._bufferOffset+A._pos>A._pointerToLastSafePosition&&function(A){var e,t,I;for((I=A._bufferOffset+A._pos-A._keepSizeBefore)>0&&--I,t=A._bufferOffset+A._streamPos-I,e=0;e=A._windowSize&&(A._pos=0),A._streamPos=A._pos)}function ct(A,e){var t=A._pos-e-1;return t<0&&(t+=A._windowSize),A._buffer[t]}function ut(A){Qt(A),A._stream=null}function ft(A){return(A-=2)<4?A:3}function lt(A){return A<4?0:A<10?A-3:A-6}function yt(A){if(!A.alive)throw new Error("bad state");if(A.encoder)throw new Error("No encoding");return function(A){var e=function(A){var e,t,I,r,g,i;if(i=We(A.nowPos64)&A.m_PosStateMask,iI(A.m_RangeDecoder,A.m_IsMatchDecoders,(A.state<<4)+i)){if(iI(A.m_RangeDecoder,A.m_IsRepDecoders,A.state))I=0,iI(A.m_RangeDecoder,A.m_IsRepG0Decoders,A.state)?(iI(A.m_RangeDecoder,A.m_IsRepG1Decoders,A.state)?(iI(A.m_RangeDecoder,A.m_IsRepG2Decoders,A.state)?(t=A.rep3,A.rep3=A.rep2):t=A.rep2,A.rep2=A.rep1):t=A.rep1,A.rep1=A.rep0,A.rep0=t):iI(A.m_RangeDecoder,A.m_IsRep0LongDecoders,(A.state<<4)+i)||(A.state=A.state<7?9:11,I=1),I||(I=dt(A.m_RepLenDecoder,A.m_RangeDecoder,i)+2,A.state=A.state<7?8:11);else if(A.rep3=A.rep2,A.rep2=A.rep1,A.rep1=A.rep0,I=2+dt(A.m_LenDecoder,A.m_RangeDecoder,i),A.state=A.state<7?7:10,(g=zt(A.m_PosSlotDecoder[ft(I)],A.m_RangeDecoder))>=4){if(r=(g>>1)-1,A.rep0=(2|1&g)<>>=1,I=A.Code-A.Range>>>31,A.Code-=A.Range&I-1,r=r<<1|1-I,-16777216&A.Range||(A.Code=A.Code<<8|ze(A.Stream),A.Range<<=8);return r}(A.m_RangeDecoder,r-4)<<4,A.rep0+=function(A,e){var t,I,r=1,g=0;for(I=0;I=0||A.rep0>=A.m_DictionarySizeCheck)return-1;!function(A,e,t){var I=A._pos-e-1;for(I<0&&(I+=A._windowSize);0!=t;t-=1)I>=A._windowSize&&(I=0),A._buffer[A._pos]=A._buffer[I],A._pos+=1,I+=1,A._pos>=A._windowSize&&Qt(A)}(A.m_OutWindow,A.rep0,I),A.nowPos64=qe(A.nowPos64,Ve(I)),A.prevByte=ct(A.m_OutWindow,0)}else e=function(A,e,t){return A.m_Coders[((e&A.m_PosMask)<>>8-A.m_NumPrevBits)]}(A.m_LiteralDecoder,We(A.nowPos64),A.prevByte),A.state<7?A.prevByte=function(A,e){var t=1;do{t=t<<1|iI(e,A.m_Decoders,t)}while(t<256);return t<<24>>24}(e,A.m_RangeDecoder):A.prevByte=function(A,e,t){var I,r,g=1;do{if(r=t>>7&1,t<<=1,g=g<<1|(I=iI(e,A.m_Decoders,(1+r<<8)+g)),r!=I){for(;g<256;)g=g<<1|iI(e,A.m_Decoders,g);break}}while(g<256);return g<<24>>24}(e,A.m_RangeDecoder,ct(A.m_OutWindow,A.rep0)),function(A,e){A._buffer[A._pos]=e,A._pos+=1,A._pos>=A._windowSize&&Qt(A)}(A.m_OutWindow,A.prevByte),A.state=lt(A.state),A.nowPos64=qe(A.nowPos64,Le);return 0}(A.decoder);if(-1==e)throw new Error("corrupted input");A.inBytesProcessed=Re,A.outBytesProcessed=A.decoder.nowPos64,(e||Te(A.decoder.outSize,Ne)>=0&&Te(A.decoder.nowPos64,A.decoder.outSize)>=0)&&(Qt(A.decoder.m_OutWindow),ut(A.decoder.m_OutWindow),A.decoder.m_RangeDecoder.Stream=null,A.alive=0)}(A),A.alive}function pt(A){if(!A.alive)throw new Error("bad state");if(!A.encoder)throw new Error("No decoding");return function(A){(function(A,e,t,I){var r,g,i,n,o,a,C,B,s,E,h,Q,c,u;if(e[0]=Ne,t[0]=Ne,I[0]=1,A._inStream&&(A._matchFinder._stream=A._inStream,function(A){A._bufferOffset=0,A._pos=0,A._streamPos=0,A._streamEndWasReached=0,Ct(A),A._cyclicBufferPos=0,Bt(A,-1)}(A._matchFinder),A._needReleaseMFStream=1,A._inStream=null),!A._finished){if(A._finished=1,c=A.nowPos64,_e(A.nowPos64,Ne)){if(!at(A._matchFinder))return void vt(A,We(A.nowPos64));Nt(A),Q=We(A.nowPos64)&A._posStateMask,aI(A._rangeEncoder,A._isMatch,(A._state<<4)+Q,0),A._state=lt(A._state),i=nt(A._matchFinder,-A._additionalOffset),Wt(Vt(A._literalEncoder,We(A.nowPos64),A._previousByte),A._rangeEncoder,i),A._previousByte=i,A._additionalOffset-=1,A.nowPos64=qe(A.nowPos64,Le)}if(at(A._matchFinder))for(;;){if(a=bt(A,We(A.nowPos64)),s=A.backRes,Q=We(A.nowPos64)&A._posStateMask,g=(A._state<<4)+Q,1==a&&-1==s)aI(A._rangeEncoder,A._isMatch,g,0),i=nt(A._matchFinder,-A._additionalOffset),u=Vt(A._literalEncoder,We(A.nowPos64),A._previousByte),A._state<7?Wt(u,A._rangeEncoder,i):(B=nt(A._matchFinder,-A._repDistances[0]-1-A._additionalOffset),Ot(u,A._rangeEncoder,B,i)),A._previousByte=i,A._state=lt(A._state);else{if(aI(A._rangeEncoder,A._isMatch,g,1),s<4){if(aI(A._rangeEncoder,A._isRep,A._state,1),s?(aI(A._rangeEncoder,A._isRepG0,A._state,1),1==s?aI(A._rangeEncoder,A._isRepG1,A._state,0):(aI(A._rangeEncoder,A._isRepG1,A._state,1),aI(A._rangeEncoder,A._isRepG2,A._state,s-2))):(aI(A._rangeEncoder,A._isRepG0,A._state,0),aI(A._rangeEncoder,A._isRep0Long,g,1==a?0:1)),1==a?A._state=A._state<7?9:11:(Kt(A._repMatchLenEncoder,A._rangeEncoder,a-2,Q),A._state=A._state<7?8:11),n=A._repDistances[s],0!=s){for(var f=s;f>=1;--f)A._repDistances[f]=A._repDistances[f-1];A._repDistances[0]=n}}else{for(aI(A._rangeEncoder,A._isRep,A._state,0),A._state=A._state<7?7:10,Kt(A._lenEncoder,A._rangeEncoder,a-2,Q),h=Ht(s-=4),C=ft(a),AI(A._posSlotEncoder[C],A._rangeEncoder,h),h>=4&&(E=s-(r=(2|1&h)<<(o=(h>>1)-1)),h<14?rI(A._posEncoders,r-h-1,A._rangeEncoder,o,E):(CI(A._rangeEncoder,E>>4,o-4),tI(A._posAlignEncoder,A._rangeEncoder,15&E),A._alignPriceCount+=1)),n=s,f=3;f>=1;--f)A._repDistances[f]=A._repDistances[f-1];A._repDistances[0]=n,A._matchPriceCount+=1}A._previousByte=nt(A._matchFinder,a-1-A._additionalOffset)}if(A._additionalOffset-=a,A.nowPos64=qe(A.nowPos64,Ve(a)),!A._additionalOffset){if(A._matchPriceCount>=128&&Gt(A),A._alignPriceCount>=16&&kt(A),e[0]=A.nowPos64,t[0]=BI(A._rangeEncoder),!at(A._matchFinder))return void vt(A,We(A.nowPos64));if(Te(je(A.nowPos64,c),[4096,0])>=0)return A._finished=0,void(I[0]=0)}}else vt(A,We(A.nowPos64))}})(A.encoder,A.encoder.processedInSize,A.encoder.processedOutSize,A.encoder.finished),A.inBytesProcessed=A.encoder.processedInSize[0],A.encoder.finished[0]&&(function(A){Lt(A),A._rangeEncoder.Stream=null}(A.encoder),A.alive=0)}(A),A.alive}function wt(A,e){for(;A.m_NumPosStates>=1,e=1,e<<=g-=1,A=0;A>24}return r}();function Ut(A,e){var t,I,r,g;A._optimumEndIndex=e,r=A._optimum[e].PosPrev,I=A._optimum[e].BackPrev;do{A._optimum[e].Prev1IsChar&&(jt(A._optimum[r]),A._optimum[r].PosPrev=r-1,A._optimum[e].Prev2&&(A._optimum[r-1].Prev1IsChar=0,A._optimum[r-1].PosPrev=A._optimum[e].PosPrev2,A._optimum[r-1].BackPrev=A._optimum[e].BackPrev2)),g=r,t=I,I=A._optimum[g].BackPrev,r=A._optimum[g].PosPrev,A._optimum[g].BackPrev=t,A._optimum[g].PosPrev=e,e=g}while(e>0);return A.backRes=A._optimum[0].BackPrev,A._optimumCurrentIndex=A._optimum[0].PosPrev,A._optimumCurrentIndex}function kt(A){for(var e=0;e<16;++e)A._alignPrices[e]=II(A._posAlignEncoder,e);A._alignPriceCount=0}function Gt(A){var e,t,I,r,g,i,n,o;for(r=4;r<128;++r)e=(2|1&(i=Ht(r)))<<(I=(i>>1)-1),A.tempPrices[r]=gI(A._posEncoders,e-i-1,I,r-e);for(g=0;g<4;++g){for(t=A._posSlotEncoder[g],n=g<<6,i=0;i>1)-1-4<<6;for(o=128*g,r=0;r<4;++r)A._distancesPrices[o+r]=A._posSlotPrices[n+r];for(;r<128;++r)A._distancesPrices[o+r]=A._posSlotPrices[n+Ht(r)]+A.tempPrices[r]}A._matchPriceCount=0}function vt(A,e){Lt(A),function(A,e){aI(A._rangeEncoder,A._isMatch,(A._state<<4)+e,1),aI(A._rangeEncoder,A._isRep,A._state,0),A._state=A._state<7?7:10,Kt(A._lenEncoder,A._rangeEncoder,0,e);var t=ft(2);AI(A._posSlotEncoder[t],A._rangeEncoder,63),CI(A._rangeEncoder,67108863,26),tI(A._posAlignEncoder,A._rangeEncoder,15)}(A,e&A._posStateMask);for(var t=0;t<5;++t)sI(A._rangeEncoder)}function bt(A,e){var t,I,r,g,i,n,o,a,C,B,s,E,h,Q,c,u,f,l,y,p,w,d,F,D,S,m,U,k,G,v,b,M,R,Y,N,L,H,J,q,K,T,x,_,V;if(A._optimumEndIndex!=A._optimumCurrentIndex)return h=A._optimum[A._optimumCurrentIndex].PosPrev-A._optimumCurrentIndex,A.backRes=A._optimum[A._optimumCurrentIndex].BackPrev,A._optimumCurrentIndex=A._optimum[A._optimumCurrentIndex].PosPrev,h;if(A._optimumCurrentIndex=A._optimumEndIndex=0,A._longestMatchWasFound?(E=A._longestMatchLength,A._longestMatchWasFound=0):E=Nt(A),m=A._numDistancePairs,(D=at(A._matchFinder)+1)<2)return A.backRes=-1,1;for(D>273&&(D=273),q=0,C=0;C<4;++C)A.reps[C]=A._repDistances[C],A.repLens[C]=ot(A._matchFinder,-1,A.reps[C],273),A.repLens[C]>A.repLens[q]&&(q=C);if(A.repLens[q]>=A._numFastBytes)return A.backRes=q,Yt(A,(h=A.repLens[q])-1),h;if(E>=A._numFastBytes)return A.backRes=A._matchDistances[m-1]+4,Yt(A,E-1),E;if(o=nt(A._matchFinder,-1),f=nt(A._matchFinder,-A._repDistances[0]-1-1),E<2&&o!=f&&A.repLens[q]<2)return A.backRes=-1,1;if(A._optimum[0].State=A._state,R=e&A._posStateMask,A._optimum[1].Price=oI[A._isMatch[(A._state<<4)+R]>>>2]+Zt(Vt(A._literalEncoder,e,A._previousByte),A._state>=7,f,o),jt(A._optimum[1]),J=(l=oI[2048-A._isMatch[(A._state<<4)+R]>>>2])+oI[2048-A._isRep[A._state]>>>2],f==o&&(K=J+function(A,e,t){return oI[A._isRepG0[e]>>>2]+oI[A._isRep0Long[(e<<4)+t]>>>2]}(A,A._state,R),K=A.repLens[q]?E:A.repLens[q])<2)return A.backRes=A._optimum[1].BackPrev,1;A._optimum[1].PosPrev=0,A._optimum[0].Backs0=A.reps[0],A._optimum[0].Backs1=A.reps[1],A._optimum[0].Backs2=A.reps[2],A._optimum[0].Backs3=A.reps[3],B=s;do{A._optimum[B].Price=268435455,B-=1}while(B>=2);for(C=0;C<4;++C)if(!((H=A.repLens[C])<2)){N=J+Rt(A,C,A._state,R);do{(g=N+xt(A._repMatchLenEncoder,H-2,R))<(v=A._optimum[H]).Price&&(v.Price=g,v.PosPrev=0,v.BackPrev=C,v.Prev1IsChar=0)}while((H-=1)>=2)}if(F=l+oI[A._isRep[A._state]>>>2],(B=A.repLens[0]>=2?A.repLens[0]+1:2)<=E){for(U=0;B>A._matchDistances[U];)U+=2;for(;(g=F+Mt(A,a=A._matchDistances[U+1],B,R))<(v=A._optimum[B]).Price&&(v.Price=g,v.PosPrev=0,v.BackPrev=a+4,v.Prev1IsChar=0),B!=A._matchDistances[U]||(U+=2)!=m;B+=1);}for(t=0;;){if(++t==s)return Ut(A,t);if(y=Nt(A),m=A._numDistancePairs,y>=A._numFastBytes)return A._longestMatchLength=y,A._longestMatchWasFound=1,Ut(A,t);if(e+=1,M=A._optimum[t].PosPrev,A._optimum[t].Prev1IsChar?(M-=1,A._optimum[t].Prev2?(x=A._optimum[A._optimum[t].PosPrev2].State,x=A._optimum[t].BackPrev2<4?x<7?8:11:x<7?7:10):x=A._optimum[M].State,x=lt(x)):x=A._optimum[M].State,M==t-1?x=A._optimum[t].BackPrev?lt(x):x<7?9:11:(A._optimum[t].Prev1IsChar&&A._optimum[t].Prev2?(M=A._optimum[t].PosPrev2,b=A._optimum[t].BackPrev2,x=x<7?8:11):x=(b=A._optimum[t].BackPrev)<4?x<7?8:11:x<7?7:10,G=A._optimum[M],b<4?b?1==b?(A.reps[0]=G.Backs1,A.reps[1]=G.Backs0,A.reps[2]=G.Backs2,A.reps[3]=G.Backs3):2==b?(A.reps[0]=G.Backs2,A.reps[1]=G.Backs0,A.reps[2]=G.Backs1,A.reps[3]=G.Backs3):(A.reps[0]=G.Backs3,A.reps[1]=G.Backs0,A.reps[2]=G.Backs1,A.reps[3]=G.Backs2):(A.reps[0]=G.Backs0,A.reps[1]=G.Backs1,A.reps[2]=G.Backs2,A.reps[3]=G.Backs3):(A.reps[0]=b-4,A.reps[1]=G.Backs0,A.reps[2]=G.Backs1,A.reps[3]=G.Backs2)),A._optimum[t].State=x,A._optimum[t].Backs0=A.reps[0],A._optimum[t].Backs1=A.reps[1],A._optimum[t].Backs2=A.reps[2],A._optimum[t].Backs3=A.reps[3],n=A._optimum[t].Price,o=nt(A._matchFinder,-1),f=nt(A._matchFinder,-A.reps[0]-1-1),R=e&A._posStateMask,p=0,(I=n+oI[A._isMatch[(x<<4)+R]>>>2]+Zt(Vt(A._literalEncoder,e,nt(A._matchFinder,-2)),x>=7,f,o))<(w=A._optimum[t+1]).Price&&(w.Price=I,w.PosPrev=t,w.BackPrev=-1,w.Prev1IsChar=0,p=1),J=(l=n+oI[2048-A._isMatch[(x<<4)+R]>>>2])+oI[2048-A._isRep[x]>>>2],f!=o||w.PosPrev>>2]+oI[A._isRep0Long[(x<<4)+R]>>>2]))<=w.Price&&(w.Price=K,w.PosPrev=t,w.BackPrev=0,w.Prev1IsChar=0,p=1),!((D=S=4095-t<(S=at(A._matchFinder)+1)?4095-t:S)<2)){if(D>A._numFastBytes&&(D=A._numFastBytes),!p&&f!=o&&(V=Math.min(S-1,A._numFastBytes),(c=ot(A._matchFinder,0,A.reps[0],V))>=2)){for(_=lt(x),Y=e+1&A._posStateMask,d=I+oI[2048-A._isMatch[(_<<4)+Y]>>>2]+oI[2048-A._isRep[_]>>>2],k=t+1+c;s=2);if(Q=u,L||(T=Q+1),Q=2)){for(_=x<7?8:11,Y=e+Q&A._posStateMask,r=J+(xt(A._repMatchLenEncoder,Q-2,R)+Rt(A,L,x,R))+oI[A._isMatch[(_<<4)+Y]>>>2]+Zt(Vt(A._literalEncoder,e+Q,nt(A._matchFinder,Q-1-1)),1,nt(A._matchFinder,Q-1-(A.reps[L]+1)),nt(A._matchFinder,Q-1)),_=lt(_),Y=e+Q+1&A._posStateMask,d=r+oI[2048-A._isMatch[(_<<4)+Y]>>>2]+oI[2048-A._isRep[_]>>>2],k=Q+1+c;sD){for(y=D,m=0;y>A._matchDistances[m];m+=2);A._matchDistances[m]=y,m+=2}if(y>=T){for(F=l+oI[A._isRep[x]>>>2];sA._matchDistances[U];)U+=2;for(Q=T;;Q+=1)if((g=F+Mt(A,i=A._matchDistances[U+1],Q,R))<(v=A._optimum[t+Q]).Price&&(v.Price=g,v.PosPrev=t,v.BackPrev=i+4,v.Prev1IsChar=0),Q==A._matchDistances[U]){if(Q=2)){for(_=x<7?7:10,Y=e+Q&A._posStateMask,r=g+oI[A._isMatch[(_<<4)+Y]>>>2]+Zt(Vt(A._literalEncoder,e+Q,nt(A._matchFinder,Q-1-1)),1,nt(A._matchFinder,Q-(i+1)-1),nt(A._matchFinder,Q-1)),_=lt(_),Y=e+Q+1&A._posStateMask,d=r+oI[2048-A._isMatch[(_<<4)+Y]>>>2]+oI[2048-A._isRep[_]>>>2],k=Q+1+c;s>6]+12:A<134217728?mt[A>>16]+32:mt[A>>26]+52}(e)]+A._alignPrices[15&e])+xt(A._lenEncoder,t-2,I)}function Rt(A,e,t,I){var r;return e?(r=oI[2048-A._isRepG0[t]>>>2],1==e?r+=oI[A._isRepG1[t]>>>2]:(r+=oI[2048-A._isRepG1[t]>>>2],r+=EI(A._isRepG2[t],e-2))):(r=oI[A._isRepG0[t]>>>2],r+=oI[2048-A._isRep0Long[(t<<4)+I]>>>2]),r}function Yt(A,e){e>0&&(function(A,e){var t,I,r,g,i,n,o,a,C,B,s,E,h,Q,c,u,f;do{if(A._pos+A._matchMaxLen<=A._streamPos)E=A._matchMaxLen;else if((E=A._streamPos-A._pos)A._cyclicBufferSize?A._pos-A._cyclicBufferSize:0,I=A._bufferOffset+A._pos,A.HASH_ARRAY?(n=1023&(f=st[255&A._bufferBase[I]]^255&A._bufferBase[I+1]),A._hash[n]=A._pos,o=65535&(f^=(255&A._bufferBase[I+2])<<8),A._hash[1024+o]=A._pos,a=(f^st[255&A._bufferBase[I+3]]<<5)&A._hashMask):a=255&A._bufferBase[I]^(255&A._bufferBase[I+1])<<8,r=A._hash[A.kFixHashSize+a],A._hash[A.kFixHashSize+a]=A._pos,c=1+(A._cyclicBufferPos<<1),u=A._cyclicBufferPos<<1,B=s=A.kNumHashDirectBytes,t=A._cutValue;;){if(r<=h||0==t){t-=1,A._son[c]=A._son[u]=0;break}if(g=((i=A._pos-r)<=A._cyclicBufferPos?A._cyclicBufferPos-i:A._cyclicBufferPos-i+A._cyclicBufferSize)<<1,Q=A._bufferOffset+r,C=BA._cyclicBufferSize?A._pos-A._cyclicBufferSize:0,I=A._bufferOffset+A._pos,u=1,a=0,C=0,A.HASH_ARRAY?(a=1023&(w=st[255&A._bufferBase[I]]^255&A._bufferBase[I+1]),C=65535&(w^=(255&A._bufferBase[I+2])<<8),B=(w^st[255&A._bufferBase[I+3]]<<5)&A._hashMask):B=255&A._bufferBase[I]^(255&A._bufferBase[I+1])<<8,r=A._hash[A.kFixHashSize+B]||0,A.HASH_ARRAY&&(g=A._hash[a]||0,i=A._hash[1024+C]||0,A._hash[a]=A._pos,A._hash[1024+C]=A._pos,g>c&&A._bufferBase[A._bufferOffset+g]==A._bufferBase[I]&&(e[f++]=u=2,e[f++]=A._pos-g-1),i>c&&A._bufferBase[A._bufferOffset+i]==A._bufferBase[I]&&(i==g&&(f-=2),e[f++]=u=3,e[f++]=A._pos-i-1,g=i),0!=f&&g==r&&(f-=2,u=1)),A._hash[A.kFixHashSize+B]=A._pos,y=1+(A._cyclicBufferPos<<1),p=A._cyclicBufferPos<<1,E=h=A.kNumHashDirectBytes,0!=A.kNumHashDirectBytes&&r>c&&A._bufferBase[A._bufferOffset+r+A.kNumHashDirectBytes]!=A._bufferBase[I+A.kNumHashDirectBytes]&&(e[f++]=u=A.kNumHashDirectBytes,e[f++]=A._pos-r-1),t=A._cutValue;;){if(r<=c||0==t){t-=1,A._son[y]=A._son[p]=0;break}if(n=((o=A._pos-r)<=A._cyclicBufferPos?A._cyclicBufferPos-o:A._cyclicBufferPos-o+A._cyclicBufferSize)<<1,l=A._bufferOffset+r,s=E0&&(e=A._matchDistances[A._numDistancePairs-2])==A._numFastBytes&&(e+=ot(A._matchFinder,e-1,A._matchDistances[A._numDistancePairs-1],273-e)),A._additionalOffset+=1,e}function Lt(A){A._matchFinder&&A._needReleaseMFStream&&(A._matchFinder._stream=null,A._needReleaseMFStream=0)}function Ht(A){return A<2048?mt[A]:A<2097152?mt[A>>10]+20:mt[A>>20]+40}function Jt(A,e){nI(A._choice);for(var t=0;t>>2],n=(i=oI[2048-A._choice[0]>>>2])+oI[A._choice[1]>>>2],o=i+oI[2048-A._choice[1]>>>2],a=0,a=0;a<8;++a){if(a>=t)return;I[r+a]=g+eI(A._lowCoder[e],a)}for(;a<16;++a){if(a>=t)return;I[r+a]=n+eI(A._midCoder[e],a-8)}for(;a>>8-A.m_NumPrevBits)]}function Wt(A,e,t){var I,r,g=1;for(r=7;r>=0;--r)I=t>>r&1,aI(e,A.m_Encoders,g,I),g=g<<1|I}function Ot(A,e,t,I){var r,g,i,n,o=1,a=1;for(g=7;g>=0;--g)r=I>>g&1,n=a,o&&(n+=1+(i=t>>g&1)<<8,o=i==r),aI(e,A.m_Encoders,n,r),a=a<<1|r}function Pt(A){return A.m_Encoders=Je(768),A}function Zt(A,e,t,I){var r,g,i=1,n=7,o=0;if(e)for(;n>=0;--n)if(g=t>>n&1,r=I>>n&1,o+=EI(A.m_Encoders[(1+g<<8)+i],r),i=i<<1|r,g!=r){--n;break}for(;n>=0;--n)r=I>>n&1,o+=EI(A.m_Encoders[i],r),i=i<<1|r;return o}function jt(A){A.BackPrev=-1,A.Prev1IsChar=0}function Xt(A,e){return A.NumBitLevels=e,A.Models=Je(1<>>(r-=1)&1,aI(e,A.Models,g,I),g=g<<1|I}function eI(A,e){var t,I,r=1,g=0;for(I=A.NumBitLevels;0!=I;)t=e>>>(I-=1)&1,g+=EI(A.Models[r],t),r=(r<<1)+t;return g}function tI(A,e,t){var I,r,g=1;for(r=0;r>=1}function II(A,e){var t,I,r=1,g=0;for(I=A.NumBitLevels;0!=I;I-=1)t=1&e,e>>>=1,g+=EI(A.Models[r],t),r=r<<1|t;return g}function rI(A,e,t,I,r){var g,i,n=1;for(i=0;i>=1}function gI(A,e,t,I){var r,g,i=1,n=0;for(g=t;0!=g;g-=1)r=1&I,I>>>=1,n+=oI[(2047&(A[e+i]-r^-r))>>>2],i=i<<1|r;return n}function iI(A,e,t){var I,r=e[t];return I=(A.Range>>>11)*r,(-2147483648^A.Code)<(-2147483648^I)?(A.Range=I,e[t]=r+(2048-r>>>5)<<16>>16,-16777216&A.Range||(A.Code=A.Code<<8|ze(A.Stream),A.Range<<=8),0):(A.Range-=I,A.Code-=I,e[t]=r-(r>>>5)<<16>>16,-16777216&A.Range||(A.Code=A.Code<<8|ze(A.Stream),A.Range<<=8),1)}function nI(A){for(var e=A.length-1;e>=0;--e)A[e]=1024}var oI=function(){var A,e,t,I,r=[];for(e=8;e>=0;--e)for(I=1,A=1,A<<=9-e,t=I<<=9-e-1;t>>9-e-1);return r}();function aI(A,e,t,I){var r,g=e[t];r=(A.Range>>>11)*g,I?(A.Low=qe(A.Low,Ke(Ve(r),[4294967295,0])),A.Range-=r,e[t]=g-(g>>>5)<<16>>16):(A.Range=r,e[t]=g+(2048-g>>>5)<<16>>16),-16777216&A.Range||(A.Range<<=8,sI(A))}function CI(A,e,t){for(var I=t-1;I>=0;I-=1)A.Range>>>=1,1==(e>>>I&1)&&(A.Low=qe(A.Low,Ve(A.Range))),-16777216&A.Range||(A.Range<<=8,sI(A))}function BI(A){return qe(qe(Ve(A._cacheSize),A._position),[4,0])}function sI(A){var e,t,I,r,g=We((I=32,r=Ze(t=A.Low,I&=63),t[1]<0&&(r=qe(r,Pe([2,0],31))),r));if(0!=g||Te(A.Low,[4278190080,0])<0){A._position=qe(A._position,Ve(A._cacheSize)),e=A._cache;do{tt(A.Stream,e+g),e=255}while(0!=(A._cacheSize-=1));A._cache=We(A.Low)>>>24}A._cacheSize+=1,A.Low=Pe(Ke(A.Low,[16777215,0]),8)}function EI(A,e){return oI[(2047&(A-e^-e))>>>2]}function hI(A){for(var e,t,I,r=0,g=0,i=A.length,n=[],o=[];r=i)return A;if(128!=(192&(t=255&A[++r])))return A;o[g]=(31&e)<<6|63&t}else{if(224!=(240&e))return A;if(r+2>=i)return A;if(128!=(192&(t=255&A[++r])))return A;if(128!=(192&(I=255&A[++r])))return A;o[g]=(15&e)<<12|(63&t)<<6|63&I}else{if(!e)return A;o[g]=e}16383==g&&(n.push(String.fromCharCode.apply(String,o)),g=-1)}return g>0&&(o.length=g,n.push(String.fromCharCode.apply(String,o))),n.join("")}function QI(A){var e,t,I,r=[],g=0,i=A.length;if("object"==typeof A)return A;for(function(A,e,t,I,r){var g;for(g=0;g=1&&e<=127?++g:g+=!e||e>=128&&e<=2047?2:3;for(t=[],g=0,I=0;I=1&&e<=127?t[g++]=e<<24>>24:!e||e>=128&&e<=2047?(t[g++]=(192|e>>6&31)<<24>>24,t[g++]=(128|63&e)<<24>>24):(t[g++]=(224|e>>12&15)<<24>>24,t[g++]=(128|e>>6&63)<<24>>24,t[g++]=(128|63&e)<<24>>24);return t}function cI(A){return A[1]+A[0]}function uI(A,e,t,I){var r,g,i={},n=void 0===t&&void 0===I;if("function"!=typeof t&&(g=t,t=I=0),I=I||function(A){if(void 0!==g)return He(A,g)},t=t||function(A,e){if(void 0!==g)return postMessage({action:1,cbn:g,result:A,error:e})},n){for(i.c=gt({},QI(A),yI(e));pt(i.c.chunker););return et(i.c.output)}try{i.c=gt({},QI(A),yI(e)),I(0)}catch(A){return t(null,A)}be((function A(){try{for(var e,g=(new Date).getTime();pt(i.c.chunker);)if(r=cI(i.c.chunker.inBytesProcessed)/cI(i.c.length_0),(new Date).getTime()-g>200)return I(r),be(A,0),0;I(1),e=et(i.c.output),be(t.bind(null,e),0)}catch(A){t(null,A)}}),0)}function fI(A,e,t){var I,r,g,i,n={},o=void 0===e&&void 0===t;if("function"!=typeof e&&(r=e,e=t=0),t=t||function(A){if(void 0!==r)return He(g?A:-1,r)},e=e||function(A,e){if(void 0!==r)return postMessage({action:2,cbn:r,result:A,error:e})},o){for(n.d=it({},A);yt(n.d.chunker););return hI(et(n.d.output))}try{n.d=it({},A),i=cI(n.d.length_0),g=i>-1,t(0)}catch(A){return e(null,A)}be((function A(){try{for(var r,o=0,a=(new Date).getTime();yt(n.d.chunker);)if(++o%1e3==0&&(new Date).getTime()-a>200)return g&&(I=cI(n.d.chunker.decoder.nowPos64)/i,t(I)),be(A,0),0;t(1),r=hI(et(n.d.output)),be(e.bind(null,r),0)}catch(A){e(null,A)}}),0)}var lI,yI=(lI=[{s:16,f:64,m:0},{s:20,f:64,m:0},{s:19,f:64,m:1},{s:20,f:64,m:1},{s:21,f:128,m:1},{s:22,f:128,m:1},{s:23,f:128,m:1},{s:24,f:255,m:1},{s:25,f:255,m:1}],function(A){return lI[A-1]||lI[6]});function pI(A,e,t){return e=a(e),o(A,wI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function wI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(wI=function(){return!!A})()}const dI=function(A){function e(){var A;return I(this,e),(A=pI(this,e)).name="LZMA Compress",A.module="Compression",A.description="Compresses data using the Lempel–Ziv–Markov chain algorithm. Compression mode determines the speed and effectiveness of the compression: 1 is fastest and less effective, 9 is slowest and most effective",A.infoURL="https://wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Markov_chain_algorithm",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Compression Mode",type:"option",value:["1","2","3","4","5","6","7","8","9"],defaultIndex:6}],A}return B(e,A),n(e,[{key:"run",value:(t=E(Q().mark((function A(e,t){var I;return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return I=Number(t[0]),A.abrupt("return",new Promise((function(A,t){uI(new Uint8Array(e),I,(function(e,I){I&&t(new d(`Failed to compress input: ${I.message}`)),A(new Int8Array(e).buffer)}),(function(A){R()&&self.sendStatusMessage(`Compressing input: ${(100*A).toFixed(2)}%`)}))})));case 2:case"end":return A.stop()}}),A)}))),function(A,e){return t.apply(this,arguments)})}]);var t}($A);function FI(A,e,t){return e=a(e),o(A,DI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function DI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(DI=function(){return!!A})()}const SI=function(A){function e(){var A;return I(this,e),(A=FI(this,e)).name="LZMA Decompress",A.module="Compression",A.description="Decompresses data using the Lempel-Ziv-Markov chain Algorithm.",A.infoURL="https://wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Markov_chain_algorithm",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A}return B(e,A),n(e,[{key:"run",value:(t=E(Q().mark((function A(e,t){return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",new Promise((function(A,t){fI(new Uint8Array(e),(function(e,I){I&&t(new d(`Failed to decompress input: ${I.message}`)),A("string"==typeof e?Y.strToArrayBuffer(e):new Int8Array(e).buffer)}),(function(A){R()&&self.sendStatusMessage(`Decompressing input: ${(100*A).toFixed(2)}%`)}))})));case 1:case"end":return A.stop()}}),A)}))),function(A,e){return t.apply(this,arguments)})}]);var t}($A);function mI(A){for(var e=0;A>=16;)A>>=1,e+=1;return e}function UI(A,e,t){return e=a(e),o(A,kI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function kI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(kI=function(){return!!A})()}var GI=function(A){function e(){var A;return I(this,e),(A=UI(this,e)).name="LZNT1 Decompress",A.module="Compression",A.description="Decompresses data using the LZNT1 algorithm.

Similar to the Windows API RtlDecompressBuffer.",A.infoURL="https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-xca/5655f4a3-6ba4-489b-959f-e1f407c52f15",A.inputType="byteArray",A.outputType="byteArray",A.args=[],A}return B(e,A),n(e,[{key:"run",value:function(A,e){return function(A){for(var e=Array(),t=0;t+2<=A.length;){var I=e.length,r=Y.byteArrayToInt(A.slice(t,t+2),"little"),g=4095&r,i=(t+=2)+g+1;if(0===g)break;if(A.length>12-C),s=2+(a&4095>>C),E=e.length-B,h=0;h>=1}else e.push.apply(e,c(A.slice(t,t+g+1))),t+=g+1}return e}(A)}}])}($A);const vI=GI;var bI=__webpack_require__(32992),MI=__webpack_require__.n(bI),RI=["default","UTF16","Base64"],YI={default:MI().compress,UTF16:MI().compressToUTF16,Base64:MI().compressToBase64},NI={default:MI().decompress,UTF16:MI().decompressFromUTF16,Base64:MI().decompressFromBase64};function LI(A,e,t){return e=a(e),o(A,HI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function HI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(HI=function(){return!!A})()}var JI=function(A){function e(){var A;return I(this,e),(A=LI(this,e)).name="LZString Compress",A.module="Compression",A.description="Compress the input with lz-string.",A.infoURL="https://pieroxy.net/blog/pages/lz-string/index.html",A.inputType="string",A.outputType="string",A.args=[{name:"Compression Format",type:"option",defaultIndex:0,value:RI}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=YI[e[0]];if(t)return t(A);throw new d("Unable to find compression function")}}])}($A);const qI=JI;function KI(A,e,t){return e=a(e),o(A,TI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function TI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(TI=function(){return!!A})()}var xI=function(A){function e(){var A;return I(this,e),(A=KI(this,e)).name="LZString Decompress",A.module="Compression",A.description="Decompresses data that was compressed with lz-string.",A.infoURL="https://pieroxy.net/blog/pages/lz-string/index.html",A.inputType="string",A.outputType="string",A.args=[{name:"Compression Format",type:"option",defaultIndex:0,value:RI}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=NI[e[0]];if(t)return t(A);throw new d("Unable to find decompression function")}}])}($A);const _I=xI;var VI=__webpack_require__(70234);function WI(A,e,t){return e=a(e),o(A,OI()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function OI(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(OI=function(){return!!A})()}var PI=__webpack_require__.n(VI)().Zlib,ZI={"Fixed Huffman Coding":PI.RawDeflate.CompressionType.FIXED,"Dynamic Huffman Coding":PI.RawDeflate.CompressionType.DYNAMIC,"None (Store)":PI.RawDeflate.CompressionType.NONE};const jI=function(A){function e(){var A;return I(this,e),(A=WI(this,e)).name="Raw Deflate",A.module="Compression",A.description="Compresses data using the deflate algorithm with no headers.",A.infoURL="https://wikipedia.org/wiki/DEFLATE",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Compression type",type:"option",value:ce}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new PI.RawDeflate(new Uint8Array(A),{compressionType:ZI[e[0]]});return new Uint8Array(t.compress()).buffer}}])}($A);var XI=__webpack_require__(22446);function zI(A,e,t){return e=a(e),o(A,$I()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function $I(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return($I=function(){return!!A})()}var Ar=__webpack_require__.n(XI)().Zlib,er={Adaptive:Ar.RawInflate.BufferType.ADAPTIVE,Block:Ar.RawInflate.BufferType.BLOCK};const tr=function(A){function e(){var A;return I(this,e),(A=zI(this,e)).name="Raw Inflate",A.module="Compression",A.description="Decompresses data which has been compressed using the deflate algorithm with no headers.",A.infoURL="https://wikipedia.org/wiki/DEFLATE",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Start index",type:"number",value:0},{name:"Initial output buffer size",type:"number",value:0},{name:"Buffer expansion type",type:"option",value:ue},{name:"Resize buffer after decompression",type:"boolean",value:!1},{name:"Verify result",type:"boolean",value:!1}],A.checks=[{entropyRange:[7.5,8],args:[0,0,ue,!1,!1]}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Ar.RawInflate(new Uint8Array(A),{index:e[0],bufferSize:e[1],bufferType:er[e[2]],resize:e[3],verify:e[4]});return new Uint8Array(t.decompress()).buffer}}])}($A);function Ir(A,e,t){return e=a(e),o(A,rr()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function rr(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(rr=function(){return!!A})()}var gr=function(A){function e(){var A;return I(this,e),(A=Ir(this,e)).name="Tar",A.module="Compression",A.description="Packs the input into a tarball.

No support for multiple files at this time.",A.infoURL="https://wikipedia.org/wiki/Tar_(computing)",A.inputType="ArrayBuffer",A.outputType="File",A.args=[{name:"Filename",type:"string",value:"file.txt"}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){A=new Uint8Array(A);var t=function(){this.bytes=new Array(512),this.position=0};t.prototype.addEmptyBlock=function(){var A=new Array(512);A.fill(0),this.bytes=this.bytes.concat(A)},t.prototype.writeBytes=function(A){var e=this;this.position+A.length>this.bytes.length&&this.addEmptyBlock(),Array.prototype.forEach.call(A,(function(A,t){void 0!==A.charCodeAt&&(A=A.charCodeAt()),e.bytes[e.position]=A,e.position+=1}))},t.prototype.writeEndBlocks=function(){for(var A=0;A<2;A++)this.addEmptyBlock()};var I=A.length.toString(8).padStart(11,"0"),r=Math.floor(Date.now()/1e3).toString(8).padStart(11,"0"),g={fileName:Y.padBytesRight(e[0],100),fileMode:Y.padBytesRight("0000664",8),ownerUID:Y.padBytesRight("0",8),ownerGID:Y.padBytesRight("0",8),size:Y.padBytesRight(I,12),lastModTime:Y.padBytesRight(r,12),checksum:" ",type:"0",linkedFileName:Y.padBytesRight("",100),USTARFormat:Y.padBytesRight("ustar",6),version:"00",ownerUserName:Y.padBytesRight("",32),ownerGroupName:Y.padBytesRight("",32),deviceMajor:Y.padBytesRight("",8),deviceMinor:Y.padBytesRight("",8),fileNamePrefix:Y.padBytesRight("",155)},i=0;for(var n in g){var o=g[n];Array.prototype.forEach.call(o,(function(A){void 0!==A.charCodeAt?i+=A.charCodeAt():i+=A}))}i=Y.padBytesRight(i.toString(8).padStart(7,"0"),8),g.checksum=i;var a=new t;return a.writeBytes(g.fileName),a.writeBytes(g.fileMode),a.writeBytes(g.ownerUID),a.writeBytes(g.ownerGID),a.writeBytes(g.size),a.writeBytes(g.lastModTime),a.writeBytes(g.checksum),a.writeBytes(g.type),a.writeBytes(g.linkedFileName),a.writeBytes(g.USTARFormat),a.writeBytes(g.version),a.writeBytes(g.ownerUserName),a.writeBytes(g.ownerGroupName),a.writeBytes(g.deviceMajor),a.writeBytes(g.deviceMinor),a.writeBytes(g.fileNamePrefix),a.writeBytes(Y.padBytesRight("",12)),a.writeBytes(A),a.writeEndBlocks(),new File([new Uint8Array(a.bytes)],e[0])}}])}($A);const ir=gr;function nr(A,e,t){return e=a(e),o(A,or()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function or(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(or=function(){return!!A})()}const ar=function(A){function e(){var A;return I(this,e),(A=nr(this,e)).name="Untar",A.module="Compression",A.description="Unpacks a tarball and displays it per file.",A.infoURL="https://wikipedia.org/wiki/Tar_(computing)",A.inputType="ArrayBuffer",A.outputType="List",A.presentType="html",A.args=[],A.checks=[{pattern:"^.{257}\\x75\\x73\\x74\\x61\\x72",flags:"",args:[]}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){A=new Uint8Array(A);for(var t=new gA(A),I=[];t.hasMore();){var r=t.position+512,g={fileName:t.readString(100),fileMode:t.readString(8),ownerUID:t.readString(8),ownerGID:t.readString(8),size:parseInt(t.readString(12),8),lastModTime:new Date(1e3*parseInt(t.readString(12),8)),checksum:t.readString(8),type:t.readString(1),linkedFileName:t.readString(100),USTARFormat:t.readString(6).indexOf("ustar")>=0};if(g.USTARFormat&&(g.version=t.readString(2),g.ownerUserName=t.readString(32),g.ownerGroupName=t.readString(32),g.deviceMajor=t.readString(8),g.deviceMinor=t.readString(8),g.filenamePrefix=t.readString(155)),t.position=r,"0"===g.type){var i=t.position+g.size;g.size%512!=0&&(i+=512-g.size%512),g.bytes=t.getBytes(g.size),I.push(new File([new Uint8Array(g.bytes)],g.fileName)),t.position=i}else"5"===g.type&&I.push(new File([new Uint8Array(g.bytes)],g.fileName))}return I}},{key:"present",value:(t=E(Q().mark((function A(e){return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Y.displayFilesAsHTML(e);case 2:return A.abrupt("return",A.sent);case 3:case"end":return A.stop()}}),A)}))),function(A){return t.apply(this,arguments)})}]);var t}($A);var Cr=__webpack_require__(47989);function Br(A,e,t){return e=a(e),o(A,sr()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function sr(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(sr=function(){return!!A})()}var Er=__webpack_require__.n(Cr)().Zlib;const hr=function(A){function e(){var A;return I(this,e),(A=Br(this,e)).name="Unzip",A.module="Compression",A.description="Decompresses data using the PKZIP algorithm and displays it per file, with support for passwords.",A.infoURL="https://wikipedia.org/wiki/Zip_(file_format)",A.inputType="ArrayBuffer",A.outputType="List",A.presentType="html",A.args=[{name:"Password",type:"binaryString",value:""},{name:"Verify result",type:"boolean",value:!1}],A.checks=[{pattern:"^\\x50\\x4b(?:\\x03|\\x05|\\x07)(?:\\x04|\\x06|\\x08)",flags:"",args:["",!1]}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t={password:Y.strToByteArray(e[0]),verify:e[1]},I=new Er.Unzip(new Uint8Array(A),t);return I.getFilenames().map((function(A){var e=I.decompress(A);return new File([e],A)}))}},{key:"present",value:(t=E(Q().mark((function A(e){return Q().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Y.displayFilesAsHTML(e);case 2:return A.abrupt("return",A.sent);case 3:case"end":return A.stop()}}),A)}))),function(A){return t.apply(this,arguments)})}]);var t}($A);var Qr=__webpack_require__(4808);function cr(A,e,t){return e=a(e),o(A,ur()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function ur(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(ur=function(){return!!A})()}var fr=__webpack_require__.n(Qr)().Zlib,lr={Deflate:fr.Zip.CompressionMethod.DEFLATE,"None (Store)":fr.Zip.CompressionMethod.STORE},yr={MSDOS:fr.Zip.OperatingSystem.MSDOS,Unix:fr.Zip.OperatingSystem.UNIX,Macintosh:fr.Zip.OperatingSystem.MACINTOSH};const pr=function(A){function e(){var A;return I(this,e),(A=cr(this,e)).name="Zip",A.module="Compression",A.description="Compresses data using the PKZIP algorithm with the given filename.

No support for multiple files at this time.",A.infoURL="https://wikipedia.org/wiki/Zip_(file_format)",A.inputType="ArrayBuffer",A.outputType="File",A.args=[{name:"Filename",type:"string",value:"file.txt"},{name:"Comment",type:"string",value:""},{name:"Password",type:"binaryString",value:""},{name:"Compression method",type:"option",value:["Deflate","None (Store)"]},{name:"Operating system",type:"option",value:["MSDOS","Unix","Macintosh"]},{name:"Compression type",type:"option",value:ce}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=e[0],I=Y.strToByteArray(e[2]),r={filename:Y.strToByteArray(t),comment:Y.strToByteArray(e[1]),compressionMethod:lr[e[3]],os:yr[e[4]],deflateOption:{compressionType:fe[e[5]]}},g=new fr.Zip;return I.length&&g.setPassword(I),g.addFile(new Uint8Array(A),r),new File([g.compress()],t)}}])}($A);function wr(A,e,t){return e=a(e),o(A,dr()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function dr(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(dr=function(){return!!A})()}var Fr=he().Zlib;const Dr=function(A){function e(){var A;return I(this,e),(A=wr(this,e)).name="Zlib Deflate",A.module="Compression",A.description="Compresses data using the deflate algorithm adding zlib headers.",A.infoURL="https://wikipedia.org/wiki/Zlib",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Compression type",type:"option",value:ce}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Fr.Deflate(new Uint8Array(A),{compressionType:fe[e[0]]});return new Uint8Array(t.compress()).buffer}}])}($A);function Sr(A,e,t){return e=a(e),o(A,mr()?Reflect.construct(e,t||[],a(A).constructor):e.apply(A,t))}function mr(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(A){}return(mr=function(){return!!A})()}var Ur=he().Zlib,kr={Adaptive:Ur.Inflate.BufferType.ADAPTIVE,Block:Ur.Inflate.BufferType.BLOCK};const Gr=function(A){function e(){var A;return I(this,e),(A=Sr(this,e)).name="Zlib Inflate",A.module="Compression",A.description="Decompresses data which has been compressed using the deflate algorithm with zlib headers.",A.infoURL="https://wikipedia.org/wiki/Zlib",A.inputType="ArrayBuffer",A.outputType="ArrayBuffer",A.args=[{name:"Start index",type:"number",value:0},{name:"Initial output buffer size",type:"number",value:0},{name:"Buffer expansion type",type:"option",value:ue},{name:"Resize buffer after decompression",type:"boolean",value:!1},{name:"Verify result",type:"boolean",value:!1}],A.checks=[{pattern:"^\\x78(\\x01|\\x9c|\\xda|\\x5e)",flags:"",args:[0,0,"Adaptive",!1,!1]}],A}return B(e,A),n(e,[{key:"run",value:function(A,e){var t=new Ur.Inflate(new Uint8Array(A),{index:e[0],bufferSize:e[1],bufferType:kr[e[2]],resize:e[3],verify:e[4]});return new Uint8Array(t.decompress()).buffer}}])}($A);("undefined"==typeof self?{}:self.OpModules||{}).Compression={"Bzip2 Compress":re,"Bzip2 Decompress":ne,Gunzip:se,Gzip:de,"LZ4 Compress":me,"LZ4 Decompress":Ge,"LZMA Compress":dI,"LZMA Decompress":SI,"LZNT1 Decompress":vI,"LZString Compress":qI,"LZString Decompress":_I,"Raw Deflate":jI,"Raw Inflate":tr,Tar:ir,Untar:ar,Unzip:hr,Zip:pr,"Zlib Deflate":Dr,"Zlib Inflate":Gr}})()})();