!function(A,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e=t();for(var r in e)("object"==typeof exports?exports:A)[r]=e[r]}}("undefined"!=typeof self?self:this,(function(){return function(){var A={9282:function(A,t,e){"use strict";var r=e(4155);function n(A){return n="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},n(A)}var i,B,s=e(2136).codes,o=s.ERR_AMBIGUOUS_ARGUMENT,g=s.ERR_INVALID_ARG_TYPE,a=s.ERR_INVALID_ARG_VALUE,c=s.ERR_INVALID_RETURN_VALUE,E=s.ERR_MISSING_ARGS,w=e(5961),Q=e(9539).inspect,h=e(9539).types,l=h.isPromise,M=h.isRegExp,C=Object.assign?Object.assign:e(8091).assign,u=Object.is?Object.is:e(609);new Map;function f(){var A=e(9158);i=A.isDeepEqual,B=A.isDeepStrictEqual}var D=!1,I=A.exports=Y,d={};function y(A){if(A.message instanceof Error)throw A.message;throw new w(A)}function F(A,t,e,r){if(!e){var n=!1;if(0===t)n=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new w({actual:e,expected:!0,message:r,operator:"==",stackStartFn:A});throw i.generatedMessage=n,i}}function Y(){for(var A=arguments.length,t=new Array(A),e=0;e1?e-1:0),n=1;n1?e-1:0),n=1;n1?e-1:0),n=1;n1?e-1:0),n=1;nA.length)&&(e=A.length),A.substring(e-t.length,e)===t}var M="",C="",u="",f="",D={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function I(A){var t=Object.keys(A),e=Object.create(Object.getPrototypeOf(A));return t.forEach((function(t){e[t]=A[t]})),Object.defineProperty(e,"message",{value:A.message}),e}function d(A){return Q(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function y(A,t,e){var n="",i="",B=0,s="",o=!1,g=d(A),a=g.split("\n"),c=d(t).split("\n"),E=0,Q="";if("strictEqual"===e&&"object"===w(A)&&"object"===w(t)&&null!==A&&null!==t&&(e="strictEqualObject"),1===a.length&&1===c.length&&a[0]!==c[0]){var h=a[0].length+c[0].length;if(h<=10){if(!("object"===w(A)&&null!==A||"object"===w(t)&&null!==t||0===A&&0===t))return"".concat(D[e],"\n\n")+"".concat(a[0]," !== ").concat(c[0],"\n")}else if("strictEqualObject"!==e){if(h<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;a[0][E]===c[0][E];)E++;E>2&&(Q="\n ".concat(function(A,t){if(t=Math.floor(t),0==A.length||0==t)return"";var e=A.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)A+=A,t--;return A+A.substring(0,e-A.length)}(" ",E),"^"),E=0)}}}for(var I=a[a.length-1],y=c[c.length-1];I===y&&(E++<2?s="\n ".concat(I).concat(s):n=I,a.pop(),c.pop(),0!==a.length&&0!==c.length);)I=a[a.length-1],y=c[c.length-1];var F=Math.max(a.length,c.length);if(0===F){var Y=g.split("\n");if(Y.length>30)for(Y[26]="".concat(M,"...").concat(f);Y.length>27;)Y.pop();return"".concat(D.notIdentical,"\n\n").concat(Y.join("\n"),"\n")}E>3&&(s="\n".concat(M,"...").concat(f).concat(s),o=!0),""!==n&&(s="\n ".concat(n).concat(s),n="");var p=0,v=D[e]+"\n".concat(C,"+ actual").concat(f," ").concat(u,"- expected").concat(f),z=" ".concat(M,"...").concat(f," Lines skipped");for(E=0;E1&&E>2&&(U>4?(i+="\n".concat(M,"...").concat(f),o=!0):U>3&&(i+="\n ".concat(c[E-2]),p++),i+="\n ".concat(c[E-1]),p++),B=E,n+="\n".concat(u,"-").concat(f," ").concat(c[E]),p++;else if(c.length1&&E>2&&(U>4?(i+="\n".concat(M,"...").concat(f),o=!0):U>3&&(i+="\n ".concat(a[E-2]),p++),i+="\n ".concat(a[E-1]),p++),B=E,i+="\n".concat(C,"+").concat(f," ").concat(a[E]),p++;else{var m=c[E],P=a[E],b=P!==m&&(!l(P,",")||P.slice(0,-1)!==m);b&&l(m,",")&&m.slice(0,-1)===P&&(b=!1,P+=","),b?(U>1&&E>2&&(U>4?(i+="\n".concat(M,"...").concat(f),o=!0):U>3&&(i+="\n ".concat(a[E-2]),p++),i+="\n ".concat(a[E-1]),p++),B=E,i+="\n".concat(C,"+").concat(f," ").concat(P),n+="\n".concat(u,"-").concat(f," ").concat(m),p+=2):(i+=n,n="",1!==U&&0!==E||(i+="\n ".concat(P),p++))}if(p>20&&E30)for(l[26]="".concat(M,"...").concat(f);l.length>27;)l.pop();e=1===l.length?B(this,E(t).call(this,"".concat(Q," ").concat(l[0]))):B(this,E(t).call(this,"".concat(Q,"\n\n").concat(l.join("\n"),"\n")))}else{var F=d(g),Y="",p=D[i];"notDeepEqual"===i||"notEqual"===i?(F="".concat(D[i],"\n\n").concat(F)).length>1024&&(F="".concat(F.slice(0,1021),"...")):(Y="".concat(d(a)),F.length>512&&(F="".concat(F.slice(0,509),"...")),Y.length>512&&(Y="".concat(Y.slice(0,509),"...")),"deepEqual"===i||"equal"===i?F="".concat(p,"\n\n").concat(F,"\n\nshould equal\n\n"):Y=" ".concat(i," ").concat(Y)),e=B(this,E(t).call(this,"".concat(F).concat(Y)))}return Error.stackTraceLimit=c,e.generatedMessage=!n,Object.defineProperty(s(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=g,e.expected=a,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(e),o),e.stack,e.name="AssertionError",B(e)}var e,o,g;return function(A,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(t&&t.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),t&&c(A,t)}(t,A),e=t,o=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:Q.custom,value:function(A,t){return Q(this,function(A){for(var t=1;t2?"one of ".concat(t," ").concat(A.slice(0,e-1).join(", "),", or ")+A[e-1]:2===e?"one of ".concat(t," ").concat(A[0]," or ").concat(A[1]):"of ".concat(t," ").concat(A[0])}return"of ".concat(t," ").concat(String(A))}a("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),a("ERR_INVALID_ARG_TYPE",(function(A,t,n){var i,B,o,g;if(void 0===s&&(s=e(9282)),s("string"==typeof A,"'name' must be a string"),"string"==typeof t&&(B="not ",t.substr(!o||o<0?0:+o,B.length)===B)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(A,t,e){return(void 0===e||e>A.length)&&(e=A.length),A.substring(e-t.length,e)===t}(A," argument"))g="The ".concat(A," ").concat(i," ").concat(c(t,"type"));else{var a=function(A,t,e){return"number"!=typeof e&&(e=0),!(e+t.length>A.length)&&-1!==A.indexOf(t,e)}(A,".")?"property":"argument";g='The "'.concat(A,'" ').concat(a," ").concat(i," ").concat(c(t,"type"))}return g+=". Received type ".concat(r(n))}),TypeError),a("ERR_INVALID_ARG_VALUE",(function(A,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===o&&(o=e(9539));var n=o.inspect(t);return n.length>128&&(n="".concat(n.slice(0,128),"...")),"The argument '".concat(A,"' ").concat(r,". Received ").concat(n)}),TypeError,RangeError),a("ERR_INVALID_RETURN_VALUE",(function(A,t,e){var n;return n=e&&e.constructor&&e.constructor.name?"instance of ".concat(e.constructor.name):"type ".concat(r(e)),"Expected ".concat(A,' to be returned from the "').concat(t,'"')+" function but got ".concat(n,".")}),TypeError),a("ERR_MISSING_ARGS",(function(){for(var A=arguments.length,t=new Array(A),r=0;r0,"At least one arg needs to be specified");var n="The ",i=t.length;switch(t=t.map((function(A){return'"'.concat(A,'"')})),i){case 1:n+="".concat(t[0]," argument");break;case 2:n+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:n+=t.slice(0,i-1).join(", "),n+=", and ".concat(t[i-1]," arguments")}return"".concat(n," must be specified")}),TypeError),A.exports.codes=g},9158:function(A,t,e){"use strict";function r(A,t){return function(A){if(Array.isArray(A))return A}(A)||function(A,t){var e=[],r=!0,n=!1,i=void 0;try{for(var B,s=A[Symbol.iterator]();!(r=(B=s.next()).done)&&(e.push(B.value),!t||e.length!==t);r=!0);}catch(A){n=!0,i=A}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return e}(A,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(A){return n="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},n(A)}var i=void 0!==/a/g.flags,B=function(A){var t=[];return A.forEach((function(A){return t.push(A)})),t},s=function(A){var t=[];return A.forEach((function(A,e){return t.push([e,A])})),t},o=Object.is?Object.is:e(609),g=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:e(360);function c(A){return A.call.bind(A)}var E=c(Object.prototype.hasOwnProperty),w=c(Object.prototype.propertyIsEnumerable),Q=c(Object.prototype.toString),h=e(9539).types,l=h.isAnyArrayBuffer,M=h.isArrayBufferView,C=h.isDate,u=h.isMap,f=h.isRegExp,D=h.isSet,I=h.isNativeError,d=h.isBoxedPrimitive,y=h.isNumberObject,F=h.isStringObject,Y=h.isBooleanObject,p=h.isBigIntObject,v=h.isSymbolObject,z=h.isFloat32Array,U=h.isFloat64Array;function m(A){if(0===A.length||A.length>10)return!0;for(var t=0;t57)return!0}return 10===A.length&&A>=Math.pow(2,32)}function P(A){return Object.keys(A).filter(m).concat(g(A).filter(Object.prototype.propertyIsEnumerable.bind(A)))}function b(A,t){if(A===t)return 0;for(var e=A.length,r=t.length,n=0,i=Math.min(e,r);n=A.length?{done:!0}:{done:!1,value:A[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.")}function n(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);ethis.buffer.length)return this.flush()},s.flush=function(){if(this.bufferOffset>0)return this.push(n.from(this.buffer.slice(0,this.bufferOffset))),this.bufferOffset=0},s.writeBuffer=function(A){return this.flush(),this.push(A),this.pos+=A.length},s.writeString=function(A,t){switch(void 0===t&&(t="ascii"),t){case"utf16le":case"ucs2":case"utf8":case"ascii":return this.writeBuffer(n.from(A,t));case"utf16be":for(var e=n.from(A,"utf16le"),i=0,B=e.length-1;i>>16&255,this.buffer[this.bufferOffset++]=A>>>8&255,this.buffer[this.bufferOffset++]=255&A,this.pos+=3},s.writeUInt24LE=function(A){return this.ensure(3),this.buffer[this.bufferOffset++]=255&A,this.buffer[this.bufferOffset++]=A>>>8&255,this.buffer[this.bufferOffset++]=A>>>16&255,this.pos+=3},s.writeInt24BE=function(A){return A>=0?this.writeUInt24BE(A):this.writeUInt24BE(A+16777215+1)},s.writeInt24LE=function(A){return A>=0?this.writeUInt24LE(A):this.writeUInt24LE(A+16777215+1)},s.fill=function(A,t){if(t=this.length)){if(null==this.items[A]){var t=this.stream.pos;this.stream.pos=this.base+this.type.size(null,this.ctx)*A,this.items[A]=this.type.decode(this.stream,this.ctx),this.stream.pos=t}return this.items[A]}},t.toArray=function(){for(var A=[],t=0,e=this.length;t>1),(n=A.call(this,"Int"+t,e)||this)._point=1<g)throw new RangeError('The value "'+A+'" is invalid for option "size"');var t=new Uint8Array(A);return Object.setPrototypeOf(t,c.prototype),t}function c(A,t,e){if("number"==typeof A){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return Q(A)}return E(A,t,e)}function E(A,t,e){if("string"==typeof A)return function(A,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=0|C(A,t),r=a(e),n=r.write(A,t);n!==e&&(r=r.slice(0,n));return r}(A,t);if(ArrayBuffer.isView(A))return function(A){if(_(A,Uint8Array)){var t=new Uint8Array(A);return l(t.buffer,t.byteOffset,t.byteLength)}return h(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(_(A,ArrayBuffer)||A&&_(A.buffer,ArrayBuffer))return l(A,t,e);if("undefined"!=typeof SharedArrayBuffer&&(_(A,SharedArrayBuffer)||A&&_(A.buffer,SharedArrayBuffer)))return l(A,t,e);if("number"==typeof A)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=A.valueOf&&A.valueOf();if(null!=r&&r!==A)return c.from(r,t,e);var n=function(A){if(c.isBuffer(A)){var t=0|M(A.length),e=a(t);return 0===e.length||A.copy(e,0,0,t),e}if(void 0!==A.length)return"number"!=typeof A.length||$(A.length)?a(0):h(A);if("Buffer"===A.type&&Array.isArray(A.data))return h(A.data)}(A);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof A[Symbol.toPrimitive])return c.from(A[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}function w(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 Q(A){return w(A),a(A<0?0:0|M(A))}function h(A){for(var t=A.length<0?0:0|M(A.length),e=a(t),r=0;r=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|A}function C(A,t){if(c.isBuffer(A))return A.length;if(ArrayBuffer.isView(A)||_(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);var e=A.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===e)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return X(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return Z(A).length;default:if(n)return r?-1:X(A).length;t=(""+t).toLowerCase(),n=!0}}function u(A,t,e){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(t>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return b(this,t,e);case"utf8":case"utf-8":return z(this,t,e);case"ascii":return m(this,t,e);case"latin1":case"binary":return P(this,t,e);case"base64":return v(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function f(A,t,e){var r=A[t];A[t]=A[e],A[e]=r}function D(A,t,e,r,n){if(0===A.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),$(e=+e)&&(e=n?0:A.length-1),e<0&&(e=A.length+e),e>=A.length){if(n)return-1;e=A.length-1}else if(e<0){if(!n)return-1;e=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:I(A,t,e,r,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(A,t,e):Uint8Array.prototype.lastIndexOf.call(A,t,e):I(A,[t],e,r,n);throw new TypeError("val must be string, number or Buffer")}function I(A,t,e,r,n){var i,B=1,s=A.length,o=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||t.length<2)return-1;B=2,s/=2,o/=2,e/=2}function g(A,t){return 1===B?A[t]:A.readUInt16BE(t*B)}if(n){var a=-1;for(i=e;is&&(e=s-o),i=e;i>=0;i--){for(var c=!0,E=0;En&&(r=n):r=n;var i,B=t.length;for(r>B/2&&(r=B/2),i=0;i>8,n=e%256,i.push(n),i.push(r);return i}(t,A.length-e),A,e,r)}function v(A,t,e){return 0===t&&e===A.length?B.fromByteArray(A):B.fromByteArray(A.slice(t,e))}function z(A,t,e){e=Math.min(A.length,e);for(var r=[],n=t;n239?4:i>223?3:i>191?2:1;if(n+s<=e){var o=void 0,g=void 0,a=void 0,c=void 0;switch(s){case 1:i<128&&(B=i);break;case 2:128==(192&(o=A[n+1]))&&(c=(31&i)<<6|63&o)>127&&(B=c);break;case 3:o=A[n+1],g=A[n+2],128==(192&o)&&128==(192&g)&&(c=(15&i)<<12|(63&o)<<6|63&g)>2047&&(c<55296||c>57343)&&(B=c);break;case 4:o=A[n+1],g=A[n+2],a=A[n+3],128==(192&o)&&128==(192&g)&&128==(192&a)&&(c=(15&i)<<18|(63&o)<<12|(63&g)<<6|63&a)>65535&&c<1114112&&(B=c)}}null===B?(B=65533,s=1):B>65535&&(B-=65536,r.push(B>>>10&1023|55296),B=56320|1023&B),r.push(B),n+=s}return function(A){var t=A.length;if(t<=U)return String.fromCharCode.apply(String,A);var e="",r=0;for(;rr.length?(c.isBuffer(i)||(i=c.from(i)),i.copy(r,n)):Uint8Array.prototype.set.call(r,i,n);else{if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,n)}n+=i.length}return r},c.byteLength=C,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;te&&(A+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(A,t,e,r,n){if(_(A,Uint8Array)&&(A=c.from(A,A.offset,A.byteLength)),!c.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===t&&(t=0),void 0===e&&(e=A?A.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||e>A.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&t>=e)return 0;if(r>=n)return-1;if(t>=e)return 1;if(this===A)return 0;for(var i=(n>>>=0)-(r>>>=0),B=(e>>>=0)-(t>>>=0),s=Math.min(i,B),o=this.slice(r,n),g=A.slice(t,e),a=0;a>>=0,isFinite(e)?(e>>>=0,void 0===r&&(r="utf8")):(r=e,e=void 0)}var n=this.length-t;if((void 0===e||e>n)&&(e=n),A.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return d(this,A,t,e);case"utf8":case"utf-8":return y(this,A,t,e);case"ascii":case"latin1":case"binary":return F(this,A,t,e);case"base64":return Y(this,A,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,A,t,e);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var U=4096;function m(A,t,e){var r="";e=Math.min(A.length,e);for(var n=t;nr)&&(e=r);for(var n="",i=t;ie)throw new RangeError("Trying to access beyond buffer length")}function R(A,t,e,r,n,i){if(!c.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||tA.length)throw new RangeError("Index out of range")}function S(A,t,e,r,n){O(t,r,n,A,e,7);var i=Number(t&BigInt(4294967295));A[e++]=i,i>>=8,A[e++]=i,i>>=8,A[e++]=i,i>>=8,A[e++]=i;var B=Number(t>>BigInt(32)&BigInt(4294967295));return A[e++]=B,B>>=8,A[e++]=B,B>>=8,A[e++]=B,B>>=8,A[e++]=B,e}function x(A,t,e,r,n){O(t,r,n,A,e,7);var i=Number(t&BigInt(4294967295));A[e+7]=i,i>>=8,A[e+6]=i,i>>=8,A[e+5]=i,i>>=8,A[e+4]=i;var B=Number(t>>BigInt(32)&BigInt(4294967295));return A[e+3]=B,B>>=8,A[e+2]=B,B>>=8,A[e+1]=B,B>>=8,A[e]=B,e+8}function T(A,t,e,r,n,i){if(e+r>A.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function H(A,t,e,r,n){return t=+t,e>>>=0,n||T(A,0,e,4),s.write(A,t,e,r,23,4),e+4}function J(A,t,e,r,n){return t=+t,e>>>=0,n||T(A,0,e,8),s.write(A,t,e,r,52,8),e+8}c.prototype.slice=function(A,t){var e=this.length;(A=~~A)<0?(A+=e)<0&&(A=0):A>e&&(A=e),(t=void 0===t?e:~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),t>>=0,t>>>=0,e||G(A,t,this.length);for(var r=this[A],n=1,i=0;++i>>=0,t>>>=0,e||G(A,t,this.length);for(var r=this[A+--t],n=1;t>0&&(n*=256);)r+=this[A+--t]*n;return r},c.prototype.readUint8=c.prototype.readUInt8=function(A,t){return A>>>=0,t||G(A,1,this.length),this[A]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(A,t){return A>>>=0,t||G(A,2,this.length),this[A]|this[A+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(A,t){return A>>>=0,t||G(A,2,this.length),this[A]<<8|this[A+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(A,t){return A>>>=0,t||G(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(A,t){return A>>>=0,t||G(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},c.prototype.readBigUInt64LE=tA((function(A){K(A>>>=0,"offset");var t=this[A],e=this[A+7];void 0!==t&&void 0!==e||W(A,this.length-8);var r=t+this[++A]*Math.pow(2,8)+this[++A]*Math.pow(2,16)+this[++A]*Math.pow(2,24),n=this[++A]+this[++A]*Math.pow(2,8)+this[++A]*Math.pow(2,16)+e*Math.pow(2,24);return BigInt(r)+(BigInt(n)<>>=0,"offset");var t=this[A],e=this[A+7];void 0!==t&&void 0!==e||W(A,this.length-8);var r=t*Math.pow(2,24)+this[++A]*Math.pow(2,16)+this[++A]*Math.pow(2,8)+this[++A],n=this[++A]*Math.pow(2,24)+this[++A]*Math.pow(2,16)+this[++A]*Math.pow(2,8)+e;return(BigInt(r)<>>=0,t>>>=0,e||G(A,t,this.length);for(var r=this[A],n=1,i=0;++i=(n*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(A,t,e){A>>>=0,t>>>=0,e||G(A,t,this.length);for(var r=t,n=1,i=this[A+--r];r>0&&(n*=256);)i+=this[A+--r]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(A,t){return A>>>=0,t||G(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},c.prototype.readInt16LE=function(A,t){A>>>=0,t||G(A,2,this.length);var e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},c.prototype.readInt16BE=function(A,t){A>>>=0,t||G(A,2,this.length);var e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},c.prototype.readInt32LE=function(A,t){return A>>>=0,t||G(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},c.prototype.readInt32BE=function(A,t){return A>>>=0,t||G(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},c.prototype.readBigInt64LE=tA((function(A){K(A>>>=0,"offset");var t=this[A],e=this[A+7];void 0!==t&&void 0!==e||W(A,this.length-8);var r=this[A+4]+this[A+5]*Math.pow(2,8)+this[A+6]*Math.pow(2,16)+(e<<24);return(BigInt(r)<>>=0,"offset");var t=this[A],e=this[A+7];void 0!==t&&void 0!==e||W(A,this.length-8);var r=(t<<24)+this[++A]*Math.pow(2,16)+this[++A]*Math.pow(2,8)+this[++A];return(BigInt(r)<>>=0,t||G(A,4,this.length),s.read(this,A,!0,23,4)},c.prototype.readFloatBE=function(A,t){return A>>>=0,t||G(A,4,this.length),s.read(this,A,!1,23,4)},c.prototype.readDoubleLE=function(A,t){return A>>>=0,t||G(A,8,this.length),s.read(this,A,!0,52,8)},c.prototype.readDoubleBE=function(A,t){return A>>>=0,t||G(A,8,this.length),s.read(this,A,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(A,t,e,r){(A=+A,t>>>=0,e>>>=0,r)||R(this,A,t,e,Math.pow(2,8*e)-1,0);var n=1,i=0;for(this[t]=255&A;++i>>=0,e>>>=0,r)||R(this,A,t,e,Math.pow(2,8*e)-1,0);var n=e-1,i=1;for(this[t+n]=255&A;--n>=0&&(i*=256);)this[t+n]=A/i&255;return t+e},c.prototype.writeUint8=c.prototype.writeUInt8=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,1,255,0),this[t]=255&A,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,2,65535,0),this[t]=255&A,this[t+1]=A>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,2,65535,0),this[t]=A>>>8,this[t+1]=255&A,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,4,4294967295,0),this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=255&A,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,4,4294967295,0),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},c.prototype.writeBigUInt64LE=tA((function(A,t){return void 0===t&&(t=0),S(this,A,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=tA((function(A,t){return void 0===t&&(t=0),x(this,A,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var n=Math.pow(2,8*e-1);R(this,A,t,e,n-1,-n)}var i=0,B=1,s=0;for(this[t]=255&A;++i>0)-s&255;return t+e},c.prototype.writeIntBE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var n=Math.pow(2,8*e-1);R(this,A,t,e,n-1,-n)}var i=e-1,B=1,s=0;for(this[t+i]=255&A;--i>=0&&(B*=256);)A<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(A/B>>0)-s&255;return t+e},c.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,1,127,-128),A<0&&(A=255+A+1),this[t]=255&A,t+1},c.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,2,32767,-32768),this[t]=255&A,this[t+1]=A>>>8,t+2},c.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,2,32767,-32768),this[t]=A>>>8,this[t+1]=255&A,t+2},c.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,4,2147483647,-2147483648),this[t]=255&A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24,t+4},c.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||R(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},c.prototype.writeBigInt64LE=tA((function(A,t){return void 0===t&&(t=0),S(this,A,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=tA((function(A,t){return void 0===t&&(t=0),x(this,A,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(A,t,e){return H(this,A,t,!0,e)},c.prototype.writeFloatBE=function(A,t,e){return H(this,A,t,!1,e)},c.prototype.writeDoubleLE=function(A,t,e){return J(this,A,t,!0,e)},c.prototype.writeDoubleBE=function(A,t,e){return J(this,A,t,!1,e)},c.prototype.copy=function(A,t,e,r){if(!c.isBuffer(A))throw new TypeError("argument should be a Buffer");if(e||(e=0),r||0===r||(r=this.length),t>=A.length&&(t=A.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t>>=0,e=void 0===e?this.length:e>>>0,A||(A=0),"number"==typeof A)for(i=t;i=r+4;e-=3)t="_"+A.slice(e-3,e)+t;return""+A.slice(0,e)+t}function O(A,t,e,r,n,i){if(A>e||A3?0===t||t===BigInt(0)?">= 0"+s+" and < 2"+s+" ** "+8*(i+1)+s:">= -(2"+s+" ** "+(8*(i+1)-1)+s+") and < 2 ** "+(8*(i+1)-1)+s:">= "+t+s+" and <= "+e+s,new L.ERR_OUT_OF_RANGE("value",B,A)}!function(A,t,e){K(t,"offset"),void 0!==A[t]&&void 0!==A[t+e]||W(t,A.length-(e+1))}(r,n,i)}function K(A,t){if("number"!=typeof A)throw new L.ERR_INVALID_ARG_TYPE(t,"number",A)}function W(A,t,e){if(Math.floor(A)!==A)throw K(A,e),new L.ERR_OUT_OF_RANGE(e||"offset","an integer",A);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(e||"offset",">= "+(e?1:0)+" and <= "+t,A)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(A){return A?A+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(A,t){return'The "'+A+'" argument must be of type number. Received type '+typeof t}),TypeError),j("ERR_OUT_OF_RANGE",(function(A,t,e){var r='The value of "'+A+'" is out of range.',n=e;return Number.isInteger(e)&&Math.abs(e)>Math.pow(2,32)?n=k(String(e)):"bigint"==typeof e&&(n=String(e),(e>Math.pow(BigInt(2),BigInt(32))||e<-Math.pow(BigInt(2),BigInt(32)))&&(n=k(n)),n+="n"),r+=" It must be "+t+". Received "+n}),RangeError);var V=/[^+/0-9A-Za-z-_]/g;function X(A,t){var e;t=t||1/0;for(var r=A.length,n=null,i=[],B=0;B55295&&e<57344){if(!n){if(e>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(B+1===r){(t-=3)>-1&&i.push(239,191,189);continue}n=e;continue}if(e<56320){(t-=3)>-1&&i.push(239,191,189),n=e;continue}e=65536+(n-55296<<10|e-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,e<128){if((t-=1)<0)break;i.push(e)}else if(e<2048){if((t-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function Z(A){return B.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 q(A,t,e,r){var n;for(n=0;n=t.length||n>=A.length);++n)t[n+e]=A[n];return n}function _(A,t){return A instanceof t||null!=A&&null!=A.constructor&&null!=A.constructor.name&&A.constructor.name===t.name}function $(A){return A!=A}var AA=function(){for(var A="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var r=16*e,n=0;n<16;++n)t[r+n]=A[e]+A[n];return t}();function tA(A){return"undefined"==typeof BigInt?eA:A}function eA(){throw new Error("BigInt not supported")}},477:function(A,t,e){"use strict";e(7803),e(1539),A.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},2094:function(A,t,e){"use strict";var r,n,i,B=e(477),s=e(9781),o=e(7854),g=e(614),a=e(111),c=e(2597),E=e(648),w=e(6330),Q=e(8880),h=e(1320),l=e(3070).f,M=e(7976),C=e(9518),u=e(7674),f=e(5112),D=e(9711),I=o.Int8Array,d=I&&I.prototype,y=o.Uint8ClampedArray,F=y&&y.prototype,Y=I&&C(I),p=d&&C(d),v=Object.prototype,z=o.TypeError,U=f("toStringTag"),m=D("TYPED_ARRAY_TAG"),P=D("TYPED_ARRAY_CONSTRUCTOR"),b=B&&!!u&&"Opera"!==E(o.opera),N=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},S=function(A){if(!a(A))return!1;var t=E(A);return c(G,t)||c(R,t)};for(r in G)(i=(n=o[r])&&n.prototype)?Q(i,P,n):b=!1;for(r in R)(i=(n=o[r])&&n.prototype)&&Q(i,P,n);if((!b||!g(Y)||Y===Function.prototype)&&(Y=function(){throw z("Incorrect invocation")},b))for(r in G)o[r]&&u(o[r],Y);if((!b||!p||p===v)&&(p=Y.prototype,b))for(r in G)o[r]&&u(o[r].prototype,p);if(b&&C(F)!==p&&u(F,p),s&&!c(p,U))for(r in N=!0,l(p,U,{get:function(){return a(this)?this[m]:void 0}}),G)o[r]&&Q(o[r],m,r);A.exports={NATIVE_ARRAY_BUFFER_VIEWS:b,TYPED_ARRAY_CONSTRUCTOR:P,TYPED_ARRAY_TAG:N&&m,aTypedArray:function(A){if(S(A))return A;throw z("Target is not a typed array")},aTypedArrayConstructor:function(A){if(g(A)&&(!u||M(Y,A)))return A;throw z(w(A)+" is not a typed array constructor")},exportTypedArrayMethod:function(A,t,e){if(s){if(e)for(var r in G){var n=o[r];if(n&&c(n.prototype,A))try{delete n.prototype[A]}catch(A){}}p[A]&&!e||h(p,A,e?t:b&&d[A]||t)}},exportTypedArrayStaticMethod:function(A,t,e){var r,n;if(s){if(u){if(e)for(r in G)if((n=o[r])&&c(n,A))try{delete n[A]}catch(A){}if(Y[A]&&!e)return;try{return h(Y,A,e?t:b&&Y[A]||t)}catch(A){}}for(r in G)!(n=o[r])||n[A]&&!e||h(n,A,t)}},isView:function(A){if(!a(A))return!1;var t=E(A);return"DataView"===t||c(G,t)||c(R,t)},isTypedArray:S,TypedArray:Y,TypedArrayPrototype:p}},2091:function(A,t,e){"use strict";e(8309);var r=e(7854),n=e(1702),i=e(9781),B=e(477),s=e(6530),o=e(8880),g=e(2248),a=e(7293),c=e(5787),E=e(9303),w=e(7466),Q=e(7067),h=e(1179),l=e(9518),M=e(7674),C=e(8006).f,u=e(3070).f,f=e(1285),D=e(206),I=e(8003),d=e(9909),y=s.PROPER,F=s.CONFIGURABLE,Y=d.get,p=d.set,v="ArrayBuffer",z="DataView",U="Wrong index",m=r.ArrayBuffer,P=m,b=P&&P.prototype,N=r.DataView,G=N&&N.prototype,R=Object.prototype,S=r.Array,x=r.RangeError,T=n(f),H=n([].reverse),J=h.pack,L=h.unpack,j=function(A){return[255&A]},k=function(A){return[255&A,A>>8&255]},O=function(A){return[255&A,A>>8&255,A>>16&255,A>>24&255]},K=function(A){return A[3]<<24|A[2]<<16|A[1]<<8|A[0]},W=function(A){return J(A,23,4)},V=function(A){return J(A,52,8)},X=function(A,t){u(A.prototype,t,{get:function(){return Y(this)[t]}})},Z=function(A,t,e,r){var n=Q(e),i=Y(A);if(n+t>i.byteLength)throw x(U);var B=Y(i.buffer).bytes,s=n+i.byteOffset,o=D(B,s,s+t);return r?o:H(o)},q=function(A,t,e,r,n,i){var B=Q(e),s=Y(A);if(B+t>s.byteLength)throw x(U);for(var o=Y(s.buffer).bytes,g=B+s.byteOffset,a=r(+n),c=0;ctA;)($=AA[tA++])in P||o(P,$,m[$]);b.constructor=P}M&&l(G)!==R&&M(G,R);var eA=new N(new P(2)),rA=n(G.setInt8);eA.setInt8(0,2147483648),eA.setInt8(1,2147483649),!eA.getInt8(0)&&eA.getInt8(1)||g(G,{setInt8:function(A,t){rA(this,A,t<<24>>24)},setUint8:function(A,t){rA(this,A,t<<24>>24)}},{unsafe:!0})}else b=(P=function(A){c(this,b);var t=Q(A);p(this,{bytes:T(S(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,G=(N=function(A,t,e){c(this,G),c(A,b);var r=Y(A).byteLength,n=E(t);if(n<0||n>r)throw x("Wrong offset");if(n+(e=void 0===e?r-n:w(e))>r)throw x("Wrong length");p(this,{buffer:A,byteLength:e,byteOffset:n}),i||(this.buffer=A,this.byteLength=e,this.byteOffset=n)}).prototype,i&&(X(P,"byteLength"),X(N,"buffer"),X(N,"byteLength"),X(N,"byteOffset")),g(G,{getInt8:function(A){return Z(this,1,A)[0]<<24>>24},getUint8:function(A){return Z(this,1,A)[0]},getInt16:function(A){var t=Z(this,2,A,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(A){var t=Z(this,2,A,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(A){return K(Z(this,4,A,arguments.length>1?arguments[1]:void 0))},getUint32:function(A){return K(Z(this,4,A,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(A){return L(Z(this,4,A,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(A){return L(Z(this,8,A,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(A,t){q(this,1,A,j,t)},setUint8:function(A,t){q(this,1,A,j,t)},setInt16:function(A,t){q(this,2,A,k,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(A,t){q(this,2,A,k,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(A,t){q(this,4,A,O,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(A,t){q(this,4,A,O,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(A,t){q(this,4,A,W,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(A,t){q(this,8,A,V,t,arguments.length>2?arguments[2]:void 0)}});I(P,v),I(N,z),A.exports={ArrayBuffer:P,DataView:N}},7803:function(A,t,e){"use strict";var r=e(2109),n=e(7854),i=e(2091),B=e(6340),s="ArrayBuffer",o=i.ArrayBuffer;r({global:!0,forced:n.ArrayBuffer!==o},{ArrayBuffer:o}),B(s)},194:function(A,t,e){"use strict";var r;A.exports=(r=e(757),e(7508),e(3440),e(3839),e(1582),function(){var A=r,t=A.lib.BlockCipher,e=A.algo,n=[],i=[],B=[],s=[],o=[],g=[],a=[],c=[],E=[],w=[];!function(){for(var A=[],t=0;t<256;t++)A[t]=t<128?t<<1:t<<1^283;var e=0,r=0;for(t=0;t<256;t++){var Q=r^r<<1^r<<2^r<<3^r<<4;Q=Q>>>8^255&Q^99,n[e]=Q,i[Q]=e;var h=A[e],l=A[h],M=A[l],C=257*A[Q]^16843008*Q;B[e]=C<<24|C>>>8,s[e]=C<<16|C>>>16,o[e]=C<<8|C>>>24,g[e]=C,C=16843009*M^65537*l^257*h^16843008*e,a[Q]=C<<24|C>>>8,c[Q]=C<<16|C>>>16,E[Q]=C<<8|C>>>24,w[Q]=C,e?(e=h^A[A[A[M^h]]],r^=A[A[r]]):e=r=1}}();var Q=[0,1,2,4,8,16,32,64,128,27,54],h=e.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var A=this._keyPriorReset=this._key,t=A.words,e=A.sigBytes/4,r=4*((this._nRounds=e+6)+1),i=this._keySchedule=[],B=0;B6&&B%e==4&&(g=n[g>>>24]<<24|n[g>>>16&255]<<16|n[g>>>8&255]<<8|n[255&g]):(g=n[(g=g<<8|g>>>24)>>>24]<<24|n[g>>>16&255]<<16|n[g>>>8&255]<<8|n[255&g],g^=Q[B/e|0]<<24),i[B]=i[B-e]^g);for(var s=this._invKeySchedule=[],o=0;o>>24]]^c[n[g>>>16&255]]^E[n[g>>>8&255]]^w[n[255&g]]}}},encryptBlock:function(A,t){this._doCryptBlock(A,t,this._keySchedule,B,s,o,g,n)},decryptBlock:function(A,t){var e=A[t+1];A[t+1]=A[t+3],A[t+3]=e,this._doCryptBlock(A,t,this._invKeySchedule,a,c,E,w,i),e=A[t+1],A[t+1]=A[t+3],A[t+3]=e},_doCryptBlock:function(A,t,e,r,n,i,B,s){for(var o=this._nRounds,g=A[t]^e[0],a=A[t+1]^e[1],c=A[t+2]^e[2],E=A[t+3]^e[3],w=4,Q=1;Q>>24]^n[a>>>16&255]^i[c>>>8&255]^B[255&E]^e[w++],l=r[a>>>24]^n[c>>>16&255]^i[E>>>8&255]^B[255&g]^e[w++],M=r[c>>>24]^n[E>>>16&255]^i[g>>>8&255]^B[255&a]^e[w++],C=r[E>>>24]^n[g>>>16&255]^i[a>>>8&255]^B[255&c]^e[w++];g=h,a=l,c=M,E=C}h=(s[g>>>24]<<24|s[a>>>16&255]<<16|s[c>>>8&255]<<8|s[255&E])^e[w++],l=(s[a>>>24]<<24|s[c>>>16&255]<<16|s[E>>>8&255]<<8|s[255&g])^e[w++],M=(s[c>>>24]<<24|s[E>>>16&255]<<16|s[g>>>8&255]<<8|s[255&a])^e[w++],C=(s[E>>>24]<<24|s[g>>>16&255]<<16|s[a>>>8&255]<<8|s[255&c])^e[w++],A[t]=h,A[t+1]=l,A[t+2]=M,A[t+3]=C},keySize:8});A.AES=t._createHelper(h)}(),r.AES)},1582:function(A,t,e){"use strict";var r;e(7042),e(2222),e(1539),e(9714),e(561),A.exports=(r=e(757),e(3839),void(r.lib.Cipher||function(A){var t=r,e=t.lib,n=e.Base,i=e.WordArray,B=e.BufferedBlockAlgorithm,s=t.enc,o=(s.Utf8,s.Base64),g=t.algo.EvpKDF,a=e.Cipher=B.extend({cfg:n.extend(),createEncryptor:function(A,t){return this.create(this._ENC_XFORM_MODE,A,t)},createDecryptor:function(A,t){return this.create(this._DEC_XFORM_MODE,A,t)},init:function(A,t,e){this.cfg=this.cfg.extend(e),this._xformMode=A,this._key=t,this.reset()},reset:function(){B.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){return A&&this._append(A),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function A(A){return"string"==typeof A?u:M}return function(t){return{encrypt:function(e,r,n){return A(r).encrypt(t,e,r,n)},decrypt:function(e,r,n){return A(r).decrypt(t,e,r,n)}}}}()}),c=(e.StreamCipher=a.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),E=e.BlockCipherMode=n.extend({createEncryptor:function(A,t){return this.Encryptor.create(A,t)},createDecryptor:function(A,t){return this.Decryptor.create(A,t)},init:function(A,t){this._cipher=A,this._iv=t}}),w=c.CBC=function(){var t=E.extend();function e(t,e,r){var n,i=this._iv;i?(n=i,this._iv=A):n=this._prevBlock;for(var B=0;B>>2];A.sigBytes-=t}},h=(e.BlockCipher=a.extend({cfg:a.cfg.extend({mode:w,padding:Q}),reset:function(){var A;a.reset.call(this);var t=this.cfg,e=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?A=r.createEncryptor:(A=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,e&&e.words):(this._mode=A.call(r,this,e&&e.words),this._mode.__creator=A)},_doProcessBlock:function(A,t){this._mode.processBlock(A,t)},_doFinalize:function(){var A,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),t.unpad(A)),A},blockSize:4}),e.CipherParams=n.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}})),l=(t.format={}).OpenSSL={stringify:function(A){var t=A.ciphertext,e=A.salt;return(e?i.create([1398893684,1701076831]).concat(e).concat(t):t).toString(o)},parse:function(A){var t,e=o.parse(A),r=e.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),e.sigBytes-=16),h.create({ciphertext:e,salt:t})}},M=e.SerializableCipher=n.extend({cfg:n.extend({format:l}),encrypt:function(A,t,e,r){r=this.cfg.extend(r);var n=A.createEncryptor(e,r),i=n.finalize(t),B=n.cfg;return h.create({ciphertext:i,key:e,iv:B.iv,algorithm:A,mode:B.mode,padding:B.padding,blockSize:A.blockSize,formatter:r.format})},decrypt:function(A,t,e,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),A.createDecryptor(e,r).finalize(t.ciphertext)},_parse:function(A,t){return"string"==typeof A?t.parse(A,this):A}}),C=(t.kdf={}).OpenSSL={execute:function(A,t,e,r){r||(r=i.random(8));var n=g.create({keySize:t+e}).compute(A,r),B=i.create(n.words.slice(t),4*e);return n.sigBytes=4*t,h.create({key:n,iv:B,salt:r})}},u=e.PasswordBasedCipher=M.extend({cfg:M.cfg.extend({kdf:C}),encrypt:function(A,t,e,r){var n=(r=this.cfg.extend(r)).kdf.execute(e,A.keySize,A.ivSize);r.iv=n.iv;var i=M.encrypt.call(this,A,t,n.key,r);return i.mixIn(n),i},decrypt:function(A,t,e,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var n=r.kdf.execute(e,A.keySize,A.ivSize,t.salt);return r.iv=n.iv,M.decrypt.call(this,A,t,n.key,r)}})}()))},757:function(A,t,e){"use strict";var r;e(5743),e(6992),e(1539),e(9135),e(2990),e(8927),e(3105),e(5035),e(4345),e(7174),e(2846),e(4731),e(7209),e(6319),e(8867),e(7789),e(3739),e(9368),e(4483),e(2056),e(3462),e(678),e(7462),e(3824),e(5021),e(2974),e(5016),e(9714),e(7042),e(9600),e(2222),e(561),A.exports=(r=r||function(A,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==e.g&&e.g.crypto&&(r=e.g.crypto),!r)try{r=e(2480)}catch(A){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(A){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function A(){}return function(t){var e;return A.prototype=t,e=new A,A.prototype=null,e}}(),B={},s=B.lib={},o=s.Base={extend:function(A){var t=i(this);return A&&t.mixIn(A),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var t in A)A.hasOwnProperty(t)&&(this[t]=A[t]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}},g=s.WordArray=o.extend({init:function(A,e){A=this.words=A||[],this.sigBytes=e!=t?e:4*A.length},toString:function(A){return(A||c).stringify(this)},concat:function(A){var t=this.words,e=A.words,r=this.sigBytes,n=A.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=B<<24-(r+i)%4*8}else for(var s=0;s>>2]=e[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=A.ceil(e/4)},clone:function(){var A=o.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var t=[],e=0;e>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(A){for(var t=A.length,e=[],r=0;r>>3]|=parseInt(A.substr(r,2),16)<<24-r%8*4;return new g.init(e,t/2)}},E=a.Latin1={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],n=0;n>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(A){for(var t=A.length,e=[],r=0;r>>2]|=(255&A.charCodeAt(r))<<24-r%4*8;return new g.init(e,t)}},w=a.Utf8={stringify:function(A){try{return decodeURIComponent(escape(E.stringify(A)))}catch(A){throw new Error("Malformed UTF-8 data")}},parse:function(A){return E.parse(unescape(encodeURIComponent(A)))}},Q=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(A){"string"==typeof A&&(A=w.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(t){var e,r=this._data,n=r.words,i=r.sigBytes,B=this.blockSize,s=i/(4*B),o=(s=t?A.ceil(s):A.max((0|s)-this._minBufferSize,0))*B,a=A.min(4*o,i);if(o){for(var c=0;c>>6-B%4*2;n[i>>>2]|=s<<24-i%4*8,i++}return t.create(n,i)}A.enc.Base64={stringify:function(A){var t=A.words,e=A.sigBytes,r=this._map;A.clamp();for(var n=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s>>6*(3-s)&63));var o=r.charAt(64);if(o)for(;n.length%4;)n.push(o);return n.join("")},parse:function(A){var t=A.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-B%4*2;n[i>>>2]|=s<<24-i%4*8,i++}return t.create(n,i)}A.enc.Base64url={stringify:function(A,t){void 0===t&&(t=!0);var e=A.words,r=A.sigBytes,n=t?this._safe_map:this._map;A.clamp();for(var i=[],B=0;B>>2]>>>24-B%4*8&255)<<16|(e[B+1>>>2]>>>24-(B+1)%4*8&255)<<8|e[B+2>>>2]>>>24-(B+2)%4*8&255,o=0;o<4&&B+.75*o>>6*(3-o)&63));var g=n.charAt(64);if(g)for(;i.length%4;)i.push(g);return i.join("")},parse:function(A,t){void 0===t&&(t=!0);var r=A.length,n=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var B=0;B>>8&16711935}e.Utf16=e.Utf16BE={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],n=0;n>>2]>>>16-n%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(A){for(var e=A.length,r=[],n=0;n>>1]|=A.charCodeAt(n)<<16-n%2*16;return t.create(r,2*e)}},e.Utf16LE={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(B))}return r.join("")},parse:function(A){for(var e=A.length,r=[],i=0;i>>1]|=n(A.charCodeAt(i)<<16-i%2*16);return t.create(r,2*e)}}}(),r.enc.Utf16)},3839:function(A,t,e){"use strict";var r,n,i,B,s,o,g,a;e(2222),A.exports=(a=e(757),e(9865),e(6727),n=(r=a).lib,i=n.Base,B=n.WordArray,s=r.algo,o=s.MD5,g=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:o,iterations:1}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,t){for(var e,r=this.cfg,n=r.hasher.create(),i=B.create(),s=i.words,o=r.keySize,g=r.iterations;s.lengthr&&(t=A.finalize(t)),t.clamp();for(var n=this._oKey=t.clone(),i=this._iKey=t.clone(),s=n.words,o=i.words,g=0;g>>2]|=A[n]<<24-n%4*8;t.call(this,r,e)}else t.apply(this,arguments)};e.prototype=A}}(),r.lib.WordArray)},3440:function(A,t,e){"use strict";var r;A.exports=(r=e(757),function(A){var t=r,e=t.lib,n=e.WordArray,i=e.Hasher,B=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*A.abs(A.sin(t+1))|0}();var o=B.MD5=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(A,t){for(var e=0;e<16;e++){var r=t+e,n=A[r];A[r]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var i=this._hash.words,B=A[t+0],o=A[t+1],w=A[t+2],Q=A[t+3],h=A[t+4],l=A[t+5],M=A[t+6],C=A[t+7],u=A[t+8],f=A[t+9],D=A[t+10],I=A[t+11],d=A[t+12],y=A[t+13],F=A[t+14],Y=A[t+15],p=i[0],v=i[1],z=i[2],U=i[3];p=g(p,v,z,U,B,7,s[0]),U=g(U,p,v,z,o,12,s[1]),z=g(z,U,p,v,w,17,s[2]),v=g(v,z,U,p,Q,22,s[3]),p=g(p,v,z,U,h,7,s[4]),U=g(U,p,v,z,l,12,s[5]),z=g(z,U,p,v,M,17,s[6]),v=g(v,z,U,p,C,22,s[7]),p=g(p,v,z,U,u,7,s[8]),U=g(U,p,v,z,f,12,s[9]),z=g(z,U,p,v,D,17,s[10]),v=g(v,z,U,p,I,22,s[11]),p=g(p,v,z,U,d,7,s[12]),U=g(U,p,v,z,y,12,s[13]),z=g(z,U,p,v,F,17,s[14]),p=a(p,v=g(v,z,U,p,Y,22,s[15]),z,U,o,5,s[16]),U=a(U,p,v,z,M,9,s[17]),z=a(z,U,p,v,I,14,s[18]),v=a(v,z,U,p,B,20,s[19]),p=a(p,v,z,U,l,5,s[20]),U=a(U,p,v,z,D,9,s[21]),z=a(z,U,p,v,Y,14,s[22]),v=a(v,z,U,p,h,20,s[23]),p=a(p,v,z,U,f,5,s[24]),U=a(U,p,v,z,F,9,s[25]),z=a(z,U,p,v,Q,14,s[26]),v=a(v,z,U,p,u,20,s[27]),p=a(p,v,z,U,y,5,s[28]),U=a(U,p,v,z,w,9,s[29]),z=a(z,U,p,v,C,14,s[30]),p=c(p,v=a(v,z,U,p,d,20,s[31]),z,U,l,4,s[32]),U=c(U,p,v,z,u,11,s[33]),z=c(z,U,p,v,I,16,s[34]),v=c(v,z,U,p,F,23,s[35]),p=c(p,v,z,U,o,4,s[36]),U=c(U,p,v,z,h,11,s[37]),z=c(z,U,p,v,C,16,s[38]),v=c(v,z,U,p,D,23,s[39]),p=c(p,v,z,U,y,4,s[40]),U=c(U,p,v,z,B,11,s[41]),z=c(z,U,p,v,Q,16,s[42]),v=c(v,z,U,p,M,23,s[43]),p=c(p,v,z,U,f,4,s[44]),U=c(U,p,v,z,d,11,s[45]),z=c(z,U,p,v,Y,16,s[46]),p=E(p,v=c(v,z,U,p,w,23,s[47]),z,U,B,6,s[48]),U=E(U,p,v,z,C,10,s[49]),z=E(z,U,p,v,F,15,s[50]),v=E(v,z,U,p,l,21,s[51]),p=E(p,v,z,U,d,6,s[52]),U=E(U,p,v,z,Q,10,s[53]),z=E(z,U,p,v,D,15,s[54]),v=E(v,z,U,p,o,21,s[55]),p=E(p,v,z,U,u,6,s[56]),U=E(U,p,v,z,Y,10,s[57]),z=E(z,U,p,v,M,15,s[58]),v=E(v,z,U,p,y,21,s[59]),p=E(p,v,z,U,h,6,s[60]),U=E(U,p,v,z,I,10,s[61]),z=E(z,U,p,v,w,15,s[62]),v=E(v,z,U,p,f,21,s[63]),i[0]=i[0]+p|0,i[1]=i[1]+v|0,i[2]=i[2]+z|0,i[3]=i[3]+U|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32;var i=A.floor(r/4294967296),B=r;e[15+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e[14+(n+64>>>9<<4)]=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),t.sigBytes=4*(e.length+1),this._process();for(var s=this._hash,o=s.words,g=0;g<4;g++){var a=o[g];o[g]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return s},clone:function(){var A=i.clone.call(this);return A._hash=this._hash.clone(),A}});function g(A,t,e,r,n,i,B){var s=A+(t&e|~t&r)+n+B;return(s<>>32-i)+t}function a(A,t,e,r,n,i,B){var s=A+(t&r|e&~r)+n+B;return(s<>>32-i)+t}function c(A,t,e,r,n,i,B){var s=A+(t^e^r)+n+B;return(s<>>32-i)+t}function E(A,t,e,r,n,i,B){var s=A+(e^(t|~r))+n+B;return(s<>>32-i)+t}t.MD5=i._createHelper(o),t.HmacMD5=i._createHmacHelper(o)}(Math),r.MD5)},702:function(A,t,e){"use strict";var r;e(7042),A.exports=(r=e(757),e(1582),r.mode.CFB=function(){var A=r.lib.BlockCipherMode.extend();function t(A,t,e,r){var n,i=this._iv;i?(n=i.slice(0),this._iv=void 0):n=this._prevBlock,r.encryptBlock(n,0);for(var B=0;B>24&255)){var t=A>>16&255,e=A>>8&255,r=255&A;255===t?(t=0,255===e?(e=0,255===r?r=0:++r):++e):++t,A=0,A+=t<<16,A+=e<<8,A+=r}else A+=1<<24;return A}function e(A){return 0===(A[0]=t(A[0]))&&(A[1]=t(A[1])),A}var n=A.Encryptor=A.extend({processBlock:function(A,t){var r=this._cipher,n=r.blockSize,i=this._iv,B=this._counter;i&&(B=this._counter=i.slice(0),this._iv=void 0),e(B);var s=B.slice(0);r.encryptBlock(s,0);for(var o=0;o>>2]|=n<<24-i%4*8,A.sigBytes+=n},unpad:function(A){var t=255&A.words[A.sigBytes-1>>>2];A.sigBytes-=t}},r.pad.Ansix923)},4431:function(A,t,e){"use strict";var r;e(2222),A.exports=(r=e(757),e(1582),r.pad.Iso10126={pad:function(A,t){var e=4*t,n=e-A.sigBytes%e;A.concat(r.lib.WordArray.random(n-1)).concat(r.lib.WordArray.create([n<<24],1))},unpad:function(A){var t=255&A.words[A.sigBytes-1>>>2];A.sigBytes-=t}},r.pad.Iso10126)},8800:function(A,t,e){"use strict";var r;e(2222),A.exports=(r=e(757),e(1582),r.pad.Iso97971={pad:function(A,t){A.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(A,t)},unpad:function(A){r.pad.ZeroPadding.unpad(A),A.sigBytes--}},r.pad.Iso97971)},649:function(A,t,e){"use strict";var r;A.exports=(r=e(757),e(1582),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},3992:function(A,t,e){"use strict";var r;A.exports=(r=e(757),e(1582),r.pad.ZeroPadding={pad:function(A,t){var e=4*t;A.clamp(),A.sigBytes+=e-(A.sigBytes%e||e)},unpad:function(A){var t=A.words,e=A.sigBytes-1;for(e=A.sigBytes-1;e>=0;e--)if(t[e>>>2]>>>24-e%4*8&255){A.sigBytes=e+1;break}}},r.pad.ZeroPadding)},3486:function(A,t,e){"use strict";var r,n,i,B,s,o,g,a,c;e(2222),A.exports=(c=e(757),e(9865),e(6727),n=(r=c).lib,i=n.Base,B=n.WordArray,s=r.algo,o=s.SHA1,g=s.HMAC,a=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:o,iterations:1}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,t){for(var e=this.cfg,r=g.create(e.hasher,A),n=B.create(),i=B.create([1]),s=n.words,o=i.words,a=e.keySize,c=e.iterations;s.length>>16,A[1],A[0]<<16|A[3]>>>16,A[2],A[1]<<16|A[0]>>>16,A[3],A[2]<<16|A[1]>>>16],r=this._C=[A[2]<<16|A[2]>>>16,4294901760&A[0]|65535&A[1],A[3]<<16|A[3]>>>16,4294901760&A[1]|65535&A[2],A[0]<<16|A[0]>>>16,4294901760&A[2]|65535&A[3],A[1]<<16|A[1]>>>16,4294901760&A[3]|65535&A[0]];this._b=0;for(var n=0;n<4;n++)o.call(this);for(n=0;n<8;n++)r[n]^=e[n+4&7];if(t){var i=t.words,B=i[0],s=i[1],g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=g>>>16|4294901760&a,E=a<<16|65535&g;for(r[0]^=g,r[1]^=c,r[2]^=a,r[3]^=E,r[4]^=g,r[5]^=c,r[6]^=a,r[7]^=E,n=0;n<4;n++)o.call(this)}},_doProcessBlock:function(A,t){var e=this._X;o.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),A[t+r]^=n[r]},blockSize:4,ivSize:2});function o(){for(var A=this._X,t=this._C,e=0;e<8;e++)i[e]=t[e];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,e=0;e<8;e++){var r=A[e]+t[e],n=65535&r,s=r>>>16,o=((n*n>>>17)+n*s>>>15)+s*s,g=((4294901760&r)*r|0)+((65535&r)*r|0);B[e]=o^g}A[0]=B[0]+(B[7]<<16|B[7]>>>16)+(B[6]<<16|B[6]>>>16)|0,A[1]=B[1]+(B[0]<<8|B[0]>>>24)+B[7]|0,A[2]=B[2]+(B[1]<<16|B[1]>>>16)+(B[0]<<16|B[0]>>>16)|0,A[3]=B[3]+(B[2]<<8|B[2]>>>24)+B[1]|0,A[4]=B[4]+(B[3]<<16|B[3]>>>16)+(B[2]<<16|B[2]>>>16)|0,A[5]=B[5]+(B[4]<<8|B[4]>>>24)+B[3]|0,A[6]=B[6]+(B[5]<<16|B[5]>>>16)+(B[4]<<16|B[4]>>>16)|0,A[7]=B[7]+(B[6]<<8|B[6]>>>24)+B[5]|0}A.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)},5323:function(A,t,e){"use strict";var r;A.exports=(r=e(757),e(7508),e(3440),e(3839),e(1582),function(){var A=r,t=A.lib.StreamCipher,e=A.algo,n=[],i=[],B=[],s=e.Rabbit=t.extend({_doReset:function(){for(var A=this._key.words,t=this.cfg.iv,e=0;e<4;e++)A[e]=16711935&(A[e]<<8|A[e]>>>24)|4278255360&(A[e]<<24|A[e]>>>8);var r=this._X=[A[0],A[3]<<16|A[2]>>>16,A[1],A[0]<<16|A[3]>>>16,A[2],A[1]<<16|A[0]>>>16,A[3],A[2]<<16|A[1]>>>16],n=this._C=[A[2]<<16|A[2]>>>16,4294901760&A[0]|65535&A[1],A[3]<<16|A[3]>>>16,4294901760&A[1]|65535&A[2],A[0]<<16|A[0]>>>16,4294901760&A[2]|65535&A[3],A[1]<<16|A[1]>>>16,4294901760&A[3]|65535&A[0]];for(this._b=0,e=0;e<4;e++)o.call(this);for(e=0;e<8;e++)n[e]^=r[e+4&7];if(t){var i=t.words,B=i[0],s=i[1],g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=g>>>16|4294901760&a,E=a<<16|65535&g;for(n[0]^=g,n[1]^=c,n[2]^=a,n[3]^=E,n[4]^=g,n[5]^=c,n[6]^=a,n[7]^=E,e=0;e<4;e++)o.call(this)}},_doProcessBlock:function(A,t){var e=this._X;o.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),A[t+r]^=n[r]},blockSize:4,ivSize:2});function o(){for(var A=this._X,t=this._C,e=0;e<8;e++)i[e]=t[e];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,e=0;e<8;e++){var r=A[e]+t[e],n=65535&r,s=r>>>16,o=((n*n>>>17)+n*s>>>15)+s*s,g=((4294901760&r)*r|0)+((65535&r)*r|0);B[e]=o^g}A[0]=B[0]+(B[7]<<16|B[7]>>>16)+(B[6]<<16|B[6]>>>16)|0,A[1]=B[1]+(B[0]<<8|B[0]>>>24)+B[7]|0,A[2]=B[2]+(B[1]<<16|B[1]>>>16)+(B[0]<<16|B[0]>>>16)|0,A[3]=B[3]+(B[2]<<8|B[2]>>>24)+B[1]|0,A[4]=B[4]+(B[3]<<16|B[3]>>>16)+(B[2]<<16|B[2]>>>16)|0,A[5]=B[5]+(B[4]<<8|B[4]>>>24)+B[3]|0,A[6]=B[6]+(B[5]<<16|B[5]>>>16)+(B[4]<<16|B[4]>>>16)|0,A[7]=B[7]+(B[6]<<8|B[6]>>>24)+B[5]|0}A.Rabbit=t._createHelper(s)}(),r.Rabbit)},4640:function(A,t,e){"use strict";var r;e(1539),e(8674),A.exports=(r=e(757),e(7508),e(3440),e(3839),e(1582),function(){var A=r,t=A.lib.StreamCipher,e=A.algo,n=e.RC4=t.extend({_doReset:function(){for(var A=this._key,t=A.words,e=A.sigBytes,r=this._S=[],n=0;n<256;n++)r[n]=n;n=0;for(var i=0;n<256;n++){var B=n%e,s=t[B>>>2]>>>24-B%4*8&255;i=(i+r[n]+s)%256;var o=r[n];r[n]=r[i],r[i]=o}this._i=this._j=0},_doProcessBlock:function(A,t){A[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var A=this._S,t=this._i,e=this._j,r=0,n=0;n<4;n++){e=(e+A[t=(t+1)%256])%256;var i=A[t];A[t]=A[e],A[e]=i,r|=A[(A[t]+A[e])%256]<<24-8*n}return this._i=t,this._j=e,r}A.RC4=t._createHelper(n);var B=e.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var A=this.cfg.drop;A>0;A--)i.call(this)}});A.RC4Drop=t._createHelper(B)}(),r.RC4)},8714:function(A,t,e){"use strict";var r;A.exports=(r=e(757),function(A){var t=r,e=t.lib,n=e.WordArray,i=e.Hasher,B=t.algo,s=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),g=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),a=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=n.create([0,1518500249,1859775393,2400959708,2840853838]),E=n.create([1352829926,1548603684,1836072691,2053994217,0]),w=B.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,t){for(var e=0;e<16;e++){var r=t+e,n=A[r];A[r]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var i,B,w,f,D,I,d,y,F,Y,p,v=this._hash.words,z=c.words,U=E.words,m=s.words,P=o.words,b=g.words,N=a.words;for(I=i=v[0],d=B=v[1],y=w=v[2],F=f=v[3],Y=D=v[4],e=0;e<80;e+=1)p=i+A[t+m[e]]|0,p+=e<16?Q(B,w,f)+z[0]:e<32?h(B,w,f)+z[1]:e<48?l(B,w,f)+z[2]:e<64?M(B,w,f)+z[3]:C(B,w,f)+z[4],p=(p=u(p|=0,b[e]))+D|0,i=D,D=f,f=u(w,10),w=B,B=p,p=I+A[t+P[e]]|0,p+=e<16?C(d,y,F)+U[0]:e<32?M(d,y,F)+U[1]:e<48?l(d,y,F)+U[2]:e<64?h(d,y,F)+U[3]:Q(d,y,F)+U[4],p=(p=u(p|=0,N[e]))+Y|0,I=Y,Y=F,F=u(y,10),y=d,d=p;p=v[1]+w+F|0,v[1]=v[2]+f+Y|0,v[2]=v[3]+D+I|0,v[3]=v[4]+i+d|0,v[4]=v[0]+B+y|0,v[0]=p},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),A.sigBytes=4*(t.length+1),this._process();for(var n=this._hash,i=n.words,B=0;B<5;B++){var s=i[B];i[B]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return n},clone:function(){var A=i.clone.call(this);return A._hash=this._hash.clone(),A}});function Q(A,t,e){return A^t^e}function h(A,t,e){return A&t|~A&e}function l(A,t,e){return(A|~t)^e}function M(A,t,e){return A&e|t&~e}function C(A,t,e){return A^(t|~e)}function u(A,t){return A<>>32-t}t.RIPEMD160=i._createHelper(w),t.HmacRIPEMD160=i._createHmacHelper(w)}(Math),r.RIPEMD160)},9865:function(A,t,e){"use strict";var r,n,i,B,s,o,g,a;A.exports=(a=e(757),n=(r=a).lib,i=n.WordArray,B=n.Hasher,s=r.algo,o=[],g=s.SHA1=B.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],n=e[1],i=e[2],B=e[3],s=e[4],g=0;g<80;g++){if(g<16)o[g]=0|A[t+g];else{var a=o[g-3]^o[g-8]^o[g-14]^o[g-16];o[g]=a<<1|a>>>31}var c=(r<<5|r>>>27)+s+o[g];c+=g<20?1518500249+(n&i|~n&B):g<40?1859775393+(n^i^B):g<60?(n&i|n&B|i&B)-1894007588:(n^i^B)-899497514,s=B,B=i,i=n<<30|n>>>2,n=r,r=c}e[0]=e[0]+r|0,e[1]=e[1]+n|0,e[2]=e[2]+i|0,e[3]=e[3]+B|0,e[4]=e[4]+s|0},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(e/4294967296),t[15+(r+64>>>9<<4)]=e,A.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var A=B.clone.call(this);return A._hash=this._hash.clone(),A}}),r.SHA1=B._createHelper(g),r.HmacSHA1=B._createHmacHelper(g),a.SHA1)},6876:function(A,t,e){"use strict";var r,n,i,B,s,o;A.exports=(o=e(757),e(8921),n=(r=o).lib.WordArray,i=r.algo,B=i.SHA256,s=i.SHA224=B.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var A=B._doFinalize.call(this);return A.sigBytes-=4,A}}),r.SHA224=B._createHelper(s),r.HmacSHA224=B._createHmacHelper(s),o.SHA224)},8921:function(A,t,e){"use strict";var r;e(7042),A.exports=(r=e(757),function(A){var t=r,e=t.lib,n=e.WordArray,i=e.Hasher,B=t.algo,s=[],o=[];!function(){function t(t){for(var e=A.sqrt(t),r=2;r<=e;r++)if(!(t%r))return!1;return!0}function e(A){return 4294967296*(A-(0|A))|0}for(var r=2,n=0;n<64;)t(r)&&(n<8&&(s[n]=e(A.pow(r,.5))),o[n]=e(A.pow(r,1/3)),n++),r++}();var g=[],a=B.SHA256=i.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],n=e[1],i=e[2],B=e[3],s=e[4],a=e[5],c=e[6],E=e[7],w=0;w<64;w++){if(w<16)g[w]=0|A[t+w];else{var Q=g[w-15],h=(Q<<25|Q>>>7)^(Q<<14|Q>>>18)^Q>>>3,l=g[w-2],M=(l<<15|l>>>17)^(l<<13|l>>>19)^l>>>10;g[w]=h+g[w-7]+M+g[w-16]}var C=r&n^r&i^n&i,u=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),f=E+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&a^~s&c)+o[w]+g[w];E=c,c=a,a=s,s=B+f|0,B=i,i=n,n=r,r=f+(u+C)|0}e[0]=e[0]+r|0,e[1]=e[1]+n|0,e[2]=e[2]+i|0,e[3]=e[3]+B|0,e[4]=e[4]+s|0,e[5]=e[5]+a|0,e[6]=e[6]+c|0,e[7]=e[7]+E|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=A.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var A=i.clone.call(this);return A._hash=this._hash.clone(),A}});t.SHA256=i._createHelper(a),t.HmacSHA256=i._createHmacHelper(a)}(Math),r.SHA256)},8342:function(A,t,e){"use strict";var r;e(7042),A.exports=(r=e(757),e(2601),function(A){var t=r,e=t.lib,n=e.WordArray,i=e.Hasher,B=t.x64.Word,s=t.algo,o=[],g=[],a=[];!function(){for(var A=1,t=0,e=0;e<24;e++){o[A+5*t]=(e+1)*(e+2)/2%64;var r=(2*A+3*t)%5;A=t%5,t=r}for(A=0;A<5;A++)for(t=0;t<5;t++)g[A+5*t]=t+(2*A+3*t)%5*5;for(var n=1,i=0;i<24;i++){for(var s=0,c=0,E=0;E<7;E++){if(1&n){var w=(1<>>24)|4278255360&(i<<24|i>>>8),B=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),(v=e[n]).high^=B,v.low^=i}for(var s=0;s<24;s++){for(var E=0;E<5;E++){for(var w=0,Q=0,h=0;h<5;h++)w^=(v=e[E+5*h]).high,Q^=v.low;var l=c[E];l.high=w,l.low=Q}for(E=0;E<5;E++){var M=c[(E+4)%5],C=c[(E+1)%5],u=C.high,f=C.low;for(w=M.high^(u<<1|f>>>31),Q=M.low^(f<<1|u>>>31),h=0;h<5;h++)(v=e[E+5*h]).high^=w,v.low^=Q}for(var D=1;D<25;D++){var I=(v=e[D]).high,d=v.low,y=o[D];y<32?(w=I<>>32-y,Q=d<>>32-y):(w=d<>>64-y,Q=I<>>64-y);var F=c[g[D]];F.high=w,F.low=Q}var Y=c[0],p=e[0];for(Y.high=p.high,Y.low=p.low,E=0;E<5;E++)for(h=0;h<5;h++){var v=e[D=E+5*h],z=c[D],U=c[(E+1)%5+5*h],m=c[(E+2)%5+5*h];v.high=z.high^~U.high&m.high,v.low=z.low^~U.low&m.low}v=e[0];var P=a[s];v.high^=P.high,v.low^=P.low}},_doFinalize:function(){var t=this._data,e=t.words,r=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;e[r>>>5]|=1<<24-r%32,e[(A.ceil((r+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*e.length,this._process();for(var B=this._state,s=this.cfg.outputLength/8,o=s/8,g=[],a=0;a>>24)|4278255360&(E<<24|E>>>8),w=16711935&(w<<8|w>>>24)|4278255360&(w<<24|w>>>8),g.push(w),g.push(E)}return new n.init(g,s)},clone:function(){for(var A=i.clone.call(this),t=A._state=this._state.slice(0),e=0;e<25;e++)t[e]=t[e].clone();return A}});t.SHA3=i._createHelper(E),t.HmacSHA3=i._createHmacHelper(E)}(Math),r.SHA3)},8122:function(A,t,e){"use strict";var r,n,i,B,s,o,g,a;A.exports=(a=e(757),e(2601),e(7991),n=(r=a).x64,i=n.Word,B=n.WordArray,s=r.algo,o=s.SHA512,g=s.SHA384=o.extend({_doReset:function(){this._hash=new B.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var A=o._doFinalize.call(this);return A.sigBytes-=16,A}}),r.SHA384=o._createHelper(g),r.HmacSHA384=o._createHmacHelper(g),a.SHA384)},7991:function(A,t,e){"use strict";var r;A.exports=(r=e(757),e(2601),function(){var A=r,t=A.lib.Hasher,e=A.x64,n=e.Word,i=e.WordArray,B=A.algo;function s(){return n.create.apply(n,arguments)}var o=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],g=[];!function(){for(var A=0;A<80;A++)g[A]=s()}();var a=B.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],n=e[1],i=e[2],B=e[3],s=e[4],a=e[5],c=e[6],E=e[7],w=r.high,Q=r.low,h=n.high,l=n.low,M=i.high,C=i.low,u=B.high,f=B.low,D=s.high,I=s.low,d=a.high,y=a.low,F=c.high,Y=c.low,p=E.high,v=E.low,z=w,U=Q,m=h,P=l,b=M,N=C,G=u,R=f,S=D,x=I,T=d,H=y,J=F,L=Y,j=p,k=v,O=0;O<80;O++){var K,W,V=g[O];if(O<16)W=V.high=0|A[t+2*O],K=V.low=0|A[t+2*O+1];else{var X=g[O-15],Z=X.high,q=X.low,_=(Z>>>1|q<<31)^(Z>>>8|q<<24)^Z>>>7,$=(q>>>1|Z<<31)^(q>>>8|Z<<24)^(q>>>7|Z<<25),AA=g[O-2],tA=AA.high,eA=AA.low,rA=(tA>>>19|eA<<13)^(tA<<3|eA>>>29)^tA>>>6,nA=(eA>>>19|tA<<13)^(eA<<3|tA>>>29)^(eA>>>6|tA<<26),iA=g[O-7],BA=iA.high,sA=iA.low,oA=g[O-16],gA=oA.high,aA=oA.low;W=(W=(W=_+BA+((K=$+sA)>>>0<$>>>0?1:0))+rA+((K+=nA)>>>0>>0?1:0))+gA+((K+=aA)>>>0>>0?1:0),V.high=W,V.low=K}var cA,EA=S&T^~S&J,wA=x&H^~x&L,QA=z&m^z&b^m&b,hA=U&P^U&N^P&N,lA=(z>>>28|U<<4)^(z<<30|U>>>2)^(z<<25|U>>>7),MA=(U>>>28|z<<4)^(U<<30|z>>>2)^(U<<25|z>>>7),CA=(S>>>14|x<<18)^(S>>>18|x<<14)^(S<<23|x>>>9),uA=(x>>>14|S<<18)^(x>>>18|S<<14)^(x<<23|S>>>9),fA=o[O],DA=fA.high,IA=fA.low,dA=j+CA+((cA=k+uA)>>>0>>0?1:0),yA=MA+hA;j=J,k=L,J=T,L=H,T=S,H=x,S=G+(dA=(dA=(dA=dA+EA+((cA+=wA)>>>0>>0?1:0))+DA+((cA+=IA)>>>0>>0?1:0))+W+((cA+=K)>>>0>>0?1:0))+((x=R+cA|0)>>>0>>0?1:0)|0,G=b,R=N,b=m,N=P,m=z,P=U,z=dA+(lA+QA+(yA>>>0>>0?1:0))+((U=cA+yA|0)>>>0>>0?1:0)|0}Q=r.low=Q+U,r.high=w+z+(Q>>>0>>0?1:0),l=n.low=l+P,n.high=h+m+(l>>>0

>>0?1:0),C=i.low=C+N,i.high=M+b+(C>>>0>>0?1:0),f=B.low=f+R,B.high=u+G+(f>>>0>>0?1:0),I=s.low=I+x,s.high=D+S+(I>>>0>>0?1:0),y=a.low=y+H,a.high=d+T+(y>>>0>>0?1:0),Y=c.low=Y+L,c.high=F+J+(Y>>>0>>0?1:0),v=E.low=v+k,E.high=p+j+(v>>>0>>0?1:0)},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(e/4294967296),t[31+(r+128>>>10<<5)]=e,A.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var A=t.clone.call(this);return A._hash=this._hash.clone(),A},blockSize:32});A.SHA512=t._createHelper(a),A.HmacSHA512=t._createHmacHelper(a)}(),r.SHA512)},8437:function(A,t,e){"use strict";var r;e(7042),A.exports=(r=e(757),e(7508),e(3440),e(3839),e(1582),function(){var A=r,t=A.lib,e=t.WordArray,n=t.BlockCipher,i=A.algo,B=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],a=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],c=i.DES=n.extend({_doReset:function(){for(var A=this._key.words,t=[],e=0;e<56;e++){var r=B[e]-1;t[e]=A[r>>>5]>>>31-r%32&1}for(var n=this._subKeys=[],i=0;i<16;i++){var g=n[i]=[],a=o[i];for(e=0;e<24;e++)g[e/6|0]|=t[(s[e]-1+a)%28]<<31-e%6,g[4+(e/6|0)]|=t[28+(s[e+24]-1+a)%28]<<31-e%6;for(g[0]=g[0]<<1|g[0]>>>31,e=1;e<7;e++)g[e]=g[e]>>>4*(e-1)+3;g[7]=g[7]<<5|g[7]>>>27}var c=this._invSubKeys=[];for(e=0;e<16;e++)c[e]=n[15-e]},encryptBlock:function(A,t){this._doCryptBlock(A,t,this._subKeys)},decryptBlock:function(A,t){this._doCryptBlock(A,t,this._invSubKeys)},_doCryptBlock:function(A,t,e){this._lBlock=A[t],this._rBlock=A[t+1],E.call(this,4,252645135),E.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),E.call(this,1,1431655765);for(var r=0;r<16;r++){for(var n=e[r],i=this._lBlock,B=this._rBlock,s=0,o=0;o<8;o++)s|=g[o][((B^n[o])&a[o])>>>0];this._lBlock=B,this._rBlock=i^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,E.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),E.call(this,16,65535),E.call(this,4,252645135),A[t]=this._lBlock,A[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function E(A,t){var e=(this._lBlock>>>A^this._rBlock)&t;this._rBlock^=e,this._lBlock^=e<>>A^this._lBlock)&t;this._lBlock^=e,this._rBlock^=e<192.");var t=A.slice(0,2),r=A.length<4?A.slice(0,2):A.slice(2,4),n=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=c.createEncryptor(e.create(t)),this._des2=c.createEncryptor(e.create(r)),this._des3=c.createEncryptor(e.create(n))},encryptBlock:function(A,t){this._des1.encryptBlock(A,t),this._des2.decryptBlock(A,t),this._des3.encryptBlock(A,t)},decryptBlock:function(A,t){this._des3.decryptBlock(A,t),this._des2.encryptBlock(A,t),this._des1.decryptBlock(A,t)},keySize:6,ivSize:2,blockSize:2});A.TripleDES=n._createHelper(Q)}(),r.TripleDES)},2601:function(A,t,e){"use strict";var r;e(7042),A.exports=(r=e(757),function(A){var t=r,e=t.lib,n=e.Base,i=e.WordArray,B=t.x64={};B.Word=n.extend({init:function(A,t){this.high=A,this.low=t}}),B.WordArray=n.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=e!=A?e:8*t.length},toX32:function(){for(var A=this.words,t=A.length,e=[],r=0;r=A.length?{done:!0}:{done:!1,value:A[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.")}function n(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);e=n)){t.next=13;break}return t.next=13,[n,i,e.tags[B]];case 13:r=e.stateTable[1][o],n=null;case 15:0!==r&&null==n&&(n=s),e.accepting[r]&&(i=s),0===r&&(r=1);case 18:s++,t.next=5;break;case 21:if(!(null!=n&&null!=i&&i>=n)){t.next=24;break}return t.next=24,[n,i,e.tags[r]];case 24:case"end":return t.stop()}}),t)})),t},t.apply=function(A,t){for(var e,n=r(this.match(A));!(e=n()).done;)for(var i,B=e.value,s=B[0],o=B[1],g=r(B[2]);!(i=g()).done;){var a=i.value;"function"==typeof t[a]&&t[a](s,o,A.slice(s,o+1))}},A}();A.exports=i},8478:function(A,t,e){"use strict";var r=e(8823).Buffer;e(7042),e(6699);var n=e(3857),i=e(2635);A.exports=function(){function A(A){var t;for(this.data=A,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.text={};;){var e=this.readUInt32(),n="";for(t=0;t<4;t++)n+=String.fromCharCode(this.data[this.pos++]);switch(n){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"PLTE":this.palette=this.read(e);break;case"IDAT":for(t=0;t0)for(t=0;tthis.data.length)throw new Error("Incomplete or corrupt PNG file")}}A.decode=function(t,e){return n.readFile(t,(function(t,r){return new A(r).decode((function(A){return e(A)}))}))},A.load=function(t){return new A(n.readFileSync(t))};var t=A.prototype;return t.read=function(A){for(var t=new Array(A),e=0;e=2*(1<<30))throw new RangeError('The value "'+A+'" is invalid for option "size"');var r=B(A);return t&&0!==t.length?"string"==typeof e?r.fill(t,e):r.fill(t):r.fill(0),r}),!s.kStringMaxLength)try{s.kStringMaxLength=r.binding("buffer").kStringMaxLength}catch(A){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),A.exports=s},3361:function(A,t,e){"use strict";function r(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,r)}return e}function n(A,t,e){return t in A?Object.defineProperty(A,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):A[t]=e,A}function i(A,t){for(var e=0;e0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(A){var t={data:A,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var A=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,A}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(A){if(0===this.length)return"";for(var t=this.head,e=""+t.data;t=t.next;)e+=A+t.data;return e}},{key:"concat",value:function(A){if(0===this.length)return B.alloc(0);for(var t,e,r,n=B.allocUnsafe(A>>>0),i=this.head,s=0;i;)t=i.data,e=n,r=s,B.prototype.copy.call(t,e,r),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(A,t){var e;return An.length?n.length:A;if(i===n.length?r+=n:r+=n.slice(0,A),0==(A-=i)){i===n.length?(++e,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(i));break}++e}return this.length-=e,r}},{key:"_getBuffer",value:function(A){var t=B.allocUnsafe(A),e=this.head,r=1;for(e.data.copy(t),A-=e.data.length;e=e.next;){var n=e.data,i=A>n.length?n.length:A;if(n.copy(t,t.length-A,0,i),0==(A-=i)){i===n.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=n.slice(i));break}++r}return this.length-=r,t}},{key:o,value:function(A,t){return s(this,function(A){for(var t=1;tA.length)&&(t=A.length);for(var e=0,r=new Array(t);e=A.length?{done:!0}:{done:!1,value:A[r++]}},e:function(A){throw A},f:n}}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 i,B=!0,s=!1;return{s:function(){e=A[Symbol.iterator]()},n:function(){var A=e.next();return B=A.done,A},e:function(A){s=!0,i=A},f:function(){try{B||null==e.return||e.return()}finally{if(s)throw i}}}}var U=function(){function A(){w(this,A)}return h(A,[{key:"toString",value:function(){throw new Error("Must be implemented by subclasses")}}]),A}(),m=function(){function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};w(this,A),this._items={},this.limits="boolean"!=typeof t.limits||t.limits}return h(A,[{key:"add",value:function(A,t){return this._items[A]=t}},{key:"get",value:function(A){return this._items[A]}},{key:"toString",value:function(){var A=this,t=Object.keys(this._items).sort((function(t,e){return A._compareKeys(t,e)})),e=["<<"];if(this.limits&&t.length>1){var r=t[0],n=t[t.length-1];e.push(" /Limits ".concat(R.convert([this._dataForKey(r),this._dataForKey(n)])))}e.push(" /".concat(this._keysName()," ["));var i,B=z(t);try{for(B.s();!(i=B.n()).done;){var s=i.value;e.push(" ".concat(R.convert(this._dataForKey(s))," ").concat(R.convert(this._items[s])))}}catch(A){B.e(A)}finally{B.f()}return e.push("]"),e.push(">>"),e.join("\n")}},{key:"_compareKeys",value:function(){throw new Error("Must be implemented by subclasses")}},{key:"_keysName",value:function(){throw new Error("Must be implemented by subclasses")}},{key:"_dataForKey",value:function(){throw new Error("Must be implemented by subclasses")}}]),A}(),P=function(A,t){return(Array(t+1).join("0")+A).slice(-t)},b=/[\n\r\t\b\f()\\]/g,N={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},G=function(A){var t=A.length;if(1&t)throw new Error("Buffer length must be even");for(var e=0,r=t-1;e1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t)return"/".concat(t);if(t instanceof String){for(var n,i=t,B=!1,s=0,o=i.length;s127){B=!0;break}return n=B?G(r.from("\ufeff".concat(i),"utf16le")):r.from(i.valueOf(),"ascii"),i=(i=e?e(n).toString("binary"):n.toString("binary")).replace(b,(function(A){return N[A]})),"(".concat(i,")")}if(r.isBuffer(t))return"<".concat(t.toString("hex"),">");if(t instanceof U||t instanceof m)return t.toString();if(t instanceof Date){var g="D:".concat(P(t.getUTCFullYear(),4))+P(t.getUTCMonth()+1,2)+P(t.getUTCDate(),2)+P(t.getUTCHours(),2)+P(t.getUTCMinutes(),2)+P(t.getUTCSeconds(),2)+"Z";return e&&(g=(g=e(r.from(g,"ascii")).toString("binary")).replace(b,(function(A){return N[A]}))),"(".concat(g,")")}if(Array.isArray(t)){var a=t.map((function(t){return A.convert(t,e)})).join(" ");return"[".concat(a,"]")}if("[object Object]"==={}.toString.call(t)){var c=["<<"];for(var E in t){var w=t[E];c.push("/".concat(E," ").concat(A.convert(w,e)))}return c.push(">>"),c.join("\n")}return"number"==typeof t?A.number(t):"".concat(t)}},{key:"number",value:function(A){if(A>-1e21&&A<1e21)return Math.round(1e6*A)/1e6;throw new Error("unsupported number: ".concat(A))}}]),A}(),S=function(A){u(e,A);var t=y(e);function e(A,r){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return w(this,e),(n=t.call(this)).document=A,n.id=r,n.data=i,n.gen=0,n.compress=n.document.compress&&!n.data.Filter,n.uncompressedLength=0,n.buffer=[],n}return h(e,[{key:"write",value:function(A){if(r.isBuffer(A)||(A=r.from(A+"\n","binary")),this.uncompressedLength+=A.length,null==this.data.Length&&(this.data.Length=0),this.buffer.push(A),this.data.Length+=A.length,this.compress)return this.data.Filter="FlateDecode"}},{key:"end",value:function(A){return A&&this.write(A),this.finalize()}},{key:"finalize",value:function(){this.offset=this.document._offset;var A=this.document._security?this.document._security.getEncryptFn(this.id,this.gen):null;this.buffer.length&&(this.buffer=r.concat(this.buffer),this.compress&&(this.buffer=i.default.deflateSync(this.buffer)),A&&(this.buffer=A(this.buffer)),this.data.Length=this.buffer.length),this.document._write("".concat(this.id," ").concat(this.gen," obj")),this.document._write(R.convert(this.data,A)),this.buffer.length&&(this.document._write("stream"),this.document._write(this.buffer),this.buffer=[],this.document._write("\nendstream")),this.document._write("endobj"),this.document._refEnd(this)}},{key:"toString",value:function(){return"".concat(this.id," ").concat(this.gen," R")}}]),e}(U),x={top:72,left:72,bottom:72,right:72},T={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]},H=function(){function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(this,A),this.document=t,this.size=e.size||"letter",this.layout=e.layout||"portrait","number"==typeof e.margin?this.margins={top:e.margin,left:e.margin,bottom:e.margin,right:e.margin}:this.margins=e.margins||x;var r=Array.isArray(this.size)?this.size:T[this.size.toUpperCase()];this.width=r["portrait"===this.layout?0:1],this.height=r["portrait"===this.layout?1:0],this.content=this.document.ref(),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources}),this.markings=[]}return h(A,[{key:"maxY",value:function(){return this.height-this.margins.bottom}},{key:"write",value:function(A){return this.content.write(A)}},{key:"end",value:function(){return this.dictionary.end(),this.resources.end(),this.content.end()}},{key:"fonts",get:function(){var A=this.resources.data;return null!=A.Font?A.Font:A.Font={}}},{key:"xobjects",get:function(){var A=this.resources.data;return null!=A.XObject?A.XObject:A.XObject={}}},{key:"ext_gstates",get:function(){var A=this.resources.data;return null!=A.ExtGState?A.ExtGState:A.ExtGState={}}},{key:"patterns",get:function(){var A=this.resources.data;return null!=A.Pattern?A.Pattern:A.Pattern={}}},{key:"colorSpaces",get:function(){var A=this.resources.data;return A.ColorSpace||(A.ColorSpace={})}},{key:"annotations",get:function(){var A=this.dictionary.data;return null!=A.Annots?A.Annots:A.Annots=[]}},{key:"structParentTreeKey",get:function(){var A=this.dictionary.data;return null!=A.StructParents?A.StructParents:A.StructParents=this.document.createStructParentTreeNextKey()}}]),A}(),J=function(A){u(e,A);var t=y(e);function e(){return w(this,e),t.apply(this,arguments)}return h(e,[{key:"_compareKeys",value:function(A,t){return A.localeCompare(t)}},{key:"_keysName",value:function(){return"Names"}},{key:"_dataForKey",value:function(A){return new String(A)}}]),e}(m);function L(A,t){if(A=t[i]&&A<=t[i+1])return!0;A>t[i+1]?e=n+1:r=n-1}return!1}var j=[545,545,564,591,686,687,751,767,848,863,880,883,886,889,891,893,895,899,907,907,909,909,930,930,975,975,1015,1023,1159,1159,1231,1231,1270,1271,1274,1279,1296,1328,1367,1368,1376,1376,1416,1416,1419,1424,1442,1442,1466,1466,1477,1487,1515,1519,1525,1547,1549,1562,1564,1566,1568,1568,1595,1599,1622,1631,1774,1775,1791,1791,1806,1806,1837,1839,1867,1919,1970,2304,2308,2308,2362,2363,2382,2383,2389,2391,2417,2432,2436,2436,2445,2446,2449,2450,2473,2473,2481,2481,2483,2485,2490,2491,2493,2493,2501,2502,2505,2506,2510,2518,2520,2523,2526,2526,2532,2533,2555,2561,2563,2564,2571,2574,2577,2578,2601,2601,2609,2609,2612,2612,2615,2615,2618,2619,2621,2621,2627,2630,2633,2634,2638,2648,2653,2653,2655,2661,2677,2688,2692,2692,2700,2700,2702,2702,2706,2706,2729,2729,2737,2737,2740,2740,2746,2747,2758,2758,2762,2762,2766,2767,2769,2783,2785,2789,2800,2816,2820,2820,2829,2830,2833,2834,2857,2857,2865,2865,2868,2869,2874,2875,2884,2886,2889,2890,2894,2901,2904,2907,2910,2910,2914,2917,2929,2945,2948,2948,2955,2957,2961,2961,2966,2968,2971,2971,2973,2973,2976,2978,2981,2983,2987,2989,2998,2998,3002,3005,3011,3013,3017,3017,3022,3030,3032,3046,3059,3072,3076,3076,3085,3085,3089,3089,3113,3113,3124,3124,3130,3133,3141,3141,3145,3145,3150,3156,3159,3167,3170,3173,3184,3201,3204,3204,3213,3213,3217,3217,3241,3241,3252,3252,3258,3261,3269,3269,3273,3273,3278,3284,3287,3293,3295,3295,3298,3301,3312,3329,3332,3332,3341,3341,3345,3345,3369,3369,3386,3389,3396,3397,3401,3401,3406,3414,3416,3423,3426,3429,3440,3457,3460,3460,3479,3481,3506,3506,3516,3516,3518,3519,3527,3529,3531,3534,3541,3541,3543,3543,3552,3569,3573,3584,3643,3646,3676,3712,3715,3715,3717,3718,3721,3721,3723,3724,3726,3731,3736,3736,3744,3744,3748,3748,3750,3750,3752,3753,3756,3756,3770,3770,3774,3775,3781,3781,3783,3783,3790,3791,3802,3803,3806,3839,3912,3912,3947,3952,3980,3983,3992,3992,4029,4029,4045,4046,4048,4095,4130,4130,4136,4136,4139,4139,4147,4149,4154,4159,4186,4255,4294,4303,4345,4346,4348,4351,4442,4446,4515,4519,4602,4607,4615,4615,4679,4679,4681,4681,4686,4687,4695,4695,4697,4697,4702,4703,4743,4743,4745,4745,4750,4751,4783,4783,4785,4785,4790,4791,4799,4799,4801,4801,4806,4807,4815,4815,4823,4823,4847,4847,4879,4879,4881,4881,4886,4887,4895,4895,4935,4935,4955,4960,4989,5023,5109,5120,5751,5759,5789,5791,5873,5887,5901,5901,5909,5919,5943,5951,5972,5983,5997,5997,6001,6001,6004,6015,6109,6111,6122,6143,6159,6159,6170,6175,6264,6271,6314,7679,7836,7839,7930,7935,7958,7959,7966,7967,8006,8007,8014,8015,8024,8024,8026,8026,8028,8028,8030,8030,8062,8063,8117,8117,8133,8133,8148,8149,8156,8156,8176,8177,8181,8181,8191,8191,8275,8278,8280,8286,8292,8297,8306,8307,8335,8351,8370,8399,8427,8447,8507,8508,8524,8530,8580,8591,9167,9215,9255,9279,9291,9311,9471,9471,9748,9749,9752,9752,9854,9855,9866,9984,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10079,10080,10133,10135,10160,10160,10175,10191,10220,10223,11008,11903,11930,11930,12020,12031,12246,12271,12284,12287,12352,12352,12439,12440,12544,12548,12589,12592,12687,12687,12728,12783,12829,12831,12868,12880,12924,12926,13004,13007,13055,13055,13175,13178,13278,13279,13311,13311,19894,19967,40870,40959,42125,42127,42183,44031,55204,55295,64046,64047,64107,64255,64263,64274,64280,64284,64311,64311,64317,64317,64319,64319,64322,64322,64325,64325,64434,64466,64832,64847,64912,64913,64968,64975,65021,65023,65040,65055,65060,65071,65095,65096,65107,65107,65127,65127,65132,65135,65141,65141,65277,65278,65280,65280,65471,65473,65480,65481,65488,65489,65496,65497,65501,65503,65511,65511,65519,65528,65536,66303,66335,66335,66340,66351,66379,66559,66598,66599,66638,118783,119030,119039,119079,119081,119262,119807,119893,119893,119965,119965,119968,119969,119971,119972,119975,119976,119981,119981,119994,119994,119996,119996,120001,120001,120004,120004,120070,120070,120075,120076,120085,120085,120093,120093,120122,120122,120127,120127,120133,120133,120135,120137,120145,120145,120484,120487,120778,120781,120832,131069,173783,194559,195102,196605,196608,262141,262144,327677,327680,393213,393216,458749,458752,524285,524288,589821,589824,655357,655360,720893,720896,786429,786432,851965,851968,917501,917504,917504,917506,917535,917632,983037],k=function(A){return L(A,j)},O=[173,173,847,847,6150,6150,6155,6155,6156,6156,6157,6157,8203,8203,8204,8204,8205,8205,8288,8288,65024,65024,65025,65025,65026,65026,65027,65027,65028,65028,65029,65029,65030,65030,65031,65031,65032,65032,65033,65033,65034,65034,65035,65035,65036,65036,65037,65037,65038,65038,65039,65039,65279,65279],K=[160,160,5760,5760,8192,8192,8193,8193,8194,8194,8195,8195,8196,8196,8197,8197,8198,8198,8199,8199,8200,8200,8201,8201,8202,8202,8203,8203,8239,8239,8287,8287,12288,12288],W=[128,159,1757,1757,1807,1807,6158,6158,8204,8204,8205,8205,8232,8232,8233,8233,8288,8288,8289,8289,8290,8290,8291,8291,8298,8303,65279,65279,65529,65532,119155,119162],V=[64976,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1114110,1114111],X=[0,31,127,127,832,832,833,833,8206,8206,8207,8207,8234,8234,8235,8235,8236,8236,8237,8237,8238,8238,8298,8298,8299,8299,8300,8300,8301,8301,8302,8302,8303,8303,12272,12283,55296,57343,57344,63743,65529,65529,65530,65530,65531,65531,65532,65532,65533,65533,917505,917505,917536,917631,983040,1048573,1048576,1114109],Z=function(A){return L(A,K)||L(A,X)||L(A,W)||L(A,V)},q=[1470,1470,1472,1472,1475,1475,1488,1514,1520,1524,1563,1563,1567,1567,1569,1594,1600,1610,1645,1647,1649,1749,1757,1757,1765,1766,1786,1790,1792,1805,1808,1808,1810,1836,1920,1957,1969,1969,8207,8207,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65020,65136,65140,65142,65276],_=function(A){return L(A,q)},$=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,544,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,1013,1024,1154,1162,1230,1232,1269,1272,1273,1280,1295,1329,1366,1369,1375,1377,1415,1417,1417,2307,2307,2309,2361,2365,2368,2377,2380,2384,2384,2392,2401,2404,2416,2434,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2494,2496,2503,2504,2507,2508,2519,2519,2524,2525,2527,2529,2534,2545,2548,2554,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2622,2624,2649,2652,2654,2654,2662,2671,2674,2676,2691,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2752,2761,2761,2763,2764,2768,2768,2784,2784,2790,2799,2818,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2878,2880,2880,2887,2888,2891,2892,2903,2903,2908,2909,2911,2913,2918,2928,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3007,3009,3010,3014,3016,3018,3020,3031,3031,3047,3058,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3137,3140,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3262,3264,3268,3271,3272,3274,3275,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3392,3398,3400,3402,3404,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3535,3537,3544,3551,3570,3572,3585,3632,3634,3635,3648,3654,3663,3675,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3805,3840,3863,3866,3892,3894,3894,3896,3896,3902,3911,3913,3946,3967,3967,3973,3973,3976,3979,4030,4037,4039,4044,4047,4047,4096,4129,4131,4135,4137,4138,4140,4140,4145,4145,4152,4152,4160,4183,4256,4293,4304,4344,4347,4347,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4961,4988,5024,5108,5121,5750,5761,5786,5792,5872,5888,5900,5902,5905,5920,5937,5941,5942,5952,5969,5984,5996,5998,6e3,6016,6070,6078,6085,6087,6088,6100,6106,6108,6108,6112,6121,6160,6169,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8206,8206,8305,8305,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8509,8511,8517,8521,8544,8579,9014,9082,9109,9109,9372,9449,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12588,12593,12686,12688,12727,12784,12828,12832,12867,12896,12923,12927,12976,12992,13003,13008,13054,13056,13174,13179,13277,13280,13310,13312,19893,19968,40869,40960,42124,44032,55203,55296,64045,64048,64106,64256,64262,64275,64279,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,66304,66334,66336,66339,66352,66378,66560,66597,66600,66637,118784,119029,119040,119078,119082,119142,119146,119154,119171,119172,119180,119209,119214,119261,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,12e4,120002,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120483,120488,120777,131072,173782,194560,195101,983040,1048573,1048576,1114109],AA=function(A){return L(A,$)},tA=function(A){return L(A,K)},eA=function(A){return L(A,O)},rA=function(A){return A.codePointAt(0)},nA=function(A){return A[0]},iA=function(A){return A[A.length-1]};function BA(A){for(var t=[],e=A.length,r=0;r=55296&&n<=56319&&e>r+1){var i=A.charCodeAt(r+1);if(i>=56320&&i<=57343){t.push(1024*(n-55296)+i-56320+65536),r+=1;continue}}t.push(n)}return t}function sA(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof A)throw new TypeError("Expected string.");if(0===A.length)return"";var e=BA(A).map((function(A){return tA(A)?32:A})).filter((function(A){return!eA(A)})),r=String.fromCodePoint.apply(null,e).normalize("NFKC"),n=BA(r),i=n.some(Z);if(i)throw new Error("Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3");if(!0!==t.allowUnassigned){var B=n.some(k);if(B)throw new Error("Unassigned code point, see https://tools.ietf.org/html/rfc4013#section-2.5")}var s=n.some(_),o=n.some(AA);if(s&&o)throw new Error("String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6");var g=_(rA(nA(r))),a=_(rA(iA(r)));if(s&&(!g||!a))throw new Error("Bidirectional RandALCat character must be the first and the last character of the string, see https://tools.ietf.org/html/rfc3454#section-6");return r}var oA=function(){function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(w(this,A),!e.ownerPassword&&!e.userPassword)throw new Error("None of owner password and user password is defined.");this.document=t,this._setupEncryption(e)}return h(A,null,[{key:"generateFileID",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="".concat(A.CreationDate.getTime(),"\n");for(var e in A)A.hasOwnProperty(e)&&(t+="".concat(e,": ").concat(A[e].valueOf(),"\n"));return wA(B.default.MD5(t))}},{key:"generateRandomWordArray",value:function(A){return B.default.lib.WordArray.random(A)}},{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.ownerPassword||e.userPassword?new A(t,e):null}}]),h(A,[{key:"_setupEncryption",value:function(A){switch(A.pdfVersion){case"1.4":case"1.5":this.version=2;break;case"1.6":case"1.7":this.version=4;break;case"1.7ext3":this.version=5;break;default:this.version=1}var t={Filter:"Standard"};switch(this.version){case 1:case 2:case 4:this._setupEncryptionV1V2V4(this.version,t,A);break;case 5:this._setupEncryptionV5(t,A)}this.dictionary=this.document.ref(t)}},{key:"_setupEncryptionV1V2V4",value:function(A,t,e){var r,n;switch(A){case 1:r=2,this.keyBits=40,n=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=-64;A.printing&&(t|=4);A.modifying&&(t|=8);A.copying&&(t|=16);A.annotating&&(t|=32);return t}(e.permissions);break;case 2:r=3,this.keyBits=128,n=gA(e.permissions);break;case 4:r=4,this.keyBits=128,n=gA(e.permissions)}var i,s,o=aA(e.userPassword),g=e.ownerPassword?aA(e.ownerPassword):o,a=function(A,t,e,r){for(var n=r,i=A>=3?51:1,s=0;s=3?20:1;for(var a=0;a=3?51:1,g=0;g=2&&(t.Length=this.keyBits),4===A&&(t.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV2",Length:this.keyBits/8}},t.StmF="StdCF",t.StrF="StdCF"),t.R=r,t.O=wA(a),t.U=wA(i),t.P=n}},{key:"_setupEncryptionV5",value:function(t,e){this.keyBits=256;var r=gA(e.permissions),n=cA(e.userPassword),i=e.ownerPassword?cA(e.ownerPassword):n;this.encryptionKey=(0,A.generateRandomWordArray)(32);var s=function(A,t){var e=t(8),r=t(8);return B.default.SHA256(A.clone().concat(e)).concat(e).concat(r)}(n,A.generateRandomWordArray),o=function(A,t,e){var r=B.default.SHA256(A.clone().concat(t)),n={mode:B.default.mode.CBC,padding:B.default.pad.NoPadding,iv:B.default.lib.WordArray.create(null,16)};return B.default.AES.encrypt(e,r,n).ciphertext}(n,B.default.lib.WordArray.create(s.words.slice(10,12),8),this.encryptionKey),g=function(A,t,e){var r=e(8),n=e(8);return B.default.SHA256(A.clone().concat(r).concat(t)).concat(r).concat(n)}(i,s,A.generateRandomWordArray),a=function(A,t,e,r){var n=B.default.SHA256(A.clone().concat(t).concat(e)),i={mode:B.default.mode.CBC,padding:B.default.pad.NoPadding,iv:B.default.lib.WordArray.create(null,16)};return B.default.AES.encrypt(r,n,i).ciphertext}(i,B.default.lib.WordArray.create(g.words.slice(10,12),8),s,this.encryptionKey),c=function(A,t,e){var r=B.default.lib.WordArray.create([EA(A),4294967295,1415668834],12).concat(e(4)),n={mode:B.default.mode.ECB,padding:B.default.pad.NoPadding};return B.default.AES.encrypt(r,t,n).ciphertext}(r,this.encryptionKey,A.generateRandomWordArray);t.V=5,t.Length=this.keyBits,t.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV3",Length:this.keyBits/8}},t.StmF="StdCF",t.StrF="StdCF",t.R=5,t.O=wA(g),t.OE=wA(a),t.U=wA(s),t.UE=wA(o),t.P=r,t.Perms=wA(c)}},{key:"getEncryptFn",value:function(t,e){var r,n;if(this.version<5&&(r=this.encryptionKey.clone().concat(B.default.lib.WordArray.create([(255&t)<<24|(65280&t)<<8|t>>8&65280|255&e,(65280&e)<<16],5))),1===this.version||2===this.version){var i=B.default.MD5(r);return i.sigBytes=Math.min(16,this.keyBits/8+5),function(A){return wA(B.default.RC4.encrypt(B.default.lib.WordArray.create(A),i).ciphertext)}}n=4===this.version?B.default.MD5(r.concat(B.default.lib.WordArray.create([1933667412],4))):this.encryptionKey;var s=A.generateRandomWordArray(16),o={mode:B.default.mode.CBC,padding:B.default.pad.Pkcs7,iv:s};return function(A){return wA(s.clone().concat(B.default.AES.encrypt(B.default.lib.WordArray.create(A),n,o).ciphertext))}}},{key:"end",value:function(){this.dictionary.end()}}]),A}();function gA(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=-3904;return"lowResolution"===A.printing&&(t|=4),"highResolution"===A.printing&&(t|=2052),A.modifying&&(t|=8),A.copying&&(t|=16),A.annotating&&(t|=32),A.fillingForms&&(t|=256),A.contentAccessibility&&(t|=512),A.documentAssembly&&(t|=1024),t}function aA(){for(var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=r.alloc(32),e=A.length,n=0;n255)throw new Error("Password contains one or more invalid characters.");t[n]=i,n++}for(;n<32;)t[n]=fA[n-e],n++;return B.default.lib.WordArray.create(t)}function cA(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";A=unescape(encodeURIComponent(sA(A)));for(var t=Math.min(127,A.length),e=r.alloc(t),n=0;n>8&65280|A>>24&255}function wA(A){for(var t=[],e=0;e>8*(3-e%4)&255);return r.from(t)}var QA,hA,lA,MA,CA,uA,fA=[40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122],DA=R.number,IA=function(){function A(t){w(this,A),this.doc=t,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}return h(A,[{key:"stop",value:function(A,t,e){if(null==e&&(e=1),t=this.doc._normalizeColor(t),0===this.stops.length)if(3===t.length)this._colorSpace="DeviceRGB";else if(4===t.length)this._colorSpace="DeviceCMYK";else{if(1!==t.length)throw new Error("Unknown color space");this._colorSpace="DeviceGray"}else if("DeviceRGB"===this._colorSpace&&3!==t.length||"DeviceCMYK"===this._colorSpace&&4!==t.length||"DeviceGray"===this._colorSpace&&1!==t.length)throw new Error("All gradient stops must use the same color space");return e=Math.max(0,Math.min(1,e)),this.stops.push([A,t,e]),this}},{key:"setTransform",value:function(A,t,e,r,n,i){return this.transform=[A,t,e,r,n,i],this}},{key:"embed",value:function(A){var t,e=this.stops.length;if(0!==e){this.embedded=!0,this.matrix=A;var r=this.stops[e-1];r[0]<1&&this.stops.push([1,r[1],r[2]]);for(var n=[],i=[],B=[],s=0;s>16,t>>8&255,255&t]}else mA[A]&&(A=mA[A]);return Array.isArray(A)?(3===A.length?A=A.map((function(A){return A/255})):4===A.length&&(A=A.map((function(A){return A/100}))),A):null},_setColor:function(A,t){return A instanceof YA?(A.apply(t),!0):Array.isArray(A)&&A[0]instanceof zA?(A[0].apply(t,A[1]),!0):this._setColorCore(A,t)},_setColorCore:function(A,t){if(!(A=this._normalizeColor(A)))return!1;var e=t?"SCN":"scn",r=this._getColorSpace(A);return this._setColorSpace(r,t),A=A.join(" "),this.addContent("".concat(A," ").concat(e)),!0},_setColorSpace:function(A,t){var e=t?"CS":"cs";return this.addContent("/".concat(A," ").concat(e))},_getColorSpace:function(A){return 4===A.length?"DeviceCMYK":"DeviceRGB"},fillColor:function(A,t){return this._setColor(A,!1)&&this.fillOpacity(t),this._fillColor=[A,t],this},strokeColor:function(A,t){return this._setColor(A,!0)&&this.strokeOpacity(t),this},opacity:function(A){return this._doOpacity(A,A),this},fillOpacity:function(A){return this._doOpacity(A,null),this},strokeOpacity:function(A){return this._doOpacity(null,A),this},_doOpacity:function(A,t){var e,r;if(null!=A||null!=t){null!=A&&(A=Math.max(0,Math.min(1,A))),null!=t&&(t=Math.max(0,Math.min(1,t)));var n="".concat(A,"_").concat(t);if(this._opacityRegistry[n]){var i=F(this._opacityRegistry[n],2);e=i[0],r=i[1]}else{e={Type:"ExtGState"},null!=A&&(e.ca=A),null!=t&&(e.CA=t),(e=this.ref(e)).end();var B=++this._opacityCount;r="Gs".concat(B),this._opacityRegistry[n]=[e,r]}return this.page.ext_gstates[r]=e,this.addContent("/".concat(r," gs"))}},linearGradient:function(A,t,e,r){return new pA(this,A,t,e,r)},radialGradient:function(A,t,e,r,n,i){return new vA(this,A,t,e,r,n,i)},pattern:function(A,t,e,r){return new zA(this,A,t,e,r)}},mA={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};QA=hA=lA=MA=CA=uA=0;var PA={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},bA={M:function(A,t){return QA=t[0],hA=t[1],lA=MA=null,CA=QA,uA=hA,A.moveTo(QA,hA)},m:function(A,t){return QA+=t[0],hA+=t[1],lA=MA=null,CA=QA,uA=hA,A.moveTo(QA,hA)},C:function(A,t){return QA=t[4],hA=t[5],lA=t[2],MA=t[3],A.bezierCurveTo.apply(A,Y(t))},c:function(A,t){return A.bezierCurveTo(t[0]+QA,t[1]+hA,t[2]+QA,t[3]+hA,t[4]+QA,t[5]+hA),lA=QA+t[2],MA=hA+t[3],QA+=t[4],hA+=t[5]},S:function(A,t){return null===lA&&(lA=QA,MA=hA),A.bezierCurveTo(QA-(lA-QA),hA-(MA-hA),t[0],t[1],t[2],t[3]),lA=t[0],MA=t[1],QA=t[2],hA=t[3]},s:function(A,t){return null===lA&&(lA=QA,MA=hA),A.bezierCurveTo(QA-(lA-QA),hA-(MA-hA),QA+t[0],hA+t[1],QA+t[2],hA+t[3]),lA=QA+t[0],MA=hA+t[1],QA+=t[2],hA+=t[3]},Q:function(A,t){return lA=t[0],MA=t[1],QA=t[2],hA=t[3],A.quadraticCurveTo(t[0],t[1],QA,hA)},q:function(A,t){return A.quadraticCurveTo(t[0]+QA,t[1]+hA,t[2]+QA,t[3]+hA),lA=QA+t[0],MA=hA+t[1],QA+=t[2],hA+=t[3]},T:function(A,t){return null===lA?(lA=QA,MA=hA):(lA=QA-(lA-QA),MA=hA-(MA-hA)),A.quadraticCurveTo(lA,MA,t[0],t[1]),lA=QA-(lA-QA),MA=hA-(MA-hA),QA=t[0],hA=t[1]},t:function(A,t){return null===lA?(lA=QA,MA=hA):(lA=QA-(lA-QA),MA=hA-(MA-hA)),A.quadraticCurveTo(lA,MA,QA+t[0],hA+t[1]),QA+=t[0],hA+=t[1]},A:function(A,t){return NA(A,QA,hA,t),QA=t[5],hA=t[6]},a:function(A,t){return t[5]+=QA,t[6]+=hA,NA(A,QA,hA,t),QA=t[5],hA=t[6]},L:function(A,t){return QA=t[0],hA=t[1],lA=MA=null,A.lineTo(QA,hA)},l:function(A,t){return QA+=t[0],hA+=t[1],lA=MA=null,A.lineTo(QA,hA)},H:function(A,t){return QA=t[0],lA=MA=null,A.lineTo(QA,hA)},h:function(A,t){return QA+=t[0],lA=MA=null,A.lineTo(QA,hA)},V:function(A,t){return hA=t[0],lA=MA=null,A.lineTo(QA,hA)},v:function(A,t){return hA+=t[0],lA=MA=null,A.lineTo(QA,hA)},Z:function(A){return A.closePath(),QA=CA,hA=uA},z:function(A){return A.closePath(),QA=CA,hA=uA}},NA=function(A,t,e,r){var n,i=F(r,7),B=i[0],s=i[1],o=i[2],g=i[3],a=i[4],c=i[5],E=i[6],w=z(GA(c,E,B,s,g,a,o,t,e));try{for(w.s();!(n=w.n()).done;){var Q=n.value,h=RA.apply(void 0,Y(Q));A.bezierCurveTo.apply(A,Y(h))}}catch(A){w.e(A)}finally{w.f()}},GA=function(A,t,e,r,n,i,B,s,o){var g=B*(Math.PI/180),a=Math.sin(g),c=Math.cos(g);e=Math.abs(e),r=Math.abs(r);var E=(lA=c*(s-A)*.5+a*(o-t)*.5)*lA/(e*e)+(MA=c*(o-t)*.5-a*(s-A)*.5)*MA/(r*r);E>1&&(e*=E=Math.sqrt(E),r*=E);var w=c/e,Q=a/e,h=-a/r,l=c/r,M=w*s+Q*o,C=h*s+l*o,u=w*A+Q*t,f=h*A+l*t,D=1/((u-M)*(u-M)+(f-C)*(f-C))-.25;D<0&&(D=0);var I=Math.sqrt(D);i===n&&(I=-I);var d=.5*(M+u)-I*(f-C),y=.5*(C+f)+I*(u-M),F=Math.atan2(C-y,M-d),Y=Math.atan2(f-y,u-d)-F;Y<0&&1===i?Y+=2*Math.PI:Y>0&&0===i&&(Y-=2*Math.PI);for(var p=Math.ceil(Math.abs(Y/(.5*Math.PI+.001))),v=[],z=0;z0&&(n[n.length]=+i),r[r.length]={cmd:t,args:n},n=[],i="",B=!1),t=g;else if([" ",","].includes(g)||"-"===g&&i.length>0&&"e"!==i[i.length-1]||"."===g&&B){if(0===i.length)continue;n.length===s?(r[r.length]={cmd:t,args:n},n=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):n[n.length]=+i,B="."===g,i=["-","."].includes(g)?g:""}else i+=g,"."===g&&(B=!0)}}catch(A){o.e(A)}finally{o.f()}return i.length>0&&(n.length===s?(r[r.length]={cmd:t,args:n},n=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):n[n.length]=+i),r[r.length]={cmd:t,args:n},r}(t);!function(A,t){QA=hA=lA=MA=CA=uA=0;for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},e=A;Array.isArray(A)||(A=[A,t.space||A]);var r=A.every((function(A){return Number.isFinite(A)&&A>0}));if(!r)throw new Error("dash(".concat(JSON.stringify(e),", ").concat(JSON.stringify(t),") invalid, lengths must be numeric and greater than zero"));return A=A.map(xA).join(" "),this.addContent("[".concat(A,"] ").concat(xA(t.phase||0)," d"))},undash:function(){return this.addContent("[] 0 d")},moveTo:function(A,t){return this.addContent("".concat(xA(A)," ").concat(xA(t)," m"))},lineTo:function(A,t){return this.addContent("".concat(xA(A)," ").concat(xA(t)," l"))},bezierCurveTo:function(A,t,e,r,n,i){return this.addContent("".concat(xA(A)," ").concat(xA(t)," ").concat(xA(e)," ").concat(xA(r)," ").concat(xA(n)," ").concat(xA(i)," c"))},quadraticCurveTo:function(A,t,e,r){return this.addContent("".concat(xA(A)," ").concat(xA(t)," ").concat(xA(e)," ").concat(xA(r)," v"))},rect:function(A,t,e,r){return this.addContent("".concat(xA(A)," ").concat(xA(t)," ").concat(xA(e)," ").concat(xA(r)," re"))},roundedRect:function(A,t,e,r,n){null==n&&(n=0);var i=(n=Math.min(n,.5*e,.5*r))*(1-TA);return this.moveTo(A+n,t),this.lineTo(A+e-n,t),this.bezierCurveTo(A+e-i,t,A+e,t+i,A+e,t+n),this.lineTo(A+e,t+r-n),this.bezierCurveTo(A+e,t+r-i,A+e-i,t+r,A+e-n,t+r),this.lineTo(A+n,t+r),this.bezierCurveTo(A+i,t+r,A,t+r-i,A,t+r-n),this.lineTo(A,t+n),this.bezierCurveTo(A,t+i,A+i,t,A+n,t),this.closePath()},ellipse:function(A,t,e,r){null==r&&(r=e);var n=e*TA,i=r*TA,B=(A-=e)+2*e,s=(t-=r)+2*r,o=A+e,g=t+r;return this.moveTo(A,g),this.bezierCurveTo(A,g-i,o-n,t,o,t),this.bezierCurveTo(o+n,t,B,g-i,B,g),this.bezierCurveTo(B,g+i,o+n,s,o,s),this.bezierCurveTo(o-n,s,A,g+i,A,g),this.closePath()},circle:function(A,t,e){return this.ellipse(A,t,e)},arc:function(A,t,e,r,n,i){null==i&&(i=!1);var B=2*Math.PI,s=.5*Math.PI,o=n-r;if(Math.abs(o)>B)o=B;else if(0!==o&&i!==o<0){o=(i?-1:1)*B+o}var g=Math.ceil(Math.abs(o)/s),a=o/g,c=a/s*TA*e,E=r,w=-Math.sin(E)*c,Q=Math.cos(E)*c,h=A+Math.cos(E)*e,l=t+Math.sin(E)*e;this.moveTo(h,l);for(var M=0;M1&&void 0!==arguments[1]?arguments[1]:{},r=A*Math.PI/180,n=Math.cos(r),i=Math.sin(r),B=t=0;if(null!=e.origin){var s=F(e.origin,2),o=(B=s[0])*n-(t=s[1])*i,g=B*i+t*n;B-=o,t-=g}return this.transform(n,i,-i,n,B,t)},scale:function(A,t){var e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};null==t&&(t=A),"object"==typeof t&&(r=t,t=A);var n=e=0;if(null!=r.origin){var i=F(r.origin,2);n=i[0],e=i[1],n-=A*n,e-=t*e}return this.transform(A,0,0,t,n,e)}},JA={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},LA=".notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n.notdef .notdef .notdef .notdef\n \nspace exclam quotedbl numbersign\ndollar percent ampersand quotesingle\nparenleft parenright asterisk plus\ncomma hyphen period slash\nzero one two three\nfour five six seven\neight nine colon semicolon\nless equal greater question\n \nat A B C\nD E F G\nH I J K\nL M N O\nP Q R S\nT U V W\nX Y Z bracketleft\nbackslash bracketright asciicircum underscore\n \ngrave a b c\nd e f g\nh i j k\nl m n o\np q r s\nt u v w\nx y z braceleft\nbar braceright asciitilde .notdef\n \nEuro .notdef quotesinglbase florin\nquotedblbase ellipsis dagger daggerdbl\ncircumflex perthousand Scaron guilsinglleft\nOE .notdef Zcaron .notdef\n.notdef quoteleft quoteright quotedblleft\nquotedblright bullet endash emdash\ntilde trademark scaron guilsinglright\noe .notdef zcaron ydieresis\n \nspace exclamdown cent sterling\ncurrency yen brokenbar section\ndieresis copyright ordfeminine guillemotleft\nlogicalnot hyphen registered macron\ndegree plusminus twosuperior threesuperior\nacute mu paragraph periodcentered\ncedilla onesuperior ordmasculine guillemotright\nonequarter onehalf threequarters questiondown\n \nAgrave Aacute Acircumflex Atilde\nAdieresis Aring AE Ccedilla\nEgrave Eacute Ecircumflex Edieresis\nIgrave Iacute Icircumflex Idieresis\nEth Ntilde Ograve Oacute\nOcircumflex Otilde Odieresis multiply\nOslash Ugrave Uacute Ucircumflex\nUdieresis Yacute Thorn germandbls\n \nagrave aacute acircumflex atilde\nadieresis aring ae ccedilla\negrave eacute ecircumflex edieresis\nigrave iacute icircumflex idieresis\neth ntilde ograve oacute\nocircumflex otilde odieresis divide\noslash ugrave uacute ucircumflex\nudieresis yacute thorn ydieresis".split(/\s+/),jA=function(){function A(t){w(this,A),this.contents=t,this.attributes={},this.glyphWidths={},this.boundingBoxes={},this.kernPairs={},this.parse(),this.charWidths=new Array(256);for(var e=0;e<=255;e++)this.charWidths[e]=this.glyphWidths[LA[e]];this.bbox=this.attributes.FontBBox.split(/\s+/).map((function(A){return+A})),this.ascender=+(this.attributes.Ascender||0),this.descender=+(this.attributes.Descender||0),this.xHeight=+(this.attributes.XHeight||0),this.capHeight=+(this.attributes.CapHeight||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender)}return h(A,null,[{key:"open",value:function(t){return new A(E.readFileSync(t,"utf8"))}}]),h(A,[{key:"parse",value:function(){var A,t="",e=z(this.contents.split("\n"));try{for(e.s();!(A=e.n()).done;){var r,n,i=A.value;if(r=i.match(/^Start(\w+)/))t=r[1];else if(r=i.match(/^End(\w+)/))t="";else switch(t){case"FontMetrics":var B=(r=i.match(/(^\w+)\s+(.*)/))[1],s=r[2];(n=this.attributes[B])?(Array.isArray(n)||(n=this.attributes[B]=[n]),n.push(s)):this.attributes[B]=s;break;case"CharMetrics":if(!/^CH?\s/.test(i))continue;var o=i.match(/\bN\s+(\.?\w+)\s*;/)[1];this.glyphWidths[o]=+i.match(/\bWX\s+(\d+)\s*;/)[1];break;case"KernPairs":(r=i.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/))&&(this.kernPairs[r[1]+"\0"+r[2]]=parseInt(r[3]))}}}catch(A){e.e(A)}finally{e.f()}}},{key:"encodeText",value:function(A){for(var t=[],e=0,r=A.length;e>8,n=0;this.font.post.isFixedPitch&&(n|=1),1<=r&&r<=7&&(n|=2),n|=4,10===r&&(n|=8),this.font.head.macStyle.italic&&(n|=64);var i=[1,2,3,4,5,6].map((function(t){return String.fromCharCode((A.id.charCodeAt(t)||73)+17)})).join("")+"+"+this.font.postscriptName,B=this.font.bbox,s=this.document.ref({Type:"FontDescriptor",FontName:i,Flags:n,FontBBox:[B.minX*this.scale,B.minY*this.scale,B.maxX*this.scale,B.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0});t?s.data.FontFile3=e:s.data.FontFile2=e,s.end();var o={Type:"Font",Subtype:"CIDFontType0",BaseFont:i,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:s,W:[0,this.widths]};t||(o.Subtype="CIDFontType2",o.CIDToGIDMap="Identity");var g=this.document.ref(o);return g.end(),this.dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:i,Encoding:"Identity-H",DescendantFonts:[g],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()}},{key:"toUnicodeCmap",value:function(){var A,t=this.document.ref(),e=[],r=z(this.unicode);try{for(r.s();!(A=r.n()).done;){var n,i=A.value,B=[],s=z(i);try{for(s.s();!(n=s.n()).done;){var o=n.value;o>65535&&(o-=65536,B.push(WA(o>>>10&1023|55296)),o=56320|1023&o),B.push(WA(o))}}catch(A){s.e(A)}finally{s.f()}e.push("<".concat(B.join(" "),">"))}}catch(A){r.e(A)}finally{r.f()}return t.end("/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000>\nendcodespacerange\n1 beginbfrange\n<0000> <".concat(WA(e.length-1),"> [").concat(e.join(" "),"]\nendbfrange\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend")),t}}]),e}(kA),XA=function(){function A(){w(this,A)}return h(A,null,[{key:"open",value:function(A,t,e,n){var i;if("string"==typeof t){if(KA.isStandardFont(t))return new KA(A,t,n);t=E.readFileSync(t)}if(r.isBuffer(t)?i=s.default.create(t,e):t instanceof Uint8Array?i=s.default.create(r.from(t),e):t instanceof ArrayBuffer&&(i=s.default.create(r.from(new Uint8Array(t)),e)),null==i)throw new Error("Not a supported font format or standard PDF font.");return new VA(A,i,n)}}]),A}(),ZA={initFonts:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Helvetica";this._fontFamilies={},this._fontCount=0,this._fontSize=12,this._font=null,this._registeredFonts={},A&&this.font(A)},font:function(A,t,e){var r,n;if("number"==typeof t&&(e=t,t=null),"string"==typeof A&&this._registeredFonts[A]){r=A;var i=this._registeredFonts[A];A=i.src,t=i.family}else"string"!=typeof(r=t||A)&&(r=null);if(null!=e&&this.fontSize(e),n=this._fontFamilies[r])return this._font=n,this;var B="F".concat(++this._fontCount);return this._font=XA.open(this,A,t,B),(n=this._fontFamilies[this._font.name])?(this._font=n,this):(r&&(this._fontFamilies[r]=this._font),this._font.name&&(this._fontFamilies[this._font.name]=this._font),this)},fontSize:function(A){return this._fontSize=A,this},currentLineHeight:function(A){return null==A&&(A=!1),this._font.lineHeight(this._fontSize,A)},registerFont:function(A,t,e){return this._registeredFonts[A]={src:t,family:e},this}},qA=function(A){u(e,A);var t=y(e);function e(A,r){var n;return w(this,e),(n=t.call(this)).document=A,n.indent=r.indent||0,n.characterSpacing=r.characterSpacing||0,n.wordSpacing=0===r.wordSpacing,n.columns=r.columns||1,n.columnGap=null!=r.columnGap?r.columnGap:18,n.lineWidth=(r.width-n.columnGap*(n.columns-1))/n.columns,n.spaceLeft=n.lineWidth,n.startX=n.document.x,n.startY=n.document.y,n.column=1,n.ellipsis=r.ellipsis,n.continuedX=0,n.features=r.features,null!=r.height?(n.height=r.height,n.maxY=n.startY+r.height):n.maxY=n.document.page.maxY(),n.on("firstLine",(function(A){var t=n.continuedX||n.indent;return n.document.x+=t,n.lineWidth-=t,n.once("line",(function(){if(n.document.x-=t,n.lineWidth+=t,A.continued&&!n.continuedX&&(n.continuedX=n.indent),!A.continued)return n.continuedX=0}))})),n.on("lastLine",(function(A){var t=A.align;return"justify"===t&&(A.align="left"),n.lastLine=!0,n.once("line",(function(){return n.document.y+=A.paragraphGap||0,A.align=t,n.lastLine=!1}))})),n}return h(e,[{key:"wordWidth",value:function(A){return this.document.widthOfString(A,this)+this.characterSpacing+this.wordSpacing}},{key:"eachWord",value:function(A,t){for(var e,r=new g.default(A),n=null,i=Object.create(null);e=r.nextBreak();){var B,s=A.slice((null!=n?n.position:void 0)||0,e.position),o=null!=i[s]?i[s]:i[s]=this.wordWidth(s);if(o>this.lineWidth+this.continuedX)for(var a=n,c={};s.length;){var E,w;o>this.spaceLeft?(E=Math.ceil(this.spaceLeft/(o/s.length)),w=(o=this.wordWidth(s.slice(0,E)))<=this.spaceLeft&&Ethis.spaceLeft&&E>0;Q||w;)Q?Q=(o=this.wordWidth(s.slice(0,--E)))>this.spaceLeft&&E>0:(Q=(o=this.wordWidth(s.slice(0,++E)))>this.spaceLeft&&E>0,w=o<=this.spaceLeft&&Ethis.maxY||r>this.maxY)&&this.nextSection();var n="",i=0,B=0,s=0,o=this.document.y,g=function(){return t.textWidth=i+e.wordSpacing*(B-1),t.wordCount=B,t.lineWidth=e.lineWidth,o=e.document.y,e.emit("line",n,t,e),s++};return this.emit("sectionStart",t,this),this.eachWord(A,(function(A,r,s,o){if((null==o||o.required)&&(e.emit("firstLine",t,e),e.spaceLeft=e.lineWidth),r<=e.spaceLeft&&(n+=A,i+=r,B++),s.required||r>e.spaceLeft){var a=e.document.currentLineHeight(!0);if(null!=e.height&&e.ellipsis&&e.document.y+2*a>e.maxY&&e.column>=e.columns){for(!0===e.ellipsis&&(e.ellipsis="…"),n=n.replace(/\s+$/,""),i=e.wordWidth(n+e.ellipsis);n&&i>e.lineWidth;)n=n.slice(0,-1).replace(/\s+$/,""),i=e.wordWidth(n+e.ellipsis);i<=e.lineWidth&&(n+=e.ellipsis),i=e.wordWidth(n)}if(s.required&&(r>e.spaceLeft&&(g(),n=A,i=r,B=1),e.emit("lastLine",t,e)),g(),e.document.y+a>e.maxY)if(!e.nextSection())return B=0,n="",!1;return s.required?(e.spaceLeft=e.lineWidth,n="",i=0,B=0):(e.spaceLeft=e.lineWidth-r,n=A,i=r,B=1)}return e.spaceLeft-=r})),B>0&&(this.emit("lastLine",t,this),g()),this.emit("sectionEnd",t,this),!0===t.continued?(s>1&&(this.continuedX=0),this.continuedX+=t.textWidth||0,this.document.y=o):this.document.x=this.startX}},{key:"nextSection",value:function(A){if(this.emit("sectionEnd",A,this),++this.column>this.columns){if(null!=this.height)return!1;var t;if(this.document.continueOnNewPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.document.x=this.startX,this.document._fillColor)(t=this.document).fillColor.apply(t,Y(this.document._fillColor));this.emit("pageBreak",A,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit("columnBreak",A,this);return this.emit("sectionStart",A,this),!0}}]),e}(o.EventEmitter),_A=R.number,$A={initText:function(){return this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},lineGap:function(A){return this._lineGap=A,this},moveDown:function(A){return null==A&&(A=1),this.y+=this.currentLineHeight(!0)*A+this._lineGap,this},moveUp:function(A){return null==A&&(A=1),this.y-=this.currentLineHeight(!0)*A+this._lineGap,this},_text:function(A,t,e,r,n){var i=this;r=this._initOptions(t,e,r),A=null==A?"":"".concat(A),r.wordSpacing&&(A=A.replace(/\s{2,}/g," "));var B=function(){r.structParent&&r.structParent.add(i.struct(r.structType||"P",[i.markStructureContent(r.structType||"P")]))};if(r.width){var s=this._wrapper;s||((s=new qA(this,r)).on("line",n),s.on("firstLine",B)),this._wrapper=r.continued?s:null,this._textOptions=r.continued?r:null,s.wrap(A,r)}else{var o,g=z(A.split("\n"));try{for(g.s();!(o=g.n()).done;){var a=o.value;B(),n(a,r)}}catch(A){g.e(A)}finally{g.f()}}return this},text:function(A,t,e,r){return this._text(A,t,e,r,this._line)},widthOfString:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._font.widthOfString(A,this._fontSize,t.features)+(t.characterSpacing||0)*(A.length-1)},heightOfString:function(A,t){var e=this,r=this.x,n=this.y;(t=this._initOptions(t)).height=1/0;var i=t.lineGap||this._lineGap||0;this._text(A,this.x,this.y,t,(function(){return e.y+=e.currentLineHeight(!0)+i}));var B=this.y-n;return this.x=r,this.y=n,B},list:function(A,t,e,r,n){var i=this,B=(r=this._initOptions(t,e,r)).listType||"bullet",s=Math.round(this._font.ascender/1e3*this._fontSize),o=s/2,g=r.bulletRadius||s/3,a=r.textIndent||("bullet"===B?5*g:2*s),c=r.bulletIndent||("bullet"===B?8*g:2*s),E=1,w=[],Q=[],h=[];!function A(t){for(var e=1,r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"==typeof A&&(e=A,A=null);var r=Object.assign({},e);if(this._textOptions)for(var n in this._textOptions){var i=this._textOptions[n];"continued"!==n&&void 0===r[n]&&(r[n]=i)}return null!=A&&(this.x=A),null!=t&&(this.y=t),!1!==r.lineBreak&&(null==r.width&&(r.width=this.page.width-this.x-this.page.margins.right),r.width=Math.max(r.width,0)),r.columns||(r.columns=0),null==r.columnGap&&(r.columnGap=18),r},_line:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;this._fragment(A,this.x,this.y,t);var r=t.lineGap||this._lineGap||0;return e?this.y+=this.currentLineHeight(!0)+r:this.x+=this.widthOfString(A)},_fragment:function(A,t,e,r){var n,i,B,s,o,g,a=this;if(0!==(A="".concat(A).replace(/\n/g,"")).length){var c=r.align||"left",E=r.wordSpacing||0,w=r.characterSpacing||0;if(r.width)switch(c){case"right":o=this.widthOfString(A.replace(/\s+$/,""),r),t+=r.lineWidth-o;break;case"center":t+=r.lineWidth/2-r.textWidth/2;break;case"justify":g=A.trim().split(/\s+/),o=this.widthOfString(A.replace(/\s+/g,""),r);var Q=this.widthOfString(" ")+w;E=Math.max(0,(r.lineWidth-o)/Math.max(1,g.length-1)-Q)}if("number"==typeof r.baseline)n=-r.baseline;else{switch(r.baseline){case"svg-middle":n=.5*this._font.xHeight;break;case"middle":case"svg-central":n=.5*(this._font.descender+this._font.ascender);break;case"bottom":case"ideographic":n=this._font.descender;break;case"alphabetic":n=0;break;case"mathematical":n=.5*this._font.ascender;break;case"hanging":n=.8*this._font.ascender;break;default:n=this._font.ascender}n=n/1e3*this._fontSize}var h,l=r.textWidth+E*(r.wordCount-1)+w*(A.length-1);if(null!=r.link&&this.link(t,e,l,this.currentLineHeight(),r.link),null!=r.goTo&&this.goTo(t,e,l,this.currentLineHeight(),r.goTo),null!=r.destination&&this.addNamedDestination(r.destination,"XYZ",t,e,null),r.underline){this.save(),r.stroke||this.strokeColor.apply(this,Y(this._fillColor||[]));var M=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(M);var C=e+this.currentLineHeight()-M;this.moveTo(t,C),this.lineTo(t+l,C),this.stroke(),this.restore()}if(r.strike){this.save(),r.stroke||this.strokeColor.apply(this,Y(this._fillColor||[]));var u=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(u);var f=e+this.currentLineHeight()/2;this.moveTo(t,f),this.lineTo(t+l,f),this.stroke(),this.restore()}if(this.save(),r.oblique)h="number"==typeof r.oblique?-Math.tan(r.oblique*Math.PI/180):-.25,this.transform(1,0,0,1,t,e),this.transform(1,0,h,1,-h*n,0),this.transform(1,0,0,1,-t,-e);this.transform(1,0,0,-1,0,this.page.height),e=this.page.height-e-n,null==this.page.fonts[this._font.id]&&(this.page.fonts[this._font.id]=this._font.ref()),this.addContent("BT"),this.addContent("1 0 0 1 ".concat(_A(t)," ").concat(_A(e)," Tm")),this.addContent("/".concat(this._font.id," ").concat(_A(this._fontSize)," Tf"));var D=r.fill&&r.stroke?2:r.stroke?1:0;if(D&&this.addContent("".concat(D," Tr")),w&&this.addContent("".concat(_A(w)," Tc")),E){g=A.trim().split(/\s+/),E+=this.widthOfString(" ")+w,E*=1e3/this._fontSize,i=[],s=[];var I,d=z(g);try{for(d.s();!(I=d.n()).done;){var y=I.value,p=F(this._font.encode(y,r.features),2),v=p[0],U=p[1];i=i.concat(v),s=s.concat(U);var m={},P=s[s.length-1];for(var b in P){var N=P[b];m[b]=N}m.xAdvance+=E,s[s.length-1]=m}}catch(A){d.e(A)}finally{d.f()}}else{var G=F(this._font.encode(A,r.features),2);i=G[0],s=G[1]}var R=this._fontSize/1e3,S=[],x=0,T=!1,H=function(A){if(x ").concat(_A(-e)))}return x=A},J=function(A){if(H(A),S.length>0)return a.addContent("[".concat(S.join(" "),"] TJ")),S.length=0};for(B=0;B3&&void 0!==arguments[3]?arguments[3]:{};"object"==typeof t&&(a=t,t=null),t=null!=(o=null!=t?t:a.x)?o:this.x,e=null!=(g=null!=e?e:a.y)?g:this.y,"string"==typeof A&&(B=this._imageRegistry[A]),B||(B=A.width&&A.height?A:this.openImage(A)),B.obj||B.embed(this),null==this.page.xobjects[B.label]&&(this.page.xobjects[B.label]=B.obj);var c=a.width||B.width,E=a.height||B.height;if(a.width&&!a.height){var w=c/B.width;c=B.width*w,E=B.height*w}else if(a.height&&!a.width){var Q=E/B.height;c=B.width*Q,E=B.height*Q}else if(a.scale)c=B.width*a.scale,E=B.height*a.scale;else if(a.fit){var h=F(a.fit,2);n=(i=h[0])/(r=h[1]),(s=B.width/B.height)>n?(c=i,E=i/s):(E=r,c=r*s)}else if(a.cover){var l=F(a.cover,2);n=(i=l[0])/(r=l[1]),(s=B.width/B.height)>n?(E=r,c=r*s):(c=i,E=i/s)}return(a.fit||a.cover)&&("center"===a.align?t=t+i/2-c/2:"right"===a.align&&(t=t+i-c),"center"===a.valign?e=e+r/2-E/2:"bottom"===a.valign&&(e=e+r-E)),null!=a.link&&this.link(t,e,c,E,a.link),null!=a.goTo&&this.goTo(t,e,c,E,a.goTo),null!=a.destination&&this.addNamedDestination(a.destination,"XYZ",t,e,null),this.y===e&&(this.y+=E),this.save(),this.transform(c,0,0,-E,t,e+E),this.addContent("/".concat(B.label," Do")),this.restore(),this},openImage:function(A){var t;return"string"==typeof A&&(t=this._imageRegistry[A]),t||(t=nt.open(A,"I".concat(++this._imageCount)),"string"==typeof A&&(this._imageRegistry[A]=t)),t}},Bt={annotate:function(A,t,e,r,n){for(var i in n.Type="Annot",n.Rect=this._convertRect(A,t,e,r),n.Border=[0,0,0],"Link"===n.Subtype&&void 0===n.F&&(n.F=4),"Link"!==n.Subtype&&null==n.C&&(n.C=this._normalizeColor(n.color||[0,0,0])),delete n.color,"string"==typeof n.Dest&&(n.Dest=new String(n.Dest)),n){var B=n[i];n[i[0].toUpperCase()+i.slice(1)]=B}var s=this.ref(n);return this.page.annotations.push(s),s.end(),this},note:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return i.Subtype="Text",i.Contents=new String(n),i.Name="Comment",null==i.color&&(i.color=[243,223,92]),this.annotate(A,t,e,r,i)},goTo:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return i.Subtype="Link",i.A=this.ref({S:"GoTo",D:new String(n)}),i.A.end(),this.annotate(A,t,e,r,i)},link:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(i.Subtype="Link","number"==typeof n){var B=this._root.data.Pages.data;if(!(n>=0&&n4&&void 0!==arguments[4]?arguments[4]:{},i=this._convertRect(A,t,e,r),B=F(i,4),s=B[0],o=B[1],g=B[2],a=B[3];return n.QuadPoints=[s,a,g,a,s,o,g,o],n.Contents=new String,this.annotate(A,t,e,r,n)},highlight:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="Highlight",null==n.color&&(n.color=[241,238,148]),this._markup(A,t,e,r,n)},underline:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="Underline",this._markup(A,t,e,r,n)},strike:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="StrikeOut",this._markup(A,t,e,r,n)},lineAnnotation:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="Line",n.Contents=new String,n.L=[A,this.page.height-t,e,this.page.height-r],this.annotate(A,t,e,r,n)},rectAnnotation:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="Square",n.Contents=new String,this.annotate(A,t,e,r,n)},ellipseAnnotation:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return n.Subtype="Circle",n.Contents=new String,this.annotate(A,t,e,r,n)},textAnnotation:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return i.Subtype="FreeText",i.Contents=new String(n),i.DA=new String,this.annotate(A,t,e,r,i)},fileAnnotation:function(A,t,e,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},B=this.file(n.src,Object.assign({hidden:!0},n));return i.Subtype="FileAttachment",i.FS=B,i.Contents?i.Contents=new String(i.Contents):B.data.Desc&&(i.Contents=B.data.Desc),this.annotate(A,t,e,r,i)},_convertRect:function(A,t,e,r){var n=t;t+=r;var i=A+e,B=F(this._ctm,6),s=B[0],o=B[1],g=B[2],a=B[3],c=B[4],E=B[5];return[A=s*A+g*t+c,t=o*A+a*t+E,i=s*i+g*n+c,n=o*i+a*n+E]}},st=function(){function A(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{expanded:!1};w(this,A),this.document=t,this.options=i,this.outlineData={},null!==n&&(this.outlineData.Dest=[n.dictionary,"Fit"]),null!==e&&(this.outlineData.Parent=e),null!==r&&(this.outlineData.Title=new String(r)),this.dictionary=this.document.ref(this.outlineData),this.children=[]}return h(A,[{key:"addItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{expanded:!1},r=new A(this.document,this.dictionary,t,this.document.page,e);return this.children.push(r),r}},{key:"endOutline",value:function(){if(this.children.length>0){this.options.expanded&&(this.outlineData.Count=this.children.length);var A=this.children[0],t=this.children[this.children.length-1];this.outlineData.First=A.dictionary,this.outlineData.Last=t.dictionary;for(var e=0,r=this.children.length;e0&&(n.outlineData.Prev=this.children[e-1].dictionary),e0)return this._root.data.Outlines=this.outline.dictionary,this._root.data.PageMode="UseOutlines"}},gt=function(){function A(t,e){w(this,A),this.refs=[{pageRef:t,mcid:e}]}return h(A,[{key:"push",value:function(A){var t=this;A.refs.forEach((function(A){return t.refs.push(A)}))}}]),A}(),at=function(){function A(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;w(this,A),this.document=t,this._attached=!1,this._ended=!1,this._flushed=!1,this.dictionary=t.ref({S:e});var B=this.dictionary.data;(Array.isArray(n)||this._isValidChild(n))&&(i=n,n={}),void 0!==n.title&&(B.T=new String(n.title)),void 0!==n.lang&&(B.Lang=new String(n.lang)),void 0!==n.alt&&(B.Alt=new String(n.alt)),void 0!==n.expanded&&(B.E=new String(n.expanded)),void 0!==n.actual&&(B.ActualText=new String(n.actual)),this._children=[],i&&(Array.isArray(i)||(i=[i]),i.forEach((function(A){return r.add(A)})),this.end())}return h(A,[{key:"add",value:function(t){if(this._ended)throw new Error("Cannot add child to already-ended structure element");if(!this._isValidChild(t))throw new Error("Invalid structure element child");return t instanceof A&&(t.setParent(this.dictionary),this._attached&&t.setAttached()),t instanceof gt&&this._addContentToParentTree(t),"function"==typeof t&&this._attached&&(t=this._contentForClosure(t)),this._children.push(t),this}},{key:"_addContentToParentTree",value:function(A){var t=this;A.refs.forEach((function(A){var e=A.pageRef,r=A.mcid;t.document.getStructParentTree().get(e.data.StructParents)[r]=t.dictionary}))}},{key:"setParent",value:function(A){if(this.dictionary.data.P)throw new Error("Structure element added to more than one parent");this.dictionary.data.P=A,this._flush()}},{key:"setAttached",value:function(){var t=this;this._attached||(this._children.forEach((function(e,r){e instanceof A&&e.setAttached(),"function"==typeof e&&(t._children[r]=t._contentForClosure(e))})),this._attached=!0,this._flush())}},{key:"end",value:function(){this._ended||(this._children.filter((function(t){return t instanceof A})).forEach((function(A){return A.end()})),this._ended=!0,this._flush())}},{key:"_isValidChild",value:function(t){return t instanceof A||t instanceof gt||"function"==typeof t}},{key:"_contentForClosure",value:function(A){var t=this.document.markStructureContent(this.dictionary.data.S);return A(),this.document.endMarkedContent(),this._addContentToParentTree(t),t}},{key:"_isFlushable",value:function(){return!(!this.dictionary.data.P||!this._ended)&&this._children.every((function(t){return"function"!=typeof t&&(!(t instanceof A)||t._isFlushable())}))}},{key:"_flush",value:function(){var A=this;!this._flushed&&this._isFlushable()&&(this.dictionary.data.K=[],this._children.forEach((function(t){return A._flushChild(t)})),this.dictionary.end(),this._children=[],this.dictionary.data.K=null,this._flushed=!0)}},{key:"_flushChild",value:function(t){var e=this;t instanceof A&&this.dictionary.data.K.push(t.dictionary),t instanceof gt&&t.refs.forEach((function(A){var t=A.pageRef,r=A.mcid;e.dictionary.data.Pg||(e.dictionary.data.Pg=t),e.dictionary.data.Pg===t?e.dictionary.data.K.push(r):e.dictionary.data.K.push({Type:"MCR",Pg:t,MCID:r})}))}}]),A}(),ct=function(A){u(e,A);var t=y(e);function e(){return w(this,e),t.apply(this,arguments)}return h(e,[{key:"_compareKeys",value:function(A,t){return parseInt(A)-parseInt(t)}},{key:"_keysName",value:function(){return"Nums"}},{key:"_dataForKey",value:function(A){return parseInt(A)}}]),e}(m),Et={initMarkings:function(A){this.structChildren=[],A.tagged&&(this.getMarkInfoDictionary().data.Marked=!0,this.getStructTreeRoot())},markContent:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("Artifact"===A||t&&t.mcid){var e=0;for(this.page.markings.forEach((function(A){(e||A.structContent||"Artifact"===A.tag)&&e++}));e--;)this.endMarkedContent()}if(!t)return this.page.markings.push({tag:A}),this.addContent("/".concat(A," BMC")),this;this.page.markings.push({tag:A,options:t});var r={};return void 0!==t.mcid&&(r.MCID=t.mcid),"Artifact"===A&&("string"==typeof t.type&&(r.Type=t.type),Array.isArray(t.bbox)&&(r.BBox=[t.bbox[0],this.page.height-t.bbox[3],t.bbox[2],this.page.height-t.bbox[1]]),Array.isArray(t.attached)&&t.attached.every((function(A){return"string"==typeof A}))&&(r.Attached=t.attached)),"Span"===A&&(t.lang&&(r.Lang=new String(t.lang)),t.alt&&(r.Alt=new String(t.alt)),t.expanded&&(r.E=new String(t.expanded)),t.actual&&(r.ActualText=new String(t.actual))),this.addContent("/".concat(A," ").concat(R.convert(r)," BDC")),this},markStructureContent:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this.getStructParentTree().get(this.page.structParentTreeKey),r=e.length;e.push(null),this.markContent(A,C(C({},t),{},{mcid:r}));var n=new gt(this.page.dictionary,r);return this.page.markings.slice(-1)[0].structContent=n,n},endMarkedContent:function(){return this.page.markings.pop(),this.addContent("EMC"),this},struct:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new at(this,A,t,e)},addStructure:function(A){var t=this.getStructTreeRoot();return A.setParent(t),A.setAttached(),this.structChildren.push(A),t.data.K||(t.data.K=[]),t.data.K.push(A.dictionary),this},initPageMarkings:function(A){var t=this;A.forEach((function(A){if(A.structContent){var e=A.structContent,r=t.markStructureContent(A.tag,A.options);e.push(r),t.page.markings.slice(-1)[0].structContent=e}else t.markContent(A.tag,A.options)}))},endPageMarkings:function(A){var t=A.markings;return t.forEach((function(){return A.write("EMC")})),A.markings=[],t},getMarkInfoDictionary:function(){return this._root.data.MarkInfo||(this._root.data.MarkInfo=this.ref({})),this._root.data.MarkInfo},getStructTreeRoot:function(){return this._root.data.StructTreeRoot||(this._root.data.StructTreeRoot=this.ref({Type:"StructTreeRoot",ParentTree:new ct,ParentTreeNextKey:0})),this._root.data.StructTreeRoot},getStructParentTree:function(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey:function(){this.getMarkInfoDictionary();var A=this.getStructTreeRoot(),t=A.data.ParentTreeNextKey++;return A.data.ParentTree.add(t,[]),t},endMarkings:function(){var A=this._root.data.StructTreeRoot;A&&(A.end(),this.structChildren.forEach((function(A){return A.end()}))),this._root.data.MarkInfo&&this._root.data.MarkInfo.end()}},wt={readOnly:1,required:2,noExport:4,multiline:4096,password:8192,toggleToOffButton:16384,radioButton:32768,pushButton:65536,combo:131072,edit:262144,sort:524288,multiSelect:2097152,noSpell:4194304},Qt={left:0,center:1,right:2},ht={value:"V",defaultValue:"DV"},lt={zip:"0",zipPlus4:"1",zip4:"1",phone:"2",ssn:"3"},Mt={nDec:0,sepComma:!1,negStyle:"MinusBlack",currency:"",currencyPrepend:!0},Ct={nDec:0,sepComma:!1},ut={initForm:function(){if(!this._font)throw new Error("Must set a font before calling initForm method");this._acroform={fonts:{},defaultFont:this._font.name},this._acroform.fonts[this._font.id]=this._font.ref();var A={Fields:[],NeedAppearances:!0,DA:new String("/".concat(this._font.id," 0 Tf 0 g")),DR:{Font:{}}};A.DR.Font[this._font.id]=this._font.ref();var t=this.ref(A);return this._root.data.AcroForm=t,this},endAcroForm:function(){var A=this;if(this._root.data.AcroForm){if(!Object.keys(this._acroform.fonts).length&&!this._acroform.defaultFont)throw new Error("No fonts specified for PDF form");var t=this._root.data.AcroForm.data.DR.Font;Object.keys(this._acroform.fonts).forEach((function(e){t[e]=A._acroform.fonts[e]})),this._root.data.AcroForm.data.Fields.forEach((function(t){A._endChild(t)})),this._root.data.AcroForm.end()}return this},_endChild:function(A){var t=this;return Array.isArray(A.data.Kids)&&(A.data.Kids.forEach((function(A){t._endChild(A)})),A.end()),this},formField:function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this._fieldDict(A,null,t),r=this.ref(e);return this._addToParent(r),r},formAnnotation:function(A,t,e,r,n,i){var B=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=this._fieldDict(A,t,B);s.Subtype="Widget",void 0===s.F&&(s.F=4),this.annotate(e,r,n,i,s);var o=this.page.annotations[this.page.annotations.length-1];return this._addToParent(o)},formText:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"text",t,e,r,n,i)},formPushButton:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"pushButton",t,e,r,n,i)},formCombo:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"combo",t,e,r,n,i)},formList:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"list",t,e,r,n,i)},formRadioButton:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"radioButton",t,e,r,n,i)},formCheckbox:function(A,t,e,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(A,"checkbox",t,e,r,n,i)},_addToParent:function(A){var t=A.data.Parent;return t?(t.data.Kids||(t.data.Kids=[]),t.data.Kids.push(A)):this._root.data.AcroForm.data.Fields.push(A),this},_fieldDict:function(A,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._acroform)throw new Error("Call document.initForms() method before adding form elements to document");var r=Object.assign({},e);return null!==t&&(r=this._resolveType(t,e)),r=this._resolveFlags(r),r=this._resolveJustify(r),r=this._resolveFont(r),r=this._resolveStrings(r),r=this._resolveColors(r),(r=this._resolveFormat(r)).T=new String(A),r.parent&&(r.Parent=r.parent,delete r.parent),r},_resolveType:function(A,t){if("text"===A)t.FT="Tx";else if("pushButton"===A)t.FT="Btn",t.pushButton=!0;else if("radioButton"===A)t.FT="Btn",t.radioButton=!0;else if("checkbox"===A)t.FT="Btn";else if("combo"===A)t.FT="Ch",t.combo=!0;else{if("list"!==A)throw new Error("Invalid form annotation type '".concat(A,"'"));t.FT="Ch"}return t},_resolveFormat:function(A){var t=A.format;if(t&&t.type){var e,r,n="";if(void 0!==lt[t.type])e="AFSpecial_Keystroke",r="AFSpecial_Format",n=lt[t.type];else{var i=t.type.charAt(0).toUpperCase()+t.type.slice(1);if(e="AF".concat(i,"_Keystroke"),r="AF".concat(i,"_Format"),"date"===t.type)e+="Ex",n=String(t.param);else if("time"===t.type)n=String(t.param);else if("number"===t.type){var B=Object.assign({},Mt,t);n=String([String(B.nDec),B.sepComma?"0":"1",'"'+B.negStyle+'"',"null",'"'+B.currency+'"',String(B.currencyPrepend)].join(","))}else if("percent"===t.type){var s=Object.assign({},Ct,t);n=String([String(s.nDec),s.sepComma?"0":"1"].join(","))}}A.AA=A.AA?A.AA:{},A.AA.K={S:"JavaScript",JS:new String("".concat(e,"(").concat(n,");"))},A.AA.F={S:"JavaScript",JS:new String("".concat(r,"(").concat(n,");"))}}return delete A.format,A},_resolveColors:function(A){var t=this._normalizeColor(A.backgroundColor);return t&&(A.MK||(A.MK={}),A.MK.BG=t),(t=this._normalizeColor(A.borderColor))&&(A.MK||(A.MK={}),A.MK.BC=t),delete A.backgroundColor,delete A.borderColor,A},_resolveFlags:function(A){var t=0;return Object.keys(A).forEach((function(e){wt[e]&&(t|=wt[e],delete A[e])})),0!==t&&(A.Ff=A.Ff?A.Ff:0,A.Ff|=t),A},_resolveJustify:function(A){var t=0;return void 0!==A.align&&("number"==typeof Qt[A.align]&&(t=Qt[A.align]),delete A.align),0!==t&&(A.Q=t),A},_resolveFont:function(A){if(null===this._acroform.fonts[this._font.id]&&(this._acroform.fonts[this._font.id]=this._font.ref()),this._acroform.defaultFont!==this._font.name){A.DR={Font:{}};var t=A.fontSize||0;A.DR.Font[this._font.id]=this._font.ref(),A.DA=new String("/".concat(this._font.id," ").concat(t," Tf 0 g"))}return A},_resolveStrings:function(A){var t=[];function e(A){if(Array.isArray(A))for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||A;var e,n={Type:"EmbeddedFile",Params:{}};if(!A)throw new Error("No src specified");if(r.isBuffer(A))e=A;else if(A instanceof ArrayBuffer)e=r.from(new Uint8Array(A));else{var i;if(i=/^data:(.*);base64,(.*)$/.exec(A))i[1]&&(n.Subtype=i[1].replace("/","#2F")),e=r.from(i[2],"base64");else{if(!(e=E.readFileSync(A)))throw new Error("Could not read contents of file at filepath ".concat(A));var s=E.statSync(A),o=s.birthtime,g=s.ctime;n.Params.CreationDate=o,n.Params.ModDate=g}}t.creationDate instanceof Date&&(n.Params.CreationDate=t.creationDate),t.modifiedDate instanceof Date&&(n.Params.ModDate=t.modifiedDate),t.type&&(n.Subtype=t.type.replace("/","#2F"));var a,c=B.default.MD5(B.default.lib.WordArray.create(new Uint8Array(e)));n.Params.CheckSum=new String(c),n.Params.Size=e.byteLength,this._fileRegistry||(this._fileRegistry={});var w=this._fileRegistry[t.name];w&&Dt(n,w)?a=w.ref:((a=this.ref(n)).end(e),this._fileRegistry[t.name]=C(C({},n),{},{ref:a}));var Q={Type:"Filespec",F:new String(t.name),EF:{F:a},UF:new String(t.name)};t.description&&(Q.Desc=new String(t.description));var h=this.ref(Q);return h.end(),t.hidden||this.addNamedEmbeddedFile(t.name,h),h}};function Dt(A,t){return A.Subtype===t.Subtype&&A.Params.CheckSum.toString()===t.Params.CheckSum.toString()&&A.Params.Size===t.Params.Size&&A.Params.CreationDate===t.Params.CreationDate&&A.Params.ModDate===t.Params.ModDate}var It=function(A){u(e,A);var t=y(e);function e(){var A,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(w(this,e),(A=t.call(this,r)).options=r,r.pdfVersion){case"1.4":A.version=1.4;break;case"1.5":A.version=1.5;break;case"1.6":A.version=1.6;break;case"1.7":case"1.7ext3":A.version=1.7;break;default:A.version=1.3}A.compress=null==A.options.compress||A.options.compress,A._pageBuffer=[],A._pageBufferStart=0,A._offsets=[],A._waiting=0,A._ended=!1,A._offset=0;var n=A.ref({Type:"Pages",Count:0,Kids:[]}),i=A.ref({Dests:new J});if(A._root=A.ref({Type:"Catalog",Pages:n,Names:i}),A.options.lang&&(A._root.data.Lang=new String(A.options.lang)),A.page=null,A.initColor(),A.initVector(),A.initFonts(r.font),A.initText(),A.initImages(),A.initOutline(),A.initMarkings(r),A.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},A.options.info)for(var B in A.options.info){var s=A.options.info[B];A.info[B]=s}return A.options.displayTitle&&(A._root.data.ViewerPreferences=A.ref({DisplayDocTitle:!0})),A._id=oA.generateFileID(A.info),A._security=oA.create(I(A),r),A._write("%PDF-".concat(A.version)),A._write("%ÿÿÿÿ"),!1!==A.options.autoFirstPage&&A.addPage(),A}return h(e,[{key:"addPage",value:function(A){null==A&&(A=this.options),this.options.bufferPages||this.flushPages(),this.page=new H(this,A),this._pageBuffer.push(this.page);var t=this._root.data.Pages.data;return t.Kids.push(this.page.dictionary),t.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this.emit("pageAdded"),this}},{key:"continueOnNewPage",value:function(A){var t=this.endPageMarkings(this.page);return this.addPage(A),this.initPageMarkings(t),this}},{key:"bufferedPageRange",value:function(){return{start:this._pageBufferStart,count:this._pageBuffer.length}}},{key:"switchToPage",value:function(A){var t;if(!(t=this._pageBuffer[A-this._pageBufferStart]))throw new Error("switchToPage(".concat(A,") out of bounds, current buffer covers pages ").concat(this._pageBufferStart," to ").concat(this._pageBufferStart+this._pageBuffer.length-1));return this.page=t}},{key:"flushPages",value:function(){var A=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=A.length;var t,e=z(A);try{for(e.s();!(t=e.n()).done;){var r=t.value;this.endPageMarkings(r),r.end()}}catch(A){e.e(A)}finally{e.f()}}},{key:"addNamedDestination",value:function(A){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r>B&a]};return{getCategory:Q,getCombiningClass:function(e){var r=t.get(e);return A.combiningClasses[r>>s&c]},getScript:function(e){var r=t.get(e);return A.scripts[r>>o&E]},getEastAsianWidth:function(e){var r=t.get(e);return A.eaw[r>>10&w]},getNumericValue:function(A){var e=t.get(A),r=1023&e;if(0===r)return null;if(r<=50)return r-1;if(r<480)return((r>>4)-12)/(1+(15&r));if(r<768){e=(r>>5)-14;for(var n=2+(31&r);n>0;)e*=10,n--;return e}e=(r>>2)-191;for(var i=1+(3&r);i>0;)e*=60,i--;return e},isAlphabetic:function(A){var t=Q(A);return"Lu"===t||"Ll"===t||"Lt"===t||"Lm"===t||"Lo"===t||"Nl"===t},isDigit:function(A){return"Nd"===Q(A)},isPunctuation:function(A){var t=Q(A);return"Pc"===t||"Pd"===t||"Pe"===t||"Pf"===t||"Pi"===t||"Po"===t||"Ps"===t},isLowerCase:function(A){return"Ll"===Q(A)},isUpperCase:function(A){return"Lu"===Q(A)},isTitleCase:function(A){return"Lt"===Q(A)},isWhiteSpace:function(A){var t=Q(A);return"Zs"===t||"Zl"===t||"Zp"===t},isBaseForm:function(A){var t=Q(A);return"Nd"===t||"No"===t||"Nl"===t||"Lu"===t||"Ll"===t||"Lt"===t||"Lm"===t||"Lo"===t||"Me"===t||"Mc"===t},isMark:function(A){var t=Q(A);return"Mn"===t||"Me"===t||"Mc"===t}}}(B,new r.default(n.default.toByteArray(s))),c=a;t.default=c},4781:function(A,t,e){"use strict";e(7042),e(6992),e(1539),e(2472),e(2990),e(8927),e(3105),e(5035),e(4345),e(7174),e(2846),e(4731),e(7209),e(6319),e(8867),e(7789),e(3739),e(9368),e(4483),e(2056),e(3462),e(678),e(7462),e(3824),e(5021),e(2974),e(5016),e(9135);var r=e(311),n=e(1753).swap32LE,i=function(){function A(A){var t="function"==typeof A.readUInt32BE&&"function"==typeof A.slice;if(t||A instanceof Uint8Array){var e;if(t)this.highStart=A.readUInt32LE(0),this.errorValue=A.readUInt32LE(4),e=A.readUInt32LE(8),A=A.slice(12);else{var i=new DataView(A.buffer);this.highStart=i.getUint32(0,!0),this.errorValue=i.getUint32(4,!0),e=i.getUint32(8,!0),A=A.subarray(12)}A=r(A,new Uint8Array(e)),A=r(A,new Uint8Array(e)),n(A),this.data=new Uint32Array(A.buffer)}else{var B=A;this.data=B.data,this.highStart=B.highStart,this.errorValue=B.errorValue}}return A.prototype.get=function(A){var t;return A<0||A>1114111?this.errorValue:A<55296||A>56319&&A<=65535?(t=(this.data[A>>5]<<2)+(31&A),this.data[t]):A<=65535?(t=(this.data[2048+(A-55296>>5)]<<2)+(31&A),this.data[t]):A>11)],t=((t=this.data[t+(A>>5&63)])<<2)+(31&A),this.data[t]):this.data[this.data.length-4]},A}();A.exports=i},1753:function(A,t,e){"use strict";e(6992),e(1539),e(2472),e(2990),e(8927),e(3105),e(5035),e(4345),e(7174),e(2846),e(4731),e(7209),e(6319),e(8867),e(7789),e(3739),e(9368),e(4483),e(2056),e(3462),e(678),e(7462),e(3824),e(5021),e(2974),e(5016),e(9135);var r=18===new Uint8Array(new Uint32Array([305419896]).buffer)[0],n=function(A,t,e){var r=A[t];A[t]=A[e],A[e]=r};A.exports={swap32LE:function(A){r&&function(A){for(var t=A.length,e=0;e/)){for(;r=A();)B.childNodes.push(r),r.parentNode=B,B.textContent+=3===r.nodeType||4===r.nodeType?r.nodeValue:r.textContent;return(e=n.match(/^<\/([\w:.-]+)\s*>/,!0))?(e[1]===B.nodeName||(zA('parseXml: tag not matching, opening "'+B.nodeName+'" & closing "'+e[1]+'"'),i=!0),B):(zA('parseXml: tag not matching, opening "'+B.nodeName+'" & not closing'),i=!0,B)}if(n.match(/^\/>/))return B;zA('parseXml: tag could not be parsed "'+B.nodeName+'"'),i=!0}else{if(e=n.match(/^/))return new t(null,8,e,i);if(e=n.match(/^<\?[\s\S]*?\?>/))return new t(null,7,e,i);if(e=n.match(/^/))return new t(null,10,e,i);if(e=n.match(/^/,!0))return new t("#cdata-section",4,e[1],i);if(e=n.match(/^([^<]+)/,!0))return new t("#text",3,D(e[1]),i)}};r=B();)1!==r.nodeType||e?(1===r.nodeType||3===r.nodeType&&""!==r.nodeValue.trim())&&zA("parseXml: data after document end has been discarded"):e=r;return n.matchAll()&&zA("parseXml: parsing error"),e}function D(A){return A.replace(/&(?:#([0-9]+)|#[xX]([0-9A-Fa-f]+)|([0-9A-Za-z]+));/g,(function(A,t,e,r){return t?String.fromCharCode(parseInt(t,10)):e?String.fromCharCode(parseInt(e,16)):r&&s[r]?String.fromCharCode(s[r]):A}))}function I(A){var t,e;return A=(A||"").trim(),(t=i[A])?e=[t.slice(),1]:(t=A.match(/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i))?(t[1]=parseInt(t[1]),t[2]=parseInt(t[2]),t[3]=parseInt(t[3]),t[4]=parseFloat(t[4]),t[1]<256&&t[2]<256&&t[3]<256&&t[4]<=1&&(e=[t.slice(1,4),t[4]])):(t=A.match(/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)$/i))?(t[1]=parseInt(t[1]),t[2]=parseInt(t[2]),t[3]=parseInt(t[3]),t[1]<256&&t[2]<256&&t[3]<256&&(e=[t.slice(1,4),1])):(t=A.match(/^rgb\(\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*\)$/i))?(t[1]=2.55*parseFloat(t[1]),t[2]=2.55*parseFloat(t[2]),t[3]=2.55*parseFloat(t[3]),t[1]<256&&t[2]<256&&t[3]<256&&(e=[t.slice(1,4),1])):(t=A.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i))?e=[[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)],1]:(t=A.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(e=[[17*parseInt(t[1],16),17*parseInt(t[2],16),17*parseInt(t[3],16)],1]),PA?PA(e,A):e}function d(A,t,e){var r=A[0].slice(),n=A[1]*t;if(e){for(var i=0;i=0;e--)t=y(GA[e].savedMatrix,t);return t}function p(){return(new X).M(0,0).L(A.page.width,0).L(A.page.width,A.page.height).L(0,A.page.height).transform(v(Y())).getBoundingBox()}function v(A){var t=A[0]*A[3]-A[1]*A[2];return[A[3]/t,-A[1]/t,-A[2]/t,A[0]/t,(A[2]*A[5]-A[3]*A[4])/t,(A[1]*A[4]-A[0]*A[5])/t]}function z(A){var t=N(A[0]),e=N(A[1]),r=N(A[2]),n=N(A[3]),i=N(A[4]),B=N(A[5]);if(b(t*n-e*r,0))return[t,e,r,n,i,B]}function U(A){var t=A[2]||0,e=A[1]||0,r=A[0]||0;if(P(t,0)&&P(e,0))return[];if(P(t,0))return[-r/e];var n=e*e-4*t*r;return b(n,0)&&n>0?[(-e+Math.sqrt(n))/(2*t),(-e-Math.sqrt(n))/(2*t)]:P(n,0)?[-e/(2*t)]:[]}function m(A,t){return(t[0]||0)+(t[1]||0)*A+(t[2]||0)*A*A+(t[3]||0)*A*A*A}function P(A,t){return Math.abs(A-t)<1e-10}function b(A,t){return Math.abs(A-t)>=1e-10}function N(A){return A>-1e21&&A<1e21?Math.round(1e6*A)/1e6:0}function G(A){for(var t,e=new K((A||"").trim()),r=[1,0,0,1,0,0];t=e.match(/^([A-Za-z]+)\s*[(]([^(]+)[)]/,!0);){for(var n=t[1],i=[],B=new K(t[2].trim()),s=void 0;s=B.matchNumber();)i.push(Number(s)),B.matchSeparator();if("matrix"===n&&6===i.length)r=y(r,[i[0],i[1],i[2],i[3],i[4],i[5]]);else if("translate"===n&&2===i.length)r=y(r,[1,0,0,1,i[0],i[1]]);else if("translate"===n&&1===i.length)r=y(r,[1,0,0,1,i[0],0]);else if("scale"===n&&2===i.length)r=y(r,[i[0],0,0,i[1],0,0]);else if("scale"===n&&1===i.length)r=y(r,[i[0],0,0,i[0],0,0]);else if("rotate"===n&&3===i.length){var o=i[0]*Math.PI/180;r=y(r,[1,0,0,1,i[1],i[2]],[Math.cos(o),Math.sin(o),-Math.sin(o),Math.cos(o),0,0],[1,0,0,1,-i[1],-i[2]])}else if("rotate"===n&&1===i.length){var g=i[0]*Math.PI/180;r=y(r,[Math.cos(g),Math.sin(g),-Math.sin(g),Math.cos(g),0,0])}else if("skewX"===n&&1===i.length){var a=i[0]*Math.PI/180;r=y(r,[1,0,Math.tan(a),1,0,0])}else{if("skewY"!==n||1!==i.length)return;var c=i[0]*Math.PI/180;r=y(r,[1,Math.tan(c),0,1,0,0])}e.matchSeparator()}if(!e.matchAll())return r}function R(A,t,e,r,n,i){var B=(A||"").trim().match(/^(none)$|^x(Min|Mid|Max)Y(Min|Mid|Max)(?:\s+(meet|slice))?$/)||[],s=B[1]||B[4]||"meet",o=B[2]||"Mid",g=B[3]||"Mid",a=t/r,c=e/n,E={Min:0,Mid:.5,Max:1}[o]-(i||0),w={Min:0,Mid:.5,Max:1}[g]-(i||0);return"slice"===s?c=a=Math.max(a,c):"meet"===s&&(c=a=Math.min(a,c)),[a,0,0,c,E*(t-r*a),w*(e-n*c)]}function S(A){var t=Object.create(null);A=(A||"").trim().split(/;/);for(var e=0;er&&(A=r,r=t,t=A),e>n&&(A=n,n=e,e=A);for(var i=U(c),B=0;B=0&&i[B]<=1){var s=m(i[B],g);sr&&(r=s)}for(var o=U(E),w=0;w=0&&o[w]<=1){var Q=m(o[w],a);Qn&&(n=Q)}return[t,e,r,n]},this.getPointAtLength=function(A){if(P(A,0))return this.startPoint;if(P(A,this.totalLength))return this.endPoint;if(!(A<0||A>this.totalLength))for(var t=1;t<=o;t++){var e=w[t-1],r=w[t];if(e<=A&&A<=r){var n=(t-(r-A)/(r-e))/o,i=m(n,g),B=m(n,a),s=m(n,c),Q=m(n,E);return[i,B,Math.atan2(Q,s)]}}}},V=function(A,t,e,r){this.totalLength=Math.sqrt((e-A)*(e-A)+(r-t)*(r-t)),this.startPoint=[A,t,Math.atan2(r-t,e-A)],this.endPoint=[e,r,Math.atan2(r-t,e-A)],this.getBoundingBox=function(){return[Math.min(this.startPoint[0],this.endPoint[0]),Math.min(this.startPoint[1],this.endPoint[1]),Math.max(this.startPoint[0],this.endPoint[0]),Math.max(this.startPoint[1],this.endPoint[1])]},this.getPointAtLength=function(A){if(A>=0&&A<=this.totalLength){var t=A/this.totalLength||0;return[this.startPoint[0]+t*(this.endPoint[0]-this.startPoint[0]),this.startPoint[1]+t*(this.endPoint[1]-this.startPoint[1]),this.startPoint[2]]}}},X=function t(){this.pathCommands=[],this.pathSegments=[],this.startPoint=null,this.endPoint=null,this.totalLength=0;var e,r,n,i=0,B=0,s=0,a=0;this.move=function(A,t){return i=s=A,B=a=t,null},this.line=function(A,t){var e=new V(s,a,A,t);return s=A,a=t,e},this.curve=function(A,t,e,r,n,i){var B=new W(s,a,A,t,e,r,n,i);return s=n,a=i,B},this.close=function(){var A=new V(s,a,i,B);return s=i,a=B,A},this.addCommand=function(A){this.pathCommands.push(A);var t=this[A[0]].apply(this,A.slice(3));t&&(t.hasStart=A[1],t.hasEnd=A[2],this.startPoint=this.startPoint||t.startPoint,this.endPoint=t.endPoint,this.pathSegments.push(t),this.totalLength+=t.totalLength)},this.M=function(A,t){return this.addCommand(["move",!0,!0,A,t]),e="M",this},this.m=function(A,t){return this.M(s+A,a+t)},this.Z=this.z=function(){return this.addCommand(["close",!0,!0]),e="Z",this},this.L=function(A,t){return this.addCommand(["line",!0,!0,A,t]),e="L",this},this.l=function(A,t){return this.L(s+A,a+t)},this.H=function(A){return this.L(A,a)},this.h=function(A){return this.L(s+A,a)},this.V=function(A){return this.L(s,A)},this.v=function(A){return this.L(s,a+A)},this.C=function(A,t,i,B,s,o){return this.addCommand(["curve",!0,!0,A,t,i,B,s,o]),e="C",r=i,n=B,this},this.c=function(A,t,e,r,n,i){return this.C(s+A,a+t,s+e,a+r,s+n,a+i)},this.S=function(A,t,i,B){return this.C(s+("C"===e?s-r:0),a+("C"===e?a-n:0),A,t,i,B)},this.s=function(A,t,i,B){return this.C(s+("C"===e?s-r:0),a+("C"===e?a-n:0),s+A,a+t,s+i,a+B)},this.Q=function(A,t,i,B){var o=s+2/3*(A-s),g=a+2/3*(t-a),c=i+2/3*(A-i),E=B+2/3*(t-B);return this.addCommand(["curve",!0,!0,o,g,c,E,i,B]),e="Q",r=A,n=t,this},this.q=function(A,t,e,r){return this.Q(s+A,a+t,s+e,a+r)},this.T=function(A,t){return this.Q(s+("Q"===e?s-r:0),a+("Q"===e?a-n:0),A,t)},this.t=function(A,t){return this.Q(s+("Q"===e?s-r:0),a+("Q"===e?a-n:0),s+A,a+t)},this.A=function(A,t,r,n,i,B,o){if(P(A,0)||P(t,0))this.addCommand(["line",!0,!0,B,o]);else{r*=Math.PI/180,A=Math.abs(A),t=Math.abs(t),n=1*!!n,i=1*!!i;var g=Math.cos(r)*(s-B)/2+Math.sin(r)*(a-o)/2,c=Math.cos(r)*(a-o)/2-Math.sin(r)*(s-B)/2,E=g*g/(A*A)+c*c/(t*t);E>1&&(A*=Math.sqrt(E),t*=Math.sqrt(E));var w=Math.sqrt(Math.max(0,A*A*t*t-A*A*c*c-t*t*g*g)/(A*A*c*c+t*t*g*g)),Q=(n===i?-1:1)*w*A*c/t,h=(n===i?1:-1)*w*t*g/A,l=Math.cos(r)*Q-Math.sin(r)*h+(s+B)/2,M=Math.sin(r)*Q+Math.cos(r)*h+(a+o)/2,C=Math.atan2((c-h)/t,(g-Q)/A),u=Math.atan2((-c-h)/t,(-g-Q)/A);0===i&&u-C>0?u-=2*Math.PI:1===i&&u-C<0&&(u+=2*Math.PI);for(var f=Math.ceil(Math.abs(u-C)/(Math.PI/NA)),D=0;Dt[2]&&(t[2]=A[2]),A[1]t[3]&&(t[3]=A[3]);return t[0]===1/0&&(t[0]=0),t[1]===1/0&&(t[1]=0),t[2]===-1/0&&(t[2]=0),t[3]===-1/0&&(t[3]=0),t},this.getPointAtLength=function(A){if(A>=0&&A<=this.totalLength){for(var t,e=0;en.selector.specificity||(t[i]=n.css[i],e[i]=n.selector.specificity)}return t}(A),this.allowedChildren=[],this.attr=function(t){if("function"==typeof A.getAttribute)return A.getAttribute(t)},this.resolveUrl=function(A){var e,r=(A||"").match(/^\s*(?:url\("(.*)#(.*)"\)|url\('(.*)#(.*)'\)|url\((.*)#(.*)\)|(.*)#(.*))\s*$/)||[],n=r[1]||r[3]||r[5]||r[7],i=r[2]||r[4]||r[6]||r[8];if(i){if(!n){var B=t.getElementById(i);if(B)return-1===this.stack.indexOf(B)?B:void zA('SVGtoPDF: loop of circular references for id "'+i+'"')}if(bA){var s=RA[n];if(!s){("object"!=typeof(e=s=bA(n))||null===e||"number"!=typeof e.length)&&(s=[s]);for(var o=0;o=0&&e[3]>=0?e:t},this.getPercent=function(A,t){var e=this.attr(A),r=new K((e||"").trim()),n=r.matchNumber();return n?(r.match("%")&&(n*=.01),r.matchAll()?t:Math.max(0,Math.min(1,n))):t},this.chooseValue=function(A){for(var t=0;t=0&&(e=B);break;case"stroke-miterlimit":null!=(B=parseFloat(t))&&B>=1&&(e=B);break;case"word-spacing":case"letter-spacing":e=this.computeLength(t,this.getViewport());break;case"stroke-dashoffset":if(null!=(e=this.computeLength(t,this.getViewport()))&&e<0)for(var w=this.get("stroke-dasharray"),Q=0;Q0?A:this.ref?this.ref.getChildren():[]},this.getPaint=function(t,e,r,i){var B="userSpaceOnUse"!==this.attr("patternUnits"),s="objectBoundingBox"===this.attr("patternContentUnits"),o=this.getLength("x",B?1:this.getParentVWidth(),0),g=this.getLength("y",B?1:this.getParentVHeight(),0),a=this.getLength("width",B?1:this.getParentVWidth(),0),w=this.getLength("height",B?1:this.getParentVHeight(),0);s&&!B?(o=(o-t[0])/(t[2]-t[0])||0,g=(g-t[1])/(t[3]-t[1])||0,a=a/(t[2]-t[0])||0,w=w/(t[3]-t[1])||0):!s&&B&&(o=t[0]+o*(t[2]-t[0]),g=t[1]+g*(t[3]-t[1]),a*=t[2]-t[0],w*=t[3]-t[1]);var Q=this.getViewbox("viewBox",[0,0,a,w]),l=y(R((this.attr("preserveAspectRatio")||"").trim(),a,w,Q[2],Q[3],0),[1,0,0,1,-Q[0],-Q[1]]),M=G(this.attr("patternTransform"));if(s&&(M=y([t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]],M)),(M=z(M=y(M,[1,0,0,1,o,g])))&&(l=z(l))&&(a=N(a))&&(w=N(w))){var C=c([0,0,a,w]);return A.transform.apply(A,l),this.drawChildren(r,i),E(C),[h(C,a,w,M),e]}return n?[n[0],n[1]*e]:void 0},this.getVWidth=function(){var A="userSpaceOnUse"!==this.attr("patternUnits"),t=this.getLength("width",A?1:this.getParentVWidth(),0);return this.getViewbox("viewBox",[0,0,t,0])[2]},this.getVHeight=function(){var A="userSpaceOnUse"!==this.attr("patternUnits"),t=this.getLength("height",A?1:this.getParentVHeight(),0);return this.getViewbox("viewBox",[0,0,0,t])[3]}},sA=function t(e,r,n){Z.call(this,e,r),this.allowedChildren=["stop"],this.ref=function(){var A=this.getUrl("href")||this.getUrl("xlink:href");if(A&&A.nodeName===e.nodeName)return new t(A,r,n)}.call(this);var i=this.attr;this.attr=function(A){var t=i.call(this,A);return null!=t||"href"===A||"xlink:href"===A?t:this.ref?this.ref.attr(A):null};var s=this.getChildren;this.getChildren=function(){var A=s.call(this);return A.length>0?A:this.ref?this.ref.getChildren():[]},this.getPaint=function(t,e,r,i){var s=this.getChildren();if(0!==s.length){if(1===s.length){var o=s[0],g=o.get("stop-color");if("none"===g)return;return d(g,o.get("stop-opacity")*e,i)}var a,c,E,w,Q,h,l="userSpaceOnUse"!==this.attr("gradientUnits"),M=G(this.attr("gradientTransform")),C=this.attr("spreadMethod"),u=0,f=0,D=1;if(l&&(M=y([t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]],M)),M=z(M)){if("linearGradient"===this.name)c=this.getLength("x1",l?1:this.getVWidth(),0),E=this.getLength("x2",l?1:this.getVWidth(),l?1:this.getVWidth()),w=this.getLength("y1",l?1:this.getVHeight(),0),Q=this.getLength("y2",l?1:this.getVHeight(),0);else{E=this.getLength("cx",l?1:this.getVWidth(),l?.5:.5*this.getVWidth()),Q=this.getLength("cy",l?1:this.getVHeight(),l?.5:.5*this.getVHeight()),h=this.getLength("r",l?1:this.getViewport(),l?.5:.5*this.getViewport()),c=this.getLength("fx",l?1:this.getVWidth(),E),w=this.getLength("fy",l?1:this.getVHeight(),Q),h<0&&zA("SvgElemGradient: negative r value");var I=Math.sqrt(Math.pow(E-c,2)+Math.pow(Q-w,2)),Y=1;I>h&&(c=E+(c-E)*(Y=h/I),w=Q+(w-Q)*Y),h=Math.max(h,I*Y*1.000001)}if("reflect"===C||"repeat"===C){var p=v(M),U=F([t[0],t[1]],p),m=F([t[2],t[1]],p),P=F([t[2],t[3]],p),b=F([t[0],t[3]],p);"linearGradient"===this.name?(u=Math.max((U[0]-E)*(E-c)+(U[1]-Q)*(Q-w),(m[0]-E)*(E-c)+(m[1]-Q)*(Q-w),(P[0]-E)*(E-c)+(P[1]-Q)*(Q-w),(b[0]-E)*(E-c)+(b[1]-Q)*(Q-w))/(Math.pow(E-c,2)+Math.pow(Q-w,2)),f=Math.max((U[0]-c)*(c-E)+(U[1]-w)*(w-Q),(m[0]-c)*(c-E)+(m[1]-w)*(w-Q),(P[0]-c)*(c-E)+(P[1]-w)*(w-Q),(b[0]-c)*(c-E)+(b[1]-w)*(w-Q))/(Math.pow(E-c,2)+Math.pow(Q-w,2))):u=Math.sqrt(Math.max(Math.pow(U[0]-E,2)+Math.pow(U[1]-Q,2),Math.pow(m[0]-E,2)+Math.pow(m[1]-Q,2),Math.pow(P[0]-E,2)+Math.pow(P[1]-Q,2),Math.pow(b[0]-E,2)+Math.pow(b[1]-Q,2)))/h-1,u=Math.ceil(u+.5),D=(f=Math.ceil(f+.5))+1+u}a="linearGradient"===this.name?A.linearGradient(c-f*(E-c),w-f*(Q-w),E+u*(E-c),Q+u*(Q-w)):A.radialGradient(c,w,0,E,Q,h+u*h);for(var N=0;N0&&a.stop((N+0)/D,H[0],H[1]),a.stop((N+R)/(u+f+1),H[0],H[1]),x===s.length-1&&R<1&&a.stop((N+1)/D,H[0],H[1])}return a.setTransform.apply(a,M),[a,1]}return n?[n[0],n[1]*e]:void 0}}},oA=function(t,e){q.call(this,t,e),this.dashScale=1,this.getBoundingShape=function(){return this.shape},this.getTransformation=function(){return this.get("transform")},this.drawInDocument=function(t,e){if("hidden"!==this.get("visibility")&&this.shape){if(A.save(),this.transform(),this.clip(),t)this.shape.insertInDocument(),C(B.white),A.fill(this.get("clip-rule"));else{var r;this.mask()&&(r=c(p()));var n=this.shape.getSubPaths(),i=this.getFill(t,e),s=this.getStroke(t,e),o=this.get("stroke-width"),g=this.get("stroke-linecap");if(i||s){if(i&&C(i),s){for(var a=0;a0&&n[a].startPoint&&n[a].startPoint.length>1){var Q=n[a].startPoint[0],h=n[a].startPoint[1];C(s),"square"===g?A.rect(Q-.5*o,h-.5*o,o,o):"round"===g&&A.circle(Q,h,.5*o),A.fill()}var l=this.get("stroke-dasharray"),M=this.get("stroke-dashoffset");if(b(this.dashScale,1)){for(var f=0;f0&&n[D].insertInDocument();i&&s?A.fillAndStroke(this.get("fill-rule")):i?A.fill(this.get("fill-rule")):s&&A.stroke()}var I=this.get("marker-start"),d=this.get("marker-mid"),y=this.get("marker-end");if("none"!==I||"none"!==d||"none"!==y){var F=this.shape.getMarkers();if("none"!==I&&new lA(I,null).drawMarker(!1,e,F[0],o),"none"!==d)for(var Y=1;Y0&&i>0?B&&s?(B=Math.min(B,.5*n),s=Math.min(s,.5*i),this.shape=(new X).M(e+B,r).L(e+n-B,r).A(B,s,0,0,1,e+n,r+s).L(e+n,r+i-s).A(B,s,0,0,1,e+n-B,r+i).L(e+B,r+i).A(B,s,0,0,1,e,r+i-s).L(e,r+s).A(B,s,0,0,1,e+B,r).Z()):this.shape=(new X).M(e,r).L(e+n,r).L(e+n,r+i).L(e,r+i).Z():this.shape=new X},aA=function(A,t){oA.call(this,A,t);var e=this.getLength("cx",this.getVWidth(),0),r=this.getLength("cy",this.getVHeight(),0),n=this.getLength("r",this.getViewport(),0);this.shape=n>0?(new X).M(e+n,r).A(n,n,0,0,1,e-n,r).A(n,n,0,0,1,e+n,r).Z():new X},cA=function(A,t){oA.call(this,A,t);var e=this.getLength("cx",this.getVWidth(),0),r=this.getLength("cy",this.getVHeight(),0),n=this.getLength("rx",this.getVWidth(),0),i=this.getLength("ry",this.getVHeight(),0);this.shape=n>0&&i>0?(new X).M(e+n,r).A(n,i,0,0,1,e-n,r).A(n,i,0,0,1,e+n,r).Z():new X},EA=function(A,t){oA.call(this,A,t);var e=this.getLength("x1",this.getVWidth(),0),r=this.getLength("y1",this.getVHeight(),0),n=this.getLength("x2",this.getVWidth(),0),i=this.getLength("y2",this.getVHeight(),0);this.shape=(new X).M(e,r).L(n,i)},wA=function(A,t){oA.call(this,A,t);var e=this.getNumberList("points");this.shape=new X;for(var r=0;r0?e:void 0,this.dashScale=void 0!==this.pathLength?this.shape.totalLength/this.pathLength:1},lA=function(t,e){_.call(this,t,e);var r=this.getLength("markerWidth",this.getParentVWidth(),3),n=this.getLength("markerHeight",this.getParentVHeight(),3),i=this.getViewbox("viewBox",[0,0,r,n]);this.getVWidth=function(){return i[2]},this.getVHeight=function(){return i[3]},this.drawMarker=function(t,e,B,s){A.save();var o=this.attr("orient"),g=this.attr("markerUnits"),a="auto"===o?B[2]:(parseFloat(o)||0)*Math.PI/180,Q="userSpaceOnUse"===g?1:s;A.transform(Math.cos(a)*Q,Math.sin(a)*Q,-Math.sin(a)*Q,Math.cos(a)*Q,B[0],B[1]);var h,l=this.getLength("refX",this.getVWidth(),0),M=this.getLength("refY",this.getVHeight(),0),C=R(this.attr("preserveAspectRatio"),r,n,i[2],i[3],.5);"hidden"===this.get("overflow")&&A.rect(C[0]*(i[0]+i[2]/2-l)-r/2,C[3]*(i[1]+i[3]/2-M)-n/2,r,n).clip(),A.transform.apply(A,C),A.translate(-l,-M),this.get("opacity")<1&&!t&&(h=c(p())),this.drawChildren(t,e),h&&(E(h),A.fillOpacity(this.get("opacity")),w(h)),A.restore()}},MA=function(t,e){_.call(this,t,e),this.useMask=function(t){var e=c(p());A.save(),"objectBoundingBox"===this.attr("clipPathUnits")&&A.transform(t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]),this.clip(),this.drawChildren(!0,!1),A.restore(),E(e),Q(e,!0)}},CA=function(t,e){_.call(this,t,e),this.useMask=function(t){var e,r,n,i,B=c(p());A.save(),"userSpaceOnUse"===this.attr("maskUnits")?(e=this.getLength("x",this.getVWidth(),-.1*(t[2]-t[0])+t[0]),r=this.getLength("y",this.getVHeight(),-.1*(t[3]-t[1])+t[1]),n=this.getLength("width",this.getVWidth(),1.2*(t[2]-t[0])),i=this.getLength("height",this.getVHeight(),1.2*(t[3]-t[1]))):(e=this.getLength("x",this.getVWidth(),-.1)*(t[2]-t[0])+t[0],r=this.getLength("y",this.getVHeight(),-.1)*(t[3]-t[1])+t[1],n=this.getLength("width",this.getVWidth(),1.2)*(t[2]-t[0]),i=this.getLength("height",this.getVHeight(),1.2)*(t[3]-t[1])),A.rect(e,r,n,i).clip(),"objectBoundingBox"===this.attr("maskContentUnits")&&A.transform(t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]),this.clip(),this.drawChildren(!1,!0),A.restore(),E(B),Q(B,!0)}},uA=function(t,e){q.call(this,t,e),this.allowedChildren=["tspan","#text","#cdata-section","a"],this.isText=!0,this.getBoundingShape=function(){for(var A=new X,t=0;t Tj")}A.addContent("ET")}}}"line-through"===this.get("text-decoration")&&this.decorate(.05*this._font.size,.5*(L(this._font.font,this._font.size)+j(this._font.font,this._font.size)),t,e)},this.decorate=function(t,e,r,n){var i=this.getFill(r,n),B=this.getStroke(r,n);i&&C(i),B&&(u(B),A.lineWidth(this.get("stroke-width")).miterLimit(this.get("stroke-miterlimit")).lineJoin(this.get("stroke-linejoin")).lineCap(this.get("stroke-linecap")).dash(this.get("stroke-dasharray"),{phase:this.get("stroke-dashoffset")}));for(var s=0,o=this._pos;s0?r:this.pathObject.totalLength,this.pathScale=this.pathObject.totalLength/this.pathLength}else if((e=this.getUrl("href")||this.getUrl("xlink:href"))&&"path"===e.nodeName){var n=new hA(e,this);this.pathObject=n.shape.clone().transform(n.get("transform")),this.pathLength=this.chooseValue(n.pathLength,this.pathObject.totalLength),this.pathScale=this.pathObject.totalLength/this.pathLength}},dA=function(t,e){uA.call(this,t,e),this.allowedChildren=["textPath","tspan","#text","#cdata-section","a"],function(e){var r,n,i="",B=t.textContent,s=[],o=[],g=0,a=0;function c(){if(o.length)for(var A=o[o.length-1],t=o[0],e=A.x+A.width-t.x,i={startltr:0,middleltr:.5,endltr:1,startrtl:1,middlertl:.5,endrtl:0}[r+n]*e||0,B=0;Be||B<0)A._pos[i].hidden=!0;else{var s=t.getPointAtLength(B*r);b(r,1)&&(A._pos[i].scale*=r,A._pos[i].width*=r),A._pos[i].x=s[0]-.5*A._pos[i].width*Math.cos(s[2])-A._pos[i].y*Math.sin(s[2]),A._pos[i].y=s[1]-.5*A._pos[i].width*Math.sin(s[2])+A._pos[i].y*Math.cos(s[2]),A._pos[i].rotate=s[2]+A._pos[i].rotate,A._pos[i].continuous=!1}}else for(var o=0;o0&&s<1/0)for(var o=0;o=2)for(var a=(t-(B-i))/(A.length-1),c=0;c0?B-4:B;for(e=0;e>16&255,g[a++]=t>>8&255,g[a++]=255&t;2===s&&(t=r[A.charCodeAt(e)]<<2|r[A.charCodeAt(e+1)]>>4,g[a++]=255&t);1===s&&(t=r[A.charCodeAt(e)]<<10|r[A.charCodeAt(e+1)]<<4|r[A.charCodeAt(e+2)]>>2,g[a++]=t>>8&255,g[a++]=255&t);return g},t.fromByteArray=function(A){for(var t,r=A.length,n=r%3,i=[],B=16383,s=0,o=r-n;so?o:s+B));1===n?(t=A[r-1],i.push(e[t>>2]+e[t<<4&63]+"==")):2===n&&(t=(A[r-2]<<8)+A[r-1],i.push(e[t>>10]+e[t>>4&63]+e[t<<2&63]+"="));return i.join("")};for(var e=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B=0,s=i.length;B0)throw new Error("Invalid string. Length must be a multiple of 4");var e=A.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function g(A,t,r){for(var n,i,B=[],s=t;s>18&63]+e[i>>12&63]+e[i>>6&63]+e[63&i]);return B.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},4181:function(A){var t=4096,e=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function r(A){this.buf_=new Uint8Array(8224),this.input_=A,this.reset()}r.READ_SIZE=t,r.IBUF_MASK=8191,r.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var A=0;A<4;A++)this.val_|=this.buf_[this.pos_]<<8*A,++this.pos_;return this.bit_end_pos_>0},r.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var A=this.buf_ptr_,e=this.input_.read(this.buf_,A,t);if(e<0)throw new Error("Unexpected end of input");if(e=8;)this.val_>>>=8,this.val_|=this.buf_[8191&this.pos_]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},r.prototype.readBits=function(A){32-this.bit_pos_>>this.bit_pos_&e[A];return this.bit_pos_+=A,t},A.exports=r},7080:function(A,t){t.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},6450:function(A,t,e){var r=e(6154).g,n=e(6154).j,i=e(4181),B=e(5139),s=e(966).h,o=e(966).g,g=e(7080),a=e(8435),c=e(2973),E=1080,w=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),Q=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),h=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),l=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function M(A){var t;return 0===A.readBits(1)?16:(t=A.readBits(3))>0?17+t:(t=A.readBits(3))>0?8+t:17}function C(A){if(A.readBits(1)){var t=A.readBits(3);return 0===t?1:A.readBits(t)+(1<1&&0===i)throw new Error("Invalid size byte");n.meta_block_length|=i<<8*r}}else for(r=0;r4&&0===B)throw new Error("Invalid size nibble");n.meta_block_length|=B<<4*r}return++n.meta_block_length,n.input_end||n.is_metadata||(n.is_uncompressed=A.readBits(1)),n}function D(A,t,e){var r;return e.fillBitWindow(),(r=A[t+=e.val_>>>e.bit_pos_&255].bits-8)>0&&(e.bit_pos_+=8,t+=A[t].value,t+=e.val_>>>e.bit_pos_&(1<>=1,++a;for(Q=0;Q0;++Q){var u,f=w[Q],D=0;r.fillBitWindow(),D+=r.val_>>>r.bit_pos_&15,r.bit_pos_+=C[D].bits,u=C[D].value,h[f]=u,0!==u&&(l-=32>>u,++M)}if(1!==M&&0!==l)throw new Error("[ReadHuffmanCode] invalid num_codes or space");!function(A,t,e,r){for(var n=0,i=8,B=0,g=0,a=32768,c=[],E=0;E<32;E++)c.push(new s(0,0));for(o(c,0,5,A,18);n0;){var w,Q=0;if(r.readMoreInput(),r.fillBitWindow(),Q+=r.val_>>>r.bit_pos_&31,r.bit_pos_+=c[Q].bits,(w=255&c[Q].value)<16)B=0,e[n++]=w,0!==w&&(i=w,a-=32768>>w);else{var h,l,M=w-14,C=0;if(16===w&&(C=i),g!==C&&(B=0,g=C),h=B,B>0&&(B-=2,B<<=M),n+(l=(B+=r.readBits(M)+3)-h)>t)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var u=0;u>>5]),this.htrees=new Uint32Array(t)}function p(A,t){var e,r,n={num_htrees:null,context_map:null},i=0;t.readMoreInput();var B=n.num_htrees=C(t)+1,o=n.context_map=new Uint8Array(A);if(B<=1)return n;for(t.readBits(1)&&(i=t.readBits(4)+1),e=[],r=0;r=A)throw new Error("[DecodeContextMap] i >= context_map_size");o[r]=0,++r}else o[r]=g-i,++r}return t.readBits(1)&&function(A,t){var e,r=new Uint8Array(256);for(e=0;e<256;++e)r[e]=e;for(e=0;e=A&&(s-=A),r[e]=s,n[o+(1&i[g])]=s,++i[g]}function z(A,t,e,r,n,B){var s,o=n+1,g=e&n,a=B.pos_&i.IBUF_MASK;if(t<8||B.bit_pos_+(t<<3)0;)B.readMoreInput(),r[g++]=B.readBits(8),g===o&&(A.write(r,o),g=0);else{if(B.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;B.bit_pos_<32;)r[g]=B.val_>>>B.bit_pos_,B.bit_pos_+=8,++g,--t;if(a+(s=B.bit_end_pos_-B.bit_pos_>>3)>i.IBUF_MASK){for(var c=i.IBUF_MASK+1-a,E=0;E=o){A.write(r,o),g-=o;for(E=0;E=o;){if(s=o-g,B.input_.read(r,g,s)t.buffer.length){var EA=new Uint8Array(m+_);EA.set(t.buffer),t.buffer=EA}if(P=cA.input_end,J=cA.is_uncompressed,cA.is_metadata)for(U(F);_>0;--_)F.readMoreInput(),F.readBits(8);else if(0!==_)if(J)F.bit_pos_=F.bit_pos_+7&-8,z(t,_,m,Q,w,F),m+=_;else{for(e=0;e<3;++e)tA[e]=C(F)+1,tA[e]>=2&&(I(tA[e]+2,l,e*E,F),I(26,u,e*E,F),$[e]=d(u,e*E,F),rA[e]=1);for(F.readMoreInput(),k=(1<<(L=F.readBits(2)))-1,O=(j=16+(F.readBits(4)<0;){var hA,lA,MA,CA,uA,fA,DA,IA,dA,yA,FA,YA;for(F.readMoreInput(),0===$[1]&&(v(tA[1],l,1,AA,eA,rA,F),$[1]=d(u,E,F),q=x[1].htrees[AA[1]]),--$[1],(lA=(hA=D(x[1].codes,q,F))>>6)>=2?(lA-=2,DA=-1):DA=0,MA=a.kInsertRangeLut[lA]+(hA>>3&7),CA=a.kCopyRangeLut[lA]+(7&hA),uA=a.kInsertLengthPrefixCode[MA].offset+F.readBits(a.kInsertLengthPrefixCode[MA].nbits),fA=a.kCopyLengthPrefixCode[CA].offset+F.readBits(a.kCopyLengthPrefixCode[CA].nbits),R=Q[m-1&w],S=Q[m-2&w],dA=0;dA4?3:fA-2))],(DA=D(x[2].codes,x[2].htrees[oA],F))>=j)YA=(DA-=j)&k,DA=j+((pA=(2+(1&(DA>>=L))<<(FA=1+(DA>>1)))-4)+F.readBits(FA)<(b=m=B.minDictionaryWordLength&&fA<=B.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+m+" distance: "+IA+" len: "+fA+" bytes left: "+_);var pA=B.offsetsByLength[fA],vA=IA-b-1,zA=B.sizeBitsByLength[fA],UA=vA>>zA;if(pA+=(vA&(1<=h){t.write(Q,o);for(var PA=0;PA0&&(N[3&G]=IA,++G),fA>_)throw new Error("Invalid backward reference. pos: "+m+" distance: "+IA+" len: "+fA+" bytes left: "+_);for(dA=0;dA>=1;return(A&e-1)+e}function i(A,t,r,n,i){do{A[t+(n-=r)]=new e(i.bits,i.value)}while(n>0)}function B(A,t,e){for(var n=1<0;--D[a])i(A,t+E,w,M,new e(255&a,65535&u[c++])),E=n(E,a);for(h=C-1,Q=-1,a=s+1,w=2;a<=r;++a,w<<=1)for(;D[a]>0;--D[a])(E&h)!==Q&&(t+=M,C+=M=1<<(l=B(D,a,s)),A[f+(Q=E&h)]=new e(l+s&255,t-f-Q&65535)),i(A,t+(E>>s),w,M,new e(a-s&255,65535&u[c++])),E=n(E,a);return C}},8435:function(A,t){function e(A,t){this.offset=A,this.nbits=t}t.kBlockLengthPrefixCode=[new e(1,2),new e(5,2),new e(9,2),new e(13,2),new e(17,3),new e(25,3),new e(33,3),new e(41,3),new e(49,4),new e(65,4),new e(81,4),new e(97,4),new e(113,5),new e(145,5),new e(177,5),new e(209,5),new e(241,6),new e(305,6),new e(369,7),new e(497,8),new e(753,9),new e(1265,10),new e(2289,11),new e(4337,12),new e(8433,13),new e(16625,24)],t.kInsertLengthPrefixCode=[new e(0,0),new e(1,0),new e(2,0),new e(3,0),new e(4,0),new e(5,0),new e(6,1),new e(8,1),new e(10,2),new e(14,2),new e(18,3),new e(26,3),new e(34,4),new e(50,4),new e(66,5),new e(98,5),new e(130,6),new e(194,7),new e(322,8),new e(578,9),new e(1090,10),new e(2114,12),new e(6210,14),new e(22594,24)],t.kCopyLengthPrefixCode=[new e(2,0),new e(3,0),new e(4,0),new e(5,0),new e(6,0),new e(7,0),new e(8,0),new e(9,0),new e(10,1),new e(12,1),new e(14,2),new e(18,2),new e(22,3),new e(30,3),new e(38,4),new e(54,4),new e(70,5),new e(102,5),new e(134,6),new e(198,7),new e(326,8),new e(582,9),new e(1094,10),new e(2118,24)],t.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],t.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},6154:function(A,t){function e(A){this.buffer=A,this.pos=0}function r(A){this.buffer=A,this.pos=0}e.prototype.read=function(A,t,e){this.pos+e>this.buffer.length&&(e=this.buffer.length-this.pos);for(var r=0;rthis.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(A.subarray(0,t),this.pos),this.pos+=t,t},t.j=r},2973:function(A,t,e){var r=e(5139),n=10,i=11;function B(A,t,e){this.prefix=new Uint8Array(A.length),this.transform=t,this.suffix=new Uint8Array(e.length);for(var r=0;r'),new B("",0,"\n"),new B("",3,""),new B("",0,"]"),new B("",0," for "),new B("",14,""),new B("",2,""),new B("",0," a "),new B("",0," that "),new B(" ",n,""),new B("",0,". "),new B(".",0,""),new B(" ",0,", "),new B("",15,""),new B("",0," with "),new B("",0,"'"),new B("",0," from "),new B("",0," by "),new B("",16,""),new B("",17,""),new B(" the ",0,""),new B("",4,""),new B("",0,". The "),new B("",i,""),new B("",0," on "),new B("",0," as "),new B("",0," is "),new B("",7,""),new B("",1,"ing "),new B("",0,"\n\t"),new B("",0,":"),new B(" ",0,". "),new B("",0,"ed "),new B("",20,""),new B("",18,""),new B("",6,""),new B("",0,"("),new B("",n,", "),new B("",8,""),new B("",0," at "),new B("",0,"ly "),new B(" the ",0," of "),new B("",5,""),new B("",9,""),new B(" ",n,", "),new B("",n,'"'),new B(".",0,"("),new B("",i," "),new B("",n,'">'),new B("",0,'="'),new B(" ",0,"."),new B(".com/",0,""),new B(" the ",0," of the "),new B("",n,"'"),new B("",0,". This "),new B("",0,","),new B(".",0," "),new B("",n,"("),new B("",n,"."),new B("",0," not "),new B(" ",0,'="'),new B("",0,"er "),new B(" ",i," "),new B("",0,"al "),new B(" ",i,""),new B("",0,"='"),new B("",i,'"'),new B("",n,". "),new B(" ",0,"("),new B("",0,"ful "),new B(" ",n,". "),new B("",0,"ive "),new B("",0,"less "),new B("",i,"'"),new B("",0,"est "),new B(" ",n,"."),new B("",i,'">'),new B(" ",0,"='"),new B("",n,","),new B("",0,"ize "),new B("",i,"."),new B(" ",0,""),new B(" ",0,","),new B("",n,'="'),new B("",i,'="'),new B("",0,"ous "),new B("",i,", "),new B("",n,"='"),new B(" ",n,","),new B(" ",i,'="'),new B(" ",i,", "),new B("",i,","),new B("",i,"("),new B("",i,". "),new B(" ",i,"."),new B("",i,"='"),new B(" ",i,". "),new B(" ",n,'="'),new B(" ",i,"='"),new B(" ",n,"='")];function o(A,t){return A[t]<192?(A[t]>=97&&A[t]<=122&&(A[t]^=32),1):A[t]<224?(A[t+1]^=32,2):(A[t+2]^=5,3)}t.kTransforms=s,t.kNumTransforms=s.length,t.transformDictionaryWord=function(A,t,e,B,g){var a,c=s[g].prefix,E=s[g].suffix,w=s[g].transform,Q=w<12?0:w-11,h=0,l=t;Q>B&&(Q=B);for(var M=0;M0;){var C=o(A,a);a+=C,B-=C}for(var u=0;ut.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=A,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}c.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,i(this.init_done,"close before init"),i(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):this.mode!==t.INFLATE&&this.mode!==t.GUNZIP&&this.mode!==t.INFLATERAW&&this.mode!==t.UNZIP||o.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null)},c.prototype.write=function(A,t,e,r,n,i,B){return this._write(!0,A,t,e,r,n,i,B)},c.prototype.writeSync=function(A,t,e,r,n,i,B){return this._write(!1,A,t,e,r,n,i,B)},c.prototype._write=function(A,e,B,s,o,g,a,c){if(i.equal(arguments.length,8),i(this.init_done,"write before init"),i(this.mode!==t.NONE,"already finalized"),i.equal(!1,this.write_in_progress,"write already in progress"),i.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,i.equal(!1,void 0===e,"must provide flush value"),this.write_in_progress=!0,e!==t.Z_NO_FLUSH&&e!==t.Z_PARTIAL_FLUSH&&e!==t.Z_SYNC_FLUSH&&e!==t.Z_FULL_FLUSH&&e!==t.Z_FINISH&&e!==t.Z_BLOCK)throw new Error("Invalid flush value");if(null==B&&(B=r.alloc(0),o=0,s=0),this.strm.avail_in=o,this.strm.input=B,this.strm.next_in=s,this.strm.avail_out=c,this.strm.output=g,this.strm.next_out=a,this.flush=e,!A)return this._process(),this._checkError()?this._afterSync():void 0;var E=this;return n.nextTick((function(){E._process(),E._after()})),this},c.prototype._afterSync=function(){var A=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,A]},c.prototype._process=function(){var A=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(A=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===A)break;if(31!==this.strm.input[A]){this.mode=t.INFLATE;break}if(this.gzip_id_bytes_read=1,A++,1===this.strm.avail_in)break;case 1:if(null===A)break;139===this.strm.input[A]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=o.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=o.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=o.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=o.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},c.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},c.prototype._after=function(){if(this._checkError()){var A=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,A),this.pending_close&&this.close()}},c.prototype._error=function(A){this.strm.msg&&(A=this.strm.msg),this.onerror(A,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},c.prototype.init=function(A,e,r,n,B){i(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),i(A>=8&&A<=15,"invalid windowBits"),i(e>=-1&&e<=9,"invalid compression level"),i(r>=1&&r<=9,"invalid memlevel"),i(n===t.Z_FILTERED||n===t.Z_HUFFMAN_ONLY||n===t.Z_RLE||n===t.Z_FIXED||n===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(e,A,r,n,B),this._setDictionary()},c.prototype.params=function(){throw new Error("deflateParams Not supported")},c.prototype.reset=function(){this._reset(),this._setDictionary()},c.prototype._init=function(A,e,r,n,i){switch(this.level=A,this.windowBits=e,this.memLevel=r,this.strategy=n,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,this.mode!==t.GZIP&&this.mode!==t.GUNZIP||(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),this.mode!==t.DEFLATERAW&&this.mode!==t.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new B,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=o.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=i,this.write_in_progress=!1,this.init_done=!0},c.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},c.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=o.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=c},2635:function(A,t,e){"use strict";var r=e(4155),n=e(8823).Buffer,i=e(2830).Transform,B=e(4505),s=e(9539),o=e(9282).ok,g=e(8823).kMaxLength,a="Cannot create final Buffer. It would be larger than 0x"+g.toString(16)+" bytes";B.Z_MIN_WINDOWBITS=8,B.Z_MAX_WINDOWBITS=15,B.Z_DEFAULT_WINDOWBITS=15,B.Z_MIN_CHUNK=64,B.Z_MAX_CHUNK=1/0,B.Z_DEFAULT_CHUNK=16384,B.Z_MIN_MEMLEVEL=1,B.Z_MAX_MEMLEVEL=9,B.Z_DEFAULT_MEMLEVEL=8,B.Z_MIN_LEVEL=-1,B.Z_MAX_LEVEL=9,B.Z_DEFAULT_LEVEL=B.Z_DEFAULT_COMPRESSION;for(var c=Object.keys(B),E=0;E=g?B=new RangeError(a):t=n.concat(r,i),r=[],A.close(),e(B,t)}A.on("error",(function(t){A.removeListener("end",s),A.removeListener("readable",B),e(t)})),A.on("end",s),A.end(t),B()}function u(A,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var e=A._finishFlushFlag;return A._processChunk(t,e)}function f(A){if(!(this instanceof f))return new f(A);v.call(this,A,B.DEFLATE)}function D(A){if(!(this instanceof D))return new D(A);v.call(this,A,B.INFLATE)}function I(A){if(!(this instanceof I))return new I(A);v.call(this,A,B.GZIP)}function d(A){if(!(this instanceof d))return new d(A);v.call(this,A,B.GUNZIP)}function y(A){if(!(this instanceof y))return new y(A);v.call(this,A,B.DEFLATERAW)}function F(A){if(!(this instanceof F))return new F(A);v.call(this,A,B.INFLATERAW)}function Y(A){if(!(this instanceof Y))return new Y(A);v.call(this,A,B.UNZIP)}function p(A){return A===B.Z_NO_FLUSH||A===B.Z_PARTIAL_FLUSH||A===B.Z_SYNC_FLUSH||A===B.Z_FULL_FLUSH||A===B.Z_FINISH||A===B.Z_BLOCK}function v(A,e){var r=this;if(this._opts=A=A||{},this._chunkSize=A.chunkSize||t.Z_DEFAULT_CHUNK,i.call(this,A),A.flush&&!p(A.flush))throw new Error("Invalid flush flag: "+A.flush);if(A.finishFlush&&!p(A.finishFlush))throw new Error("Invalid flush flag: "+A.finishFlush);if(this._flushFlag=A.flush||B.Z_NO_FLUSH,this._finishFlushFlag=void 0!==A.finishFlush?A.finishFlush:B.Z_FINISH,A.chunkSize&&(A.chunkSizet.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+A.chunkSize);if(A.windowBits&&(A.windowBitst.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+A.windowBits);if(A.level&&(A.levelt.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+A.level);if(A.memLevel&&(A.memLevelt.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+A.memLevel);if(A.strategy&&A.strategy!=t.Z_FILTERED&&A.strategy!=t.Z_HUFFMAN_ONLY&&A.strategy!=t.Z_RLE&&A.strategy!=t.Z_FIXED&&A.strategy!=t.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+A.strategy);if(A.dictionary&&!n.isBuffer(A.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new B.Zlib(e);var s=this;this._hadError=!1,this._handle.onerror=function(A,e){z(s),s._hadError=!0;var r=new Error(A);r.errno=e,r.code=t.codes[e],s.emit("error",r)};var o=t.Z_DEFAULT_COMPRESSION;"number"==typeof A.level&&(o=A.level);var g=t.Z_DEFAULT_STRATEGY;"number"==typeof A.strategy&&(g=A.strategy),this._handle.init(A.windowBits||t.Z_DEFAULT_WINDOWBITS,o,A.memLevel||t.Z_DEFAULT_MEMLEVEL,g,A.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=o,this._strategy=g,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}function z(A,t){t&&r.nextTick(t),A._handle&&(A._handle.close(),A._handle=null)}function U(A){A.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(Q),writable:!1}),t.Deflate=f,t.Inflate=D,t.Gzip=I,t.Gunzip=d,t.DeflateRaw=y,t.InflateRaw=F,t.Unzip=Y,t.createDeflate=function(A){return new f(A)},t.createInflate=function(A){return new D(A)},t.createDeflateRaw=function(A){return new y(A)},t.createInflateRaw=function(A){return new F(A)},t.createGzip=function(A){return new I(A)},t.createGunzip=function(A){return new d(A)},t.createUnzip=function(A){return new Y(A)},t.deflate=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new f(t),A,e)},t.deflateSync=function(A,t){return u(new f(t),A)},t.gzip=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new I(t),A,e)},t.gzipSync=function(A,t){return u(new I(t),A)},t.deflateRaw=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new y(t),A,e)},t.deflateRawSync=function(A,t){return u(new y(t),A)},t.unzip=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new Y(t),A,e)},t.unzipSync=function(A,t){return u(new Y(t),A)},t.inflate=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new D(t),A,e)},t.inflateSync=function(A,t){return u(new D(t),A)},t.gunzip=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new d(t),A,e)},t.gunzipSync=function(A,t){return u(new d(t),A)},t.inflateRaw=function(A,t,e){return"function"==typeof t&&(e=t,t={}),C(new F(t),A,e)},t.inflateRawSync=function(A,t){return u(new F(t),A)},s.inherits(v,i),v.prototype.params=function(A,e,n){if(At.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+A);if(e!=t.Z_FILTERED&&e!=t.Z_HUFFMAN_ONLY&&e!=t.Z_RLE&&e!=t.Z_FIXED&&e!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+e);if(this._level!==A||this._strategy!==e){var i=this;this.flush(B.Z_SYNC_FLUSH,(function(){o(i._handle,"zlib binding closed"),i._handle.params(A,e),i._hadError||(i._level=A,i._strategy=e,n&&n())}))}else r.nextTick(n)},v.prototype.reset=function(){return o(this._handle,"zlib binding closed"),this._handle.reset()},v.prototype._flush=function(A){this._transform(n.alloc(0),"",A)},v.prototype.flush=function(A,t){var e=this,i=this._writableState;("function"==typeof A||void 0===A&&!t)&&(t=A,A=B.Z_FULL_FLUSH),i.ended?t&&r.nextTick(t):i.ending?t&&this.once("end",t):i.needDrain?t&&this.once("drain",(function(){return e.flush(A,t)})):(this._flushFlag=A,this.write(n.alloc(0),"",t))},v.prototype.close=function(A){z(this,A),r.nextTick(U,this)},v.prototype._transform=function(A,t,e){var r,i=this._writableState,s=(i.ending||i.ended)&&(!A||i.length===A.length);return null===A||n.isBuffer(A)?this._handle?(s?r=this._finishFlushFlag:(r=this._flushFlag,A.length>=i.length&&(this._flushFlag=this._opts.flush||B.Z_NO_FLUSH)),void this._processChunk(A,r,e)):e(new Error("zlib binding closed")):e(new Error("invalid input"))},v.prototype._processChunk=function(A,t,e){var r=A&&A.length,i=this._chunkSize-this._offset,B=0,s=this,c="function"==typeof e;if(!c){var E,w=[],Q=0;this.on("error",(function(A){E=A})),o(this._handle,"zlib binding closed");do{var h=this._handle.writeSync(t,A,B,r,this._buffer,this._offset,i)}while(!this._hadError&&C(h[0],h[1]));if(this._hadError)throw E;if(Q>=g)throw z(this),new RangeError(a);var l=n.concat(w,Q);return z(this),l}o(this._handle,"zlib binding closed");var M=this._handle.write(t,A,B,r,this._buffer,this._offset,i);function C(g,a){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var E=i-a;if(o(E>=0,"have should not go down"),E>0){var h=s._buffer.slice(s._offset,s._offset+E);s._offset+=E,c?s.push(h):(w.push(h),Q+=h.length)}if((0===a||s._offset>=s._chunkSize)&&(i=s._chunkSize,s._offset=0,s._buffer=n.allocUnsafe(s._chunkSize)),0===a){if(B+=r-g,r=g,!c)return!0;var l=s._handle.write(t,A,B,r,s._buffer,s._offset,s._chunkSize);return l.callback=C,void(l.buffer=A)}if(!c)return!1;e()}}M.buffer=A,M.callback=C},s.inherits(f,v),s.inherits(D,v),s.inherits(I,v),s.inherits(d,v),s.inherits(y,v),s.inherits(F,v),s.inherits(Y,v)},6907:function(A,t){"use strict";var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(A,t){return Object.prototype.hasOwnProperty.call(A,t)}t.assign=function(A){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var e=t.shift();if(e){if("object"!=typeof e)throw new TypeError(e+"must be non-object");for(var n in e)r(e,n)&&(A[n]=e[n])}}return A},t.shrinkBuf=function(A,t){return A.length===t?A:A.subarray?A.subarray(0,t):(A.length=t,A)};var n={arraySet:function(A,t,e,r,n){if(t.subarray&&A.subarray)A.set(t.subarray(e,e+r),n);else for(var i=0;i>>16&65535|0,B=0;0!==e;){e-=B=e>2e3?2e3:e;do{i=i+(n=n+t[r++]|0)|0}while(--B);n%=65521,i%=65521}return n|i<<16|0}},7162:function(A){"use strict";A.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},3415:function(A){"use strict";var t=function(){for(var A,t=[],e=0;e<256;e++){A=e;for(var r=0;r<8;r++)A=1&A?3988292384^A>>>1:A>>>1;t[e]=A}return t}();A.exports=function(A,e,r,n){var i=t,B=n+r;A^=-1;for(var s=n;s>>8^i[255&(A^e[s])];return-1^A}},2233:function(A,t,e){"use strict";var r,n=e(6907),i=e(1339),B=e(7575),s=e(3415),o=e(9364),g=-2,a=258,c=262,E=103,w=113,Q=666;function h(A,t){return A.msg=o[t],t}function l(A){return(A<<1)-(A>4?9:0)}function M(A){for(var t=A.length;--t>=0;)A[t]=0}function C(A){var t=A.state,e=t.pending;e>A.avail_out&&(e=A.avail_out),0!==e&&(n.arraySet(A.output,t.pending_buf,t.pending_out,e,A.next_out),A.next_out+=e,t.pending_out+=e,A.total_out+=e,A.avail_out-=e,t.pending-=e,0===t.pending&&(t.pending_out=0))}function u(A,t){i._tr_flush_block(A,A.block_start>=0?A.block_start:-1,A.strstart-A.block_start,t),A.block_start=A.strstart,C(A.strm)}function f(A,t){A.pending_buf[A.pending++]=t}function D(A,t){A.pending_buf[A.pending++]=t>>>8&255,A.pending_buf[A.pending++]=255&t}function I(A,t){var e,r,n=A.max_chain_length,i=A.strstart,B=A.prev_length,s=A.nice_match,o=A.strstart>A.w_size-c?A.strstart-(A.w_size-c):0,g=A.window,E=A.w_mask,w=A.prev,Q=A.strstart+a,h=g[i+B-1],l=g[i+B];A.prev_length>=A.good_match&&(n>>=2),s>A.lookahead&&(s=A.lookahead);do{if(g[(e=t)+B]===l&&g[e+B-1]===h&&g[e]===g[i]&&g[++e]===g[i+1]){i+=2,e++;do{}while(g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&g[++i]===g[++e]&&iB){if(A.match_start=t,B=r,r>=s)break;h=g[i+B-1],l=g[i+B]}}}while((t=w[t&E])>o&&0!=--n);return B<=A.lookahead?B:A.lookahead}function d(A){var t,e,r,i,o,g,a,E,w,Q,h=A.w_size;do{if(i=A.window_size-A.lookahead-A.strstart,A.strstart>=h+(h-c)){n.arraySet(A.window,A.window,h,h,0),A.match_start-=h,A.strstart-=h,A.block_start-=h,t=e=A.hash_size;do{r=A.head[--t],A.head[t]=r>=h?r-h:0}while(--e);t=e=h;do{r=A.prev[--t],A.prev[t]=r>=h?r-h:0}while(--e);i+=h}if(0===A.strm.avail_in)break;if(g=A.strm,a=A.window,E=A.strstart+A.lookahead,w=i,Q=void 0,(Q=g.avail_in)>w&&(Q=w),e=0===Q?0:(g.avail_in-=Q,n.arraySet(a,g.input,g.next_in,Q,E),1===g.state.wrap?g.adler=B(g.adler,a,Q,E):2===g.state.wrap&&(g.adler=s(g.adler,a,Q,E)),g.next_in+=Q,g.total_in+=Q,Q),A.lookahead+=e,A.lookahead+A.insert>=3)for(o=A.strstart-A.insert,A.ins_h=A.window[o],A.ins_h=(A.ins_h<=3&&(A.ins_h=(A.ins_h<=3)if(r=i._tr_tally(A,A.strstart-A.match_start,A.match_length-3),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=3){A.match_length--;do{A.strstart++,A.ins_h=(A.ins_h<=3&&(A.ins_h=(A.ins_h<4096)&&(A.match_length=2)),A.prev_length>=3&&A.match_length<=A.prev_length){n=A.strstart+A.lookahead-3,r=i._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-3),A.lookahead-=A.prev_length-1,A.prev_length-=2;do{++A.strstart<=n&&(A.ins_h=(A.ins_h<15&&(s=2,r-=16),i<1||i>9||8!==e||r<8||r>15||t<0||t>9||B<0||B>4)return h(A,g);8===r&&(r=9);var o=new p;return A.state=o,o.strm=A,o.wrap=s,o.gzhead=null,o.w_bits=r,o.w_size=1<A.pending_buf_size-5&&(e=A.pending_buf_size-5);;){if(A.lookahead<=1){if(d(A),0===A.lookahead&&0===t)return 1;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var r=A.block_start+e;if((0===A.strstart||A.strstart>=r)&&(A.lookahead=A.strstart-r,A.strstart=r,u(A,!1),0===A.strm.avail_out))return 1;if(A.strstart-A.block_start>=A.w_size-c&&(u(A,!1),0===A.strm.avail_out))return 1}return A.insert=0,4===t?(u(A,!0),0===A.strm.avail_out?3:4):(A.strstart>A.block_start&&(u(A,!1),A.strm.avail_out),1)})),new Y(4,4,8,4,y),new Y(4,5,16,8,y),new Y(4,6,32,32,y),new Y(4,4,16,16,F),new Y(8,16,32,32,F),new Y(8,16,128,128,F),new Y(8,32,128,256,F),new Y(32,128,258,1024,F),new Y(32,258,258,4096,F)],t.deflateInit=function(A,t){return U(A,t,8,15,8,0)},t.deflateInit2=U,t.deflateReset=z,t.deflateResetKeep=v,t.deflateSetHeader=function(A,t){return A&&A.state?2!==A.state.wrap?g:(A.state.gzhead=t,0):g},t.deflate=function(A,t){var e,n,B,o;if(!A||!A.state||t>5||t<0)return A?h(A,g):g;if(n=A.state,!A.output||!A.input&&0!==A.avail_in||n.status===Q&&4!==t)return h(A,0===A.avail_out?-5:g);if(n.strm=A,e=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)A.adler=0,f(n,31),f(n,139),f(n,8),n.gzhead?(f(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),f(n,255&n.gzhead.time),f(n,n.gzhead.time>>8&255),f(n,n.gzhead.time>>16&255),f(n,n.gzhead.time>>24&255),f(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),f(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(f(n,255&n.gzhead.extra.length),f(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(A.adler=s(A.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(f(n,0),f(n,0),f(n,0),f(n,0),f(n,0),f(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),f(n,3),n.status=w);else{var c=8+(n.w_bits-8<<4)<<8;c|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(c|=32),c+=31-c%31,n.status=w,D(n,c),0!==n.strstart&&(D(n,A.adler>>>16),D(n,65535&A.adler)),A.adler=1}if(69===n.status)if(n.gzhead.extra){for(B=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>B&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),C(A),B=n.pending,n.pending!==n.pending_buf_size));)f(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>B&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){B=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>B&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),C(A),B=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexB&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){B=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>B&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),C(A),B=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexB&&(A.adler=s(A.adler,n.pending_buf,n.pending-B,B)),0===o&&(n.status=E)}else n.status=E;if(n.status===E&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(A),n.pending+2<=n.pending_buf_size&&(f(n,255&A.adler),f(n,A.adler>>8&255),A.adler=0,n.status=w)):n.status=w),0!==n.pending){if(C(A),0===A.avail_out)return n.last_flush=-1,0}else if(0===A.avail_in&&l(t)<=l(e)&&4!==t)return h(A,-5);if(n.status===Q&&0!==A.avail_in)return h(A,-5);if(0!==A.avail_in||0!==n.lookahead||0!==t&&n.status!==Q){var I=2===n.strategy?function(A,t){for(var e;;){if(0===A.lookahead&&(d(A),0===A.lookahead)){if(0===t)return 1;break}if(A.match_length=0,e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,e&&(u(A,!1),0===A.strm.avail_out))return 1}return A.insert=0,4===t?(u(A,!0),0===A.strm.avail_out?3:4):A.last_lit&&(u(A,!1),0===A.strm.avail_out)?1:2}(n,t):3===n.strategy?function(A,t){for(var e,r,n,B,s=A.window;;){if(A.lookahead<=a){if(d(A),A.lookahead<=a&&0===t)return 1;if(0===A.lookahead)break}if(A.match_length=0,A.lookahead>=3&&A.strstart>0&&(r=s[n=A.strstart-1])===s[++n]&&r===s[++n]&&r===s[++n]){B=A.strstart+a;do{}while(r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&nA.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=3?(e=i._tr_tally(A,1,A.match_length-3),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),e&&(u(A,!1),0===A.strm.avail_out))return 1}return A.insert=0,4===t?(u(A,!0),0===A.strm.avail_out?3:4):A.last_lit&&(u(A,!1),0===A.strm.avail_out)?1:2}(n,t):r[n.level].func(n,t);if(3!==I&&4!==I||(n.status=Q),1===I||3===I)return 0===A.avail_out&&(n.last_flush=-1),0;if(2===I&&(1===t?i._tr_align(n):5!==t&&(i._tr_stored_block(n,0,0,!1),3===t&&(M(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(A),0===A.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(f(n,255&A.adler),f(n,A.adler>>8&255),f(n,A.adler>>16&255),f(n,A.adler>>24&255),f(n,255&A.total_in),f(n,A.total_in>>8&255),f(n,A.total_in>>16&255),f(n,A.total_in>>24&255)):(D(n,A.adler>>>16),D(n,65535&A.adler)),C(A),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},t.deflateEnd=function(A){var t;return A&&A.state?42!==(t=A.state.status)&&69!==t&&73!==t&&91!==t&&t!==E&&t!==w&&t!==Q?h(A,g):(A.state=null,t===w?h(A,-3):0):g},t.deflateSetDictionary=function(A,t){var e,r,i,s,o,a,c,E,w=t.length;if(!A||!A.state)return g;if(2===(s=(e=A.state).wrap)||1===s&&42!==e.status||e.lookahead)return g;for(1===s&&(A.adler=B(A.adler,t,w,0)),e.wrap=0,w>=e.w_size&&(0===s&&(M(e.head),e.strstart=0,e.block_start=0,e.insert=0),E=new n.Buf8(e.w_size),n.arraySet(E,t,w-e.w_size,e.w_size,0),t=E,w=e.w_size),o=A.avail_in,a=A.next_in,c=A.input,A.avail_in=w,A.next_in=0,A.input=t,d(e);e.lookahead>=3;){r=e.strstart,i=e.lookahead-2;do{e.ins_h=(e.ins_h<>>=f=u>>>24,Q-=f,0===(f=u>>>16&255))Y[i++]=65535&u;else{if(!(16&f)){if(0==(64&f)){u=h[(65535&u)+(w&(1<>>=f,Q-=f),Q<15&&(w+=F[r++]<>>=f=u>>>24,Q-=f,!(16&(f=u>>>16&255))){if(0==(64&f)){u=l[(65535&u)+(w&(1<o){A.msg="invalid distance too far back",e.mode=30;break A}if(w>>>=f,Q-=f,I>(f=i-B)){if((f=I-f)>a&&e.sane){A.msg="invalid distance too far back",e.mode=30;break A}if(d=0,y=E,0===c){if(d+=g-f,f2;)Y[i++]=y[d++],Y[i++]=y[d++],Y[i++]=y[d++],D-=3;D&&(Y[i++]=y[d++],D>1&&(Y[i++]=y[d++]))}else{d=i-I;do{Y[i++]=Y[d++],Y[i++]=Y[d++],Y[i++]=Y[d++],D-=3}while(D>2);D&&(Y[i++]=Y[d++],D>1&&(Y[i++]=Y[d++]))}break}}break}}while(r>3,w&=(1<<(Q-=D<<3))-1,A.next_in=r,A.next_out=i,A.avail_in=r>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function E(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(A){var t;return A&&A.state?(t=A.state,A.total_in=A.total_out=t.total=0,A.msg="",t.wrap&&(A.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):o}function Q(A){var t;return A&&A.state?((t=A.state).wsize=0,t.whave=0,t.wnext=0,w(A)):o}function h(A,t){var e,r;return A&&A.state?(r=A.state,t<0?(e=0,t=-t):(e=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?o:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=e,r.wbits=t,Q(A))):o}function l(A,t){var e,r;return A?(r=new E,A.state=r,r.window=null,0!==(e=h(A,t))&&(A.state=null),e):o}var M,C,u=!0;function f(A){if(u){var t;for(M=new r.Buf32(512),C=new r.Buf32(32),t=0;t<144;)A.lens[t++]=8;for(;t<256;)A.lens[t++]=9;for(;t<280;)A.lens[t++]=7;for(;t<288;)A.lens[t++]=8;for(s(1,A.lens,0,288,M,0,A.work,{bits:9}),t=0;t<32;)A.lens[t++]=5;s(2,A.lens,0,32,C,0,A.work,{bits:5}),u=!1}A.lencode=M,A.lenbits=9,A.distcode=C,A.distbits=5}function D(A,t,e,n){var i,B=A.state;return null===B.window&&(B.wsize=1<=B.wsize?(r.arraySet(B.window,t,e-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):((i=B.wsize-B.wnext)>n&&(i=n),r.arraySet(B.window,t,e-n,i,B.wnext),(n-=i)?(r.arraySet(B.window,t,e-n,n,0),B.wnext=n,B.whave=B.wsize):(B.wnext+=i,B.wnext===B.wsize&&(B.wnext=0),B.whave>>8&255,e.check=i(e.check,x,2,0),C=0,u=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&C)<<8)+(C>>8))%31){A.msg="incorrect header check",e.mode=a;break}if(8!=(15&C)){A.msg="unknown compression method",e.mode=a;break}if(u-=4,b=8+(15&(C>>>=4)),0===e.wbits)e.wbits=b;else if(b>e.wbits){A.msg="invalid window size",e.mode=a;break}e.dmax=1<>8&1),512&e.flags&&(x[0]=255&C,x[1]=C>>>8&255,e.check=i(e.check,x,2,0)),C=0,u=0,e.mode=3;case 3:for(;u<32;){if(0===l)break A;l--,C+=E[Q++]<>>8&255,x[2]=C>>>16&255,x[3]=C>>>24&255,e.check=i(e.check,x,4,0)),C=0,u=0,e.mode=4;case 4:for(;u<16;){if(0===l)break A;l--,C+=E[Q++]<>8),512&e.flags&&(x[0]=255&C,x[1]=C>>>8&255,e.check=i(e.check,x,2,0)),C=0,u=0,e.mode=5;case 5:if(1024&e.flags){for(;u<16;){if(0===l)break A;l--,C+=E[Q++]<>>8&255,e.check=i(e.check,x,2,0)),C=0,u=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&((y=e.length)>l&&(y=l),y&&(e.head&&(b=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),r.arraySet(e.head.extra,E,Q,y,b)),512&e.flags&&(e.check=i(e.check,E,y,Q)),l-=y,Q+=y,e.length-=y),e.length))break A;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(0===l)break A;y=0;do{b=E[Q+y++],e.head&&b&&e.length<65536&&(e.head.name+=String.fromCharCode(b))}while(b&&y>9&1,e.head.done=!0),A.adler=e.check=0,e.mode=g;break;case 10:for(;u<32;){if(0===l)break A;l--,C+=E[Q++]<>>=7&u,u-=7&u,e.mode=27;break}for(;u<3;){if(0===l)break A;l--,C+=E[Q++]<>>=1)){case 0:e.mode=14;break;case 1:if(f(e),e.mode=20,6===t){C>>>=2,u-=2;break A}break;case 2:e.mode=17;break;case 3:A.msg="invalid block type",e.mode=a}C>>>=2,u-=2;break;case 14:for(C>>>=7&u,u-=7&u;u<32;){if(0===l)break A;l--,C+=E[Q++]<>>16^65535)){A.msg="invalid stored block lengths",e.mode=a;break}if(e.length=65535&C,C=0,u=0,e.mode=15,6===t)break A;case 15:e.mode=16;case 16:if(y=e.length){if(y>l&&(y=l),y>M&&(y=M),0===y)break A;r.arraySet(w,E,Q,y,h),l-=y,Q+=y,M-=y,h+=y,e.length-=y;break}e.mode=g;break;case 17:for(;u<14;){if(0===l)break A;l--,C+=E[Q++]<>>=5,u-=5,e.ndist=1+(31&C),C>>>=5,u-=5,e.ncode=4+(15&C),C>>>=4,u-=4,e.nlen>286||e.ndist>30){A.msg="too many length or distance symbols",e.mode=a;break}e.have=0,e.mode=18;case 18:for(;e.have>>=3,u-=3}for(;e.have<19;)e.lens[T[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,G={bits:e.lenbits},N=s(0,e.lens,0,19,e.lencode,0,e.work,G),e.lenbits=G.bits,N){A.msg="invalid code lengths set",e.mode=a;break}e.have=0,e.mode=19;case 19:for(;e.have>>16&255,z=65535&S,!((p=S>>>24)<=u);){if(0===l)break A;l--,C+=E[Q++]<>>=p,u-=p,e.lens[e.have++]=z;else{if(16===z){for(R=p+2;u>>=p,u-=p,0===e.have){A.msg="invalid bit length repeat",e.mode=a;break}b=e.lens[e.have-1],y=3+(3&C),C>>>=2,u-=2}else if(17===z){for(R=p+3;u>>=p)),C>>>=3,u-=3}else{for(R=p+7;u>>=p)),C>>>=7,u-=7}if(e.have+y>e.nlen+e.ndist){A.msg="invalid bit length repeat",e.mode=a;break}for(;y--;)e.lens[e.have++]=b}}if(e.mode===a)break;if(0===e.lens[256]){A.msg="invalid code -- missing end-of-block",e.mode=a;break}if(e.lenbits=9,G={bits:e.lenbits},N=s(1,e.lens,0,e.nlen,e.lencode,0,e.work,G),e.lenbits=G.bits,N){A.msg="invalid literal/lengths set",e.mode=a;break}if(e.distbits=6,e.distcode=e.distdyn,G={bits:e.distbits},N=s(2,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,G),e.distbits=G.bits,N){A.msg="invalid distances set",e.mode=a;break}if(e.mode=20,6===t)break A;case 20:e.mode=21;case 21:if(l>=6&&M>=258){A.next_out=h,A.avail_out=M,A.next_in=Q,A.avail_in=l,e.hold=C,e.bits=u,B(A,d),h=A.next_out,w=A.output,M=A.avail_out,Q=A.next_in,E=A.input,l=A.avail_in,C=e.hold,u=e.bits,e.mode===g&&(e.back=-1);break}for(e.back=0;v=(S=e.lencode[C&(1<>>16&255,z=65535&S,!((p=S>>>24)<=u);){if(0===l)break A;l--,C+=E[Q++]<>U)])>>>16&255,z=65535&S,!(U+(p=S>>>24)<=u);){if(0===l)break A;l--,C+=E[Q++]<>>=U,u-=U,e.back+=U}if(C>>>=p,u-=p,e.back+=p,e.length=z,0===v){e.mode=26;break}if(32&v){e.back=-1,e.mode=g;break}if(64&v){A.msg="invalid literal/length code",e.mode=a;break}e.extra=15&v,e.mode=22;case 22:if(e.extra){for(R=e.extra;u>>=e.extra,u-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;v=(S=e.distcode[C&(1<>>16&255,z=65535&S,!((p=S>>>24)<=u);){if(0===l)break A;l--,C+=E[Q++]<>U)])>>>16&255,z=65535&S,!(U+(p=S>>>24)<=u);){if(0===l)break A;l--,C+=E[Q++]<>>=U,u-=U,e.back+=U}if(C>>>=p,u-=p,e.back+=p,64&v){A.msg="invalid distance code",e.mode=a;break}e.offset=z,e.extra=15&v,e.mode=24;case 24:if(e.extra){for(R=e.extra;u>>=e.extra,u-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){A.msg="invalid distance too far back",e.mode=a;break}e.mode=25;case 25:if(0===M)break A;if(y=d-M,e.offset>y){if((y=e.offset-y)>e.whave&&e.sane){A.msg="invalid distance too far back",e.mode=a;break}y>e.wnext?(y-=e.wnext,F=e.wsize-y):F=e.wnext-y,y>e.length&&(y=e.length),Y=e.window}else Y=w,F=h-e.offset,y=e.length;y>M&&(y=M),M-=y,e.length-=y;do{w[h++]=Y[F++]}while(--y);0===e.length&&(e.mode=21);break;case 26:if(0===M)break A;w[h++]=e.length,M--,e.mode=21;break;case 27:if(e.wrap){for(;u<32;){if(0===l)break A;l--,C|=E[Q++]<=1&&0===R[p];p--);if(v>p&&(v=p),0===p)return a[c++]=20971520,a[c++]=20971520,w.bits=1,0;for(Y=1;Y0&&(0===A||1!==p))return-1;for(S[1]=0,y=1;y852||2===A&&P>592)return 1;for(;;){f=y-U,E[F]u?(D=x[T+E[F]],I=N[G+E[F]]):(D=96,I=0),Q=1<>U)+(h-=Q)]=f<<24|D<<16|I|0}while(0!==h);for(Q=1<>=1;if(0!==Q?(b&=Q-1,b+=Q):b=0,F++,0==--R[y]){if(y===p)break;y=t[e+E[F]]}if(y>v&&(b&M)!==l){for(0===U&&(U=v),C+=Y,m=1<<(z=y-U);z+U852||2===A&&P>592)return 1;a[l=b&M]=v<<24|z<<16|C-c|0}}return 0!==b&&(a[C+b]=y-U<<24|64<<16|0),w.bits=v,0}},9364:function(A){"use strict";A.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},1339:function(A,t,e){"use strict";var r=e(6907);function n(A){for(var t=A.length;--t>=0;)A[t]=0}var i=256,B=286,s=30,o=15,g=[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],a=[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],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],w=new Array(576);n(w);var Q=new Array(60);n(Q);var h=new Array(512);n(h);var l=new Array(256);n(l);var M=new Array(29);n(M);var C,u,f,D=new Array(s);function I(A,t,e,r,n){this.static_tree=A,this.extra_bits=t,this.extra_base=e,this.elems=r,this.max_length=n,this.has_stree=A&&A.length}function d(A,t){this.dyn_tree=A,this.max_code=0,this.stat_desc=t}function y(A){return A<256?h[A]:h[256+(A>>>7)]}function F(A,t){A.pending_buf[A.pending++]=255&t,A.pending_buf[A.pending++]=t>>>8&255}function Y(A,t,e){A.bi_valid>16-e?(A.bi_buf|=t<>16-A.bi_valid,A.bi_valid+=e-16):(A.bi_buf|=t<>>=1,e<<=1}while(--t>0);return e>>>1}function z(A,t,e){var r,n,i=new Array(16),B=0;for(r=1;r<=o;r++)i[r]=B=B+e[r-1]<<1;for(n=0;n<=t;n++){var s=A[2*n+1];0!==s&&(A[2*n]=v(i[s]++,s))}}function U(A){var t;for(t=0;t8?F(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function P(A,t,e,r){var n=2*t,i=2*e;return A[n]>1;e>=1;e--)b(A,i,e);n=g;do{e=A.heap[1],A.heap[1]=A.heap[A.heap_len--],b(A,i,1),r=A.heap[1],A.heap[--A.heap_max]=e,A.heap[--A.heap_max]=r,i[2*n]=i[2*e]+i[2*r],A.depth[n]=(A.depth[e]>=A.depth[r]?A.depth[e]:A.depth[r])+1,i[2*e+1]=i[2*r+1]=n,A.heap[1]=n++,b(A,i,1)}while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],function(A,t){var e,r,n,i,B,s,g=t.dyn_tree,a=t.max_code,c=t.stat_desc.static_tree,E=t.stat_desc.has_stree,w=t.stat_desc.extra_bits,Q=t.stat_desc.extra_base,h=t.stat_desc.max_length,l=0;for(i=0;i<=o;i++)A.bl_count[i]=0;for(g[2*A.heap[A.heap_max]+1]=0,e=A.heap_max+1;e<573;e++)(i=g[2*g[2*(r=A.heap[e])+1]+1]+1)>h&&(i=h,l++),g[2*r+1]=i,r>a||(A.bl_count[i]++,B=0,r>=Q&&(B=w[r-Q]),s=g[2*r],A.opt_len+=s*(i+B),E&&(A.static_len+=s*(c[2*r+1]+B)));if(0!==l){do{for(i=h-1;0===A.bl_count[i];)i--;A.bl_count[i]--,A.bl_count[i+1]+=2,A.bl_count[h]--,l-=2}while(l>0);for(i=h;0!==i;i--)for(r=A.bl_count[i];0!==r;)(n=A.heap[--e])>a||(g[2*n+1]!==i&&(A.opt_len+=(i-g[2*n+1])*g[2*n],g[2*n+1]=i),r--)}}(A,t),z(i,a,A.bl_count)}function R(A,t,e){var r,n,i=-1,B=t[1],s=0,o=7,g=4;for(0===B&&(o=138,g=3),t[2*(e+1)+1]=65535,r=0;r<=e;r++)n=B,B=t[2*(r+1)+1],++s>=7;r0?(2===A.strm.data_type&&(A.strm.data_type=function(A){var t,e=4093624447;for(t=0;t<=31;t++,e>>>=1)if(1&e&&0!==A.dyn_ltree[2*t])return 0;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return 1;for(t=32;t=3&&0===A.bl_tree[2*E[t]+1];t--);return A.opt_len+=3*(t+1)+5+5+4,t}(A),n=A.opt_len+3+7>>>3,(B=A.static_len+3+7>>>3)<=n&&(n=B)):n=B=e+5,e+4<=n&&-1!==t?T(A,t,e,r):4===A.strategy||B===n?(Y(A,2+(r?1:0),3),N(A,w,Q)):(Y(A,4+(r?1:0),3),function(A,t,e,r){var n;for(Y(A,t-257,5),Y(A,e-1,5),Y(A,r-4,4),n=0;n>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&t,A.pending_buf[A.l_buf+A.last_lit]=255&e,A.last_lit++,0===t?A.dyn_ltree[2*e]++:(A.matches++,t--,A.dyn_ltree[2*(l[e]+i+1)]++,A.dyn_dtree[2*y(t)]++),A.last_lit===A.lit_bufsize-1},t._tr_align=function(A){Y(A,2,3),p(A,256,w),function(A){16===A.bi_valid?(F(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(A)}},4860:function(A){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},1924:function(A,t,e){"use strict";var r=e(210),n=e(5559),i=n(r("String.prototype.indexOf"));A.exports=function(A,t){var e=r(A,!!t);return"function"==typeof e&&i(A,".prototype.")>-1?n(e):e}},5559:function(A,t,e){"use strict";var r=e(8612),n=e(210),i=n("%Function.prototype.apply%"),B=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(B,i),o=n("%Object.getOwnPropertyDescriptor%",!0),g=n("%Object.defineProperty%",!0),a=n("%Math.max%");if(g)try{g({},"a",{value:1})}catch(A){g=null}A.exports=function(A){var t=s(r,B,arguments);if(o&&g){var e=o(t,"length");e.configurable&&g(t,"length",{value:1+a(0,A.length-(arguments.length-1))})}return t};var c=function(){return s(r,i,arguments)};g?g(A.exports,"apply",{value:c}):A.exports.apply=c},6313:function(A,t,e){var r=e(8823).Buffer,n=function(){"use strict";function A(t,n,i,B){"object"==typeof n&&(i=n.depth,B=n.prototype,n.filter,n=n.circular);var s=[],o=[],g=void 0!==r;return void 0===n&&(n=!0),void 0===i&&(i=1/0),function t(i,a){if(null===i)return null;if(0==a)return i;var c,E;if("object"!=typeof i)return i;if(A.__isArray(i))c=[];else if(A.__isRegExp(i))c=new RegExp(i.source,e(i)),i.lastIndex&&(c.lastIndex=i.lastIndex);else if(A.__isDate(i))c=new Date(i.getTime());else{if(g&&r.isBuffer(i))return c=r.allocUnsafe?r.allocUnsafe(i.length):new r(i.length),i.copy(c),c;void 0===B?(E=Object.getPrototypeOf(i),c=Object.create(E)):(c=Object.create(B),E=B)}if(n){var w=s.indexOf(i);if(-1!=w)return o[w];s.push(i),o.push(c)}for(var Q in i){var h;E&&(h=Object.getOwnPropertyDescriptor(E,Q)),h&&null==h.set||(c[Q]=t(i[Q],a-1))}return c}(t,i)}function t(A){return Object.prototype.toString.call(A)}function e(A){var t="";return A.global&&(t+="g"),A.ignoreCase&&(t+="i"),A.multiline&&(t+="m"),t}return A.clonePrototype=function(A){if(null===A)return null;var t=function(){};return t.prototype=A,new t},A.__objToStr=t,A.__isDate=function(A){return"object"==typeof A&&"[object Date]"===t(A)},A.__isArray=function(A){return"object"==typeof A&&"[object Array]"===t(A)},A.__isRegExp=function(A){return"object"==typeof A&&"[object RegExp]"===t(A)},A.__getRegExpFlags=e,A}();A.exports&&(A.exports=n)},4667:function(A,t,e){e(2479);var r=e(857);A.exports=r.Object.values},7633:function(A,t,e){e(9170),e(6992),e(1539),e(8674),e(7922),e(4668),e(7727),e(8783);var r=e(857);A.exports=r.Promise},3867:function(A,t,e){var r=e(1150);e(8628),e(7314),e(7479),e(6290),A.exports=r},9662:function(A,t,e){var r=e(7854),n=e(614),i=e(6330),B=r.TypeError;A.exports=function(A){if(n(A))return A;throw B(i(A)+" is not a function")}},9483:function(A,t,e){var r=e(7854),n=e(4411),i=e(6330),B=r.TypeError;A.exports=function(A){if(n(A))return A;throw B(i(A)+" is not a constructor")}},6077:function(A,t,e){var r=e(7854),n=e(614),i=r.String,B=r.TypeError;A.exports=function(A){if("object"==typeof A||n(A))return A;throw B("Can't set "+i(A)+" as a prototype")}},1223:function(A,t,e){var r=e(5112),n=e(30),i=e(3070),B=r("unscopables"),s=Array.prototype;null==s[B]&&i.f(s,B,{configurable:!0,value:n(null)}),A.exports=function(A){s[B][A]=!0}},1530:function(A,t,e){"use strict";var r=e(8710).charAt;A.exports=function(A,t,e){return t+(e?r(A,t).length:1)}},5787:function(A,t,e){var r=e(7854),n=e(7976),i=r.TypeError;A.exports=function(A,t){if(n(t,A))return A;throw i("Incorrect invocation")}},9670:function(A,t,e){var r=e(7854),n=e(111),i=r.String,B=r.TypeError;A.exports=function(A){if(n(A))return A;throw B(i(A)+" is not an object")}},1048:function(A,t,e){"use strict";var r=e(7908),n=e(1400),i=e(6244),B=Math.min;A.exports=[].copyWithin||function(A,t){var e=r(this),s=i(e),o=n(A,s),g=n(t,s),a=arguments.length>2?arguments[2]:void 0,c=B((void 0===a?s:n(a,s))-g,s-o),E=1;for(g0;)g in e?e[o]=e[g]:delete e[o],o+=E,g+=E;return e}},1285:function(A,t,e){"use strict";var r=e(7908),n=e(1400),i=e(6244);A.exports=function(A){for(var t=r(this),e=i(t),B=arguments.length,s=n(B>1?arguments[1]:void 0,e),o=B>2?arguments[2]:void 0,g=void 0===o?e:n(o,e);g>s;)t[s++]=A;return t}},8533:function(A,t,e){"use strict";var r=e(2092).forEach,n=e(9341)("forEach");A.exports=n?[].forEach:function(A){return r(this,A,arguments.length>1?arguments[1]:void 0)}},7745:function(A){A.exports=function(A,t){for(var e=0,r=t.length,n=new A(r);r>e;)n[e]=t[e++];return n}},8457:function(A,t,e){"use strict";var r=e(7854),n=e(9974),i=e(6916),B=e(7908),s=e(3411),o=e(7659),g=e(4411),a=e(6244),c=e(6135),E=e(8554),w=e(1246),Q=r.Array;A.exports=function(A){var t=B(A),e=g(this),r=arguments.length,h=r>1?arguments[1]:void 0,l=void 0!==h;l&&(h=n(h,r>2?arguments[2]:void 0));var M,C,u,f,D,I,d=w(t),y=0;if(!d||this==Q&&o(d))for(M=a(t),C=e?new this(M):Q(M);M>y;y++)I=l?h(t[y],y):t[y],c(C,y,I);else for(D=(f=E(t,d)).next,C=e?new this:[];!(u=i(D,f)).done;y++)I=l?s(f,h,[u.value,y],!0):u.value,c(C,y,I);return C.length=y,C}},1318:function(A,t,e){var r=e(5656),n=e(1400),i=e(6244),B=function(A){return function(t,e,B){var s,o=r(t),g=i(o),a=n(B,g);if(A&&e!=e){for(;g>a;)if((s=o[a++])!=s)return!0}else for(;g>a;a++)if((A||a in o)&&o[a]===e)return A||a||0;return!A&&-1}};A.exports={includes:B(!0),indexOf:B(!1)}},2092:function(A,t,e){var r=e(9974),n=e(1702),i=e(8361),B=e(7908),s=e(6244),o=e(5417),g=n([].push),a=function(A){var t=1==A,e=2==A,n=3==A,a=4==A,c=6==A,E=7==A,w=5==A||c;return function(Q,h,l,M){for(var C,u,f=B(Q),D=i(f),I=r(h,l),d=s(D),y=0,F=M||o,Y=t?F(Q,d):e||E?F(Q,0):void 0;d>y;y++)if((w||y in D)&&(u=I(C=D[y],y,f),A))if(t)Y[y]=u;else if(u)switch(A){case 3:return!0;case 5:return C;case 6:return y;case 2:g(Y,C)}else switch(A){case 4:return!1;case 7:g(Y,C)}return c?-1:n||a?a:Y}};A.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}},6583:function(A,t,e){"use strict";var r=e(2104),n=e(5656),i=e(9303),B=e(6244),s=e(9341),o=Math.min,g=[].lastIndexOf,a=!!g&&1/[1].lastIndexOf(1,-0)<0,c=s("lastIndexOf"),E=a||!c;A.exports=E?function(A){if(a)return r(g,this,arguments)||0;var t=n(this),e=B(t),s=e-1;for(arguments.length>1&&(s=o(s,i(arguments[1]))),s<0&&(s=e+s);s>=0;s--)if(s in t&&t[s]===A)return s||0;return-1}:g},1194:function(A,t,e){var r=e(7293),n=e(5112),i=e(7392),B=n("species");A.exports=function(A){return i>=51||!r((function(){var t=[];return(t.constructor={})[B]=function(){return{foo:1}},1!==t[A](Boolean).foo}))}},9341:function(A,t,e){"use strict";var r=e(7293);A.exports=function(A,t){var e=[][A];return!!e&&r((function(){e.call(null,t||function(){throw 1},1)}))}},3671:function(A,t,e){var r=e(7854),n=e(9662),i=e(7908),B=e(8361),s=e(6244),o=r.TypeError,g=function(A){return function(t,e,r,g){n(e);var a=i(t),c=B(a),E=s(a),w=A?E-1:0,Q=A?-1:1;if(r<2)for(;;){if(w in c){g=c[w],w+=Q;break}if(w+=Q,A?w<0:E<=w)throw o("Reduce of empty array with no initial value")}for(;A?w>=0:E>w;w+=Q)w in c&&(g=e(g,c[w],w,a));return g}};A.exports={left:g(!1),right:g(!0)}},206:function(A,t,e){var r=e(1702);A.exports=r([].slice)},4362:function(A,t,e){var r=e(206),n=Math.floor,i=function(A,t){var e=A.length,o=n(e/2);return e<8?B(A,t):s(A,i(r(A,0,o),t),i(r(A,o),t),t)},B=function(A,t){for(var e,r,n=A.length,i=1;i0;)A[r]=A[--r];r!==i++&&(A[r]=e)}return A},s=function(A,t,e,r){for(var n=t.length,i=e.length,B=0,s=0;B1?arguments[1]:void 0);t=t?t.next:e.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(A){return!!C(this,A)}}),i(w,e?{get:function(A){var t=C(this,A);return t&&t.value},set:function(A,t){return M(this,0===A?0:A,t)}}:{add:function(A){return M(this,A=0===A?0:A,A)}}),c&&r(w,"size",{get:function(){return l(this).size}}),a},setStrong:function(A,t,e){var r=t+" Iterator",n=h(t),i=h(r);g(A,t,(function(A,t){Q(this,{type:r,target:A,state:n(A),kind:t,last:void 0})}),(function(){for(var A=i(this),t=A.kind,e=A.last;e&&e.removed;)e=e.previous;return A.target&&(A.last=e=e?e.next:A.state.first)?"keys"==t?{value:e.key,done:!1}:"values"==t?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(A.target=void 0,{value:void 0,done:!0})}),e?"entries":"values",!e,!0),a(t)}}},7710:function(A,t,e){"use strict";var r=e(2109),n=e(7854),i=e(1702),B=e(4705),s=e(1320),o=e(2423),g=e(408),a=e(5787),c=e(614),E=e(111),w=e(7293),Q=e(7072),h=e(8003),l=e(9587);A.exports=function(A,t,e){var M=-1!==A.indexOf("Map"),C=-1!==A.indexOf("Weak"),u=M?"set":"add",f=n[A],D=f&&f.prototype,I=f,d={},y=function(A){var t=i(D[A]);s(D,A,"add"==A?function(A){return t(this,0===A?0:A),this}:"delete"==A?function(A){return!(C&&!E(A))&&t(this,0===A?0:A)}:"get"==A?function(A){return C&&!E(A)?void 0:t(this,0===A?0:A)}:"has"==A?function(A){return!(C&&!E(A))&&t(this,0===A?0:A)}:function(A,e){return t(this,0===A?0:A,e),this})};if(B(A,!c(f)||!(C||D.forEach&&!w((function(){(new f).entries().next()})))))I=e.getConstructor(t,A,M,u),o.enable();else if(B(A,!0)){var F=new I,Y=F[u](C?{}:-0,1)!=F,p=w((function(){F.has(1)})),v=Q((function(A){new f(A)})),z=!C&&w((function(){for(var A=new f,t=5;t--;)A[u](t,t);return!A.has(-0)}));v||((I=t((function(A,t){a(A,D);var e=l(new f,A,I);return null!=t&&g(t,e[u],{that:e,AS_ENTRIES:M}),e}))).prototype=D,D.constructor=I),(p||z)&&(y("delete"),y("has"),M&&y("get")),(z||Y)&&y(u),C&&D.clear&&delete D.clear}return d[A]=I,r({global:!0,forced:I!=f},d),h(I,A),C||e.setStrong(I,A,M),I}},9920:function(A,t,e){var r=e(2597),n=e(3887),i=e(1236),B=e(3070);A.exports=function(A,t){for(var e=n(t),s=B.f,o=i.f,g=0;g"+o+""}},4994:function(A,t,e){"use strict";var r=e(3383).IteratorPrototype,n=e(30),i=e(9114),B=e(8003),s=e(7497),o=function(){return this};A.exports=function(A,t,e){var g=t+" Iterator";return A.prototype=n(r,{next:i(1,e)}),B(A,g,!1,!0),s[g]=o,A}},8880:function(A,t,e){var r=e(9781),n=e(3070),i=e(9114);A.exports=r?function(A,t,e){return n.f(A,t,i(1,e))}:function(A,t,e){return A[t]=e,A}},9114:function(A){A.exports=function(A,t){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:t}}},6135:function(A,t,e){"use strict";var r=e(4948),n=e(3070),i=e(9114);A.exports=function(A,t,e){var B=r(t);B in A?n.f(A,B,i(0,e)):A[B]=e}},8709:function(A,t,e){"use strict";var r=e(7854),n=e(9670),i=e(2140),B=r.TypeError;A.exports=function(A){if(n(this),"string"===A||"default"===A)A="string";else if("number"!==A)throw B("Incorrect hint");return i(this,A)}},654:function(A,t,e){"use strict";var r=e(2109),n=e(6916),i=e(1913),B=e(6530),s=e(614),o=e(4994),g=e(9518),a=e(7674),c=e(8003),E=e(8880),w=e(1320),Q=e(5112),h=e(7497),l=e(3383),M=B.PROPER,C=B.CONFIGURABLE,u=l.IteratorPrototype,f=l.BUGGY_SAFARI_ITERATORS,D=Q("iterator"),I="keys",d="values",y="entries",F=function(){return this};A.exports=function(A,t,e,B,Q,l,Y){o(e,t,B);var p,v,z,U=function(A){if(A===Q&&G)return G;if(!f&&A in b)return b[A];switch(A){case I:case d:case y:return function(){return new e(this,A)}}return function(){return new e(this)}},m=t+" Iterator",P=!1,b=A.prototype,N=b[D]||b["@@iterator"]||Q&&b[Q],G=!f&&N||U(Q),R="Array"==t&&b.entries||N;if(R&&(p=g(R.call(new A)))!==Object.prototype&&p.next&&(i||g(p)===u||(a?a(p,u):s(p[D])||w(p,D,F)),c(p,m,!0,!0),i&&(h[m]=F)),M&&Q==d&&N&&N.name!==d&&(!i&&C?E(b,"name",d):(P=!0,G=function(){return n(N,this)})),Q)if(v={values:U(d),keys:l?G:U(I),entries:U(y)},Y)for(z in v)(f||P||!(z in b))&&w(b,z,v[z]);else r({target:t,proto:!0,forced:f||P},v);return i&&!Y||b[D]===G||w(b,D,G,{name:Q}),h[t]=G,v}},7235:function(A,t,e){var r=e(857),n=e(2597),i=e(6061),B=e(3070).f;A.exports=function(A){var t=r.Symbol||(r.Symbol={});n(t,A)||B(t,A,{value:i.f(A)})}},9781:function(A,t,e){var r=e(7293);A.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(A,t,e){var r=e(7854),n=e(111),i=r.document,B=n(i)&&n(i.createElement);A.exports=function(A){return B?i.createElement(A):{}}},8324:function(A){A.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(A,t,e){var r=e(317)("span").classList,n=r&&r.constructor&&r.constructor.prototype;A.exports=n===Object.prototype?void 0:n},8886:function(A,t,e){var r=e(8113).match(/firefox\/(\d+)/i);A.exports=!!r&&+r[1]},7871:function(A){A.exports="object"==typeof window},256:function(A,t,e){var r=e(8113);A.exports=/MSIE|Trident/.test(r)},1528:function(A,t,e){var r=e(8113),n=e(7854);A.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==n.Pebble},6833:function(A,t,e){var r=e(8113);A.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:function(A,t,e){var r=e(4326),n=e(7854);A.exports="process"==r(n.process)},1036:function(A,t,e){var r=e(8113);A.exports=/web0s(?!.*chrome)/i.test(r)},8113:function(A,t,e){var r=e(5005);A.exports=r("navigator","userAgent")||""},7392:function(A,t,e){var r,n,i=e(7854),B=e(8113),s=i.process,o=i.Deno,g=s&&s.versions||o&&o.version,a=g&&g.v8;a&&(n=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&B&&(!(r=B.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=B.match(/Chrome\/(\d+)/))&&(n=+r[1]),A.exports=n},8008:function(A,t,e){var r=e(8113).match(/AppleWebKit\/(\d+)\./);A.exports=!!r&&+r[1]},748:function(A){A.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(A,t,e){var r=e(7293),n=e(9114);A.exports=!r((function(){var A=Error("a");return!("stack"in A)||(Object.defineProperty(A,"stack",n(1,7)),7!==A.stack)}))},2109:function(A,t,e){var r=e(7854),n=e(1236).f,i=e(8880),B=e(1320),s=e(3505),o=e(9920),g=e(4705);A.exports=function(A,t){var e,a,c,E,w,Q=A.target,h=A.global,l=A.stat;if(e=h?r:l?r[Q]||s(Q,{}):(r[Q]||{}).prototype)for(a in t){if(E=t[a],c=A.noTargetGet?(w=n(e,a))&&w.value:e[a],!g(h?a:Q+(l?".":"#")+a,A.forced)&&void 0!==c){if(typeof E==typeof c)continue;o(E,c)}(A.sham||c&&c.sham)&&i(E,"sham",!0),B(e,a,E,A)}}},7293:function(A){A.exports=function(A){try{return!!A()}catch(A){return!0}}},7007:function(A,t,e){"use strict";e(4916);var r=e(1702),n=e(1320),i=e(2261),B=e(7293),s=e(5112),o=e(8880),g=s("species"),a=RegExp.prototype;A.exports=function(A,t,e,c){var E=s(A),w=!B((function(){var t={};return t[E]=function(){return 7},7!=""[A](t)})),Q=w&&!B((function(){var t=!1,e=/a/;return"split"===A&&((e={}).constructor={},e.constructor[g]=function(){return e},e.flags="",e[E]=/./[E]),e.exec=function(){return t=!0,null},e[E](""),!t}));if(!w||!Q||e){var h=r(/./[E]),l=t(E,""[A],(function(A,t,e,n,B){var s=r(A),o=t.exec;return o===i||o===a.exec?w&&!B?{done:!0,value:h(t,e,n)}:{done:!0,value:s(e,t,n)}:{done:!1}}));n(String.prototype,A,l[0]),n(a,E,l[1])}c&&o(a[E],"sham",!0)}},6677:function(A,t,e){var r=e(7293);A.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(A){var t=Function.prototype,e=t.apply,r=t.bind,n=t.call;A.exports="object"==typeof Reflect&&Reflect.apply||(r?n.bind(e):function(){return n.apply(e,arguments)})},9974:function(A,t,e){var r=e(1702),n=e(9662),i=r(r.bind);A.exports=function(A,t){return n(A),void 0===t?A:i?i(A,t):function(){return A.apply(t,arguments)}}},7065:function(A,t,e){"use strict";var r=e(7854),n=e(1702),i=e(9662),B=e(111),s=e(2597),o=e(206),g=r.Function,a=n([].concat),c=n([].join),E={},w=function(A,t,e){if(!s(E,t)){for(var r=[],n=0;n]*>)/g,a=/\$([$&'`]|\d{1,2})/g;A.exports=function(A,t,e,r,c,E){var w=e+A.length,Q=r.length,h=a;return void 0!==c&&(c=n(c),h=g),s(E,h,(function(n,s){var g;switch(B(s,0)){case"$":return"$";case"&":return A;case"`":return o(t,0,e);case"'":return o(t,w);case"<":g=c[o(s,1,-1)];break;default:var a=+s;if(0===a)return n;if(a>Q){var E=i(a/10);return 0===E?n:E<=Q?void 0===r[E-1]?B(s,1):r[E-1]+B(s,1):n}g=r[a-1]}return void 0===g?"":g}))}},7854:function(A,t,e){var r=function(A){return A&&A.Math==Math&&A};A.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},2597:function(A,t,e){var r=e(1702),n=e(7908),i=r({}.hasOwnProperty);A.exports=Object.hasOwn||function(A,t){return i(n(A),t)}},3501:function(A){A.exports={}},842:function(A,t,e){var r=e(7854);A.exports=function(A,t){var e=r.console;e&&e.error&&(1==arguments.length?e.error(A):e.error(A,t))}},490:function(A,t,e){var r=e(5005);A.exports=r("document","documentElement")},4664:function(A,t,e){var r=e(9781),n=e(7293),i=e(317);A.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1179:function(A,t,e){var r=e(7854).Array,n=Math.abs,i=Math.pow,B=Math.floor,s=Math.log,o=Math.LN2;A.exports={pack:function(A,t,e){var g,a,c,E=r(e),w=8*e-t-1,Q=(1<>1,l=23===t?i(2,-24)-i(2,-77):0,M=A<0||0===A&&1/A<0?1:0,C=0;for((A=n(A))!=A||A===1/0?(a=A!=A?1:0,g=Q):(g=B(s(A)/o),A*(c=i(2,-g))<1&&(g--,c*=2),(A+=g+h>=1?l/c:l*i(2,1-h))*c>=2&&(g++,c/=2),g+h>=Q?(a=0,g=Q):g+h>=1?(a=(A*c-1)*i(2,t),g+=h):(a=A*i(2,h-1)*i(2,t),g=0));t>=8;E[C++]=255&a,a/=256,t-=8);for(g=g<0;E[C++]=255&g,g/=256,w-=8);return E[--C]|=128*M,E},unpack:function(A,t){var e,r=A.length,n=8*r-t-1,B=(1<>1,o=n-7,g=r-1,a=A[g--],c=127&a;for(a>>=7;o>0;c=256*c+A[g],g--,o-=8);for(e=c&(1<<-o)-1,c>>=-o,o+=t;o>0;e=256*e+A[g],g--,o-=8);if(0===c)c=1-s;else{if(c===B)return e?NaN:a?-1/0:1/0;e+=i(2,t),c-=s}return(a?-1:1)*e*i(2,c-t)}}},8361:function(A,t,e){var r=e(7854),n=e(1702),i=e(7293),B=e(4326),s=r.Object,o=n("".split);A.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(A){return"String"==B(A)?o(A,""):s(A)}:s},9587:function(A,t,e){var r=e(614),n=e(111),i=e(7674);A.exports=function(A,t,e){var B,s;return i&&r(B=t.constructor)&&B!==e&&n(s=B.prototype)&&s!==e.prototype&&i(A,s),A}},2788:function(A,t,e){var r=e(1702),n=e(614),i=e(5465),B=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(A){return B(A)}),A.exports=i.inspectSource},8340:function(A,t,e){var r=e(111),n=e(8880);A.exports=function(A,t){r(t)&&"cause"in t&&n(A,"cause",t.cause)}},2423:function(A,t,e){var r=e(2109),n=e(1702),i=e(3501),B=e(111),s=e(2597),o=e(3070).f,g=e(8006),a=e(1156),c=e(9711),E=e(6677),w=!1,Q=c("meta"),h=0,l=Object.isExtensible||function(){return!0},M=function(A){o(A,Q,{value:{objectID:"O"+h++,weakData:{}}})},C=A.exports={enable:function(){C.enable=function(){},w=!0;var A=g.f,t=n([].splice),e={};e[Q]=1,A(e).length&&(g.f=function(e){for(var r=A(e),n=0,i=r.length;nC;C++)if((f=z(A[C]))&&a(l,f))return f;return new h(!1)}r=c(A,M)}for(D=r.next;!(I=i(D,r)).done;){try{f=z(I.value)}catch(A){w(r,"throw",A)}if("object"==typeof f&&f&&a(l,f))return f}return new h(!1)}},9212:function(A,t,e){var r=e(6916),n=e(9670),i=e(8173);A.exports=function(A,t,e){var B,s;n(A);try{if(!(B=i(A,"return"))){if("throw"===t)throw e;return e}B=r(B,A)}catch(A){s=!0,B=A}if("throw"===t)throw e;if(s)throw B;return n(B),e}},3383:function(A,t,e){"use strict";var r,n,i,B=e(7293),s=e(614),o=e(30),g=e(9518),a=e(1320),c=e(5112),E=e(1913),w=c("iterator"),Q=!1;[].keys&&("next"in(i=[].keys())?(n=g(g(i)))!==Object.prototype&&(r=n):Q=!0),null==r||B((function(){var A={};return r[w].call(A)!==A}))?r={}:E&&(r=o(r)),s(r[w])||a(r,w,(function(){return this})),A.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:Q}},7497:function(A){A.exports={}},6244:function(A,t,e){var r=e(7466);A.exports=function(A){return r(A.length)}},5948:function(A,t,e){var r,n,i,B,s,o,g,a,c=e(7854),E=e(9974),w=e(1236).f,Q=e(261).set,h=e(6833),l=e(1528),M=e(1036),C=e(5268),u=c.MutationObserver||c.WebKitMutationObserver,f=c.document,D=c.process,I=c.Promise,d=w(c,"queueMicrotask"),y=d&&d.value;y||(r=function(){var A,t;for(C&&(A=D.domain)&&A.exit();n;){t=n.fn,n=n.next;try{t()}catch(A){throw n?B():i=void 0,A}}i=void 0,A&&A.enter()},h||C||M||!u||!f?!l&&I&&I.resolve?((g=I.resolve(void 0)).constructor=I,a=E(g.then,g),B=function(){a(r)}):C?B=function(){D.nextTick(r)}:(Q=E(Q,c),B=function(){Q(r)}):(s=!0,o=f.createTextNode(""),new u(r).observe(o,{characterData:!0}),B=function(){o.data=s=!s})),A.exports=y||function(A){var t={fn:A,next:void 0};i&&(i.next=t),n||(n=t,B()),i=t}},3366:function(A,t,e){var r=e(7854);A.exports=r.Promise},133:function(A,t,e){var r=e(7392),n=e(7293);A.exports=!!Object.getOwnPropertySymbols&&!n((function(){var A=Symbol();return!String(A)||!(Object(A)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(A,t,e){var r=e(7854),n=e(614),i=e(2788),B=r.WeakMap;A.exports=n(B)&&/native code/.test(i(B))},8523:function(A,t,e){"use strict";var r=e(9662),n=function(A){var t,e;this.promise=new A((function(A,r){if(void 0!==t||void 0!==e)throw TypeError("Bad Promise constructor");t=A,e=r})),this.resolve=r(t),this.reject=r(e)};A.exports.f=function(A){return new n(A)}},6277:function(A,t,e){var r=e(1340);A.exports=function(A,t){return void 0===A?arguments.length<2?"":t:r(A)}},3929:function(A,t,e){var r=e(7854),n=e(7850),i=r.TypeError;A.exports=function(A){if(n(A))throw i("The method doesn't accept regular expressions");return A}},7023:function(A,t,e){var r=e(7854).isFinite;A.exports=Number.isFinite||function(A){return"number"==typeof A&&r(A)}},1574:function(A,t,e){"use strict";var r=e(9781),n=e(1702),i=e(6916),B=e(7293),s=e(1956),o=e(5181),g=e(5296),a=e(7908),c=e(8361),E=Object.assign,w=Object.defineProperty,Q=n([].concat);A.exports=!E||B((function(){if(r&&1!==E({b:1},E(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},t={},e=Symbol(),n="abcdefghijklmnopqrst";return A[e]=7,n.split("").forEach((function(A){t[A]=A})),7!=E({},A)[e]||s(E({},t)).join("")!=n}))?function(A,t){for(var e=a(A),n=arguments.length,B=1,E=o.f,w=g.f;n>B;)for(var h,l=c(arguments[B++]),M=E?Q(s(l),E(l)):s(l),C=M.length,u=0;C>u;)h=M[u++],r&&!i(w,l,h)||(e[h]=l[h]);return e}:E},30:function(A,t,e){var r,n=e(9670),i=e(6048),B=e(748),s=e(3501),o=e(490),g=e(317),a=e(6200),c=a("IE_PROTO"),E=function(){},w=function(A){return"