var r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:global;var i={}; /*! pdfmake v0.2.5, @license MIT, @link http://pdfmake.org */(function webpackUniversalModuleDefinition(r,o){i=o()})("undefined"!==typeof self&&self,(function(){return function(){var i={9282:function(i,o,u){var p=u(4155);function _typeof(r){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(r){return typeof r}:function _typeof(r){return r&&"function"===typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};return _typeof(r)}function _classCallCheck(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var g=u(2136),y=g.codes,w=y.ERR_AMBIGUOUS_ARGUMENT,_=y.ERR_INVALID_ARG_TYPE,x=y.ERR_INVALID_ARG_VALUE,k=y.ERR_INVALID_RETURN_VALUE,P=y.ERR_MISSING_ARGS;var I=u(5961);var O=u(9539),B=O.inspect;var R=u(9539).types,D=R.isPromise,N=R.isRegExp;var W=Object.assign?Object.assign:u(8091).assign;var U=Object.is?Object.is:u(609);new Map;var j;var G;function lazyLoadComparison(){var r=u(9158);j=r.isDeepEqual;G=r.isDeepStrictEqual}var X=false;var K=i.exports=ok;var Y={};function innerFail(r){if(r.message instanceof Error)throw r.message;throw new I(r)}function fail(r,i,o,u,g){var y=arguments.length;var w;if(0===y)w="Failed";else if(1===y){o=r;r=void 0}else{if(false===X){X=true;var _=p.emitWarning?p.emitWarning:console.warn.bind(console);_("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===y&&(u="!=")}if(o instanceof Error)throw o;var x={actual:r,expected:i,operator:void 0===u?"fail":u,stackStartFn:g||fail};void 0!==o&&(x.message=o);var k=new I(x);if(w){k.message=w;k.generatedMessage=true}throw k}K.fail=fail;K.AssertionError=I;function innerOk(r,i,o,u){if(!o){var p=false;if(0===i){p=true;u="No value argument passed to `assert.ok()`"}else if(u instanceof Error)throw u;var g=new I({actual:o,expected:true,message:u,operator:"==",stackStartFn:r});g.generatedMessage=p;throw g}}function ok(){for(var r=arguments.length,i=new Array(r),o=0;o1?i-1:0),u=1;u1?i-1:0),u=1;u1?i-1:0),u=1;u1?i-1:0),u=1;ur.length)&&(o=r.length);return r.substring(o-i.length,o)===i}function repeat(r,i){i=Math.floor(i);if(0==r.length||0==i)return"";var o=r.length*i;i=Math.floor(Math.log(i)/Math.log(2));while(i){r+=r;i--}r+=r.substring(0,o-r.length);return r}var x="";var k="";var P="";var I="";var O={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:"};var B=10;function copyError(r){var i=Object.keys(r);var o=Object.create(Object.getPrototypeOf(r));i.forEach((function(i){o[i]=r[i]}));Object.defineProperty(o,"message",{value:r.message});return o}function inspectValue(r){return y(r,{compact:false,customInspect:false,depth:1e3,maxArrayLength:Infinity,showHidden:false,breakLength:Infinity,showProxy:false,sorted:true,getters:true})}function createErrDiff(r,i,o){var u="";var g="";var y=0;var w="";var _=false;var R=inspectValue(r);var D=R.split("\n");var N=inspectValue(i).split("\n");var W=0;var U="";"strictEqual"===o&&"object"===_typeof(r)&&"object"===_typeof(i)&&null!==r&&null!==i&&(o="strictEqualObject");if(1===D.length&&1===N.length&&D[0]!==N[0]){var j=D[0].length+N[0].length;if(j<=B){if(("object"!==_typeof(r)||null===r)&&("object"!==_typeof(i)||null===i)&&(0!==r||0!==i))return"".concat(O[o],"\n\n")+"".concat(D[0]," !== ").concat(N[0],"\n")}else if("strictEqualObject"!==o){var G=p.stderr&&p.stderr.isTTY?p.stderr.columns:80;if(j2){U="\n ".concat(repeat(" ",W),"^");W=0}}}}var X=D[D.length-1];var K=N[N.length-1];while(X===K){W++<2?w="\n ".concat(X).concat(w):u=X;D.pop();N.pop();if(0===D.length||0===N.length)break;X=D[D.length-1];K=N[N.length-1]}var Y=Math.max(D.length,N.length);if(0===Y){var J=R.split("\n");if(J.length>30){J[26]="".concat(x,"...").concat(I);while(J.length>27)J.pop()}return"".concat(O.notIdentical,"\n\n").concat(J.join("\n"),"\n")}if(W>3){w="\n".concat(x,"...").concat(I).concat(w);_=true}if(""!==u){w="\n ".concat(u).concat(w);u=""}var $=0;var ee=O[o]+"\n".concat(k,"+ actual").concat(I," ").concat(P,"- expected").concat(I);var te=" ".concat(x,"...").concat(I," Lines skipped");for(W=0;W1&&W>2){if(re>4){g+="\n".concat(x,"...").concat(I);_=true}else if(re>3){g+="\n ".concat(N[W-2]);$++}g+="\n ".concat(N[W-1]);$++}y=W;u+="\n".concat(P,"-").concat(I," ").concat(N[W]);$++}else if(N.length1&&W>2){if(re>4){g+="\n".concat(x,"...").concat(I);_=true}else if(re>3){g+="\n ".concat(D[W-2]);$++}g+="\n ".concat(D[W-1]);$++}y=W;g+="\n".concat(k,"+").concat(I," ").concat(D[W]);$++}else{var ne=N[W];var ae=D[W];var ie=ae!==ne&&(!endsWith(ae,",")||ae.slice(0,-1)!==ne);if(ie&&endsWith(ne,",")&&ne.slice(0,-1)===ae){ie=false;ae+=","}if(ie){if(re>1&&W>2){if(re>4){g+="\n".concat(x,"...").concat(I);_=true}else if(re>3){g+="\n ".concat(D[W-2]);$++}g+="\n ".concat(D[W-1]);$++}y=W;g+="\n".concat(k,"+").concat(I," ").concat(ae);u+="\n".concat(P,"-").concat(I," ").concat(ne);$+=2}else{g+=u;u="";if(1===re||0===W){g+="\n ".concat(ae);$++}}}if($>20&&W30){N[26]="".concat(x,"...").concat(I);while(N.length>27)N.pop()}o=1===N.length?_possibleConstructorReturn(this||r,_getPrototypeOf(AssertionError).call(this||r,"".concat(D," ").concat(N[0]))):_possibleConstructorReturn(this||r,_getPrototypeOf(AssertionError).call(this||r,"".concat(D,"\n\n").concat(N.join("\n"),"\n")))}else{var W=inspectValue(w);var U="";var j=O[g];if("notDeepEqual"===g||"notEqual"===g){W="".concat(O[g],"\n\n").concat(W);W.length>1024&&(W="".concat(W.slice(0,1021),"..."))}else{U="".concat(inspectValue(B));W.length>512&&(W="".concat(W.slice(0,509),"..."));U.length>512&&(U="".concat(U.slice(0,509),"..."));"deepEqual"===g||"equal"===g?W="".concat(j,"\n\n").concat(W,"\n\nshould equal\n\n"):U=" ".concat(g," ").concat(U)}o=_possibleConstructorReturn(this||r,_getPrototypeOf(AssertionError).call(this||r,"".concat(W).concat(U)))}}Error.stackTraceLimit=R;o.generatedMessage=!u;Object.defineProperty(_assertThisInitialized(o),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:false,writable:true,configurable:true});o.code="ERR_ASSERTION";o.actual=w;o.expected=B;o.operator=g;Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(o),y);o.stack;o.name="AssertionError";return _possibleConstructorReturn(o)}_createClass(AssertionError,[{key:"toString",value:function toString(){return"".concat((this||r).name," [").concat((this||r).code,"]: ").concat((this||r).message)}},{key:y.custom,value:function value(i,o){return y(this||r,_objectSpread({},o,{customInspect:false,depth:0}))}}]);return AssertionError}(_wrapNativeSuper(Error));i.exports=R},2136:function(i,o,u){function _typeof(r){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(r){return typeof r}:function _typeof(r){return r&&"function"===typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};return _typeof(r)}function _classCallCheck(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(r,i){return!i||"object"!==_typeof(i)&&"function"!==typeof i?_assertThisInitialized(r):i}function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function _getPrototypeOf(r){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)};return _getPrototypeOf(r)}function _inherits(r,i){if("function"!==typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,writable:true,configurable:true}});i&&_setPrototypeOf(r,i)}function _setPrototypeOf(r,i){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(r,i){r.__proto__=i;return r};return _setPrototypeOf(r,i)}var p={};var g;var y;function createErrorType(i,o,u){u||(u=Error);function getMessage(r,i,u){return"string"===typeof o?o:o(r,i,u)}var g=function(o){_inherits(NodeError,o);function NodeError(o,u,p){var g;_classCallCheck(this||r,NodeError);g=_possibleConstructorReturn(this||r,_getPrototypeOf(NodeError).call(this||r,getMessage(o,u,p)));g.code=i;return g}return NodeError}(u);p[i]=g}function oneOf(r,i){if(Array.isArray(r)){var o=r.length;r=r.map((function(r){return String(r)}));return o>2?"one of ".concat(i," ").concat(r.slice(0,o-1).join(", "),", or ")+r[o-1]:2===o?"one of ".concat(i," ").concat(r[0]," or ").concat(r[1]):"of ".concat(i," ").concat(r[0])}return"of ".concat(i," ").concat(String(r))}function startsWith(r,i,o){return r.substr(!o||o<0?0:+o,i.length)===i}function endsWith(r,i,o){(void 0===o||o>r.length)&&(o=r.length);return r.substring(o-i.length,o)===i}function includes(r,i,o){"number"!==typeof o&&(o=0);return!(o+i.length>r.length)&&-1!==r.indexOf(i,o)}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(r,i,o){void 0===g&&(g=u(9282));g("string"===typeof r,"'name' must be a string");var p;if("string"===typeof i&&startsWith(i,"not ")){p="must not be";i=i.replace(/^not /,"")}else p="must be";var y;if(endsWith(r," argument"))y="The ".concat(r," ").concat(p," ").concat(oneOf(i,"type"));else{var w=includes(r,".")?"property":"argument";y='The "'.concat(r,'" ').concat(w," ").concat(p," ").concat(oneOf(i,"type"))}y+=". Received type ".concat(_typeof(o));return y}),TypeError);createErrorType("ERR_INVALID_ARG_VALUE",(function(r,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===y&&(y=u(9539));var p=y.inspect(i);p.length>128&&(p="".concat(p.slice(0,128),"..."));return"The argument '".concat(r,"' ").concat(o,". Received ").concat(p)}),TypeError,RangeError);createErrorType("ERR_INVALID_RETURN_VALUE",(function(r,i,o){var u;u=o&&o.constructor&&o.constructor.name?"instance of ".concat(o.constructor.name):"type ".concat(_typeof(o));return"Expected ".concat(r,' to be returned from the "').concat(i,'"')+" function but got ".concat(u,".")}),TypeError);createErrorType("ERR_MISSING_ARGS",(function(){for(var r=arguments.length,i=new Array(r),o=0;o0,"At least one arg needs to be specified");var p="The ";var y=i.length;i=i.map((function(r){return'"'.concat(r,'"')}));switch(y){case 1:p+="".concat(i[0]," argument");break;case 2:p+="".concat(i[0]," and ").concat(i[1]," arguments");break;default:p+=i.slice(0,y-1).join(", ");p+=", and ".concat(i[y-1]," arguments");break}return"".concat(p," must be specified")}),TypeError);i.exports.codes=p},9158:function(r,i,o){function _slicedToArray(r,i){return _arrayWithHoles(r)||_iterableToArrayLimit(r,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(r,i){var o=[];var u=true;var p=false;var g=void 0;try{for(var y,w=r[Symbol.iterator]();!(u=(y=w.next()).done);u=true){o.push(y.value);if(i&&o.length===i)break}}catch(r){p=true;g=r}finally{try{u||null==w.return||w.return()}finally{if(p)throw g}}return o}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _typeof(r){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(r){return typeof r}:function _typeof(r){return r&&"function"===typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};return _typeof(r)}var u=void 0!==/a/g.flags;var p=function arrayFromSet(r){var i=[];r.forEach((function(r){return i.push(r)}));return i};var g=function arrayFromMap(r){var i=[];r.forEach((function(r,o){return i.push([o,r])}));return i};var y=Object.is?Object.is:o(609);var w=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]};var _=Number.isNaN?Number.isNaN:o(360);function uncurryThis(r){return r.call.bind(r)}var x=uncurryThis(Object.prototype.hasOwnProperty);var k=uncurryThis(Object.prototype.propertyIsEnumerable);var P=uncurryThis(Object.prototype.toString);var I=o(9539).types,O=I.isAnyArrayBuffer,B=I.isArrayBufferView,R=I.isDate,D=I.isMap,N=I.isRegExp,W=I.isSet,U=I.isNativeError,j=I.isBoxedPrimitive,G=I.isNumberObject,X=I.isStringObject,K=I.isBooleanObject,Y=I.isBigIntObject,J=I.isSymbolObject,$=I.isFloat32Array,ee=I.isFloat64Array;function isNonIndex(r){if(0===r.length||r.length>10)return true;for(var i=0;i57)return true}return 10===r.length&&r>=Math.pow(2,32)}function getOwnNonIndexProperties(r){return Object.keys(r).filter(isNonIndex).concat(w(r).filter(Object.prototype.propertyIsEnumerable.bind(r)))} /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */function compare(r,i){if(r===i)return 0;var o=r.length;var u=i.length;for(var p=0,g=Math.min(o,u);p=r.length?{done:true}:{done:false,value:r[u++]}}}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 _unsupportedIterableToArray(r,i){if(r){if("string"===typeof r)return _arrayLikeToArray(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);"Object"===o&&r.constructor&&(o=r.constructor.name);return"Map"===o||"Set"===o?Array.from(r):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(r,i):void 0}}function _arrayLikeToArray(r,i){(null==i||i>r.length)&&(i=r.length);for(var o=0,u=new Array(i);o(this||r).buffer.length)return this.flush()};o.flush=function flush(){if((this||r).bufferOffset>0){this.push(p.from((this||r).buffer.slice(0,(this||r).bufferOffset)));return(this||r).bufferOffset=0}};o.writeBuffer=function writeBuffer(i){this.flush();this.push(i);return(this||r).pos+=i.length};o.writeString=function writeString(r,i){void 0===i&&(i="ascii");switch(i){case"utf16le":case"ucs2":case"utf8":case"ascii":return this.writeBuffer(p.from(r,i));case"utf16be":var o=p.from(r,"utf16le");for(var u=0,y=o.length-1;u>>16&255;(this||r).buffer[(this||r).bufferOffset++]=i>>>8&255;(this||r).buffer[(this||r).bufferOffset++]=255&i;return(this||r).pos+=3};o.writeUInt24LE=function writeUInt24LE(i){this.ensure(3);(this||r).buffer[(this||r).bufferOffset++]=255&i;(this||r).buffer[(this||r).bufferOffset++]=i>>>8&255;(this||r).buffer[(this||r).bufferOffset++]=i>>>16&255;return(this||r).pos+=3};o.writeInt24BE=function writeInt24BE(r){return r>=0?this.writeUInt24BE(r):this.writeUInt24BE(r+16777215+1)};o.writeInt24LE=function writeInt24LE(r){return r>=0?this.writeUInt24LE(r):this.writeUInt24LE(r+16777215+1)};o.fill=function fill(i,o){if(o<(this||r).buffer.length){this.ensure(o);(this||r).buffer.fill(i,(this||r).bufferOffset,(this||r).bufferOffset+o);(this||r).bufferOffset+=o;return(this||r).pos+=o}var u=p.alloc(o);u.fill(i);return this.writeBuffer(u)};o.end=function end(){this.flush();return this.push(null)};return EncodeStream}(y.Readable);var x=function _loop(i){if("write"===i.slice(0,5)){var o=+w.TYPES[i.replace(/write|[BL]E/g,"")];_.prototype[i]=function(u){this.ensure(o);(this||r).buffer[i](u,(this||r).bufferOffset);(this||r).bufferOffset+=o;return(this||r).pos+=o}}};for(var k in p.prototype)x(k);i.exports=_},3100:function(i){var o=function(){function Enum(i,o){void 0===o&&(o=[]);(this||r).type=i;(this||r).options=o}var i=Enum.prototype;i.decode=function decode(i){var o=(this||r).type.decode(i);return(this||r).options[o]||o};i.size=function size(){return(this||r).type.size()};i.encode=function encode(i,o){var u=(this||r).options.indexOf(o);if(-1===u)throw new Error("Unknown option in enum: "+o);return(this||r).type.encode(i,u)};return Enum}();i.exports=o},6768:function(i,o,u){u(1539);u(8674);function _inheritsLoose(r,i){r.prototype=Object.create(i.prototype);r.prototype.constructor=r;_setPrototypeOf(r,i)}function _setPrototypeOf(r,i){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(r,i){r.__proto__=i;return r};return _setPrototypeOf(r,i)}var p=u(1988);var g=u(6462),y=g.Number;var w=u(6610);var _=u(9539),x=_.inspect;var k=function(i){_inheritsLoose(LazyArrayT,i);function LazyArrayT(){return i.apply(this||r,arguments)||this||r}var o=LazyArrayT.prototype;o.decode=function decode(i,o){var u=i.pos;var p=w.resolveLength((this||r).length,i,o);(this||r).length instanceof y&&(o={parent:o,_startOffset:u,_currentOffset:0,_length:p});var g=new P((this||r).type,p,i,o);i.pos+=p*(this||r).type.size(null,o);return g};o.size=function size(o,u){o instanceof P&&(o=o.toArray());return i.prototype.size.call(this||r,o,u)};o.encode=function encode(o,u,p){u instanceof P&&(u=u.toArray());return i.prototype.encode.call(this||r,o,u,p)};return LazyArrayT}(p);var P=function(){function LazyArray(i,o,u,p){(this||r).type=i;(this||r).length=o;(this||r).stream=u;(this||r).ctx=p;(this||r).base=(this||r).stream.pos;(this||r).items=[]}var i=LazyArray.prototype;i.get=function get(i){if(!(i<0||i>=(this||r).length)){if(null==(this||r).items[i]){var o=(this||r).stream.pos;(this||r).stream.pos=(this||r).base+(this||r).type.size(null,(this||r).ctx)*i;(this||r).items[i]=(this||r).type.decode((this||r).stream,(this||r).ctx);(this||r).stream.pos=o}return(this||r).items[i]}};i.toArray=function toArray(){var i=[];for(var o=0,u=(this||r).length;o>1);g=i.call(this||r,"Int"+o,u)||this||r;g._point=1< * @license MIT */ u(2526);u(1817);u(1539);u(6992);u(2472);u(2990);u(8927);u(3105);u(5035);u(4345);u(7174);u(2846);u(4731);u(7209);u(6319);u(8867);u(7789);u(3739);u(9368);u(4483);u(2056);u(3462);u(678);u(7462);u(3824);u(5021);u(2974);u(5016);u(7803);u(6649);u(6078);u(3290);u(7042);u(2222);u(9714);u(3210);u(4916);u(5306);u(6699);u(2023);u(9653);u(3753);u(545);u(8309);u(3161);u(3123);function _defineProperties(r,i){for(var o=0;ow)throw new RangeError('The value "'+r+'" is invalid for option "size"');var i=new Uint8Array(r);Object.setPrototypeOf(i,Buffer.prototype);return i}function Buffer(r,i,o){if("number"===typeof r){if("string"===typeof i)throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(r)}return from(r,i,o)}Buffer.poolSize=8192;function from(r,i,o){if("string"===typeof r)return fromString(r,i);if(ArrayBuffer.isView(r))return fromArrayView(r);if(null==r)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(isInstance(r,ArrayBuffer)||r&&isInstance(r.buffer,ArrayBuffer))return fromArrayBuffer(r,i,o);if("undefined"!==typeof SharedArrayBuffer&&(isInstance(r,SharedArrayBuffer)||r&&isInstance(r.buffer,SharedArrayBuffer)))return fromArrayBuffer(r,i,o);if("number"===typeof r)throw new TypeError('The "value" argument must not be of type number. Received type number');var u=r.valueOf&&r.valueOf();if(null!=u&&u!==r)return Buffer.from(u,i,o);var p=fromObject(r);if(p)return p;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof r[Symbol.toPrimitive])return Buffer.from(r[Symbol.toPrimitive]("string"),i,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}Buffer.from=function(r,i,o){return from(r,i,o)};Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype);Object.setPrototypeOf(Buffer,Uint8Array);function assertSize(r){if("number"!==typeof r)throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function alloc(r,i,o){assertSize(r);return r<=0?createBuffer(r):void 0!==i?"string"===typeof o?createBuffer(r).fill(i,o):createBuffer(r).fill(i):createBuffer(r)}Buffer.alloc=function(r,i,o){return alloc(r,i,o)};function allocUnsafe(r){assertSize(r);return createBuffer(r<0?0:0|checked(r))}Buffer.allocUnsafe=function(r){return allocUnsafe(r)};Buffer.allocUnsafeSlow=function(r){return allocUnsafe(r)};function fromString(r,i){"string"===typeof i&&""!==i||(i="utf8");if(!Buffer.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var o=0|byteLength(r,i);var u=createBuffer(o);var p=u.write(r,i);p!==o&&(u=u.slice(0,p));return u}function fromArrayLike(r){var i=r.length<0?0:0|checked(r.length);var o=createBuffer(i);for(var u=0;u=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|r}function SlowBuffer(r){+r!=r&&(r=0);return Buffer.alloc(+r)}Buffer.isBuffer=function isBuffer(r){return null!=r&&true===r._isBuffer&&r!==Buffer.prototype};Buffer.compare=function compare(r,i){isInstance(r,Uint8Array)&&(r=Buffer.from(r,r.offset,r.byteLength));isInstance(i,Uint8Array)&&(i=Buffer.from(i,i.offset,i.byteLength));if(!Buffer.isBuffer(r)||!Buffer.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===i)return 0;var o=r.length;var u=i.length;for(var p=0,g=Math.min(o,u);pu.length){Buffer.isBuffer(g)||(g=Buffer.from(g));g.copy(u,p)}else Uint8Array.prototype.set.call(u,g,p);else{if(!Buffer.isBuffer(g))throw new TypeError('"list" argument must be an Array of Buffers');g.copy(u,p)}p+=g.length}return u};function byteLength(r,i){if(Buffer.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||isInstance(r,ArrayBuffer))return r.byteLength;if("string"!==typeof r)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var o=r.length;var u=arguments.length>2&&true===arguments[2];if(!u&&0===o)return 0;var p=false;for(;;)switch(i){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return utf8ToBytes(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return base64ToBytes(r).length;default:if(p)return u?-1:utf8ToBytes(r).length;i=(""+i).toLowerCase();p=true}}Buffer.byteLength=byteLength;function slowToString(i,o,u){var p=false;(void 0===o||o<0)&&(o=0);if(o>(this||r).length)return"";(void 0===u||u>(this||r).length)&&(u=(this||r).length);if(u<=0)return"";u>>>=0;o>>>=0;if(u<=o)return"";i||(i="utf8");while(true)switch(i){case"hex":return hexSlice(this||r,o,u);case"utf8":case"utf-8":return utf8Slice(this||r,o,u);case"ascii":return asciiSlice(this||r,o,u);case"latin1":case"binary":return latin1Slice(this||r,o,u);case"base64":return base64Slice(this||r,o,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this||r,o,u);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase();p=true}}Buffer.prototype._isBuffer=true;function swap(r,i,o){var u=r[i];r[i]=r[o];r[o]=u}Buffer.prototype.swap16=function swap16(){var i=(this||r).length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var o=0;ou&&(i+=" ... ");return""};y&&(Buffer.prototype[y]=Buffer.prototype.inspect);Buffer.prototype.compare=function compare(i,o,u,p,g){isInstance(i,Uint8Array)&&(i=Buffer.from(i,i.offset,i.byteLength));if(!Buffer.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);void 0===o&&(o=0);void 0===u&&(u=i?i.length:0);void 0===p&&(p=0);void 0===g&&(g=(this||r).length);if(o<0||u>i.length||p<0||g>(this||r).length)throw new RangeError("out of range index");if(p>=g&&o>=u)return 0;if(p>=g)return-1;if(o>=u)return 1;o>>>=0;u>>>=0;p>>>=0;g>>>=0;if((this||r)===i)return 0;var y=g-p;var w=u-o;var _=Math.min(y,w);var x=this.slice(p,g);var k=i.slice(o,u);for(var P=0;P<_;++P)if(x[P]!==k[P]){y=x[P];w=k[P];break}return y2147483647?o=2147483647:o<-2147483648&&(o=-2147483648);o=+o;numberIsNaN(o)&&(o=p?0:r.length-1);o<0&&(o=r.length+o);if(o>=r.length){if(p)return-1;o=r.length-1}else if(o<0){if(!p)return-1;o=0}"string"===typeof i&&(i=Buffer.from(i,u));if(Buffer.isBuffer(i))return 0===i.length?-1:arrayIndexOf(r,i,o,u,p);if("number"===typeof i){i&=255;return"function"===typeof Uint8Array.prototype.indexOf?p?Uint8Array.prototype.indexOf.call(r,i,o):Uint8Array.prototype.lastIndexOf.call(r,i,o):arrayIndexOf(r,[i],o,u,p)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(r,i,o,u,p){var g=1;var y=r.length;var w=i.length;if(void 0!==u){u=String(u).toLowerCase();if("ucs2"===u||"ucs-2"===u||"utf16le"===u||"utf-16le"===u){if(r.length<2||i.length<2)return-1;g=2;y/=2;w/=2;o/=2}}function read(r,i){return 1===g?r[i]:r.readUInt16BE(i*g)}var _;if(p){var x=-1;for(_=o;_y&&(o=y-w);for(_=o;_>=0;_--){var k=true;for(var P=0;Pp&&(u=p)}else u=p;var g=i.length;u>g/2&&(u=g/2);var y;for(y=0;y>>=0;if(isFinite(u)){u>>>=0;void 0===p&&(p="utf8")}else{p=u;u=void 0}}var g=(this||r).length-o;(void 0===u||u>g)&&(u=g);if(i.length>0&&(u<0||o<0)||o>(this||r).length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");var y=false;for(;;)switch(p){case"hex":return hexWrite(this||r,i,o,u);case"utf8":case"utf-8":return utf8Write(this||r,i,o,u);case"ascii":case"latin1":case"binary":return asciiWrite(this||r,i,o,u);case"base64":return base64Write(this||r,i,o,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this||r,i,o,u);default:if(y)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase();y=true}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call((this||r)._arr||this||r,0)}};function base64Slice(r,i,o){return 0===i&&o===r.length?p.fromByteArray(r):p.fromByteArray(r.slice(i,o))}function utf8Slice(r,i,o){o=Math.min(r.length,o);var u=[];var p=i;while(p239?4:g>223?3:g>191?2:1;if(p+w<=o){var _=void 0,x=void 0,k=void 0,P=void 0;switch(w){case 1:g<128&&(y=g);break;case 2:_=r[p+1];if(128===(192&_)){P=(31&g)<<6|63&_;P>127&&(y=P)}break;case 3:_=r[p+1];x=r[p+2];if(128===(192&_)&&128===(192&x)){P=(15&g)<<12|(63&_)<<6|63&x;P>2047&&(P<55296||P>57343)&&(y=P)}break;case 4:_=r[p+1];x=r[p+2];k=r[p+3];if(128===(192&_)&&128===(192&x)&&128===(192&k)){P=(15&g)<<18|(63&_)<<12|(63&x)<<6|63&k;P>65535&&P<1114112&&(y=P)}}}if(null===y){y=65533;w=1}else if(y>65535){y-=65536;u.push(y>>>10&1023|55296);y=56320|1023&y}u.push(y);p+=w}return decodeCodePointsArray(u)}var _=4096;function decodeCodePointsArray(r){var i=r.length;if(i<=_)return String.fromCharCode.apply(String,r);var o="";var u=0;while(uu)&&(o=u);var p="";for(var g=i;gu&&(i=u);if(o<0){o+=u;o<0&&(o=0)}else o>u&&(o=u);oo)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function readUIntLE(i,o,u){i>>>=0;o>>>=0;u||checkOffset(i,o,(this||r).length);var p=(this||r)[i];var g=1;var y=0;while(++y>>=0;o>>>=0;u||checkOffset(i,o,(this||r).length);var p=(this||r)[i+--o];var g=1;while(o>0&&(g*=256))p+=(this||r)[i+--o]*g;return p};Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(i,o){i>>>=0;o||checkOffset(i,1,(this||r).length);return(this||r)[i]};Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(i,o){i>>>=0;o||checkOffset(i,2,(this||r).length);return(this||r)[i]|(this||r)[i+1]<<8};Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(i,o){i>>>=0;o||checkOffset(i,2,(this||r).length);return(this||r)[i]<<8|(this||r)[i+1]};Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(i,o){i>>>=0;o||checkOffset(i,4,(this||r).length);return((this||r)[i]|(this||r)[i+1]<<8|(this||r)[i+2]<<16)+16777216*(this||r)[i+3]};Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(i,o){i>>>=0;o||checkOffset(i,4,(this||r).length);return 16777216*(this||r)[i]+((this||r)[i+1]<<16|(this||r)[i+2]<<8|(this||r)[i+3])};Buffer.prototype.readBigUInt64LE=defineBigIntMethod((function readBigUInt64LE(i){i>>>=0;validateNumber(i,"offset");var o=(this||r)[i];var u=(this||r)[i+7];void 0!==o&&void 0!==u||boundsError(i,(this||r).length-8);var p=o+(this||r)[++i]*Math.pow(2,8)+(this||r)[++i]*Math.pow(2,16)+(this||r)[++i]*Math.pow(2,24);var g=(this||r)[++i]+(this||r)[++i]*Math.pow(2,8)+(this||r)[++i]*Math.pow(2,16)+u*Math.pow(2,24);return BigInt(p)+(BigInt(g)<>>=0;validateNumber(i,"offset");var o=(this||r)[i];var u=(this||r)[i+7];void 0!==o&&void 0!==u||boundsError(i,(this||r).length-8);var p=o*Math.pow(2,24)+(this||r)[++i]*Math.pow(2,16)+(this||r)[++i]*Math.pow(2,8)+(this||r)[++i];var g=(this||r)[++i]*Math.pow(2,24)+(this||r)[++i]*Math.pow(2,16)+(this||r)[++i]*Math.pow(2,8)+u;return(BigInt(p)<>>=0;o>>>=0;u||checkOffset(i,o,(this||r).length);var p=(this||r)[i];var g=1;var y=0;while(++y=g&&(p-=Math.pow(2,8*o));return p};Buffer.prototype.readIntBE=function readIntBE(i,o,u){i>>>=0;o>>>=0;u||checkOffset(i,o,(this||r).length);var p=o;var g=1;var y=(this||r)[i+--p];while(p>0&&(g*=256))y+=(this||r)[i+--p]*g;g*=128;y>=g&&(y-=Math.pow(2,8*o));return y};Buffer.prototype.readInt8=function readInt8(i,o){i>>>=0;o||checkOffset(i,1,(this||r).length);return 128&(this||r)[i]?-1*(255-(this||r)[i]+1):(this||r)[i]};Buffer.prototype.readInt16LE=function readInt16LE(i,o){i>>>=0;o||checkOffset(i,2,(this||r).length);var u=(this||r)[i]|(this||r)[i+1]<<8;return 32768&u?4294901760|u:u};Buffer.prototype.readInt16BE=function readInt16BE(i,o){i>>>=0;o||checkOffset(i,2,(this||r).length);var u=(this||r)[i+1]|(this||r)[i]<<8;return 32768&u?4294901760|u:u};Buffer.prototype.readInt32LE=function readInt32LE(i,o){i>>>=0;o||checkOffset(i,4,(this||r).length);return(this||r)[i]|(this||r)[i+1]<<8|(this||r)[i+2]<<16|(this||r)[i+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(i,o){i>>>=0;o||checkOffset(i,4,(this||r).length);return(this||r)[i]<<24|(this||r)[i+1]<<16|(this||r)[i+2]<<8|(this||r)[i+3]};Buffer.prototype.readBigInt64LE=defineBigIntMethod((function readBigInt64LE(i){i>>>=0;validateNumber(i,"offset");var o=(this||r)[i];var u=(this||r)[i+7];void 0!==o&&void 0!==u||boundsError(i,(this||r).length-8);var p=(this||r)[i+4]+(this||r)[i+5]*Math.pow(2,8)+(this||r)[i+6]*Math.pow(2,16)+(u<<24);return(BigInt(p)<>>=0;validateNumber(i,"offset");var o=(this||r)[i];var u=(this||r)[i+7];void 0!==o&&void 0!==u||boundsError(i,(this||r).length-8);var p=(o<<24)+(this||r)[++i]*Math.pow(2,16)+(this||r)[++i]*Math.pow(2,8)+(this||r)[++i];return(BigInt(p)<>>=0;o||checkOffset(i,4,(this||r).length);return g.read(this||r,i,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(i,o){i>>>=0;o||checkOffset(i,4,(this||r).length);return g.read(this||r,i,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(i,o){i>>>=0;o||checkOffset(i,8,(this||r).length);return g.read(this||r,i,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(i,o){i>>>=0;o||checkOffset(i,8,(this||r).length);return g.read(this||r,i,false,52,8)};function checkInt(r,i,o,u,p,g){if(!Buffer.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>p||ir.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function writeUIntLE(i,o,u,p){i=+i;o>>>=0;u>>>=0;if(!p){var g=Math.pow(2,8*u)-1;checkInt(this||r,i,o,u,g,0)}var y=1;var w=0;(this||r)[o]=255&i;while(++w>>=0;u>>>=0;if(!p){var g=Math.pow(2,8*u)-1;checkInt(this||r,i,o,u,g,0)}var y=u-1;var w=1;(this||r)[o+y]=255&i;while(--y>=0&&(w*=256))(this||r)[o+y]=i/w&255;return o+u};Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function writeUInt8(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,1,255,0);(this||r)[o]=255&i;return o+1};Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function writeUInt16LE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,2,65535,0);(this||r)[o]=255&i;(this||r)[o+1]=i>>>8;return o+2};Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function writeUInt16BE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,2,65535,0);(this||r)[o]=i>>>8;(this||r)[o+1]=255&i;return o+2};Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function writeUInt32LE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,4,4294967295,0);(this||r)[o+3]=i>>>24;(this||r)[o+2]=i>>>16;(this||r)[o+1]=i>>>8;(this||r)[o]=255&i;return o+4};Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function writeUInt32BE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,4,4294967295,0);(this||r)[o]=i>>>24;(this||r)[o+1]=i>>>16;(this||r)[o+2]=i>>>8;(this||r)[o+3]=255&i;return o+4};function wrtBigUInt64LE(r,i,o,u,p){checkIntBI(i,u,p,r,o,7);var g=Number(i&BigInt(4294967295));r[o++]=g;g>>=8;r[o++]=g;g>>=8;r[o++]=g;g>>=8;r[o++]=g;var y=Number(i>>BigInt(32)&BigInt(4294967295));r[o++]=y;y>>=8;r[o++]=y;y>>=8;r[o++]=y;y>>=8;r[o++]=y;return o}function wrtBigUInt64BE(r,i,o,u,p){checkIntBI(i,u,p,r,o,7);var g=Number(i&BigInt(4294967295));r[o+7]=g;g>>=8;r[o+6]=g;g>>=8;r[o+5]=g;g>>=8;r[o+4]=g;var y=Number(i>>BigInt(32)&BigInt(4294967295));r[o+3]=y;y>>=8;r[o+2]=y;y>>=8;r[o+1]=y;y>>=8;r[o]=y;return o+8}Buffer.prototype.writeBigUInt64LE=defineBigIntMethod((function writeBigUInt64LE(i,o){void 0===o&&(o=0);return wrtBigUInt64LE(this||r,i,o,BigInt(0),BigInt("0xffffffffffffffff"))}));Buffer.prototype.writeBigUInt64BE=defineBigIntMethod((function writeBigUInt64BE(i,o){void 0===o&&(o=0);return wrtBigUInt64BE(this||r,i,o,BigInt(0),BigInt("0xffffffffffffffff"))}));Buffer.prototype.writeIntLE=function writeIntLE(i,o,u,p){i=+i;o>>>=0;if(!p){var g=Math.pow(2,8*u-1);checkInt(this||r,i,o,u,g-1,-g)}var y=0;var w=1;var _=0;(this||r)[o]=255&i;while(++y>0)-_&255}return o+u};Buffer.prototype.writeIntBE=function writeIntBE(i,o,u,p){i=+i;o>>>=0;if(!p){var g=Math.pow(2,8*u-1);checkInt(this||r,i,o,u,g-1,-g)}var y=u-1;var w=1;var _=0;(this||r)[o+y]=255&i;while(--y>=0&&(w*=256)){i<0&&0===_&&0!==(this||r)[o+y+1]&&(_=1);(this||r)[o+y]=(i/w>>0)-_&255}return o+u};Buffer.prototype.writeInt8=function writeInt8(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,1,127,-128);i<0&&(i=255+i+1);(this||r)[o]=255&i;return o+1};Buffer.prototype.writeInt16LE=function writeInt16LE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,2,32767,-32768);(this||r)[o]=255&i;(this||r)[o+1]=i>>>8;return o+2};Buffer.prototype.writeInt16BE=function writeInt16BE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,2,32767,-32768);(this||r)[o]=i>>>8;(this||r)[o+1]=255&i;return o+2};Buffer.prototype.writeInt32LE=function writeInt32LE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,4,2147483647,-2147483648);(this||r)[o]=255&i;(this||r)[o+1]=i>>>8;(this||r)[o+2]=i>>>16;(this||r)[o+3]=i>>>24;return o+4};Buffer.prototype.writeInt32BE=function writeInt32BE(i,o,u){i=+i;o>>>=0;u||checkInt(this||r,i,o,4,2147483647,-2147483648);i<0&&(i=4294967295+i+1);(this||r)[o]=i>>>24;(this||r)[o+1]=i>>>16;(this||r)[o+2]=i>>>8;(this||r)[o+3]=255&i;return o+4};Buffer.prototype.writeBigInt64LE=defineBigIntMethod((function writeBigInt64LE(i,o){void 0===o&&(o=0);return wrtBigUInt64LE(this||r,i,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}));Buffer.prototype.writeBigInt64BE=defineBigIntMethod((function writeBigInt64BE(i,o){void 0===o&&(o=0);return wrtBigUInt64BE(this||r,i,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}));function checkIEEE754(r,i,o,u,p,g){if(o+u>r.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function writeFloat(r,i,o,u,p){i=+i;o>>>=0;p||checkIEEE754(r,i,o,4,34028234663852886e22,-34028234663852886e22);g.write(r,i,o,u,23,4);return o+4}Buffer.prototype.writeFloatLE=function writeFloatLE(i,o,u){return writeFloat(this||r,i,o,true,u)};Buffer.prototype.writeFloatBE=function writeFloatBE(i,o,u){return writeFloat(this||r,i,o,false,u)};function writeDouble(r,i,o,u,p){i=+i;o>>>=0;p||checkIEEE754(r,i,o,8,17976931348623157e292,-17976931348623157e292);g.write(r,i,o,u,52,8);return o+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(i,o,u){return writeDouble(this||r,i,o,true,u)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(i,o,u){return writeDouble(this||r,i,o,false,u)};Buffer.prototype.copy=function copy(i,o,u,p){if(!Buffer.isBuffer(i))throw new TypeError("argument should be a Buffer");u||(u=0);p||0===p||(p=(this||r).length);o>=i.length&&(o=i.length);o||(o=0);p>0&&p=(this||r).length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("sourceEnd out of bounds");p>(this||r).length&&(p=(this||r).length);i.length-o>>=0;u=void 0===u?(this||r).length:u>>>0;i||(i=0);var y;if("number"===typeof i)for(y=o;yMath.pow(2,32))p=addNumericalSeparator(String(o));else if("bigint"===typeof o){p=String(o);(o>Math.pow(BigInt(2),BigInt(32))||o<-Math.pow(BigInt(2),BigInt(32)))&&(p=addNumericalSeparator(p));p+="n"}u+=" It must be "+i+". Received "+p;return u}),RangeError);function addNumericalSeparator(r){var i="";var o=r.length;var u="-"===r[0]?1:0;for(;o>=u+4;o-=3)i="_"+r.slice(o-3,o)+i;return""+r.slice(0,o)+i}function checkBounds(r,i,o){validateNumber(i,"offset");void 0!==r[i]&&void 0!==r[i+o]||boundsError(i,r.length-(o+1))}function checkIntBI(r,i,o,u,p,g){if(r>o||r3?0===i||i===BigInt(0)?">= 0"+y+" and < 2"+y+" ** "+8*(g+1)+y:">= -(2"+y+" ** "+(8*(g+1)-1)+y+") and < 2 ** "+(8*(g+1)-1)+y:">= "+i+y+" and <= "+o+y;throw new x.ERR_OUT_OF_RANGE("value",w,r)}checkBounds(u,p,g)}function validateNumber(r,i){if("number"!==typeof r)throw new x.ERR_INVALID_ARG_TYPE(i,"number",r)}function boundsError(r,i,o){if(Math.floor(r)!==r){validateNumber(r,o);throw new x.ERR_OUT_OF_RANGE(o||"offset","an integer",r)}if(i<0)throw new x.ERR_BUFFER_OUT_OF_BOUNDS;throw new x.ERR_OUT_OF_RANGE(o||"offset",">= "+(o?1:0)+" and <= "+i,r)}var k=/[^+/0-9A-Za-z-_]/g;function base64clean(r){r=r.split("=")[0];r=r.trim().replace(k,"");if(r.length<2)return"";while(r.length%4!==0)r+="=";return r}function utf8ToBytes(r,i){i=i||Infinity;var o;var u=r.length;var p=null;var g=[];for(var y=0;y55295&&o<57344){if(!p){if(o>56319){(i-=3)>-1&&g.push(239,191,189);continue}if(y+1===u){(i-=3)>-1&&g.push(239,191,189);continue}p=o;continue}if(o<56320){(i-=3)>-1&&g.push(239,191,189);p=o;continue}o=65536+(p-55296<<10|o-56320)}else p&&(i-=3)>-1&&g.push(239,191,189);p=null;if(o<128){if((i-=1)<0)break;g.push(o)}else if(o<2048){if((i-=2)<0)break;g.push(o>>6|192,63&o|128)}else if(o<65536){if((i-=3)<0)break;g.push(o>>12|224,o>>6&63|128,63&o|128)}else{if(!(o<1114112))throw new Error("Invalid code point");if((i-=4)<0)break;g.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}}return g}function asciiToBytes(r){var i=[];for(var o=0;o>8;p=o%256;g.push(p);g.push(u)}return g}function base64ToBytes(r){return p.toByteArray(base64clean(r))}function blitBuffer(r,i,o,u){var p;for(p=0;p=i.length||p>=r.length)break;i[p+o]=r[p]}return p}function isInstance(r,i){return r instanceof i||null!=r&&null!=r.constructor&&null!=r.constructor.name&&r.constructor.name===i.name}function numberIsNaN(r){return r!==r}var P=function(){var r="0123456789abcdef";var i=new Array(256);for(var o=0;o<16;++o){var u=16*o;for(var p=0;p<16;++p)i[u+p]=r[o]+r[p]}return i}();function defineBigIntMethod(r){return"undefined"===typeof BigInt?BufferBigIntNotDefined:r}function BufferBigIntNotDefined(){throw new Error("BigInt not supported")}},477:function(r,i,o){o(7803);o(1539);r.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},2094:function(i,o,u){var p=u(477);var g=u(9781);var y=u(7854);var w=u(614);var _=u(111);var x=u(2597);var k=u(648);var P=u(6330);var I=u(8880);var O=u(1320);var B=u(3070).f;var R=u(7976);var D=u(9518);var N=u(7674);var W=u(5112);var U=u(9711);var j=y.Int8Array;var G=j&&j.prototype;var X=y.Uint8ClampedArray;var K=X&&X.prototype;var Y=j&&D(j);var J=G&&D(G);var $=Object.prototype;var ee=y.TypeError;var te=W("toStringTag");var re=U("TYPED_ARRAY_TAG");var ne=U("TYPED_ARRAY_CONSTRUCTOR");var ae=p&&!!N&&"Opera"!==k(y.opera);var ie=false;var oe,se,le;var ue={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};var ce={BigInt64Array:8,BigUint64Array:8};var fe=function isView(r){if(!_(r))return false;var i=k(r);return"DataView"===i||x(ue,i)||x(ce,i)};var he=function isTypedArray(r){if(!_(r))return false;var i=k(r);return x(ue,i)||x(ce,i)};var de=function aTypedArray(r){if(he(r))return r;throw ee("Target is not a typed array")};var ve=function aTypedArrayConstructor(r){if(w(r)&&(!N||R(Y,r)))return r;throw ee(P(r)+" is not a typed array constructor")};var pe=function exportTypedArrayMethod(r,i,o){if(g){if(o)for(var u in ue){var p=y[u];if(p&&x(p.prototype,r))try{delete p.prototype[r]}catch(r){}}J[r]&&!o||O(J,r,o?i:ae&&G[r]||i)}};var ge=function exportTypedArrayStaticMethod(r,i,o){var u,p;if(g){if(N){if(o)for(u in ue){p=y[u];if(p&&x(p,r))try{delete p[r]}catch(r){}}if(Y[r]&&!o)return;try{return O(Y,r,o?i:ae&&Y[r]||i)}catch(r){}}for(u in ue){p=y[u];!p||p[r]&&!o||O(p,r,i)}}};for(oe in ue){se=y[oe];le=se&&se.prototype;le?I(le,ne,se):ae=false}for(oe in ce){se=y[oe];le=se&&se.prototype;le&&I(le,ne,se)}if(!ae||!w(Y)||Y===Function.prototype){Y=function TypedArray(){throw ee("Incorrect invocation")};if(ae)for(oe in ue)y[oe]&&N(y[oe],Y)}if(!ae||!J||J===$){J=Y.prototype;if(ae)for(oe in ue)y[oe]&&N(y[oe].prototype,J)}ae&&D(K)!==J&&N(K,J);if(g&&!x(J,te)){ie=true;B(J,te,{get:function get(){return _(this||r)?(this||r)[re]:void 0}});for(oe in ue)y[oe]&&I(y[oe],re,oe)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:ae,TYPED_ARRAY_CONSTRUCTOR:ne,TYPED_ARRAY_TAG:ie&&re,aTypedArray:de,aTypedArrayConstructor:ve,exportTypedArrayMethod:pe,exportTypedArrayStaticMethod:ge,isView:fe,isTypedArray:he,TypedArray:Y,TypedArrayPrototype:J}},2091:function(i,o,u){u(8309);var p=u(7854);var g=u(1702);var y=u(9781);var w=u(477);var _=u(6530);var x=u(8880);var k=u(2248);var P=u(7293);var I=u(5787);var O=u(9303);var B=u(7466);var R=u(7067);var D=u(1179);var N=u(9518);var W=u(7674);var U=u(8006).f;var j=u(3070).f;var G=u(1285);var X=u(206);var K=u(8003);var Y=u(9909);var J=_.PROPER;var $=_.CONFIGURABLE;var ee=Y.get;var te=Y.set;var re="ArrayBuffer";var ne="DataView";var ae="prototype";var ie="Wrong length";var oe="Wrong index";var se=p[re];var le=se;var ue=le&&le[ae];var ce=p[ne];var fe=ce&&ce[ae];var he=Object.prototype;var de=p.Array;var ve=p.RangeError;var pe=g(G);var ge=g([].reverse);var ye=D.pack;var me=D.unpack;var be=function packInt8(r){return[255&r]};var we=function packInt16(r){return[255&r,r>>8&255]};var _e=function packInt32(r){return[255&r,r>>8&255,r>>16&255,r>>24&255]};var Se=function unpackInt32(r){return r[3]<<24|r[2]<<16|r[1]<<8|r[0]};var xe=function packFloat32(r){return ye(r,23,4)};var Ce=function packFloat64(r){return ye(r,52,8)};var ke=function addGetter(i,o){j(i[ae],o,{get:function get(){return ee(this||r)[o]}})};var Pe=function get(r,i,o,u){var p=R(o);var g=ee(r);if(p+i>g.byteLength)throw ve(oe);var y=ee(g.buffer).bytes;var w=p+g.byteOffset;var _=X(y,w,w+i);return u?_:ge(_)};var Ae=function set(r,i,o,u,p,g){var y=R(o);var w=ee(r);if(y+i>w.byteLength)throw ve(oe);var _=ee(w.buffer).bytes;var x=y+w.byteOffset;var k=u(+p);for(var P=0;POe;)(Te=Ie[Oe++])in le||x(le,Te,se[Te]);ue.constructor=le}W&&N(fe)!==he&&W(fe,he);var Be=new ce(new le(2));var Le=g(fe.setInt8);Be.setInt8(0,2147483648);Be.setInt8(1,2147483649);!Be.getInt8(0)&&Be.getInt8(1)||k(fe,{setInt8:function setInt8(i,o){Le(this||r,i,o<<24>>24)},setUint8:function setUint8(i,o){Le(this||r,i,o<<24>>24)}},{unsafe:true})}else{le=function ArrayBuffer(i){I(this||r,ue);var o=R(i);te(this||r,{bytes:pe(de(o),0),byteLength:o});y||((this||r).byteLength=o)};ue=le[ae];ce=function DataView(i,o,u){I(this||r,fe);I(i,ue);var p=ee(i).byteLength;var g=O(o);if(g<0||g>p)throw ve("Wrong offset");u=void 0===u?p-g:B(u);if(g+u>p)throw ve(ie);te(this||r,{buffer:i,byteLength:u,byteOffset:g});if(!y){(this||r).buffer=i;(this||r).byteLength=u;(this||r).byteOffset=g}};fe=ce[ae];if(y){ke(le,"byteLength");ke(ce,"buffer");ke(ce,"byteLength");ke(ce,"byteOffset")}k(fe,{getInt8:function getInt8(i){return Pe(this||r,1,i)[0]<<24>>24},getUint8:function getUint8(i){return Pe(this||r,1,i)[0]},getInt16:function getInt16(i){var o=Pe(this||r,2,i,arguments.length>1?arguments[1]:void 0);return(o[1]<<8|o[0])<<16>>16},getUint16:function getUint16(i){var o=Pe(this||r,2,i,arguments.length>1?arguments[1]:void 0);return o[1]<<8|o[0]},getInt32:function getInt32(i){return Se(Pe(this||r,4,i,arguments.length>1?arguments[1]:void 0))},getUint32:function getUint32(i){return Se(Pe(this||r,4,i,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function getFloat32(i){return me(Pe(this||r,4,i,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function getFloat64(i){return me(Pe(this||r,8,i,arguments.length>1?arguments[1]:void 0),52)},setInt8:function setInt8(i,o){Ae(this||r,1,i,be,o)},setUint8:function setUint8(i,o){Ae(this||r,1,i,be,o)},setInt16:function setInt16(i,o){Ae(this||r,2,i,we,o,arguments.length>2?arguments[2]:void 0)},setUint16:function setUint16(i,o){Ae(this||r,2,i,we,o,arguments.length>2?arguments[2]:void 0)},setInt32:function setInt32(i,o){Ae(this||r,4,i,_e,o,arguments.length>2?arguments[2]:void 0)},setUint32:function setUint32(i,o){Ae(this||r,4,i,_e,o,arguments.length>2?arguments[2]:void 0)},setFloat32:function setFloat32(i,o){Ae(this||r,4,i,xe,o,arguments.length>2?arguments[2]:void 0)},setFloat64:function setFloat64(i,o){Ae(this||r,8,i,Ce,o,arguments.length>2?arguments[2]:void 0)}})}K(le,re);K(ce,ne);i.exports={ArrayBuffer:le,DataView:ce}},7803:function(r,i,o){var u=o(2109);var p=o(7854);var g=o(2091);var y=o(6340);var w="ArrayBuffer";var _=g[w];var x=p[w];u({global:true,forced:x!==_},{ArrayBuffer:_});y(w)},194:function(i,o,u){(function(r,o,p){true;i.exports=o(u(757),u(7508),u(3440),u(3839),u(1582))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.BlockCipher;var g=o.algo;var y=[];var w=[];var _=[];var x=[];var k=[];var P=[];var I=[];var O=[];var B=[];var R=[];(function(){var r=[];for(var i=0;i<256;i++)r[i]=i<128?i<<1:i<<1^283;var o=0;var u=0;for(i=0;i<256;i++){var p=u^u<<1^u<<2^u<<3^u<<4;p=p>>>8^255&p^99;y[o]=p;w[p]=o;var g=r[o];var D=r[g];var N=r[D];var W=257*r[p]^16843008*p;_[o]=W<<24|W>>>8;x[o]=W<<16|W>>>16;k[o]=W<<8|W>>>24;P[o]=W;W=16843009*N^65537*D^257*g^16843008*o;I[p]=W<<24|W>>>8;O[p]=W<<16|W>>>16;B[p]=W<<8|W>>>24;R[p]=W;if(o){o=g^r[r[r[N^g]]];u^=r[r[u]]}else o=u=1}})();var D=[0,1,2,4,8,16,32,64,128,27,54];var N=g.AES=p.extend({_doReset:function _doReset(){if(!(this||r)._nRounds||(this||r)._keyPriorReset!==(this||r)._key){var i=(this||r)._keyPriorReset=(this||r)._key;var o=i.words;var u=i.sigBytes/4;var p=(this||r)._nRounds=u+6;var g=4*(p+1);var w=(this||r)._keySchedule=[];for(var _=0;_6&&_%u==4&&(P=y[P>>>24]<<24|y[P>>>16&255]<<16|y[P>>>8&255]<<8|y[255&P]);else{P=P<<8|P>>>24;P=y[P>>>24]<<24|y[P>>>16&255]<<16|y[P>>>8&255]<<8|y[255&P];P^=D[_/u|0]<<24}w[_]=w[_-u]^P}var x=(this||r)._invKeySchedule=[];for(var k=0;k>>24]]^O[y[P>>>16&255]]^B[y[P>>>8&255]]^R[y[255&P]]}}},encryptBlock:function encryptBlock(i,o){this._doCryptBlock(i,o,(this||r)._keySchedule,_,x,k,P,y)},decryptBlock:function decryptBlock(i,o){var u=i[o+1];i[o+1]=i[o+3];i[o+3]=u;this._doCryptBlock(i,o,(this||r)._invKeySchedule,I,O,B,R,w);u=i[o+1];i[o+1]=i[o+3];i[o+3]=u},_doCryptBlock:function _doCryptBlock(i,o,u,p,g,y,w,_){var x=(this||r)._nRounds;var k=i[o]^u[0];var P=i[o+1]^u[1];var I=i[o+2]^u[2];var O=i[o+3]^u[3];var B=4;for(var R=1;R>>24]^g[P>>>16&255]^y[I>>>8&255]^w[255&O]^u[B++];var N=p[P>>>24]^g[I>>>16&255]^y[O>>>8&255]^w[255&k]^u[B++];var W=p[I>>>24]^g[O>>>16&255]^y[k>>>8&255]^w[255&P]^u[B++];var U=p[O>>>24]^g[k>>>16&255]^y[P>>>8&255]^w[255&I]^u[B++];k=D;P=N;I=W;O=U}D=(_[k>>>24]<<24|_[P>>>16&255]<<16|_[I>>>8&255]<<8|_[255&O])^u[B++];N=(_[P>>>24]<<24|_[I>>>16&255]<<16|_[O>>>8&255]<<8|_[255&k])^u[B++];W=(_[I>>>24]<<24|_[O>>>16&255]<<16|_[k>>>8&255]<<8|_[255&P])^u[B++];U=(_[O>>>24]<<24|_[k>>>16&255]<<16|_[P>>>8&255]<<8|_[255&I])^u[B++];i[o]=D;i[o+1]=N;i[o+2]=W;i[o+3]=U},keySize:8});o.AES=p._createHelper(N)})();return i.AES}))},1582:function(i,o,u){u(7042);u(2222);u(1539);u(9714);u(561);(function(r,o,p){true;i.exports=o(u(757),u(3839))})(0,(function(i){i.lib.Cipher||function(o){var u=i;var p=u.lib;var g=p.Base;var y=p.WordArray;var w=p.BufferedBlockAlgorithm;var _=u.enc;_.Utf8;var x=_.Base64;var k=u.algo;var P=k.EvpKDF;var I=p.Cipher=w.extend({cfg:g.extend(), /** * Creates this cipher in encryption mode. * * @param {WordArray} key The key. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {Cipher} A cipher instance. * * @static * * @example * * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray }); */ createEncryptor:function createEncryptor(i,o){return this.create((this||r)._ENC_XFORM_MODE,i,o)}, /** * Creates this cipher in decryption mode. * * @param {WordArray} key The key. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {Cipher} A cipher instance. * * @static * * @example * * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray }); */ createDecryptor:function createDecryptor(i,o){return this.create((this||r)._DEC_XFORM_MODE,i,o)}, /** * Initializes a newly created cipher. * * @param {number} xformMode Either the encryption or decryption transormation mode constant. * @param {WordArray} key The key. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @example * * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray }); */ init:function init(i,o,u){(this||r).cfg=(this||r).cfg.extend(u);(this||r)._xformMode=i;(this||r)._key=o;this.reset()},reset:function reset(){w.reset.call(this||r);this._doReset()}, /** * Adds data to be encrypted or decrypted. * * @param {WordArray|string} dataUpdate The data to encrypt or decrypt. * * @return {WordArray} The data after processing. * * @example * * var encrypted = cipher.process('data'); * var encrypted = cipher.process(wordArray); */ process:function process(r){this._append(r);return this._process()}, /** * Finalizes the encryption or decryption process. * Note that the finalize operation is effectively a destructive, read-once operation. * * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt. * * @return {WordArray} The data after final processing. * * @example * * var encrypted = cipher.finalize(); * var encrypted = cipher.finalize('data'); * var encrypted = cipher.finalize(wordArray); */ finalize:function finalize(r){r&&this._append(r);var i=this._doFinalize();return i},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2, /** * Creates shortcut functions to a cipher's object interface. * * @param {Cipher} cipher The cipher to create a helper for. * * @return {Object} An object with encrypt and decrypt shortcut functions. * * @static * * @example * * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES); */ _createHelper:function(){function selectCipherStrategy(r){return"string"==typeof r?Y:G}return function(r){return{encrypt:function encrypt(i,o,u){return selectCipherStrategy(o).encrypt(r,i,o,u)},decrypt:function decrypt(i,o,u){return selectCipherStrategy(o).decrypt(r,i,o,u)}}}}()});p.StreamCipher=I.extend({_doFinalize:function _doFinalize(){var r=this._process(true);return r},blockSize:1});var O=u.mode={};var B=p.BlockCipherMode=g.extend({ /** * Creates this mode for encryption. * * @param {Cipher} cipher A block cipher instance. * @param {Array} iv The IV words. * * @static * * @example * * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words); */ createEncryptor:function createEncryptor(i,o){return(this||r).Encryptor.create(i,o)}, /** * Creates this mode for decryption. * * @param {Cipher} cipher A block cipher instance. * @param {Array} iv The IV words. * * @static * * @example * * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words); */ createDecryptor:function createDecryptor(i,o){return(this||r).Decryptor.create(i,o)}, /** * Initializes a newly created mode. * * @param {Cipher} cipher A block cipher instance. * @param {Array} iv The IV words. * * @example * * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words); */ init:function init(i,o){(this||r)._cipher=i;(this||r)._iv=o}});var R=O.CBC=function(){var i=B.extend();i.Encryptor=i.extend({ /** * Processes the data block at offset. * * @param {Array} words The data words to operate on. * @param {number} offset The offset where the block starts. * * @example * * mode.processBlock(data.words, offset); */ processBlock:function processBlock(i,o){var u=(this||r)._cipher;var p=u.blockSize;xorBlock.call(this||r,i,o,p);u.encryptBlock(i,o);(this||r)._prevBlock=i.slice(o,o+p)}});i.Decryptor=i.extend({ /** * Processes the data block at offset. * * @param {Array} words The data words to operate on. * @param {number} offset The offset where the block starts. * * @example * * mode.processBlock(data.words, offset); */ processBlock:function processBlock(i,o){var u=(this||r)._cipher;var p=u.blockSize;var g=i.slice(o,o+p);u.decryptBlock(i,o);xorBlock.call(this||r,i,o,p);(this||r)._prevBlock=g}});function xorBlock(i,u,p){var g;var y=(this||r)._iv;if(y){g=y;(this||r)._iv=o}else g=(this||r)._prevBlock;for(var w=0;w>>2];r.sigBytes-=i}};p.BlockCipher=I.extend({cfg:I.cfg.extend({mode:R,padding:N}),reset:function reset(){var i;I.reset.call(this||r);var o=(this||r).cfg;var u=o.iv;var p=o.mode;if((this||r)._xformMode==(this||r)._ENC_XFORM_MODE)i=p.createEncryptor;else{i=p.createDecryptor;(this||r)._minBufferSize=1}if((this||r)._mode&&(this||r)._mode.__creator==i)(this||r)._mode.init(this||r,u&&u.words);else{(this||r)._mode=i.call(p,this||r,u&&u.words);(this||r)._mode.__creator=i}},_doProcessBlock:function _doProcessBlock(i,o){(this||r)._mode.processBlock(i,o)},_doFinalize:function _doFinalize(){var i;var o=(this||r).cfg.padding;if((this||r)._xformMode==(this||r)._ENC_XFORM_MODE){o.pad((this||r)._data,(this||r).blockSize);i=this._process(true)}else{i=this._process(true);o.unpad(i)}return i},blockSize:4});var W=p.CipherParams=g.extend({ /** * Initializes a newly created cipher params object. * * @param {Object} cipherParams An object with any of the possible cipher parameters. * * @example * * var cipherParams = CryptoJS.lib.CipherParams.create({ * ciphertext: ciphertextWordArray, * key: keyWordArray, * iv: ivWordArray, * salt: saltWordArray, * algorithm: CryptoJS.algo.AES, * mode: CryptoJS.mode.CBC, * padding: CryptoJS.pad.PKCS7, * blockSize: 4, * formatter: CryptoJS.format.OpenSSL * }); */ init:function init(r){this.mixIn(r)}, /** * Converts this cipher params object to a string. * * @param {Format} formatter (Optional) The formatting strategy to use. * * @return {string} The stringified cipher params. * * @throws Error If neither the formatter nor the default formatter is set. * * @example * * var string = cipherParams + ''; * var string = cipherParams.toString(); * var string = cipherParams.toString(CryptoJS.format.OpenSSL); */ toString:function toString(i){return(i||(this||r).formatter).stringify(this||r)}});var U=u.format={};var j=U.OpenSSL={ /** * Converts a cipher params object to an OpenSSL-compatible string. * * @param {CipherParams} cipherParams The cipher params object. * * @return {string} The OpenSSL-compatible string. * * @static * * @example * * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams); */ stringify:function stringify(r){var i;var o=r.ciphertext;var u=r.salt;i=u?y.create([1398893684,1701076831]).concat(u).concat(o):o;return i.toString(x)}, /** * Converts an OpenSSL-compatible string to a cipher params object. * * @param {string} openSSLStr The OpenSSL-compatible string. * * @return {CipherParams} The cipher params object. * * @static * * @example * * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString); */ parse:function parse(r){var i;var o=x.parse(r);var u=o.words;if(1398893684==u[0]&&1701076831==u[1]){i=y.create(u.slice(2,4));u.splice(0,4);o.sigBytes-=16}return W.create({ciphertext:o,salt:i})}};var G=p.SerializableCipher=g.extend({cfg:g.extend({format:j}), /** * Encrypts a message. * * @param {Cipher} cipher The cipher algorithm to use. * @param {WordArray|string} message The message to encrypt. * @param {WordArray} key The key. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {CipherParams} A cipher params object. * * @static * * @example * * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key); * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv }); * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL }); */ encrypt:function encrypt(i,o,u,p){p=(this||r).cfg.extend(p);var g=i.createEncryptor(u,p);var y=g.finalize(o);var w=g.cfg;return W.create({ciphertext:y,key:u,iv:w.iv,algorithm:i,mode:w.mode,padding:w.padding,blockSize:i.blockSize,formatter:p.format})}, /** * Decrypts serialized ciphertext. * * @param {Cipher} cipher The cipher algorithm to use. * @param {CipherParams|string} ciphertext The ciphertext to decrypt. * @param {WordArray} key The key. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {WordArray} The plaintext. * * @static * * @example * * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL }); * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL }); */ decrypt:function decrypt(i,o,u,p){p=(this||r).cfg.extend(p);o=this._parse(o,p.format);var g=i.createDecryptor(u,p).finalize(o.ciphertext);return g}, /** * Converts serialized ciphertext to CipherParams, * else assumed CipherParams already and returns ciphertext unchanged. * * @param {CipherParams|string} ciphertext The ciphertext. * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext. * * @return {CipherParams} The unserialized ciphertext. * * @static * * @example * * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format); */ _parse:function _parse(i,o){return"string"==typeof i?o.parse(i,this||r):i}});var X=u.kdf={};var K=X.OpenSSL={ /** * Derives a key and IV from a password. * * @param {string} password The password to derive from. * @param {number} keySize The size in words of the key to generate. * @param {number} ivSize The size in words of the IV to generate. * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly. * * @return {CipherParams} A cipher params object with the key, IV, and salt. * * @static * * @example * * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32); * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt'); */ execute:function execute(r,i,o,u){u||(u=y.random(8));var p=P.create({keySize:i+o}).compute(r,u);var g=y.create(p.words.slice(i),4*o);p.sigBytes=4*i;return W.create({key:p,iv:g,salt:u})}};var Y=p.PasswordBasedCipher=G.extend({cfg:G.cfg.extend({kdf:K}), /** * Encrypts a message using a password. * * @param {Cipher} cipher The cipher algorithm to use. * @param {WordArray|string} message The message to encrypt. * @param {string} password The password. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {CipherParams} A cipher params object. * * @static * * @example * * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password'); * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL }); */ encrypt:function encrypt(i,o,u,p){p=(this||r).cfg.extend(p);var g=p.kdf.execute(u,i.keySize,i.ivSize);p.iv=g.iv;var y=G.encrypt.call(this||r,i,o,g.key,p);y.mixIn(g);return y}, /** * Decrypts serialized ciphertext using a password. * * @param {Cipher} cipher The cipher algorithm to use. * @param {CipherParams|string} ciphertext The ciphertext to decrypt. * @param {string} password The password. * @param {Object} cfg (Optional) The configuration options to use for this operation. * * @return {WordArray} The plaintext. * * @static * * @example * * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL }); * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL }); */ decrypt:function decrypt(i,o,u,p){p=(this||r).cfg.extend(p);o=this._parse(o,p.format);var g=p.kdf.execute(u,i.keySize,i.ivSize,o.salt);p.iv=g.iv;var y=G.decrypt.call(this||r,i,o,g.key,p);return y}})}()}))},757:function(i,o,u){u(5743);u(6992);u(1539);u(9135);u(2990);u(8927);u(3105);u(5035);u(4345);u(7174);u(2846);u(4731);u(7209);u(6319);u(8867);u(7789);u(3739);u(9368);u(4483);u(2056);u(3462);u(678);u(7462);u(3824);u(5021);u(2974);u(5016);u(9714);u(7042);u(9600);u(2222);u(561);(function(r,o){true;i.exports=o()})(0,(function(){var i=i||function(i,o){var p;"undefined"!==typeof window&&window.crypto&&(p=window.crypto);"undefined"!==typeof self&&self.crypto&&(p=self.crypto);"undefined"!==typeof globalThis&&globalThis.crypto&&(p=globalThis.crypto);!p&&"undefined"!==typeof window&&window.msCrypto&&(p=window.msCrypto);!p&&"undefined"!==typeof u.g&&u.g.crypto&&(p=u.g.crypto);if(!p&&true)try{p=u(2480)}catch(r){}var g=function cryptoSecureRandomInt(){if(p){if("function"===typeof p.getRandomValues)try{return p.getRandomValues(new Uint32Array(1))[0]}catch(r){}if("function"===typeof p.randomBytes)try{return p.randomBytes(4).readInt32LE()}catch(r){}}throw new Error("Native crypto module could not be used to get secure random number.")};var y=Object.create||function(){function F(){}return function(r){var i;F.prototype=r;i=new F;F.prototype=null;return i}}();var w={};var _=w.lib={};var x=_.Base=function(){return{ /** * Creates a new object that inherits from this object. * * @param {Object} overrides Properties to copy into the new object. * * @return {Object} The new object. * * @static * * @example * * var MyType = CryptoJS.lib.Base.extend({ * field: 'value', * * method: function () { * } * }); */ extend:function extend(i){var o=y(this||r);i&&o.mixIn(i);o.hasOwnProperty("init")&&(this||r).init!==o.init||(o.init=function(){o.$super.init.apply(this||r,arguments)});o.init.prototype=o;o.$super=this||r;return o},create:function create(){var r=this.extend();r.init.apply(r,arguments);return r},init:function init(){}, /** * Copies properties into this object. * * @param {Object} properties The properties to mix in. * * @example * * MyType.mixIn({ * field: 'value' * }); */ mixIn:function mixIn(i){for(var o in i)i.hasOwnProperty(o)&&((this||r)[o]=i[o]);i.hasOwnProperty("toString")&&((this||r).toString=i.toString)},clone:function clone(){return(this||r).init.prototype.extend(this||r)}}}();var k=_.WordArray=x.extend({ /** * Initializes a newly created word array. * * @param {Array} words (Optional) An array of 32-bit words. * @param {number} sigBytes (Optional) The number of significant bytes in the words. * * @example * * var wordArray = CryptoJS.lib.WordArray.create(); * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]); * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6); */ init:function init(i,u){i=(this||r).words=i||[];(this||r).sigBytes=u!=o?u:4*i.length}, /** * Converts this word array to a string. * * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex * * @return {string} The stringified word array. * * @example * * var string = wordArray + ''; * var string = wordArray.toString(); * var string = wordArray.toString(CryptoJS.enc.Utf8); */ toString:function toString(i){return(i||I).stringify(this||r)}, /** * Concatenates a word array to this word array. * * @param {WordArray} wordArray The word array to append. * * @return {WordArray} This word array. * * @example * * wordArray1.concat(wordArray2); */ concat:function concat(i){var o=(this||r).words;var u=i.words;var p=(this||r).sigBytes;var g=i.sigBytes;this.clamp();if(p%4)for(var y=0;y>>2]>>>24-y%4*8&255;o[p+y>>>2]|=w<<24-(p+y)%4*8}else for(var _=0;_>>2]=u[_>>>2];(this||r).sigBytes+=g;return this||r},clamp:function clamp(){var o=(this||r).words;var u=(this||r).sigBytes;o[u>>>2]&=4294967295<<32-u%4*8;o.length=i.ceil(u/4)},clone:function clone(){var clone=x.clone.call(this||r);clone.words=(this||r).words.slice(0);return clone}, /** * Creates a word array filled with random bytes. * * @param {number} nBytes The number of random bytes to generate. * * @return {WordArray} The random word array. * * @static * * @example * * var wordArray = CryptoJS.lib.WordArray.random(16); */ random:function random(r){var i=[];for(var o=0;o>>2]>>>24-p%4*8&255;u.push((g>>>4).toString(16));u.push((15&g).toString(16))}return u.join("")}, /** * Converts a hex string to a word array. * * @param {string} hexStr The hex string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Hex.parse(hexString); */ parse:function parse(r){var i=r.length;var o=[];for(var u=0;u>>3]|=parseInt(r.substr(u,2),16)<<24-u%8*4;return new k.init(o,i/2)}};var O=P.Latin1={ /** * Converts a word array to a Latin1 string. * * @param {WordArray} wordArray The word array. * * @return {string} The Latin1 string. * * @static * * @example * * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray); */ stringify:function stringify(r){var i=r.words;var o=r.sigBytes;var u=[];for(var p=0;p>>2]>>>24-p%4*8&255;u.push(String.fromCharCode(g))}return u.join("")}, /** * Converts a Latin1 string to a word array. * * @param {string} latin1Str The Latin1 string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Latin1.parse(latin1String); */ parse:function parse(r){var i=r.length;var o=[];for(var u=0;u>>2]|=(255&r.charCodeAt(u))<<24-u%4*8;return new k.init(o,i)}};var B=P.Utf8={ /** * Converts a word array to a UTF-8 string. * * @param {WordArray} wordArray The word array. * * @return {string} The UTF-8 string. * * @static * * @example * * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray); */ stringify:function stringify(r){try{return decodeURIComponent(escape(O.stringify(r)))}catch(r){throw new Error("Malformed UTF-8 data")}}, /** * Converts a UTF-8 string to a word array. * * @param {string} utf8Str The UTF-8 string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Utf8.parse(utf8String); */ parse:function parse(r){return O.parse(unescape(encodeURIComponent(r)))}};var R=_.BufferedBlockAlgorithm=x.extend({reset:function reset(){(this||r)._data=new k.init;(this||r)._nDataBytes=0}, /** * Adds new data to this block algorithm's buffer. * * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8. * * @example * * bufferedBlockAlgorithm._append('data'); * bufferedBlockAlgorithm._append(wordArray); */ _append:function _append(i){"string"==typeof i&&(i=B.parse(i));(this||r)._data.concat(i);(this||r)._nDataBytes+=i.sigBytes}, /** * Processes available data blocks. * * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype. * * @param {boolean} doFlush Whether all blocks and partial blocks should be processed. * * @return {WordArray} The processed data. * * @example * * var processedData = bufferedBlockAlgorithm._process(); * var processedData = bufferedBlockAlgorithm._process(!!'flush'); */ _process:function _process(o){var u;var p=(this||r)._data;var g=p.words;var y=p.sigBytes;var w=(this||r).blockSize;var _=4*w;var x=y/_;x=o?i.ceil(x):i.max((0|x)-(this||r)._minBufferSize,0);var P=x*w;var I=i.min(4*P,y);if(P){for(var O=0;O>>2]>>>24-y%4*8&255;var _=o[y+1>>>2]>>>24-(y+1)%4*8&255;var x=o[y+2>>>2]>>>24-(y+2)%4*8&255;var k=w<<16|_<<8|x;for(var P=0;P<4&&y+.75*P>>6*(3-P)&63))}var I=p.charAt(64);if(I)while(g.length%4)g.push(I);return g.join("")}, /** * Converts a Base64 string to a word array. * * @param {string} base64Str The Base64 string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Base64.parse(base64String); */ parse:function parse(i){var o=i.length;var u=(this||r)._map;var p=(this||r)._reverseMap;if(!p){p=(this||r)._reverseMap=[];for(var g=0;g>>6-y%4*2;var x=w|_;u[g>>>2]|=x<<24-g%4*8;g++}return p.create(u,g)}})();return i.enc.Base64}))},7590:function(i,o,u){u(9600);(function(r,o){true;i.exports=o(u(757))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.WordArray;var g=o.enc;g.Base64url={ /** * Converts a word array to a Base64url string. * * @param {WordArray} wordArray The word array. * * @param {boolean} urlSafe Whether to use url safe * * @return {string} The Base64url string. * * @static * * @example * * var base64String = CryptoJS.enc.Base64url.stringify(wordArray); */ stringify:function stringify(i,o){void 0===o&&(o=true);var u=i.words;var p=i.sigBytes;var g=o?(this||r)._safe_map:(this||r)._map;i.clamp();var y=[];for(var w=0;w>>2]>>>24-w%4*8&255;var x=u[w+1>>>2]>>>24-(w+1)%4*8&255;var k=u[w+2>>>2]>>>24-(w+2)%4*8&255;var P=_<<16|x<<8|k;for(var I=0;I<4&&w+.75*I>>6*(3-I)&63))}var O=g.charAt(64);if(O)while(y.length%4)y.push(O);return y.join("")}, /** * Converts a Base64url string to a word array. * * @param {string} base64Str The Base64url string. * * @param {boolean} urlSafe Whether to use url safe * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Base64url.parse(base64String); */ parse:function parse(i,o){void 0===o&&(o=true);var u=i.length;var p=o?(this||r)._safe_map:(this||r)._map;var g=(this||r)._reverseMap;if(!g){g=(this||r)._reverseMap=[];for(var y=0;y>>6-y%4*2;var x=w|_;u[g>>>2]|=x<<24-g%4*8;g++}return p.create(u,g)}})();return i.enc.Base64url}))},4978:function(r,i,o){o(9600);(function(i,u){true;r.exports=u(o(757))})(0,(function(r){(function(){var i=r;var o=i.lib;var u=o.WordArray;var p=i.enc;p.Utf16=p.Utf16BE={ /** * Converts a word array to a UTF-16 BE string. * * @param {WordArray} wordArray The word array. * * @return {string} The UTF-16 BE string. * * @static * * @example * * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray); */ stringify:function stringify(r){var i=r.words;var o=r.sigBytes;var u=[];for(var p=0;p>>2]>>>16-p%4*8&65535;u.push(String.fromCharCode(g))}return u.join("")}, /** * Converts a UTF-16 BE string to a word array. * * @param {string} utf16Str The UTF-16 BE string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Utf16.parse(utf16String); */ parse:function parse(r){var i=r.length;var o=[];for(var p=0;p>>1]|=r.charCodeAt(p)<<16-p%2*16;return u.create(o,2*i)}};p.Utf16LE={ /** * Converts a word array to a UTF-16 LE string. * * @param {WordArray} wordArray The word array. * * @return {string} The UTF-16 LE string. * * @static * * @example * * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray); */ stringify:function stringify(r){var i=r.words;var o=r.sigBytes;var u=[];for(var p=0;p>>2]>>>16-p%4*8&65535);u.push(String.fromCharCode(g))}return u.join("")}, /** * Converts a UTF-16 LE string to a word array. * * @param {string} utf16Str The UTF-16 LE string. * * @return {WordArray} The word array. * * @static * * @example * * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str); */ parse:function parse(r){var i=r.length;var o=[];for(var p=0;p>>1]|=swapEndian(r.charCodeAt(p)<<16-p%2*16);return u.create(o,2*i)}};function swapEndian(r){return r<<8&4278255360|r>>>8&16711935}})();return r.enc.Utf16}))},3839:function(i,o,u){u(2222);(function(r,o,p){true;i.exports=o(u(757),u(9865),u(6727))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.Base;var g=u.WordArray;var y=o.algo;var w=y.MD5;var _=y.EvpKDF=p.extend({cfg:p.extend({keySize:4,hasher:w,iterations:1}), /** * Initializes a newly created key derivation function. * * @param {Object} cfg (Optional) The configuration options to use for the derivation. * * @example * * var kdf = CryptoJS.algo.EvpKDF.create(); * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 }); * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 }); */ init:function init(i){(this||r).cfg=(this||r).cfg.extend(i)}, /** * Derives a key from a password. * * @param {WordArray|string} password The password. * @param {WordArray|string} salt A salt. * * @return {WordArray} The derived key. * * @example * * var key = kdf.compute(password, salt); */ compute:function compute(i,o){var u;var p=(this||r).cfg;var y=p.hasher.create();var w=g.create();var _=w.words;var x=p.keySize;var k=p.iterations;while(_.lengthp&&(o=i.finalize(o));o.clamp();var g=(this||r)._oKey=o.clone();var w=(this||r)._iKey=o.clone();var _=g.words;var x=w.words;for(var k=0;k>>2]|=i[p]<<24-p%4*8;g.call(this||r,u,o)}else g.apply(this||r,arguments)};y.prototype=p}})();return i.lib.WordArray}))},3440:function(i,o,u){(function(r,o){true;i.exports=o(u(757))})(0,(function(i){(function(o){var u=i;var p=u.lib;var g=p.WordArray;var y=p.Hasher;var w=u.algo;var _=[];(function(){for(var r=0;r<64;r++)_[r]=4294967296*o.abs(o.sin(r+1))|0})();var x=w.MD5=y.extend({_doReset:function _doReset(){(this||r)._hash=new g.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function _doProcessBlock(i,o){for(var u=0;u<16;u++){var p=o+u;var g=i[p];i[p]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var y=(this||r)._hash.words;var w=i[o+0];var x=i[o+1];var k=i[o+2];var P=i[o+3];var I=i[o+4];var O=i[o+5];var B=i[o+6];var R=i[o+7];var D=i[o+8];var N=i[o+9];var W=i[o+10];var U=i[o+11];var j=i[o+12];var G=i[o+13];var X=i[o+14];var K=i[o+15];var Y=y[0];var J=y[1];var $=y[2];var ee=y[3];Y=FF(Y,J,$,ee,w,7,_[0]);ee=FF(ee,Y,J,$,x,12,_[1]);$=FF($,ee,Y,J,k,17,_[2]);J=FF(J,$,ee,Y,P,22,_[3]);Y=FF(Y,J,$,ee,I,7,_[4]);ee=FF(ee,Y,J,$,O,12,_[5]);$=FF($,ee,Y,J,B,17,_[6]);J=FF(J,$,ee,Y,R,22,_[7]);Y=FF(Y,J,$,ee,D,7,_[8]);ee=FF(ee,Y,J,$,N,12,_[9]);$=FF($,ee,Y,J,W,17,_[10]);J=FF(J,$,ee,Y,U,22,_[11]);Y=FF(Y,J,$,ee,j,7,_[12]);ee=FF(ee,Y,J,$,G,12,_[13]);$=FF($,ee,Y,J,X,17,_[14]);J=FF(J,$,ee,Y,K,22,_[15]);Y=GG(Y,J,$,ee,x,5,_[16]);ee=GG(ee,Y,J,$,B,9,_[17]);$=GG($,ee,Y,J,U,14,_[18]);J=GG(J,$,ee,Y,w,20,_[19]);Y=GG(Y,J,$,ee,O,5,_[20]);ee=GG(ee,Y,J,$,W,9,_[21]);$=GG($,ee,Y,J,K,14,_[22]);J=GG(J,$,ee,Y,I,20,_[23]);Y=GG(Y,J,$,ee,N,5,_[24]);ee=GG(ee,Y,J,$,X,9,_[25]);$=GG($,ee,Y,J,P,14,_[26]);J=GG(J,$,ee,Y,D,20,_[27]);Y=GG(Y,J,$,ee,G,5,_[28]);ee=GG(ee,Y,J,$,k,9,_[29]);$=GG($,ee,Y,J,R,14,_[30]);J=GG(J,$,ee,Y,j,20,_[31]);Y=HH(Y,J,$,ee,O,4,_[32]);ee=HH(ee,Y,J,$,D,11,_[33]);$=HH($,ee,Y,J,U,16,_[34]);J=HH(J,$,ee,Y,X,23,_[35]);Y=HH(Y,J,$,ee,x,4,_[36]);ee=HH(ee,Y,J,$,I,11,_[37]);$=HH($,ee,Y,J,R,16,_[38]);J=HH(J,$,ee,Y,W,23,_[39]);Y=HH(Y,J,$,ee,G,4,_[40]);ee=HH(ee,Y,J,$,w,11,_[41]);$=HH($,ee,Y,J,P,16,_[42]);J=HH(J,$,ee,Y,B,23,_[43]);Y=HH(Y,J,$,ee,N,4,_[44]);ee=HH(ee,Y,J,$,j,11,_[45]);$=HH($,ee,Y,J,K,16,_[46]);J=HH(J,$,ee,Y,k,23,_[47]);Y=II(Y,J,$,ee,w,6,_[48]);ee=II(ee,Y,J,$,R,10,_[49]);$=II($,ee,Y,J,X,15,_[50]);J=II(J,$,ee,Y,O,21,_[51]);Y=II(Y,J,$,ee,j,6,_[52]);ee=II(ee,Y,J,$,P,10,_[53]);$=II($,ee,Y,J,W,15,_[54]);J=II(J,$,ee,Y,x,21,_[55]);Y=II(Y,J,$,ee,D,6,_[56]);ee=II(ee,Y,J,$,K,10,_[57]);$=II($,ee,Y,J,B,15,_[58]);J=II(J,$,ee,Y,G,21,_[59]);Y=II(Y,J,$,ee,I,6,_[60]);ee=II(ee,Y,J,$,U,10,_[61]);$=II($,ee,Y,J,k,15,_[62]);J=II(J,$,ee,Y,N,21,_[63]);y[0]=y[0]+Y|0;y[1]=y[1]+J|0;y[2]=y[2]+$|0;y[3]=y[3]+ee|0},_doFinalize:function _doFinalize(){var i=(this||r)._data;var u=i.words;var p=8*(this||r)._nDataBytes;var g=8*i.sigBytes;u[g>>>5]|=128<<24-g%32;var y=o.floor(p/4294967296);var w=p;u[15+(g+64>>>9<<4)]=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8);u[14+(g+64>>>9<<4)]=16711935&(w<<8|w>>>24)|4278255360&(w<<24|w>>>8);i.sigBytes=4*(u.length+1);this._process();var _=(this||r)._hash;var x=_.words;for(var k=0;k<4;k++){var P=x[k];x[k]=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8)}return _},clone:function clone(){var clone=y.clone.call(this||r);clone._hash=(this||r)._hash.clone();return clone}});function FF(r,i,o,u,p,g,y){var w=r+(i&o|~i&u)+p+y;return(w<>>32-g)+i}function GG(r,i,o,u,p,g,y){var w=r+(i&u|o&~u)+p+y;return(w<>>32-g)+i}function HH(r,i,o,u,p,g,y){var w=r+(i^o^u)+p+y;return(w<>>32-g)+i}function II(r,i,o,u,p,g,y){var w=r+(o^(i|~u))+p+y;return(w<>>32-g)+i} /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.MD5('message'); * var hash = CryptoJS.MD5(wordArray); */u.MD5=y._createHelper(x); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacMD5(message, key); */u.HmacMD5=y._createHmacHelper(x)})(Math);return i.MD5}))},702:function(i,o,u){u(7042);(function(r,o,p){true;i.exports=o(u(757),u(1582))})(0,(function(i){i.mode.CFB=function(){var o=i.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function processBlock(i,o){var u=(this||r)._cipher;var p=u.blockSize;generateKeystreamAndEncrypt.call(this||r,i,o,p,u);(this||r)._prevBlock=i.slice(o,o+p)}});o.Decryptor=o.extend({processBlock:function processBlock(i,o){var u=(this||r)._cipher;var p=u.blockSize;var g=i.slice(o,o+p);generateKeystreamAndEncrypt.call(this||r,i,o,p,u);(this||r)._prevBlock=g}});function generateKeystreamAndEncrypt(i,o,u,p){var g;var y=(this||r)._iv;if(y){g=y.slice(0);(this||r)._iv=void 0}else g=(this||r)._prevBlock;p.encryptBlock(g,0);for(var w=0;w>24&255)){var i=r>>16&255;var o=r>>8&255;var u=255&r;if(255===i){i=0;if(255===o){o=0;255===u?u=0:++u}else++o}else++i;r=0;r+=i<<16;r+=o<<8;r+=u}else r+=1<<24;return r}function incCounter(r){0===(r[0]=incWord(r[0]))&&(r[1]=incWord(r[1]));return r}var u=o.Encryptor=o.extend({processBlock:function processBlock(i,o){var u=(this||r)._cipher;var p=u.blockSize;var g=(this||r)._iv;var y=(this||r)._counter;if(g){y=(this||r)._counter=g.slice(0);(this||r)._iv=void 0}incCounter(y);var w=y.slice(0);u.encryptBlock(w,0);for(var _=0;_>>2]|=p<<24-g%4*8;r.sigBytes+=p},unpad:function unpad(r){var i=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=i}};return r.pad.Ansix923}))},4431:function(r,i,o){o(2222);(function(i,u,p){true;r.exports=u(o(757),o(1582))})(0,(function(r){r.pad.Iso10126={pad:function pad(i,o){var u=4*o;var p=u-i.sigBytes%u;i.concat(r.lib.WordArray.random(p-1)).concat(r.lib.WordArray.create([p<<24],1))},unpad:function unpad(r){var i=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=i}};return r.pad.Iso10126}))},8800:function(r,i,o){o(2222);(function(i,u,p){true;r.exports=u(o(757),o(1582))})(0,(function(r){r.pad.Iso97971={pad:function pad(i,o){i.concat(r.lib.WordArray.create([2147483648],1));r.pad.ZeroPadding.pad(i,o)},unpad:function unpad(i){r.pad.ZeroPadding.unpad(i);i.sigBytes--}};return r.pad.Iso97971}))},649:function(r,i,o){(function(i,u,p){true;r.exports=u(o(757),o(1582))})(0,(function(r){r.pad.NoPadding={pad:function pad(){},unpad:function unpad(){}};return r.pad.NoPadding}))},3992:function(r,i,o){(function(i,u,p){true;r.exports=u(o(757),o(1582))})(0,(function(r){r.pad.ZeroPadding={pad:function pad(r,i){var o=4*i;r.clamp();r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function unpad(r){var i=r.words;var o=r.sigBytes-1;for(o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}};return r.pad.ZeroPadding}))},3486:function(i,o,u){u(2222);(function(r,o,p){true;i.exports=o(u(757),u(9865),u(6727))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.Base;var g=u.WordArray;var y=o.algo;var w=y.SHA1;var _=y.HMAC;var x=y.PBKDF2=p.extend({cfg:p.extend({keySize:4,hasher:w,iterations:1}), /** * Initializes a newly created key derivation function. * * @param {Object} cfg (Optional) The configuration options to use for the derivation. * * @example * * var kdf = CryptoJS.algo.PBKDF2.create(); * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 }); * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 }); */ init:function init(i){(this||r).cfg=(this||r).cfg.extend(i)}, /** * Computes the Password-Based Key Derivation Function 2. * * @param {WordArray|string} password The password. * @param {WordArray|string} salt A salt. * * @return {WordArray} The derived key. * * @example * * var key = kdf.compute(password, salt); */ compute:function compute(i,o){var u=(this||r).cfg;var p=_.create(u.hasher,i);var y=g.create();var w=g.create([1]);var x=y.words;var k=w.words;var P=u.keySize;var I=u.iterations;while(x.length>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16];var p=(this||r)._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];(this||r)._b=0;for(var g=0;g<4;g++)nextState.call(this||r);for(g=0;g<8;g++)p[g]^=u[g+4&7];if(o){var y=o.words;var w=y[0];var _=y[1];var x=16711935&(w<<8|w>>>24)|4278255360&(w<<24|w>>>8);var k=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8);var P=x>>>16|4294901760&k;var I=k<<16|65535&x;p[0]^=x;p[1]^=P;p[2]^=k;p[3]^=I;p[4]^=x;p[5]^=P;p[6]^=k;p[7]^=I;for(g=0;g<4;g++)nextState.call(this||r)}},_doProcessBlock:function _doProcessBlock(i,o){var u=(this||r)._X;nextState.call(this||r);y[0]=u[0]^u[5]>>>16^u[3]<<16;y[1]=u[2]^u[7]>>>16^u[5]<<16;y[2]=u[4]^u[1]>>>16^u[7]<<16;y[3]=u[6]^u[3]>>>16^u[1]<<16;for(var p=0;p<4;p++){y[p]=16711935&(y[p]<<8|y[p]>>>24)|4278255360&(y[p]<<24|y[p]>>>8);i[o+p]^=y[p]}},blockSize:4,ivSize:2});function nextState(){var i=(this||r)._X;var o=(this||r)._C;for(var u=0;u<8;u++)w[u]=o[u];o[0]=o[0]+1295307597+(this||r)._b|0;o[1]=o[1]+3545052371+(o[0]>>>0>>0?1:0)|0;o[2]=o[2]+886263092+(o[1]>>>0>>0?1:0)|0;o[3]=o[3]+1295307597+(o[2]>>>0>>0?1:0)|0;o[4]=o[4]+3545052371+(o[3]>>>0>>0?1:0)|0;o[5]=o[5]+886263092+(o[4]>>>0>>0?1:0)|0;o[6]=o[6]+1295307597+(o[5]>>>0>>0?1:0)|0;o[7]=o[7]+3545052371+(o[6]>>>0>>0?1:0)|0;(this||r)._b=o[7]>>>0>>0?1:0;for(u=0;u<8;u++){var p=i[u]+o[u];var g=65535&p;var y=p>>>16;var x=((g*g>>>17)+g*y>>>15)+y*y;var k=((4294901760&p)*p|0)+((65535&p)*p|0);_[u]=x^k}i[0]=_[0]+(_[7]<<16|_[7]>>>16)+(_[6]<<16|_[6]>>>16)|0;i[1]=_[1]+(_[0]<<8|_[0]>>>24)+_[7]|0;i[2]=_[2]+(_[1]<<16|_[1]>>>16)+(_[0]<<16|_[0]>>>16)|0;i[3]=_[3]+(_[2]<<8|_[2]>>>24)+_[1]|0;i[4]=_[4]+(_[3]<<16|_[3]>>>16)+(_[2]<<16|_[2]>>>16)|0;i[5]=_[5]+(_[4]<<8|_[4]>>>24)+_[3]|0;i[6]=_[6]+(_[5]<<16|_[5]>>>16)+(_[4]<<16|_[4]>>>16)|0;i[7]=_[7]+(_[6]<<8|_[6]>>>24)+_[5]|0}o.RabbitLegacy=p._createHelper(x)})();return i.RabbitLegacy}))},5323:function(i,o,u){(function(r,o,p){true;i.exports=o(u(757),u(7508),u(3440),u(3839),u(1582))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.StreamCipher;var g=o.algo;var y=[];var w=[];var _=[];var x=g.Rabbit=p.extend({_doReset:function _doReset(){var i=(this||r)._key.words;var o=(this||r).cfg.iv;for(var u=0;u<4;u++)i[u]=16711935&(i[u]<<8|i[u]>>>24)|4278255360&(i[u]<<24|i[u]>>>8);var p=(this||r)._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16];var g=(this||r)._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];(this||r)._b=0;for(u=0;u<4;u++)nextState.call(this||r);for(u=0;u<8;u++)g[u]^=p[u+4&7];if(o){var y=o.words;var w=y[0];var _=y[1];var x=16711935&(w<<8|w>>>24)|4278255360&(w<<24|w>>>8);var k=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8);var P=x>>>16|4294901760&k;var I=k<<16|65535&x;g[0]^=x;g[1]^=P;g[2]^=k;g[3]^=I;g[4]^=x;g[5]^=P;g[6]^=k;g[7]^=I;for(u=0;u<4;u++)nextState.call(this||r)}},_doProcessBlock:function _doProcessBlock(i,o){var u=(this||r)._X;nextState.call(this||r);y[0]=u[0]^u[5]>>>16^u[3]<<16;y[1]=u[2]^u[7]>>>16^u[5]<<16;y[2]=u[4]^u[1]>>>16^u[7]<<16;y[3]=u[6]^u[3]>>>16^u[1]<<16;for(var p=0;p<4;p++){y[p]=16711935&(y[p]<<8|y[p]>>>24)|4278255360&(y[p]<<24|y[p]>>>8);i[o+p]^=y[p]}},blockSize:4,ivSize:2});function nextState(){var i=(this||r)._X;var o=(this||r)._C;for(var u=0;u<8;u++)w[u]=o[u];o[0]=o[0]+1295307597+(this||r)._b|0;o[1]=o[1]+3545052371+(o[0]>>>0>>0?1:0)|0;o[2]=o[2]+886263092+(o[1]>>>0>>0?1:0)|0;o[3]=o[3]+1295307597+(o[2]>>>0>>0?1:0)|0;o[4]=o[4]+3545052371+(o[3]>>>0>>0?1:0)|0;o[5]=o[5]+886263092+(o[4]>>>0>>0?1:0)|0;o[6]=o[6]+1295307597+(o[5]>>>0>>0?1:0)|0;o[7]=o[7]+3545052371+(o[6]>>>0>>0?1:0)|0;(this||r)._b=o[7]>>>0>>0?1:0;for(u=0;u<8;u++){var p=i[u]+o[u];var g=65535&p;var y=p>>>16;var x=((g*g>>>17)+g*y>>>15)+y*y;var k=((4294901760&p)*p|0)+((65535&p)*p|0);_[u]=x^k}i[0]=_[0]+(_[7]<<16|_[7]>>>16)+(_[6]<<16|_[6]>>>16)|0;i[1]=_[1]+(_[0]<<8|_[0]>>>24)+_[7]|0;i[2]=_[2]+(_[1]<<16|_[1]>>>16)+(_[0]<<16|_[0]>>>16)|0;i[3]=_[3]+(_[2]<<8|_[2]>>>24)+_[1]|0;i[4]=_[4]+(_[3]<<16|_[3]>>>16)+(_[2]<<16|_[2]>>>16)|0;i[5]=_[5]+(_[4]<<8|_[4]>>>24)+_[3]|0;i[6]=_[6]+(_[5]<<16|_[5]>>>16)+(_[4]<<16|_[4]>>>16)|0;i[7]=_[7]+(_[6]<<8|_[6]>>>24)+_[5]|0}o.Rabbit=p._createHelper(x)})();return i.Rabbit}))},4640:function(i,o,u){u(1539);u(8674);(function(r,o,p){true;i.exports=o(u(757),u(7508),u(3440),u(3839),u(1582))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.StreamCipher;var g=o.algo;var y=g.RC4=p.extend({_doReset:function _doReset(){var i=(this||r)._key;var o=i.words;var u=i.sigBytes;var p=(this||r)._S=[];for(var g=0;g<256;g++)p[g]=g;g=0;for(var y=0;g<256;g++){var w=g%u;var _=o[w>>>2]>>>24-w%4*8&255;y=(y+p[g]+_)%256;var x=p[g];p[g]=p[y];p[y]=x}(this||r)._i=(this||r)._j=0},_doProcessBlock:function _doProcessBlock(i,o){i[o]^=generateKeystreamWord.call(this||r)},keySize:8,ivSize:0});function generateKeystreamWord(){var i=(this||r)._S;var o=(this||r)._i;var u=(this||r)._j;var p=0;for(var g=0;g<4;g++){o=(o+1)%256;u=(u+i[o])%256;var y=i[o];i[o]=i[u];i[u]=y;p|=i[(i[o]+i[u])%256]<<24-8*g}(this||r)._i=o;(this||r)._j=u;return p}o.RC4=p._createHelper(y);var w=g.RC4Drop=y.extend({cfg:y.cfg.extend({drop:192}),_doReset:function _doReset(){y._doReset.call(this||r);for(var i=(this||r).cfg.drop;i>0;i--)generateKeystreamWord.call(this||r)}});o.RC4Drop=p._createHelper(w)})();return i.RC4}))},8714:function(i,o,u){(function(r,o){true;i.exports=o(u(757))})(0,(function(i){ /** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ (function(o){var u=i;var p=u.lib;var g=p.WordArray;var y=p.Hasher;var w=u.algo;var _=g.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]);var x=g.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]);var k=g.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]);var P=g.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]);var I=g.create([0,1518500249,1859775393,2400959708,2840853838]);var O=g.create([1352829926,1548603684,1836072691,2053994217,0]);var B=w.RIPEMD160=y.extend({_doReset:function _doReset(){(this||r)._hash=g.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function _doProcessBlock(i,o){for(var u=0;u<16;u++){var p=o+u;var g=i[p];i[p]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var y=(this||r)._hash.words;var w=I.words;var B=O.words;var R=_.words;var D=x.words;var N=k.words;var W=P.words;var U,j,G,X,K;var Y,J,$,ee,te;Y=U=y[0];J=j=y[1];$=G=y[2];ee=X=y[3];te=K=y[4];var re;for(u=0;u<80;u+=1){re=U+i[o+R[u]]|0;re+=u<16?f1(j,G,X)+w[0]:u<32?f2(j,G,X)+w[1]:u<48?f3(j,G,X)+w[2]:u<64?f4(j,G,X)+w[3]:f5(j,G,X)+w[4];re|=0;re=rotl(re,N[u]);re=re+K|0;U=K;K=X;X=rotl(G,10);G=j;j=re;re=Y+i[o+D[u]]|0;re+=u<16?f5(J,$,ee)+B[0]:u<32?f4(J,$,ee)+B[1]:u<48?f3(J,$,ee)+B[2]:u<64?f2(J,$,ee)+B[3]:f1(J,$,ee)+B[4];re|=0;re=rotl(re,W[u]);re=re+te|0;Y=te;te=ee;ee=rotl($,10);$=J;J=re}re=y[1]+G+ee|0;y[1]=y[2]+X+te|0;y[2]=y[3]+K+Y|0;y[3]=y[4]+U+J|0;y[4]=y[0]+j+$|0;y[0]=re},_doFinalize:function _doFinalize(){var i=(this||r)._data;var o=i.words;var u=8*(this||r)._nDataBytes;var p=8*i.sigBytes;o[p>>>5]|=128<<24-p%32;o[14+(p+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);i.sigBytes=4*(o.length+1);this._process();var g=(this||r)._hash;var y=g.words;for(var w=0;w<5;w++){var _=y[w];y[w]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}return g},clone:function clone(){var clone=y.clone.call(this||r);clone._hash=(this||r)._hash.clone();return clone}});function f1(r,i,o){return r^i^o}function f2(r,i,o){return r&i|~r&o}function f3(r,i,o){return(r|~i)^o}function f4(r,i,o){return r&o|i&~o}function f5(r,i,o){return r^(i|~o)}function rotl(r,i){return r<>>32-i} /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.RIPEMD160('message'); * var hash = CryptoJS.RIPEMD160(wordArray); */u.RIPEMD160=y._createHelper(B); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacRIPEMD160(message, key); */u.HmacRIPEMD160=y._createHmacHelper(B)})(Math);return i.RIPEMD160}))},9865:function(i,o,u){(function(r,o){true;i.exports=o(u(757))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.WordArray;var g=u.Hasher;var y=o.algo;var w=[];var _=y.SHA1=g.extend({_doReset:function _doReset(){(this||r)._hash=new p.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function _doProcessBlock(i,o){var u=(this||r)._hash.words;var p=u[0];var g=u[1];var y=u[2];var _=u[3];var x=u[4];for(var k=0;k<80;k++){if(k<16)w[k]=0|i[o+k];else{var P=w[k-3]^w[k-8]^w[k-14]^w[k-16];w[k]=P<<1|P>>>31}var I=(p<<5|p>>>27)+x+w[k];I+=k<20?1518500249+(g&y|~g&_):k<40?1859775393+(g^y^_):k<60?(g&y|g&_|y&_)-1894007588:(g^y^_)-899497514;x=_;_=y;y=g<<30|g>>>2;g=p;p=I}u[0]=u[0]+p|0;u[1]=u[1]+g|0;u[2]=u[2]+y|0;u[3]=u[3]+_|0;u[4]=u[4]+x|0},_doFinalize:function _doFinalize(){var i=(this||r)._data;var o=i.words;var u=8*(this||r)._nDataBytes;var p=8*i.sigBytes;o[p>>>5]|=128<<24-p%32;o[14+(p+64>>>9<<4)]=Math.floor(u/4294967296);o[15+(p+64>>>9<<4)]=u;i.sigBytes=4*o.length;this._process();return(this||r)._hash},clone:function clone(){var clone=g.clone.call(this||r);clone._hash=(this||r)._hash.clone();return clone}}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA1('message'); * var hash = CryptoJS.SHA1(wordArray); */o.SHA1=g._createHelper(_); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA1(message, key); */o.HmacSHA1=g._createHmacHelper(_)})();return i.SHA1}))},6876:function(i,o,u){(function(r,o,p){true;i.exports=o(u(757),u(8921))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.WordArray;var g=o.algo;var y=g.SHA256;var w=g.SHA224=y.extend({_doReset:function _doReset(){(this||r)._hash=new p.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function _doFinalize(){var i=y._doFinalize.call(this||r);i.sigBytes-=4;return i}}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA224('message'); * var hash = CryptoJS.SHA224(wordArray); */o.SHA224=y._createHelper(w); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA224(message, key); */o.HmacSHA224=y._createHmacHelper(w)})();return i.SHA224}))},8921:function(i,o,u){u(7042);(function(r,o){true;i.exports=o(u(757))})(0,(function(i){(function(o){var u=i;var p=u.lib;var g=p.WordArray;var y=p.Hasher;var w=u.algo;var _=[];var x=[];(function(){function isPrime(r){var i=o.sqrt(r);for(var u=2;u<=i;u++)if(!(r%u))return false;return true}function getFractionalBits(r){return 4294967296*(r-(0|r))|0}var r=2;var i=0;while(i<64){if(isPrime(r)){i<8&&(_[i]=getFractionalBits(o.pow(r,.5)));x[i]=getFractionalBits(o.pow(r,1/3));i++}r++}})();var k=[];var P=w.SHA256=y.extend({_doReset:function _doReset(){(this||r)._hash=new g.init(_.slice(0))},_doProcessBlock:function _doProcessBlock(i,o){var u=(this||r)._hash.words;var p=u[0];var g=u[1];var y=u[2];var w=u[3];var _=u[4];var P=u[5];var I=u[6];var O=u[7];for(var B=0;B<64;B++){if(B<16)k[B]=0|i[o+B];else{var R=k[B-15];var D=(R<<25|R>>>7)^(R<<14|R>>>18)^R>>>3;var N=k[B-2];var W=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;k[B]=D+k[B-7]+W+k[B-16]}var U=_&P^~_&I;var j=p&g^p&y^g&y;var G=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22);var X=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25);var K=O+X+U+x[B]+k[B];var Y=G+j;O=I;I=P;P=_;_=w+K|0;w=y;y=g;g=p;p=K+Y|0}u[0]=u[0]+p|0;u[1]=u[1]+g|0;u[2]=u[2]+y|0;u[3]=u[3]+w|0;u[4]=u[4]+_|0;u[5]=u[5]+P|0;u[6]=u[6]+I|0;u[7]=u[7]+O|0},_doFinalize:function _doFinalize(){var i=(this||r)._data;var u=i.words;var p=8*(this||r)._nDataBytes;var g=8*i.sigBytes;u[g>>>5]|=128<<24-g%32;u[14+(g+64>>>9<<4)]=o.floor(p/4294967296);u[15+(g+64>>>9<<4)]=p;i.sigBytes=4*u.length;this._process();return(this||r)._hash},clone:function clone(){var clone=y.clone.call(this||r);clone._hash=(this||r)._hash.clone();return clone}}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA256('message'); * var hash = CryptoJS.SHA256(wordArray); */u.SHA256=y._createHelper(P); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA256(message, key); */u.HmacSHA256=y._createHmacHelper(P)})(Math);return i.SHA256}))},8342:function(i,o,u){u(7042);(function(r,o,p){true;i.exports=o(u(757),u(2601))})(0,(function(i){(function(o){var u=i;var p=u.lib;var g=p.WordArray;var y=p.Hasher;var w=u.x64;var _=w.Word;var x=u.algo;var k=[];var P=[];var I=[];(function(){var r=1,i=0;for(var o=0;o<24;o++){k[r+5*i]=(o+1)*(o+2)/2%64;var u=i%5;var p=(2*r+3*i)%5;r=u;i=p}for(r=0;r<5;r++)for(i=0;i<5;i++)P[r+5*i]=i+(2*r+3*i)%5*5;var g=1;for(var y=0;y<24;y++){var w=0;var x=0;for(var O=0;O<7;O++){if(1&g){var B=(1<>>24)|4278255360&(y<<24|y>>>8);w=16711935&(w<<8|w>>>24)|4278255360&(w<<24|w>>>8);var _=u[g];_.high^=w;_.low^=y}for(var x=0;x<24;x++){for(var B=0;B<5;B++){var R=0,D=0;for(var N=0;N<5;N++){_=u[B+5*N];R^=_.high;D^=_.low}var W=O[B];W.high=R;W.low=D}for(B=0;B<5;B++){var U=O[(B+4)%5];var j=O[(B+1)%5];var G=j.high;var X=j.low;R=U.high^(G<<1|X>>>31);D=U.low^(X<<1|G>>>31);for(N=0;N<5;N++){_=u[B+5*N];_.high^=R;_.low^=D}}for(var K=1;K<25;K++){_=u[K];var Y=_.high;var J=_.low;var $=k[K];if($<32){R=Y<<$|J>>>32-$;D=J<<$|Y>>>32-$}else{R=J<<$-32|Y>>>64-$;D=Y<<$-32|J>>>64-$}var ee=O[P[K]];ee.high=R;ee.low=D}var te=O[0];var re=u[0];te.high=re.high;te.low=re.low;for(B=0;B<5;B++)for(N=0;N<5;N++){K=B+5*N;_=u[K];var ne=O[K];var ae=O[(B+1)%5+5*N];var ie=O[(B+2)%5+5*N];_.high=ne.high^~ae.high&ie.high;_.low=ne.low^~ae.low&ie.low}_=u[0];var oe=I[x];_.high^=oe.high;_.low^=oe.low}},_doFinalize:function _doFinalize(){var i=(this||r)._data;var u=i.words;(this||r)._nDataBytes;var p=8*i.sigBytes;var y=32*(this||r).blockSize;u[p>>>5]|=1<<24-p%32;u[(o.ceil((p+1)/y)*y>>>5)-1]|=128;i.sigBytes=4*u.length;this._process();var w=(this||r)._state;var _=(this||r).cfg.outputLength/8;var x=_/8;var k=[];for(var P=0;P>>24)|4278255360&(O<<24|O>>>8);B=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8);k.push(B);k.push(O)}return new g.init(k,_)},clone:function clone(){var clone=y.clone.call(this||r);var i=clone._state=(this||r)._state.slice(0);for(var o=0;o<25;o++)i[o]=i[o].clone();return clone}}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA3('message'); * var hash = CryptoJS.SHA3(wordArray); */u.SHA3=y._createHelper(B); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA3(message, key); */u.HmacSHA3=y._createHmacHelper(B)})(Math);return i.SHA3}))},8122:function(i,o,u){(function(r,o,p){true;i.exports=o(u(757),u(2601),u(7991))})(0,(function(i){(function(){var o=i;var u=o.x64;var p=u.Word;var g=u.WordArray;var y=o.algo;var w=y.SHA512;var _=y.SHA384=w.extend({_doReset:function _doReset(){(this||r)._hash=new g.init([new p.init(3418070365,3238371032),new p.init(1654270250,914150663),new p.init(2438529370,812702999),new p.init(355462360,4144912697),new p.init(1731405415,4290775857),new p.init(2394180231,1750603025),new p.init(3675008525,1694076839),new p.init(1203062813,3204075428)])},_doFinalize:function _doFinalize(){var i=w._doFinalize.call(this||r);i.sigBytes-=16;return i}}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA384('message'); * var hash = CryptoJS.SHA384(wordArray); */o.SHA384=w._createHelper(_); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA384(message, key); */o.HmacSHA384=w._createHmacHelper(_)})();return i.SHA384}))},7991:function(i,o,u){(function(r,o,p){true;i.exports=o(u(757),u(2601))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.Hasher;var g=o.x64;var y=g.Word;var w=g.WordArray;var _=o.algo;function X64Word_create(){return y.create.apply(y,arguments)}var x=[X64Word_create(1116352408,3609767458),X64Word_create(1899447441,602891725),X64Word_create(3049323471,3964484399),X64Word_create(3921009573,2173295548),X64Word_create(961987163,4081628472),X64Word_create(1508970993,3053834265),X64Word_create(2453635748,2937671579),X64Word_create(2870763221,3664609560),X64Word_create(3624381080,2734883394),X64Word_create(310598401,1164996542),X64Word_create(607225278,1323610764),X64Word_create(1426881987,3590304994),X64Word_create(1925078388,4068182383),X64Word_create(2162078206,991336113),X64Word_create(2614888103,633803317),X64Word_create(3248222580,3479774868),X64Word_create(3835390401,2666613458),X64Word_create(4022224774,944711139),X64Word_create(264347078,2341262773),X64Word_create(604807628,2007800933),X64Word_create(770255983,1495990901),X64Word_create(1249150122,1856431235),X64Word_create(1555081692,3175218132),X64Word_create(1996064986,2198950837),X64Word_create(2554220882,3999719339),X64Word_create(2821834349,766784016),X64Word_create(2952996808,2566594879),X64Word_create(3210313671,3203337956),X64Word_create(3336571891,1034457026),X64Word_create(3584528711,2466948901),X64Word_create(113926993,3758326383),X64Word_create(338241895,168717936),X64Word_create(666307205,1188179964),X64Word_create(773529912,1546045734),X64Word_create(1294757372,1522805485),X64Word_create(1396182291,2643833823),X64Word_create(1695183700,2343527390),X64Word_create(1986661051,1014477480),X64Word_create(2177026350,1206759142),X64Word_create(2456956037,344077627),X64Word_create(2730485921,1290863460),X64Word_create(2820302411,3158454273),X64Word_create(3259730800,3505952657),X64Word_create(3345764771,106217008),X64Word_create(3516065817,3606008344),X64Word_create(3600352804,1432725776),X64Word_create(4094571909,1467031594),X64Word_create(275423344,851169720),X64Word_create(430227734,3100823752),X64Word_create(506948616,1363258195),X64Word_create(659060556,3750685593),X64Word_create(883997877,3785050280),X64Word_create(958139571,3318307427),X64Word_create(1322822218,3812723403),X64Word_create(1537002063,2003034995),X64Word_create(1747873779,3602036899),X64Word_create(1955562222,1575990012),X64Word_create(2024104815,1125592928),X64Word_create(2227730452,2716904306),X64Word_create(2361852424,442776044),X64Word_create(2428436474,593698344),X64Word_create(2756734187,3733110249),X64Word_create(3204031479,2999351573),X64Word_create(3329325298,3815920427),X64Word_create(3391569614,3928383900),X64Word_create(3515267271,566280711),X64Word_create(3940187606,3454069534),X64Word_create(4118630271,4000239992),X64Word_create(116418474,1914138554),X64Word_create(174292421,2731055270),X64Word_create(289380356,3203993006),X64Word_create(460393269,320620315),X64Word_create(685471733,587496836),X64Word_create(852142971,1086792851),X64Word_create(1017036298,365543100),X64Word_create(1126000580,2618297676),X64Word_create(1288033470,3409855158),X64Word_create(1501505948,4234509866),X64Word_create(1607167915,987167468),X64Word_create(1816402316,1246189591)];var k=[];(function(){for(var r=0;r<80;r++)k[r]=X64Word_create()})();var P=_.SHA512=p.extend({_doReset:function _doReset(){(this||r)._hash=new w.init([new y.init(1779033703,4089235720),new y.init(3144134277,2227873595),new y.init(1013904242,4271175723),new y.init(2773480762,1595750129),new y.init(1359893119,2917565137),new y.init(2600822924,725511199),new y.init(528734635,4215389547),new y.init(1541459225,327033209)])},_doProcessBlock:function _doProcessBlock(i,o){var u=(this||r)._hash.words;var p=u[0];var g=u[1];var y=u[2];var w=u[3];var _=u[4];var P=u[5];var I=u[6];var O=u[7];var B=p.high;var R=p.low;var D=g.high;var N=g.low;var W=y.high;var U=y.low;var j=w.high;var G=w.low;var X=_.high;var K=_.low;var Y=P.high;var J=P.low;var $=I.high;var ee=I.low;var te=O.high;var re=O.low;var ne=B;var ae=R;var ie=D;var oe=N;var se=W;var le=U;var ue=j;var ce=G;var fe=X;var he=K;var de=Y;var ve=J;var pe=$;var ge=ee;var ye=te;var me=re;for(var be=0;be<80;be++){var we;var _e;var Se=k[be];if(be<16){_e=Se.high=0|i[o+2*be];we=Se.low=0|i[o+2*be+1]}else{var xe=k[be-15];var Ce=xe.high;var ke=xe.low;var Pe=(Ce>>>1|ke<<31)^(Ce>>>8|ke<<24)^Ce>>>7;var Ae=(ke>>>1|Ce<<31)^(ke>>>8|Ce<<24)^(ke>>>7|Ce<<25);var Ee=k[be-2];var Te=Ee.high;var Ie=Ee.low;var Oe=(Te>>>19|Ie<<13)^(Te<<3|Ie>>>29)^Te>>>6;var Be=(Ie>>>19|Te<<13)^(Ie<<3|Te>>>29)^(Ie>>>6|Te<<26);var Le=k[be-7];var Fe=Le.high;var Re=Le.low;var De=k[be-16];var Me=De.high;var Ne=De.low;we=Ae+Re;_e=Pe+Fe+(we>>>0>>0?1:0);we+=Be;_e=_e+Oe+(we>>>0>>0?1:0);we+=Ne;_e=_e+Me+(we>>>0>>0?1:0);Se.high=_e;Se.low=we}var We=fe&de^~fe&pe;var Ue=he&ve^~he≥var ze=ne&ie^ne&se^ie&se;var je=ae&oe^ae&le^oe≤var Ge=(ne>>>28|ae<<4)^(ne<<30|ae>>>2)^(ne<<25|ae>>>7);var Ve=(ae>>>28|ne<<4)^(ae<<30|ne>>>2)^(ae<<25|ne>>>7);var He=(fe>>>14|he<<18)^(fe>>>18|he<<14)^(fe<<23|he>>>9);var qe=(he>>>14|fe<<18)^(he>>>18|fe<<14)^(he<<23|fe>>>9);var Xe=x[be];var Ze=Xe.high;var Ke=Xe.low;var Ye=me+qe;var Je=ye+He+(Ye>>>0>>0?1:0);Ye=Ye+Ue;Je=Je+We+(Ye>>>0>>0?1:0);Ye=Ye+Ke;Je=Je+Ze+(Ye>>>0>>0?1:0);Ye=Ye+we;Je=Je+_e+(Ye>>>0>>0?1:0);var Qe=Ve+je;var $e=Ge+ze+(Qe>>>0>>0?1:0);ye=pe;me=ge;pe=de;ge=ve;de=fe;ve=he;he=ce+Ye|0;fe=ue+Je+(he>>>0>>0?1:0)|0;ue=se;ce=le;se=ie;le=oe;ie=ne;oe=ae;ae=Ye+Qe|0;ne=Je+$e+(ae>>>0>>0?1:0)|0}R=p.low=R+ae;p.high=B+ne+(R>>>0>>0?1:0);N=g.low=N+oe;g.high=D+ie+(N>>>0>>0?1:0);U=y.low=U+le;y.high=W+se+(U>>>0>>0?1:0);G=w.low=G+ce;w.high=j+ue+(G>>>0>>0?1:0);K=_.low=K+he;_.high=X+fe+(K>>>0>>0?1:0);J=P.low=J+ve;P.high=Y+de+(J>>>0>>0?1:0);ee=I.low=ee+ge;I.high=$+pe+(ee>>>0>>0?1:0);re=O.low=re+me;O.high=te+ye+(re>>>0>>0?1:0)},_doFinalize:function _doFinalize(){var i=(this||r)._data;var o=i.words;var u=8*(this||r)._nDataBytes;var p=8*i.sigBytes;o[p>>>5]|=128<<24-p%32;o[30+(p+128>>>10<<5)]=Math.floor(u/4294967296);o[31+(p+128>>>10<<5)]=u;i.sigBytes=4*o.length;this._process();var g=(this||r)._hash.toX32();return g},clone:function clone(){var clone=p.clone.call(this||r);clone._hash=(this||r)._hash.clone();return clone},blockSize:32}); /** * Shortcut function to the hasher's object interface. * * @param {WordArray|string} message The message to hash. * * @return {WordArray} The hash. * * @static * * @example * * var hash = CryptoJS.SHA512('message'); * var hash = CryptoJS.SHA512(wordArray); */o.SHA512=p._createHelper(P); /** * Shortcut function to the HMAC's object interface. * * @param {WordArray|string} message The message to hash. * @param {WordArray|string} key The secret key. * * @return {WordArray} The HMAC. * * @static * * @example * * var hmac = CryptoJS.HmacSHA512(message, key); */o.HmacSHA512=p._createHmacHelper(P)})();return i.SHA512}))},8437:function(i,o,u){u(7042);(function(r,o,p){true;i.exports=o(u(757),u(7508),u(3440),u(3839),u(1582))})(0,(function(i){(function(){var o=i;var u=o.lib;var p=u.WordArray;var g=u.BlockCipher;var y=o.algo;var w=[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];var _=[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];var x=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28];var k=[{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}];var P=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679];var I=y.DES=g.extend({_doReset:function _doReset(){var i=(this||r)._key;var o=i.words;var u=[];for(var p=0;p<56;p++){var g=w[p]-1;u[p]=o[g>>>5]>>>31-g%32&1}var y=(this||r)._subKeys=[];for(var k=0;k<16;k++){var P=y[k]=[];var I=x[k];for(p=0;p<24;p++){P[p/6|0]|=u[(_[p]-1+I)%28]<<31-p%6;P[4+(p/6|0)]|=u[28+(_[p+24]-1+I)%28]<<31-p%6}P[0]=P[0]<<1|P[0]>>>31;for(p=1;p<7;p++)P[p]=P[p]>>>4*(p-1)+3;P[7]=P[7]<<5|P[7]>>>27}var O=(this||r)._invSubKeys=[];for(p=0;p<16;p++)O[p]=y[15-p]},encryptBlock:function encryptBlock(i,o){this._doCryptBlock(i,o,(this||r)._subKeys)},decryptBlock:function decryptBlock(i,o){this._doCryptBlock(i,o,(this||r)._invSubKeys)},_doCryptBlock:function _doCryptBlock(i,o,u){(this||r)._lBlock=i[o];(this||r)._rBlock=i[o+1];exchangeLR.call(this||r,4,252645135);exchangeLR.call(this||r,16,65535);exchangeRL.call(this||r,2,858993459);exchangeRL.call(this||r,8,16711935);exchangeLR.call(this||r,1,1431655765);for(var p=0;p<16;p++){var g=u[p];var y=(this||r)._lBlock;var w=(this||r)._rBlock;var _=0;for(var x=0;x<8;x++)_|=k[x][((w^g[x])&P[x])>>>0];(this||r)._lBlock=w;(this||r)._rBlock=y^_}var I=(this||r)._lBlock;(this||r)._lBlock=(this||r)._rBlock;(this||r)._rBlock=I;exchangeLR.call(this||r,1,1431655765);exchangeRL.call(this||r,8,16711935);exchangeRL.call(this||r,2,858993459);exchangeLR.call(this||r,16,65535);exchangeLR.call(this||r,4,252645135);i[o]=(this||r)._lBlock;i[o+1]=(this||r)._rBlock},keySize:2,ivSize:2,blockSize:2});function exchangeLR(i,o){var u=((this||r)._lBlock>>>i^(this||r)._rBlock)&o;(this||r)._rBlock^=u;(this||r)._lBlock^=u<>>i^(this||r)._lBlock)&o;(this||r)._lBlock^=u;(this||r)._rBlock^=u<192.");var u=o.slice(0,2);var g=o.length<4?o.slice(0,2):o.slice(2,4);var y=o.length<6?o.slice(0,2):o.slice(4,6);(this||r)._des1=I.createEncryptor(p.create(u));(this||r)._des2=I.createEncryptor(p.create(g));(this||r)._des3=I.createEncryptor(p.create(y))},encryptBlock:function encryptBlock(i,o){(this||r)._des1.encryptBlock(i,o);(this||r)._des2.decryptBlock(i,o);(this||r)._des3.encryptBlock(i,o)},decryptBlock:function decryptBlock(i,o){(this||r)._des3.decryptBlock(i,o);(this||r)._des2.encryptBlock(i,o);(this||r)._des1.decryptBlock(i,o)},keySize:6,ivSize:2,blockSize:2});o.TripleDES=g._createHelper(O)})();return i.TripleDES}))},2601:function(i,o,u){u(7042);(function(r,o){true;i.exports=o(u(757))})(0,(function(i){(function(o){var u=i;var p=u.lib;var g=p.Base;var y=p.WordArray;var w=u.x64={};w.Word=g.extend({ /** * Initializes a newly created 64-bit word. * * @param {number} high The high 32 bits. * @param {number} low The low 32 bits. * * @example * * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607); */ init:function init(i,o){(this||r).high=i;(this||r).low=o} /** * Bitwise ANDs this word with the passed word. * * @param {X64Word} word The x64-Word to AND with this word. * * @return {X64Word} A new x64-Word object after ANDing. * * @example * * var anded = x64Word.and(anotherX64Word); */ /** * Bitwise ORs this word with the passed word. * * @param {X64Word} word The x64-Word to OR with this word. * * @return {X64Word} A new x64-Word object after ORing. * * @example * * var ored = x64Word.or(anotherX64Word); */ /** * Bitwise XORs this word with the passed word. * * @param {X64Word} word The x64-Word to XOR with this word. * * @return {X64Word} A new x64-Word object after XORing. * * @example * * var xored = x64Word.xor(anotherX64Word); */ /** * Shifts this word n bits to the left. * * @param {number} n The number of bits to shift. * * @return {X64Word} A new x64-Word object after shifting. * * @example * * var shifted = x64Word.shiftL(25); */ /** * Shifts this word n bits to the right. * * @param {number} n The number of bits to shift. * * @return {X64Word} A new x64-Word object after shifting. * * @example * * var shifted = x64Word.shiftR(7); */ /** * Rotates this word n bits to the left. * * @param {number} n The number of bits to rotate. * * @return {X64Word} A new x64-Word object after rotating. * * @example * * var rotated = x64Word.rotL(25); */ /** * Rotates this word n bits to the right. * * @param {number} n The number of bits to rotate. * * @return {X64Word} A new x64-Word object after rotating. * * @example * * var rotated = x64Word.rotR(7); */ /** * Adds this word with the passed word. * * @param {X64Word} word The x64-Word to add with this word. * * @return {X64Word} A new x64-Word object after adding. * * @example * * var added = x64Word.add(anotherX64Word); */});w.WordArray=g.extend({ /** * Initializes a newly created word array. * * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects. * @param {number} sigBytes (Optional) The number of significant bytes in the words. * * @example * * var wordArray = CryptoJS.x64.WordArray.create(); * * var wordArray = CryptoJS.x64.WordArray.create([ * CryptoJS.x64.Word.create(0x00010203, 0x04050607), * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f) * ]); * * var wordArray = CryptoJS.x64.WordArray.create([ * CryptoJS.x64.Word.create(0x00010203, 0x04050607), * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f) * ], 10); */ init:function init(i,u){i=(this||r).words=i||[];(this||r).sigBytes=u!=o?u:8*i.length},toX32:function toX32(){var i=(this||r).words;var o=i.length;var u=[];for(var p=0;p=r.length?{done:true}:{done:false,value:r[u++]}}}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 _unsupportedIterableToArray(r,i){if(r){if("string"===typeof r)return _arrayLikeToArray(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);"Object"===o&&r.constructor&&(o=r.constructor.name);return"Map"===o||"Set"===o?Array.from(r):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(r,i):void 0}}function _arrayLikeToArray(r,i){(null==i||i>r.length)&&(i=r.length);for(var o=0,u=new Array(i);o=o)){k.next=13;break}k.next=13;return[o,y,u.tags[w]];case 13:r=u.stateTable[p][x];o=null;case 15:r!==g&&null==o&&(o=_);u.accepting[r]&&(y=_);r===g&&(r=p);case 18:_++;k.next=5;break;case 21:if(!(null!=o&&null!=y&&y>=o)){k.next=24;break}k.next=24;return[o,y,u.tags[r]];case 24:case"end":return k.stop()}}),_callee)})),o};i.apply=function apply(r,i){for(var o,u=_createForOfIteratorHelperLoose(this.match(r));!(o=u()).done;){var p=o.value,g=p[0],y=p[1],w=p[2];for(var _,x=_createForOfIteratorHelperLoose(w);!(_=x()).done;){var k=_.value;"function"===typeof i[k]&&i[k](g,y,r.slice(g,y+1))}}};return StateMachine}();i.exports=y},8478:function(i,o,u){var p=u(8823).Buffer;u(7042);u(6699);var g=u(3857);var y=u(2635);i.exports=function(){PNG.decode=function decode(r,i){return g.readFile(r,(function(r,o){var u=new PNG(o);return u.decode((function(r){return i(r)}))}))};PNG.load=function load(r){var i=g.readFileSync(r);return new PNG(i)};function PNG(i){var o;(this||r).data=i;(this||r).pos=8;(this||r).palette=[];(this||r).imgData=[];(this||r).transparency={};(this||r).text={};while(true){var u=this.readUInt32();var g="";for(o=0;o<4;o++)g+=String.fromCharCode((this||r).data[(this||r).pos++]);switch(g){case"IHDR":(this||r).width=this.readUInt32();(this||r).height=this.readUInt32();(this||r).bits=(this||r).data[(this||r).pos++];(this||r).colorType=(this||r).data[(this||r).pos++];(this||r).compressionMethod=(this||r).data[(this||r).pos++];(this||r).filterMethod=(this||r).data[(this||r).pos++];(this||r).interlaceMethod=(this||r).data[(this||r).pos++];break;case"PLTE":(this||r).palette=this.read(u);break;case"IDAT":for(o=0;o0)for(o=0;o(this||r).data.length)throw new Error("Incomplete or corrupt PNG file")}}var i=PNG.prototype;i.read=function read(i){var o=new Array(i);for(var u=0;u=2*(1<<30))throw new RangeError('The value "'+r+'" is invalid for option "size"');var u=g(r);i&&0!==i.length?"string"===typeof o?u.fill(i,o):u.fill(i):u.fill(0);return u});if(!y.kStringMaxLength)try{y.kStringMaxLength=u.binding("buffer").kStringMaxLength}catch(r){}if(!y.constants){y.constants={MAX_LENGTH:y.kMaxLength};y.kStringMaxLength&&(y.constants.MAX_STRING_LENGTH=y.kStringMaxLength)}r.exports=y},3361:function(i,o,u){u(7941);u(2526);u(7327);u(1539);u(5003);u(4747);u(9337);u(7042);function ownKeys(r,i){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);i&&(u=u.filter((function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})));o.push.apply(o,u)}return o}function _objectSpread(r){for(var i=1;i0?(this||r).tail.next=o:(this||r).head=o;(this||r).tail=o;++(this||r).length}},{key:"unshift",value:function unshift(i){var o={data:i,next:(this||r).head};0===(this||r).length&&((this||r).tail=o);(this||r).head=o;++(this||r).length}},{key:"shift",value:function shift(){if(0!==(this||r).length){var i=(this||r).head.data;1===(this||r).length?(this||r).head=(this||r).tail=null:(this||r).head=(this||r).head.next;--(this||r).length;return i}}},{key:"clear",value:function clear(){(this||r).head=(this||r).tail=null;(this||r).length=0}},{key:"join",value:function join(i){if(0===(this||r).length)return"";var o=(this||r).head;var u=""+o.data;while(o=o.next)u+=i+o.data;return u}},{key:"concat",value:function concat(i){if(0===(this||r).length)return g.alloc(0);var o=g.allocUnsafe(i>>>0);var u=(this||r).head;var p=0;while(u){copyBuffer(u.data,o,p);p+=u.data.length;u=u.next}return o}},{key:"consume",value:function consume(i,o){var u;if(i<(this||r).head.data.length){u=(this||r).head.data.slice(0,i);(this||r).head.data=(this||r).head.data.slice(i)}else u=i===(this||r).head.data.length?this.shift():o?this._getString(i):this._getBuffer(i);return u}},{key:"first",value:function first(){return(this||r).head.data}},{key:"_getString",value:function _getString(i){var o=(this||r).head;var u=1;var p=o.data;i-=p.length;while(o=o.next){var g=o.data;var y=i>g.length?g.length:i;y===g.length?p+=g:p+=g.slice(0,i);i-=y;if(0===i){if(y===g.length){++u;o.next?(this||r).head=o.next:(this||r).head=(this||r).tail=null}else{(this||r).head=o;o.data=g.slice(y)}break}++u}(this||r).length-=u;return p}},{key:"_getBuffer",value:function _getBuffer(i){var o=g.allocUnsafe(i);var u=(this||r).head;var p=1;u.data.copy(o);i-=u.data.length;while(u=u.next){var y=u.data;var w=i>y.length?y.length:i;y.copy(o,o.length-i,0,w);i-=w;if(0===i){if(w===y.length){++p;u.next?(this||r).head=u.next:(this||r).head=(this||r).tail=null}else{(this||r).head=u;u.data=y.slice(w)}break}++p}(this||r).length-=p;return o}},{key:_,value:function value(i,o){return w(this||r,_objectSpread({},o,{depth:0,customInspect:false}))}}]);return BufferList}()},1680:function(i,o,u){var p="/";var g=u(8823).Buffer;Object.defineProperty(o,"__esModule",{value:true});o.default=void 0;u(7941);u(2526);u(7327);u(1539);u(5003);u(4747);u(9337);u(489);u(2419);u(1817);u(2165);u(6992);u(8783);u(3948);u(1038);u(7042);u(8309);u(4916);u(2707);u(2222);u(9600);u(9714);u(5306);u(1249);u(9841);u(4953);u(6977);u(6699);u(5192);u(9653);u(3123);u(4723);u(8734);u(2472);u(2990);u(8927);u(3105);u(5035);u(4345);u(7174);u(2846);u(4731);u(7209);u(6319);u(8867);u(7789);u(3739);u(9368);u(4483);u(2056);u(3462);u(678);u(7462);u(3824);u(5021);u(2974);u(5016);u(7803);u(3290);u(9601);u(3210);u(9254);u(7397);var y=_interopRequireDefault(u(2830));var w=_interopRequireDefault(u(2635));var _=_interopRequireDefault(u(5153));var x=_interopRequireDefault(u(1917));var k=u(7187);var P=_interopRequireDefault(u(7337));var I=_interopRequireDefault(u(8478));function _interopRequireDefault(r){return r&&r.__esModule?r:{default:r}}var O=u(3857);function _classCallCheck(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function _defineProperties(r,i){for(var o=0;or.length)&&(i=r.length);for(var o=0,u=new Array(i);o=r.length?{done:true}:{done:false,value:r[u++]}},e:function e(r){throw r},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,y=true,w=false;return{s:function s(){o=r[Symbol.iterator]()},n:function n(){var r=o.next();y=r.done;return r},e:function e(r){w=true;g=r},f:function f(){try{y||null==o.return||o.return()}finally{if(w)throw g}}}}var B=function(){function PDFAbstractReference(){_classCallCheck(this||r,PDFAbstractReference)}_createClass(PDFAbstractReference,[{key:"toString",value:function toString(){throw new Error("Must be implemented by subclasses")}}]);return PDFAbstractReference}();var R=function(){function PDFTree(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this||r,PDFTree);(this||r)._items={};(this||r).limits="boolean"!==typeof i.limits||i.limits}_createClass(PDFTree,[{key:"add",value:function add(i,o){return(this||r)._items[i]=o}},{key:"get",value:function get(i){return(this||r)._items[i]}},{key:"toString",value:function toString(){var i=this||r;var o=Object.keys((this||r)._items).sort((function(r,o){return i._compareKeys(r,o)}));var u=["<<"];if((this||r).limits&&o.length>1){var p=o[0],g=o[o.length-1];u.push(" /Limits ".concat(j.convert([this._dataForKey(p),this._dataForKey(g)])))}u.push(" /".concat(this._keysName()," ["));var y,w=_createForOfIteratorHelper(o);try{for(w.s();!(y=w.n()).done;){var _=y.value;u.push(" ".concat(j.convert(this._dataForKey(_))," ").concat(j.convert((this||r)._items[_])))}}catch(r){w.e(r)}finally{w.f()}u.push("]");u.push(">>");return u.join("\n")}},{key:"_compareKeys",value:function _compareKeys(){throw new Error("Must be implemented by subclasses")}},{key:"_keysName",value:function _keysName(){throw new Error("Must be implemented by subclasses")}},{key:"_dataForKey",value:function _dataForKey(){throw new Error("Must be implemented by subclasses")}}]);return PDFTree}();var D=function pad(r,i){return(Array(i+1).join("0")+r).slice(-i)};var N=/[\n\r\t\b\f()\\]/g;var W={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"};var U=function swapBytes(r){var i=r.length;if(1&i)throw new Error("Buffer length must be even");for(var o=0,u=i-1;o1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof r)return"/".concat(r);if(r instanceof String){var o=r;var u=false;for(var p=0,y=o.length;p127){u=true;break}var w;w=u?U(g.from("\ufeff".concat(o),"utf16le")):g.from(o.valueOf(),"ascii");o=i?i(w).toString("binary"):w.toString("binary");o=o.replace(N,(function(r){return W[r]}));return"(".concat(o,")")}if(g.isBuffer(r))return"<".concat(r.toString("hex"),">");if(r instanceof B||r instanceof R)return r.toString();if(r instanceof Date){var _="D:".concat(D(r.getUTCFullYear(),4))+D(r.getUTCMonth()+1,2)+D(r.getUTCDate(),2)+D(r.getUTCHours(),2)+D(r.getUTCMinutes(),2)+D(r.getUTCSeconds(),2)+"Z";if(i){_=i(g.from(_,"ascii")).toString("binary");_=_.replace(N,(function(r){return W[r]}))}return"(".concat(_,")")}if(Array.isArray(r)){var x=r.map((function(r){return PDFObject.convert(r,i)})).join(" ");return"[".concat(x,"]")}if("[object Object]"==={}.toString.call(r)){var k=["<<"];for(var P in r){var I=r[P];k.push("/".concat(P," ").concat(PDFObject.convert(I,i)))}k.push(">>");return k.join("\n")}return"number"===typeof r?PDFObject.number(r):"".concat(r)}},{key:"number",value:function number(r){if(r>-1e21&&r<1e21)return Math.round(1e6*r)/1e6;throw new Error("unsupported number: ".concat(r))}}]);return PDFObject}();var G=function(i){_inherits(PDFReference,i);var o=_createSuper(PDFReference);function PDFReference(i,u){var p;var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this||r,PDFReference);p=o.call(this||r);p.document=i;p.id=u;p.data=g;p.gen=0;p.compress=p.document.compress&&!p.data.Filter;p.uncompressedLength=0;p.buffer=[];return p}_createClass(PDFReference,[{key:"write",value:function write(i){g.isBuffer(i)||(i=g.from(i+"\n","binary"));(this||r).uncompressedLength+=i.length;null==(this||r).data.Length&&((this||r).data.Length=0);(this||r).buffer.push(i);(this||r).data.Length+=i.length;if((this||r).compress)return(this||r).data.Filter="FlateDecode"}},{key:"end",value:function end(r){r&&this.write(r);return this.finalize()}},{key:"finalize",value:function finalize(){(this||r).offset=(this||r).document._offset;var i=(this||r).document._security?(this||r).document._security.getEncryptFn((this||r).id,(this||r).gen):null;if((this||r).buffer.length){(this||r).buffer=g.concat((this||r).buffer);(this||r).compress&&((this||r).buffer=w.default.deflateSync((this||r).buffer));i&&((this||r).buffer=i((this||r).buffer));(this||r).data.Length=(this||r).buffer.length}(this||r).document._write("".concat((this||r).id," ").concat((this||r).gen," obj"));(this||r).document._write(j.convert((this||r).data,i));if((this||r).buffer.length){(this||r).document._write("stream");(this||r).document._write((this||r).buffer);(this||r).buffer=[];(this||r).document._write("\nendstream")}(this||r).document._write("endobj");(this||r).document._refEnd(this||r)}},{key:"toString",value:function toString(){return"".concat((this||r).id," ").concat((this||r).gen," R")}}]);return PDFReference}(B);var X={top:72,left:72,bottom:72,right:72};var K={"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]};var Y=function(){function PDFPage(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this||r,PDFPage);(this||r).document=i;(this||r).size=o.size||"letter";(this||r).layout=o.layout||"portrait";"number"===typeof o.margin?(this||r).margins={top:o.margin,left:o.margin,bottom:o.margin,right:o.margin}:(this||r).margins=o.margins||X;var u=Array.isArray((this||r).size)?(this||r).size:K[(this||r).size.toUpperCase()];(this||r).width=u["portrait"===(this||r).layout?0:1];(this||r).height=u["portrait"===(this||r).layout?1:0];(this||r).content=(this||r).document.ref();(this||r).resources=(this||r).document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]});(this||r).dictionary=(this||r).document.ref({Type:"Page",Parent:(this||r).document._root.data.Pages,MediaBox:[0,0,(this||r).width,(this||r).height],Contents:(this||r).content,Resources:(this||r).resources});(this||r).markings=[]}_createClass(PDFPage,[{key:"maxY",value:function maxY(){return(this||r).height-(this||r).margins.bottom}},{key:"write",value:function write(i){return(this||r).content.write(i)}},{key:"end",value:function end(){(this||r).dictionary.end();(this||r).resources.end();return(this||r).content.end()}},{key:"fonts",get:function get(){var i=(this||r).resources.data;return null!=i.Font?i.Font:i.Font={}}},{key:"xobjects",get:function get(){var i=(this||r).resources.data;return null!=i.XObject?i.XObject:i.XObject={}}},{key:"ext_gstates",get:function get(){var i=(this||r).resources.data;return null!=i.ExtGState?i.ExtGState:i.ExtGState={}}},{key:"patterns",get:function get(){var i=(this||r).resources.data;return null!=i.Pattern?i.Pattern:i.Pattern={}}},{key:"colorSpaces",get:function get(){var i=(this||r).resources.data;return i.ColorSpace||(i.ColorSpace={})}},{key:"annotations",get:function get(){var i=(this||r).dictionary.data;return null!=i.Annots?i.Annots:i.Annots=[]}},{key:"structParentTreeKey",get:function get(){var i=(this||r).dictionary.data;return null!=i.StructParents?i.StructParents:i.StructParents=(this||r).document.createStructParentTreeNextKey()}}]);return PDFPage}();var J=function(i){_inherits(PDFNameTree,i);var o=_createSuper(PDFNameTree);function PDFNameTree(){_classCallCheck(this||r,PDFNameTree);return o.apply(this||r,arguments)}_createClass(PDFNameTree,[{key:"_compareKeys",value:function _compareKeys(r,i){return r.localeCompare(i)}},{key:"_keysName",value:function _keysName(){return"Names"}},{key:"_dataForKey",value:function _dataForKey(r){return new String(r)}}]);return PDFNameTree}(R); /** * Check if value is in a range group. * @param {number} value * @param {number[]} rangeGroup * @returns {boolean} */function inRange(r,i){if(r=i[g]&&r<=i[g+1])return true;r>i[g+1]?o=p+1:u=p-1}return false}var $=[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];var ee=function isUnassignedCodePoint(r){return inRange(r,$)};var te=[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];var re=function isCommonlyMappedToNothing(r){return inRange(r,te)};var ne=[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];var ae=function isNonASCIISpaceCharacter(r){return inRange(r,ne)};var ie=[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];var oe=[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];var se=[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];var le=function isProhibitedCharacter(r){return inRange(r,ne)||inRange(r,se)||inRange(r,ie)||inRange(r,oe)};var ue=[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];var ce=function isBidirectionalRAL(r){return inRange(r,ue)};var fe=[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];var he=function isBidirectionalL(r){return inRange(r,fe)};var de=ae;var ve=re;var pe=function getCodePoint(r){return r.codePointAt(0)};var ge=function first(r){return r[0]};var ye=function last(r){return r[r.length-1]}; /** * Convert provided string into an array of Unicode Code Points. * Based on https://stackoverflow.com/a/21409165/1556249 * and https://www.npmjs.com/package/code-point-at. * @param {string} input * @returns {number[]} */function toCodePoints(r){var i=[];var o=r.length;for(var u=0;u=55296&&p<=56319&&o>u+1){var g=r.charCodeAt(u+1);if(g>=56320&&g<=57343){i.push(1024*(p-55296)+g-56320+65536);u+=1;continue}}i.push(p)}return i} /** * SASLprep. * @param {string} input * @param {Object} opts * @param {boolean} opts.allowUnassigned * @returns {string} */function saslprep(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!==typeof r)throw new TypeError("Expected string.");if(0===r.length)return"";var o=toCodePoints(r).map((function(r){return de(r)?32:r})).filter((function(r){return!ve(r)}));var u=String.fromCodePoint.apply(null,o).normalize("NFKC");var p=toCodePoints(u);var g=p.some(le);if(g)throw new Error("Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3");if(true!==i.allowUnassigned){var y=p.some(ee);if(y)throw new Error("Unassigned code point, see https://tools.ietf.org/html/rfc4013#section-2.5")}var w=p.some(ce);var _=p.some(he);if(w&&_)throw new Error("String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6");var x=ce(pe(ge(u)));var k=ce(pe(ye(u)));if(w&&!(x&&k))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 u}var me=function(){_createClass(PDFSecurity,null,[{key:"generateFileID",value:function generateFileID(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var i="".concat(r.CreationDate.getTime(),"\n");for(var o in r)r.hasOwnProperty(o)&&(i+="".concat(o,": ").concat(r[o].valueOf(),"\n"));return wordArrayToBuffer(_.default.MD5(i))}},{key:"generateRandomWordArray",value:function generateRandomWordArray(r){return _.default.lib.WordArray.random(r)}},{key:"create",value:function create(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.ownerPassword||i.userPassword?new PDFSecurity(r,i):null}}]);function PDFSecurity(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this||r,PDFSecurity);if(!o.ownerPassword&&!o.userPassword)throw new Error("None of owner password and user password is defined.");(this||r).document=i;this._setupEncryption(o)}_createClass(PDFSecurity,[{key:"_setupEncryption",value:function _setupEncryption(i){switch(i.pdfVersion){case"1.4":case"1.5":(this||r).version=2;break;case"1.6":case"1.7":(this||r).version=4;break;case"1.7ext3":(this||r).version=5;break;default:(this||r).version=1;break}var o={Filter:"Standard"};switch((this||r).version){case 1:case 2:case 4:this._setupEncryptionV1V2V4((this||r).version,o,i);break;case 5:this._setupEncryptionV5(o,i);break}(this||r).dictionary=(this||r).document.ref(o)}},{key:"_setupEncryptionV1V2V4",value:function _setupEncryptionV1V2V4(i,o,u){var p,g;switch(i){case 1:p=2;(this||r).keyBits=40;g=getPermissionsR2(u.permissions);break;case 2:p=3;(this||r).keyBits=128;g=getPermissionsR3(u.permissions);break;case 4:p=4;(this||r).keyBits=128;g=getPermissionsR3(u.permissions);break}var y=processPasswordR2R3R4(u.userPassword);var w=u.ownerPassword?processPasswordR2R3R4(u.ownerPassword):y;var _=getOwnerPasswordR2R3R4(p,(this||r).keyBits,y,w);(this||r).encryptionKey=getEncryptionKeyR2R3R4(p,(this||r).keyBits,(this||r).document._id,y,_,g);var x;x=2===p?getUserPasswordR2((this||r).encryptionKey):getUserPasswordR3R4((this||r).document._id,(this||r).encryptionKey);o.V=i;i>=2&&(o.Length=(this||r).keyBits);if(4===i){o.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV2",Length:(this||r).keyBits/8}};o.StmF="StdCF";o.StrF="StdCF"}o.R=p;o.O=wordArrayToBuffer(_);o.U=wordArrayToBuffer(x);o.P=g}},{key:"_setupEncryptionV5",value:function _setupEncryptionV5(i,o){(this||r).keyBits=256;var u=getPermissionsR3(o.permissions);var p=processPasswordR5(o.userPassword);var g=o.ownerPassword?processPasswordR5(o.ownerPassword):p;(this||r).encryptionKey=getEncryptionKeyR5(PDFSecurity.generateRandomWordArray);var y=getUserPasswordR5(p,PDFSecurity.generateRandomWordArray);var w=_.default.lib.WordArray.create(y.words.slice(10,12),8);var x=getUserEncryptionKeyR5(p,w,(this||r).encryptionKey);var k=getOwnerPasswordR5(g,y,PDFSecurity.generateRandomWordArray);var P=_.default.lib.WordArray.create(k.words.slice(10,12),8);var I=getOwnerEncryptionKeyR5(g,P,y,(this||r).encryptionKey);var O=getEncryptedPermissionsR5(u,(this||r).encryptionKey,PDFSecurity.generateRandomWordArray);i.V=5;i.Length=(this||r).keyBits;i.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV3",Length:(this||r).keyBits/8}};i.StmF="StdCF";i.StrF="StdCF";i.R=5;i.O=wordArrayToBuffer(k);i.OE=wordArrayToBuffer(I);i.U=wordArrayToBuffer(y);i.UE=wordArrayToBuffer(x);i.P=u;i.Perms=wordArrayToBuffer(O)}},{key:"getEncryptFn",value:function getEncryptFn(i,o){var u;(this||r).version<5&&(u=(this||r).encryptionKey.clone().concat(_.default.lib.WordArray.create([(255&i)<<24|(65280&i)<<8|i>>8&65280|255&o,(65280&o)<<16],5)));if(1===(this||r).version||2===(this||r).version){var p=_.default.MD5(u);p.sigBytes=Math.min(16,(this||r).keyBits/8+5);return function(r){return wordArrayToBuffer(_.default.RC4.encrypt(_.default.lib.WordArray.create(r),p).ciphertext)}}var g;g=4===(this||r).version?_.default.MD5(u.concat(_.default.lib.WordArray.create([1933667412],4))):(this||r).encryptionKey;var y=PDFSecurity.generateRandomWordArray(16);var w={mode:_.default.mode.CBC,padding:_.default.pad.Pkcs7,iv:y};return function(r){return wordArrayToBuffer(y.clone().concat(_.default.AES.encrypt(_.default.lib.WordArray.create(r),g,w).ciphertext))}}},{key:"end",value:function end(){(this||r).dictionary.end()}}]);return PDFSecurity}();function getPermissionsR2(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var i=-64;r.printing&&(i|=4);r.modifying&&(i|=8);r.copying&&(i|=16);r.annotating&&(i|=32);return i}function getPermissionsR3(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var i=-3904;"lowResolution"===r.printing&&(i|=4);"highResolution"===r.printing&&(i|=2052);r.modifying&&(i|=8);r.copying&&(i|=16);r.annotating&&(i|=32);r.fillingForms&&(i|=256);r.contentAccessibility&&(i|=512);r.documentAssembly&&(i|=1024);return i}function getUserPasswordR2(r){return _.default.RC4.encrypt(processPasswordR2R3R4(),r).ciphertext}function getUserPasswordR3R4(r,i){var o=i.clone();var u=_.default.MD5(processPasswordR2R3R4().concat(_.default.lib.WordArray.create(r)));for(var p=0;p<20;p++){var g=Math.ceil(o.sigBytes/4);for(var y=0;y=3?51:1;for(var y=0;y=3?20:1;for(var k=0;k=3?51:1;for(var x=0;x0&&void 0!==arguments[0]?arguments[0]:"";var i=g.alloc(32);var o=r.length;var u=0;while(u255)throw new Error("Password contains one or more invalid characters.");i[u]=p;u++}while(u<32){i[u]=be[u-o];u++}return _.default.lib.WordArray.create(i)}function processPasswordR5(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";r=unescape(encodeURIComponent(saslprep(r)));var i=Math.min(127,r.length);var o=g.alloc(i);for(var u=0;u>8&65280|r>>24&255}function wordArrayToBuffer(r){var i=[];for(var o=0;o>8*(3-o%4)&255);return g.from(i)}var be=[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];var we=j.number;var _e=function(){function PDFGradient(i){_classCallCheck(this||r,PDFGradient);(this||r).doc=i;(this||r).stops=[];(this||r).embedded=false;(this||r).transform=[1,0,0,1,0,0]}_createClass(PDFGradient,[{key:"stop",value:function stop(i,o,u){null==u&&(u=1);o=(this||r).doc._normalizeColor(o);if(0===(this||r).stops.length)if(3===o.length)(this||r)._colorSpace="DeviceRGB";else if(4===o.length)(this||r)._colorSpace="DeviceCMYK";else{if(1!==o.length)throw new Error("Unknown color space");(this||r)._colorSpace="DeviceGray"}else if("DeviceRGB"===(this||r)._colorSpace&&3!==o.length||"DeviceCMYK"===(this||r)._colorSpace&&4!==o.length||"DeviceGray"===(this||r)._colorSpace&&1!==o.length)throw new Error("All gradient stops must use the same color space");u=Math.max(0,Math.min(1,u));(this||r).stops.push([i,o,u]);return this||r}},{key:"setTransform",value:function setTransform(i,o,u,p,g,y){(this||r).transform=[i,o,u,p,g,y];return this||r}},{key:"embed",value:function embed(i){var o;var u=(this||r).stops.length;if(0!==u){(this||r).embedded=true;(this||r).matrix=i;var p=(this||r).stops[u-1];p[0]<1&&(this||r).stops.push([1,p[1],p[2]]);var g=[];var y=[];var w=[];for(var _=0;_>16,i>>8&255,255&i]}else Le[r]&&(r=Le[r]);if(Array.isArray(r)){3===r.length?r=r.map((function(r){return r/255})):4===r.length&&(r=r.map((function(r){return r/100})));return r}return null},_setColor:function _setColor(r,i){if(r instanceof Ee){r.apply(i);return true}if(Array.isArray(r)&&r[0]instanceof Oe){r[0].apply(i,r[1]);return true}return this._setColorCore(r,i)},_setColorCore:function _setColorCore(r,i){r=this._normalizeColor(r);if(!r)return false;var o=i?"SCN":"scn";var u=this._getColorSpace(r);this._setColorSpace(u,i);r=r.join(" ");this.addContent("".concat(r," ").concat(o));return true},_setColorSpace:function _setColorSpace(r,i){var o=i?"CS":"cs";return this.addContent("/".concat(r," ").concat(o))},_getColorSpace:function _getColorSpace(r){return 4===r.length?"DeviceCMYK":"DeviceRGB"},fillColor:function fillColor(i,o){var u=this._setColor(i,false);u&&this.fillOpacity(o);(this||r)._fillColor=[i,o];return this||r},strokeColor:function strokeColor(i,o){var u=this._setColor(i,true);u&&this.strokeOpacity(o);return this||r},opacity:function opacity(i){this._doOpacity(i,i);return this||r},fillOpacity:function fillOpacity(i){this._doOpacity(i,null);return this||r},strokeOpacity:function strokeOpacity(i){this._doOpacity(null,i);return this||r},_doOpacity:function _doOpacity(i,o){var u,p;if(null!=i||null!=o){null!=i&&(i=Math.max(0,Math.min(1,i)));null!=o&&(o=Math.max(0,Math.min(1,o)));var g="".concat(i,"_").concat(o);if((this||r)._opacityRegistry[g]){var y=_slicedToArray((this||r)._opacityRegistry[g],2);u=y[0];p=y[1]}else{u={Type:"ExtGState"};null!=i&&(u.ca=i);null!=o&&(u.CA=o);u=this.ref(u);u.end();var w=++(this||r)._opacityCount;p="Gs".concat(w);(this||r)._opacityRegistry[g]=[u,p]}(this||r).page.ext_gstates[p]=u;return this.addContent("/".concat(p," gs"))}},linearGradient:function linearGradient(i,o,u,p){return new Te(this||r,i,o,u,p)},radialGradient:function radialGradient(i,o,u,p,g,y){return new Ie(this||r,i,o,u,p,g,y)},pattern:function pattern(i,o,u,p){return new Oe(this||r,i,o,u,p)}};var Le={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]};var Fe,Re,De,Me,Ne,We;Fe=Re=De=Me=Ne=We=0;var Ue={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};var ze=function parse(r){var i;var o=[];var u=[];var p="";var g=false;var y=0;var w,_=_createForOfIteratorHelper(r);try{for(_.s();!(w=_.n()).done;){var x=w.value;if(null!=Ue[x]){y=Ue[x];if(i){p.length>0&&(u[u.length]=+p);o[o.length]={cmd:i,args:u};u=[];p="";g=false}i=x}else if([" ",","].includes(x)||"-"===x&&p.length>0&&"e"!==p[p.length-1]||"."===x&&g){if(0===p.length)continue;if(u.length===y){o[o.length]={cmd:i,args:u};u=[+p];"M"===i&&(i="L");"m"===i&&(i="l")}else u[u.length]=+p;g="."===x;p=["-","."].includes(x)?x:""}else{p+=x;"."===x&&(g=true)}}}catch(r){_.e(r)}finally{_.f()}if(p.length>0)if(u.length===y){o[o.length]={cmd:i,args:u};u=[+p];"M"===i&&(i="L");"m"===i&&(i="l")}else u[u.length]=+p;o[o.length]={cmd:i,args:u};return o};var je=function apply(r,i){Fe=Re=De=Me=Ne=We=0;for(var o=0;o1){I=Math.sqrt(I);o*=I;u*=I}var O=P/o;var B=k/o;var R=-k/u;var D=P/u;var N=O*w+B*_;var W=R*w+D*_;var U=O*r+B*i;var j=R*r+D*i;var G=(U-N)*(U-N)+(j-W)*(j-W);var X=1/G-.25;X<0&&(X=0);var K=Math.sqrt(X);g===p&&(K=-K);var Y=.5*(N+U)-K*(j-W);var J=.5*(W+j)+K*(U-N);var $=Math.atan2(W-J,N-Y);var ee=Math.atan2(j-J,U-Y);var te=ee-$;te<0&&1===g?te+=2*Math.PI:te>0&&0===g&&(te-=2*Math.PI);var re=Math.ceil(Math.abs(te/(.5*Math.PI+.001)));var ne=[];for(var ae=0;ae1&&void 0!==arguments[1]?arguments[1]:{};var o=r;Array.isArray(r)||(r=[r,i.space||r]);var u=r.every((function(r){return Number.isFinite(r)&&r>0}));if(!u)throw new Error("dash(".concat(JSON.stringify(o),", ").concat(JSON.stringify(i),") invalid, lengths must be numeric and greater than zero"));r=r.map(Ze).join(" ");return this.addContent("[".concat(r,"] ").concat(Ze(i.phase||0)," d"))},undash:function undash(){return this.addContent("[] 0 d")},moveTo:function moveTo(r,i){return this.addContent("".concat(Ze(r)," ").concat(Ze(i)," m"))},lineTo:function lineTo(r,i){return this.addContent("".concat(Ze(r)," ").concat(Ze(i)," l"))},bezierCurveTo:function bezierCurveTo(r,i,o,u,p,g){return this.addContent("".concat(Ze(r)," ").concat(Ze(i)," ").concat(Ze(o)," ").concat(Ze(u)," ").concat(Ze(p)," ").concat(Ze(g)," c"))},quadraticCurveTo:function quadraticCurveTo(r,i,o,u){return this.addContent("".concat(Ze(r)," ").concat(Ze(i)," ").concat(Ze(o)," ").concat(Ze(u)," v"))},rect:function rect(r,i,o,u){return this.addContent("".concat(Ze(r)," ").concat(Ze(i)," ").concat(Ze(o)," ").concat(Ze(u)," re"))},roundedRect:function roundedRect(r,i,o,u,p){null==p&&(p=0);p=Math.min(p,.5*o,.5*u);var g=p*(1-Ke);this.moveTo(r+p,i);this.lineTo(r+o-p,i);this.bezierCurveTo(r+o-g,i,r+o,i+g,r+o,i+p);this.lineTo(r+o,i+u-p);this.bezierCurveTo(r+o,i+u-g,r+o-g,i+u,r+o-p,i+u);this.lineTo(r+p,i+u);this.bezierCurveTo(r+g,i+u,r,i+u-g,r,i+u-p);this.lineTo(r,i+p);this.bezierCurveTo(r,i+g,r+g,i,r+p,i);return this.closePath()},ellipse:function ellipse(r,i,o,u){null==u&&(u=o);r-=o;i-=u;var p=o*Ke;var g=u*Ke;var y=r+2*o;var w=i+2*u;var _=r+o;var x=i+u;this.moveTo(r,x);this.bezierCurveTo(r,x-g,_-p,i,_,i);this.bezierCurveTo(_+p,i,y,x-g,y,x);this.bezierCurveTo(y,x+g,_+p,w,_,w);this.bezierCurveTo(_-p,w,r,x+g,r,x);return this.closePath()},circle:function circle(r,i,o){return this.ellipse(r,i,o)},arc:function arc(i,o,u,p,g,y){null==y&&(y=false);var w=2*Math.PI;var _=.5*Math.PI;var x=g-p;if(Math.abs(x)>w)x=w;else if(0!==x&&y!==x<0){var k=y?-1:1;x=k*w+x}var P=Math.ceil(Math.abs(x)/_);var I=x/P;var O=I/_*Ke*u;var B=p;var R=-Math.sin(B)*O;var D=Math.cos(B)*O;var N=i+Math.cos(B)*u;var W=o+Math.sin(B)*u;this.moveTo(N,W);for(var U=0;U1&&void 0!==arguments[1]?arguments[1]:{};var o;var u=r*Math.PI/180;var p=Math.cos(u);var g=Math.sin(u);var y=o=0;if(null!=i.origin){var w=_slicedToArray(i.origin,2);y=w[0];o=w[1];var _=y*p-o*g;var x=y*g+o*p;y-=_;o-=x}return this.transform(p,g,-g,p,y,o)},scale:function scale(r,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var u;null==i&&(i=r);if("object"===typeof i){o=i;i=r}var p=u=0;if(null!=o.origin){var g=_slicedToArray(o.origin,2);p=g[0];u=g[1];p-=r*p;u-=i*u}return this.transform(r,0,0,i,p,u)}};var Je={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};var Qe=".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+/);var $e=function(){_createClass(AFMFont,null,[{key:"open",value:function open(r){return new AFMFont(O.readFileSync(r,"utf8"))}}]);function AFMFont(i){_classCallCheck(this||r,AFMFont);(this||r).contents=i;(this||r).attributes={};(this||r).glyphWidths={};(this||r).boundingBoxes={};(this||r).kernPairs={};this.parse();(this||r).charWidths=new Array(256);for(var o=0;o<=255;o++)(this||r).charWidths[o]=(this||r).glyphWidths[Qe[o]];(this||r).bbox=(this||r).attributes.FontBBox.split(/\s+/).map((function(r){return+r}));(this||r).ascender=+((this||r).attributes.Ascender||0);(this||r).descender=+((this||r).attributes.Descender||0);(this||r).xHeight=+((this||r).attributes.XHeight||0);(this||r).capHeight=+((this||r).attributes.CapHeight||0);(this||r).lineGap=(this||r).bbox[3]-(this||r).bbox[1]-((this||r).ascender-(this||r).descender)}_createClass(AFMFont,[{key:"parse",value:function parse(){var i="";var o,u=_createForOfIteratorHelper((this||r).contents.split("\n"));try{for(u.s();!(o=u.n()).done;){var p=o.value;var g;var y;if(g=p.match(/^Start(\w+)/))i=g[1];else if(g=p.match(/^End(\w+)/))i="";else switch(i){case"FontMetrics":g=p.match(/(^\w+)\s+(.*)/);var w=g[1];var _=g[2];if(y=(this||r).attributes[w]){Array.isArray(y)||(y=(this||r).attributes[w]=[y]);y.push(_)}else(this||r).attributes[w]=_;break;case"CharMetrics":if(!/^CH?\s/.test(p))continue;var x=p.match(/\bN\s+(\.?\w+)\s*;/)[1];(this||r).glyphWidths[x]=+p.match(/\bWX\s+(\d+)\s*;/)[1];break;case"KernPairs":g=p.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/);g&&((this||r).kernPairs[g[1]+"\0"+g[2]]=parseInt(g[3]));break}}}catch(r){u.e(r)}finally{u.f()}}},{key:"encodeText",value:function encodeText(r){var i=[];for(var o=0,u=r.length;o>8;var g=0;(this||r).font.post.isFixedPitch&&(g|=1);1<=p&&p<=7&&(g|=2);g|=4;10===p&&(g|=8);(this||r).font.head.macStyle.italic&&(g|=64);var y=[1,2,3,4,5,6].map((function(r){return String.fromCharCode((i.id.charCodeAt(r)||73)+17)})).join("");var w=y+"+"+(this||r).font.postscriptName;var _=(this||r).font.bbox;var x=(this||r).document.ref({Type:"FontDescriptor",FontName:w,Flags:g,FontBBox:[_.minX*(this||r).scale,_.minY*(this||r).scale,_.maxX*(this||r).scale,_.maxY*(this||r).scale],ItalicAngle:(this||r).font.italicAngle,Ascent:(this||r).ascender,Descent:(this||r).descender,CapHeight:((this||r).font.capHeight||(this||r).font.ascent)*(this||r).scale,XHeight:((this||r).font.xHeight||0)*(this||r).scale,StemV:0});o?x.data.FontFile3=u:x.data.FontFile2=u;x.end();var k={Type:"Font",Subtype:"CIDFontType0",BaseFont:w,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:x,W:[0,(this||r).widths]};if(!o){k.Subtype="CIDFontType2";k.CIDToGIDMap="Identity"}var P=(this||r).document.ref(k);P.end();(this||r).dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:w,Encoding:"Identity-H",DescendantFonts:[P],ToUnicode:this.toUnicodeCmap()};return(this||r).dictionary.end()}},{key:"toUnicodeCmap",value:function toUnicodeCmap(){var i=(this||r).document.ref();var o=[];var u,p=_createForOfIteratorHelper((this||r).unicode);try{for(p.s();!(u=p.n()).done;){var g=u.value;var y=[];var w,_=_createForOfIteratorHelper(g);try{for(_.s();!(w=_.n()).done;){var x=w.value;if(x>65535){x-=65536;y.push(nt(x>>>10&1023|55296));x=56320|1023&x}y.push(nt(x))}}catch(r){_.e(r)}finally{_.f()}o.push("<".concat(y.join(" "),">"))}}catch(r){p.e(r)}finally{p.f()}i.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(nt(o.length-1),"> [").concat(o.join(" "),"]\nendbfrange\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"));return i}}]);return EmbeddedFont}(et);var it=function(){function PDFFontFactory(){_classCallCheck(this||r,PDFFontFactory)}_createClass(PDFFontFactory,null,[{key:"open",value:function open(r,i,o,u){var p;if("string"===typeof i){if(rt.isStandardFont(i))return new rt(r,i,u);i=O.readFileSync(i)}g.isBuffer(i)?p=x.default.create(i,o):i instanceof Uint8Array?p=x.default.create(g.from(i),o):i instanceof ArrayBuffer&&(p=x.default.create(g.from(new Uint8Array(i)),o));if(null==p)throw new Error("Not a supported font format or standard PDF font.");return new at(r,p,u)}}]);return PDFFontFactory}();var ot={initFonts:function initFonts(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Helvetica";(this||r)._fontFamilies={};(this||r)._fontCount=0;(this||r)._fontSize=12;(this||r)._font=null;(this||r)._registeredFonts={};i&&this.font(i)},font:function font(i,o,u){var p,font;if("number"===typeof o){u=o;o=null}if("string"===typeof i&&(this||r)._registeredFonts[i]){p=i;var g=(this||r)._registeredFonts[i];i=g.src;o=g.family}else{p=o||i;"string"!==typeof p&&(p=null)}null!=u&&this.fontSize(u);if(font=(this||r)._fontFamilies[p]){(this||r)._font=font;return this||r}var y="F".concat(++(this||r)._fontCount);(this||r)._font=it.open(this||r,i,o,y);if(font=(this||r)._fontFamilies[(this||r)._font.name]){(this||r)._font=font;return this||r}p&&((this||r)._fontFamilies[p]=(this||r)._font);(this||r)._font.name&&((this||r)._fontFamilies[(this||r)._font.name]=(this||r)._font);return this||r},fontSize:function fontSize(i){(this||r)._fontSize=i;return this||r},currentLineHeight:function currentLineHeight(i){null==i&&(i=false);return(this||r)._font.lineHeight((this||r)._fontSize,i)},registerFont:function registerFont(i,o,u){(this||r)._registeredFonts[i]={src:o,family:u};return this||r}};var st=function(i){_inherits(LineWrapper,i);var o=_createSuper(LineWrapper);function LineWrapper(i,u){var p;_classCallCheck(this||r,LineWrapper);p=o.call(this||r);p.document=i;p.indent=u.indent||0;p.characterSpacing=u.characterSpacing||0;p.wordSpacing=0===u.wordSpacing;p.columns=u.columns||1;p.columnGap=null!=u.columnGap?u.columnGap:18;p.lineWidth=(u.width-p.columnGap*(p.columns-1))/p.columns;p.spaceLeft=p.lineWidth;p.startX=p.document.x;p.startY=p.document.y;p.column=1;p.ellipsis=u.ellipsis;p.continuedX=0;p.features=u.features;if(null!=u.height){p.height=u.height;p.maxY=p.startY+u.height}else p.maxY=p.document.page.maxY();p.on("firstLine",(function(r){var i=p.continuedX||p.indent;p.document.x+=i;p.lineWidth-=i;return p.once("line",(function(){p.document.x-=i;p.lineWidth+=i;r.continued&&!p.continuedX&&(p.continuedX=p.indent);if(!r.continued)return p.continuedX=0}))}));p.on("lastLine",(function(r){var i=r.align;"justify"===i&&(r.align="left");p.lastLine=true;return p.once("line",(function(){p.document.y+=r.paragraphGap||0;r.align=i;return p.lastLine=false}))}));return p}_createClass(LineWrapper,[{key:"wordWidth",value:function wordWidth(i){return(this||r).document.widthOfString(i,this||r)+(this||r).characterSpacing+(this||r).wordSpacing}},{key:"eachWord",value:function eachWord(i,o){var u;var p=new P.default(i);var g=null;var y=Object.create(null);while(u=p.nextBreak()){var w;var _=i.slice((null!=g?g.position:void 0)||0,u.position);var x=null!=y[_]?y[_]:y[_]=this.wordWidth(_);if(x>(this||r).lineWidth+(this||r).continuedX){var k=g;var I={};while(_.length){var O,B;if(x>(this||r).spaceLeft){O=Math.ceil((this||r).spaceLeft/(x/_.length));x=this.wordWidth(_.slice(0,O));B=x<=(this||r).spaceLeft&&O<_.length}else O=_.length;var R=x>(this||r).spaceLeft&&O>0;while(R||B)if(R){x=this.wordWidth(_.slice(0,--O));R=x>(this||r).spaceLeft&&O>0}else{x=this.wordWidth(_.slice(0,++O));R=x>(this||r).spaceLeft&&O>0;B=x<=(this||r).spaceLeft&&O<_.length}0===O&&(this||r).spaceLeft===(this||r).lineWidth&&(O=1);I.required=u.required||O<_.length;w=o(_.slice(0,O),x,I,k);k={required:false};_=_.slice(O);x=this.wordWidth(_);if(false===w)break}}else w=o(_,x,u,g);if(false===w)break;g=u}}},{key:"wrap",value:function wrap(i,o){var u=this||r;null!=o.indent&&((this||r).indent=o.indent);null!=o.characterSpacing&&((this||r).characterSpacing=o.characterSpacing);null!=o.wordSpacing&&((this||r).wordSpacing=o.wordSpacing);null!=o.ellipsis&&((this||r).ellipsis=o.ellipsis);var p=(this||r).document.y+(this||r).document.currentLineHeight(true);((this||r).document.y>(this||r).maxY||p>(this||r).maxY)&&this.nextSection();var g="";var y=0;var w=0;var _=0;var x=(this||r).document.y;var k=function emitLine(){o.textWidth=y+u.wordSpacing*(w-1);o.wordCount=w;o.lineWidth=u.lineWidth;x=u.document.y;u.emit("line",g,o,u);return _++};this.emit("sectionStart",o,this||r);this.eachWord(i,(function(r,i,p,_){if(null==_||_.required){u.emit("firstLine",o,u);u.spaceLeft=u.lineWidth}if(i<=u.spaceLeft){g+=r;y+=i;w++}if(p.required||i>u.spaceLeft){var x=u.document.currentLineHeight(true);if(null!=u.height&&u.ellipsis&&u.document.y+2*x>u.maxY&&u.column>=u.columns){true===u.ellipsis&&(u.ellipsis="…");g=g.replace(/\s+$/,"");y=u.wordWidth(g+u.ellipsis);while(g&&y>u.lineWidth){g=g.slice(0,-1).replace(/\s+$/,"");y=u.wordWidth(g+u.ellipsis)}y<=u.lineWidth&&(g+=u.ellipsis);y=u.wordWidth(g)}if(p.required){if(i>u.spaceLeft){k();g=r;y=i;w=1}u.emit("lastLine",o,u)}k();if(u.document.y+x>u.maxY){var P=u.nextSection();if(!P){w=0;g="";return false}}if(p.required){u.spaceLeft=u.lineWidth;g="";y=0;return w=0}u.spaceLeft=u.lineWidth-i;g=r;y=i;return w=1}return u.spaceLeft-=i}));if(w>0){this.emit("lastLine",o,this||r);k()}this.emit("sectionEnd",o,this||r);if(true===o.continued){_>1&&((this||r).continuedX=0);(this||r).continuedX+=o.textWidth||0;return(this||r).document.y=x}return(this||r).document.x=(this||r).startX}},{key:"nextSection",value:function nextSection(i){this.emit("sectionEnd",i,this||r);if(++(this||r).column>(this||r).columns){if(null!=(this||r).height)return false;(this||r).document.continueOnNewPage();(this||r).column=1;(this||r).startY=(this||r).document.page.margins.top;(this||r).maxY=(this||r).document.page.maxY();(this||r).document.x=(this||r).startX;if((this||r).document._fillColor){var o;(o=(this||r).document).fillColor.apply(o,_toConsumableArray((this||r).document._fillColor))}this.emit("pageBreak",i,this||r)}else{(this||r).document.x+=(this||r).lineWidth+(this||r).columnGap;(this||r).document.y=(this||r).startY;this.emit("columnBreak",i,this||r)}this.emit("sectionStart",i,this||r);return true}}]);return LineWrapper}(k.EventEmitter);var lt=j.number;var ut={initText:function initText(){(this||r)._line=(this||r)._line.bind(this||r);(this||r).x=0;(this||r).y=0;return(this||r)._lineGap=0},lineGap:function lineGap(i){(this||r)._lineGap=i;return this||r},moveDown:function moveDown(i){null==i&&(i=1);(this||r).y+=this.currentLineHeight(true)*i+(this||r)._lineGap;return this||r},moveUp:function moveUp(i){null==i&&(i=1);(this||r).y-=this.currentLineHeight(true)*i+(this||r)._lineGap;return this||r},_text:function _text(i,o,u,p,g){var y=this||r;p=this._initOptions(o,u,p);i=null==i?"":"".concat(i);p.wordSpacing&&(i=i.replace(/\s{2,}/g," "));var w=function addStructure(){p.structParent&&p.structParent.add(y.struct(p.structType||"P",[y.markStructureContent(p.structType||"P")]))};if(p.width){var _=(this||r)._wrapper;if(!_){_=new st(this||r,p);_.on("line",g);_.on("firstLine",w)}(this||r)._wrapper=p.continued?_:null;(this||r)._textOptions=p.continued?p:null;_.wrap(i,p)}else{var x,k=_createForOfIteratorHelper(i.split("\n"));try{for(k.s();!(x=k.n()).done;){var P=x.value;w();g(P,p)}}catch(r){k.e(r)}finally{k.f()}}return this||r},text:function text(i,o,u,p){return this._text(i,o,u,p,(this||r)._line)},widthOfString:function widthOfString(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(this||r)._font.widthOfString(i,(this||r)._fontSize,o.features)+(o.characterSpacing||0)*(i.length-1)},heightOfString:function heightOfString(i,o){var u=this||r;var p=(this||r).x,g=(this||r).y;o=this._initOptions(o);o.height=Infinity;var y=o.lineGap||(this||r)._lineGap||0;this._text(i,(this||r).x,(this||r).y,o,(function(){return u.y+=u.currentLineHeight(true)+y}));var w=(this||r).y-g;(this||r).x=p;(this||r).y=g;return w},list:function list(i,o,u,p,g){var y=this||r;p=this._initOptions(o,u,p);var w=p.listType||"bullet";var _=Math.round((this||r)._font.ascender/1e3*(this||r)._fontSize);var x=_/2;var k=p.bulletRadius||_/3;var P=p.textIndent||("bullet"===w?5*k:2*_);var I=p.bulletIndent||("bullet"===w?8*k:2*_);var O=1;var B=[];var R=[];var D=[];var N=function flatten(r){var i=1;for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};var o=arguments.length>1?arguments[1]:void 0;var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"===typeof i){u=i;i=null}var p=Object.assign({},u);if((this||r)._textOptions)for(var g in(this||r)._textOptions){var y=(this||r)._textOptions[g];"continued"!==g&&void 0===p[g]&&(p[g]=y)}null!=i&&((this||r).x=i);null!=o&&((this||r).y=o);if(false!==p.lineBreak){null==p.width&&(p.width=(this||r).page.width-(this||r).x-(this||r).page.margins.right);p.width=Math.max(p.width,0)}p.columns||(p.columns=0);null==p.columnGap&&(p.columnGap=18);return p},_line:function _line(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var u=arguments.length>2?arguments[2]:void 0;this._fragment(i,(this||r).x,(this||r).y,o);var p=o.lineGap||(this||r)._lineGap||0;return u?(this||r).y+=this.currentLineHeight(true)+p:(this||r).x+=this.widthOfString(i)},_fragment:function _fragment(i,o,u,p){var g=this||r;var y,w,_,x,k,P;i="".concat(i).replace(/\n/g,"");if(0!==i.length){var I=p.align||"left";var O=p.wordSpacing||0;var B=p.characterSpacing||0;if(p.width)switch(I){case"right":k=this.widthOfString(i.replace(/\s+$/,""),p);o+=p.lineWidth-k;break;case"center":o+=p.lineWidth/2-p.textWidth/2;break;case"justify":P=i.trim().split(/\s+/);k=this.widthOfString(i.replace(/\s+/g,""),p);var R=this.widthOfString(" ")+B;O=Math.max(0,(p.lineWidth-k)/Math.max(1,P.length-1)-R);break}if("number"===typeof p.baseline)y=-p.baseline;else{switch(p.baseline){case"svg-middle":y=.5*(this||r)._font.xHeight;break;case"middle":case"svg-central":y=.5*((this||r)._font.descender+(this||r)._font.ascender);break;case"bottom":case"ideographic":y=(this||r)._font.descender;break;case"alphabetic":y=0;break;case"mathematical":y=.5*(this||r)._font.ascender;break;case"hanging":y=.8*(this||r)._font.ascender;break;case"top":y=(this||r)._font.ascender;break;default:y=(this||r)._font.ascender}y=y/1e3*(this||r)._fontSize}var D=p.textWidth+O*(p.wordCount-1)+B*(i.length-1);null!=p.link&&this.link(o,u,D,this.currentLineHeight(),p.link);null!=p.goTo&&this.goTo(o,u,D,this.currentLineHeight(),p.goTo);null!=p.destination&&this.addNamedDestination(p.destination,"XYZ",o,u,null);if(p.underline){this.save();p.stroke||(this||r).strokeColor.apply(this||r,_toConsumableArray((this||r)._fillColor||[]));var N=(this||r)._fontSize<10?.5:Math.floor((this||r)._fontSize/10);this.lineWidth(N);var W=u+this.currentLineHeight()-N;this.moveTo(o,W);this.lineTo(o+D,W);this.stroke();this.restore()}if(p.strike){this.save();p.stroke||(this||r).strokeColor.apply(this||r,_toConsumableArray((this||r)._fillColor||[]));var U=(this||r)._fontSize<10?.5:Math.floor((this||r)._fontSize/10);this.lineWidth(U);var j=u+this.currentLineHeight()/2;this.moveTo(o,j);this.lineTo(o+D,j);this.stroke();this.restore()}this.save();if(p.oblique){var G;G="number"===typeof p.oblique?-Math.tan(p.oblique*Math.PI/180):-.25;this.transform(1,0,0,1,o,u);this.transform(1,0,G,1,-G*y,0);this.transform(1,0,0,1,-o,-u)}this.transform(1,0,0,-1,0,(this||r).page.height);u=(this||r).page.height-u-y;null==(this||r).page.fonts[(this||r)._font.id]&&((this||r).page.fonts[(this||r)._font.id]=(this||r)._font.ref());this.addContent("BT");this.addContent("1 0 0 1 ".concat(lt(o)," ").concat(lt(u)," Tm"));this.addContent("/".concat((this||r)._font.id," ").concat(lt((this||r)._fontSize)," Tf"));var X=p.fill&&p.stroke?2:p.stroke?1:0;X&&this.addContent("".concat(X," Tr"));B&&this.addContent("".concat(lt(B)," Tc"));if(O){P=i.trim().split(/\s+/);O+=this.widthOfString(" ")+B;O*=1e3/(this||r)._fontSize;w=[];x=[];var K,Y=_createForOfIteratorHelper(P);try{for(Y.s();!(K=Y.n()).done;){var J=K.value;var $=(this||r)._font.encode(J,p.features),ee=_slicedToArray($,2),te=ee[0],re=ee[1];w=w.concat(te);x=x.concat(re);var ne={};var ae=x[x.length-1];for(var ie in ae){var oe=ae[ie];ne[ie]=oe}ne.xAdvance+=O;x[x.length-1]=ne}}catch(r){Y.e(r)}finally{Y.f()}}else{var se=(this||r)._font.encode(i,p.features);var le=_slicedToArray(se,2);w=le[0];x=le[1]}var ue=(this||r)._fontSize/1e3;var ce=[];var fe=0;var he=false;var de=function addSegment(r){if(fe ").concat(lt(-o)))}return fe=r};var ve=function flush(r){de(r);if(ce.length>0){g.addContent("[".concat(ce.join(" "),"] TJ"));return ce.length=0}};for(_=0;_3&&void 0!==arguments[3]?arguments[3]:{};var g,y,w,image,_,x,k;if("object"===typeof o){p=o;o=null}o=null!=(x=null!=o?o:p.x)?x:(this||r).x;u=null!=(k=null!=u?u:p.y)?k:(this||r).y;"string"===typeof i&&(image=(this||r)._imageRegistry[i]);image||(image=i.width&&i.height?i:this.openImage(i));image.obj||image.embed(this||r);null==(this||r).page.xobjects[image.label]&&((this||r).page.xobjects[image.label]=image.obj);var P=p.width||image.width;var I=p.height||image.height;if(p.width&&!p.height){var O=P/image.width;P=image.width*O;I=image.height*O}else if(p.height&&!p.width){var B=I/image.height;P=image.width*B;I=image.height*B}else if(p.scale){P=image.width*p.scale;I=image.height*p.scale}else if(p.fit){var R=_slicedToArray(p.fit,2);w=R[0];g=R[1];y=w/g;_=image.width/image.height;if(_>y){P=w;I=w/_}else{I=g;P=g*_}}else if(p.cover){var D=_slicedToArray(p.cover,2);w=D[0];g=D[1];y=w/g;_=image.width/image.height;if(_>y){I=g;P=g*_}else{P=w;I=w/_}}if(p.fit||p.cover){"center"===p.align?o=o+w/2-P/2:"right"===p.align&&(o=o+w-P);"center"===p.valign?u=u+g/2-I/2:"bottom"===p.valign&&(u=u+g-I)}null!=p.link&&this.link(o,u,P,I,p.link);null!=p.goTo&&this.goTo(o,u,P,I,p.goTo);null!=p.destination&&this.addNamedDestination(p.destination,"XYZ",o,u,null);(this||r).y===u&&((this||r).y+=I);this.save();this.transform(P,0,0,-I,o,u+I);this.addContent("/".concat(image.label," Do"));this.restore();return this||r},openImage:function openImage(i){var o;"string"===typeof i&&(o=(this||r)._imageRegistry[i]);if(!o){o=vt.open(i,"I".concat(++(this||r)._imageCount));"string"===typeof i&&((this||r)._imageRegistry[i]=o)}return o}};var gt={annotate:function annotate(i,o,u,p,g){g.Type="Annot";g.Rect=this._convertRect(i,o,u,p);g.Border=[0,0,0];"Link"===g.Subtype&&"undefined"===typeof g.F&&(g.F=4);"Link"!==g.Subtype&&null==g.C&&(g.C=this._normalizeColor(g.color||[0,0,0]));delete g.color;"string"===typeof g.Dest&&(g.Dest=new String(g.Dest));for(var y in g){var w=g[y];g[y[0].toUpperCase()+y.slice(1)]=w}var _=this.ref(g);(this||r).page.annotations.push(_);_.end();return this||r},note:function note(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};g.Subtype="Text";g.Contents=new String(p);g.Name="Comment";null==g.color&&(g.color=[243,223,92]);return this.annotate(r,i,o,u,g)},goTo:function goTo(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};g.Subtype="Link";g.A=this.ref({S:"GoTo",D:new String(p)});g.A.end();return this.annotate(r,i,o,u,g)},link:function link(i,o,u,p,g){var y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};y.Subtype="Link";if("number"===typeof g){var w=(this||r)._root.data.Pages.data;if(!(g>=0&&g4&&void 0!==arguments[4]?arguments[4]:{};var g=this._convertRect(r,i,o,u),y=_slicedToArray(g,4),w=y[0],_=y[1],x=y[2],k=y[3];p.QuadPoints=[w,k,x,k,w,_,x,_];p.Contents=new String;return this.annotate(r,i,o,u,p)},highlight:function highlight(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};p.Subtype="Highlight";null==p.color&&(p.color=[241,238,148]);return this._markup(r,i,o,u,p)},underline:function underline(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};p.Subtype="Underline";return this._markup(r,i,o,u,p)},strike:function strike(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};p.Subtype="StrikeOut";return this._markup(r,i,o,u,p)},lineAnnotation:function lineAnnotation(i,o,u,p){var g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};g.Subtype="Line";g.Contents=new String;g.L=[i,(this||r).page.height-o,u,(this||r).page.height-p];return this.annotate(i,o,u,p,g)},rectAnnotation:function rectAnnotation(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};p.Subtype="Square";p.Contents=new String;return this.annotate(r,i,o,u,p)},ellipseAnnotation:function ellipseAnnotation(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};p.Subtype="Circle";p.Contents=new String;return this.annotate(r,i,o,u,p)},textAnnotation:function textAnnotation(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};g.Subtype="FreeText";g.Contents=new String(p);g.DA=new String;return this.annotate(r,i,o,u,g)},fileAnnotation:function fileAnnotation(r,i,o,u){var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};var y=this.file(p.src,Object.assign({hidden:true},p));g.Subtype="FileAttachment";g.FS=y;g.Contents?g.Contents=new String(g.Contents):y.data.Desc&&(g.Contents=y.data.Desc);return this.annotate(r,i,o,u,g)},_convertRect:function _convertRect(i,o,u,p){var g=o;o+=p;var y=i+u;var w=_slicedToArray((this||r)._ctm,6),_=w[0],x=w[1],k=w[2],P=w[3],I=w[4],O=w[5];i=_*i+k*o+I;o=x*i+P*o+O;y=_*y+k*g+I;g=x*y+P*g+O;return[i,o,y,g]}};var yt=function(){function PDFOutline(i,o,u,p){var g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{expanded:false};_classCallCheck(this||r,PDFOutline);(this||r).document=i;(this||r).options=g;(this||r).outlineData={};null!==p&&((this||r).outlineData.Dest=[p.dictionary,"Fit"]);null!==o&&((this||r).outlineData.Parent=o);null!==u&&((this||r).outlineData.Title=new String(u));(this||r).dictionary=(this||r).document.ref((this||r).outlineData);(this||r).children=[]}_createClass(PDFOutline,[{key:"addItem",value:function addItem(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{expanded:false};var u=new PDFOutline((this||r).document,(this||r).dictionary,i,(this||r).document.page,o);(this||r).children.push(u);return u}},{key:"endOutline",value:function endOutline(){if((this||r).children.length>0){(this||r).options.expanded&&((this||r).outlineData.Count=(this||r).children.length);var i=(this||r).children[0],o=(this||r).children[(this||r).children.length-1];(this||r).outlineData.First=i.dictionary;(this||r).outlineData.Last=o.dictionary;for(var u=0,p=(this||r).children.length;u0&&(g.outlineData.Prev=(this||r).children[u-1].dictionary);u<(this||r).children.length-1&&(g.outlineData.Next=(this||r).children[u+1].dictionary);g.endOutline()}}return(this||r).dictionary.end()}}]);return PDFOutline}();var mt={initOutline:function initOutline(){return(this||r).outline=new yt(this||r,null,null,null)},endOutline:function endOutline(){(this||r).outline.endOutline();if((this||r).outline.children.length>0){(this||r)._root.data.Outlines=(this||r).outline.dictionary;return(this||r)._root.data.PageMode="UseOutlines"}}};var bt=function(){function PDFStructureContent(i,o){_classCallCheck(this||r,PDFStructureContent);(this||r).refs=[{pageRef:i,mcid:o}]}_createClass(PDFStructureContent,[{key:"push",value:function push(i){var o=this||r;i.refs.forEach((function(r){return o.refs.push(r)}))}}]);return PDFStructureContent}();var wt=function(){function PDFStructureElement(i,o){var u=this||r;var p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this||r,PDFStructureElement);(this||r).document=i;(this||r)._attached=false;(this||r)._ended=false;(this||r)._flushed=false;(this||r).dictionary=i.ref({S:o});var y=(this||r).dictionary.data;if(Array.isArray(p)||this._isValidChild(p)){g=p;p={}}"undefined"!==typeof p.title&&(y.T=new String(p.title));"undefined"!==typeof p.lang&&(y.Lang=new String(p.lang));"undefined"!==typeof p.alt&&(y.Alt=new String(p.alt));"undefined"!==typeof p.expanded&&(y.E=new String(p.expanded));"undefined"!==typeof p.actual&&(y.ActualText=new String(p.actual));(this||r)._children=[];if(g){Array.isArray(g)||(g=[g]);g.forEach((function(r){return u.add(r)}));this.end()}}_createClass(PDFStructureElement,[{key:"add",value:function add(i){if((this||r)._ended)throw new Error("Cannot add child to already-ended structure element");if(!this._isValidChild(i))throw new Error("Invalid structure element child");if(i instanceof PDFStructureElement){i.setParent((this||r).dictionary);(this||r)._attached&&i.setAttached()}i instanceof bt&&this._addContentToParentTree(i);"function"===typeof i&&(this||r)._attached&&(i=this._contentForClosure(i));(this||r)._children.push(i);return this||r}},{key:"_addContentToParentTree",value:function _addContentToParentTree(i){var o=this||r;i.refs.forEach((function(r){var i=r.pageRef,u=r.mcid;var p=o.document.getStructParentTree().get(i.data.StructParents);p[u]=o.dictionary}))}},{key:"setParent",value:function setParent(i){if((this||r).dictionary.data.P)throw new Error("Structure element added to more than one parent");(this||r).dictionary.data.P=i;this._flush()}},{key:"setAttached",value:function setAttached(){var i=this||r;if(!(this||r)._attached){(this||r)._children.forEach((function(r,o){r instanceof PDFStructureElement&&r.setAttached();"function"===typeof r&&(i._children[o]=i._contentForClosure(r))}));(this||r)._attached=true;this._flush()}}},{key:"end",value:function end(){if(!(this||r)._ended){(this||r)._children.filter((function(r){return r instanceof PDFStructureElement})).forEach((function(r){return r.end()}));(this||r)._ended=true;this._flush()}}},{key:"_isValidChild",value:function _isValidChild(r){return r instanceof PDFStructureElement||r instanceof bt||"function"===typeof r}},{key:"_contentForClosure",value:function _contentForClosure(i){var o=(this||r).document.markStructureContent((this||r).dictionary.data.S);i();(this||r).document.endMarkedContent();this._addContentToParentTree(o);return o}},{key:"_isFlushable",value:function _isFlushable(){return!(!(this||r).dictionary.data.P||!(this||r)._ended)&&(this||r)._children.every((function(r){return"function"!==typeof r&&(!(r instanceof PDFStructureElement)||r._isFlushable())}))}},{key:"_flush",value:function _flush(){var i=this||r;if(!(this||r)._flushed&&this._isFlushable()){(this||r).dictionary.data.K=[];(this||r)._children.forEach((function(r){return i._flushChild(r)}));(this||r).dictionary.end();(this||r)._children=[];(this||r).dictionary.data.K=null;(this||r)._flushed=true}}},{key:"_flushChild",value:function _flushChild(i){var o=this||r;i instanceof PDFStructureElement&&(this||r).dictionary.data.K.push(i.dictionary);i instanceof bt&&i.refs.forEach((function(r){var i=r.pageRef,u=r.mcid;o.dictionary.data.Pg||(o.dictionary.data.Pg=i);o.dictionary.data.Pg===i?o.dictionary.data.K.push(u):o.dictionary.data.K.push({Type:"MCR",Pg:i,MCID:u})}))}}]);return PDFStructureElement}();var _t=function(i){_inherits(PDFNumberTree,i);var o=_createSuper(PDFNumberTree);function PDFNumberTree(){_classCallCheck(this||r,PDFNumberTree);return o.apply(this||r,arguments)}_createClass(PDFNumberTree,[{key:"_compareKeys",value:function _compareKeys(r,i){return parseInt(r)-parseInt(i)}},{key:"_keysName",value:function _keysName(){return"Nums"}},{key:"_dataForKey",value:function _dataForKey(r){return parseInt(r)}}]);return PDFNumberTree}(R);var St={initMarkings:function initMarkings(i){(this||r).structChildren=[];if(i.tagged){this.getMarkInfoDictionary().data.Marked=true;this.getStructTreeRoot()}},markContent:function markContent(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("Artifact"===i||o&&o.mcid){var u=0;(this||r).page.markings.forEach((function(r){(u||r.structContent||"Artifact"===r.tag)&&u++}));while(u--)this.endMarkedContent()}if(!o){(this||r).page.markings.push({tag:i});this.addContent("/".concat(i," BMC"));return this||r}(this||r).page.markings.push({tag:i,options:o});var p={};"undefined"!==typeof o.mcid&&(p.MCID=o.mcid);if("Artifact"===i){"string"===typeof o.type&&(p.Type=o.type);Array.isArray(o.bbox)&&(p.BBox=[o.bbox[0],(this||r).page.height-o.bbox[3],o.bbox[2],(this||r).page.height-o.bbox[1]]);Array.isArray(o.attached)&&o.attached.every((function(r){return"string"===typeof r}))&&(p.Attached=o.attached)}if("Span"===i){o.lang&&(p.Lang=new String(o.lang));o.alt&&(p.Alt=new String(o.alt));o.expanded&&(p.E=new String(o.expanded));o.actual&&(p.ActualText=new String(o.actual))}this.addContent("/".concat(i," ").concat(j.convert(p)," BDC"));return this||r},markStructureContent:function markStructureContent(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var u=this.getStructParentTree().get((this||r).page.structParentTreeKey);var p=u.length;u.push(null);this.markContent(i,_objectSpread2(_objectSpread2({},o),{},{mcid:p}));var g=new bt((this||r).page.dictionary,p);(this||r).page.markings.slice(-1)[0].structContent=g;return g},endMarkedContent:function endMarkedContent(){(this||r).page.markings.pop();this.addContent("EMC");return this||r},struct:function struct(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new wt(this||r,i,o,u)},addStructure:function addStructure(i){var o=this.getStructTreeRoot();i.setParent(o);i.setAttached();(this||r).structChildren.push(i);o.data.K||(o.data.K=[]);o.data.K.push(i.dictionary);return this||r},initPageMarkings:function initPageMarkings(i){var o=this||r;i.forEach((function(r){if(r.structContent){var i=r.structContent;var u=o.markStructureContent(r.tag,r.options);i.push(u);o.page.markings.slice(-1)[0].structContent=i}else o.markContent(r.tag,r.options)}))},endPageMarkings:function endPageMarkings(r){var i=r.markings;i.forEach((function(){return r.write("EMC")}));r.markings=[];return i},getMarkInfoDictionary:function getMarkInfoDictionary(){(this||r)._root.data.MarkInfo||((this||r)._root.data.MarkInfo=this.ref({}));return(this||r)._root.data.MarkInfo},getStructTreeRoot:function getStructTreeRoot(){(this||r)._root.data.StructTreeRoot||((this||r)._root.data.StructTreeRoot=this.ref({Type:"StructTreeRoot",ParentTree:new _t,ParentTreeNextKey:0}));return(this||r)._root.data.StructTreeRoot},getStructParentTree:function getStructParentTree(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey:function createStructParentTreeNextKey(){this.getMarkInfoDictionary();var r=this.getStructTreeRoot();var i=r.data.ParentTreeNextKey++;r.data.ParentTree.add(i,[]);return i},endMarkings:function endMarkings(){var i=(this||r)._root.data.StructTreeRoot;if(i){i.end();(this||r).structChildren.forEach((function(r){return r.end()}))}(this||r)._root.data.MarkInfo&&(this||r)._root.data.MarkInfo.end()}};var xt={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};var Ct={left:0,center:1,right:2};var kt={value:"V",defaultValue:"DV"};var Pt={zip:"0",zipPlus4:"1",zip4:"1",phone:"2",ssn:"3"};var At={number:{nDec:0,sepComma:false,negStyle:"MinusBlack",currency:"",currencyPrepend:true},percent:{nDec:0,sepComma:false}};var Et={initForm:function initForm(){if(!(this||r)._font)throw new Error("Must set a font before calling initForm method");(this||r)._acroform={fonts:{},defaultFont:(this||r)._font.name};(this||r)._acroform.fonts[(this||r)._font.id]=(this||r)._font.ref();var i={Fields:[],NeedAppearances:true,DA:new String("/".concat((this||r)._font.id," 0 Tf 0 g")),DR:{Font:{}}};i.DR.Font[(this||r)._font.id]=(this||r)._font.ref();var o=this.ref(i);(this||r)._root.data.AcroForm=o;return this||r},endAcroForm:function endAcroForm(){var i=this||r;if((this||r)._root.data.AcroForm){if(!Object.keys((this||r)._acroform.fonts).length&&!(this||r)._acroform.defaultFont)throw new Error("No fonts specified for PDF form");var o=(this||r)._root.data.AcroForm.data.DR.Font;Object.keys((this||r)._acroform.fonts).forEach((function(r){o[r]=i._acroform.fonts[r]}));(this||r)._root.data.AcroForm.data.Fields.forEach((function(r){i._endChild(r)}));(this||r)._root.data.AcroForm.end()}return this||r},_endChild:function _endChild(i){var o=this||r;if(Array.isArray(i.data.Kids)){i.data.Kids.forEach((function(r){o._endChild(r)}));i.end()}return this||r}, /** * Creates and adds a form field to the document. Form fields are intermediate * nodes in a PDF form that are used to specify form name heirarchy and form * value defaults. * @param {string} name - field name (T attribute in field dictionary) * @param {object} options - other attributes to include in field dictionary */ formField:function formField(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var o=this._fieldDict(r,null,i);var u=this.ref(o);this._addToParent(u);return u}, /** * Creates and adds a Form Annotation to the document. Form annotations are * called Widget annotations internally within a PDF file. * @param {string} name - form field name (T attribute of widget annotation * dictionary) * @param {number} x * @param {number} y * @param {number} w * @param {number} h * @param {object} options */ formAnnotation:function formAnnotation(i,o,u,p,g,y){var w=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};var _=this._fieldDict(i,o,w);_.Subtype="Widget";void 0===_.F&&(_.F=4);this.annotate(u,p,g,y,_);var x=(this||r).page.annotations[(this||r).page.annotations.length-1];return this._addToParent(x)},formText:function formText(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"text",i,o,u,p,g)},formPushButton:function formPushButton(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"pushButton",i,o,u,p,g)},formCombo:function formCombo(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"combo",i,o,u,p,g)},formList:function formList(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"list",i,o,u,p,g)},formRadioButton:function formRadioButton(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"radioButton",i,o,u,p,g)},formCheckbox:function formCheckbox(r,i,o,u,p){var g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.formAnnotation(r,"checkbox",i,o,u,p,g)},_addToParent:function _addToParent(i){var o=i.data.Parent;if(o){o.data.Kids||(o.data.Kids=[]);o.data.Kids.push(i)}else(this||r)._root.data.AcroForm.data.Fields.push(i);return this||r},_fieldDict:function _fieldDict(i,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(this||r)._acroform)throw new Error("Call document.initForms() method before adding form elements to document");var p=Object.assign({},u);null!==o&&(p=this._resolveType(o,u));p=this._resolveFlags(p);p=this._resolveJustify(p);p=this._resolveFont(p);p=this._resolveStrings(p);p=this._resolveColors(p);p=this._resolveFormat(p);p.T=new String(i);if(p.parent){p.Parent=p.parent;delete p.parent}return p},_resolveType:function _resolveType(r,i){if("text"===r)i.FT="Tx";else if("pushButton"===r){i.FT="Btn";i.pushButton=true}else if("radioButton"===r){i.FT="Btn";i.radioButton=true}else if("checkbox"===r)i.FT="Btn";else if("combo"===r){i.FT="Ch";i.combo=true}else{if("list"!==r)throw new Error("Invalid form annotation type '".concat(r,"'"));i.FT="Ch"}return i},_resolveFormat:function _resolveFormat(r){var i=r.format;if(i&&i.type){var o;var u;var p="";if(void 0!==Pt[i.type]){o="AFSpecial_Keystroke";u="AFSpecial_Format";p=Pt[i.type]}else{var g=i.type.charAt(0).toUpperCase()+i.type.slice(1);o="AF".concat(g,"_Keystroke");u="AF".concat(g,"_Format");if("date"===i.type){o+="Ex";p=String(i.param)}else if("time"===i.type)p=String(i.param);else if("number"===i.type){var y=Object.assign({},At.number,i);p=String([String(y.nDec),y.sepComma?"0":"1",'"'+y.negStyle+'"',"null",'"'+y.currency+'"',String(y.currencyPrepend)].join(","))}else if("percent"===i.type){var w=Object.assign({},At.percent,i);p=String([String(w.nDec),w.sepComma?"0":"1"].join(","))}}r.AA=r.AA?r.AA:{};r.AA.K={S:"JavaScript",JS:new String("".concat(o,"(").concat(p,");"))};r.AA.F={S:"JavaScript",JS:new String("".concat(u,"(").concat(p,");"))}}delete r.format;return r},_resolveColors:function _resolveColors(r){var i=this._normalizeColor(r.backgroundColor);if(i){r.MK||(r.MK={});r.MK.BG=i}i=this._normalizeColor(r.borderColor);if(i){r.MK||(r.MK={});r.MK.BC=i}delete r.backgroundColor;delete r.borderColor;return r},_resolveFlags:function _resolveFlags(r){var i=0;Object.keys(r).forEach((function(o){if(xt[o]){i|=xt[o];delete r[o]}}));if(0!==i){r.Ff=r.Ff?r.Ff:0;r.Ff|=i}return r},_resolveJustify:function _resolveJustify(r){var i=0;if(void 0!==r.align){"number"===typeof Ct[r.align]&&(i=Ct[r.align]);delete r.align}0!==i&&(r.Q=i);return r},_resolveFont:function _resolveFont(i){null===(this||r)._acroform.fonts[(this||r)._font.id]&&((this||r)._acroform.fonts[(this||r)._font.id]=(this||r)._font.ref());if((this||r)._acroform.defaultFont!==(this||r)._font.name){i.DR={Font:{}};var o=i.fontSize||0;i.DR.Font[(this||r)._font.id]=(this||r)._font.ref();i.DA=new String("/".concat((this||r)._font.id," ").concat(o," Tf 0 g"))}return i},_resolveStrings:function _resolveStrings(r){var i=[];function appendChoices(r){if(Array.isArray(r))for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{};o.name=o.name||i;var u={Type:"EmbeddedFile",Params:{}};var p;if(!i)throw new Error("No src specified");if(g.isBuffer(i))p=i;else if(i instanceof ArrayBuffer)p=g.from(new Uint8Array(i));else{var y;if(y=/^data:(.*);base64,(.*)$/.exec(i)){y[1]&&(u.Subtype=y[1].replace("/","#2F"));p=g.from(y[2],"base64")}else{p=O.readFileSync(i);if(!p)throw new Error("Could not read contents of file at filepath ".concat(i));var w=O.statSync(i),x=w.birthtime,k=w.ctime;u.Params.CreationDate=x;u.Params.ModDate=k}}o.creationDate instanceof Date&&(u.Params.CreationDate=o.creationDate);o.modifiedDate instanceof Date&&(u.Params.ModDate=o.modifiedDate);o.type&&(u.Subtype=o.type.replace("/","#2F"));var P=_.default.MD5(_.default.lib.WordArray.create(new Uint8Array(p)));u.Params.CheckSum=new String(P);u.Params.Size=p.byteLength;var I;(this||r)._fileRegistry||((this||r)._fileRegistry={});var file=(this||r)._fileRegistry[o.name];if(file&&isEqual(u,file))I=file.ref;else{I=this.ref(u);I.end(p);(this||r)._fileRegistry[o.name]=_objectSpread2(_objectSpread2({},u),{},{ref:I})}var B={Type:"Filespec",F:new String(o.name),EF:{F:I},UF:new String(o.name)};o.description&&(B.Desc=new String(o.description));var R=this.ref(B);R.end();o.hidden||this.addNamedEmbeddedFile(o.name,R);return R}};function isEqual(r,i){return r.Subtype===i.Subtype&&r.Params.CheckSum.toString()===i.Params.CheckSum.toString()&&r.Params.Size===i.Params.Size&&r.Params.CreationDate===i.Params.CreationDate&&r.Params.ModDate===i.Params.ModDate}var It=function(i){_inherits(PDFDocument,i);var o=_createSuper(PDFDocument);function PDFDocument(){var i;var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this||r,PDFDocument);i=o.call(this||r,u);i.options=u;switch(u.pdfVersion){case"1.4":i.version=1.4;break;case"1.5":i.version=1.5;break;case"1.6":i.version=1.6;break;case"1.7":case"1.7ext3":i.version=1.7;break;default:i.version=1.3;break}i.compress=null==i.options.compress||i.options.compress;i._pageBuffer=[];i._pageBufferStart=0;i._offsets=[];i._waiting=0;i._ended=false;i._offset=0;var p=i.ref({Type:"Pages",Count:0,Kids:[]});var g=i.ref({Dests:new J});i._root=i.ref({Type:"Catalog",Pages:p,Names:g});i.options.lang&&(i._root.data.Lang=new String(i.options.lang));i.page=null;i.initColor();i.initVector();i.initFonts(u.font);i.initText();i.initImages();i.initOutline();i.initMarkings(u);i.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date};if(i.options.info)for(var y in i.options.info){var w=i.options.info[y];i.info[y]=w}i.options.displayTitle&&(i._root.data.ViewerPreferences=i.ref({DisplayDocTitle:true}));i._id=me.generateFileID(i.info);i._security=me.create(_assertThisInitialized(i),u);i._write("%PDF-".concat(i.version));i._write("%ÿÿÿÿ");false!==i.options.autoFirstPage&&i.addPage();return i}_createClass(PDFDocument,[{key:"addPage",value:function addPage(i){null==i&&(i=(this||r).options);(this||r).options.bufferPages||this.flushPages();(this||r).page=new Y(this||r,i);(this||r)._pageBuffer.push((this||r).page);var o=(this||r)._root.data.Pages.data;o.Kids.push((this||r).page.dictionary);o.Count++;(this||r).x=(this||r).page.margins.left;(this||r).y=(this||r).page.margins.top;(this||r)._ctm=[1,0,0,1,0,0];this.transform(1,0,0,-1,0,(this||r).page.height);this.emit("pageAdded");return this||r}},{key:"continueOnNewPage",value:function continueOnNewPage(i){var o=this.endPageMarkings((this||r).page);this.addPage(i);this.initPageMarkings(o);return this||r}},{key:"bufferedPageRange",value:function bufferedPageRange(){return{start:(this||r)._pageBufferStart,count:(this||r)._pageBuffer.length}}},{key:"switchToPage",value:function switchToPage(i){var o;if(!(o=(this||r)._pageBuffer[i-(this||r)._pageBufferStart]))throw new Error("switchToPage(".concat(i,") out of bounds, current buffer covers pages ").concat((this||r)._pageBufferStart," to ").concat((this||r)._pageBufferStart+(this||r)._pageBuffer.length-1));return(this||r).page=o}},{key:"flushPages",value:function flushPages(){var i=(this||r)._pageBuffer;(this||r)._pageBuffer=[];(this||r)._pageBufferStart+=i.length;var o,u=_createForOfIteratorHelper(i);try{for(u.s();!(o=u.n()).done;){var p=o.value;this.endPageMarkings(p);p.end()}}catch(r){u.e(r)}finally{u.f()}}},{key:"addNamedDestination",value:function addNamedDestination(i){for(var o=arguments.length,u=new Array(o>1?o-1:0),p=1;p>w&P]};var W=function getCombiningClass(o){var u=i.get(o);return r.combiningClasses[u>>_&I]};var U=function getScript(o){var u=i.get(o);return r.scripts[u>>x&B]};var j=function getEastAsianWidth(o){var u=i.get(o);return r.eaw[u>>k&R]};var G=function getNumericValue(r){var o=i.get(r);var u=o&D;if(0===u)return null;if(u<=50)return u-1;if(u<480){var p=(u>>4)-12;var g=1+(15&u);return p/g}if(u<768){o=(u>>5)-14;var y=2+(31&u);while(y>0){o*=10;y--}return o}o=(u>>2)-191;var w=1+(3&u);while(w>0){o*=60;w--}return o};var X=function isAlphabetic(r){var i=N(r);return"Lu"===i||"Ll"===i||"Lt"===i||"Lm"===i||"Lo"===i||"Nl"===i};var K=function isDigit(r){return"Nd"===N(r)};var Y=function isPunctuation(r){var i=N(r);return"Pc"===i||"Pd"===i||"Pe"===i||"Pf"===i||"Pi"===i||"Po"===i||"Ps"===i};var J=function isLowerCase(r){return"Ll"===N(r)};var $=function isUpperCase(r){return"Lu"===N(r)};var ee=function isTitleCase(r){return"Lt"===N(r)};var te=function isWhiteSpace(r){var i=N(r);return"Zs"===i||"Zl"===i||"Zp"===i};var re=function isBaseForm(r){var i=N(r);return"Nd"===i||"No"===i||"Nl"===i||"Lu"===i||"Ll"===i||"Lt"===i||"Lm"===i||"Lo"===i||"Me"===i||"Mc"===i};var ne=function isMark(r){var i=N(r);return"Mn"===i||"Me"===i||"Mc"===i};return{getCategory:N,getCombiningClass:W,getScript:U,getEastAsianWidth:j,getNumericValue:G,isAlphabetic:X,isDigit:K,isPunctuation:Y,isLowerCase:J,isUpperCase:$,isTitleCase:ee,isWhiteSpace:te,isBaseForm:re,isMark:ne}};var R=new u.default(p.default.toByteArray(P.data));var D=B(x,R);var N=D;i.default=N},4781:function(i,o,u){u(7042);u(6992);u(1539);u(2472);u(2990);u(8927);u(3105);u(5035);u(4345);u(7174);u(2846);u(4731);u(7209);u(6319);u(8867);u(7789);u(3739);u(9368);u(4483);u(2056);u(3462);u(678);u(7462);u(3824);u(5021);u(2974);u(5016);u(9135);var p=u(311);var g=u(1753),y=g.swap32LE;var w=11;var _=5;var x=w-_;var k=65536>>w;var P=1<>_;var N=1024>>_;var W=D+N;var U=W;var j=32;var G=U+j;var X=1<1114111)return(this||r).errorValue;if(i<55296||i>56319&&i<=65535){o=((this||r).data[i>>_]<>_)]<>w)];o=(this||r).data[o+(i>>_&I)];o=(o< Tj")}function docEndText(){i.addContent("ET")}function docFillColor(r){if("PDFPattern"===r[0].constructor.name){i.fillOpacity(r[1]);docUsePattern(r[0],false)}else i.fillColor(r[0],r[1])}function docStrokeColor(r){if("PDFPattern"===r[0].constructor.name){i.strokeOpacity(r[1]);docUsePattern(r[0],true)}else i.strokeColor(r[0],r[1])}function docInsertLink(r,o,u,p,g){var y=i.ref({Type:"Annot",Subtype:"Link",Rect:[r,o,u,p],Border:[0,0,0],A:{S:"URI",URI:new String(g)}});y.end();Ie.push(y)}function parseXml(i){var o=function SvgNode(i,o,u,p){(this||r).error=p;(this||r).nodeName=i;(this||r).nodeValue=u;(this||r).nodeType=o;(this||r).attributes=Object.create(null);(this||r).childNodes=[];(this||r).parentNode=null;(this||r).id="";(this||r).textContent="";(this||r).classList=[]};o.prototype.getAttribute=function(i){return null!=(this||r).attributes[i]?(this||r).attributes[i]:null};o.prototype.getElementById=function(i){var o=null;(function recursive(r){if(!o&&1===r.nodeType){r.id===i&&(o=r);for(var u=0;u/)){while(i=recursive()){u.childNodes.push(i);i.parentNode=u;u.textContent+=3===i.nodeType||4===i.nodeType?i.nodeValue:i.textContent}if(r=g.match(/^<\/([\w:.-]+)\s*>/,true)){if(r[1]===u.nodeName)return u;Se('parseXml: tag not matching, opening "'+u.nodeName+'" & closing "'+r[1]+'"');y=true;return u}Se('parseXml: tag not matching, opening "'+u.nodeName+'" & not closing');y=true;return u}if(g.match(/^\/>/))return u;Se('parseXml: tag could not be parsed "'+u.nodeName+'"');y=true}else{if(r=g.match(/^/))return new o(null,8,r,y);if(r=g.match(/^<\?[\s\S]*?\?>/))return new o(null,7,r,y);if(r=g.match(/^/))return new o(null,10,r,y);if(r=g.match(/^/,true))return new o("#cdata-section",4,r[1],y);if(r=g.match(/^([^<]+)/,true))return new o("#text",3,decodeEntities(r[1]),y)}};while(p=w())1!==p.nodeType||u?(1===p.nodeType||3===p.nodeType&&""!==p.nodeValue.trim())&&Se("parseXml: data after document end has been discarded"):u=p;g.matchAll()&&Se("parseXml: parsing error");return u}function decodeEntities(r){return r.replace(/&(?:#([0-9]+)|#[xX]([0-9A-Fa-f]+)|([0-9A-Za-z]+));/g,(function(r,i,o,u){return i?String.fromCharCode(parseInt(i,10)):o?String.fromCharCode(parseInt(o,16)):u&&_[u]?String.fromCharCode(_[u]):r}))}function parseColor(r){var i,o;r=(r||"").trim();if(i=y[r])o=[i.slice(),1];else if(i=r.match(/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i)){i[1]=parseInt(i[1]);i[2]=parseInt(i[2]);i[3]=parseInt(i[3]);i[4]=parseFloat(i[4]);i[1]<256&&i[2]<256&&i[3]<256&&i[4]<=1&&(o=[i.slice(1,4),i[4]])}else if(i=r.match(/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)$/i)){i[1]=parseInt(i[1]);i[2]=parseInt(i[2]);i[3]=parseInt(i[3]);i[1]<256&&i[2]<256&&i[3]<256&&(o=[i.slice(1,4),1])}else if(i=r.match(/^rgb\(\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*\)$/i)){i[1]=2.55*parseFloat(i[1]);i[2]=2.55*parseFloat(i[2]);i[3]=2.55*parseFloat(i[3]);i[1]<256&&i[2]<256&&i[3]<256&&(o=[i.slice(1,4),1])}else(i=r.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i))?o=[[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)],1]:(i=r.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(o=[[17*parseInt(i[1],16),17*parseInt(i[2],16),17*parseInt(i[3],16)],1]);return ke?ke(o,r):o}function opacityToColor(r,i,o){var u=r[0].slice(),p=r[1]*i;if(o){for(var g=0;g=0;o--)r=multiplyMatrix(Ee[o].savedMatrix,r);return r}function getPageBBox(){return(new R).M(0,0).L(i.page.width,0).L(i.page.width,i.page.height).L(0,i.page.height).transform(inverseMatrix(getGlobalMatrix())).getBoundingBox()}function inverseMatrix(r){var i=r[0]*r[3]-r[1]*r[2];return[r[3]/i,-r[1]/i,-r[2]/i,r[0]/i,(r[2]*r[5]-r[3]*r[4])/i,(r[1]*r[4]-r[0]*r[5])/i]}function validateMatrix(r){var i=validateNumber(r[0]),o=validateNumber(r[1]),u=validateNumber(r[2]),p=validateNumber(r[3]),g=validateNumber(r[4]),y=validateNumber(r[5]);if(isNotEqual(i*p-o*u,0))return[i,o,u,p,g,y]}function solveEquation(r){var i=r[2]||0,o=r[1]||0,u=r[0]||0;if(isEqual(i,0)&&isEqual(o,0))return[];if(isEqual(i,0))return[-u/o];var p=o*o-4*i*u;return isNotEqual(p,0)&&p>0?[(-o+Math.sqrt(p))/(2*i),(-o-Math.sqrt(p))/(2*i)]:isEqual(p,0)?[-o/(2*i)]:[]}function getCurveValue(r,i){return(i[0]||0)+(i[1]||0)*r+(i[2]||0)*r*r+(i[3]||0)*r*r*r}function isEqual(r,i){return Math.abs(r-i)<1e-10}function isNotEqual(r,i){return Math.abs(r-i)>=1e-10}function validateNumber(r){return r>-1e21&&r<1e21?Math.round(1e6*r)/1e6:0}function isArrayLike(r){return"object"===typeof r&&null!==r&&"number"===typeof r.length}function parseTranform(r){var i,o=new I((r||"").trim()),u=[1,0,0,1,0,0];while(i=o.match(/^([A-Za-z]+)\s*[(]([^(]+)[)]/,true)){var p=i[1],g=[],y=new I(i[2].trim()),w=void 0;while(w=y.matchNumber()){g.push(Number(w));y.matchSeparator()}if("matrix"===p&&6===g.length)u=multiplyMatrix(u,[g[0],g[1],g[2],g[3],g[4],g[5]]);else if("translate"===p&&2===g.length)u=multiplyMatrix(u,[1,0,0,1,g[0],g[1]]);else if("translate"===p&&1===g.length)u=multiplyMatrix(u,[1,0,0,1,g[0],0]);else if("scale"===p&&2===g.length)u=multiplyMatrix(u,[g[0],0,0,g[1],0,0]);else if("scale"===p&&1===g.length)u=multiplyMatrix(u,[g[0],0,0,g[0],0,0]);else if("rotate"===p&&3===g.length){var _=g[0]*Math.PI/180;u=multiplyMatrix(u,[1,0,0,1,g[1],g[2]],[Math.cos(_),Math.sin(_),-Math.sin(_),Math.cos(_),0,0],[1,0,0,1,-g[1],-g[2]])}else if("rotate"===p&&1===g.length){var x=g[0]*Math.PI/180;u=multiplyMatrix(u,[Math.cos(x),Math.sin(x),-Math.sin(x),Math.cos(x),0,0])}else if("skewX"===p&&1===g.length){var k=g[0]*Math.PI/180;u=multiplyMatrix(u,[1,0,Math.tan(k),1,0,0])}else{if("skewY"!==p||1!==g.length)return;var P=g[0]*Math.PI/180;u=multiplyMatrix(u,[1,Math.tan(P),0,1,0,0])}o.matchSeparator()}if(!o.matchAll())return u}function parseAspectRatio(r,i,o,u,p,g){var y=(r||"").trim().match(/^(none)$|^x(Min|Mid|Max)Y(Min|Mid|Max)(?:\s+(meet|slice))?$/)||[],w=y[1]||y[4]||"meet",_=y[2]||"Mid",x=y[3]||"Mid",k=i/u,P=o/p,I={Min:0,Mid:.5,Max:1}[_]-(g||0),O={Min:0,Mid:.5,Max:1}[x]-(g||0);"slice"===w?P=k=Math.max(k,P):"meet"===w&&(P=k=Math.min(k,P));return[k,0,0,P,I*(i-u*k),O*(o-p*P)]}function parseStyleAttr(r){var i=Object.create(null);r=(r||"").trim().split(/;/);for(var o=0;op.selector.specificity)){i[g]=p.css[g];o[g]=p.selector.specificity}}return i}function combineArrays(r,i){return r.concat(i.slice(r.length))}function getAscent(r,i){return Math.max(r.ascender,(r.bbox[3]||r.bbox.maxY)*(r.scale||1))*i/1e3}function getDescent(r,i){return Math.min(r.descender,(r.bbox[1]||r.bbox.minY)*(r.scale||1))*i/1e3}function getXHeight(r,i){return(r.xHeight||.5*(r.ascender-r.descender))*i/1e3}function getBaseline(r,i,o,u){var p,g;switch(o){case"middle":p=.5*getXHeight(r,i);break;case"central":p=.5*(getDescent(r,i)+getAscent(r,i));break;case"after-edge":case"text-after-edge":p=getDescent(r,i);break;case"alphabetic":case"auto":case"baseline":p=0;break;case"mathematical":p=.5*getAscent(r,i);break;case"hanging":p=.8*getAscent(r,i);break;case"before-edge":case"text-before-edge":p=getAscent(r,i);break;default:p=0;break}switch(u){case"baseline":g=0;break;case"super":g=.6*i;break;case"sub":g=-.6*i;break;default:g=u;break}return p-g}function getTextPos(r,i,o){var u=r.encode(""+o),p=u[0],g=u[1],y=[];for(var w=0;wu){r=u;u=i;i=r}if(o>p){r=p;p=o;o=r}var g=solveEquation(I);for(var y=0;y=0&&g[y]<=1){var w=getCurveValue(g[y],k);wu&&(u=w)}var _=solveEquation(O);for(var x=0;x<_.length;x++)if(_[x]>=0&&_[x]<=1){var B=getCurveValue(_[x],P);Bp&&(p=B)}return[i,o,u,p]};(this||r).getPointAtLength=function(i){if(isEqual(i,0))return(this||r).startPoint;if(isEqual(i,(this||r).totalLength))return(this||r).endPoint;if(!(i<0||i>(this||r).totalLength))for(var o=1;o<=x;o++){var u=B[o-1],p=B[o];if(u<=i&&i<=p){var g=(o-(p-i)/(p-u))/x,y=getCurveValue(g,k),w=getCurveValue(g,P),_=getCurveValue(g,I),R=getCurveValue(g,O);return[y,w,Math.atan2(R,_)]}}}};var B=function LineSegment(i,o,u,p){(this||r).totalLength=Math.sqrt((u-i)*(u-i)+(p-o)*(p-o));(this||r).startPoint=[i,o,Math.atan2(p-o,u-i)];(this||r).endPoint=[u,p,Math.atan2(p-o,u-i)];(this||r).getBoundingBox=function(){return[Math.min((this||r).startPoint[0],(this||r).endPoint[0]),Math.min((this||r).startPoint[1],(this||r).endPoint[1]),Math.max((this||r).startPoint[0],(this||r).endPoint[0]),Math.max((this||r).startPoint[1],(this||r).endPoint[1])]};(this||r).getPointAtLength=function(i){if(i>=0&&i<=(this||r).totalLength){var o=i/(this||r).totalLength||0,u=(this||r).startPoint[0]+o*((this||r).endPoint[0]-(this||r).startPoint[0]),p=(this||r).startPoint[1]+o*((this||r).endPoint[1]-(this||r).startPoint[1]);return[u,p,(this||r).startPoint[2]]}}};var R=function SvgShape(){(this||r).pathCommands=[];(this||r).pathSegments=[];(this||r).startPoint=null;(this||r).endPoint=null;(this||r).totalLength=0;var o,u,p,g=0,y=0,w=0,_=0;(this||r).move=function(r,i){g=w=r;y=_=i;return null};(this||r).line=function(r,i){var o=new B(w,_,r,i);w=r;_=i;return o};(this||r).curve=function(r,i,o,u,p,g){var y=new O(w,_,r,i,o,u,p,g);w=p;_=g;return y};(this||r).close=function(){var r=new B(w,_,g,y);w=g;_=y;return r};(this||r).addCommand=function(i){(this||r).pathCommands.push(i);var o=(this||r)[i[0]].apply(this||r,i.slice(3));if(o){o.hasStart=i[1];o.hasEnd=i[2];(this||r).startPoint=(this||r).startPoint||o.startPoint;(this||r).endPoint=o.endPoint;(this||r).pathSegments.push(o);(this||r).totalLength+=o.totalLength}};(this||r).M=function(i,u){this.addCommand(["move",true,true,i,u]);o="M";return this||r};(this||r).m=function(r,i){return this.M(w+r,_+i)};(this||r).Z=(this||r).z=function(){this.addCommand(["close",true,true]);o="Z";return this||r};(this||r).L=function(i,u){this.addCommand(["line",true,true,i,u]);o="L";return this||r};(this||r).l=function(r,i){return this.L(w+r,_+i)};(this||r).H=function(r){return this.L(r,_)};(this||r).h=function(r){return this.L(w+r,_)};(this||r).V=function(r){return this.L(w,r)};(this||r).v=function(r){return this.L(w,_+r)};(this||r).C=function(i,g,y,w,_,x){this.addCommand(["curve",true,true,i,g,y,w,_,x]);o="C";u=y;p=w;return this||r};(this||r).c=function(r,i,o,u,p,g){return this.C(w+r,_+i,w+o,_+u,w+p,_+g)};(this||r).S=function(r,i,g,y){return this.C(w+("C"===o?w-u:0),_+("C"===o?_-p:0),r,i,g,y)};(this||r).s=function(r,i,g,y){return this.C(w+("C"===o?w-u:0),_+("C"===o?_-p:0),w+r,_+i,w+g,_+y)};(this||r).Q=function(i,g,y,x){var k=w+2/3*(i-w),P=_+2/3*(g-_),I=y+2/3*(i-y),O=x+2/3*(g-x);this.addCommand(["curve",true,true,k,P,I,O,y,x]);o="Q";u=i;p=g;return this||r};(this||r).q=function(r,i,o,u){return this.Q(w+r,_+i,w+o,_+u)};(this||r).T=function(r,i){return this.Q(w+("Q"===o?w-u:0),_+("Q"===o?_-p:0),r,i)};(this||r).t=function(r,i){return this.Q(w+("Q"===o?w-u:0),_+("Q"===o?_-p:0),w+r,_+i)};(this||r).A=function(i,u,p,g,y,x,k){if(isEqual(i,0)||isEqual(u,0))this.addCommand(["line",true,true,x,k]);else{p*=Math.PI/180;i=Math.abs(i);u=Math.abs(u);g=1*!!g;y=1*!!y;var P=Math.cos(p)*(w-x)/2+Math.sin(p)*(_-k)/2,I=Math.cos(p)*(_-k)/2-Math.sin(p)*(w-x)/2,O=P*P/(i*i)+I*I/(u*u);if(O>1){i*=Math.sqrt(O);u*=Math.sqrt(O)}var B=Math.sqrt(Math.max(0,i*i*u*u-i*i*I*I-u*u*P*P)/(i*i*I*I+u*u*P*P)),R=(g===y?-1:1)*B*i*I/u,D=(g===y?1:-1)*B*u*P/i;var N=Math.cos(p)*R-Math.sin(p)*D+(w+x)/2,W=Math.sin(p)*R+Math.cos(p)*D+(_+k)/2,U=Math.atan2((I-D)/u,(P-R)/i),j=Math.atan2((-I-D)/u,(-P-R)/i);0===y&&j-U>0?j-=2*Math.PI:1===y&&j-U<0&&(j+=2*Math.PI);var G=Math.ceil(Math.abs(j-U)/(Math.PI/Ae));for(var X=0;Xi[2]&&(i[2]=r[2]);r[1]i[3]&&(i[3]=r[3])}for(var o=0;o<(this||r).pathSegments.length;o++)addBounds((this||r).pathSegments[o].getBoundingBox());Infinity===i[0]&&(i[0]=0);Infinity===i[1]&&(i[1]=0);-Infinity===i[2]&&(i[2]=0);-Infinity===i[3]&&(i[3]=0);return i};(this||r).getPointAtLength=function(i){if(i>=0&&i<=(this||r).totalLength){var o;for(var u=0;u<(this||r).pathSegments.length;u++){if(o=(this||r).pathSegments[u].getPointAtLength(i))return o;i-=(this||r).pathSegments[u].totalLength}return(this||r).endPoint}};(this||r).transform=function(i){(this||r).pathSegments=[];(this||r).startPoint=null;(this||r).endPoint=null;(this||r).totalLength=0;for(var o=0;o<(this||r).pathCommands.length;o++){var u=(this||r).pathCommands.shift();for(var p=3;p=0&&o[3]>=0?o:i};(this||r).getPercent=function(r,i){var o=this.attr(r);var u=new I((o||"").trim());var p=u.matchNumber();if(!p)return i;u.match("%")&&(p*=.01);return u.matchAll()?i:Math.max(0,Math.min(1,p))};(this||r).chooseValue=function(r){for(var i=0;i=0&&(u=w);break;case"stroke-miterlimit":w=parseFloat(o);null!=w&&w>=1&&(u=w);break;case"word-spacing":case"letter-spacing":u=this.computeLength(o,this.getViewport());break;case"stroke-dashoffset":u=this.computeLength(o,this.getViewport());if(null!=u&&u<0){var B=this.get("stroke-dasharray");for(var R=0;R0?i:(this||r).ref?(this||r).ref.getChildren():[]};(this||r).getPaint=function(r,o,u,g){var y="userSpaceOnUse"!==this.attr("patternUnits"),w="objectBoundingBox"===this.attr("patternContentUnits"),_=this.getLength("x",y?1:this.getParentVWidth(),0),x=this.getLength("y",y?1:this.getParentVHeight(),0),k=this.getLength("width",y?1:this.getParentVWidth(),0),P=this.getLength("height",y?1:this.getParentVHeight(),0);if(w&&!y){_=(_-r[0])/(r[2]-r[0])||0;x=(x-r[1])/(r[3]-r[1])||0;k=k/(r[2]-r[0])||0;P=P/(r[3]-r[1])||0}else if(!w&&y){_=r[0]+_*(r[2]-r[0]);x=r[1]+x*(r[3]-r[1]);k*=r[2]-r[0];P*=r[3]-r[1]}var I=this.getViewbox("viewBox",[0,0,k,P]),O=(this.attr("preserveAspectRatio")||"").trim(),B=multiplyMatrix(parseAspectRatio(O,k,P,I[2],I[3],0),[1,0,0,1,-I[0],-I[1]]),R=parseTranform(this.attr("patternTransform"));w&&(R=multiplyMatrix([r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]],R));R=multiplyMatrix(R,[1,0,0,1,_,x]);if((R=validateMatrix(R))&&(B=validateMatrix(B))&&(k=validateNumber(k))&&(P=validateNumber(P))){var D=docBeginGroup([0,0,k,P]);i.transform.apply(i,B);this.drawChildren(u,g);docEndGroup(D);return[docCreatePattern(D,k,P,R),o]}return p?[p[0],p[1]*o]:void 0};(this||r).getVWidth=function(){var r="userSpaceOnUse"!==this.attr("patternUnits"),i=this.getLength("width",r?1:this.getParentVWidth(),0);return this.getViewbox("viewBox",[0,0,i,0])[2]};(this||r).getVHeight=function(){var r="userSpaceOnUse"!==this.attr("patternUnits"),i=this.getLength("height",r?1:this.getParentVHeight(),0);return this.getViewbox("viewBox",[0,0,0,i])[3]}};var ee=function SvgElemGradient(o,u,p){D.call(this||r,o,u);(this||r).allowedChildren=["stop"];(this||r).ref=function(){var r=this.getUrl("href")||this.getUrl("xlink:href");if(r&&r.nodeName===o.nodeName)return new SvgElemGradient(r,u,p)}.call(this||r);var g=(this||r).attr;(this||r).attr=function(i){var o=g.call(this||r,i);return null!=o||"href"===i||"xlink:href"===i?o:(this||r).ref?(this||r).ref.attr(i):null};var y=(this||r).getChildren;(this||r).getChildren=function(){var i=y.call(this||r);return i.length>0?i:(this||r).ref?(this||r).ref.getChildren():[]};(this||r).getPaint=function(o,u,g,y){var _=this.getChildren();if(0!==_.length){if(1===_.length){var x=_[0],k=x.get("stop-color");if("none"===k)return;return opacityToColor(k,x.get("stop-opacity")*u,y)}var P,I,O,B,R,D,N="userSpaceOnUse"!==this.attr("gradientUnits"),W=parseTranform(this.attr("gradientTransform")),U=this.attr("spreadMethod"),j=0,G=0,X=1;N&&(W=multiplyMatrix([o[2]-o[0],0,0,o[3]-o[1],o[0],o[1]],W));if(W=validateMatrix(W)){if("linearGradient"===(this||r).name){I=this.getLength("x1",N?1:this.getVWidth(),0);O=this.getLength("x2",N?1:this.getVWidth(),N?1:this.getVWidth());B=this.getLength("y1",N?1:this.getVHeight(),0);R=this.getLength("y2",N?1:this.getVHeight(),0)}else{O=this.getLength("cx",N?1:this.getVWidth(),N?.5:.5*this.getVWidth());R=this.getLength("cy",N?1:this.getVHeight(),N?.5:.5*this.getVHeight());D=this.getLength("r",N?1:this.getViewport(),N?.5:.5*this.getViewport());I=this.getLength("fx",N?1:this.getVWidth(),O);B=this.getLength("fy",N?1:this.getVHeight(),R);D<0&&Se("SvgElemGradient: negative r value");var K=Math.sqrt(Math.pow(O-I,2)+Math.pow(R-B,2)),Y=1;if(K>D){Y=D/K;I=O+(I-O)*Y;B=R+(B-R)*Y}D=Math.max(D,K*Y*1.000001)}if("reflect"===U||"repeat"===U){var J=inverseMatrix(W),$=transformPoint([o[0],o[1]],J),ee=transformPoint([o[2],o[1]],J),te=transformPoint([o[2],o[3]],J),re=transformPoint([o[0],o[3]],J);if("linearGradient"===(this||r).name){j=Math.max(($[0]-O)*(O-I)+($[1]-R)*(R-B),(ee[0]-O)*(O-I)+(ee[1]-R)*(R-B),(te[0]-O)*(O-I)+(te[1]-R)*(R-B),(re[0]-O)*(O-I)+(re[1]-R)*(R-B))/(Math.pow(O-I,2)+Math.pow(R-B,2));G=Math.max(($[0]-I)*(I-O)+($[1]-B)*(B-R),(ee[0]-I)*(I-O)+(ee[1]-B)*(B-R),(te[0]-I)*(I-O)+(te[1]-B)*(B-R),(re[0]-I)*(I-O)+(re[1]-B)*(B-R))/(Math.pow(O-I,2)+Math.pow(R-B,2))}else j=Math.sqrt(Math.max(Math.pow($[0]-O,2)+Math.pow($[1]-R,2),Math.pow(ee[0]-O,2)+Math.pow(ee[1]-R,2),Math.pow(te[0]-O,2)+Math.pow(te[1]-R,2),Math.pow(re[0]-O,2)+Math.pow(re[1]-R,2)))/D-1;j=Math.ceil(j+.5);G=Math.ceil(G+.5);X=G+1+j}P="linearGradient"===(this||r).name?i.linearGradient(I-G*(O-I),B-G*(R-B),O+j*(O-I),R+j*(R-B)):i.radialGradient(I,B,0,O,R,D+j*D);for(var ne=0;ne0&&P.stop((ne+0)/X,le[0],le[1]);P.stop((ne+ae)/(j+G+1),le[0],le[1]);oe===_.length-1&&ae<1&&P.stop((ne+1)/X,le[0],le[1])}}P.setTransform.apply(P,W);return[P,1]}return p?[p[0],p[1]*u]:void 0}}};var te=function SvgElemBasicShape(o,u){N.call(this||r,o,u);(this||r).dashScale=1;(this||r).getBoundingShape=function(){return(this||r).shape};(this||r).getTransformation=function(){return this.get("transform")};(this||r).drawInDocument=function(o,u){if("hidden"!==this.get("visibility")&&(this||r).shape){i.save();this.transform();this.clip();if(o){(this||r).shape.insertInDocument();docFillColor(w.white);i.fill(this.get("clip-rule"))}else{var p,g=this.mask();g&&(p=docBeginGroup(getPageBBox()));var y=(this||r).shape.getSubPaths(),_=this.getFill(o,u),x=this.getStroke(o,u),k=this.get("stroke-width"),P=this.get("stroke-linecap");if(_||x){_&&docFillColor(_);if(x){for(var I=0;I0&&y[I].startPoint&&y[I].startPoint.length>1){var O=y[I].startPoint[0],B=y[I].startPoint[1];docFillColor(x);"square"===P?i.rect(O-.5*k,B-.5*k,k,k):"round"===P&&i.circle(O,B,.5*k);i.fill()}var R=this.get("stroke-dasharray"),D=this.get("stroke-dashoffset");if(isNotEqual((this||r).dashScale,1)){for(var N=0;N0&&y[W].insertInDocument();_&&x?i.fillAndStroke(this.get("fill-rule")):_?i.fill(this.get("fill-rule")):x&&i.stroke()}var U=this.get("marker-start"),j=this.get("marker-mid"),G=this.get("marker-end");if("none"!==U||"none"!==j||"none"!==G){var X=(this||r).shape.getMarkers();if("none"!==U){var K=new ue(U,null);K.drawMarker(false,u,X[0],k)}if("none"!==j)for(var Y=1;Y0&&y>0)if(w&&_){w=Math.min(w,.5*g);_=Math.min(_,.5*y);(this||r).shape=(new R).M(u+w,p).L(u+g-w,p).A(w,_,0,0,1,u+g,p+_).L(u+g,p+y-_).A(w,_,0,0,1,u+g-w,p+y).L(u+w,p+y).A(w,_,0,0,1,u,p+y-_).L(u,p+_).A(w,_,0,0,1,u+w,p).Z()}else(this||r).shape=(new R).M(u,p).L(u+g,p).L(u+g,p+y).L(u,p+y).Z();else(this||r).shape=new R};var ne=function SvgElemCircle(i,o){te.call(this||r,i,o);var u=this.getLength("cx",this.getVWidth(),0),p=this.getLength("cy",this.getVHeight(),0),g=this.getLength("r",this.getViewport(),0);(this||r).shape=g>0?(new R).M(u+g,p).A(g,g,0,0,1,u-g,p).A(g,g,0,0,1,u+g,p).Z():new R};var ae=function SvgElemEllipse(i,o){te.call(this||r,i,o);var u=this.getLength("cx",this.getVWidth(),0),p=this.getLength("cy",this.getVHeight(),0),g=this.getLength("rx",this.getVWidth(),0),y=this.getLength("ry",this.getVHeight(),0);(this||r).shape=g>0&&y>0?(new R).M(u+g,p).A(g,y,0,0,1,u-g,p).A(g,y,0,0,1,u+g,p).Z():new R};var ie=function SvgElemLine(i,o){te.call(this||r,i,o);var u=this.getLength("x1",this.getVWidth(),0),p=this.getLength("y1",this.getVHeight(),0),g=this.getLength("x2",this.getVWidth(),0),y=this.getLength("y2",this.getVHeight(),0);(this||r).shape=(new R).M(u,p).L(g,y)};var oe=function SvgElemPolyline(i,o){te.call(this||r,i,o);var u=this.getNumberList("points");(this||r).shape=new R;for(var p=0;p0?u:void 0;(this||r).dashScale=void 0!==(this||r).pathLength?(this||r).shape.totalLength/(this||r).pathLength:1};var ue=function SvgElemMarker(o,u){W.call(this||r,o,u);var p=this.getLength("markerWidth",this.getParentVWidth(),3),g=this.getLength("markerHeight",this.getParentVHeight(),3),y=this.getViewbox("viewBox",[0,0,p,g]);(this||r).getVWidth=function(){return y[2]};(this||r).getVHeight=function(){return y[3]};(this||r).drawMarker=function(r,o,u,w){i.save();var _=this.attr("orient"),x=this.attr("markerUnits"),k="auto"===_?u[2]:(parseFloat(_)||0)*Math.PI/180,P="userSpaceOnUse"===x?1:w;i.transform(Math.cos(k)*P,Math.sin(k)*P,-Math.sin(k)*P,Math.cos(k)*P,u[0],u[1]);var I=this.getLength("refX",this.getVWidth(),0),O=this.getLength("refY",this.getVHeight(),0),B=parseAspectRatio(this.attr("preserveAspectRatio"),p,g,y[2],y[3],.5);"hidden"===this.get("overflow")&&i.rect(B[0]*(y[0]+y[2]/2-I)-p/2,B[3]*(y[1]+y[3]/2-O)-g/2,p,g).clip();i.transform.apply(i,B);i.translate(-I,-O);var R;this.get("opacity")<1&&!r&&(R=docBeginGroup(getPageBBox()));this.drawChildren(r,o);if(R){docEndGroup(R);i.fillOpacity(this.get("opacity"));docInsertGroup(R)}i.restore()}};var ce=function SvgElemClipPath(o,u){W.call(this||r,o,u);(this||r).useMask=function(r){var o=docBeginGroup(getPageBBox());i.save();"objectBoundingBox"===this.attr("clipPathUnits")&&i.transform(r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]);this.clip();this.drawChildren(true,false);i.restore();docEndGroup(o);docApplyMask(o,true)}};var fe=function SvgElemMask(o,u){W.call(this||r,o,u);(this||r).useMask=function(r){var o=docBeginGroup(getPageBBox());i.save();var u,p,g,y;if("userSpaceOnUse"===this.attr("maskUnits")){u=this.getLength("x",this.getVWidth(),-.1*(r[2]-r[0])+r[0]);p=this.getLength("y",this.getVHeight(),-.1*(r[3]-r[1])+r[1]);g=this.getLength("width",this.getVWidth(),1.2*(r[2]-r[0]));y=this.getLength("height",this.getVHeight(),1.2*(r[3]-r[1]))}else{u=this.getLength("x",this.getVWidth(),-.1)*(r[2]-r[0])+r[0];p=this.getLength("y",this.getVHeight(),-.1)*(r[3]-r[1])+r[1];g=this.getLength("width",this.getVWidth(),1.2)*(r[2]-r[0]);y=this.getLength("height",this.getVHeight(),1.2)*(r[3]-r[1])}i.rect(u,p,g,y).clip();"objectBoundingBox"===this.attr("maskContentUnits")&&i.transform(r[2]-r[0],0,0,r[3]-r[1],r[0],r[1]);this.clip();this.drawChildren(false,true);i.restore();docEndGroup(o);docApplyMask(o,true)}};var he=function SvgElemTextContainer(o,u){N.call(this||r,o,u);(this||r).allowedChildren=["tspan","#text","#cdata-section","a"];(this||r).isText=true;(this||r).getBoundingShape=function(){var i=new R;for(var o=0;o<(this||r)._pos.length;o++){var u=(this||r)._pos[o];if(!u.hidden){var p=u.ascent*Math.sin(u.rotate),g=-u.ascent*Math.cos(u.rotate),y=u.descent*Math.sin(u.rotate),w=-u.descent*Math.cos(u.rotate),_=u.width*Math.cos(u.rotate),x=u.width*Math.sin(u.rotate);i.M(u.x+p,u.y+g).L(u.x+p+_,u.y+g+x).M(u.x+y+_,u.y+w+x).L(u.x+y,u.y+w)}}return i};(this||r).drawTextInDocument=function(o,u){!(this||r).link||o||u||this.addLink();"underline"===this.get("text-decoration")&&this.decorate(.05*(this||r)._font.size,-.075*(this||r)._font.size,o,u);"overline"===this.get("text-decoration")&&this.decorate(.05*(this||r)._font.size,getAscent((this||r)._font.font,(this||r)._font.size)+.075*(this||r)._font.size,o,u);var p=this.getFill(o,u),g=this.getStroke(o,u),y=this.get("stroke-width");if((this||r)._font.fauxBold)if(g)y+=.03*(this||r)._font.size;else{g=p;y=.03*(this||r)._font.size}var w=this.getChildren();for(var _=0;_0?p:(this||r).pathObject.totalLength;(this||r).pathScale=(this||r).pathObject.totalLength/(this||r).pathLength}else if((u=this.getUrl("href")||this.getUrl("xlink:href"))&&"path"===u.nodeName){var g=new le(u,this||r);(this||r).pathObject=g.shape.clone().transform(g.get("transform"));(this||r).pathLength=this.chooseValue(g.pathLength,(this||r).pathObject.totalLength);(this||r).pathScale=(this||r).pathObject.totalLength/(this||r).pathLength}};var ge=function SvgElemText(o,u){he.call(this||r,o,u);(this||r).allowedChildren=["textPath","tspan","#text","#cdata-section","a"];(function(r){var u,p,g="",y=o.textContent,w=[],_=[],x=0,k=0;function doAnchoring(){if(_.length){var r=_[_.length-1];var i=_[0];var o=r.x+r.width-i.x;var g={startltr:0,middleltr:.5,endltr:1,startrtl:1,middlertl:.5,endrtl:0}[u+p]*o||0;for(var y=0;y<_.length;y++)_[y].x-=g}_=[]}function adjustLength(r,i,o){var u=r[0],p=r[r.length-1],g=u.x,y=p.x+p.width;if(o){var w=i/(y-g);if(w>0&&w=2){var k=(i-(y-g))/(r.length-1);for(var P=0;Po||y<0)r._pos[g].hidden=true;else{var w=i.getPointAtLength(y*u);if(isNotEqual(u,1)){r._pos[g].scale*=u;r._pos[g].width*=u}r._pos[g].x=w[0]-.5*r._pos[g].width*Math.cos(w[2])-r._pos[g].y*Math.sin(w[2]);r._pos[g].y=w[1]-.5*r._pos[g].width*Math.sin(w[2])+r._pos[g].y*Math.cos(w[2]);r._pos[g].rotate=w[2]+r._pos[g].rotate;r._pos[g].continuous=false}}}else for(var _=0;_0)throw new Error("Invalid string. Length must be a multiple of 4");var o=r.indexOf("=");-1===o&&(o=i);var u=o===i?0:4-o%4;return[o,u]}function byteLength(r){var i=getLens(r);var o=i[0];var u=i[1];return 3*(o+u)/4-u}function _byteLength(r,i,o){return 3*(i+o)/4-o}function toByteArray(r){var i;var o=getLens(r);var g=o[0];var y=o[1];var w=new p(_byteLength(r,g,y));var _=0;var x=y>0?g-4:g;var k;for(k=0;k>16&255;w[_++]=i>>8&255;w[_++]=255&i}if(2===y){i=u[r.charCodeAt(k)]<<2|u[r.charCodeAt(k+1)]>>4;w[_++]=255&i}if(1===y){i=u[r.charCodeAt(k)]<<10|u[r.charCodeAt(k+1)]<<4|u[r.charCodeAt(k+2)]>>2;w[_++]=i>>8&255;w[_++]=255&i}return w}function tripletToBase64(r){return o[r>>18&63]+o[r>>12&63]+o[r>>6&63]+o[63&r]}function encodeChunk(r,i,o){var u;var p=[];for(var g=i;g_?_:w+y));if(1===p){i=r[u-1];g.push(o[i>>2]+o[i<<4&63]+"==")}else if(2===p){i=(r[u-2]<<8)+r[u-1];g.push(o[i>>10]+o[i>>4&63]+o[i<<2&63]+"=")}return g.join("")}},4181:function(i){var o=4096;var u=2*o+32;var p=2*o-1;var g=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 BrotliBitReader(i){(this||r).buf_=new Uint8Array(u);(this||r).input_=i;this.reset()}BrotliBitReader.READ_SIZE=o;BrotliBitReader.IBUF_MASK=p;BrotliBitReader.prototype.reset=function(){(this||r).buf_ptr_=0;(this||r).val_=0;(this||r).pos_=0;(this||r).bit_pos_=0;(this||r).bit_end_pos_=0;(this||r).eos_=0;this.readMoreInput();for(var i=0;i<4;i++){(this||r).val_|=(this||r).buf_[(this||r).pos_]<<8*i;++(this||r).pos_}return(this||r).bit_end_pos_>0};BrotliBitReader.prototype.readMoreInput=function(){if(!((this||r).bit_end_pos_>256))if((this||r).eos_){if((this||r).bit_pos_>(this||r).bit_end_pos_)throw new Error("Unexpected end of input "+(this||r).bit_pos_+" "+(this||r).bit_end_pos_)}else{var i=(this||r).buf_ptr_;var u=(this||r).input_.read((this||r).buf_,i,o);if(u<0)throw new Error("Unexpected end of input");if(u=8){(this||r).val_>>>=8;(this||r).val_|=(this||r).buf_[(this||r).pos_&p]<<24;++(this||r).pos_;(this||r).bit_pos_=(this||r).bit_pos_-8>>>0;(this||r).bit_end_pos_=(this||r).bit_end_pos_-8>>>0}};BrotliBitReader.prototype.readBits=function(i){32-(this||r).bit_pos_>>(this||r).bit_pos_&g[i];(this||r).bit_pos_+=i;return o};i.exports=BrotliBitReader},7080:function(r,i){i.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]);i.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},6450:function(i,o,u){var p=u(6154).g;var g=u(6154).j;var y=u(4181);var w=u(5139);var _=u(966).h;var x=u(966).g;var k=u(7080);var P=u(8435);var I=u(2973);var O=8;var B=16;var R=256;var D=704;var N=26;var W=6;var U=2;var j=8;var G=255;var X=1080;var K=18;var Y=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var J=16;var $=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]);var ee=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var te=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 DecodeWindowBits(r){var i;if(0===r.readBits(1))return 16;i=r.readBits(3);if(i>0)return 17+i;i=r.readBits(3);return i>0?8+i:17}function DecodeVarLenUint8(r){if(r.readBits(1)){var i=r.readBits(3);return 0===i?1:r.readBits(i)+(1<1&&0===g)throw new Error("Invalid size byte");i.meta_block_length|=g<<8*p}}else for(p=0;p4&&0===y)throw new Error("Invalid size nibble");i.meta_block_length|=y<<4*p}++i.meta_block_length;i.input_end||i.is_metadata||(i.is_uncompressed=r.readBits(1));return i}function ReadSymbol(r,i,o){var u;o.fillBitWindow();i+=o.val_>>>o.bit_pos_&G;u=r[i].bits-j;if(u>0){o.bit_pos_+=j;i+=r[i].value;i+=o.val_>>>o.bit_pos_&(1<0){var R=0;var D;u.readMoreInput();u.fillBitWindow();R+=u.val_>>>u.bit_pos_&31;u.bit_pos_+=P[R].bits;D=255&P[R].value;if(D>D}}else{var N=D-14;var W;var U;var j=0;D===B&&(j=g);if(w!==j){y=0;w=j}W=y;if(y>0){y-=2;y<<=N}y+=u.readBits(N)+3;U=y-W;if(p+U>i)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var G=0;G0;++O){var W=Y[O];var U=0;var G;u.fillBitWindow();U+=u.val_>>>u.bit_pos_&15;u.bit_pos_+=N[U].bits;G=N[U].value;B[W]=G;if(0!==G){R-=32>>G;++D}}if(!(1===D||0===R))throw new Error("[ReadHuffmanCode] invalid num_codes or space");ReadHuffmanCodeLengths(B,r,y,u)}p=x(i,o,j,y,r);if(0===p)throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return p}function ReadBlockLength(r,i,o){var u;var p;u=ReadSymbol(r,i,o);p=P.kBlockLengthPrefixCode[u].nbits;return P.kBlockLengthPrefixCode[u].offset+o.readBits(p)}function TranslateShortCodes(r,i,o){var u;if(r>>5]);(this||r).htrees=new Uint32Array(o)}HuffmanTreeGroup.prototype.decode=function(i){var o;var u;var p=0;for(o=0;o<(this||r).num_htrees;++o){(this||r).htrees[o]=p;u=ReadHuffmanCode((this||r).alphabet_size,(this||r).codes,p,i);p+=u}};function DecodeContextMap(r,i){var o={num_htrees:null,context_map:null};var u;var p=0;var g;var y;i.readMoreInput();var w=o.num_htrees=DecodeVarLenUint8(i)+1;var x=o.context_map=new Uint8Array(r);if(w<=1)return o;u=i.readBits(1);u&&(p=i.readBits(4)+1);g=[];for(y=0;y=r)throw new Error("[DecodeContextMap] i >= context_map_size");x[y]=0;++y}}else{x[y]=k-p;++y}}i.readBits(1)&&InverseMoveToFrontTransform(x,r);return o}function DecodeBlockType(r,i,o,u,p,g,y){var w=2*o;var _=o;var x=ReadSymbol(i,o*X,y);var k;k=0===x?p[w+(1&g[_])]:1===x?p[w+(g[_]-1&1)]+1:x-2;k>=r&&(k-=r);u[o]=k;p[w+(1&g[_])]=k;++g[_]}function CopyUncompressedBlockToOutput(r,i,o,u,p,g){var w=p+1;var _=o&p;var x=g.pos_&y.IBUF_MASK;var k;if(i<8||g.bit_pos_+(i<<3)0){g.readMoreInput();u[_++]=g.readBits(8);if(_===w){r.write(u,w);_=0}}else{if(g.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");while(g.bit_pos_<32){u[_]=g.val_>>>g.bit_pos_;g.bit_pos_+=8;++_;--i}k=g.bit_end_pos_-g.bit_pos_>>3;if(x+k>y.IBUF_MASK){var P=y.IBUF_MASK+1-x;for(var I=0;I=w){r.write(u,w);_-=w;for(I=0;I<_;I++)u[I]=u[w+I]}while(_+i>=w){k=w-_;if(g.input_.read(u,_,k)i.buffer.length){var Re=new Uint8Array(u+le);Re.set(i.buffer);i.buffer=Re}p=Fe.input_end;ue=Fe.is_uncompressed;if(Fe.is_metadata){JumpToByteBoundary(ie);for(;le>0;--le){ie.readMoreInput();ie.readBits(8)}}else if(0!==le)if(ue){ie.bit_pos_=ie.bit_pos_+7&-8;CopyUncompressedBlockToOutput(i,le,u,G,j,ie);u+=le}else{for(o=0;o<3;++o){he[o]=DecodeVarLenUint8(ie)+1;if(he[o]>=2){ReadHuffmanCode(he[o]+2,ne,o*X,ie);ReadHuffmanCode(N,ae,o*X,ie);ce[o]=ReadBlockLength(ae,o*X,ie);ve[o]=1}}ie.readMoreInput();pe=ie.readBits(2);ge=J+(ie.readBits(4)<0){var Ne;var We;var Ue;var ze;var je;var Ge;var Ve;var He;var qe;var Xe;ie.readMoreInput();if(0===ce[1]){DecodeBlockType(he[1],ne,1,fe,de,ve,ie);ce[1]=ReadBlockLength(ae,X,ie);Le=re[1].htrees[fe[1]]}--ce[1];Ne=ReadSymbol(re[1].codes,Le,ie);We=Ne>>6;if(We>=2){We-=2;Ve=-1}else Ve=0;Ue=P.kInsertRangeLut[We]+(Ne>>3&7);ze=P.kCopyRangeLut[We]+(7&Ne);je=P.kInsertLengthPrefixCode[Ue].offset+ie.readBits(P.kInsertLengthPrefixCode[Ue].nbits);Ge=P.kCopyLengthPrefixCode[ze].offset+ie.readBits(P.kCopyLengthPrefixCode[ze].nbits);ee=G[u-1&j];te=G[u-2&j];for(qe=0;qe4?3:Ge-2);Te=Se[Ee+Ze];Ve=ReadSymbol(re[2].codes,re[2].htrees[Te],ie);if(Ve>=ge){var Ke;var Ye;Ve-=ge;Ye=Ve&ye;Ve>>=pe;Ke=1+(Ve>>1);Je=(2+(1&Ve)<O){if(!(Ge>=w.minDictionaryWordLength&&Ge<=w.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+u+" distance: "+He+" len: "+Ge+" bytes left: "+le);var Je=w.offsetsByLength[Ge];var Qe=He-O-1;var $e=w.sizeBitsByLength[Ge];var et=(1<<$e)-1;var tt=Qe&et;var rt=Qe>>$e;Je+=tt*Ge;if(!(rt=K){i.write(G,B);for(var at=0;at0){Y[3&$]=He;++$}if(Ge>le)throw new Error("Invalid backward reference. pos: "+u+" distance: "+He+" len: "+Ge+" bytes left: "+le);for(qe=0;qe>=1;return(r&o-1)+o}function ReplicateValue(r,i,o,u,p){do{u-=o;r[i+u]=new HuffmanCode(p.bits,p.value)}while(u>0)}function NextTableBitSize(r,i,o){var p=1<0;--W[_]){w=new HuffmanCode(255&_,65535&N[x++]);ReplicateValue(r,i+k,P,R,w);k=GetNextKey(k,_)}O=D-1;I=-1;for(_=o+1,P=2;_<=u;++_,P<<=1)for(;W[_]>0;--W[_]){if((k&O)!==I){i+=R;B=NextTableBitSize(W,_,o);R=1<>o),P,R,w);k=GetNextKey(k,_)}return D}},8435:function(i,o){function PrefixCodeRange(i,o){(this||r).offset=i;(this||r).nbits=o}o.kBlockLengthPrefixCode=[new PrefixCodeRange(1,2),new PrefixCodeRange(5,2),new PrefixCodeRange(9,2),new PrefixCodeRange(13,2),new PrefixCodeRange(17,3),new PrefixCodeRange(25,3),new PrefixCodeRange(33,3),new PrefixCodeRange(41,3),new PrefixCodeRange(49,4),new PrefixCodeRange(65,4),new PrefixCodeRange(81,4),new PrefixCodeRange(97,4),new PrefixCodeRange(113,5),new PrefixCodeRange(145,5),new PrefixCodeRange(177,5),new PrefixCodeRange(209,5),new PrefixCodeRange(241,6),new PrefixCodeRange(305,6),new PrefixCodeRange(369,7),new PrefixCodeRange(497,8),new PrefixCodeRange(753,9),new PrefixCodeRange(1265,10),new PrefixCodeRange(2289,11),new PrefixCodeRange(4337,12),new PrefixCodeRange(8433,13),new PrefixCodeRange(16625,24)];o.kInsertLengthPrefixCode=[new PrefixCodeRange(0,0),new PrefixCodeRange(1,0),new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,1),new PrefixCodeRange(8,1),new PrefixCodeRange(10,2),new PrefixCodeRange(14,2),new PrefixCodeRange(18,3),new PrefixCodeRange(26,3),new PrefixCodeRange(34,4),new PrefixCodeRange(50,4),new PrefixCodeRange(66,5),new PrefixCodeRange(98,5),new PrefixCodeRange(130,6),new PrefixCodeRange(194,7),new PrefixCodeRange(322,8),new PrefixCodeRange(578,9),new PrefixCodeRange(1090,10),new PrefixCodeRange(2114,12),new PrefixCodeRange(6210,14),new PrefixCodeRange(22594,24)];o.kCopyLengthPrefixCode=[new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,0),new PrefixCodeRange(7,0),new PrefixCodeRange(8,0),new PrefixCodeRange(9,0),new PrefixCodeRange(10,1),new PrefixCodeRange(12,1),new PrefixCodeRange(14,2),new PrefixCodeRange(18,2),new PrefixCodeRange(22,3),new PrefixCodeRange(30,3),new PrefixCodeRange(38,4),new PrefixCodeRange(54,4),new PrefixCodeRange(70,5),new PrefixCodeRange(102,5),new PrefixCodeRange(134,6),new PrefixCodeRange(198,7),new PrefixCodeRange(326,8),new PrefixCodeRange(582,9),new PrefixCodeRange(1094,10),new PrefixCodeRange(2118,24)];o.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];o.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},6154:function(i,o){function BrotliInput(i){(this||r).buffer=i;(this||r).pos=0}BrotliInput.prototype.read=function(i,o,u){(this||r).pos+u>(this||r).buffer.length&&(u=(this||r).buffer.length-(this||r).pos);for(var p=0;p(this||r).buffer.length)throw new Error("Output buffer is not large enough");(this||r).buffer.set(i.subarray(0,o),(this||r).pos);(this||r).pos+=o;return o};o.j=BrotliOutput},2973:function(i,o,u){var p=u(5139);var g=0;var y=1;var w=2;var _=3;var x=4;var k=5;var P=6;var I=7;var O=8;var B=9;var R=10;var D=11;var N=12;var W=13;var U=14;var j=15;var G=16;var X=17;var K=18;var Y=20;function Transform(i,o,u){(this||r).prefix=new Uint8Array(i.length);(this||r).transform=o;(this||r).suffix=new Uint8Array(u.length);for(var p=0;p'),new Transform("",g,"\n"),new Transform("",_,""),new Transform("",g,"]"),new Transform("",g," for "),new Transform("",U,""),new Transform("",w,""),new Transform("",g," a "),new Transform("",g," that "),new Transform(" ",R,""),new Transform("",g,". "),new Transform(".",g,""),new Transform(" ",g,", "),new Transform("",j,""),new Transform("",g," with "),new Transform("",g,"'"),new Transform("",g," from "),new Transform("",g," by "),new Transform("",G,""),new Transform("",X,""),new Transform(" the ",g,""),new Transform("",x,""),new Transform("",g,". The "),new Transform("",D,""),new Transform("",g," on "),new Transform("",g," as "),new Transform("",g," is "),new Transform("",I,""),new Transform("",y,"ing "),new Transform("",g,"\n\t"),new Transform("",g,":"),new Transform(" ",g,". "),new Transform("",g,"ed "),new Transform("",Y,""),new Transform("",K,""),new Transform("",P,""),new Transform("",g,"("),new Transform("",R,", "),new Transform("",O,""),new Transform("",g," at "),new Transform("",g,"ly "),new Transform(" the ",g," of "),new Transform("",k,""),new Transform("",B,""),new Transform(" ",R,", "),new Transform("",R,'"'),new Transform(".",g,"("),new Transform("",D," "),new Transform("",R,'">'),new Transform("",g,'="'),new Transform(" ",g,"."),new Transform(".com/",g,""),new Transform(" the ",g," of the "),new Transform("",R,"'"),new Transform("",g,". This "),new Transform("",g,","),new Transform(".",g," "),new Transform("",R,"("),new Transform("",R,"."),new Transform("",g," not "),new Transform(" ",g,'="'),new Transform("",g,"er "),new Transform(" ",D," "),new Transform("",g,"al "),new Transform(" ",D,""),new Transform("",g,"='"),new Transform("",D,'"'),new Transform("",R,". "),new Transform(" ",g,"("),new Transform("",g,"ful "),new Transform(" ",R,". "),new Transform("",g,"ive "),new Transform("",g,"less "),new Transform("",D,"'"),new Transform("",g,"est "),new Transform(" ",R,"."),new Transform("",D,'">'),new Transform(" ",g,"='"),new Transform("",R,","),new Transform("",g,"ize "),new Transform("",D,"."),new Transform(" ",g,""),new Transform(" ",g,","),new Transform("",R,'="'),new Transform("",D,'="'),new Transform("",g,"ous "),new Transform("",D,", "),new Transform("",R,"='"),new Transform(" ",R,","),new Transform(" ",D,'="'),new Transform(" ",D,", "),new Transform("",D,","),new Transform("",D,"("),new Transform("",D,". "),new Transform(" ",D,"."),new Transform("",D,"='"),new Transform(" ",D,". "),new Transform(" ",R,'="'),new Transform(" ",D,"='"),new Transform(" ",R,"='")];o.kTransforms=J;o.kNumTransforms=J.length;function ToUpperCase(r,i){if(r[i]<192){r[i]>=97&&r[i]<=122&&(r[i]^=32);return 1}if(r[i]<224){r[i+1]^=32;return 2}r[i+2]^=5;return 3}o.transformDictionaryWord=function(r,i,o,u,g){var y=J[g].prefix;var w=J[g].suffix;var _=J[g].transform;var x=_u&&(x=u);var O=0;while(O0){var W=ToUpperCase(r,I);I+=W;u-=W}var U=0;while(Uo.UNZIP)throw new TypeError("Bad argument");(this||r).dictionary=null;(this||r).err=0;(this||r).flush=0;(this||r).init_done=false;(this||r).level=0;(this||r).memLevel=0;(this||r).mode=i;(this||r).strategy=0;(this||r).windowBits=0;(this||r).write_in_progress=false;(this||r).pending_close=false;(this||r).gzip_id_bytes_read=0}Zlib.prototype.close=function(){if((this||r).write_in_progress)(this||r).pending_close=true;else{(this||r).pending_close=false;y((this||r).init_done,"close before init");y((this||r).mode<=o.UNZIP);(this||r).mode===o.DEFLATE||(this||r).mode===o.GZIP||(this||r).mode===o.DEFLATERAW?_.deflateEnd((this||r).strm):(this||r).mode!==o.INFLATE&&(this||r).mode!==o.GUNZIP&&(this||r).mode!==o.INFLATERAW&&(this||r).mode!==o.UNZIP||x.inflateEnd((this||r).strm);(this||r).mode=o.NONE;(this||r).dictionary=null}};Zlib.prototype.write=function(r,i,o,u,p,g,y){return this._write(true,r,i,o,u,p,g,y)};Zlib.prototype.writeSync=function(r,i,o,u,p,g,y){return this._write(false,r,i,o,u,p,g,y)};Zlib.prototype._write=function(i,u,w,_,x,k,P,I){y.equal(arguments.length,8);y((this||r).init_done,"write before init");y((this||r).mode!==o.NONE,"already finalized");y.equal(false,(this||r).write_in_progress,"write already in progress");y.equal(false,(this||r).pending_close,"close is pending");(this||r).write_in_progress=true;y.equal(false,void 0===u,"must provide flush value");(this||r).write_in_progress=true;if(u!==o.Z_NO_FLUSH&&u!==o.Z_PARTIAL_FLUSH&&u!==o.Z_SYNC_FLUSH&&u!==o.Z_FULL_FLUSH&&u!==o.Z_FINISH&&u!==o.Z_BLOCK)throw new Error("Invalid flush value");if(null==w){w=p.alloc(0);x=0;_=0}(this||r).strm.avail_in=x;(this||r).strm.input=w;(this||r).strm.next_in=_;(this||r).strm.avail_out=I;(this||r).strm.output=k;(this||r).strm.next_out=P;(this||r).flush=u;if(!i){this._process();return this._checkError()?this._afterSync():void 0}var O=this||r;g.nextTick((function(){O._process();O._after()}));return this||r};Zlib.prototype._afterSync=function(){var i=(this||r).strm.avail_out;var o=(this||r).strm.avail_in;(this||r).write_in_progress=false;return[o,i]};Zlib.prototype._process=function(){var i=null;switch((this||r).mode){case o.DEFLATE:case o.GZIP:case o.DEFLATERAW:(this||r).err=_.deflate((this||r).strm,(this||r).flush);break;case o.UNZIP:(this||r).strm.avail_in>0&&(i=(this||r).strm.next_in);switch((this||r).gzip_id_bytes_read){case 0:if(null===i)break;if((this||r).strm.input[i]!==I){(this||r).mode=o.INFLATE;break}(this||r).gzip_id_bytes_read=1;i++;if(1===(this||r).strm.avail_in)break;case 1:if(null===i)break;if((this||r).strm.input[i]===O){(this||r).gzip_id_bytes_read=2;(this||r).mode=o.GUNZIP}else(this||r).mode=o.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case o.INFLATE:case o.GUNZIP:case o.INFLATERAW:(this||r).err=x.inflate((this||r).strm,(this||r).flush);if((this||r).err===o.Z_NEED_DICT&&(this||r).dictionary){(this||r).err=x.inflateSetDictionary((this||r).strm,(this||r).dictionary);(this||r).err===o.Z_OK?(this||r).err=x.inflate((this||r).strm,(this||r).flush):(this||r).err===o.Z_DATA_ERROR&&((this||r).err=o.Z_NEED_DICT)}while((this||r).strm.avail_in>0&&(this||r).mode===o.GUNZIP&&(this||r).err===o.Z_STREAM_END&&0!==(this||r).strm.next_in[0]){this.reset();(this||r).err=x.inflate((this||r).strm,(this||r).flush)}break;default:throw new Error("Unknown mode "+(this||r).mode)}};Zlib.prototype._checkError=function(){switch((this||r).err){case o.Z_OK:case o.Z_BUF_ERROR:if(0!==(this||r).strm.avail_out&&(this||r).flush===o.Z_FINISH){this._error("unexpected end of file");return false}break;case o.Z_STREAM_END:break;case o.Z_NEED_DICT:null==(this||r).dictionary?this._error("Missing dictionary"):this._error("Bad dictionary");return false;default:this._error("Zlib error");return false}return true};Zlib.prototype._after=function(){if(this._checkError()){var i=(this||r).strm.avail_out;var o=(this||r).strm.avail_in;(this||r).write_in_progress=false;this.callback(o,i);(this||r).pending_close&&this.close()}};Zlib.prototype._error=function(i){(this||r).strm.msg&&(i=(this||r).strm.msg);this.onerror(i,(this||r).err);(this||r).write_in_progress=false;(this||r).pending_close&&this.close()};Zlib.prototype.init=function(r,i,u,p,g){y(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])");y(r>=8&&r<=15,"invalid windowBits");y(i>=-1&&i<=9,"invalid compression level");y(u>=1&&u<=9,"invalid memlevel");y(p===o.Z_FILTERED||p===o.Z_HUFFMAN_ONLY||p===o.Z_RLE||p===o.Z_FIXED||p===o.Z_DEFAULT_STRATEGY,"invalid strategy");this._init(i,r,u,p,g);this._setDictionary()};Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")};Zlib.prototype.reset=function(){this._reset();this._setDictionary()};Zlib.prototype._init=function(i,u,p,g,y){(this||r).level=i;(this||r).windowBits=u;(this||r).memLevel=p;(this||r).strategy=g;(this||r).flush=o.Z_NO_FLUSH;(this||r).err=o.Z_OK;(this||r).mode!==o.GZIP&&(this||r).mode!==o.GUNZIP||((this||r).windowBits+=16);(this||r).mode===o.UNZIP&&((this||r).windowBits+=32);(this||r).mode!==o.DEFLATERAW&&(this||r).mode!==o.INFLATERAW||((this||r).windowBits=-1*(this||r).windowBits);(this||r).strm=new w;switch((this||r).mode){case o.DEFLATE:case o.GZIP:case o.DEFLATERAW:(this||r).err=_.deflateInit2((this||r).strm,(this||r).level,o.Z_DEFLATED,(this||r).windowBits,(this||r).memLevel,(this||r).strategy);break;case o.INFLATE:case o.GUNZIP:case o.INFLATERAW:case o.UNZIP:(this||r).err=x.inflateInit2((this||r).strm,(this||r).windowBits);break;default:throw new Error("Unknown mode "+(this||r).mode)}(this||r).err!==o.Z_OK&&this._error("Init error");(this||r).dictionary=y;(this||r).write_in_progress=false;(this||r).init_done=true};Zlib.prototype._setDictionary=function(){if(null!=(this||r).dictionary){(this||r).err=o.Z_OK;switch((this||r).mode){case o.DEFLATE:case o.DEFLATERAW:(this||r).err=_.deflateSetDictionary((this||r).strm,(this||r).dictionary);break;default:break}(this||r).err!==o.Z_OK&&this._error("Failed to set dictionary")}};Zlib.prototype._reset=function(){(this||r).err=o.Z_OK;switch((this||r).mode){case o.DEFLATE:case o.DEFLATERAW:case o.GZIP:(this||r).err=_.deflateReset((this||r).strm);break;case o.INFLATE:case o.INFLATERAW:case o.GUNZIP:(this||r).err=x.inflateReset((this||r).strm);break;default:break}(this||r).err!==o.Z_OK&&this._error("Failed to reset stream")};o.Zlib=Zlib},2635:function(i,o,u){var p=u(4155);var g=u(8823).Buffer;var y=u(2830).Transform;var w=u(4505);var _=u(9539);var x=u(9282).ok;var k=u(8823).kMaxLength;var P="Cannot create final Buffer. It would be larger than 0x"+k.toString(16)+" bytes";w.Z_MIN_WINDOWBITS=8;w.Z_MAX_WINDOWBITS=15;w.Z_DEFAULT_WINDOWBITS=15;w.Z_MIN_CHUNK=64;w.Z_MAX_CHUNK=Infinity;w.Z_DEFAULT_CHUNK=16384;w.Z_MIN_MEMLEVEL=1;w.Z_MAX_MEMLEVEL=9;w.Z_DEFAULT_MEMLEVEL=8;w.Z_MIN_LEVEL=-1;w.Z_MAX_LEVEL=9;w.Z_DEFAULT_LEVEL=w.Z_DEFAULT_COMPRESSION;var I=Object.keys(w);for(var O=0;O=k?y=new RangeError(P):i=g.concat(u,p);u=[];r.close();o(y,i)}}function zlibBufferSync(r,i){"string"===typeof i&&(i=g.from(i));if(!g.isBuffer(i))throw new TypeError("Not a string or buffer");var o=r._finishFlushFlag;return r._processChunk(i,o)}function Deflate(i){if(!((this||r)instanceof Deflate))return new Deflate(i);Zlib.call(this||r,i,w.DEFLATE)}function Inflate(i){if(!((this||r)instanceof Inflate))return new Inflate(i);Zlib.call(this||r,i,w.INFLATE)}function Gzip(i){if(!((this||r)instanceof Gzip))return new Gzip(i);Zlib.call(this||r,i,w.GZIP)}function Gunzip(i){if(!((this||r)instanceof Gunzip))return new Gunzip(i);Zlib.call(this||r,i,w.GUNZIP)}function DeflateRaw(i){if(!((this||r)instanceof DeflateRaw))return new DeflateRaw(i);Zlib.call(this||r,i,w.DEFLATERAW)}function InflateRaw(i){if(!((this||r)instanceof InflateRaw))return new InflateRaw(i);Zlib.call(this||r,i,w.INFLATERAW)}function Unzip(i){if(!((this||r)instanceof Unzip))return new Unzip(i);Zlib.call(this||r,i,w.UNZIP)}function isValidFlushFlag(r){return r===w.Z_NO_FLUSH||r===w.Z_PARTIAL_FLUSH||r===w.Z_SYNC_FLUSH||r===w.Z_FULL_FLUSH||r===w.Z_FINISH||r===w.Z_BLOCK}function Zlib(i,u){var p=this||r;(this||r)._opts=i=i||{};(this||r)._chunkSize=i.chunkSize||o.Z_DEFAULT_CHUNK;y.call(this||r,i);if(i.flush&&!isValidFlushFlag(i.flush))throw new Error("Invalid flush flag: "+i.flush);if(i.finishFlush&&!isValidFlushFlag(i.finishFlush))throw new Error("Invalid flush flag: "+i.finishFlush);(this||r)._flushFlag=i.flush||w.Z_NO_FLUSH;(this||r)._finishFlushFlag="undefined"!==typeof i.finishFlush?i.finishFlush:w.Z_FINISH;if(i.chunkSize&&(i.chunkSizeo.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+i.chunkSize);if(i.windowBits&&(i.windowBitso.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+i.windowBits);if(i.level&&(i.levelo.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+i.level);if(i.memLevel&&(i.memLevelo.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+i.memLevel);if(i.strategy&&i.strategy!=o.Z_FILTERED&&i.strategy!=o.Z_HUFFMAN_ONLY&&i.strategy!=o.Z_RLE&&i.strategy!=o.Z_FIXED&&i.strategy!=o.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+i.strategy);if(i.dictionary&&!g.isBuffer(i.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");(this||r)._handle=new w.Zlib(u);var _=this||r;(this||r)._hadError=false;(this||r)._handle.onerror=function(r,i){_close(_);_._hadError=true;var u=new Error(r);u.errno=i;u.code=o.codes[i];_.emit("error",u)};var x=o.Z_DEFAULT_COMPRESSION;"number"===typeof i.level&&(x=i.level);var k=o.Z_DEFAULT_STRATEGY;"number"===typeof i.strategy&&(k=i.strategy);(this||r)._handle.init(i.windowBits||o.Z_DEFAULT_WINDOWBITS,x,i.memLevel||o.Z_DEFAULT_MEMLEVEL,k,i.dictionary);(this||r)._buffer=g.allocUnsafe((this||r)._chunkSize);(this||r)._offset=0;(this||r)._level=x;(this||r)._strategy=k;this.once("end",(this||r).close);Object.defineProperty(this||r,"_closed",{get:function(){return!p._handle},configurable:true,enumerable:true})}_.inherits(Zlib,y);Zlib.prototype.params=function(i,u,g){if(io.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+i);if(u!=o.Z_FILTERED&&u!=o.Z_HUFFMAN_ONLY&&u!=o.Z_RLE&&u!=o.Z_FIXED&&u!=o.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+u);if((this||r)._level!==i||(this||r)._strategy!==u){var y=this||r;this.flush(w.Z_SYNC_FLUSH,(function(){x(y._handle,"zlib binding closed");y._handle.params(i,u);if(!y._hadError){y._level=i;y._strategy=u;g&&g()}}))}else p.nextTick(g)};Zlib.prototype.reset=function(){x((this||r)._handle,"zlib binding closed");return(this||r)._handle.reset()};Zlib.prototype._flush=function(r){this._transform(g.alloc(0),"",r)};Zlib.prototype.flush=function(i,o){var u=this||r;var y=(this||r)._writableState;if("function"===typeof i||void 0===i&&!o){o=i;i=w.Z_FULL_FLUSH}if(y.ended)o&&p.nextTick(o);else if(y.ending)o&&this.once("end",o);else if(y.needDrain)o&&this.once("drain",(function(){return u.flush(i,o)}));else{(this||r)._flushFlag=i;this.write(g.alloc(0),"",o)}};Zlib.prototype.close=function(i){_close(this||r,i);p.nextTick(emitCloseNT,this||r)};function _close(r,i){i&&p.nextTick(i);if(r._handle){r._handle.close();r._handle=null}}function emitCloseNT(r){r.emit("close")}Zlib.prototype._transform=function(i,o,u){var p;var y=(this||r)._writableState;var _=y.ending||y.ended;var x=_&&(!i||y.length===i.length);if(null!==i&&!g.isBuffer(i))return u(new Error("invalid input"));if(!(this||r)._handle)return u(new Error("zlib binding closed"));if(x)p=(this||r)._finishFlushFlag;else{p=(this||r)._flushFlag;i.length>=y.length&&((this||r)._flushFlag=(this||r)._opts.flush||w.Z_NO_FLUSH)}this._processChunk(i,p,u)};Zlib.prototype._processChunk=function(i,o,u){var p=i&&i.length;var y=(this||r)._chunkSize-(this||r)._offset;var w=0;var _=this||r;var I="function"===typeof u;if(!I){var O=[];var B=0;var R;this.on("error",(function(r){R=r}));x((this||r)._handle,"zlib binding closed");do{var D=(this||r)._handle.writeSync(o,i,w,p,(this||r)._buffer,(this||r)._offset,y)}while(!(this||r)._hadError&&callback(D[0],D[1]));if((this||r)._hadError)throw R;if(B>=k){_close(this||r);throw new RangeError(P)}var N=g.concat(O,B);_close(this||r);return N}x((this||r)._handle,"zlib binding closed");var W=(this||r)._handle.write(o,i,w,p,(this||r)._buffer,(this||r)._offset,y);W.buffer=i;W.callback=callback;function callback(k,P){if(this||r){(this||r).buffer=null;(this||r).callback=null}if(!_._hadError){var R=y-P;x(R>=0,"have should not go down");if(R>0){var D=_._buffer.slice(_._offset,_._offset+R);_._offset+=R;if(I)_.push(D);else{O.push(D);B+=D.length}}if(0===P||_._offset>=_._chunkSize){y=_._chunkSize;_._offset=0;_._buffer=g.allocUnsafe(_._chunkSize)}if(0!==P){if(!I)return false;u()}else{w+=p-k;p=k;if(!I)return true;var N=_._handle.write(o,i,w,p,_._buffer,_._offset,_._chunkSize);N.callback=callback;N.buffer=i}}}};_.inherits(Deflate,Zlib);_.inherits(Inflate,Zlib);_.inherits(Gzip,Zlib);_.inherits(Gunzip,Zlib);_.inherits(DeflateRaw,Zlib);_.inherits(InflateRaw,Zlib);_.inherits(Unzip,Zlib)},1924:function(r,i,o){var u=o(210);var p=o(5559);var g=p(u("String.prototype.indexOf"));r.exports=function callBoundIntrinsic(r,i){var o=u(r,!!i);return"function"===typeof o&&g(r,".prototype.")>-1?p(o):o}},5559:function(r,i,o){var u=o(8612);var p=o(210);var g=p("%Function.prototype.apply%");var y=p("%Function.prototype.call%");var w=p("%Reflect.apply%",true)||u.call(y,g);var _=p("%Object.getOwnPropertyDescriptor%",true);var x=p("%Object.defineProperty%",true);var k=p("%Math.max%");if(x)try{x({},"a",{value:1})}catch(r){x=null}r.exports=function callBind(r){var i=w(u,y,arguments);if(_&&x){var o=_(i,"length");o.configurable&&x(i,"length",{value:1+k(0,r.length-(arguments.length-1))})}return i};var P=function applyBind(){return w(u,g,arguments)};x?x(r.exports,"apply",{value:P}):r.exports.apply=P},6313:function(r,i,o){var u=o(8823).Buffer;var p=function(){ /** * Clones (copies) an Object using deep copying. * * This function supports circular references by default, but if you are certain * there are no circular references in your object, you can save some CPU time * by calling clone(obj, false). * * Caution: if `circular` is false and `parent` contains circular references, * your program may enter an infinite loop and crash. * * @param `parent` - the object to be cloned * @param `circular` - set to true if the object to be cloned may contain * circular references. (optional - true by default) * @param `depth` - set to a number if the object is only to be cloned to * a particular depth. (optional - defaults to Infinity) * @param `prototype` - sets the prototype to be used when cloning an object. * (optional - defaults to parent prototype). */ function clone(r,i,o,p){if("object"===typeof i){o=i.depth;p=i.prototype;i.filter;i=i.circular}var g=[];var y=[];var w="undefined"!=typeof u;"undefined"==typeof i&&(i=true);"undefined"==typeof o&&(o=Infinity);function _clone(r,o){if(null===r)return null;if(0==o)return r;var _;var x;if("object"!=typeof r)return r;if(clone.__isArray(r))_=[];else if(clone.__isRegExp(r)){_=new RegExp(r.source,__getRegExpFlags(r));r.lastIndex&&(_.lastIndex=r.lastIndex)}else if(clone.__isDate(r))_=new Date(r.getTime());else{if(w&&u.isBuffer(r)){_=u.allocUnsafe?u.allocUnsafe(r.length):new u(r.length);r.copy(_);return _}if("undefined"==typeof p){x=Object.getPrototypeOf(r);_=Object.create(x)}else{_=Object.create(p);x=p}}if(i){var k=g.indexOf(r);if(-1!=k)return y[k];g.push(r);y.push(_)}for(var P in r){var I;x&&(I=Object.getOwnPropertyDescriptor(x,P));I&&null==I.set||(_[P]=_clone(r[P],o-1))}return _}return _clone(r,o)}clone.clonePrototype=function clonePrototype(r){if(null===r)return null;var c=function(){};c.prototype=r;return new c};function __objToStr(r){return Object.prototype.toString.call(r)}clone.__objToStr=__objToStr;function __isDate(r){return"object"===typeof r&&"[object Date]"===__objToStr(r)}clone.__isDate=__isDate;function __isArray(r){return"object"===typeof r&&"[object Array]"===__objToStr(r)}clone.__isArray=__isArray;function __isRegExp(r){return"object"===typeof r&&"[object RegExp]"===__objToStr(r)}clone.__isRegExp=__isRegExp;function __getRegExpFlags(r){var i="";r.global&&(i+="g");r.ignoreCase&&(i+="i");r.multiline&&(i+="m");return i}clone.__getRegExpFlags=__getRegExpFlags;return clone}();(true,r.exports)&&(r.exports=p)},4667:function(r,i,o){o(2479);var u=o(857);r.exports=u.Object.values},7633:function(r,i,o){o(9170);o(6992);o(1539);o(8674);o(7922);o(4668);o(7727);o(8783);var u=o(857);r.exports=u.Promise},3867:function(r,i,o){var u=o(1150);o(8628);o(7314);o(7479);o(6290);r.exports=u},9662:function(r,i,o){var u=o(7854);var p=o(614);var g=o(6330);var y=u.TypeError;r.exports=function(r){if(p(r))return r;throw y(g(r)+" is not a function")}},9483:function(r,i,o){var u=o(7854);var p=o(4411);var g=o(6330);var y=u.TypeError;r.exports=function(r){if(p(r))return r;throw y(g(r)+" is not a constructor")}},6077:function(r,i,o){var u=o(7854);var p=o(614);var g=u.String;var y=u.TypeError;r.exports=function(r){if("object"==typeof r||p(r))return r;throw y("Can't set "+g(r)+" as a prototype")}},1223:function(r,i,o){var u=o(5112);var p=o(30);var g=o(3070);var y=u("unscopables");var w=Array.prototype;void 0==w[y]&&g.f(w,y,{configurable:true,value:p(null)});r.exports=function(r){w[y][r]=true}},1530:function(r,i,o){var u=o(8710).charAt;r.exports=function(r,i,o){return i+(o?u(r,i).length:1)}},5787:function(r,i,o){var u=o(7854);var p=o(7976);var g=u.TypeError;r.exports=function(r,i){if(p(i,r))return r;throw g("Incorrect invocation")}},9670:function(r,i,o){var u=o(7854);var p=o(111);var g=u.String;var y=u.TypeError;r.exports=function(r){if(p(r))return r;throw y(g(r)+" is not an object")}},1048:function(i,o,u){var p=u(7908);var g=u(1400);var y=u(6244);var w=Math.min;i.exports=[].copyWithin||function copyWithin(i,o){var u=p(this||r);var _=y(u);var x=g(i,_);var k=g(o,_);var P=arguments.length>2?arguments[2]:void 0;var I=w((void 0===P?_:g(P,_))-k,_-x);var O=1;if(k0){k in u?u[x]=u[k]:delete u[x];x+=O;k+=O}return u}},1285:function(i,o,u){var p=u(7908);var g=u(1400);var y=u(6244);i.exports=function fill(i){var o=p(this||r);var u=y(o);var w=arguments.length;var _=g(w>1?arguments[1]:void 0,u);var x=w>2?arguments[2]:void 0;var k=void 0===x?u:g(x,u);while(k>_)o[_++]=i;return o}},8533:function(i,o,u){var p=u(2092).forEach;var g=u(9341);var y=g("forEach");i.exports=y?[].forEach:function forEach(i){return p(this||r,i,arguments.length>1?arguments[1]:void 0)}},7745:function(r){r.exports=function(r,i){var o=0;var u=i.length;var p=new r(u);while(u>o)p[o]=i[o++];return p}},8457:function(i,o,u){var p=u(7854);var g=u(9974);var y=u(6916);var w=u(7908);var _=u(3411);var x=u(7659);var k=u(4411);var P=u(6244);var I=u(6135);var O=u(8554);var B=u(1246);var R=p.Array;i.exports=function from(i){var o=w(i);var u=k(this||r);var p=arguments.length;var D=p>1?arguments[1]:void 0;var N=void 0!==D;N&&(D=g(D,p>2?arguments[2]:void 0));var W=B(o);var U=0;var j,G,X,K,Y,J;if(!W||(this||r)==R&&x(W)){j=P(o);G=u?new(this||r)(j):R(j);for(;j>U;U++){J=N?D(o[U],U):o[U];I(G,U,J)}}else{K=O(o,W);Y=K.next;G=u?new(this||r):[];for(;!(X=y(Y,K)).done;U++){J=N?_(K,D,[X.value,U],true):X.value;I(G,U,J)}}G.length=U;return G}},1318:function(r,i,o){var u=o(5656);var p=o(1400);var g=o(6244);var createMethod=function(r){return function(i,o,y){var w=u(i);var _=g(w);var x=p(y,_);var k;if(r&&o!=o)while(_>x){k=w[x++];if(k!=k)return true}else for(;_>x;x++)if((r||x in w)&&w[x]===o)return r||x||0;return!r&&-1}};r.exports={includes:createMethod(true),indexOf:createMethod(false)}},2092:function(r,i,o){var u=o(9974);var p=o(1702);var g=o(8361);var y=o(7908);var w=o(6244);var _=o(5417);var x=p([].push);var createMethod=function(r){var i=1==r;var o=2==r;var p=3==r;var k=4==r;var P=6==r;var I=7==r;var O=5==r||P;return function(B,R,D,N){var W=y(B);var U=g(W);var j=u(R,D);var G=w(U);var X=0;var K=N||_;var Y=i?K(B,G):o||I?K(B,0):void 0;var J,$;for(;G>X;X++)if(O||X in U){J=U[X];$=j(J,X,W);if(r)if(i)Y[X]=$;else if($)switch(r){case 3:return true;case 5:return J;case 6:return X;case 2:x(Y,J)}else switch(r){case 4:return false;case 7:x(Y,J)}}return P?-1:p||k?k:Y}};r.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},6583:function(i,o,u){var p=u(2104);var g=u(5656);var y=u(9303);var w=u(6244);var _=u(9341);var x=Math.min;var k=[].lastIndexOf;var P=!!k&&1/[1].lastIndexOf(1,-0)<0;var I=_("lastIndexOf");var O=P||!I;i.exports=O?function lastIndexOf(i){if(P)return p(k,this||r,arguments)||0;var o=g(this||r);var u=w(o);var _=u-1;arguments.length>1&&(_=x(_,y(arguments[1])));_<0&&(_=u+_);for(;_>=0;_--)if(_ in o&&o[_]===i)return _||0;return-1}:k},1194:function(r,i,o){var u=o(7293);var p=o(5112);var g=o(7392);var y=p("species");r.exports=function(r){return g>=51||!u((function(){var i=[];var o=i.constructor={};o[y]=function(){return{foo:1}};return 1!==i[r](Boolean).foo}))}},9341:function(r,i,o){var u=o(7293);r.exports=function(r,i){var o=[][r];return!!o&&u((function(){o.call(null,i||function(){throw 1},1)}))}},3671:function(r,i,o){var u=o(7854);var p=o(9662);var g=o(7908);var y=o(8361);var w=o(6244);var _=u.TypeError;var createMethod=function(r){return function(i,o,u,x){p(o);var k=g(i);var P=y(k);var I=w(k);var O=r?I-1:0;var B=r?-1:1;if(u<2)while(true){if(O in P){x=P[O];O+=B;break}O+=B;if(r?O<0:I<=O)throw _("Reduce of empty array with no initial value")}for(;r?O>=0:I>O;O+=B)O in P&&(x=o(x,P[O],O,k));return x}};r.exports={left:createMethod(false),right:createMethod(true)}},206:function(r,i,o){var u=o(1702);r.exports=u([].slice)},4362:function(r,i,o){var u=o(206);var p=Math.floor;var mergeSort=function(r,i){var o=r.length;var g=p(o/2);return o<8?insertionSort(r,i):merge(r,mergeSort(u(r,0,g),i),mergeSort(u(r,g),i),i)};var insertionSort=function(r,i){var o=r.length;var u=1;var p,g;while(u0)r[g]=r[--g];g!==u++&&(r[g]=p)}return r};var merge=function(r,i,o,u){var p=i.length;var g=o.length;var y=0;var w=0;while(y1?arguments[1]:void 0);var p;while(p=p?p.next:o.first){u(p.value,p.key,this||r);while(p&&p.removed)p=p.previous}},has:function has(i){return!!getEntry(this||r,i)}});y(B,u?{get:function get(i){var o=getEntry(this||r,i);return o&&o.value},set:function set(i,o){return define(this||r,0===i?0:i,o)}}:{add:function add(i){return define(this||r,i=0===i?0:i,i)}});I&&p(B,"size",{get:function(){return N(this||r).size}});return P},setStrong:function(i,o,u){var p=o+" Iterator";var g=D(o);var y=D(p);k(i,o,(function(i,o){R(this||r,{type:p,target:i,state:g(i),kind:o,last:void 0})}),(function(){var i=y(this||r);var o=i.kind;var u=i.last;while(u&&u.removed)u=u.previous;if(!i.target||!(i.last=u=u?u.next:i.state.first)){i.target=void 0;return{value:void 0,done:true}}return"keys"==o?{value:u.key,done:false}:"values"==o?{value:u.value,done:false}:{value:[u.key,u.value],done:false}}),u?"entries":"values",!u,true);P(o)}}},7710:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(1702);var w=u(4705);var _=u(1320);var x=u(2423);var k=u(408);var P=u(5787);var I=u(614);var O=u(111);var B=u(7293);var R=u(7072);var D=u(8003);var N=u(9587);i.exports=function(i,o,u){var W=-1!==i.indexOf("Map");var U=-1!==i.indexOf("Weak");var j=W?"set":"add";var G=g[i];var X=G&&G.prototype;var K=G;var Y={};var fixMethod=function(i){var o=y(X[i]);_(X,i,"add"==i?function add(i){o(this||r,0===i?0:i);return this||r}:"delete"==i?function(i){return!(U&&!O(i))&&o(this||r,0===i?0:i)}:"get"==i?function get(i){return U&&!O(i)?void 0:o(this||r,0===i?0:i)}:"has"==i?function has(i){return!(U&&!O(i))&&o(this||r,0===i?0:i)}:function set(i,u){o(this||r,0===i?0:i,u);return this||r})};var J=w(i,!I(G)||!(U||X.forEach&&!B((function(){(new G).entries().next()}))));if(J){K=u.getConstructor(o,i,W,j);x.enable()}else if(w(i,true)){var $=new K;var ee=$[j](U?{}:-0,1)!=$;var te=B((function(){$.has(1)}));var re=R((function(r){new G(r)}));var ne=!U&&B((function(){var r=new G;var i=5;while(i--)r[j](i,i);return!r.has(-0)}));if(!re){K=o((function(r,i){P(r,X);var o=N(new G,r,K);void 0!=i&&k(i,o[j],{that:o,AS_ENTRIES:W});return o}));K.prototype=X;X.constructor=K}if(te||ne){fixMethod("delete");fixMethod("has");W&&fixMethod("get")}(ne||ee)&&fixMethod(j);U&&X.clear&&delete X.clear}Y[i]=K;p({global:true,forced:K!=G},Y);D(K,i);U||u.setStrong(K,i,W);return K}},9920:function(r,i,o){var u=o(2597);var p=o(3887);var g=o(1236);var y=o(3070);r.exports=function(r,i){var o=p(i);var w=y.f;var _=g.f;for(var x=0;x"+_+""}},4994:function(i,o,u){var p=u(3383).IteratorPrototype;var g=u(30);var y=u(9114);var w=u(8003);var _=u(7497);var returnThis=function(){return this||r};i.exports=function(r,i,o){var u=i+" Iterator";r.prototype=g(p,{next:y(1,o)});w(r,u,false,true);_[u]=returnThis;return r}},8880:function(r,i,o){var u=o(9781);var p=o(3070);var g=o(9114);r.exports=u?function(r,i,o){return p.f(r,i,g(1,o))}:function(r,i,o){r[i]=o;return r}},9114:function(r){r.exports=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}}},6135:function(r,i,o){var u=o(4948);var p=o(3070);var g=o(9114);r.exports=function(r,i,o){var y=u(i);y in r?p.f(r,y,g(0,o)):r[y]=o}},8709:function(i,o,u){var p=u(7854);var g=u(9670);var y=u(2140);var w=p.TypeError;i.exports=function(i){g(this||r);if("string"===i||"default"===i)i="string";else if("number"!==i)throw w("Incorrect hint");return y(this||r,i)}},654:function(i,o,u){var p=u(2109);var g=u(6916);var y=u(1913);var w=u(6530);var _=u(614);var x=u(4994);var k=u(9518);var P=u(7674);var I=u(8003);var O=u(8880);var B=u(1320);var R=u(5112);var D=u(7497);var N=u(3383);var W=w.PROPER;var U=w.CONFIGURABLE;var j=N.IteratorPrototype;var G=N.BUGGY_SAFARI_ITERATORS;var X=R("iterator");var K="keys";var Y="values";var J="entries";var returnThis=function(){return this||r};i.exports=function(i,o,u,w,R,N,$){x(u,o,w);var getIterationMethod=function(i){if(i===R&&ae)return ae;if(!G&&i in re)return re[i];switch(i){case K:return function keys(){return new u(this||r,i)};case Y:return function values(){return new u(this||r,i)};case J:return function entries(){return new u(this||r,i)}}return function(){return new u(this||r)}};var ee=o+" Iterator";var te=false;var re=i.prototype;var ne=re[X]||re["@@iterator"]||R&&re[R];var ae=!G&&ne||getIterationMethod(R);var ie="Array"==o&&re.entries||ne;var oe,se,le;if(ie){oe=k(ie.call(new i));if(oe!==Object.prototype&&oe.next){y||k(oe)===j||(P?P(oe,j):_(oe[X])||B(oe,X,returnThis));I(oe,ee,true,true);y&&(D[ee]=returnThis)}}if(W&&R==Y&&ne&&ne.name!==Y)if(!y&&U)O(re,"name",Y);else{te=true;ae=function values(){return g(ne,this||r)}}if(R){se={values:getIterationMethod(Y),keys:N?ae:getIterationMethod(K),entries:getIterationMethod(J)};if($)for(le in se)(G||te||!(le in re))&&B(re,le,se[le]);else p({target:o,proto:true,forced:G||te},se)}y&&!$||re[X]===ae||B(re,X,ae,{name:R});D[o]=ae;return se}},7235:function(r,i,o){var u=o(857);var p=o(2597);var g=o(6061);var y=o(3070).f;r.exports=function(r){var i=u.Symbol||(u.Symbol={});p(i,r)||y(i,r,{value:g.f(r)})}},9781:function(r,i,o){var u=o(7293);r.exports=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(r,i,o){var u=o(7854);var p=o(111);var g=u.document;var y=p(g)&&p(g.createElement);r.exports=function(r){return y?g.createElement(r):{}}},8324:function(r){r.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(r,i,o){var u=o(317);var p=u("span").classList;var g=p&&p.constructor&&p.constructor.prototype;r.exports=g===Object.prototype?void 0:g},8886:function(r,i,o){var u=o(8113);var p=u.match(/firefox\/(\d+)/i);r.exports=!!p&&+p[1]},7871:function(r){r.exports="object"==typeof window},256:function(r,i,o){var u=o(8113);r.exports=/MSIE|Trident/.test(u)},1528:function(r,i,o){var u=o(8113);var p=o(7854);r.exports=/ipad|iphone|ipod/i.test(u)&&void 0!==p.Pebble},6833:function(r,i,o){var u=o(8113);r.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(u)},5268:function(r,i,o){var u=o(4326);var p=o(7854);r.exports="process"==u(p.process)},1036:function(r,i,o){var u=o(8113);r.exports=/web0s(?!.*chrome)/i.test(u)},8113:function(r,i,o){var u=o(5005);r.exports=u("navigator","userAgent")||""},7392:function(r,i,o){var u=o(7854);var p=o(8113);var g=u.process;var y=u.Deno;var w=g&&g.versions||y&&y.version;var _=w&&w.v8;var x,k;if(_){x=_.split(".");k=x[0]>0&&x[0]<4?1:+(x[0]+x[1])}if(!k&&p){x=p.match(/Edge\/(\d+)/);if(!x||x[1]>=74){x=p.match(/Chrome\/(\d+)/);x&&(k=+x[1])}}r.exports=k},8008:function(r,i,o){var u=o(8113);var p=u.match(/AppleWebKit\/(\d+)\./);r.exports=!!p&&+p[1]},748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(r,i,o){var u=o(7293);var p=o(9114);r.exports=!u((function(){var r=Error("a");if(!("stack"in r))return true;Object.defineProperty(r,"stack",p(1,7));return 7!==r.stack}))},2109:function(r,i,o){var u=o(7854);var p=o(1236).f;var g=o(8880);var y=o(1320);var w=o(3505);var _=o(9920);var x=o(4705);r.exports=function(r,i){var o=r.target;var k=r.global;var P=r.stat;var I,O,B,R,D,N;O=k?u:P?u[o]||w(o,{}):(u[o]||{}).prototype;if(O)for(B in i){D=i[B];if(r.noTargetGet){N=p(O,B);R=N&&N.value}else R=O[B];I=x(k?B:o+(P?".":"#")+B,r.forced);if(!I&&void 0!==R){if(typeof D==typeof R)continue;_(D,R)}(r.sham||R&&R.sham)&&g(D,"sham",true);y(O,B,D,r)}}},7293:function(r){r.exports=function(r){try{return!!r()}catch(r){return true}}},7007:function(r,i,o){o(4916);var u=o(1702);var p=o(1320);var g=o(2261);var y=o(7293);var w=o(5112);var _=o(8880);var x=w("species");var k=RegExp.prototype;r.exports=function(r,i,o,P){var I=w(r);var O=!y((function(){var i={};i[I]=function(){return 7};return 7!=""[r](i)}));var B=O&&!y((function(){var i=false;var o=/a/;if("split"===r){o={};o.constructor={};o.constructor[x]=function(){return o};o.flags="";o[I]=/./[I]}o.exec=function(){i=true;return null};o[I]("");return!i}));if(!O||!B||o){var R=u(/./[I]);var D=i(I,""[r],(function(r,i,o,p,y){var w=u(r);var _=i.exec;return _===g||_===k.exec?O&&!y?{done:true,value:R(i,o,p)}:{done:true,value:w(o,i,p)}:{done:false}}));p(String.prototype,r,D[0]);p(k,I,D[1])}P&&_(k[I],"sham",true)}},6677:function(r,i,o){var u=o(7293);r.exports=!u((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(r){var i=Function.prototype;var o=i.apply;var u=i.bind;var p=i.call;r.exports="object"==typeof Reflect&&Reflect.apply||(u?p.bind(o):function(){return p.apply(o,arguments)})},9974:function(r,i,o){var u=o(1702);var p=o(9662);var g=u(u.bind);r.exports=function(r,i){p(r);return void 0===i?r:g?g(r,i):function(){return r.apply(i,arguments)}}},7065:function(i,o,u){var p=u(7854);var g=u(1702);var y=u(9662);var w=u(111);var _=u(2597);var x=u(206);var k=p.Function;var P=g([].concat);var I=g([].join);var O={};var construct=function(r,i,o){if(!_(O,i)){for(var u=[],p=0;p]*>)/g;var k=/\$([$&'`]|\d{1,2})/g;r.exports=function(r,i,o,u,P,I){var O=o+r.length;var B=u.length;var R=k;if(void 0!==P){P=p(P);R=x}return w(I,R,(function(p,w){var x;switch(y(w,0)){case"$":return"$";case"&":return r;case"`":return _(i,0,o);case"'":return _(i,O);case"<":x=P[_(w,1,-1)];break;default:var k=+w;if(0===k)return p;if(k>B){var I=g(k/10);return 0===I?p:I<=B?void 0===u[I-1]?y(w,1):u[I-1]+y(w,1):p}x=u[k-1]}return void 0===x?"":x}))}},7854:function(i,o,u){var check=function(r){return r&&r.Math==Math&&r};i.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof u.g&&u.g)||function(){return this||r}()||Function("return this")()},2597:function(r,i,o){var u=o(1702);var p=o(7908);var g=u({}.hasOwnProperty);r.exports=Object.hasOwn||function hasOwn(r,i){return g(p(r),i)}},3501:function(r){r.exports={}},842:function(r,i,o){var u=o(7854);r.exports=function(r,i){var o=u.console;o&&o.error&&(1==arguments.length?o.error(r):o.error(r,i))}},490:function(r,i,o){var u=o(5005);r.exports=u("document","documentElement")},4664:function(r,i,o){var u=o(9781);var p=o(7293);var g=o(317);r.exports=!u&&!p((function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a}))},1179:function(r,i,o){var u=o(7854);var p=u.Array;var g=Math.abs;var y=Math.pow;var w=Math.floor;var _=Math.log;var x=Math.LN2;var pack=function(r,i,o){var u=p(o);var k=8*o-i-1;var P=(1<>1;var O=23===i?y(2,-24)-y(2,-77):0;var B=r<0||0===r&&1/r<0?1:0;var R=0;var D,N,W;r=g(r);if(r!=r||Infinity===r){N=r!=r?1:0;D=P}else{D=w(_(r)/x);if(r*(W=y(2,-D))<1){D--;W*=2}r+=D+I>=1?O/W:O*y(2,1-I);if(r*W>=2){D++;W/=2}if(D+I>=P){N=0;D=P}else if(D+I>=1){N=(r*W-1)*y(2,i);D+=I}else{N=r*y(2,I-1)*y(2,i);D=0}}for(;i>=8;u[R++]=255&N,N/=256,i-=8);D=D<0;u[R++]=255&D,D/=256,k-=8);u[--R]|=128*B;return u};var unpack=function(r,i){var o=r.length;var u=8*o-i-1;var p=(1<>1;var w=u-7;var _=o-1;var x=r[_--];var k=127&x;var P;x>>=7;for(;w>0;k=256*k+r[_],_--,w-=8);P=k&(1<<-w)-1;k>>=-w;w+=i;for(;w>0;P=256*P+r[_],_--,w-=8);if(0===k)k=1-g;else{if(k===p)return P?NaN:x?-Infinity:Infinity;P+=y(2,i);k-=g}return(x?-1:1)*P*y(2,k-i)};r.exports={pack:pack,unpack:unpack}},8361:function(r,i,o){var u=o(7854);var p=o(1702);var g=o(7293);var y=o(4326);var w=u.Object;var _=p("".split);r.exports=g((function(){return!w("z").propertyIsEnumerable(0)}))?function(r){return"String"==y(r)?_(r,""):w(r)}:w},9587:function(r,i,o){var u=o(614);var p=o(111);var g=o(7674);r.exports=function(r,i,o){var y,w;g&&u(y=i.constructor)&&y!==o&&p(w=y.prototype)&&w!==o.prototype&&g(r,w);return r}},2788:function(r,i,o){var u=o(1702);var p=o(614);var g=o(5465);var y=u(Function.toString);p(g.inspectSource)||(g.inspectSource=function(r){return y(r)});r.exports=g.inspectSource},8340:function(r,i,o){var u=o(111);var p=o(8880);r.exports=function(r,i){u(i)&&"cause"in i&&p(r,"cause",i.cause)}},2423:function(r,i,o){var u=o(2109);var p=o(1702);var g=o(3501);var y=o(111);var w=o(2597);var _=o(3070).f;var x=o(8006);var k=o(1156);var P=o(9711);var I=o(6677);var O=false;var B=P("meta");var R=0;var D=Object.isExtensible||function(){return true};var setMetadata=function(r){_(r,B,{value:{objectID:"O"+R++,weakData:{}}})};var fastKey=function(r,i){if(!y(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!w(r,B)){if(!D(r))return"F";if(!i)return"E";setMetadata(r)}return r[B].objectID};var getWeakData=function(r,i){if(!w(r,B)){if(!D(r))return true;if(!i)return false;setMetadata(r)}return r[B].weakData};var onFreeze=function(r){I&&O&&D(r)&&!w(r,B)&&setMetadata(r);return r};var enable=function(){N.enable=function(){};O=true;var r=x.f;var i=p([].splice);var o={};o[B]=1;if(r(o).length){x.f=function(o){var u=r(o);for(var p=0,g=u.length;pX;X++){Y=callFn(r[X]);if(Y&&P(D,Y))return Y}return new Result(false)}j=I(r,G)}J=j.next;while(!($=y(J,j)).done){try{Y=callFn($.value)}catch(r){B(j,"throw",r)}if("object"==typeof Y&&Y&&P(D,Y))return Y}return new Result(false)}},9212:function(r,i,o){var u=o(6916);var p=o(9670);var g=o(8173);r.exports=function(r,i,o){var y,w;p(r);try{y=g(r,"return");if(!y){if("throw"===i)throw o;return o}y=u(y,r)}catch(r){w=true;y=r}if("throw"===i)throw o;if(w)throw y;p(y);return o}},3383:function(i,o,u){var p=u(7293);var g=u(614);var y=u(30);var w=u(9518);var _=u(1320);var x=u(5112);var k=u(1913);var P=x("iterator");var I=false;var O,B,R;if([].keys){R=[].keys();if("next"in R){B=w(w(R));B!==Object.prototype&&(O=B)}else I=true}var D=void 0==O||p((function(){var r={};return O[P].call(r)!==r}));D?O={}:k&&(O=y(O));g(O[P])||_(O,P,(function(){return this||r}));i.exports={IteratorPrototype:O,BUGGY_SAFARI_ITERATORS:I}},7497:function(r){r.exports={}},6244:function(r,i,o){var u=o(7466);r.exports=function(r){return u(r.length)}},5948:function(r,i,o){var u=o(7854);var p=o(9974);var g=o(1236).f;var y=o(261).set;var w=o(6833);var _=o(1528);var x=o(1036);var k=o(5268);var P=u.MutationObserver||u.WebKitMutationObserver;var I=u.document;var O=u.process;var B=u.Promise;var R=g(u,"queueMicrotask");var D=R&&R.value;var N,W,U,j,G,X,K,Y;if(!D){N=function(){var r,i;k&&(r=O.domain)&&r.exit();while(W){i=W.fn;W=W.next;try{i()}catch(r){W?j():U=void 0;throw r}}U=void 0;r&&r.enter()};if(w||k||x||!P||!I)if(!_&&B&&B.resolve){K=B.resolve(void 0);K.constructor=B;Y=p(K.then,K);j=function(){Y(N)}}else if(k)j=function(){O.nextTick(N)};else{y=p(y,u);j=function(){y(N)}}else{G=true;X=I.createTextNode("");new P(N).observe(X,{characterData:true});j=function(){X.data=G=!G}}}r.exports=D||function(r){var i={fn:r,next:void 0};U&&(U.next=i);if(!W){W=i;j()}U=i}},3366:function(r,i,o){var u=o(7854);r.exports=u.Promise},133:function(r,i,o){var u=o(7392);var p=o(7293);r.exports=!!Object.getOwnPropertySymbols&&!p((function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&u&&u<41}))},8536:function(r,i,o){var u=o(7854);var p=o(614);var g=o(2788);var y=u.WeakMap;r.exports=p(y)&&/native code/.test(g(y))},8523:function(i,o,u){var p=u(9662);var PromiseCapability=function(i){var o,u;(this||r).promise=new i((function(r,i){if(void 0!==o||void 0!==u)throw TypeError("Bad Promise constructor");o=r;u=i}));(this||r).resolve=p(o);(this||r).reject=p(u)};i.exports.f=function(r){return new PromiseCapability(r)}},6277:function(r,i,o){var u=o(1340);r.exports=function(r,i){return void 0===r?arguments.length<2?"":i:u(r)}},3929:function(r,i,o){var u=o(7854);var p=o(7850);var g=u.TypeError;r.exports=function(r){if(p(r))throw g("The method doesn't accept regular expressions");return r}},7023:function(r,i,o){var u=o(7854);var p=u.isFinite;r.exports=Number.isFinite||function isFinite(r){return"number"==typeof r&&p(r)}},1574:function(i,o,u){var p=u(9781);var g=u(1702);var y=u(6916);var w=u(7293);var _=u(1956);var x=u(5181);var k=u(5296);var P=u(7908);var I=u(8361);var O=Object.assign;var B=Object.defineProperty;var R=g([].concat);i.exports=!O||w((function(){if(p&&1!==O({b:1},O(B({},"a",{enumerable:true,get:function(){B(this||r,"b",{value:3,enumerable:false})}}),{b:2})).b)return true;var i={};var o={};var u=Symbol();var g="abcdefghijklmnopqrst";i[u]=7;g.split("").forEach((function(r){o[r]=r}));return 7!=O({},i)[u]||_(O({},o)).join("")!=g}))?function assign(r,i){var o=P(r);var u=arguments.length;var g=1;var w=x.f;var O=k.f;while(u>g){var B=I(arguments[g++]);var D=w?R(_(B),w(B)):_(B);var N=D.length;var W=0;var U;while(N>W){U=D[W++];p&&!y(O,B,U)||(o[U]=B[U])}}return o}:O},30:function(r,i,o){var u=o(9670);var p=o(6048);var g=o(748);var y=o(3501);var w=o(490);var _=o(317);var x=o(6200);var k=">";var P="<";var I="prototype";var O="script";var B=x("IE_PROTO");var EmptyConstructor=function(){};var scriptTag=function(r){return P+O+k+r+P+"/"+O+k};var NullProtoObjectViaActiveX=function(r){r.write(scriptTag(""));r.close();var i=r.parentWindow.Object;r=null;return i};var NullProtoObjectViaIFrame=function(){var r=_("iframe");var i="java"+O+":";var o;r.style.display="none";w.appendChild(r);r.src=String(i);o=r.contentWindow.document;o.open();o.write(scriptTag("document.F=Object"));o.close();return o.F};var R;var NullProtoObject=function(){try{R=new ActiveXObject("htmlfile")}catch(r){}NullProtoObject="undefined"!=typeof document?document.domain&&R?NullProtoObjectViaActiveX(R):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(R);var r=g.length;while(r--)delete NullProtoObject[I][g[r]];return NullProtoObject()};y[B]=true;r.exports=Object.create||function create(r,i){var o;if(null!==r){EmptyConstructor[I]=u(r);o=new EmptyConstructor;EmptyConstructor[I]=null;o[B]=r}else o=NullProtoObject();return void 0===i?o:p(o,i)}},6048:function(r,i,o){var u=o(9781);var p=o(3070);var g=o(9670);var y=o(5656);var w=o(1956);r.exports=u?Object.defineProperties:function defineProperties(r,i){g(r);var o=y(i);var u=w(i);var _=u.length;var x=0;var k;while(_>x)p.f(r,k=u[x++],o[k]);return r}},3070:function(r,i,o){var u=o(7854);var p=o(9781);var g=o(4664);var y=o(9670);var w=o(4948);var _=u.TypeError;var x=Object.defineProperty;i.f=p?x:function defineProperty(r,i,o){y(r);i=w(i);y(o);if(g)try{return x(r,i,o)}catch(r){}if("get"in o||"set"in o)throw _("Accessors not supported");"value"in o&&(r[i]=o.value);return r}},1236:function(r,i,o){var u=o(9781);var p=o(6916);var g=o(5296);var y=o(9114);var w=o(5656);var _=o(4948);var x=o(2597);var k=o(4664);var P=Object.getOwnPropertyDescriptor;i.f=u?P:function getOwnPropertyDescriptor(r,i){r=w(r);i=_(i);if(k)try{return P(r,i)}catch(r){}if(x(r,i))return y(!p(g.f,r,i),r[i])}},1156:function(r,i,o){var u=o(4326);var p=o(5656);var g=o(8006).f;var y=o(206);var w="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(r){try{return g(r)}catch(r){return y(w)}};r.exports.f=function getOwnPropertyNames(r){return w&&"Window"==u(r)?getWindowNames(r):g(p(r))}},8006:function(r,i,o){var u=o(6324);var p=o(748);var g=p.concat("length","prototype");i.f=Object.getOwnPropertyNames||function getOwnPropertyNames(r){return u(r,g)}},5181:function(r,i){i.f=Object.getOwnPropertySymbols},9518:function(r,i,o){var u=o(7854);var p=o(2597);var g=o(614);var y=o(7908);var w=o(6200);var _=o(8544);var x=w("IE_PROTO");var k=u.Object;var P=k.prototype;r.exports=_?k.getPrototypeOf:function(r){var i=y(r);if(p(i,x))return i[x];var o=i.constructor;return g(o)&&i instanceof o?o.prototype:i instanceof k?P:null}},7976:function(r,i,o){var u=o(1702);r.exports=u({}.isPrototypeOf)},6324:function(r,i,o){var u=o(1702);var p=o(2597);var g=o(5656);var y=o(1318).indexOf;var w=o(3501);var _=u([].push);r.exports=function(r,i){var o=g(r);var u=0;var x=[];var k;for(k in o)!p(w,k)&&p(o,k)&&_(x,k);while(i.length>u)p(o,k=i[u++])&&(~y(x,k)||_(x,k));return x}},1956:function(r,i,o){var u=o(6324);var p=o(748);r.exports=Object.keys||function keys(r){return u(r,p)}},5296:function(i,o){var u={}.propertyIsEnumerable;var p=Object.getOwnPropertyDescriptor;var g=p&&!u.call({1:2},1);o.f=g?function propertyIsEnumerable(i){var o=p(this||r,i);return!!o&&o.enumerable}:u},7674:function(r,i,o){var u=o(1702);var p=o(9670);var g=o(6077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=false;var i={};var o;try{o=u(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set);o(i,[]);r=i instanceof Array}catch(r){}return function setPrototypeOf(i,u){p(i);g(u);r?o(i,u):i.__proto__=u;return i}}():void 0)},4699:function(r,i,o){var u=o(9781);var p=o(1702);var g=o(1956);var y=o(5656);var w=o(5296).f;var _=p(w);var x=p([].push);var createMethod=function(r){return function(i){var o=y(i);var p=g(o);var w=p.length;var k=0;var P=[];var I;while(w>k){I=p[k++];u&&!_(o,I)||x(P,r?[I,o[I]]:o[I])}return P}};r.exports={entries:createMethod(true),values:createMethod(false)}},288:function(i,o,u){var p=u(1694);var g=u(648);i.exports=p?{}.toString:function toString(){return"[object "+g(this||r)+"]"}},2140:function(r,i,o){var u=o(7854);var p=o(6916);var g=o(614);var y=o(111);var w=u.TypeError;r.exports=function(r,i){var o,u;if("string"===i&&g(o=r.toString)&&!y(u=p(o,r)))return u;if(g(o=r.valueOf)&&!y(u=p(o,r)))return u;if("string"!==i&&g(o=r.toString)&&!y(u=p(o,r)))return u;throw w("Can't convert object to primitive value")}},3887:function(r,i,o){var u=o(5005);var p=o(1702);var g=o(8006);var y=o(5181);var w=o(9670);var _=p([].concat);r.exports=u("Reflect","ownKeys")||function ownKeys(r){var i=g.f(w(r));var o=y.f;return o?_(i,o(r)):i}},857:function(r,i,o){var u=o(7854);r.exports=u},2534:function(r){r.exports=function(r){try{return{error:false,value:r()}}catch(r){return{error:true,value:r}}}},9478:function(r,i,o){var u=o(9670);var p=o(111);var g=o(8523);r.exports=function(r,i){u(r);if(p(i)&&i.constructor===r)return i;var o=g.f(r);var y=o.resolve;y(i);return o.promise}},2248:function(r,i,o){var u=o(1320);r.exports=function(r,i,o){for(var p in i)u(r,p,i[p],o);return r}},1320:function(i,o,u){var p=u(7854);var g=u(614);var y=u(2597);var w=u(8880);var _=u(3505);var x=u(2788);var k=u(9909);var P=u(6530).CONFIGURABLE;var I=k.get;var O=k.enforce;var B=String(String).split("String");(i.exports=function(r,i,o,u){var x=!!u&&!!u.unsafe;var k=!!u&&!!u.enumerable;var I=!!u&&!!u.noTargetGet;var R=u&&void 0!==u.name?u.name:i;var D;if(g(o)){"Symbol("===String(R).slice(0,7)&&(R="["+String(R).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!y(o,"name")||P&&o.name!==R)&&w(o,"name",R);D=O(o);D.source||(D.source=B.join("string"==typeof R?R:""))}if(r!==p){x?!I&&r[i]&&(k=true):delete r[i];k?r[i]=o:w(r,i,o)}else k?r[i]=o:_(i,o)})(Function.prototype,"toString",(function toString(){return g(this||r)&&I(this||r).source||x(this||r)}))},7651:function(r,i,o){var u=o(7854);var p=o(6916);var g=o(9670);var y=o(614);var w=o(4326);var _=o(2261);var x=u.TypeError;r.exports=function(r,i){var o=r.exec;if(y(o)){var u=p(o,r,i);null!==u&&g(u);return u}if("RegExp"===w(r))return p(_,r,i);throw x("RegExp#exec called on incompatible receiver")}},2261:function(i,o,u){var p=u(6916);var g=u(1702);var y=u(1340);var w=u(7066);var _=u(2999);var x=u(2309);var k=u(30);var P=u(9909).get;var I=u(9441);var O=u(7168);var B=x("native-string-replace",String.prototype.replace);var R=RegExp.prototype.exec;var D=R;var N=g("".charAt);var W=g("".indexOf);var U=g("".replace);var j=g("".slice);var G=function(){var r=/a/;var i=/b*/g;p(R,r,"a");p(R,i,"a");return 0!==r.lastIndex||0!==i.lastIndex}();var X=_.UNSUPPORTED_Y||_.BROKEN_CARET;var K=void 0!==/()??/.exec("")[1];var Y=G||K||X||I||O;Y&&(D=function exec(i){var o=this||r;var u=P(o);var g=y(i);var _=u.raw;var x,I,O,Y,J,$,ee;if(_){_.lastIndex=o.lastIndex;x=p(D,_,g);o.lastIndex=_.lastIndex;return x}var te=u.groups;var re=X&&o.sticky;var ne=p(w,o);var ae=o.source;var ie=0;var oe=g;if(re){ne=U(ne,"y","");-1===W(ne,"g")&&(ne+="g");oe=j(g,o.lastIndex);if(o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==N(g,o.lastIndex-1))){ae="(?: "+ae+")";oe=" "+oe;ie++}I=new RegExp("^(?:"+ae+")",ne)}K&&(I=new RegExp("^"+ae+"$(?!\\s)",ne));G&&(O=o.lastIndex);Y=p(R,re?I:o,oe);if(re)if(Y){Y.input=j(Y.input,ie);Y[0]=j(Y[0],ie);Y.index=o.lastIndex;o.lastIndex+=Y[0].length}else o.lastIndex=0;else G&&Y&&(o.lastIndex=o.global?Y.index+Y[0].length:O);K&&Y&&Y.length>1&&p(B,Y[0],I,(function(){for(J=1;Jb)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$c")}))},4488:function(r,i,o){var u=o(7854);var p=u.TypeError;r.exports=function(r){if(void 0==r)throw p("Can't call method on "+r);return r}},3505:function(r,i,o){var u=o(7854);var p=Object.defineProperty;r.exports=function(r,i){try{p(u,r,{value:i,configurable:true,writable:true})}catch(o){u[r]=i}return i}},6340:function(i,o,u){var p=u(5005);var g=u(3070);var y=u(5112);var w=u(9781);var _=y("species");i.exports=function(i){var o=p(i);var u=g.f;w&&o&&!o[_]&&u(o,_,{configurable:true,get:function(){return this||r}})}},8003:function(r,i,o){var u=o(3070).f;var p=o(2597);var g=o(5112);var y=g("toStringTag");r.exports=function(r,i,o){r&&!p(r=o?r:r.prototype,y)&&u(r,y,{configurable:true,value:i})}},6200:function(r,i,o){var u=o(2309);var p=o(9711);var g=u("keys");r.exports=function(r){return g[r]||(g[r]=p(r))}},5465:function(r,i,o){var u=o(7854);var p=o(3505);var g="__core-js_shared__";var y=u[g]||p(g,{});r.exports=y},2309:function(r,i,o){var u=o(1913);var p=o(5465);(r.exports=function(r,i){return p[r]||(p[r]=void 0!==i?i:{})})("versions",[]).push({version:"3.19.0",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(r,i,o){var u=o(9670);var p=o(9483);var g=o(5112);var y=g("species");r.exports=function(r,i){var o=u(r).constructor;var g;return void 0===o||void 0==(g=u(o)[y])?i:p(g)}},3429:function(r,i,o){var u=o(7293);r.exports=function(r){return u((function(){var i=""[r]('"');return i!==i.toLowerCase()||i.split('"').length>3}))}},8710:function(r,i,o){var u=o(1702);var p=o(9303);var g=o(1340);var y=o(4488);var w=u("".charAt);var _=u("".charCodeAt);var x=u("".slice);var createMethod=function(r){return function(i,o){var u=g(y(i));var k=p(o);var P=u.length;var I,O;if(k<0||k>=P)return r?"":void 0;I=_(u,k);return I<55296||I>56319||k+1===P||(O=_(u,k+1))<56320||O>57343?r?w(u,k):I:r?x(u,k,k+2):O-56320+(I-55296<<10)+65536}};r.exports={codeAt:createMethod(false),charAt:createMethod(true)}},8415:function(i,o,u){var p=u(7854);var g=u(9303);var y=u(1340);var w=u(4488);var _=p.RangeError;i.exports=function repeat(i){var o=y(w(this||r));var u="";var p=g(i);if(p<0||Infinity==p)throw _("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(o+=o))1&p&&(u+=o);return u}},6091:function(r,i,o){var u=o(6530).PROPER;var p=o(7293);var g=o(1361);var y="​…᠎";r.exports=function(r){return p((function(){return!!g[r]()||y[r]()!==y||u&&g[r].name!==r}))}},3111:function(r,i,o){var u=o(1702);var p=o(4488);var g=o(1340);var y=o(1361);var w=u("".replace);var _="["+y+"]";var x=RegExp("^"+_+_+"*");var k=RegExp(_+_+"*$");var createMethod=function(r){return function(i){var o=g(p(i));1&r&&(o=w(o,x,""));2&r&&(o=w(o,k,""));return o}};r.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},261:function(i,o,u){var p=u(7854);var g=u(2104);var y=u(9974);var w=u(614);var _=u(2597);var x=u(7293);var k=u(490);var P=u(206);var I=u(317);var O=u(6833);var B=u(5268);var R=p.setImmediate;var D=p.clearImmediate;var N=p.process;var W=p.Dispatch;var U=p.Function;var j=p.MessageChannel;var G=p.String;var X=0;var K={};var Y="onreadystatechange";var J,$,ee,te;try{J=p.location}catch(r){}var run=function(r){if(_(K,r)){var i=K[r];delete K[r];i()}};var runner=function(r){return function(){run(r)}};var listener=function(r){run(r.data)};var post=function(r){p.postMessage(G(r),J.protocol+"//"+J.host)};if(!R||!D){R=function setImmediate(r){var i=P(arguments,1);K[++X]=function(){g(w(r)?r:U(r),void 0,i)};$(X);return X};D=function clearImmediate(r){delete K[r]};if(B)$=function(r){N.nextTick(runner(r))};else if(W&&W.now)$=function(r){W.now(runner(r))};else if(j&&!O){ee=new j;te=ee.port2;ee.port1.onmessage=listener;$=y(te.postMessage,te)}else if(p.addEventListener&&w(p.postMessage)&&!p.importScripts&&J&&"file:"!==J.protocol&&!x(post)){$=post;p.addEventListener("message",listener,false)}else $=Y in I("script")?function(i){k.appendChild(I("script"))[Y]=function(){k.removeChild(this||r);run(i)}}:function(r){setTimeout(runner(r),0)}}i.exports={set:R,clear:D}},863:function(r,i,o){var u=o(1702);r.exports=u(1..valueOf)},1400:function(r,i,o){var u=o(9303);var p=Math.max;var g=Math.min;r.exports=function(r,i){var o=u(r);return o<0?p(o+i,0):g(o,i)}},7067:function(r,i,o){var u=o(7854);var p=o(9303);var g=o(7466);var y=u.RangeError;r.exports=function(r){if(void 0===r)return 0;var i=p(r);var o=g(i);if(i!==o)throw y("Wrong length or index");return o}},5656:function(r,i,o){var u=o(8361);var p=o(4488);r.exports=function(r){return u(p(r))}},9303:function(r){var i=Math.ceil;var o=Math.floor;r.exports=function(r){var u=+r;return u!==u||0===u?0:(u>0?o:i)(u)}},7466:function(r,i,o){var u=o(9303);var p=Math.min;r.exports=function(r){return r>0?p(u(r),9007199254740991):0}},7908:function(r,i,o){var u=o(7854);var p=o(4488);var g=u.Object;r.exports=function(r){return g(p(r))}},4590:function(r,i,o){var u=o(7854);var p=o(3002);var g=u.RangeError;r.exports=function(r,i){var o=p(r);if(o%i)throw g("Wrong offset");return o}},3002:function(r,i,o){var u=o(7854);var p=o(9303);var g=u.RangeError;r.exports=function(r){var i=p(r);if(i<0)throw g("The argument can't be less than 0");return i}},7593:function(r,i,o){var u=o(7854);var p=o(6916);var g=o(111);var y=o(2190);var w=o(8173);var _=o(2140);var x=o(5112);var k=u.TypeError;var P=x("toPrimitive");r.exports=function(r,i){if(!g(r)||y(r))return r;var o=w(r,P);var u;if(o){void 0===i&&(i="default");u=p(o,r,i);if(!g(u)||y(u))return u;throw k("Can't convert object to primitive value")}void 0===i&&(i="number");return _(r,i)}},4948:function(r,i,o){var u=o(7593);var p=o(2190);r.exports=function(r){var i=u(r,"string");return p(i)?i:i+""}},1694:function(r,i,o){var u=o(5112);var p=u("toStringTag");var g={};g[p]="z";r.exports="[object z]"===String(g)},1340:function(r,i,o){var u=o(7854);var p=o(648);var g=u.String;r.exports=function(r){if("Symbol"===p(r))throw TypeError("Cannot convert a Symbol value to a string");return g(r)}},6330:function(r,i,o){var u=o(7854);var p=u.String;r.exports=function(r){try{return p(r)}catch(r){return"Object"}}},9843:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(6916);var w=u(9781);var _=u(3832);var x=u(2094);var k=u(2091);var P=u(5787);var I=u(9114);var O=u(8880);var B=u(5988);var R=u(7466);var D=u(7067);var N=u(4590);var W=u(4948);var U=u(2597);var j=u(648);var G=u(111);var X=u(2190);var K=u(30);var Y=u(7976);var J=u(7674);var $=u(8006).f;var ee=u(7321);var te=u(2092).forEach;var re=u(6340);var ne=u(3070);var ae=u(1236);var ie=u(9909);var oe=u(9587);var se=ie.get;var le=ie.set;var ue=ne.f;var ce=ae.f;var fe=Math.round;var he=g.RangeError;var de=k.ArrayBuffer;var ve=de.prototype;var pe=k.DataView;var ge=x.NATIVE_ARRAY_BUFFER_VIEWS;var ye=x.TYPED_ARRAY_CONSTRUCTOR;var me=x.TYPED_ARRAY_TAG;var be=x.TypedArray;var we=x.TypedArrayPrototype;var _e=x.aTypedArrayConstructor;var Se=x.isTypedArray;var xe="BYTES_PER_ELEMENT";var Ce="Wrong length";var fromList=function(r,i){_e(r);var o=0;var u=i.length;var p=new r(u);while(u>o)p[o]=i[o++];return p};var addGetter=function(i,o){ue(i,o,{get:function(){return se(this||r)[o]}})};var isArrayBuffer=function(r){var i;return Y(ve,r)||"ArrayBuffer"==(i=j(r))||"SharedArrayBuffer"==i};var isTypedArrayIndex=function(r,i){return Se(r)&&!X(i)&&i in r&&B(+i)&&i>=0};var ke=function getOwnPropertyDescriptor(r,i){i=W(i);return isTypedArrayIndex(r,i)?I(2,r[i]):ce(r,i)};var Pe=function defineProperty(r,i,o){i=W(i);if(isTypedArrayIndex(r,i)&&G(o)&&U(o,"value")&&!U(o,"get")&&!U(o,"set")&&!o.configurable&&(!U(o,"writable")||o.writable)&&(!U(o,"enumerable")||o.enumerable)){r[i]=o.value;return r}return ue(r,i,o)};if(w){if(!ge){ae.f=ke;ne.f=Pe;addGetter(we,"buffer");addGetter(we,"byteOffset");addGetter(we,"byteLength");addGetter(we,"length")}p({target:"Object",stat:true,forced:!ge},{getOwnPropertyDescriptor:ke,defineProperty:Pe});i.exports=function(i,o,u){var w=i.match(/\d+$/)[0]/8;var x=i+(u?"Clamped":"")+"Array";var k="get"+i;var I="set"+i;var B=g[x];var W=B;var U=W&&W.prototype;var j={};var getter=function(r,i){var o=se(r);return o.view[k](i*w+o.byteOffset,true)};var setter=function(r,i,o){var p=se(r);u&&(o=(o=fe(o))<0?0:o>255?255:255&o);p.view[I](i*w+p.byteOffset,o,true)};var addElement=function(i,o){ue(i,o,{get:function(){return getter(this||r,o)},set:function(i){return setter(this||r,o,i)},enumerable:true})};if(ge){if(_){W=o((function(r,i,o,u){P(r,U);return oe(function(){return G(i)?isArrayBuffer(i)?void 0!==u?new B(i,N(o,w),u):void 0!==o?new B(i,N(o,w)):new B(i):Se(i)?fromList(W,i):y(ee,W,i):new B(D(i))}(),r,W)}));J&&J(W,be);te($(B),(function(r){r in W||O(W,r,B[r])}));W.prototype=U}}else{W=o((function(r,i,o,u){P(r,U);var p=0;var g=0;var _,x,k;if(G(i)){if(!isArrayBuffer(i))return Se(i)?fromList(W,i):y(ee,W,i);_=i;g=N(o,w);var I=i.byteLength;if(void 0===u){if(I%w)throw he(Ce);x=I-g;if(x<0)throw he(Ce)}else{x=R(u)*w;if(x+g>I)throw he(Ce)}k=x/w}else{k=D(i);x=k*w;_=new de(x)}le(r,{buffer:_,byteOffset:g,byteLength:x,length:k,view:new pe(_)});while(p1?arguments[1]:void 0;var R=void 0!==B;var D=k(u);var N,W,U,j,G,X;if(D&&!P(D)){G=x(u,D);X=G.next;u=[];while(!(j=g(X,G)).done)u.push(j.value)}R&&O>2&&(B=p(B,arguments[2]));W=_(u);U=new(I(o))(W);for(N=0;W>N;N++)U[N]=R?B(u[N],N):u[N];return U}},6304:function(r,i,o){var u=o(2094);var p=o(6707);var g=u.TYPED_ARRAY_CONSTRUCTOR;var y=u.aTypedArrayConstructor;r.exports=function(r){return y(p(r,r[g]))}},9711:function(r,i,o){var u=o(1702);var p=0;var g=Math.random();var y=u(1..toString);r.exports=function(r){return"Symbol("+(void 0===r?"":r)+")_"+y(++p+g,36)}},3307:function(r,i,o){var u=o(133);r.exports=u&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:function(r,i,o){var u=o(5112);i.f=u},5112:function(r,i,o){var u=o(7854);var p=o(2309);var g=o(2597);var y=o(9711);var w=o(133);var _=o(3307);var x=p("wks");var k=u.Symbol;var P=k&&k.for;var I=_?k:k&&k.withoutSetter||y;r.exports=function(r){if(!g(x,r)||!(w||"string"==typeof x[r])){var i="Symbol."+r;w&&g(k,r)?x[r]=k[r]:x[r]=_&&P?P(i):I(i)}return x[r]}},1361:function(r){r.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},9170:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(7976);var w=u(9518);var _=u(7674);var x=u(9920);var k=u(30);var P=u(8880);var I=u(9114);var O=u(7741);var B=u(8340);var R=u(408);var D=u(6277);var N=u(2914);var W=g.Error;var U=[].push;var j=function AggregateError(i,o){var u=y(G,this||r)?this||r:k(G);var p=arguments.length>2?arguments[2]:void 0;_&&(u=_(new W(void 0),w(u)));P(u,"message",D(o,""));N&&P(u,"stack",O(u.stack,1));B(u,p);var g=[];R(i,U,{that:g});P(u,"errors",g);return u};_?_(j,W):x(j,W);var G=j.prototype=k(W.prototype,{constructor:I(1,j),message:I(1,""),name:I(1,"AggregateError")});p({global:true},{AggregateError:j})},2222:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(7293);var w=u(3157);var _=u(111);var x=u(7908);var k=u(6244);var P=u(6135);var I=u(5417);var O=u(1194);var B=u(5112);var R=u(7392);var D=B("isConcatSpreadable");var N=9007199254740991;var W="Maximum allowed index exceeded";var U=g.TypeError;var j=R>=51||!y((function(){var r=[];r[D]=false;return r.concat()[0]!==r}));var G=O("concat");var isConcatSpreadable=function(r){if(!_(r))return false;var i=r[D];return void 0!==i?!!i:w(r)};var X=!j||!G;p({target:"Array",proto:true,forced:X},{concat:function concat(i){var o=x(this||r);var u=I(o,0);var p=0;var g,y,w,_,O;for(g=-1,w=arguments.length;gN)throw U(W);for(y=0;y<_;y++,p++)y in O&&P(u,p,O[y])}else{if(p>=N)throw U(W);P(u,p++,O)}}u.length=p;return u}})},545:function(r,i,o){var u=o(2109);var p=o(1048);var g=o(1223);u({target:"Array",proto:true},{copyWithin:p});g("copyWithin")},3290:function(r,i,o){var u=o(2109);var p=o(1285);var g=o(1223);u({target:"Array",proto:true},{fill:p});g("fill")},7327:function(i,o,u){var p=u(2109);var g=u(2092).filter;var y=u(1194);var w=y("filter");p({target:"Array",proto:true,forced:!w},{filter:function filter(i){return g(this||r,i,arguments.length>1?arguments[1]:void 0)}})},1038:function(r,i,o){var u=o(2109);var p=o(8457);var g=o(7072);var y=!g((function(r){Array.from(r)}));u({target:"Array",stat:true,forced:y},{from:p})},6699:function(i,o,u){var p=u(2109);var g=u(1318).includes;var y=u(1223);p({target:"Array",proto:true},{includes:function includes(i){return g(this||r,i,arguments.length>1?arguments[1]:void 0)}});y("includes")},6992:function(i,o,u){var p=u(5656);var g=u(1223);var y=u(7497);var w=u(9909);var _=u(654);var x="Array Iterator";var k=w.set;var P=w.getterFor(x);i.exports=_(Array,"Array",(function(i,o){k(this||r,{type:x,target:p(i),index:0,kind:o})}),(function(){var i=P(this||r);var o=i.target;var u=i.kind;var p=i.index++;if(!o||p>=o.length){i.target=void 0;return{value:void 0,done:true}}return"keys"==u?{value:p,done:false}:"values"==u?{value:o[p],done:false}:{value:[p,o[p]],done:false}}),"values");y.Arguments=y.Array;g("keys");g("values");g("entries")},9600:function(i,o,u){var p=u(2109);var g=u(1702);var y=u(8361);var w=u(5656);var _=u(9341);var x=g([].join);var k=y!=Object;var P=_("join",",");p({target:"Array",proto:true,forced:k||!P},{join:function join(i){return x(w(this||r),void 0===i?",":i)}})},1249:function(i,o,u){var p=u(2109);var g=u(2092).map;var y=u(1194);var w=y("map");p({target:"Array",proto:true,forced:!w},{map:function map(i){return g(this||r,i,arguments.length>1?arguments[1]:void 0)}})},7042:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(3157);var w=u(4411);var _=u(111);var x=u(1400);var k=u(6244);var P=u(5656);var I=u(6135);var O=u(5112);var B=u(1194);var R=u(206);var D=B("slice");var N=O("species");var W=g.Array;var U=Math.max;p({target:"Array",proto:true,forced:!D},{slice:function slice(i,o){var u=P(this||r);var p=k(u);var g=x(i,p);var O=x(void 0===o?p:o,p);var B,D,j;if(y(u)){B=u.constructor;if(w(B)&&(B===W||y(B.prototype)))B=void 0;else if(_(B)){B=B[N];null===B&&(B=void 0)}if(B===W||void 0===B)return R(u,g,O)}D=new(void 0===B?W:B)(U(O-g,0));for(j=0;g3)){if(B)return true;if(D)return D<603;var r="";var i,o,u,p;for(i=65;i<76;i++){o=String.fromCharCode(i);switch(i){case 66:case 69:case 70:case 72:u=3;break;case 68:case 71:u=4;break;default:u=2}for(p=0;p<47;p++)N.push({k:o+p,v:u})}N.sort((function(r,i){return i.v-r.v}));for(p=0;px(o)?1:-1}};p({target:"Array",proto:true,forced:Y},{sort:function sort(i){void 0!==i&&y(i);var o=w(this||r);if(K)return void 0===i?W(o):W(o,i);var u=[];var p=_(o);var g,x;for(x=0;xN)throw B(W);j=k(u,U);for(G=0;Gp-U+O;G--)delete u[G-1]}else if(O>U)for(G=p-U;G>g;G--){X=G+U-1;K=G+O-1;X in u?u[K]=u[X]:delete u[K]}for(G=0;G2){i=U(i);o=J(i,0);if(43===o||45===o){u=J(i,2);if(88===u||120===u)return NaN}else if(48===o){switch(J(i,1)){case 66:case 98:p=2;g=49;break;case 79:case 111:p=8;g=55;break;default:return+i}y=Y(i,2);w=y.length;for(_=0;_g)return NaN}return parseInt(y,p)}}return+i};if(w(j,!G(" 0o1")||!G("0b1")||G("+0x1"))){var $=function Number(i){var o=arguments.length<1?0:G(toNumeric(i));var u=this||r;return P(X,u)&&B((function(){W(u)}))?k(Object(o),u,$):o};for(var ee,te=p?R(G):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),re=0;te.length>re;re++)x(G,ee=te[re])&&!x($,ee)&&N($,ee,D(G,ee));$.prototype=X;X.constructor=$;_(g,j,$)}},3299:function(r,i,o){var u=o(2109);u({target:"Number",stat:true},{EPSILON:Math.pow(2,-52)})},5192:function(r,i,o){var u=o(2109);var p=o(7023);u({target:"Number",stat:true},{isFinite:p})},3161:function(r,i,o){var u=o(2109);var p=o(5988);u({target:"Number",stat:true},{isInteger:p})},6977:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(1702);var w=u(9303);var _=u(863);var x=u(8415);var k=u(7293);var P=g.RangeError;var I=g.String;var O=Math.floor;var B=y(x);var R=y("".slice);var D=y(1..toFixed);var pow=function(r,i,o){return 0===i?o:i%2===1?pow(r,i-1,o*r):pow(r*r,i/2,o)};var log=function(r){var i=0;var o=r;while(o>=4096){i+=12;o/=4096}while(o>=2){i+=1;o/=2}return i};var multiply=function(r,i,o){var u=-1;var p=o;while(++u<6){p+=i*r[u];r[u]=p%1e7;p=O(p/1e7)}};var divide=function(r,i){var o=6;var u=0;while(--o>=0){u+=r[o];r[o]=O(u/i);u=u%i*1e7}};var dataToString=function(r){var i=6;var o="";while(--i>=0)if(""!==o||0===i||0!==r[i]){var u=I(r[i]);o=""===o?u:o+B("0",7-u.length)+u}return o};var N=k((function(){return"0.000"!==D(8e-5,3)||"1"!==D(.9,0)||"1.25"!==D(1.255,2)||"1000000000000000128"!==D(0xde0b6b3a7640080,0)}))||!k((function(){D({})}));p({target:"Number",proto:true,forced:N},{toFixed:function toFixed(i){var o=_(this||r);var u=w(i);var p=[0,0,0,0,0,0];var g="";var y="0";var x,k,O,D;if(u<0||u>20)throw P("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return I(o);if(o<0){g="-";o=-o}if(o>1e-21){x=log(o*pow(2,69,1))-69;k=x<0?o*pow(2,-x,1):o/pow(2,x,1);k*=4503599627370496;x=52-x;if(x>0){multiply(p,0,k);O=u;while(O>=7){multiply(p,1e7,0);O-=7}multiply(p,pow(10,O,1),0);O=x-1;while(O>=23){divide(p,1<<23);O-=23}divide(p,1<0){D=y.length;y=g+(D<=u?"0."+B("0",u-D)+y:R(y,0,D-u)+"."+R(y,D-u))}else y=g+y;return y}})},9601:function(r,i,o){var u=o(2109);var p=o(1574);u({target:"Object",stat:true,forced:Object.assign!==p},{assign:p})},3371:function(r,i,o){var u=o(2109);var p=o(6677);var g=o(7293);var y=o(111);var w=o(2423).onFreeze;var _=Object.freeze;var x=g((function(){_(1)}));u({target:"Object",stat:true,forced:x,sham:!p},{freeze:function freeze(r){return _&&y(r)?_(w(r)):r}})},5003:function(r,i,o){var u=o(2109);var p=o(7293);var g=o(5656);var y=o(1236).f;var w=o(9781);var _=p((function(){y(1)}));var x=!w||_;u({target:"Object",stat:true,forced:x,sham:!w},{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(r,i){return y(g(r),i)}})},9337:function(r,i,o){var u=o(2109);var p=o(9781);var g=o(3887);var y=o(5656);var w=o(1236);var _=o(6135);u({target:"Object",stat:true,sham:!p},{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(r){var i=y(r);var o=w.f;var u=g(i);var p={};var x=0;var k,P;while(u.length>x){P=o(i,k=u[x++]);void 0!==P&&_(p,k,P)}return p}})},489:function(r,i,o){var u=o(2109);var p=o(7293);var g=o(7908);var y=o(9518);var w=o(8544);var _=p((function(){y(1)}));u({target:"Object",stat:true,forced:_,sham:!w},{getPrototypeOf:function getPrototypeOf(r){return y(g(r))}})},7941:function(r,i,o){var u=o(2109);var p=o(7908);var g=o(1956);var y=o(7293);var w=y((function(){g(1)}));u({target:"Object",stat:true,forced:w},{keys:function keys(r){return g(p(r))}})},1539:function(r,i,o){var u=o(1694);var p=o(1320);var g=o(288);u||p(Object.prototype,"toString",g,{unsafe:true})},2479:function(r,i,o){var u=o(2109);var p=o(4699).values;u({target:"Object",stat:true},{values:function values(r){return p(r)}})},7922:function(i,o,u){var p=u(2109);var g=u(6916);var y=u(9662);var w=u(8523);var _=u(2534);var x=u(408);p({target:"Promise",stat:true},{allSettled:function allSettled(i){var o=this||r;var u=w.f(o);var p=u.resolve;var k=u.reject;var P=_((function(){var r=y(o.resolve);var u=[];var w=0;var _=1;x(i,(function(i){var y=w++;var x=false;_++;g(r,o,i).then((function(r){if(!x){x=true;u[y]={status:"fulfilled",value:r};--_||p(u)}}),(function(r){if(!x){x=true;u[y]={status:"rejected",reason:r};--_||p(u)}}))}));--_||p(u)}));P.error&&k(P.value);return u.promise}})},4668:function(i,o,u){var p=u(2109);var g=u(9662);var y=u(5005);var w=u(6916);var _=u(8523);var x=u(2534);var k=u(408);var P="No one promise resolved";p({target:"Promise",stat:true},{any:function any(i){var o=this||r;var u=y("AggregateError");var p=_.f(o);var I=p.resolve;var O=p.reject;var B=x((function(){var r=g(o.resolve);var p=[];var y=0;var _=1;var x=false;k(i,(function(i){var g=y++;var k=false;_++;w(r,o,i).then((function(r){if(!k&&!x){x=true;I(r)}}),(function(r){if(!k&&!x){k=true;p[g]=r;--_||O(new u(p,P))}}))}));--_||O(new u(p,P))}));B.error&&O(B.value);return p.promise}})},7727:function(i,o,u){var p=u(2109);var g=u(1913);var y=u(3366);var w=u(7293);var _=u(5005);var x=u(614);var k=u(6707);var P=u(9478);var I=u(1320);var O=!!y&&w((function(){y.prototype.finally.call({then:function(){}},(function(){}))}));p({target:"Promise",proto:true,real:true,forced:O},{finally:function(i){var o=k(this||r,_("Promise"));var u=x(i);return this.then(u?function(r){return P(o,i()).then((function(){return r}))}:i,u?function(r){return P(o,i()).then((function(){throw r}))}:i)}});if(!g&&x(y)){var B=_("Promise").prototype.finally;y.prototype.finally!==B&&I(y.prototype,"finally",B,{unsafe:true})}},8674:function(i,o,u){var p=u(2109);var g=u(1913);var y=u(7854);var w=u(5005);var _=u(6916);var x=u(3366);var k=u(1320);var P=u(2248);var I=u(7674);var O=u(8003);var B=u(6340);var R=u(9662);var D=u(614);var N=u(111);var W=u(5787);var U=u(2788);var j=u(408);var G=u(7072);var X=u(6707);var K=u(261).set;var Y=u(5948);var J=u(9478);var $=u(842);var ee=u(8523);var te=u(2534);var re=u(9909);var ne=u(4705);var ae=u(5112);var ie=u(7871);var oe=u(5268);var se=u(7392);var le=ae("species");var ue="Promise";var ce=re.get;var fe=re.set;var he=re.getterFor(ue);var de=x&&x.prototype;var ve=x;var pe=de;var ge=y.TypeError;var ye=y.document;var me=y.process;var be=ee.f;var we=be;var _e=!!(ye&&ye.createEvent&&y.dispatchEvent);var Se=D(y.PromiseRejectionEvent);var xe="unhandledrejection";var Ce="rejectionhandled";var ke=0;var Pe=1;var Ae=2;var Ee=1;var Te=2;var Ie=false;var Oe,Be,Le,Fe;var Re=ne(ue,(function(){var r=U(ve);var i=r!==String(ve);if(!i&&66===se)return true;if(g&&!pe.finally)return true;if(se>=51&&/native code/.test(r))return false;var o=new ve((function(r){r(1)}));var FakePromise=function(r){r((function(){}),(function(){}))};var u=o.constructor={};u[le]=FakePromise;Ie=o.then((function(){}))instanceof FakePromise;return!Ie||!i&&ie&&!Se}));var De=Re||!G((function(r){ve.all(r).catch((function(){}))}));var isThenable=function(r){var i;return!(!N(r)||!D(i=r.then))&&i};var notify=function(r,i){if(!r.notified){r.notified=true;var o=r.reactions;Y((function(){var u=r.value;var p=r.state==Pe;var g=0;while(o.length>g){var y=o[g++];var w=p?y.ok:y.fail;var x=y.resolve;var k=y.reject;var P=y.domain;var I,O,B;try{if(w){if(!p){r.rejection===Te&&onHandleUnhandled(r);r.rejection=Ee}if(true===w)I=u;else{P&&P.enter();I=w(u);if(P){P.exit();B=true}}I===y.promise?k(ge("Promise-chain cycle")):(O=isThenable(I))?_(O,I,x,k):x(I)}else k(u)}catch(r){P&&!B&&P.exit();k(r)}}r.reactions=[];r.notified=false;i&&!r.rejection&&onUnhandled(r)}))}};var dispatchEvent=function(r,i,o){var u,p;if(_e){u=ye.createEvent("Event");u.promise=i;u.reason=o;u.initEvent(r,false,true);y.dispatchEvent(u)}else u={promise:i,reason:o};!Se&&(p=y["on"+r])?p(u):r===xe&&$("Unhandled promise rejection",o)};var onUnhandled=function(r){_(K,y,(function(){var i=r.facade;var o=r.value;var u=isUnhandled(r);var p;if(u){p=te((function(){oe?me.emit("unhandledRejection",o,i):dispatchEvent(xe,i,o)}));r.rejection=oe||isUnhandled(r)?Te:Ee;if(p.error)throw p.value}}))};var isUnhandled=function(r){return r.rejection!==Ee&&!r.parent};var onHandleUnhandled=function(r){_(K,y,(function(){var i=r.facade;oe?me.emit("rejectionHandled",i):dispatchEvent(Ce,i,r.value)}))};var bind=function(r,i,o){return function(u){r(i,u,o)}};var internalReject=function(r,i,o){if(!r.done){r.done=true;o&&(r=o);r.value=i;r.state=Ae;notify(r,true)}};var internalResolve=function(r,i,o){if(!r.done){r.done=true;o&&(r=o);try{if(r.facade===i)throw ge("Promise can't be resolved itself");var u=isThenable(i);if(u)Y((function(){var o={done:false};try{_(u,i,bind(internalResolve,o,r),bind(internalReject,o,r))}catch(i){internalReject(o,i,r)}}));else{r.value=i;r.state=Pe;notify(r,false)}}catch(i){internalReject({done:false},i,r)}}};if(Re){ve=function Promise(i){W(this||r,pe);R(i);_(Oe,this||r);var o=ce(this||r);try{i(bind(internalResolve,o),bind(internalReject,o))}catch(r){internalReject(o,r)}};pe=ve.prototype;Oe=function Promise(i){fe(this||r,{type:ue,done:false,notified:false,parent:false,reactions:[],rejection:false,state:ke,value:void 0})};Oe.prototype=P(pe,{then:function then(i,o){var u=he(this||r);var p=u.reactions;var g=be(X(this||r,ve));g.ok=!D(i)||i;g.fail=D(o)&&o;g.domain=oe?me.domain:void 0;u.parent=true;p[p.length]=g;u.state!=ke&¬ify(u,false);return g.promise},catch:function(r){return this.then(void 0,r)}});Be=function(){var i=new Oe;var o=ce(i);(this||r).promise=i;(this||r).resolve=bind(internalResolve,o);(this||r).reject=bind(internalReject,o)};ee.f=be=function(r){return r===ve||r===Le?new Be(r):we(r)};if(!g&&D(x)&&de!==Object.prototype){Fe=de.then;if(!Ie){k(de,"then",(function then(i,o){var u=this||r;return new ve((function(r,i){_(Fe,u,r,i)})).then(i,o)}),{unsafe:true});k(de,"catch",pe.catch,{unsafe:true})}try{delete de.constructor}catch(r){}I&&I(de,pe)}}p({global:true,wrap:true,forced:Re},{Promise:ve});O(ve,ue,false,true);B(ue);Le=w(ue);p({target:ue,stat:true,forced:Re},{reject:function reject(i){var o=be(this||r);_(o.reject,void 0,i);return o.promise}});p({target:ue,stat:true,forced:g||Re},{resolve:function resolve(i){return J(g&&(this||r)===Le?ve:this||r,i)}});p({target:ue,stat:true,forced:De},{all:function all(i){var o=this||r;var u=be(o);var p=u.resolve;var g=u.reject;var y=te((function(){var r=R(o.resolve);var u=[];var y=0;var w=1;j(i,(function(i){var x=y++;var k=false;w++;_(r,o,i).then((function(r){if(!k){k=true;u[x]=r;--w||p(u)}}),g)}));--w||p(u)}));y.error&&g(y.value);return u.promise},race:function race(i){var o=this||r;var u=be(o);var p=u.reject;var g=te((function(){var r=R(o.resolve);j(i,(function(i){_(r,o,i).then(u.resolve,p)}))}));g.error&&p(g.value);return u.promise}})},2419:function(r,i,o){var u=o(2109);var p=o(5005);var g=o(2104);var y=o(7065);var w=o(9483);var _=o(9670);var x=o(111);var k=o(30);var P=o(7293);var I=p("Reflect","construct");var O=Object.prototype;var B=[].push;var R=P((function(){function F(){}return!(I((function(){}),[],F)instanceof F)}));var D=!P((function(){I((function(){}))}));var N=R||D;u({target:"Reflect",stat:true,forced:N,sham:N},{construct:function construct(r,i){w(r);_(i);var o=arguments.length<3?r:w(arguments[2]);if(D&&!R)return I(r,i,o);if(r==o){switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3])}var u=[null];g(B,u,i);return new(g(y,r,u))}var p=o.prototype;var P=k(x(p)?p:O);var N=g(r,P,i);return x(N)?N:P}})},4916:function(r,i,o){var u=o(2109);var p=o(2261);u({target:"RegExp",proto:true,forced:/./.exec!==p},{exec:p})},2087:function(r,i,o){var u=o(9781);var p=o(3070);var g=o(7066);var y=o(7293);var w=RegExp.prototype;var _=u&&y((function(){return"sy"!==Object.getOwnPropertyDescriptor(w,"flags").get.call({dotAll:true,sticky:true})}));_&&p.f(w,"flags",{configurable:true,get:g})},9714:function(i,o,u){var p=u(1702);var g=u(6530).PROPER;var y=u(1320);var w=u(9670);var _=u(7976);var x=u(1340);var k=u(7293);var P=u(7066);var I="toString";var O=RegExp.prototype;var B=O[I];var R=p(P);var D=k((function(){return"/a/b"!=B.call({source:"a",flags:"b"})}));var N=g&&B.name!=I;(D||N)&&y(RegExp.prototype,I,(function toString(){var i=w(this||r);var o=x(i.source);var u=i.flags;var p=x(void 0===u&&_(O,i)&&!("flags"in O)?R(i):u);return"/"+o+"/"+p}),{unsafe:true})},189:function(i,o,u){var p=u(7710);var g=u(5631);p("Set",(function(i){return function Set(){return i(this||r,arguments.length?arguments[0]:void 0)}}),g)},9841:function(i,o,u){var p=u(2109);var g=u(8710).codeAt;p({target:"String",proto:true},{codePointAt:function codePointAt(i){return g(this||r,i)}})},4953:function(r,i,o){var u=o(2109);var p=o(7854);var g=o(1702);var y=o(1400);var w=p.RangeError;var _=String.fromCharCode;var x=String.fromCodePoint;var k=g([].join);var P=!!x&&1!=x.length;u({target:"String",stat:true,forced:P},{fromCodePoint:function fromCodePoint(r){var i=[];var o=arguments.length;var u=0;var p;while(o>u){p=+arguments[u++];if(y(p,1114111)!==p)throw w(p+" is not a valid code point");i[u]=p<65536?_(p):_(55296+((p-=65536)>>10),p%1024+56320)}return k(i,"")}})},2023:function(i,o,u){var p=u(2109);var g=u(1702);var y=u(3929);var w=u(4488);var _=u(1340);var x=u(4964);var k=g("".indexOf);p({target:"String",proto:true,forced:!x("includes")},{includes:function includes(i){return!!~k(_(w(this||r)),_(y(i)),arguments.length>1?arguments[1]:void 0)}})},8734:function(i,o,u){var p=u(2109);var g=u(4230);var y=u(3429);p({target:"String",proto:true,forced:y("italics")},{italics:function italics(){return g(this||r,"i","","")}})},8783:function(i,o,u){var p=u(8710).charAt;var g=u(1340);var y=u(9909);var w=u(654);var _="String Iterator";var x=y.set;var k=y.getterFor(_);w(String,"String",(function(i){x(this||r,{type:_,string:g(i),index:0})}),(function next(){var i=k(this||r);var o=i.string;var u=i.index;var g;if(u>=o.length)return{value:void 0,done:true};g=p(o,u);i.index+=g.length;return{value:g,done:false}}))},9254:function(i,o,u){var p=u(2109);var g=u(4230);var y=u(3429);p({target:"String",proto:true,forced:y("link")},{link:function link(i){return g(this||r,"a","href",i)}})},6373:function(i,o,u){var p=u(2109);var g=u(7854);var y=u(6916);var w=u(1702);var _=u(4994);var x=u(4488);var k=u(7466);var P=u(1340);var I=u(9670);var O=u(4326);var B=u(7976);var R=u(7850);var D=u(7066);var N=u(8173);var W=u(1320);var U=u(7293);var j=u(5112);var G=u(6707);var X=u(1530);var K=u(7651);var Y=u(9909);var J=u(1913);var $=j("matchAll");var ee="RegExp String";var te=ee+" Iterator";var re=Y.set;var ne=Y.getterFor(te);var ae=RegExp.prototype;var ie=g.TypeError;var oe=w(D);var se=w("".indexOf);var le=w("".matchAll);var ue=!!le&&!U((function(){le("a",/./)}));var ce=_((function RegExpStringIterator(i,o,u,p){re(this||r,{type:te,regexp:i,string:o,global:u,unicode:p,done:false})}),ee,(function next(){var i=ne(this||r);if(i.done)return{value:void 0,done:true};var o=i.regexp;var u=i.string;var p=K(o,u);if(null===p)return{value:void 0,done:i.done=true};if(i.global){""===P(p[0])&&(o.lastIndex=X(u,k(o.lastIndex),i.unicode));return{value:p,done:false}}i.done=true;return{value:p,done:false}}));var $matchAll=function(i){var o=I(this||r);var u=P(i);var p,g,y,w,_,x;p=G(o,RegExp);g=o.flags;void 0===g&&B(ae,o)&&!("flags"in ae)&&(g=oe(o));y=void 0===g?"":P(g);w=new p(p===RegExp?o.source:o,y);_=!!~se(y,"g");x=!!~se(y,"u");w.lastIndex=k(o.lastIndex);return new ce(w,u,_,x)};p({target:"String",proto:true,forced:ue},{matchAll:function matchAll(i){var o=x(this||r);var u,p,g,w;if(null!=i){if(R(i)){u=P(x("flags"in ae?i.flags:oe(i)));if(!~se(u,"g"))throw ie("`.matchAll` does not allow non-global regexes")}if(ue)return le(o,i);g=N(i,$);void 0===g&&J&&"RegExp"==O(i)&&(g=$matchAll);if(g)return y(g,i,o)}else if(ue)return le(o,i);p=P(o);w=new RegExp(i,"g");return J?y($matchAll,w,p):w[$](p)}});J||$ in ae||W(ae,$,$matchAll)},4723:function(i,o,u){var p=u(6916);var g=u(7007);var y=u(9670);var w=u(7466);var _=u(1340);var x=u(4488);var k=u(8173);var P=u(1530);var I=u(7651);g("match",(function(i,o,u){return[function match(o){var u=x(this||r);var g=void 0==o?void 0:k(o,i);return g?p(g,o,u):new RegExp(o)[i](_(u))},function(i){var p=y(this||r);var g=_(i);var x=u(o,p,g);if(x.done)return x.value;if(!p.global)return I(p,g);var k=p.unicode;p.lastIndex=0;var O=[];var B=0;var R;while(null!==(R=I(p,g))){var D=_(R[0]);O[B]=D;""===D&&(p.lastIndex=P(g,w(p.lastIndex),k));B++}return 0===B?null:O}]}))},2481:function(r,i,o){var u=o(2109);var p=o(8415);u({target:"String",proto:true},{repeat:p})},5306:function(i,o,u){var p=u(2104);var g=u(6916);var y=u(1702);var w=u(7007);var _=u(7293);var x=u(9670);var k=u(614);var P=u(9303);var I=u(7466);var O=u(1340);var B=u(4488);var R=u(1530);var D=u(8173);var N=u(647);var W=u(7651);var U=u(5112);var j=U("replace");var G=Math.max;var X=Math.min;var K=y([].concat);var Y=y([].push);var J=y("".indexOf);var $=y("".slice);var maybeToString=function(r){return void 0===r?r:String(r)};var ee=function(){return"$0"==="a".replace(/./,"$0")}();var te=function(){return!!/./[j]&&""===/./[j]("a","$0")}();var re=!_((function(){var r=/./;r.exec=function(){var r=[];r.groups={a:"7"};return r};return"7"!=="".replace(r,"$")}));w("replace",(function(i,o,u){var y=te?"$":"$0";return[function replace(i,u){var p=B(this||r);var y=void 0==i?void 0:D(i,j);return y?g(y,i,p,u):g(o,O(p),i,u)},function(i,g){var w=x(this||r);var _=O(i);if("string"==typeof g&&-1===J(g,y)&&-1===J(g,"$<")){var B=u(o,w,_,g);if(B.done)return B.value}var D=k(g);D||(g=O(g));var U=w.global;if(U){var j=w.unicode;w.lastIndex=0}var ee=[];while(true){var te=W(w,_);if(null===te)break;Y(ee,te);if(!U)break;var re=O(te[0]);""===re&&(w.lastIndex=R(_,I(w.lastIndex),j))}var ne="";var ae=0;for(var ie=0;ie=ae){ne+=$(_,ae,se)+he;ae=se+oe.length}}return ne+$(_,ae)}]}),!re||!ee||te)},3123:function(i,o,u){var p=u(2104);var g=u(6916);var y=u(1702);var w=u(7007);var _=u(7850);var x=u(9670);var k=u(4488);var P=u(6707);var I=u(1530);var O=u(7466);var B=u(1340);var R=u(8173);var D=u(206);var N=u(7651);var W=u(2261);var U=u(2999);var j=u(7293);var G=U.UNSUPPORTED_Y;var X=4294967295;var K=Math.min;var Y=[].push;var J=y(/./.exec);var $=y(Y);var ee=y("".slice);var te=!j((function(){var i=/(?:)/;var o=i.exec;i.exec=function(){return o.apply(this||r,arguments)};var u="ab".split(i);return 2!==u.length||"a"!==u[0]||"b"!==u[1]}));w("split",(function(i,o,u){var y;y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(i,u){var y=B(k(this||r));var w=void 0===u?X:u>>>0;if(0===w)return[];if(void 0===i)return[y];if(!_(i))return g(o,y,i,w);var x=[];var P=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":"");var I=0;var O=new RegExp(i.source,P+"g");var R,N,U;while(R=g(W,O,y)){N=O.lastIndex;if(N>I){$(x,ee(y,I,R.index));R.length>1&&R.index=w)break}O.lastIndex===R.index&&O.lastIndex++}I===y.length?!U&&J(O,"")||$(x,""):$(x,ee(y,I));return x.length>w?D(x,0,w):x}:"0".split(void 0,0).length?function(i,u){return void 0===i&&0===u?[]:g(o,this||r,i,u)}:o;return[function split(o,u){var p=k(this||r);var w=void 0==o?void 0:R(o,i);return w?g(w,o,p,u):g(y,B(p),o,u)},function(i,p){var g=x(this||r);var w=B(i);var _=u(y,g,w,p,y!==o);if(_.done)return _.value;var k=P(g,RegExp);var R=g.unicode;var D=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(G?"g":"y");var W=new k(G?"^(?:"+g.source+")":g,D);var U=void 0===p?X:p>>>0;if(0===U)return[];if(0===w.length)return null===N(W,w)?[w]:[];var j=0;var Y=0;var J=[];while(Y2?arguments[2]:void 0)}))},8927:function(i,o,u){var p=u(2094);var g=u(2092).every;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("every",(function every(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},3105:function(i,o,u){var p=u(2094);var g=u(6916);var y=u(1285);var w=p.aTypedArray;var _=p.exportTypedArrayMethod;_("fill",(function fill(i){var o=arguments.length;return g(y,w(this||r),i,o>1?arguments[1]:void 0,o>2?arguments[2]:void 0)}))},5035:function(i,o,u){var p=u(2094);var g=u(2092).filter;var y=u(3074);var w=p.aTypedArray;var _=p.exportTypedArrayMethod;_("filter",(function filter(i){var o=g(w(this||r),i,arguments.length>1?arguments[1]:void 0);return y(this||r,o)}))},7174:function(i,o,u){var p=u(2094);var g=u(2092).findIndex;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("findIndex",(function findIndex(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},4345:function(i,o,u){var p=u(2094);var g=u(2092).find;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("find",(function find(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},4197:function(i,o,u){var p=u(9843);p("Float32",(function(i){return function Float32Array(o,u,p){return i(this||r,o,u,p)}}))},6495:function(i,o,u){var p=u(9843);p("Float64",(function(i){return function Float64Array(o,u,p){return i(this||r,o,u,p)}}))},2846:function(i,o,u){var p=u(2094);var g=u(2092).forEach;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("forEach",(function forEach(i){g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},8145:function(r,i,o){var u=o(3832);var p=o(2094).exportTypedArrayStaticMethod;var g=o(7321);p("from",g,u)},4731:function(i,o,u){var p=u(2094);var g=u(1318).includes;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("includes",(function includes(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},7209:function(i,o,u){var p=u(2094);var g=u(1318).indexOf;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("indexOf",(function indexOf(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},5109:function(i,o,u){var p=u(9843);p("Int16",(function(i){return function Int16Array(o,u,p){return i(this||r,o,u,p)}}))},5125:function(i,o,u){var p=u(9843);p("Int32",(function(i){return function Int32Array(o,u,p){return i(this||r,o,u,p)}}))},7145:function(i,o,u){var p=u(9843);p("Int8",(function(i){return function Int8Array(o,u,p){return i(this||r,o,u,p)}}))},6319:function(i,o,u){var p=u(7854);var g=u(1702);var y=u(6530).PROPER;var w=u(2094);var _=u(6992);var x=u(5112);var k=x("iterator");var P=p.Uint8Array;var I=g(_.values);var O=g(_.keys);var B=g(_.entries);var R=w.aTypedArray;var D=w.exportTypedArrayMethod;var N=P&&P.prototype[k];var W=!!N&&"values"===N.name;var U=function values(){return I(R(this||r))};D("entries",(function entries(){return B(R(this||r))}));D("keys",(function keys(){return O(R(this||r))}));D("values",U,y&&!W);D(k,U,y&&!W)},8867:function(i,o,u){var p=u(2094);var g=u(1702);var y=p.aTypedArray;var w=p.exportTypedArrayMethod;var _=g([].join);w("join",(function join(i){return _(y(this||r),i)}))},7789:function(i,o,u){var p=u(2094);var g=u(2104);var y=u(6583);var w=p.aTypedArray;var _=p.exportTypedArrayMethod;_("lastIndexOf",(function lastIndexOf(i){var o=arguments.length;return g(y,w(this||r),o>1?[i,arguments[1]]:[i])}))},3739:function(i,o,u){var p=u(2094);var g=u(2092).map;var y=u(6304);var w=p.aTypedArray;var _=p.exportTypedArrayMethod;_("map",(function map(i){return g(w(this||r),i,arguments.length>1?arguments[1]:void 0,(function(r,i){return new(y(r))(i)}))}))},4483:function(i,o,u){var p=u(2094);var g=u(3671).right;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("reduceRight",(function reduceRight(i){var o=arguments.length;return g(y(this||r),i,o,o>1?arguments[1]:void 0)}))},9368:function(i,o,u){var p=u(2094);var g=u(3671).left;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("reduce",(function reduce(i){var o=arguments.length;return g(y(this||r),i,o,o>1?arguments[1]:void 0)}))},2056:function(i,o,u){var p=u(2094);var g=p.aTypedArray;var y=p.exportTypedArrayMethod;var w=Math.floor;y("reverse",(function reverse(){var i=this||r;var o=g(i).length;var u=w(o/2);var p=0;var y;while(p1?arguments[1]:void 0,1);var u=(this||r).length;var p=_(i);var g=y(p);var x=0;if(g+o>u)throw k("Wrong length");while(xy)k[y]=u[y++];return k}),k)},7462:function(i,o,u){var p=u(2094);var g=u(2092).some;var y=p.aTypedArray;var w=p.exportTypedArrayMethod;w("some",(function some(i){return g(y(this||r),i,arguments.length>1?arguments[1]:void 0)}))},3824:function(i,o,u){var p=u(7854);var g=u(1702);var y=u(7293);var w=u(9662);var _=u(4362);var x=u(2094);var k=u(8886);var P=u(256);var I=u(7392);var O=u(8008);var B=p.Array;var R=x.aTypedArray;var D=x.exportTypedArrayMethod;var N=p.Uint16Array;var W=N&&g(N.prototype.sort);var U=!!W&&!(y((function(){W(new N(2),null)}))&&y((function(){W(new N(2),{})})));var j=!!W&&!y((function(){if(I)return I<74;if(k)return k<67;if(P)return true;if(O)return O<602;var r=new N(516);var i=B(516);var o,u;for(o=0;o<516;o++){u=o%4;r[o]=515-o;i[o]=o-2*u+3}W(r,(function(r,i){return(r/4|0)-(i/4|0)}));for(o=0;o<516;o++)if(r[o]!==i[o])return true}));var getSortCompare=function(r){return function(i,o){return void 0!==r?+r(i,o)||0:o!==o?-1:i!==i?1:0===i&&0===o?1/i>0&&1/o<0?1:-1:i>o}};D("sort",(function sort(i){void 0!==i&&w(i);return j?W(this||r,i):_(R(this||r),getSortCompare(i))}),!j||U)},5021:function(i,o,u){var p=u(2094);var g=u(7466);var y=u(1400);var w=u(6304);var _=p.aTypedArray;var x=p.exportTypedArrayMethod;x("subarray",(function subarray(i,o){var u=_(this||r);var p=u.length;var x=y(i,p);var k=w(u);return new k(u.buffer,u.byteOffset+x*u.BYTES_PER_ELEMENT,g((void 0===o?p:y(o,p))-x))}))},2974:function(i,o,u){var p=u(7854);var g=u(2104);var y=u(2094);var w=u(7293);var _=u(206);var x=p.Int8Array;var k=y.aTypedArray;var P=y.exportTypedArrayMethod;var I=[].toLocaleString;var O=!!x&&w((function(){I.call(new x(1))}));var B=w((function(){return[1,2].toLocaleString()!=new x([1,2]).toLocaleString()}))||!w((function(){x.prototype.toLocaleString.call([1,2])}));P("toLocaleString",(function toLocaleString(){return g(I,O?_(k(this||r)):k(this||r),_(arguments))}),B)},5016:function(i,o,u){var p=u(2094).exportTypedArrayMethod;var g=u(7293);var y=u(7854);var w=u(1702);var _=y.Uint8Array;var x=_&&_.prototype||{};var k=[].toString;var P=w([].join);g((function(){k.call({})}))&&(k=function toString(){return P(this||r)});var I=x.toString!=k;p("toString",k,I)},8255:function(i,o,u){var p=u(9843);p("Uint16",(function(i){return function Uint16Array(o,u,p){return i(this||r,o,u,p)}}))},9135:function(i,o,u){var p=u(9843);p("Uint32",(function(i){return function Uint32Array(o,u,p){return i(this||r,o,u,p)}}))},2472:function(i,o,u){var p=u(9843);p("Uint8",(function(i){return function Uint8Array(o,u,p){return i(this||r,o,u,p)}}))},9743:function(i,o,u){var p=u(9843);p("Uint8",(function(i){return function Uint8ClampedArray(o,u,p){return i(this||r,o,u,p)}}),true)},8628:function(r,i,o){o(9170)},5743:function(r,i,o){o(5837)},7314:function(r,i,o){o(7922)},6290:function(r,i,o){o(4668)},7479:function(i,o,u){var p=u(2109);var g=u(8523);var y=u(2534);p({target:"Promise",stat:true},{try:function(i){var o=g.f(this||r);var u=y(i);(u.error?o.reject:o.resolve)(u.value);return o.promise}})},3728:function(r,i,o){o(6373)},4747:function(r,i,o){var u=o(7854);var p=o(8324);var g=o(8509);var y=o(8533);var w=o(8880);var handlePrototype=function(r){if(r&&r.forEach!==y)try{w(r,"forEach",y)}catch(i){r.forEach=y}};for(var _ in p)p[_]&&handlePrototype(u[_]&&u[_].prototype);handlePrototype(g)},3948:function(r,i,o){var u=o(7854);var p=o(8324);var g=o(8509);var y=o(6992);var w=o(8880);var _=o(5112);var x=_("iterator");var k=_("toStringTag");var P=y.values;var handlePrototype=function(r,i){if(r){if(r[x]!==P)try{w(r,x,P)}catch(i){r[x]=P}r[k]||w(r,k,i);if(p[i])for(var o in y)if(r[o]!==y[o])try{w(r,o,y[o])}catch(i){r[o]=y[o]}}};for(var I in p)handlePrototype(u[I]&&u[I].prototype,I);handlePrototype(g,"DOMTokenList")},3753:function(i,o,u){var p=u(2109);var g=u(6916);p({target:"URL",proto:true,enumerable:true},{toJSON:function toJSON(){return g(URL.prototype.toString,this||r)}})},1150:function(r,i,o){var u=o(7633);o(3948);r.exports=u},251:function(r,i,o){var u=o(2215);var p=o(2584);var g=o(609);var y=o(8420);var w=o(2847);var _=o(8923);var x=Date.prototype.getTime;function deepEqual(r,i,o){var u=o||{};return!!(u.strict?g(r,i):r===i)||(!r||!i||"object"!==typeof r&&"object"!==typeof i?u.strict?g(r,i):r==i:objEquiv(r,i,u))}function isUndefinedOrNull(r){return null===r||void 0===r}function isBuffer(r){return!(!r||"object"!==typeof r||"number"!==typeof r.length)&&("function"===typeof r.copy&&"function"===typeof r.slice&&!(r.length>0&&"number"!==typeof r[0]))}function objEquiv(r,i,o){var g,k;if(typeof r!==typeof i)return false;if(isUndefinedOrNull(r)||isUndefinedOrNull(i))return false;if(r.prototype!==i.prototype)return false;if(p(r)!==p(i))return false;var P=y(r);var I=y(i);if(P!==I)return false;if(P||I)return r.source===i.source&&w(r)===w(i);if(_(r)&&_(i))return x.call(r)===x.call(i);var O=isBuffer(r);var B=isBuffer(i);if(O!==B)return false;if(O||B){if(r.length!==i.length)return false;for(g=0;g=0;g--)if(R[g]!=D[g])return false;for(g=R.length-1;g>=0;g--){k=R[g];if(!deepEqual(r[k],i[k],o))return false}return true}r.exports=deepEqual},4289:function(r,i,o){var u=o(2215);var p="function"===typeof Symbol&&"symbol"===typeof Symbol("foo");var g=Object.prototype.toString;var y=Array.prototype.concat;var w=Object.defineProperty;var isFunction=function(r){return"function"===typeof r&&"[object Function]"===g.call(r)};var arePropertyDescriptorsSupported=function(){var r={};try{w(r,"x",{enumerable:false,value:r});for(var i in r)return false;return r.x===r}catch(r){return false}};var _=w&&arePropertyDescriptorsSupported();var defineProperty=function(r,i,o,u){(!(i in r)||isFunction(u)&&u())&&(_?w(r,i,{configurable:true,enumerable:false,value:o,writable:true}):r[i]=o)};var defineProperties=function(r,i){var o=arguments.length>2?arguments[2]:{};var g=u(i);p&&(g=y.call(g,Object.getOwnPropertySymbols(i)));for(var w=0;w0&&(w=o[0]);if(w instanceof Error)throw w;var _=new Error("Unhandled error."+(w?" ("+w.message+")":""));_.context=w;throw _}var x=y[i];if(void 0===x)return false;if("function"===typeof x)u(x,this||r,o);else{var k=x.length;var P=arrayClone(x,k);for(p=0;p0&&y.length>p&&!y.warned){y.warned=true;var w=new Error("Possible EventEmitter memory leak detected. "+y.length+" "+String(i)+" listeners added. Use emitter.setMaxListeners() to increase limit");w.name="MaxListenersExceededWarning";w.emitter=r;w.type=i;w.count=y.length;ProcessEmitWarning(w)}}return r}EventEmitter.prototype.addListener=function addListener(i,o){return _addListener(this||r,i,o,false)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function prependListener(i,o){return _addListener(this||r,i,o,true)};function onceWrapper(){if(!(this||r).fired){(this||r).target.removeListener((this||r).type,(this||r).wrapFn);(this||r).fired=true;return 0===arguments.length?(this||r).listener.call((this||r).target):(this||r).listener.apply((this||r).target,arguments)}}function _onceWrap(r,i,o){var u={fired:false,wrapFn:void 0,target:r,type:i,listener:o};var p=onceWrapper.bind(u);p.listener=o;u.wrapFn=p;return p}EventEmitter.prototype.once=function once(i,o){checkListener(o);this.on(i,_onceWrap(this||r,i,o));return this||r};EventEmitter.prototype.prependOnceListener=function prependOnceListener(i,o){checkListener(o);this.prependListener(i,_onceWrap(this||r,i,o));return this||r};EventEmitter.prototype.removeListener=function removeListener(i,o){var u,p,g,y,w;checkListener(o);p=(this||r)._events;if(void 0===p)return this||r;u=p[i];if(void 0===u)return this||r;if(u===o||u.listener===o)if(0===--(this||r)._eventsCount)(this||r)._events=Object.create(null);else{delete p[i];p.removeListener&&this.emit("removeListener",i,u.listener||o)}else if("function"!==typeof u){g=-1;for(y=u.length-1;y>=0;y--)if(u[y]===o||u[y].listener===o){w=u[y].listener;g=y;break}if(g<0)return this||r;0===g?u.shift():spliceOne(u,g);1===u.length&&(p[i]=u[0]);void 0!==p.removeListener&&this.emit("removeListener",i,w||o)}return this||r};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function removeAllListeners(i){var o,u,p;u=(this||r)._events;if(void 0===u)return this||r;if(void 0===u.removeListener){if(0===arguments.length){(this||r)._events=Object.create(null);(this||r)._eventsCount=0}else void 0!==u[i]&&(0===--(this||r)._eventsCount?(this||r)._events=Object.create(null):delete u[i]);return this||r}if(0===arguments.length){var g=Object.keys(u);var y;for(p=0;p=0;p--)this.removeListener(i,o[p]);return this||r};function _listeners(r,i,o){var u=r._events;if(void 0===u)return[];var p=u[i];return void 0===p?[]:"function"===typeof p?o?[p.listener||p]:[p]:o?unwrapListeners(p):arrayClone(p,p.length)}EventEmitter.prototype.listeners=function listeners(i){return _listeners(this||r,i,true)};EventEmitter.prototype.rawListeners=function rawListeners(i){return _listeners(this||r,i,false)};EventEmitter.listenerCount=function(r,i){return"function"===typeof r.listenerCount?r.listenerCount(i):listenerCount.call(r,i)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(i){var o=(this||r)._events;if(void 0!==o){var u=o[i];if("function"===typeof u)return 1;if(void 0!==u)return u.length}return 0}EventEmitter.prototype.eventNames=function eventNames(){return(this||r)._eventsCount>0?p((this||r)._events):[]};function arrayClone(r,i){var o=new Array(i);for(var u=0;u1&&"boolean"!==typeof i)throw new y('"allowMissing" argument must be a boolean');var o=Y(r);var u=o.length>0?o[0]:"";var g=J("%"+u+"%",i);var _=g.name;var x=g.value;var k=false;var P=g.alias;if(P){u=P[0];U(o,W([0,1],P))}for(var I=1,B=true;I=o.length){var X=w(x,R);B=!!X;x=B&&"get"in X&&!("originalValue"in X.get)?X.get:x[R]}else{B=N(x,R);x=x[R]}B&&!k&&(O[_]=x)}}return x}},1405:function(r,i,o){var u="undefined"!==typeof Symbol&&Symbol;var p=o(5419);r.exports=function hasNativeSymbols(){return"function"===typeof u&&("function"===typeof Symbol&&("symbol"===typeof u("foo")&&("symbol"===typeof Symbol("bar")&&p())))}},5419:function(r){r.exports=function hasSymbols(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return false;if("symbol"===typeof Symbol.iterator)return true;var r={};var i=Symbol("test");var o=Object(i);if("string"===typeof i)return false;if("[object Symbol]"!==Object.prototype.toString.call(i))return false;if("[object Symbol]"!==Object.prototype.toString.call(o))return false;var u=42;r[i]=u;for(i in r)return false;if("function"===typeof Object.keys&&0!==Object.keys(r).length)return false;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(r).length)return false;var p=Object.getOwnPropertySymbols(r);if(1!==p.length||p[0]!==i)return false;if(!Object.prototype.propertyIsEnumerable.call(r,i))return false;if("function"===typeof Object.getOwnPropertyDescriptor){var g=Object.getOwnPropertyDescriptor(r,i);if(g.value!==u||true!==g.enumerable)return false}return true}},6410:function(r,i,o){var u=o(5419);r.exports=function hasToStringTagShams(){return u()&&!!Symbol.toStringTag}},7642:function(r,i,o){var u=o(8612);r.exports=u.call(Function.call,Object.prototype.hasOwnProperty)},688:function(i,o,u){var p=u(7103).Buffer;o._dbcs=DBCSCodec;var g=-1,y=-2,w=-10,_=-1e3,x=new Array(256),k=-1;for(var P=0;P<256;P++)x[P]=g;function DBCSCodec(i,o){(this||r).encodingName=i.encodingName;if(!i)throw new Error("DBCS codec is called without the data.");if(!i.table)throw new Error("Encoding '"+(this||r).encodingName+"' has no data.");var u=i.table();(this||r).decodeTables=[];(this||r).decodeTables[0]=x.slice(0);(this||r).decodeTableSeq=[];for(var p=0;p_)throw new Error("gb18030 decode tables conflict at byte 2");var B=(this||r).decodeTables[_-I[O]];for(var R=129;R<=254;R++){if(B[R]===g)B[R]=_-k;else{if(B[R]===_-k)continue;if(B[R]>_)throw new Error("gb18030 decode tables conflict at byte 3")}var D=(this||r).decodeTables[_-B[R]];for(var N=48;N<=57;N++)D[N]===g&&(D[N]=y)}}}}(this||r).defaultCharUnicode=o.defaultCharUnicode;(this||r).encodeTable=[];(this||r).encodeTableSeq=[];var W={};if(i.encodeSkipVals)for(p=0;p0;i>>>=8)o.push(255&i);0==o.length&&o.push(0);var u=(this||r).decodeTables[0];for(var p=o.length-1;p>0;p--){var y=u[o[p]];if(y==g){u[o[p]]=_-(this||r).decodeTables.length;(this||r).decodeTables.push(u=x.slice(0))}else{if(!(y<=_))throw new Error("Overwrite byte in "+(this||r).encodingName+", addr: "+i.toString(16));u=(this||r).decodeTables[_-y]}}return u};DBCSCodec.prototype._addDecodeChunk=function(i){var o=parseInt(i[0],16);var u=this._getDecodeTrieNode(o);o&=255;for(var p=1;p255)throw new Error("Incorrect chunk in "+(this||r).encodingName+" at addr "+i[0]+": too long"+o)};DBCSCodec.prototype._getEncodeBucket=function(i){var o=i>>8;void 0===(this||r).encodeTable[o]&&((this||r).encodeTable[o]=x.slice(0));return(this||r).encodeTable[o]};DBCSCodec.prototype._setEncodeChar=function(i,o){var u=this._getEncodeBucket(i);var p=255&i;u[p]<=w?(this||r).encodeTableSeq[w-u[p]][k]=o:u[p]==g&&(u[p]=o)};DBCSCodec.prototype._setEncodeSequence=function(i,o){var u=i[0];var p=this._getEncodeBucket(u);var y=255&u;var _;if(p[y]<=w)_=(this||r).encodeTableSeq[w-p[y]];else{_={};p[y]!==g&&(_[k]=p[y]);p[y]=w-(this||r).encodeTableSeq.length;(this||r).encodeTableSeq.push(_)}for(var x=1;x=0){this._setEncodeChar(k,P);g=true}else if(k<=_){var I=_-k;if(!y[I]){var O=P<<8>>>0;this._fillEncodeTable(I,O,u)?g=true:y[I]=true}}else if(k<=w){this._setEncodeSequence((this||r).decodeTableSeq[w-k],P);g=true}}return g};function DBCSEncoder(i,o){(this||r).leadSurrogate=-1;(this||r).seqObj=void 0;(this||r).encodeTable=o.encodeTable;(this||r).encodeTableSeq=o.encodeTableSeq;(this||r).defaultCharSingleByte=o.defCharSB;(this||r).gb18030=o.gb18030}DBCSEncoder.prototype.write=function(i){var o=p.alloc(i.length*((this||r).gb18030?4:3)),u=(this||r).leadSurrogate,y=(this||r).seqObj,_=-1,x=0,P=0;while(true){if(-1===_){if(x==i.length)break;var I=i.charCodeAt(x++)}else{I=_;_=-1}if(55296<=I&&I<57344)if(I<56320){if(-1===u){u=I;continue}u=I;I=g}else if(-1!==u){I=65536+1024*(u-55296)+(I-56320);u=-1}else I=g;else if(-1!==u){_=I;I=g;u=-1}var O=g;if(void 0!==y&&I!=g){var B=y[I];if("object"===typeof B){y=B;continue}if("number"==typeof B)O=B;else if(void 0==B){B=y[k];if(void 0!==B){O=B;_=I}}y=void 0}else if(I>=0){var R=(this||r).encodeTable[I>>8];void 0!==R&&(O=R[255&I]);if(O<=w){y=(this||r).encodeTableSeq[w-O];continue}if(O==g&&(this||r).gb18030){var D=findIdx((this||r).gb18030.uChars,I);if(-1!=D){O=(this||r).gb18030.gbChars[D]+(I-(this||r).gb18030.uChars[D]);o[P++]=129+Math.floor(O/12600);O%=12600;o[P++]=48+Math.floor(O/1260);O%=1260;o[P++]=129+Math.floor(O/10);O%=10;o[P++]=48+O;continue}}}O===g&&(O=(this||r).defaultCharSingleByte);if(O<256)o[P++]=O;else if(O<65536){o[P++]=O>>8;o[P++]=255&O}else if(O<16777216){o[P++]=O>>16;o[P++]=O>>8&255;o[P++]=255&O}else{o[P++]=O>>>24;o[P++]=O>>>16&255;o[P++]=O>>>8&255;o[P++]=255&O}}(this||r).seqObj=y;(this||r).leadSurrogate=u;return o.slice(0,P)};DBCSEncoder.prototype.end=function(){if(-1!==(this||r).leadSurrogate||void 0!==(this||r).seqObj){var i=p.alloc(10),o=0;if((this||r).seqObj){var u=(this||r).seqObj[k];if(void 0!==u)if(u<256)i[o++]=u;else{i[o++]=u>>8;i[o++]=255&u}(this||r).seqObj=void 0}if(-1!==(this||r).leadSurrogate){i[o++]=(this||r).defaultCharSingleByte;(this||r).leadSurrogate=-1}return i.slice(0,o)}};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(i,o){(this||r).nodeIdx=0;(this||r).prevBytes=[];(this||r).decodeTables=o.decodeTables;(this||r).decodeTableSeq=o.decodeTableSeq;(this||r).defaultCharUnicode=o.defaultCharUnicode;(this||r).gb18030=o.gb18030}DBCSDecoder.prototype.write=function(i){var o=p.alloc(2*i.length),u=(this||r).nodeIdx,x=(this||r).prevBytes,k=(this||r).prevBytes.length,P=-(this||r).prevBytes.length;for(var I=0,O=0;I=0?i[I]:x[I+k];var R=(this||r).decodeTables[u][B];if(R>=0);else if(R===g){R=(this||r).defaultCharUnicode.charCodeAt(0);I=P}else if(R===y){if(I>=3)var D=12600*(i[I-3]-129)+1260*(i[I-2]-48)+10*(i[I-1]-129)+(B-48);else D=12600*(x[I-3+k]-129)+1260*((I-2>=0?i[I-2]:x[I-2+k])-48)+10*((I-1>=0?i[I-1]:x[I-1+k])-129)+(B-48);var N=findIdx((this||r).gb18030.gbChars,D);R=(this||r).gb18030.uChars[N]+D-(this||r).gb18030.gbChars[N]}else{if(R<=_){u=_-R;continue}if(!(R<=w))throw new Error("iconv-lite internal error: invalid decoding table value "+R+" at "+u+"/"+B);var W=(this||r).decodeTableSeq[w-R];for(var U=0;U>8}R=W[W.length-1]}if(R>=65536){R-=65536;var j=55296|R>>10;o[O++]=255&j;o[O++]=j>>8;R=56320|1023&R}o[O++]=255&R;o[O++]=R>>8;u=0;P=I+1}(this||r).nodeIdx=u;(this||r).prevBytes=P>=0?Array.prototype.slice.call(i,P):x.slice(P+k).concat(Array.prototype.slice.call(i));return o.slice(0,O).toString("ucs2")};DBCSDecoder.prototype.end=function(){var i="";while((this||r).prevBytes.length>0){i+=(this||r).defaultCharUnicode;var o=(this||r).prevBytes.slice(1);(this||r).prevBytes=[];(this||r).nodeIdx=0;o.length>0&&(i+=this.write(o))}(this||r).prevBytes=[];(this||r).nodeIdx=0;return i};function findIdx(r,i){if(r[0]>i)return-1;var o=0,u=r.length;while(o>1);r[p]<=i?o=p:u=p}return o}},5990:function(r,i,o){r.exports={shiftjis:{type:"_dbcs",table:function(){return o(7014)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return o(5633)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return o(3336)}},gbk:{type:"_dbcs",table:function(){return o(3336).concat(o(4346))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return o(3336).concat(o(4346))},gb18030:function(){return o(6258)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return o(7348)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return o(4284)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return o(4284).concat(o(3480))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},6934:function(r,i,o){var u=[o(1025),o(7688),o(1279),o(758),o(9068),o(3769),o(7018),o(688),o(5990)];for(var p=0;p>>6);i[o++]=128+(63&g)}else{i[o++]=224+(g>>>12);i[o++]=128+(g>>>6&63);i[o++]=128+(63&g)}}return i.slice(0,o)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(i,o){(this||r).acc=0;(this||r).contBytes=0;(this||r).accBytes=0;(this||r).defaultCharUnicode=o.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(i){var o=(this||r).acc,u=(this||r).contBytes,p=(this||r).accBytes,g="";for(var y=0;y0){g+=(this||r).defaultCharUnicode;u=0}if(w<128)g+=String.fromCharCode(w);else if(w<224){o=31&w;u=1;p=1}else if(w<240){o=15&w;u=2;p=1}else g+=(this||r).defaultCharUnicode}else if(u>0){o=o<<6|63&w;u--;p++;0===u&&(g+=2===p&&o<128&&o>0||3===p&&o<2048?(this||r).defaultCharUnicode:String.fromCharCode(o))}else g+=(this||r).defaultCharUnicode}(this||r).acc=o;(this||r).contBytes=u;(this||r).accBytes=p;return g};InternalDecoderCesu8.prototype.end=function(){var i=0;(this||r).contBytes>0&&(i+=(this||r).defaultCharUnicode);return i}},9068:function(i,o,u){var p=u(7103).Buffer;o._sbcs=SBCSCodec;function SBCSCodec(i,o){if(!i)throw new Error("SBCS codec is called without the data.");if(!i.chars||128!==i.chars.length&&256!==i.chars.length)throw new Error("Encoding '"+i.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(128===i.chars.length){var u="";for(var g=0;g<128;g++)u+=String.fromCharCode(g);i.chars=u+i.chars}(this||r).decodeBuf=p.from(i.chars,"ucs2");var y=p.alloc(65536,o.defaultCharSingleByte.charCodeAt(0));for(g=0;g?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},3769:function(r){r.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},1279:function(i,o,u){var p=u(7103).Buffer;o.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(r){var i=p.from(r,"ucs2");for(var o=0;o=100)break e}}}return g>p?"utf-16be":g0){for(;o1114111)&&(o=u);if(o>=65536){o-=65536;var p=55296|o>>10;r[i++]=255&p;r[i++]=p>>8;o=56320|1023&o}r[i++]=255&o;r[i++]=o>>8;return i}Utf32Decoder.prototype.end=function(){(this||r).overflow.length=0};o.utf32=Utf32AutoCodec;o.ucs4="utf32";function Utf32AutoCodec(i,o){(this||r).iconv=o}Utf32AutoCodec.prototype.encoder=Utf32AutoEncoder;Utf32AutoCodec.prototype.decoder=Utf32AutoDecoder;function Utf32AutoEncoder(i,o){i=i||{};void 0===i.addBOM&&(i.addBOM=true);(this||r).encoder=o.iconv.getEncoder(i.defaultEncoding||"utf-32le",i)}Utf32AutoEncoder.prototype.write=function(i){return(this||r).encoder.write(i)};Utf32AutoEncoder.prototype.end=function(){return(this||r).encoder.end()};function Utf32AutoDecoder(i,o){(this||r).decoder=null;(this||r).initialBufs=[];(this||r).initialBufsLen=0;(this||r).options=i||{};(this||r).iconv=o.iconv}Utf32AutoDecoder.prototype.write=function(i){if(!(this||r).decoder){(this||r).initialBufs.push(i);(this||r).initialBufsLen+=i.length;if((this||r).initialBufsLen<32)return"";var o=detectEncoding((this||r).initialBufs,(this||r).options.defaultEncoding);(this||r).decoder=(this||r).iconv.getDecoder(o,(this||r).options);var u="";for(var p=0;p<(this||r).initialBufs.length;p++)u+=(this||r).decoder.write((this||r).initialBufs[p]);(this||r).initialBufs.length=(this||r).initialBufsLen=0;return u}return(this||r).decoder.write(i)};Utf32AutoDecoder.prototype.end=function(){if(!(this||r).decoder){var i=detectEncoding((this||r).initialBufs,(this||r).options.defaultEncoding);(this||r).decoder=(this||r).iconv.getDecoder(i,(this||r).options);var o="";for(var u=0;u<(this||r).initialBufs.length;u++)o+=(this||r).decoder.write((this||r).initialBufs[u]);var p=(this||r).decoder.end();p&&(o+=p);(this||r).initialBufs.length=(this||r).initialBufsLen=0;return o}return(this||r).decoder.end()};function detectEncoding(r,i){var o=[];var u=0;var p=0,g=0;var y=0,w=0;e:for(var _=0;_16)&&g++;(0!==o[3]||o[2]>16)&&p++;0!==o[0]||0!==o[1]||0===o[2]&&0===o[3]||w++;0===o[0]&&0===o[1]||0!==o[2]||0!==o[3]||y++;o.length=0;u++;if(u>=100)break e}}}return w-g>y-p?"utf-32be":w-g0&&(i=(this||r).iconv.decode(p.from((this||r).base64Accum,"base64"),"utf16-be"));(this||r).inBase64=false;(this||r).base64Accum="";return i};o.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(i,o){(this||r).iconv=o}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(i,o){(this||r).iconv=o.iconv;(this||r).inBase64=false;(this||r).base64Accum=p.alloc(6);(this||r).base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(i){var o=(this||r).inBase64,u=(this||r).base64Accum,g=(this||r).base64AccumIdx,y=p.alloc(5*i.length+10),w=0;for(var _=0;_0){w+=y.write(u.slice(0,g).toString("base64").replace(/\//g,",").replace(/=+$/,""),w);g=0}y[w++]=k;o=false}if(!o){y[w++]=x;x===P&&(y[w++]=k)}}else{if(!o){y[w++]=P;o=true}if(o){u[g++]=x>>8;u[g++]=255&x;if(g==u.length){w+=y.write(u.toString("base64").replace(/\//g,","),w);g=0}}}}(this||r).inBase64=o;(this||r).base64AccumIdx=g;return y.slice(0,w)};Utf7IMAPEncoder.prototype.end=function(){var i=p.alloc(10),o=0;if((this||r).inBase64){if((this||r).base64AccumIdx>0){o+=i.write((this||r).base64Accum.slice(0,(this||r).base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),o);(this||r).base64AccumIdx=0}i[o++]=k;(this||r).inBase64=false}return i.slice(0,o)};function Utf7IMAPDecoder(i,o){(this||r).iconv=o.iconv;(this||r).inBase64=false;(this||r).base64Accum=""}var I=w.slice();I[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(i){var o="",u=0,g=(this||r).inBase64,y=(this||r).base64Accum;for(var w=0;w0&&(i=(this||r).iconv.decode(p.from((this||r).base64Accum,"base64"),"utf16-be"));(this||r).inBase64=false;(this||r).base64Accum="";return i}},5395:function(i,o){var u="\ufeff";o.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(i,o){(this||r).encoder=i;(this||r).addBOM=true}PrependBOMWrapper.prototype.write=function(i){if((this||r).addBOM){i=u+i;(this||r).addBOM=false}return(this||r).encoder.write(i)};PrependBOMWrapper.prototype.end=function(){return(this||r).encoder.end()};o.StripBOM=StripBOMWrapper;function StripBOMWrapper(i,o){(this||r).decoder=i;(this||r).pass=false;(this||r).options=o||{}}StripBOMWrapper.prototype.write=function(i){var o=(this||r).decoder.write(i);if((this||r).pass||!o)return o;if(o[0]===u){o=o.slice(1);"function"===typeof(this||r).options.stripBOM&&(this||r).options.stripBOM()}(this||r).pass=true;return o};StripBOMWrapper.prototype.end=function(){return(this||r).decoder.end()}},4914:function(r,i,o){var u=o(7103).Buffer;var p=o(5395),g=r.exports;g.encodings=null;g.defaultCharUnicode="�";g.defaultCharSingleByte="?";g.encode=function encode(r,i,o){r=""+(r||"");var p=g.getEncoder(i,o);var y=p.write(r);var w=p.end();return w&&w.length>0?u.concat([y,w]):y};g.decode=function decode(r,i,o){if("string"===typeof r){if(!g.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");g.skipDecodeWarning=true}r=u.from(""+(r||""),"binary")}var p=g.getDecoder(i,o);var y=p.write(r);var w=p.end();return w?y+w:y};g.encodingExists=function encodingExists(r){try{g.getCodec(r);return true}catch(r){return false}};g.toEncoding=g.encode;g.fromEncoding=g.decode;g._codecDataCache={};g.getCodec=function getCodec(r){g.encodings||(g.encodings=o(6934));var i=g._canonicalizeEncoding(r);var u={};while(true){var p=g._codecDataCache[i];if(p)return p;var y=g.encodings[i];switch(typeof y){case"string":i=y;break;case"object":for(var w in y)u[w]=y[w];u.encodingName||(u.encodingName=i);i=y.type;break;case"function":u.encodingName||(u.encodingName=i);p=new y(u,g);g._codecDataCache[u.encodingName]=p;return p;default:throw new Error("Encoding not recognized: '"+r+"' (searched as: '"+i+"')")}}};g._canonicalizeEncoding=function(r){return(""+r).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};g.getEncoder=function getEncoder(r,i){var o=g.getCodec(r),u=new o.encoder(i,o);o.bomAware&&i&&i.addBOM&&(u=new p.PrependBOM(u,i));return u};g.getDecoder=function getDecoder(r,i){var o=g.getCodec(r),u=new o.decoder(i,o);!o.bomAware||i&&false===i.stripBOM||(u=new p.StripBOM(u,i));return u};g.enableStreamingAPI=function enableStreamingAPI(r){if(!g.supportsStreams){var i=o(8044)(r);g.IconvLiteEncoderStream=i.IconvLiteEncoderStream;g.IconvLiteDecoderStream=i.IconvLiteDecoderStream;g.encodeStream=function encodeStream(r,i){return new g.IconvLiteEncoderStream(g.getEncoder(r,i),i)};g.decodeStream=function decodeStream(r,i){return new g.IconvLiteDecoderStream(g.getDecoder(r,i),i)};g.supportsStreams=true}};var y;try{y=o(5832)}catch(r){}y&&y.Transform?g.enableStreamingAPI(y):g.encodeStream=g.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")};false},8044:function(i,o,u){var p=u(7103).Buffer;i.exports=function(i){var o=i.Transform;function IconvLiteEncoderStream(i,u){(this||r).conv=i;u=u||{};u.decodeStrings=false;o.call(this||r,u)}IconvLiteEncoderStream.prototype=Object.create(o.prototype,{constructor:{value:IconvLiteEncoderStream}});IconvLiteEncoderStream.prototype._transform=function(i,o,u){if("string"!=typeof i)return u(new Error("Iconv encoding stream needs strings as its input."));try{var p=(this||r).conv.write(i);p&&p.length&&this.push(p);u()}catch(r){u(r)}};IconvLiteEncoderStream.prototype._flush=function(i){try{var o=(this||r).conv.end();o&&o.length&&this.push(o);i()}catch(r){i(r)}};IconvLiteEncoderStream.prototype.collect=function(i){var o=[];this.on("error",i);this.on("data",(function(r){o.push(r)}));this.on("end",(function(){i(null,p.concat(o))}));return this||r};function IconvLiteDecoderStream(i,u){(this||r).conv=i;u=u||{};u.encoding=(this||r).encoding="utf8";o.call(this||r,u)}IconvLiteDecoderStream.prototype=Object.create(o.prototype,{constructor:{value:IconvLiteDecoderStream}});IconvLiteDecoderStream.prototype._transform=function(i,o,u){if(!p.isBuffer(i)&&!(i instanceof Uint8Array))return u(new Error("Iconv decoding stream needs buffers as its input."));try{var g=(this||r).conv.write(i);g&&g.length&&this.push(g,(this||r).encoding);u()}catch(r){u(r)}};IconvLiteDecoderStream.prototype._flush=function(i){try{var o=(this||r).conv.end();o&&o.length&&this.push(o,(this||r).encoding);i()}catch(r){i(r)}};IconvLiteDecoderStream.prototype.collect=function(i){var o="";this.on("error",i);this.on("data",(function(r){o+=r}));this.on("end",(function(){i(null,o)}));return this||r};return{IconvLiteEncoderStream:IconvLiteEncoderStream,IconvLiteDecoderStream:IconvLiteDecoderStream}}},645:function(r,i){i.read=function(r,i,o,u,p){var g,y;var w=8*p-u-1;var _=(1<>1;var k=-7;var P=o?p-1:0;var I=o?-1:1;var O=r[i+P];P+=I;g=O&(1<<-k)-1;O>>=-k;k+=w;for(;k>0;g=256*g+r[i+P],P+=I,k-=8);y=g&(1<<-k)-1;g>>=-k;k+=u;for(;k>0;y=256*y+r[i+P],P+=I,k-=8);if(0===g)g=1-x;else{if(g===_)return y?NaN:Infinity*(O?-1:1);y+=Math.pow(2,u);g-=x}return(O?-1:1)*y*Math.pow(2,g-u)};i.write=function(r,i,o,u,p,g){var y,w,_;var x=8*g-p-1;var k=(1<>1;var I=23===p?Math.pow(2,-24)-Math.pow(2,-77):0;var O=u?0:g-1;var B=u?1:-1;var R=i<0||0===i&&1/i<0?1:0;i=Math.abs(i);if(isNaN(i)||Infinity===i){w=isNaN(i)?1:0;y=k}else{y=Math.floor(Math.log(i)/Math.LN2);if(i*(_=Math.pow(2,-y))<1){y--;_*=2}i+=y+P>=1?I/_:I*Math.pow(2,1-P);if(i*_>=2){y++;_/=2}if(y+P>=k){w=0;y=k}else if(y+P>=1){w=(i*_-1)*Math.pow(2,p);y+=P}else{w=i*Math.pow(2,P-1)*Math.pow(2,p);y=0}}for(;p>=8;r[o+O]=255&w,O+=B,w/=256,p-=8);y=y<0;r[o+O]=255&y,O+=B,y/=256,x-=8);r[o+O-B]|=128*R}},5717:function(r){"function"===typeof Object.create?r.exports=function inherits(r,i){if(i){r.super_=i;r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:false,writable:true,configurable:true}})}}:r.exports=function inherits(r,i){if(i){r.super_=i;var TempCtor=function(){};TempCtor.prototype=i.prototype;r.prototype=new TempCtor;r.prototype.constructor=r}}},2584:function(r,i,o){var u=o(6410)();var p=o(1924);var g=p("Object.prototype.toString");var y=function isArguments(r){return!(u&&r&&"object"===typeof r&&Symbol.toStringTag in r)&&"[object Arguments]"===g(r)};var w=function isArguments(r){return!!y(r)||null!==r&&"object"===typeof r&&"number"===typeof r.length&&r.length>=0&&"[object Array]"!==g(r)&&"[object Function]"===g(r.callee)};var _=function(){return y(arguments)}();y.isLegacyArguments=w;r.exports=_?y:w},8923:function(r,i,o){var u=Date.prototype.getDay;var p=function tryDateGetDayCall(r){try{u.call(r);return true}catch(r){return false}};var g=Object.prototype.toString;var y="[object Date]";var w=o(6410)();r.exports=function isDateObject(r){return"object"===typeof r&&null!==r&&(w?p(r):g.call(r)===y)}},8662:function(r,i,o){var u=Object.prototype.toString;var p=Function.prototype.toString;var g=/^\s*(?:function)?\*/;var y=o(6410)();var w=Object.getPrototypeOf;var getGeneratorFunc=function(){if(!y)return false;try{return Function("return function*() {}")()}catch(r){}};var _;r.exports=function isGeneratorFunction(r){if("function"!==typeof r)return false;if(g.test(p.call(r)))return true;if(!y){var i=u.call(r);return"[object GeneratorFunction]"===i}if(!w)return false;if("undefined"===typeof _){var o=getGeneratorFunc();_=!!o&&w(o)}return w(r)===_}},8611:function(r){r.exports=function isNaN(r){return r!==r}},360:function(r,i,o){var u=o(5559);var p=o(4289);var g=o(8611);var y=o(9415);var w=o(6743);var _=u(y(),Number);p(_,{getPolyfill:y,implementation:g,shim:w});r.exports=_},9415:function(r,i,o){var u=o(8611);r.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:u}},6743:function(r,i,o){var u=o(4289);var p=o(9415);r.exports=function shimNumberIsNaN(){var r=p();u(Number,{isNaN:r},{isNaN:function testIsNaN(){return Number.isNaN!==r}});return r}},8420:function(r,i,o){var u=o(1924);var p=o(6410)();var g;var y;var w;var _;if(p){g=u("Object.prototype.hasOwnProperty");y=u("RegExp.prototype.exec");w={};var throwRegexMarker=function(){throw w};_={toString:throwRegexMarker,valueOf:throwRegexMarker};"symbol"===typeof Symbol.toPrimitive&&(_[Symbol.toPrimitive]=throwRegexMarker)}var x=u("Object.prototype.toString");var k=Object.getOwnPropertyDescriptor;var P="[object RegExp]";r.exports=p?function isRegex(r){if(!r||"object"!==typeof r)return false;var i=k(r,"lastIndex");var o=i&&g(i,"value");if(!o)return false;try{y(r,_)}catch(r){return r===w}}:function isRegex(r){return!(!r||"object"!==typeof r&&"function"!==typeof r)&&x(r)===P}},5692:function(r,i,o){var u=o(9804);var p=o(3083);var g=o(1924);var y=g("Object.prototype.toString");var w=o(6410)();var _="undefined"===typeof globalThis?o.g:globalThis;var x=p();var k=g("Array.prototype.indexOf",true)||function indexOf(r,i){for(var o=0;o-1}return!!O&&R(r)}},4244:function(r){var numberIsNaN=function(r){return r!==r};r.exports=function is(r,i){return 0===r&&0===i?1/r===1/i:r===i||!(!numberIsNaN(r)||!numberIsNaN(i))}},609:function(r,i,o){var u=o(4289);var p=o(5559);var g=o(4244);var y=o(5624);var w=o(2281);var _=p(y(),Object);u(_,{getPolyfill:y,implementation:g,shim:w});r.exports=_},5624:function(r,i,o){var u=o(4244);r.exports=function getPolyfill(){return"function"===typeof Object.is?Object.is:u}},2281:function(r,i,o){var u=o(5624);var p=o(4289);r.exports=function shimObjectIs(){var r=u();p(Object,{is:r},{is:function testObjectIs(){return Object.is!==r}});return r}},8987:function(r,i,o){var u;if(!Object.keys){var p=Object.prototype.hasOwnProperty;var g=Object.prototype.toString;var y=o(1414);var w=Object.prototype.propertyIsEnumerable;var _=!w.call({toString:null},"toString");var x=w.call((function(){}),"prototype");var k=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var equalsConstructorPrototype=function(r){var i=r.constructor;return i&&i.prototype===r};var P={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true};var I=function(){if("undefined"===typeof window)return false;for(var r in window)try{if(!P["$"+r]&&p.call(window,r)&&null!==window[r]&&"object"===typeof window[r])try{equalsConstructorPrototype(window[r])}catch(r){return true}}catch(r){return true}return false}();var equalsConstructorPrototypeIfNotBuggy=function(r){if("undefined"===typeof window||!I)return equalsConstructorPrototype(r);try{return equalsConstructorPrototype(r)}catch(r){return false}};u=function keys(r){var i=null!==r&&"object"===typeof r;var o="[object Function]"===g.call(r);var u=y(r);var w=i&&"[object String]"===g.call(r);var P=[];if(!i&&!o&&!u)throw new TypeError("Object.keys called on a non-object");var I=x&&o;if(w&&r.length>0&&!p.call(r,0))for(var O=0;O0)for(var B=0;B=0&&"[object Function]"===i.call(r.callee));return u}},4236:function(r,i){var o="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function _has(r,i){return Object.prototype.hasOwnProperty.call(r,i)}i.assign=function(r){var i=Array.prototype.slice.call(arguments,1);while(i.length){var o=i.shift();if(o){if("object"!==typeof o)throw new TypeError(o+"must be non-object");for(var u in o)_has(o,u)&&(r[u]=o[u])}}return r};i.shrinkBuf=function(r,i){if(r.length===i)return r;if(r.subarray)return r.subarray(0,i);r.length=i;return r};var u={arraySet:function(r,i,o,u,p){if(i.subarray&&r.subarray)r.set(i.subarray(o,o+u),p);else for(var g=0;g>>16&65535|0,y=0;while(0!==o){y=o>2e3?2e3:o;o-=y;do{p=p+i[u++]|0;g=g+p|0}while(--y);p%=65521;g%=65521}return p|g<<16|0}r.exports=adler32},1619:function(r){r.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}},2869:function(r){function makeTable(){var r,i=[];for(var o=0;o<256;o++){r=o;for(var u=0;u<8;u++)r=1&r?3988292384^r>>>1:r>>>1;i[o]=r}return i}var i=makeTable();function crc32(r,o,u,p){var g=i,y=p+u;r^=-1;for(var w=p;w>>8^g[255&(r^o[w])];return-1^r}r.exports=crc32},405:function(i,o,u){var p=u(4236);var g=u(342);var y=u(6069);var w=u(2869);var _=u(8898);var x=0;var k=1;var P=3;var I=4;var O=5;var B=0;var R=1;var D=-2;var N=-3;var W=-5;var U=-1;var j=1;var G=2;var X=3;var K=4;var Y=0;var J=2;var $=8;var ee=9;var te=15;var re=8;var ne=29;var ae=256;var ie=ae+1+ne;var oe=30;var se=19;var le=2*ie+1;var ue=15;var ce=3;var fe=258;var he=fe+ce+1;var de=32;var ve=42;var pe=69;var ge=73;var ye=91;var me=103;var be=113;var we=666;var _e=1;var Se=2;var xe=3;var Ce=4;var ke=3;function err(r,i){r.msg=_[i];return i}function rank(r){return(r<<1)-(r>4?9:0)}function zero(r){var i=r.length;while(--i>=0)r[i]=0}function flush_pending(r){var i=r.state;var o=i.pending;o>r.avail_out&&(o=r.avail_out);if(0!==o){p.arraySet(r.output,i.pending_buf,i.pending_out,o,r.next_out);r.next_out+=o;i.pending_out+=o;r.total_out+=o;r.avail_out-=o;i.pending-=o;0===i.pending&&(i.pending_out=0)}}function flush_block_only(r,i){g._tr_flush_block(r,r.block_start>=0?r.block_start:-1,r.strstart-r.block_start,i);r.block_start=r.strstart;flush_pending(r.strm)}function put_byte(r,i){r.pending_buf[r.pending++]=i}function putShortMSB(r,i){r.pending_buf[r.pending++]=i>>>8&255;r.pending_buf[r.pending++]=255&i}function read_buf(r,i,o,u){var g=r.avail_in;g>u&&(g=u);if(0===g)return 0;r.avail_in-=g;p.arraySet(i,r.input,r.next_in,g,o);1===r.state.wrap?r.adler=y(r.adler,i,g,o):2===r.state.wrap&&(r.adler=w(r.adler,i,g,o));r.next_in+=g;r.total_in+=g;return g}function longest_match(r,i){var o=r.max_chain_length;var u=r.strstart;var p;var g;var y=r.prev_length;var w=r.nice_match;var _=r.strstart>r.w_size-he?r.strstart-(r.w_size-he):0;var x=r.window;var k=r.w_mask;var P=r.prev;var I=r.strstart+fe;var O=x[u+y-1];var B=x[u+y];r.prev_length>=r.good_match&&(o>>=2);w>r.lookahead&&(w=r.lookahead);do{p=i;if(x[p+y]===B&&x[p+y-1]===O&&x[p]===x[u]&&x[++p]===x[u+1]){u+=2;p++;do{}while(x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&x[++u]===x[++p]&&uy){r.match_start=i;y=g;if(g>=w)break;O=x[u+y-1];B=x[u+y]}}}while((i=P[i&k])>_&&0!==--o);return y<=r.lookahead?y:r.lookahead}function fill_window(r){var i=r.w_size;var o,u,g,y,w;do{y=r.window_size-r.lookahead-r.strstart;if(r.strstart>=i+(i-he)){p.arraySet(r.window,r.window,i,i,0);r.match_start-=i;r.strstart-=i;r.block_start-=i;u=r.hash_size;o=u;do{g=r.head[--o];r.head[o]=g>=i?g-i:0}while(--u);u=i;o=u;do{g=r.prev[--o];r.prev[o]=g>=i?g-i:0}while(--u);y+=i}if(0===r.strm.avail_in)break;u=read_buf(r.strm,r.window,r.strstart+r.lookahead,y);r.lookahead+=u;if(r.lookahead+r.insert>=ce){w=r.strstart-r.insert;r.ins_h=r.window[w];r.ins_h=(r.ins_h<r.pending_buf_size-5&&(o=r.pending_buf_size-5);for(;;){if(r.lookahead<=1){fill_window(r);if(0===r.lookahead&&i===x)return _e;if(0===r.lookahead)break}r.strstart+=r.lookahead;r.lookahead=0;var u=r.block_start+o;if(0===r.strstart||r.strstart>=u){r.lookahead=r.strstart-u;r.strstart=u;flush_block_only(r,false);if(0===r.strm.avail_out)return _e}if(r.strstart-r.block_start>=r.w_size-he){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}}r.insert=0;if(i===I){flush_block_only(r,true);return 0===r.strm.avail_out?xe:Ce}if(r.strstart>r.block_start){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}return _e}function deflate_fast(r,i){var o;var u;for(;;){if(r.lookahead=ce){r.ins_h=(r.ins_h<=ce){u=g._tr_tally(r,r.strstart-r.match_start,r.match_length-ce);r.lookahead-=r.match_length;if(r.match_length<=r.max_lazy_match&&r.lookahead>=ce){r.match_length--;do{r.strstart++;r.ins_h=(r.ins_h<=ce){r.ins_h=(r.ins_h<4096)&&(r.match_length=ce-1)}if(r.prev_length>=ce&&r.match_length<=r.prev_length){p=r.strstart+r.lookahead-ce;u=g._tr_tally(r,r.strstart-1-r.prev_match,r.prev_length-ce);r.lookahead-=r.prev_length-1;r.prev_length-=2;do{if(++r.strstart<=p){r.ins_h=(r.ins_h<=ce&&r.strstart>0){p=r.strstart-1;u=w[p];if(u===w[++p]&&u===w[++p]&&u===w[++p]){y=r.strstart+fe;do{}while(u===w[++p]&&u===w[++p]&&u===w[++p]&&u===w[++p]&&u===w[++p]&&u===w[++p]&&u===w[++p]&&u===w[++p]&&pr.lookahead&&(r.match_length=r.lookahead)}}if(r.match_length>=ce){o=g._tr_tally(r,1,r.match_length-ce);r.lookahead-=r.match_length;r.strstart+=r.match_length;r.match_length=0}else{o=g._tr_tally(r,0,r.window[r.strstart]);r.lookahead--;r.strstart++}if(o){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}}r.insert=0;if(i===I){flush_block_only(r,true);return 0===r.strm.avail_out?xe:Ce}if(r.last_lit){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}return Se}function deflate_huff(r,i){var o;for(;;){if(0===r.lookahead){fill_window(r);if(0===r.lookahead){if(i===x)return _e;break}}r.match_length=0;o=g._tr_tally(r,0,r.window[r.strstart]);r.lookahead--;r.strstart++;if(o){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}}r.insert=0;if(i===I){flush_block_only(r,true);return 0===r.strm.avail_out?xe:Ce}if(r.last_lit){flush_block_only(r,false);if(0===r.strm.avail_out)return _e}return Se}function Config(i,o,u,p,g){(this||r).good_length=i;(this||r).max_lazy=o;(this||r).nice_length=u;(this||r).max_chain=p;(this||r).func=g}var Pe;Pe=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];function lm_init(r){r.window_size=2*r.w_size;zero(r.head);r.max_lazy_match=Pe[r.level].max_lazy;r.good_match=Pe[r.level].good_length;r.nice_match=Pe[r.level].nice_length;r.max_chain_length=Pe[r.level].max_chain;r.strstart=0;r.block_start=0;r.lookahead=0;r.insert=0;r.match_length=r.prev_length=ce-1;r.match_available=0;r.ins_h=0}function DeflateState(){(this||r).strm=null;(this||r).status=0;(this||r).pending_buf=null;(this||r).pending_buf_size=0;(this||r).pending_out=0;(this||r).pending=0;(this||r).wrap=0;(this||r).gzhead=null;(this||r).gzindex=0;(this||r).method=$;(this||r).last_flush=-1;(this||r).w_size=0;(this||r).w_bits=0;(this||r).w_mask=0;(this||r).window=null;(this||r).window_size=0;(this||r).prev=null;(this||r).head=null;(this||r).ins_h=0;(this||r).hash_size=0;(this||r).hash_bits=0;(this||r).hash_mask=0;(this||r).hash_shift=0;(this||r).block_start=0;(this||r).match_length=0;(this||r).prev_match=0;(this||r).match_available=0;(this||r).strstart=0;(this||r).match_start=0;(this||r).lookahead=0;(this||r).prev_length=0;(this||r).max_chain_length=0;(this||r).max_lazy_match=0;(this||r).level=0;(this||r).strategy=0;(this||r).good_match=0;(this||r).nice_match=0;(this||r).dyn_ltree=new p.Buf16(2*le);(this||r).dyn_dtree=new p.Buf16(2*(2*oe+1));(this||r).bl_tree=new p.Buf16(2*(2*se+1));zero((this||r).dyn_ltree);zero((this||r).dyn_dtree);zero((this||r).bl_tree);(this||r).l_desc=null;(this||r).d_desc=null;(this||r).bl_desc=null;(this||r).bl_count=new p.Buf16(ue+1);(this||r).heap=new p.Buf16(2*ie+1);zero((this||r).heap);(this||r).heap_len=0;(this||r).heap_max=0;(this||r).depth=new p.Buf16(2*ie+1);zero((this||r).depth);(this||r).l_buf=0;(this||r).lit_bufsize=0;(this||r).last_lit=0;(this||r).d_buf=0;(this||r).opt_len=0;(this||r).static_len=0;(this||r).matches=0;(this||r).insert=0;(this||r).bi_buf=0;(this||r).bi_valid=0}function deflateResetKeep(r){var i;if(!r||!r.state)return err(r,D);r.total_in=r.total_out=0;r.data_type=J;i=r.state;i.pending=0;i.pending_out=0;i.wrap<0&&(i.wrap=-i.wrap);i.status=i.wrap?ve:be;r.adler=2===i.wrap?0:1;i.last_flush=x;g._tr_init(i);return B}function deflateReset(r){var i=deflateResetKeep(r);i===B&&lm_init(r.state);return i}function deflateSetHeader(r,i){if(!r||!r.state)return D;if(2!==r.state.wrap)return D;r.state.gzhead=i;return B}function deflateInit2(r,i,o,u,g,y){if(!r)return D;var w=1;i===U&&(i=6);if(u<0){w=0;u=-u}else if(u>15){w=2;u-=16}if(g<1||g>ee||o!==$||u<8||u>15||i<0||i>9||y<0||y>K)return err(r,D);8===u&&(u=9);var _=new DeflateState;r.state=_;_.strm=r;_.wrap=w;_.gzhead=null;_.w_bits=u;_.w_size=1<<_.w_bits;_.w_mask=_.w_size-1;_.hash_bits=g+7;_.hash_size=1<<_.hash_bits;_.hash_mask=_.hash_size-1;_.hash_shift=~~((_.hash_bits+ce-1)/ce);_.window=new p.Buf8(2*_.w_size);_.head=new p.Buf16(_.hash_size);_.prev=new p.Buf16(_.w_size);_.lit_bufsize=1<O||i<0)return r?err(r,D):D;u=r.state;if(!r.output||!r.input&&0!==r.avail_in||u.status===we&&i!==I)return err(r,0===r.avail_out?W:D);u.strm=r;o=u.last_flush;u.last_flush=i;if(u.status===ve)if(2===u.wrap){r.adler=0;put_byte(u,31);put_byte(u,139);put_byte(u,8);if(u.gzhead){put_byte(u,(u.gzhead.text?1:0)+(u.gzhead.hcrc?2:0)+(u.gzhead.extra?4:0)+(u.gzhead.name?8:0)+(u.gzhead.comment?16:0));put_byte(u,255&u.gzhead.time);put_byte(u,u.gzhead.time>>8&255);put_byte(u,u.gzhead.time>>16&255);put_byte(u,u.gzhead.time>>24&255);put_byte(u,9===u.level?2:u.strategy>=G||u.level<2?4:0);put_byte(u,255&u.gzhead.os);if(u.gzhead.extra&&u.gzhead.extra.length){put_byte(u,255&u.gzhead.extra.length);put_byte(u,u.gzhead.extra.length>>8&255)}u.gzhead.hcrc&&(r.adler=w(r.adler,u.pending_buf,u.pending,0));u.gzindex=0;u.status=pe}else{put_byte(u,0);put_byte(u,0);put_byte(u,0);put_byte(u,0);put_byte(u,0);put_byte(u,9===u.level?2:u.strategy>=G||u.level<2?4:0);put_byte(u,ke);u.status=be}}else{var _=$+(u.w_bits-8<<4)<<8;var N=-1;N=u.strategy>=G||u.level<2?0:u.level<6?1:6===u.level?2:3;_|=N<<6;0!==u.strstart&&(_|=de);_+=31-_%31;u.status=be;putShortMSB(u,_);if(0!==u.strstart){putShortMSB(u,r.adler>>>16);putShortMSB(u,65535&r.adler)}r.adler=1}if(u.status===pe)if(u.gzhead.extra){p=u.pending;while(u.gzindex<(65535&u.gzhead.extra.length)){if(u.pending===u.pending_buf_size){u.gzhead.hcrc&&u.pending>p&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));flush_pending(r);p=u.pending;if(u.pending===u.pending_buf_size)break}put_byte(u,255&u.gzhead.extra[u.gzindex]);u.gzindex++}u.gzhead.hcrc&&u.pending>p&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));if(u.gzindex===u.gzhead.extra.length){u.gzindex=0;u.status=ge}}else u.status=ge;if(u.status===ge)if(u.gzhead.name){p=u.pending;do{if(u.pending===u.pending_buf_size){u.gzhead.hcrc&&u.pending>p&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));flush_pending(r);p=u.pending;if(u.pending===u.pending_buf_size){y=1;break}}y=u.gzindexp&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));if(0===y){u.gzindex=0;u.status=ye}}else u.status=ye;if(u.status===ye)if(u.gzhead.comment){p=u.pending;do{if(u.pending===u.pending_buf_size){u.gzhead.hcrc&&u.pending>p&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));flush_pending(r);p=u.pending;if(u.pending===u.pending_buf_size){y=1;break}}y=u.gzindexp&&(r.adler=w(r.adler,u.pending_buf,u.pending-p,p));0===y&&(u.status=me)}else u.status=me;if(u.status===me)if(u.gzhead.hcrc){u.pending+2>u.pending_buf_size&&flush_pending(r);if(u.pending+2<=u.pending_buf_size){put_byte(u,255&r.adler);put_byte(u,r.adler>>8&255);r.adler=0;u.status=be}}else u.status=be;if(0!==u.pending){flush_pending(r);if(0===r.avail_out){u.last_flush=-1;return B}}else if(0===r.avail_in&&rank(i)<=rank(o)&&i!==I)return err(r,W);if(u.status===we&&0!==r.avail_in)return err(r,W);if(0!==r.avail_in||0!==u.lookahead||i!==x&&u.status!==we){var U=u.strategy===G?deflate_huff(u,i):u.strategy===X?deflate_rle(u,i):Pe[u.level].func(u,i);U!==xe&&U!==Ce||(u.status=we);if(U===_e||U===xe){0===r.avail_out&&(u.last_flush=-1);return B}if(U===Se){if(i===k)g._tr_align(u);else if(i!==O){g._tr_stored_block(u,0,0,false);if(i===P){zero(u.head);if(0===u.lookahead){u.strstart=0;u.block_start=0;u.insert=0}}}flush_pending(r);if(0===r.avail_out){u.last_flush=-1;return B}}}if(i!==I)return B;if(u.wrap<=0)return R;if(2===u.wrap){put_byte(u,255&r.adler);put_byte(u,r.adler>>8&255);put_byte(u,r.adler>>16&255);put_byte(u,r.adler>>24&255);put_byte(u,255&r.total_in);put_byte(u,r.total_in>>8&255);put_byte(u,r.total_in>>16&255);put_byte(u,r.total_in>>24&255)}else{putShortMSB(u,r.adler>>>16);putShortMSB(u,65535&r.adler)}flush_pending(r);u.wrap>0&&(u.wrap=-u.wrap);return 0!==u.pending?B:R}function deflateEnd(r){var i;if(!r||!r.state)return D;i=r.state.status;if(i!==ve&&i!==pe&&i!==ge&&i!==ye&&i!==me&&i!==be&&i!==we)return err(r,D);r.state=null;return i===be?err(r,N):B}function deflateSetDictionary(r,i){var o=i.length;var u;var g,w;var _;var x;var k;var P;var I;if(!r||!r.state)return D;u=r.state;_=u.wrap;if(2===_||1===_&&u.status!==ve||u.lookahead)return D;1===_&&(r.adler=y(r.adler,i,o,0));u.wrap=0;if(o>=u.w_size){if(0===_){zero(u.head);u.strstart=0;u.block_start=0;u.insert=0}I=new p.Buf8(u.w_size);p.arraySet(I,i,o-u.w_size,u.w_size,0);i=I;o=u.w_size}x=r.avail_in;k=r.next_in;P=r.input;r.avail_in=o;r.next_in=0;r.input=i;fill_window(u);while(u.lookahead>=ce){g=u.strstart;w=u.lookahead-(ce-1);do{u.ins_h=(u.ins_h<>>24;R>>>=X;D-=X;X=G>>>16&255;if(0===X)te[w++]=65535&G;else{if(!(16&X)){if(0===(64&X)){G=N[(65535&G)+(R&(1<>>=X;D-=X}if(D<15){R+=ee[g++]<>>24;R>>>=X;D-=X;X=G>>>16&255;if(!(16&X)){if(0===(64&X)){G=W[(65535&G)+(R&(1<k){r.msg="invalid distance too far back";p.mode=i;break e}R>>>=X;D-=X;X=w-_;if(Y>X){X=Y-X;if(X>I&&p.sane){r.msg="invalid distance too far back";p.mode=i;break e}J=0;$=B;if(0===O){J+=P-X;if(X2){te[w++]=$[J++];te[w++]=$[J++];te[w++]=$[J++];K-=3}if(K){te[w++]=$[J++];K>1&&(te[w++]=$[J++])}}else{J=w-Y;do{te[w++]=te[J++];te[w++]=te[J++];te[w++]=te[J++];K-=3}while(K>2);if(K){te[w++]=te[J++];K>1&&(te[w++]=te[J++])}}break}}break}}while(g>3;g-=K;D-=K<<3;R&=(1<>>24&255)+(r>>>8&65280)+((65280&r)<<8)+((255&r)<<24)}function InflateState(){(this||r).mode=0;(this||r).last=false;(this||r).wrap=0;(this||r).havedict=false;(this||r).flags=0;(this||r).dmax=0;(this||r).check=0;(this||r).total=0;(this||r).head=null;(this||r).wbits=0;(this||r).wsize=0;(this||r).whave=0;(this||r).wnext=0;(this||r).window=null;(this||r).hold=0;(this||r).bits=0;(this||r).length=0;(this||r).offset=0;(this||r).extra=0;(this||r).lencode=null;(this||r).distcode=null;(this||r).lenbits=0;(this||r).distbits=0;(this||r).ncode=0;(this||r).nlen=0;(this||r).ndist=0;(this||r).have=0;(this||r).next=null;(this||r).lens=new p.Buf16(320);(this||r).work=new p.Buf16(288);(this||r).lendyn=null;(this||r).distdyn=null;(this||r).sane=0;(this||r).back=0;(this||r).was=0}function inflateResetKeep(r){var i;if(!r||!r.state)return W;i=r.state;r.total_in=r.total_out=i.total=0;r.msg="";i.wrap&&(r.adler=1&i.wrap);i.mode=K;i.last=0;i.havedict=0;i.dmax=32768;i.head=null;i.hold=0;i.bits=0;i.lencode=i.lendyn=new p.Buf32(Ee);i.distcode=i.distdyn=new p.Buf32(Te);i.sane=1;i.back=-1;return R}function inflateReset(r){var i;if(!r||!r.state)return W;i=r.state;i.wsize=0;i.whave=0;i.wnext=0;return inflateResetKeep(r)}function inflateReset2(r,i){var o;var u;if(!r||!r.state)return W;u=r.state;if(i<0){o=0;i=-i}else{o=1+(i>>4);i<48&&(i&=15)}if(i&&(i<8||i>15))return W;null!==u.window&&u.wbits!==i&&(u.window=null);u.wrap=o;u.wbits=i;return inflateReset(r)}function inflateInit2(r,i){var o;var u;if(!r)return W;u=new InflateState;r.state=u;u.window=null;o=inflateReset2(r,i);o!==R&&(r.state=null);return o}function inflateInit(r){return inflateInit2(r,Oe)}var Be=true;var Le,Fe;function fixedtables(r){if(Be){var i;Le=new p.Buf32(512);Fe=new p.Buf32(32);i=0;while(i<144)r.lens[i++]=8;while(i<256)r.lens[i++]=9;while(i<280)r.lens[i++]=7;while(i<288)r.lens[i++]=8;_(k,r.lens,0,288,Le,0,r.work,{bits:9});i=0;while(i<32)r.lens[i++]=5;_(P,r.lens,0,32,Fe,0,r.work,{bits:5});Be=false}r.lencode=Le;r.lenbits=9;r.distcode=Fe;r.distbits=5}function updatewindow(r,i,o,u){var g;var y=r.state;if(null===y.window){y.wsize=1<=y.wsize){p.arraySet(y.window,i,o-y.wsize,y.wsize,0);y.wnext=0;y.whave=y.wsize}else{g=y.wsize-y.wnext;g>u&&(g=u);p.arraySet(y.window,i,o-u,g,y.wnext);u-=g;if(u){p.arraySet(y.window,i,o-u,u,0);y.wnext=u;y.whave=y.wsize}else{y.wnext+=g;y.wnext===y.wsize&&(y.wnext=0);y.whave>>8&255;o.check=y(o.check,Ke,2,0);Le=0;Fe=0;o.mode=Y;break}o.flags=0;o.head&&(o.head.done=false);if(!(1&o.wrap)||(((255&Le)<<8)+(Le>>8))%31){r.msg="incorrect header check";o.mode=ke;break}if((15&Le)!==X){r.msg="unknown compression method";o.mode=ke;break}Le>>>=4;Fe-=4;Xe=8+(15&Le);if(0===o.wbits)o.wbits=Xe;else if(Xe>o.wbits){r.msg="invalid window size";o.mode=ke;break}o.dmax=1<>8&1);if(512&o.flags){Ke[0]=255&Le;Ke[1]=Le>>>8&255;o.check=y(o.check,Ke,2,0)}Le=0;Fe=0;o.mode=J;case J:while(Fe<32){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>8&255;Ke[2]=Le>>>16&255;Ke[3]=Le>>>24&255;o.check=y(o.check,Ke,4,0)}Le=0;Fe=0;o.mode=$;case $:while(Fe<16){if(0===Oe)break e;Oe--;Le+=u[Te++]<>8}if(512&o.flags){Ke[0]=255&Le;Ke[1]=Le>>>8&255;o.check=y(o.check,Ke,2,0)}Le=0;Fe=0;o.mode=ee;case ee:if(1024&o.flags){while(Fe<16){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>8&255;o.check=y(o.check,Ke,2,0)}Le=0;Fe=0}else o.head&&(o.head.extra=null);o.mode=te;case te:if(1024&o.flags){Me=o.length;Me>Oe&&(Me=Oe);if(Me){if(o.head){Xe=o.head.extra_len-o.length;o.head.extra||(o.head.extra=new Array(o.head.extra_len));p.arraySet(o.head.extra,u,Te,Me,Xe)}512&o.flags&&(o.check=y(o.check,u,Me,Te));Oe-=Me;Te+=Me;o.length-=Me}if(o.length)break e}o.length=0;o.mode=re;case re:if(2048&o.flags){if(0===Oe)break e;Me=0;do{Xe=u[Te+Me++];o.head&&Xe&&o.length<65536&&(o.head.name+=String.fromCharCode(Xe))}while(Xe&&Me>9&1;o.head.done=true}r.adler=o.check=0;o.mode=se;break;case ie:while(Fe<32){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=7&Fe;Fe-=7&Fe;o.mode=Se;break}while(Fe<3){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=1;Fe-=1;switch(3&Le){case 0:o.mode=ue;break;case 1:fixedtables(o);o.mode=pe;if(i===B){Le>>>=2;Fe-=2;break e}break;case 2:o.mode=he;break;case 3:r.msg="invalid block type";o.mode=ke}Le>>>=2;Fe-=2;break;case ue:Le>>>=7&Fe;Fe-=7&Fe;while(Fe<32){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>16^65535)){r.msg="invalid stored block lengths";o.mode=ke;break}o.length=65535&Le;Le=0;Fe=0;o.mode=ce;if(i===B)break e;case ce:o.mode=fe;case fe:Me=o.length;if(Me){Me>Oe&&(Me=Oe);Me>Be&&(Me=Be);if(0===Me)break e;p.arraySet(Ee,u,Te,Me,Ie);Oe-=Me;Te+=Me;Be-=Me;Ie+=Me;o.length-=Me;break}o.mode=se;break;case he:while(Fe<14){if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=5;Fe-=5;o.ndist=1+(31&Le);Le>>>=5;Fe-=5;o.ncode=4+(15&Le);Le>>>=4;Fe-=4;if(o.nlen>286||o.ndist>30){r.msg="too many length or distance symbols";o.mode=ke;break}o.have=0;o.mode=de;case de:while(o.have>>=3;Fe-=3}while(o.have<19)o.lens[Qe[o.have++]]=0;o.lencode=o.lendyn;o.lenbits=7;Ye={bits:o.lenbits};Ze=_(x,o.lens,0,19,o.lencode,0,o.work,Ye);o.lenbits=Ye.bits;if(Ze){r.msg="invalid code lengths set";o.mode=ke;break}o.have=0;o.mode=ve;case ve:while(o.have>>24;je=Ue>>>16&255;Ge=65535&Ue;if(ze<=Fe)break;if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=ze;Fe-=ze;o.lens[o.have++]=Ge}else{if(16===Ge){Je=ze+2;while(Fe>>=ze;Fe-=ze;if(0===o.have){r.msg="invalid bit length repeat";o.mode=ke;break}Xe=o.lens[o.have-1];Me=3+(3&Le);Le>>>=2;Fe-=2}else if(17===Ge){Je=ze+3;while(Fe>>=ze;Fe-=ze;Xe=0;Me=3+(7&Le);Le>>>=3;Fe-=3}else{Je=ze+7;while(Fe>>=ze;Fe-=ze;Xe=0;Me=11+(127&Le);Le>>>=7;Fe-=7}if(o.have+Me>o.nlen+o.ndist){r.msg="invalid bit length repeat";o.mode=ke;break}while(Me--)o.lens[o.have++]=Xe}}if(o.mode===ke)break;if(0===o.lens[256]){r.msg="invalid code -- missing end-of-block";o.mode=ke;break}o.lenbits=9;Ye={bits:o.lenbits};Ze=_(k,o.lens,0,o.nlen,o.lencode,0,o.work,Ye);o.lenbits=Ye.bits;if(Ze){r.msg="invalid literal/lengths set";o.mode=ke;break}o.distbits=6;o.distcode=o.distdyn;Ye={bits:o.distbits};Ze=_(P,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,Ye);o.distbits=Ye.bits;if(Ze){r.msg="invalid distances set";o.mode=ke;break}o.mode=pe;if(i===B)break e;case pe:o.mode=ge;case ge:if(Oe>=6&&Be>=258){r.next_out=Ie;r.avail_out=Be;r.next_in=Te;r.avail_in=Oe;o.hold=Le;o.bits=Fe;w(r,De);Ie=r.next_out;Ee=r.output;Be=r.avail_out;Te=r.next_in;u=r.input;Oe=r.avail_in;Le=o.hold;Fe=o.bits;o.mode===se&&(o.back=-1);break}o.back=0;for(;;){Ue=o.lencode[Le&(1<>>24;je=Ue>>>16&255;Ge=65535&Ue;if(ze<=Fe)break;if(0===Oe)break e;Oe--;Le+=u[Te++]<>Ve)];ze=Ue>>>24;je=Ue>>>16&255;Ge=65535&Ue;if(Ve+ze<=Fe)break;if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=Ve;Fe-=Ve;o.back+=Ve}Le>>>=ze;Fe-=ze;o.back+=ze;o.length=Ge;if(0===je){o.mode=_e;break}if(32&je){o.back=-1;o.mode=se;break}if(64&je){r.msg="invalid literal/length code";o.mode=ke;break}o.extra=15&je;o.mode=ye;case ye:if(o.extra){Je=o.extra;while(Fe>>=o.extra;Fe-=o.extra;o.back+=o.extra}o.was=o.length;o.mode=me;case me:for(;;){Ue=o.distcode[Le&(1<>>24;je=Ue>>>16&255;Ge=65535&Ue;if(ze<=Fe)break;if(0===Oe)break e;Oe--;Le+=u[Te++]<>Ve)];ze=Ue>>>24;je=Ue>>>16&255;Ge=65535&Ue;if(Ve+ze<=Fe)break;if(0===Oe)break e;Oe--;Le+=u[Te++]<>>=Ve;Fe-=Ve;o.back+=Ve}Le>>>=ze;Fe-=ze;o.back+=ze;if(64&je){r.msg="invalid distance code";o.mode=ke;break}o.offset=Ge;o.extra=15&je;o.mode=be;case be:if(o.extra){Je=o.extra;while(Fe>>=o.extra;Fe-=o.extra;o.back+=o.extra}if(o.offset>o.dmax){r.msg="invalid distance too far back";o.mode=ke;break}o.mode=we;case we:if(0===Be)break e;Me=De-Be;if(o.offset>Me){Me=o.offset-Me;if(Me>o.whave&&o.sane){r.msg="invalid distance too far back";o.mode=ke;break}if(Me>o.wnext){Me-=o.wnext;Ne=o.wsize-Me}else Ne=o.wnext-Me;Me>o.length&&(Me=o.length);We=o.window}else{We=Ee;Ne=Ie-o.offset;Me=o.length}Me>Be&&(Me=Be);Be-=Me;o.length-=Me;do{Ee[Ie++]=We[Ne++]}while(--Me);0===o.length&&(o.mode=ge);break;case _e:if(0===Be)break e;Ee[Ie++]=o.length;Be--;o.mode=ge;break;case Se:if(o.wrap){while(Fe<32){if(0===Oe)break e;Oe--;Le|=u[Te++]<=1;K--)if(0!==fe[K])break;Y>K&&(Y=K);if(0===K){R[D++]=20971520;R[D++]=20971520;W.bits=1;return 0}for(X=1;X0&&(r===w||1!==K))return-1;he[1]=0;for(j=1;jg||r===x&&te>y)return 1;for(;;){pe=j-$;if(N[G]ce){ge=de[ve+N[G]];ye=le[ue+N[G]]}else{ge=96;ye=0}ne=1<>$)+ae]=pe<<24|ge<<16|ye|0}while(0!==ae);ne=1<>=1;if(0!==ne){re&=ne-1;re+=ne}else re=0;G++;if(0===--fe[j]){if(j===K)break;j=i[o+N[G]]}if(j>Y&&(re&oe)!==ie){0===$&&($=Y);se+=X;J=j-$;ee=1<g||r===x&&te>y)return 1;ie=re&oe;R[ie]=Y<<24|J<<16|se-D|0}}0!==re&&(R[se+re]=j-$<<24|64<<16|0);W.bits=Y;return 0}},8898:function(r){r.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"}},342:function(i,o,u){var p=u(4236);var g=4;var y=0;var w=1;var _=2;function zero(r){var i=r.length;while(--i>=0)r[i]=0}var x=0;var k=1;var P=2;var I=3;var O=258;var B=29;var R=256;var D=R+1+B;var N=30;var W=19;var U=2*D+1;var j=15;var G=16;var X=7;var K=256;var Y=16;var J=17;var $=18;var ee=[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];var te=[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];var re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var ne=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var ae=512;var ie=new Array(2*(D+2));zero(ie);var oe=new Array(2*N);zero(oe);var se=new Array(ae);zero(se);var le=new Array(O-I+1);zero(le);var ue=new Array(B);zero(ue);var ce=new Array(N);zero(ce);function StaticTreeDesc(i,o,u,p,g){(this||r).static_tree=i;(this||r).extra_bits=o;(this||r).extra_base=u;(this||r).elems=p;(this||r).max_length=g;(this||r).has_stree=i&&i.length}var fe;var he;var de;function TreeDesc(i,o){(this||r).dyn_tree=i;(this||r).max_code=0;(this||r).stat_desc=o}function d_code(r){return r<256?se[r]:se[256+(r>>>7)]}function put_short(r,i){r.pending_buf[r.pending++]=255&i;r.pending_buf[r.pending++]=i>>>8&255}function send_bits(r,i,o){if(r.bi_valid>G-o){r.bi_buf|=i<>G-r.bi_valid;r.bi_valid+=o-G}else{r.bi_buf|=i<>>=1;o<<=1}while(--i>0);return o>>>1}function bi_flush(r){if(16===r.bi_valid){put_short(r,r.bi_buf);r.bi_buf=0;r.bi_valid=0}else if(r.bi_valid>=8){r.pending_buf[r.pending++]=255&r.bi_buf;r.bi_buf>>=8;r.bi_valid-=8}}function gen_bitlen(r,i){var o=i.dyn_tree;var u=i.max_code;var p=i.stat_desc.static_tree;var g=i.stat_desc.has_stree;var y=i.stat_desc.extra_bits;var w=i.stat_desc.extra_base;var _=i.stat_desc.max_length;var x;var k,P;var I;var O;var B;var R=0;for(I=0;I<=j;I++)r.bl_count[I]=0;o[2*r.heap[r.heap_max]+1]=0;for(x=r.heap_max+1;x_){I=_;R++}o[2*k+1]=I;if(!(k>u)){r.bl_count[I]++;O=0;k>=w&&(O=y[k-w]);B=o[2*k];r.opt_len+=B*(I+O);g&&(r.static_len+=B*(p[2*k+1]+O))}}if(0!==R){do{I=_-1;while(0===r.bl_count[I])I--;r.bl_count[I]--;r.bl_count[I+1]+=2;r.bl_count[_]--;R-=2}while(R>0);for(I=_;0!==I;I--){k=r.bl_count[I];while(0!==k){P=r.heap[--x];if(!(P>u)){if(o[2*P+1]!==I){r.opt_len+=(I-o[2*P+1])*o[2*P];o[2*P+1]=I}k--}}}}}function gen_codes(r,i,o){var u=new Array(j+1);var p=0;var g;var y;for(g=1;g<=j;g++)u[g]=p=p+o[g-1]<<1;for(y=0;y<=i;y++){var w=r[2*y+1];0!==w&&(r[2*y]=bi_reverse(u[w]++,w))}}function tr_static_init(){var r;var i;var o;var u;var p;var g=new Array(j+1);o=0;for(u=0;u>=7;for(;u8?put_short(r,r.bi_buf):r.bi_valid>0&&(r.pending_buf[r.pending++]=r.bi_buf);r.bi_buf=0;r.bi_valid=0}function copy_block(r,i,o,u){bi_windup(r);if(u){put_short(r,o);put_short(r,~o)}p.arraySet(r.pending_buf,r.window,i,o,r.pending);r.pending+=o}function smaller(r,i,o,u){var p=2*i;var g=2*o;return r[p]>1;y>=1;y--)pqdownheap(r,o,y);x=g;do{y=r.heap[1];r.heap[1]=r.heap[r.heap_len--];pqdownheap(r,o,1);w=r.heap[1];r.heap[--r.heap_max]=y;r.heap[--r.heap_max]=w;o[2*x]=o[2*y]+o[2*w];r.depth[x]=(r.depth[y]>=r.depth[w]?r.depth[y]:r.depth[w])+1;o[2*y+1]=o[2*w+1]=x;r.heap[1]=x++;pqdownheap(r,o,1)}while(r.heap_len>=2);r.heap[--r.heap_max]=r.heap[1];gen_bitlen(r,i);gen_codes(o,_,r.bl_count)}function scan_tree(r,i,o){var u;var p=-1;var g;var y=i[1];var w=0;var _=7;var x=4;if(0===y){_=138;x=3}i[2*(o+1)+1]=65535;for(u=0;u<=o;u++){g=y;y=i[2*(u+1)+1];if(!(++w<_&&g===y)){if(w=3;i--)if(0!==r.bl_tree[2*ne[i]+1])break;r.opt_len+=3*(i+1)+5+5+4;return i}function send_all_trees(r,i,o,u){var p;send_bits(r,i-257,5);send_bits(r,o-1,5);send_bits(r,u-4,4);for(p=0;p>>=1)if(1&i&&0!==r.dyn_ltree[2*o])return y;if(0!==r.dyn_ltree[18]||0!==r.dyn_ltree[20]||0!==r.dyn_ltree[26])return w;for(o=32;o0){r.strm.data_type===_&&(r.strm.data_type=detect_data_type(r));build_tree(r,r.l_desc);build_tree(r,r.d_desc);w=build_bl_tree(r);p=r.opt_len+3+7>>>3;y=r.static_len+3+7>>>3;y<=p&&(p=y)}else p=y=o+5;if(o+4<=p&&-1!==i)_tr_stored_block(r,i,o,u);else if(r.strategy===g||y===p){send_bits(r,(k<<1)+(u?1:0),3);compress_block(r,ie,oe)}else{send_bits(r,(P<<1)+(u?1:0),3);send_all_trees(r,r.l_desc.max_code+1,r.d_desc.max_code+1,w+1);compress_block(r,r.dyn_ltree,r.dyn_dtree)}init_block(r);u&&bi_windup(r)}function _tr_tally(r,i,o){r.pending_buf[r.d_buf+2*r.last_lit]=i>>>8&255;r.pending_buf[r.d_buf+2*r.last_lit+1]=255&i;r.pending_buf[r.l_buf+r.last_lit]=255&o;r.last_lit++;if(0===i)r.dyn_ltree[2*o]++;else{r.matches++;i--;r.dyn_ltree[2*(le[o]+R+1)]++;r.dyn_dtree[2*d_code(i)]++}return r.last_lit===r.lit_bufsize-1}o._tr_init=_tr_init;o._tr_stored_block=_tr_stored_block;o._tr_flush_block=_tr_flush_block;o._tr_tally=_tr_tally;o._tr_align=_tr_align},2292:function(i){function ZStream(){(this||r).input=null;(this||r).next_in=0;(this||r).avail_in=0;(this||r).total_in=0;(this||r).output=null;(this||r).next_out=0;(this||r).avail_out=0;(this||r).total_out=0;(this||r).msg="";(this||r).state=null;(this||r).data_type=2;(this||r).adler=0}i.exports=ZStream},4155:function(i){var o=i.exports={};var u;var p;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{u="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(r){u=defaultSetTimout}try{p="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(r){p=defaultClearTimeout}})();function runTimeout(i){if(u===setTimeout)return setTimeout(i,0);if((u===defaultSetTimout||!u)&&setTimeout){u=setTimeout;return setTimeout(i,0)}try{return u(i,0)}catch(o){try{return u.call(null,i,0)}catch(o){return u.call(this||r,i,0)}}}function runClearTimeout(i){if(p===clearTimeout)return clearTimeout(i);if((p===defaultClearTimeout||!p)&&clearTimeout){p=clearTimeout;return clearTimeout(i)}try{return p(i)}catch(o){try{return p.call(null,i)}catch(o){return p.call(this||r,i)}}}var g=[];var y=false;var w;var _=-1;function cleanUpNextTick(){if(y&&w){y=false;w.length?g=w.concat(g):_=-1;g.length&&drainQueue()}}function drainQueue(){if(!y){var r=runTimeout(cleanUpNextTick);y=true;var i=g.length;while(i){w=g;g=[];while(++_1)for(var o=1;o=0;--g){var y=(this||r).tryEntries[g];var w=y.completion;if("root"===y.tryLoc)return handle("end");if(y.tryLoc<=(this||r).prev){var _=u.call(y,"catchLoc");var x=u.call(y,"finallyLoc");if(_&&x){if((this||r).prev=0;--p){var g=(this||r).tryEntries[p];if(g.tryLoc<=(this||r).prev&&u.call(g,"finallyLoc")&&(this||r).prev=0;--o){var u=(this||r).tryEntries[o];if(u.finallyLoc===i){this.complete(u.completion,u.afterLoc);resetTryEntry(u);return O}}},catch:function(i){for(var o=(this||r).tryEntries.length-1;o>=0;--o){var u=(this||r).tryEntries[o];if(u.tryLoc===i){var p=u.completion;if("throw"===p.type){var g=p.arg;resetTryEntry(u)}return g}}throw new Error("illegal catch attempt")},delegateYield:function(i,o,u){(this||r).delegate={iterator:values(i),resultName:o,nextLoc:u};"next"===(this||r).method&&((this||r).arg=p);return O}};return i}(i.exports);try{r.regeneratorRuntime=o}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},3697:function(i){var o=Object;var u=TypeError;i.exports=function flags(){if(null!=(this||r)&&(this||r)!==o(this||r))throw new u("RegExp.prototype.flags getter called on non-object");var i="";(this||r).hasIndices&&(i+="d");(this||r).global&&(i+="g");(this||r).ignoreCase&&(i+="i");(this||r).multiline&&(i+="m");(this||r).dotAll&&(i+="s");(this||r).unicode&&(i+="u");(this||r).sticky&&(i+="y");return i}},2847:function(r,i,o){var u=o(4289);var p=o(5559);var g=o(3697);var y=o(1721);var w=o(2753);var _=p(y());u(_,{getPolyfill:y,implementation:g,shim:w});r.exports=_},1721:function(r,i,o){var u=o(3697);var p=o(4289).supportsDescriptors;var g=Object.getOwnPropertyDescriptor;r.exports=function getPolyfill(){if(p&&"gim"===/a/gim.flags){var r=g(RegExp.prototype,"flags");if(r&&"function"===typeof r.get&&"boolean"===typeof/a/.dotAll)return r.get}return u}},2753:function(r,i,o){var u=o(4289).supportsDescriptors;var p=o(1721);var g=Object.getOwnPropertyDescriptor;var y=Object.defineProperty;var w=TypeError;var _=Object.getPrototypeOf;var x=/a/;r.exports=function shimFlags(){if(!u||!_)throw new w("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var r=p();var i=_(x);var o=g(i,"flags");o&&o.get===r||y(i,"flags",{configurable:true,enumerable:false,get:r});return r}},6099:function(i,o,u){var p=u(8823).Buffer;(function(i){i.parser=function(r,i){return new SAXParser(r,i)};i.SAXParser=SAXParser;i.SAXStream=SAXStream;i.createStream=createStream;i.MAX_BUFFER_LENGTH=65536;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];i.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(o,u){if(!((this||r)instanceof SAXParser))return new SAXParser(o,u);var p=this||r;clearBuffers(p);p.q=p.c="";p.bufferCheckPosition=i.MAX_BUFFER_LENGTH;p.opt=u||{};p.opt.lowercase=p.opt.lowercase||p.opt.lowercasetags;p.looseCase=p.opt.lowercase?"toLowerCase":"toUpperCase";p.tags=[];p.closed=p.closedRoot=p.sawRoot=false;p.tag=p.error=null;p.strict=!!o;p.noscript=!!(o||p.opt.noscript);p.state=D.BEGIN;p.strictEntities=p.opt.strictEntities;p.ENTITIES=p.strictEntities?Object.create(i.XML_ENTITIES):Object.create(i.ENTITIES);p.attribList=[];p.opt.xmlns&&(p.ns=Object.create(P));p.trackPosition=false!==p.opt.position;p.trackPosition&&(p.position=p.line=p.column=0);emit(p,"onready")}Object.create||(Object.create=function(r){function F(){}F.prototype=r;var i=new F;return i});Object.keys||(Object.keys=function(r){var i=[];for(var o in r)r.hasOwnProperty(o)&&i.push(o);return i});function checkBufferLength(r){var u=Math.max(i.MAX_BUFFER_LENGTH,10);var p=0;for(var g=0,y=o.length;gu)switch(o[g]){case"textNode":closeText(r);break;case"cdata":emitNode(r,"oncdata",r.cdata);r.cdata="";break;case"script":emitNode(r,"onscript",r.script);r.script="";break;default:error(r,"Max buffer length exceeded: "+o[g])}p=Math.max(p,w)}var _=i.MAX_BUFFER_LENGTH-p;r.bufferCheckPosition=_+r.position}function clearBuffers(r){for(var i=0,u=o.length;i"===r||isWhitespace(r)}function isMatch(r,i){return r.test(i)}function notMatch(r,i){return!isMatch(r,i)}var D=0;i.STATE={BEGIN:D++,BEGIN_WHITESPACE:D++,TEXT:D++,TEXT_ENTITY:D++,OPEN_WAKA:D++,SGML_DECL:D++,SGML_DECL_QUOTED:D++,DOCTYPE:D++,DOCTYPE_QUOTED:D++,DOCTYPE_DTD:D++,DOCTYPE_DTD_QUOTED:D++,COMMENT_STARTING:D++,COMMENT:D++,COMMENT_ENDING:D++,COMMENT_ENDED:D++,CDATA:D++,CDATA_ENDING:D++,CDATA_ENDING_2:D++,PROC_INST:D++,PROC_INST_BODY:D++,PROC_INST_ENDING:D++,OPEN_TAG:D++,OPEN_TAG_SLASH:D++,ATTRIB:D++,ATTRIB_NAME:D++,ATTRIB_NAME_SAW_WHITE:D++,ATTRIB_VALUE:D++,ATTRIB_VALUE_QUOTED:D++,ATTRIB_VALUE_CLOSED:D++,ATTRIB_VALUE_UNQUOTED:D++,ATTRIB_VALUE_ENTITY_Q:D++,ATTRIB_VALUE_ENTITY_U:D++,CLOSE_TAG:D++,CLOSE_TAG_SAW_WHITE:D++,SCRIPT:D++,SCRIPT_ENDING:D++};i.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};i.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(i.ENTITIES).forEach((function(r){var o=i.ENTITIES[r];var u="number"===typeof o?String.fromCharCode(o):o;i.ENTITIES[r]=u}));for(var N in i.STATE)i.STATE[i.STATE[N]]=N;D=i.STATE;function emit(r,i,o){r[i]&&r[i](o)}function emitNode(r,i,o){r.textNode&&closeText(r);emit(r,i,o)}function closeText(r){r.textNode=textopts(r.opt,r.textNode);r.textNode&&emit(r,"ontext",r.textNode);r.textNode=""}function textopts(r,i){r.trim&&(i=i.trim());r.normalize&&(i=i.replace(/\s+/g," "));return i}function error(r,i){closeText(r);r.trackPosition&&(i+="\nLine: "+r.line+"\nColumn: "+r.column+"\nChar: "+r.c);i=new Error(i);r.error=i;emit(r,"onerror",i);return r}function end(r){r.sawRoot&&!r.closedRoot&&strictFail(r,"Unclosed root tag");r.state!==D.BEGIN&&r.state!==D.BEGIN_WHITESPACE&&r.state!==D.TEXT&&error(r,"Unexpected end");closeText(r);r.c="";r.closed=true;emit(r,"onend");SAXParser.call(r,r.strict,r.opt);return r}function strictFail(r,i){if("object"!==typeof r||!(r instanceof SAXParser))throw new Error("bad call to strictFail");r.strict&&error(r,i)}function newTag(r){r.strict||(r.tagName=r.tagName[r.looseCase]());var i=r.tags[r.tags.length-1]||r;var o=r.tag={name:r.tagName,attributes:{}};r.opt.xmlns&&(o.ns=i.ns);r.attribList.length=0;emitNode(r,"onopentagstart",o)}function qname(r,i){var o=r.indexOf(":");var u=o<0?["",r]:r.split(":");var p=u[0];var g=u[1];if(i&&"xmlns"===r){p="xmlns";g=""}return{prefix:p,local:g}}function attrib(r){r.strict||(r.attribName=r.attribName[r.looseCase]());if(-1!==r.attribList.indexOf(r.attribName)||r.tag.attributes.hasOwnProperty(r.attribName))r.attribName=r.attribValue="";else{if(r.opt.xmlns){var i=qname(r.attribName,true);var o=i.prefix;var u=i.local;if("xmlns"===o)if("xml"===u&&r.attribValue!==x)strictFail(r,"xml: prefix must be bound to "+x+"\nActual: "+r.attribValue);else if("xmlns"===u&&r.attribValue!==k)strictFail(r,"xmlns: prefix must be bound to "+k+"\nActual: "+r.attribValue);else{var p=r.tag;var g=r.tags[r.tags.length-1]||r;p.ns===g.ns&&(p.ns=Object.create(g.ns));p.ns[u]=r.attribValue}r.attribList.push([r.attribName,r.attribValue])}else{r.tag.attributes[r.attribName]=r.attribValue;emitNode(r,"onattribute",{name:r.attribName,value:r.attribValue})}r.attribName=r.attribValue=""}}function openTag(r,i){if(r.opt.xmlns){var o=r.tag;var u=qname(r.tagName);o.prefix=u.prefix;o.local=u.local;o.uri=o.ns[u.prefix]||"";if(o.prefix&&!o.uri){strictFail(r,"Unbound namespace prefix: "+JSON.stringify(r.tagName));o.uri=u.prefix}var p=r.tags[r.tags.length-1]||r;o.ns&&p.ns!==o.ns&&Object.keys(o.ns).forEach((function(i){emitNode(r,"onopennamespace",{prefix:i,uri:o.ns[i]})}));for(var g=0,y=r.attribList.length;g";r.tagName="";r.state=D.SCRIPT;return}emitNode(r,"onscript",r.script);r.script=""}var i=r.tags.length;var o=r.tagName;r.strict||(o=o[r.looseCase]());var u=o;while(i--){var p=r.tags[i];if(p.name===u)break;strictFail(r,"Unexpected close tag")}if(i<0){strictFail(r,"Unmatched closing tag: "+r.tagName);r.textNode+="";r.state=D.TEXT}else{r.tagName=o;var g=r.tags.length;while(g-- >i){var y=r.tag=r.tags.pop();r.tagName=r.tag.name;emitNode(r,"onclosetag",r.tagName);var w={};for(var _ in y.ns)w[_]=y.ns[_];var x=r.tags[r.tags.length-1]||r;r.opt.xmlns&&y.ns!==x.ns&&Object.keys(y.ns).forEach((function(i){var o=y.ns[i];emitNode(r,"onclosenamespace",{prefix:i,uri:o})}))}0===i&&(r.closedRoot=true);r.tagName=r.attribValue=r.attribName="";r.attribList.length=0;r.state=D.TEXT}}else{strictFail(r,"Weird empty close tag.");r.textNode+="";r.state=D.TEXT}}function parseEntity(r){var i=r.entity;var o=i.toLowerCase();var u;var p="";if(r.ENTITIES[i])return r.ENTITIES[i];if(r.ENTITIES[o])return r.ENTITIES[o];i=o;if("#"===i.charAt(0))if("x"===i.charAt(1)){i=i.slice(2);u=parseInt(i,16);p=u.toString(16)}else{i=i.slice(1);u=parseInt(i,10);p=u.toString(10)}i=i.replace(/^0+/,"");if(isNaN(u)||p.toLowerCase()!==i){strictFail(r,"Invalid character entity");return"&"+r.entity+";"}return String.fromCodePoint(u)}function beginWhiteSpace(r,i){if("<"===i){r.state=D.OPEN_WAKA;r.startTagPosition=r.position}else if(!isWhitespace(i)){strictFail(r,"Non-whitespace before first tag.");r.textNode=i;r.state=D.TEXT}}function charAt(r,i){var o="";i"===p){emitNode(o,"onsgmldeclaration",o.sgmlDecl);o.sgmlDecl="";o.state=D.TEXT}else if(isQuote(p)){o.state=D.SGML_DECL_QUOTED;o.sgmlDecl+=p}else o.sgmlDecl+=p;continue;case D.SGML_DECL_QUOTED:if(p===o.q){o.state=D.SGML_DECL;o.q=""}o.sgmlDecl+=p;continue;case D.DOCTYPE:if(">"===p){o.state=D.TEXT;emitNode(o,"ondoctype",o.doctype);o.doctype=true}else{o.doctype+=p;if("["===p)o.state=D.DOCTYPE_DTD;else if(isQuote(p)){o.state=D.DOCTYPE_QUOTED;o.q=p}}continue;case D.DOCTYPE_QUOTED:o.doctype+=p;if(p===o.q){o.q="";o.state=D.DOCTYPE}continue;case D.DOCTYPE_DTD:o.doctype+=p;if("]"===p)o.state=D.DOCTYPE;else if(isQuote(p)){o.state=D.DOCTYPE_DTD_QUOTED;o.q=p}continue;case D.DOCTYPE_DTD_QUOTED:o.doctype+=p;if(p===o.q){o.state=D.DOCTYPE_DTD;o.q=""}continue;case D.COMMENT:"-"===p?o.state=D.COMMENT_ENDING:o.comment+=p;continue;case D.COMMENT_ENDING:if("-"===p){o.state=D.COMMENT_ENDED;o.comment=textopts(o.opt,o.comment);o.comment&&emitNode(o,"oncomment",o.comment);o.comment=""}else{o.comment+="-"+p;o.state=D.COMMENT}continue;case D.COMMENT_ENDED:if(">"!==p){strictFail(o,"Malformed comment");o.comment+="--"+p;o.state=D.COMMENT}else o.state=D.TEXT;continue;case D.CDATA:"]"===p?o.state=D.CDATA_ENDING:o.cdata+=p;continue;case D.CDATA_ENDING:if("]"===p)o.state=D.CDATA_ENDING_2;else{o.cdata+="]"+p;o.state=D.CDATA}continue;case D.CDATA_ENDING_2:if(">"===p){o.cdata&&emitNode(o,"oncdata",o.cdata);emitNode(o,"onclosecdata");o.cdata="";o.state=D.TEXT}else if("]"===p)o.cdata+="]";else{o.cdata+="]]"+p;o.state=D.CDATA}continue;case D.PROC_INST:"?"===p?o.state=D.PROC_INST_ENDING:isWhitespace(p)?o.state=D.PROC_INST_BODY:o.procInstName+=p;continue;case D.PROC_INST_BODY:if(!o.procInstBody&&isWhitespace(p))continue;"?"===p?o.state=D.PROC_INST_ENDING:o.procInstBody+=p;continue;case D.PROC_INST_ENDING:if(">"===p){emitNode(o,"onprocessinginstruction",{name:o.procInstName,body:o.procInstBody});o.procInstName=o.procInstBody="";o.state=D.TEXT}else{o.procInstBody+="?"+p;o.state=D.PROC_INST_BODY}continue;case D.OPEN_TAG:if(isMatch(O,p))o.tagName+=p;else{newTag(o);if(">"===p)openTag(o);else if("/"===p)o.state=D.OPEN_TAG_SLASH;else{isWhitespace(p)||strictFail(o,"Invalid character in tag name");o.state=D.ATTRIB}}continue;case D.OPEN_TAG_SLASH:if(">"===p){openTag(o,true);closeTag(o)}else{strictFail(o,"Forward-slash in opening tag not followed by >");o.state=D.ATTRIB}continue;case D.ATTRIB:if(isWhitespace(p))continue;if(">"===p)openTag(o);else if("/"===p)o.state=D.OPEN_TAG_SLASH;else if(isMatch(I,p)){o.attribName=p;o.attribValue="";o.state=D.ATTRIB_NAME}else strictFail(o,"Invalid attribute name");continue;case D.ATTRIB_NAME:if("="===p)o.state=D.ATTRIB_VALUE;else if(">"===p){strictFail(o,"Attribute without value");o.attribValue=o.attribName;attrib(o);openTag(o)}else isWhitespace(p)?o.state=D.ATTRIB_NAME_SAW_WHITE:isMatch(O,p)?o.attribName+=p:strictFail(o,"Invalid attribute name");continue;case D.ATTRIB_NAME_SAW_WHITE:if("="===p)o.state=D.ATTRIB_VALUE;else{if(isWhitespace(p))continue;strictFail(o,"Attribute without value");o.tag.attributes[o.attribName]="";o.attribValue="";emitNode(o,"onattribute",{name:o.attribName,value:""});o.attribName="";if(">"===p)openTag(o);else if(isMatch(I,p)){o.attribName=p;o.state=D.ATTRIB_NAME}else{strictFail(o,"Invalid attribute name");o.state=D.ATTRIB}}continue;case D.ATTRIB_VALUE:if(isWhitespace(p))continue;if(isQuote(p)){o.q=p;o.state=D.ATTRIB_VALUE_QUOTED}else{strictFail(o,"Unquoted attribute value");o.state=D.ATTRIB_VALUE_UNQUOTED;o.attribValue=p}continue;case D.ATTRIB_VALUE_QUOTED:if(p!==o.q){"&"===p?o.state=D.ATTRIB_VALUE_ENTITY_Q:o.attribValue+=p;continue}attrib(o);o.q="";o.state=D.ATTRIB_VALUE_CLOSED;continue;case D.ATTRIB_VALUE_CLOSED:if(isWhitespace(p))o.state=D.ATTRIB;else if(">"===p)openTag(o);else if("/"===p)o.state=D.OPEN_TAG_SLASH;else if(isMatch(I,p)){strictFail(o,"No whitespace between attributes");o.attribName=p;o.attribValue="";o.state=D.ATTRIB_NAME}else strictFail(o,"Invalid attribute name");continue;case D.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(p)){"&"===p?o.state=D.ATTRIB_VALUE_ENTITY_U:o.attribValue+=p;continue}attrib(o);">"===p?openTag(o):o.state=D.ATTRIB;continue;case D.CLOSE_TAG:if(o.tagName)if(">"===p)closeTag(o);else if(isMatch(O,p))o.tagName+=p;else if(o.script){o.script+=""===p?closeTag(o):strictFail(o,"Invalid characters in closing tag");continue;case D.TEXT_ENTITY:case D.ATTRIB_VALUE_ENTITY_Q:case D.ATTRIB_VALUE_ENTITY_U:var x;var k;switch(o.state){case D.TEXT_ENTITY:x=D.TEXT;k="textNode";break;case D.ATTRIB_VALUE_ENTITY_Q:x=D.ATTRIB_VALUE_QUOTED;k="attribValue";break;case D.ATTRIB_VALUE_ENTITY_U:x=D.ATTRIB_VALUE_UNQUOTED;k="attribValue";break}if(";"===p){o[k]+=parseEntity(o);o.entity="";o.state=x}else if(isMatch(o.entity.length?R:B,p))o.entity+=p;else{strictFail(o,"Invalid character in entity name");o[k]+="&"+o.entity+p;o.entity="";o.state=x}continue;default:throw new Error(o,"Unknown state: "+o.state)}}o.position>=o.bufferCheckPosition&&checkBufferLength(o);return o}String.fromCodePoint||function(){var r=String.fromCharCode;var i=Math.floor;var fromCodePoint=function(){var o=16384;var u=[];var p;var g;var y=-1;var w=arguments.length;if(!w)return"";var _="";while(++y1114111||i(x)!==x)throw RangeError("Invalid code point: "+x);if(x<=65535)u.push(x);else{x-=65536;p=55296+(x>>10);g=x%1024+56320;u.push(p,g)}if(y+1===w||u.length>o){_+=r.apply(null,u);u.length=0}}return _};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true}):String.fromCodePoint=fromCodePoint}()})(o)},2830:function(i,o,u){i.exports=Stream;var p=u(7187).EventEmitter;var g=u(5717);g(Stream,p);Stream.Readable=u(6577);Stream.Writable=u(323);Stream.Duplex=u(8656);Stream.Transform=u(4473);Stream.PassThrough=u(2366);Stream.finished=u(1086);Stream.pipeline=u(6472);Stream.Stream=Stream;function Stream(){p.call(this||r)}Stream.prototype.pipe=function(i,o){var u=this||r;function ondata(r){i.writable&&false===i.write(r)&&u.pause&&u.pause()}u.on("data",ondata);function ondrain(){u.readable&&u.resume&&u.resume()}i.on("drain",ondrain);if(!i._isStdio&&(!o||false!==o.end)){u.on("end",onend);u.on("close",onclose)}var g=false;function onend(){if(!g){g=true;i.end()}}function onclose(){if(!g){g=true;"function"===typeof i.destroy&&i.destroy()}}function onerror(i){cleanup();if(0===p.listenerCount(this||r,"error"))throw i}u.on("error",onerror);i.on("error",onerror);function cleanup(){u.removeListener("data",ondata);i.removeListener("drain",ondrain);u.removeListener("end",onend);u.removeListener("close",onclose);u.removeListener("error",onerror);i.removeListener("error",onerror);u.removeListener("end",cleanup);u.removeListener("close",cleanup);i.removeListener("close",cleanup)}u.on("end",cleanup);u.on("close",cleanup);i.on("close",cleanup);i.emit("pipe",u);return i}},8106:function(i){function _inheritsLoose(r,i){r.prototype=Object.create(i.prototype);r.prototype.constructor=r;r.__proto__=i}var o={};function createErrorType(i,u,p){p||(p=Error);function getMessage(r,i,o){return"string"===typeof u?u:u(r,i,o)}var g=function(i){_inheritsLoose(NodeError,i);function NodeError(o,u,p){return i.call(this||r,getMessage(o,u,p))||this||r}return NodeError}(p);g.prototype.name=p.name;g.prototype.code=i;o[i]=g}function oneOf(r,i){if(Array.isArray(r)){var o=r.length;r=r.map((function(r){return String(r)}));return o>2?"one of ".concat(i," ").concat(r.slice(0,o-1).join(", "),", or ")+r[o-1]:2===o?"one of ".concat(i," ").concat(r[0]," or ").concat(r[1]):"of ".concat(i," ").concat(r[0])}return"of ".concat(i," ").concat(String(r))}function startsWith(r,i,o){return r.substr(!o||o<0?0:+o,i.length)===i}function endsWith(r,i,o){(void 0===o||o>r.length)&&(o=r.length);return r.substring(o-i.length,o)===i}function includes(r,i,o){"number"!==typeof o&&(o=0);return!(o+i.length>r.length)&&-1!==r.indexOf(i,o)}createErrorType("ERR_INVALID_OPT_VALUE",(function(r,i){return'The value "'+i+'" is invalid for option "'+r+'"'}),TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(r,i,o){var u;if("string"===typeof i&&startsWith(i,"not ")){u="must not be";i=i.replace(/^not /,"")}else u="must be";var p;if(endsWith(r," argument"))p="The ".concat(r," ").concat(u," ").concat(oneOf(i,"type"));else{var g=includes(r,".")?"property":"argument";p='The "'.concat(r,'" ').concat(g," ").concat(u," ").concat(oneOf(i,"type"))}p+=". Received type ".concat(typeof o);return p}),TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(r){return"The "+r+" method is not implemented"}));createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",(function(r){return"Cannot call "+r+" after a stream was destroyed"}));createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",(function(r){return"Unknown encoding: "+r}),TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");i.exports.q=o},8656:function(i,o,u){var p=u(4155);var g=Object.keys||function(r){var i=[];for(var o in r)i.push(o);return i};i.exports=Duplex;var y=u(6577);var w=u(323);u(5717)(Duplex,y);var _=g(w.prototype);for(var x=0;x<_.length;x++){var k=_[x];Duplex.prototype[k]||(Duplex.prototype[k]=w.prototype[k])}function Duplex(i){if(!((this||r)instanceof Duplex))return new Duplex(i);y.call(this||r,i);w.call(this||r,i);(this||r).allowHalfOpen=true;if(i){false===i.readable&&((this||r).readable=false);false===i.writable&&((this||r).writable=false);if(false===i.allowHalfOpen){(this||r).allowHalfOpen=false;this.once("end",onend)}}}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return(this||r)._writableState.highWaterMark}});Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:false,get:function get(){return(this||r)._writableState&&(this||r)._writableState.getBuffer()}});Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:false,get:function get(){return(this||r)._writableState.length}});function onend(){(this||r)._writableState.ended||p.nextTick(onEndNT,this||r)}function onEndNT(r){r.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:false,get:function get(){return void 0!==(this||r)._readableState&&void 0!==(this||r)._writableState&&((this||r)._readableState.destroyed&&(this||r)._writableState.destroyed)},set:function set(i){if(void 0!==(this||r)._readableState&&void 0!==(this||r)._writableState){(this||r)._readableState.destroyed=i;(this||r)._writableState.destroyed=i}}})},2366:function(i,o,u){i.exports=PassThrough;var p=u(4473);u(5717)(PassThrough,p);function PassThrough(i){if(!((this||r)instanceof PassThrough))return new PassThrough(i);p.call(this||r,i)}PassThrough.prototype._transform=function(r,i,o){o(null,r)}},6577:function(i,o,u){var p=u(4155);i.exports=Readable;var g;Readable.ReadableState=ReadableState;u(7187).EventEmitter;var y=function EElistenerCount(r,i){return r.listeners(i).length};var w=u(3194);var _=u(8823).Buffer;var x=u.g.Uint8Array||function(){};function _uint8ArrayToBuffer(r){return _.from(r)}function _isUint8Array(r){return _.isBuffer(r)||r instanceof x}var k=u(964);var P;P=k&&k.debuglog?k.debuglog("stream"):function debug(){};var I=u(3361);var O=u(1029);var B=u(94),R=B.getHighWaterMark;var D=u(8106).q,N=D.ERR_INVALID_ARG_TYPE,W=D.ERR_STREAM_PUSH_AFTER_EOF,U=D.ERR_METHOD_NOT_IMPLEMENTED,j=D.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var G;var X;var K;u(5717)(Readable,w);var Y=O.errorOrDestroy;var J=["error","close","destroy","pause","resume"];function prependListener(r,i,o){if("function"===typeof r.prependListener)return r.prependListener(i,o);r._events&&r._events[i]?Array.isArray(r._events[i])?r._events[i].unshift(o):r._events[i]=[o,r._events[i]]:r.on(i,o)}function ReadableState(i,o,p){g=g||u(8656);i=i||{};"boolean"!==typeof p&&(p=o instanceof g);(this||r).objectMode=!!i.objectMode;p&&((this||r).objectMode=(this||r).objectMode||!!i.readableObjectMode);(this||r).highWaterMark=R(this||r,i,"readableHighWaterMark",p);(this||r).buffer=new I;(this||r).length=0;(this||r).pipes=null;(this||r).pipesCount=0;(this||r).flowing=null;(this||r).ended=false;(this||r).endEmitted=false;(this||r).reading=false;(this||r).sync=true;(this||r).needReadable=false;(this||r).emittedReadable=false;(this||r).readableListening=false;(this||r).resumeScheduled=false;(this||r).paused=true;(this||r).emitClose=false!==i.emitClose;(this||r).autoDestroy=!!i.autoDestroy;(this||r).destroyed=false;(this||r).defaultEncoding=i.defaultEncoding||"utf8";(this||r).awaitDrain=0;(this||r).readingMore=false;(this||r).decoder=null;(this||r).encoding=null;if(i.encoding){G||(G=u(2553).s);(this||r).decoder=new G(i.encoding);(this||r).encoding=i.encoding}}function Readable(i){g=g||u(8656);if(!((this||r)instanceof Readable))return new Readable(i);var o=(this||r)instanceof g;(this||r)._readableState=new ReadableState(i,this||r,o);(this||r).readable=true;if(i){"function"===typeof i.read&&((this||r)._read=i.read);"function"===typeof i.destroy&&((this||r)._destroy=i.destroy)}w.call(this||r)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){return void 0!==(this||r)._readableState&&(this||r)._readableState.destroyed},set:function set(i){(this||r)._readableState&&((this||r)._readableState.destroyed=i)}});Readable.prototype.destroy=O.destroy;Readable.prototype._undestroy=O.undestroy;Readable.prototype._destroy=function(r,i){i(r)};Readable.prototype.push=function(i,o){var u=(this||r)._readableState;var p;if(u.objectMode)p=true;else if("string"===typeof i){o=o||u.defaultEncoding;if(o!==u.encoding){i=_.from(i,o);o=""}p=true}return readableAddChunk(this||r,i,o,false,p)};Readable.prototype.unshift=function(i){return readableAddChunk(this||r,i,null,true,false)};function readableAddChunk(r,i,o,u,p){P("readableAddChunk",i);var g=r._readableState;if(null===i){g.reading=false;onEofChunk(r,g)}else{var y;p||(y=chunkInvalid(g,i));if(y)Y(r,y);else if(g.objectMode||i&&i.length>0){"string"===typeof i||g.objectMode||Object.getPrototypeOf(i)===_.prototype||(i=_uint8ArrayToBuffer(i));if(u)g.endEmitted?Y(r,new j):addChunk(r,g,i,true);else if(g.ended)Y(r,new W);else{if(g.destroyed)return false;g.reading=false;if(g.decoder&&!o){i=g.decoder.write(i);g.objectMode||0!==i.length?addChunk(r,g,i,false):maybeReadMore(r,g)}else addChunk(r,g,i,false)}}else if(!u){g.reading=false;maybeReadMore(r,g)}}return!g.ended&&(g.length=$)r=$;else{r--;r|=r>>>1;r|=r>>>2;r|=r>>>4;r|=r>>>8;r|=r>>>16;r++}return r}function howMuchToRead(r,i){if(r<=0||0===i.length&&i.ended)return 0;if(i.objectMode)return 1;if(r!==r)return i.flowing&&i.length?i.buffer.head.data.length:i.length;r>i.highWaterMark&&(i.highWaterMark=computeNewHighWaterMark(r));if(r<=i.length)return r;if(!i.ended){i.needReadable=true;return 0}return i.length}Readable.prototype.read=function(i){P("read",i);i=parseInt(i,10);var o=(this||r)._readableState;var u=i;0!==i&&(o.emittedReadable=false);if(0===i&&o.needReadable&&((0!==o.highWaterMark?o.length>=o.highWaterMark:o.length>0)||o.ended)){P("read: emitReadable",o.length,o.ended);0===o.length&&o.ended?endReadable(this||r):emitReadable(this||r);return null}i=howMuchToRead(i,o);if(0===i&&o.ended){0===o.length&&endReadable(this||r);return null}var p=o.needReadable;P("need readable",p);if(0===o.length||o.length-i0?fromList(i,o):null;if(null===g){o.needReadable=o.length<=o.highWaterMark;i=0}else{o.length-=i;o.awaitDrain=0}if(0===o.length){o.ended||(o.needReadable=true);u!==i&&o.ended&&endReadable(this||r)}null!==g&&this.emit("data",g);return g};function onEofChunk(r,i){P("onEofChunk");if(!i.ended){if(i.decoder){var o=i.decoder.end();if(o&&o.length){i.buffer.push(o);i.length+=i.objectMode?1:o.length}}i.ended=true;if(i.sync)emitReadable(r);else{i.needReadable=false;if(!i.emittedReadable){i.emittedReadable=true;emitReadable_(r)}}}}function emitReadable(r){var i=r._readableState;P("emitReadable",i.needReadable,i.emittedReadable);i.needReadable=false;if(!i.emittedReadable){P("emitReadable",i.flowing);i.emittedReadable=true;p.nextTick(emitReadable_,r)}}function emitReadable_(r){var i=r._readableState;P("emitReadable_",i.destroyed,i.length,i.ended);if(!i.destroyed&&(i.length||i.ended)){r.emit("readable");i.emittedReadable=false}i.needReadable=!i.flowing&&!i.ended&&i.length<=i.highWaterMark;flow(r)}function maybeReadMore(r,i){if(!i.readingMore){i.readingMore=true;p.nextTick(maybeReadMore_,r,i)}}function maybeReadMore_(r,i){while(!i.reading&&!i.ended&&(i.length1&&-1!==indexOf(g.pipes,i))&&!k){P("false write response, pause",g.awaitDrain);g.awaitDrain++}u.pause()}}function onerror(r){P("onerror",r);unpipe();i.removeListener("error",onerror);0===y(i,"error")&&Y(i,r)}prependListener(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){P("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){P("unpipe");u.unpipe(i)}i.emit("pipe",u);if(!g.flowing){P("pipe resume");u.resume()}return i};function pipeOnDrain(r){return function pipeOnDrainFunctionResult(){var i=r._readableState;P("pipeOnDrain",i.awaitDrain);i.awaitDrain&&i.awaitDrain--;if(0===i.awaitDrain&&y(r,"data")){i.flowing=true;flow(r)}}}Readable.prototype.unpipe=function(i){var o=(this||r)._readableState;var u={hasUnpiped:false};if(0===o.pipesCount)return this||r;if(1===o.pipesCount){if(i&&i!==o.pipes)return this||r;i||(i=o.pipes);o.pipes=null;o.pipesCount=0;o.flowing=false;i&&i.emit("unpipe",this||r,u);return this||r}if(!i){var p=o.pipes;var g=o.pipesCount;o.pipes=null;o.pipesCount=0;o.flowing=false;for(var y=0;y0;false!==g.flowing&&this.resume()}else if("readable"===i&&!g.endEmitted&&!g.readableListening){g.readableListening=g.needReadable=true;g.flowing=false;g.emittedReadable=false;P("on readable",g.length,g.reading);g.length?emitReadable(this||r):g.reading||p.nextTick(nReadingNextTick,this||r)}return u};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(i,o){var u=w.prototype.removeListener.call(this||r,i,o);"readable"===i&&p.nextTick(updateReadableListening,this||r);return u};Readable.prototype.removeAllListeners=function(i){var o=w.prototype.removeAllListeners.apply(this||r,arguments);"readable"!==i&&void 0!==i||p.nextTick(updateReadableListening,this||r);return o};function updateReadableListening(r){var i=r._readableState;i.readableListening=r.listenerCount("readable")>0;i.resumeScheduled&&!i.paused?i.flowing=true:r.listenerCount("data")>0&&r.resume()}function nReadingNextTick(r){P("readable nexttick read 0");r.read(0)}Readable.prototype.resume=function(){var i=(this||r)._readableState;if(!i.flowing){P("resume");i.flowing=!i.readableListening;resume(this||r,i)}i.paused=false;return this||r};function resume(r,i){if(!i.resumeScheduled){i.resumeScheduled=true;p.nextTick(resume_,r,i)}}function resume_(r,i){P("resume",i.reading);i.reading||r.read(0);i.resumeScheduled=false;r.emit("resume");flow(r);i.flowing&&!i.reading&&r.read(0)}Readable.prototype.pause=function(){P("call pause flowing=%j",(this||r)._readableState.flowing);if(false!==(this||r)._readableState.flowing){P("pause");(this||r)._readableState.flowing=false;this.emit("pause")}(this||r)._readableState.paused=true;return this||r};function flow(r){var i=r._readableState;P("flow",i.flowing);while(i.flowing&&null!==r.read());}Readable.prototype.wrap=function(i){var o=this||r;var u=(this||r)._readableState;var p=false;i.on("end",(function(){P("wrapped end");if(u.decoder&&!u.ended){var r=u.decoder.end();r&&r.length&&o.push(r)}o.push(null)}));i.on("data",(function(r){P("wrapped data");u.decoder&&(r=u.decoder.write(r));if((!u.objectMode||null!==r&&void 0!==r)&&(u.objectMode||r&&r.length)){var g=o.push(r);if(!g){p=true;i.pause()}}}));for(var g in i)void 0===(this||r)[g]&&"function"===typeof i[g]&&((this||r)[g]=function methodWrap(r){return function methodWrapReturnFunction(){return i[r].apply(i,arguments)}}(g));for(var y=0;y=i.length){o=i.decoder?i.buffer.join(""):1===i.buffer.length?i.buffer.first():i.buffer.concat(i.length);i.buffer.clear()}else o=i.buffer.consume(r,i.decoder);return o}function endReadable(r){var i=r._readableState;P("endReadable",i.endEmitted);if(!i.endEmitted){i.ended=true;p.nextTick(endReadableNT,i,r)}}function endReadableNT(r,i){P("endReadableNT",r.endEmitted,r.length);if(!r.endEmitted&&0===r.length){r.endEmitted=true;i.readable=false;i.emit("end");if(r.autoDestroy){var o=i._writableState;(!o||o.autoDestroy&&o.finished)&&i.destroy()}}}"function"===typeof Symbol&&(Readable.from=function(r,i){void 0===K&&(K=u(1265));return K(Readable,r,i)});function indexOf(r,i){for(var o=0,u=r.length;o-1))throw new G(i);(this||r)._writableState.defaultEncoding=i;return this||r};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return(this||r)._writableState&&(this||r)._writableState.getBuffer()}});function decodeChunk(r,i,o){r.objectMode||false===r.decodeStrings||"string"!==typeof i||(i=_.from(i,o));return i}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return(this||r)._writableState.highWaterMark}});function writeOrBuffer(r,i,o,u,p,g){if(!o){var y=decodeChunk(i,u,p);if(u!==y){o=true;p="buffer";u=y}}var w=i.objectMode?1:u.length;i.length+=w;var _=i.length0;return destroyer(r,g,w,(function(r){p||(p=r);r&&y.forEach(call);if(!g){y.forEach(call);u(p)}}))}));return i.reduce(pipe)}r.exports=pipeline},94:function(r,i,o){var u=o(8106).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(r,i,o){return null!=r.highWaterMark?r.highWaterMark:i?r[o]:null}function getHighWaterMark(r,i,o,p){var g=highWaterMarkFrom(i,p,o);if(null!=g){if(!(isFinite(g)&&Math.floor(g)===g)||g<0){var y=p?o:"highWaterMark";throw new u(y,g)}return Math.floor(g)}return r.objectMode?16:16384}r.exports={getHighWaterMark:getHighWaterMark}},3194:function(r,i,o){r.exports=o(7187).EventEmitter},1818:function(i,o,u){var p,g,y;(function(r,u){true;!(g=[],p=u,y="function"===typeof p?p.apply(o,g):p,void 0!==y&&(i.exports=y))})(0,(function(){function b(r,i){return"undefined"==typeof i?i={autoBom:!1}:"object"!=typeof i&&(console.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\ufeff",r],{type:r.type}):r}function c(r,i,o){var u=new XMLHttpRequest;u.open("GET",r),u.responseType="blob",u.onload=function(){g(u.response,i,o)},u.onerror=function(){console.error("could not download file")},u.send()}function d(r){var i=new XMLHttpRequest;i.open("HEAD",r,!1);try{i.send()}catch(r){}return 200<=i.status&&299>=i.status}function e(r){try{r.dispatchEvent(new MouseEvent("click"))}catch(o){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(i)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof u.g&&u.g.global===u.g?u.g:void 0,p=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=o.saveAs||("object"!=typeof window||window!==o?function(){}:"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!p?function(r,i,u){var p=o.URL||o.webkitURL,g=document.createElement("a");i=i||r.name||"download",g.download=i,g.rel="noopener","string"==typeof r?(g.href=r,g.origin===location.origin?e(g):d(g.href)?c(r,i,u):e(g,g.target="_blank")):(g.href=p.createObjectURL(r),setTimeout((function(){p.revokeObjectURL(g.href)}),4e4),setTimeout((function(){e(g)}),0))}:"msSaveOrOpenBlob"in navigator?function(r,i,o){if(i=i||r.name||"download","string"!=typeof r)navigator.msSaveOrOpenBlob(b(r,o),i);else if(d(r))c(r,i,o);else{var u=document.createElement("a");u.href=r,u.target="_blank",setTimeout((function(){e(u)}))}}:function(i,u,g,y){if(y=y||open("","_blank"),y&&(y.document.title=y.document.body.innerText="downloading..."),"string"==typeof i)return c(i,u,g);var w="application/octet-stream"===i.type,_=/constructor/i.test(o.HTMLElement)||o.safari,x=/CriOS\/[\d]+/.test(navigator.userAgent);if((x||w&&_||p)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var i=k.result;i=x?i:i.replace(/^data:[^;]*;/,"data:attachment/file;"),y?y.location.href=i:r.location=i,y=null},k.readAsDataURL(i)}else{var P=o.URL||o.webkitURL,I=P.createObjectURL(i);y?y.location=I:location.href=I,y=null,setTimeout((function(){P.revokeObjectURL(I)}),4e4)}});o.saveAs=g.saveAs=g,true,i.exports=g}))},2553:function(i,o,u){var p=u(1750).Buffer;var g=p.isEncoding||function(r){r=""+r;switch(r&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(r){if(!r)return"utf8";var i;while(true)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(i)return;r=(""+r).toLowerCase();i=true}}function normalizeEncoding(r){var i=_normalizeEncoding(r);if("string"!==typeof i&&(p.isEncoding===g||!g(r)))throw new Error("Unknown encoding: "+r);return i||r}o.s=StringDecoder;function StringDecoder(i){(this||r).encoding=normalizeEncoding(i);var o;switch((this||r).encoding){case"utf16le":(this||r).text=utf16Text;(this||r).end=utf16End;o=4;break;case"utf8":(this||r).fillLast=utf8FillLast;o=4;break;case"base64":(this||r).text=base64Text;(this||r).end=base64End;o=3;break;default:(this||r).write=simpleWrite;(this||r).end=simpleEnd;return}(this||r).lastNeed=0;(this||r).lastTotal=0;(this||r).lastChar=p.allocUnsafe(o)}StringDecoder.prototype.write=function(i){if(0===i.length)return"";var o;var u;if((this||r).lastNeed){o=this.fillLast(i);if(void 0===o)return"";u=(this||r).lastNeed;(this||r).lastNeed=0}else u=0;return u>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function utf8CheckIncomplete(r,i,o){var u=i.length-1;if(u=0){p>0&&(r.lastNeed=p-1);return p}if(--u=0){p>0&&(r.lastNeed=p-2);return p}if(--u=0){p>0&&(2===p?p=0:r.lastNeed=p-3);return p}return 0}function utf8CheckExtraBytes(r,i,o){if(128!==(192&i[0])){r.lastNeed=0;return"�"}if(r.lastNeed>1&&i.length>1){if(128!==(192&i[1])){r.lastNeed=1;return"�"}if(r.lastNeed>2&&i.length>2&&128!==(192&i[2])){r.lastNeed=2;return"�"}}}function utf8FillLast(i){var o=(this||r).lastTotal-(this||r).lastNeed;var u=utf8CheckExtraBytes(this||r,i,o);if(void 0!==u)return u;if((this||r).lastNeed<=i.length){i.copy((this||r).lastChar,o,0,(this||r).lastNeed);return(this||r).lastChar.toString((this||r).encoding,0,(this||r).lastTotal)}i.copy((this||r).lastChar,o,0,i.length);(this||r).lastNeed-=i.length}function utf8Text(i,o){var u=utf8CheckIncomplete(this||r,i,o);if(!(this||r).lastNeed)return i.toString("utf8",o);(this||r).lastTotal=u;var p=i.length-(u-(this||r).lastNeed);i.copy((this||r).lastChar,0,p);return i.toString("utf8",o,p)}function utf8End(i){var o=i&&i.length?this.write(i):"";return(this||r).lastNeed?o+"�":o}function utf16Text(i,o){if((i.length-o)%2===0){var u=i.toString("utf16le",o);if(u){var p=u.charCodeAt(u.length-1);if(p>=55296&&p<=56319){(this||r).lastNeed=2;(this||r).lastTotal=4;(this||r).lastChar[0]=i[i.length-2];(this||r).lastChar[1]=i[i.length-1];return u.slice(0,-1)}}return u}(this||r).lastNeed=1;(this||r).lastTotal=2;(this||r).lastChar[0]=i[i.length-1];return i.toString("utf16le",o,i.length-1)}function utf16End(i){var o=i&&i.length?this.write(i):"";if((this||r).lastNeed){var u=(this||r).lastTotal-(this||r).lastNeed;return o+(this||r).lastChar.toString("utf16le",0,u)}return o}function base64Text(i,o){var u=(i.length-o)%3;if(0===u)return i.toString("base64",o);(this||r).lastNeed=3-u;(this||r).lastTotal=3;if(1===u)(this||r).lastChar[0]=i[i.length-1];else{(this||r).lastChar[0]=i[i.length-2];(this||r).lastChar[1]=i[i.length-1]}return i.toString("base64",o,i.length-u)}function base64End(i){var o=i&&i.length?this.write(i):"";return(this||r).lastNeed?o+(this||r).lastChar.toString("base64",0,3-(this||r).lastNeed):o}function simpleWrite(i){return i.toString((this||r).encoding)}function simpleEnd(r){return r&&r.length?this.write(r):""}},311:function(i){var o=0;var u=-3;function Tree(){(this||r).table=new Uint16Array(16);(this||r).trans=new Uint16Array(288)}function Data(i,o){(this||r).source=i;(this||r).sourceIndex=0;(this||r).tag=0;(this||r).bitcount=0;(this||r).dest=o;(this||r).destLen=0;(this||r).ltree=new Tree;(this||r).dtree=new Tree}var p=new Tree;var g=new Tree;var y=new Uint8Array(30);var w=new Uint16Array(30);var _=new Uint8Array(30);var x=new Uint16Array(30);var k=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);var P=new Tree;var I=new Uint8Array(320);function tinf_build_bits_base(r,i,o,u){var p,g;for(p=0;p>>=1;return i}function tinf_read_bits(r,i,o){if(!i)return o;while(r.bitcount<24){r.tag|=r.source[r.sourceIndex++]<>>16-i;r.tag>>>=i;r.bitcount-=i;return u+o}function tinf_decode_symbol(r,i){while(r.bitcount<24){r.tag|=r.source[r.sourceIndex++]<>>=1;++p;o+=i.table[p];u-=i.table[p]}while(u>=0);r.tag=g;r.bitcount-=p;return i.trans[o+u]}function tinf_decode_trees(r,i,o){var u,p,g;var y,w,_;u=tinf_read_bits(r,5,257);p=tinf_read_bits(r,5,1);g=tinf_read_bits(r,4,4);for(y=0;y<19;++y)I[y]=0;for(y=0;y8){r.sourceIndex--;r.bitcount-=8}i=r.source[r.sourceIndex+1];i=256*i+r.source[r.sourceIndex];p=r.source[r.sourceIndex+3];p=256*p+r.source[r.sourceIndex+2];if(i!==(65535&~p))return u;r.sourceIndex+=4;for(g=i;g;--g)r.dest[r.destLen++]=r.source[r.sourceIndex++];r.bitcount=0;return o}function tinf_uncompress(r,i){var y=new Data(r,i);var w,_,x;do{w=tinf_getbit(y);_=tinf_read_bits(y,2,0);switch(_){case 0:x=tinf_inflate_uncompressed_block(y);break;case 1:x=tinf_inflate_block_data(y,p,g);break;case 2:tinf_decode_trees(y,y.ltree,y.dtree);x=tinf_inflate_block_data(y,y.ltree,y.dtree);break;default:x=u}if(x!==o)throw new Error("Data error")}while(!w);return y.destLen=r.length?{done:true}:{done:false,value:r[u++]}}}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 _unsupportedIterableToArray(r,i){if(r){if("string"===typeof r)return _arrayLikeToArray(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);"Object"===o&&r.constructor&&(o=r.constructor.name);return"Map"===o||"Set"===o?Array.from(r):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(r,i):void 0}}function _arrayLikeToArray(r,i){(null==i||i>r.length)&&(i=r.length);for(var o=0,u=new Array(i);o0?u[0]:"value";if(i.has(y))return i.get(y);var w=g.apply(this||r,u);i.set(y,w);return w}Object.defineProperty(this||r,o,{value:memoized});return memoized}}}}var W=new y.Struct({firstCode:y.uint16,entryCount:y.uint16,idDelta:y.int16,idRangeOffset:y.uint16});var U=new y.Struct({startCharCode:y.uint32,endCharCode:y.uint32,glyphID:y.uint32});var j=new y.Struct({startUnicodeValue:y.uint24,additionalCount:y.uint8});var G=new y.Struct({unicodeValue:y.uint24,glyphID:y.uint16});var X=new y.Array(j,y.uint32);var K=new y.Array(G,y.uint32);var Y=new y.Struct({varSelector:y.uint24,defaultUVS:new y.Pointer(y.uint32,X,{type:"parent"}),nonDefaultUVS:new y.Pointer(y.uint32,K,{type:"parent"})});var J=new y.VersionedStruct(y.uint16,{0:{length:y.uint16,language:y.uint16,codeMap:new y.LazyArray(y.uint8,256)},2:{length:y.uint16,language:y.uint16,subHeaderKeys:new y.Array(y.uint16,256),subHeaderCount:function subHeaderCount(r){return Math.max.apply(Math,r.subHeaderKeys)},subHeaders:new y.LazyArray(W,"subHeaderCount"),glyphIndexArray:new y.LazyArray(y.uint16,"subHeaderCount")},4:{length:y.uint16,language:y.uint16,segCountX2:y.uint16,segCount:function segCount(r){return r.segCountX2>>1},searchRange:y.uint16,entrySelector:y.uint16,rangeShift:y.uint16,endCode:new y.LazyArray(y.uint16,"segCount"),reservedPad:new y.Reserved(y.uint16),startCode:new y.LazyArray(y.uint16,"segCount"),idDelta:new y.LazyArray(y.int16,"segCount"),idRangeOffset:new y.LazyArray(y.uint16,"segCount"),glyphIndexArray:new y.LazyArray(y.uint16,(function(r){return(r.length-r._currentOffset)/2}))},6:{length:y.uint16,language:y.uint16,firstCode:y.uint16,entryCount:y.uint16,glyphIndices:new y.LazyArray(y.uint16,"entryCount")},8:{reserved:new y.Reserved(y.uint16),length:y.uint32,language:y.uint16,is32:new y.LazyArray(y.uint8,8192),nGroups:y.uint32,groups:new y.LazyArray(U,"nGroups")},10:{reserved:new y.Reserved(y.uint16),length:y.uint32,language:y.uint32,firstCode:y.uint32,entryCount:y.uint32,glyphIndices:new y.LazyArray(y.uint16,"numChars")},12:{reserved:new y.Reserved(y.uint16),length:y.uint32,language:y.uint32,nGroups:y.uint32,groups:new y.LazyArray(U,"nGroups")},13:{reserved:new y.Reserved(y.uint16),length:y.uint32,language:y.uint32,nGroups:y.uint32,groups:new y.LazyArray(U,"nGroups")},14:{length:y.uint32,numRecords:y.uint32,varSelectors:new y.LazyArray(Y,"numRecords")}});var $=new y.Struct({platformID:y.uint16,encodingID:y.uint16,table:new y.Pointer(y.uint32,J,{type:"parent",lazy:true})});var ee=new y.Struct({version:y.uint16,numSubtables:y.uint16,tables:new y.Array($,"numSubtables")});var te=new y.Struct({version:y.int32,revision:y.int32,checkSumAdjustment:y.uint32,magicNumber:y.uint32,flags:y.uint16,unitsPerEm:y.uint16,created:new y.Array(y.int32,2),modified:new y.Array(y.int32,2),xMin:y.int16,yMin:y.int16,xMax:y.int16,yMax:y.int16,macStyle:new y.Bitfield(y.uint16,["bold","italic","underline","outline","shadow","condensed","extended"]),lowestRecPPEM:y.uint16,fontDirectionHint:y.int16,indexToLocFormat:y.int16,glyphDataFormat:y.int16});var re=new y.Struct({version:y.int32,ascent:y.int16,descent:y.int16,lineGap:y.int16,advanceWidthMax:y.uint16,minLeftSideBearing:y.int16,minRightSideBearing:y.int16,xMaxExtent:y.int16,caretSlopeRise:y.int16,caretSlopeRun:y.int16,caretOffset:y.int16,reserved:new y.Reserved(y.int16,4),metricDataFormat:y.int16,numberOfMetrics:y.uint16});var ne=new y.Struct({advance:y.uint16,bearing:y.int16});var ae=new y.Struct({metrics:new y.LazyArray(ne,(function(r){return r.parent.hhea.numberOfMetrics})),bearings:new y.LazyArray(y.int16,(function(r){return r.parent.maxp.numGlyphs-r.parent.hhea.numberOfMetrics}))});var ie=new y.Struct({version:y.int32,numGlyphs:y.uint16,maxPoints:y.uint16,maxContours:y.uint16,maxComponentPoints:y.uint16,maxComponentContours:y.uint16,maxZones:y.uint16,maxTwilightPoints:y.uint16,maxStorage:y.uint16,maxFunctionDefs:y.uint16,maxInstructionDefs:y.uint16,maxStackElements:y.uint16,maxSizeOfInstructions:y.uint16,maxComponentElements:y.uint16,maxComponentDepth:y.uint16});function getEncoding(r,i,o){void 0===o&&(o=0);return 1===r&&se[o]?se[o]:oe[r][i]}var oe=[["utf16be","utf16be","utf16be","utf16be","utf16be","utf16be"],["macroman","shift-jis","big5","euc-kr","iso-8859-6","iso-8859-8","macgreek","maccyrillic","symbol","Devanagari","Gurmukhi","Gujarati","Oriya","Bengali","Tamil","Telugu","Kannada","Malayalam","Sinhalese","Burmese","Khmer","macthai","Laotian","Georgian","Armenian","gb-2312-80","Tibetan","Mongolian","Geez","maccenteuro","Vietnamese","Sindhi"],["ascii"],["symbol","utf16be","shift-jis","gb18030","big5","wansung","johab",null,null,null,"utf16be"]];var se={15:"maciceland",17:"macturkish",18:"maccroatian",24:"maccenteuro",25:"maccenteuro",26:"maccenteuro",27:"maccenteuro",28:"maccenteuro",30:"maciceland",37:"macromania",38:"maccenteuro",39:"maccenteuro",40:"maccenteuro",143:"macinuit",146:"macgaelic"};var le=[[],{0:"en",30:"fo",60:"ks",90:"rw",1:"fr",31:"fa",61:"ku",91:"rn",2:"de",32:"ru",62:"sd",92:"ny",3:"it",33:"zh",63:"bo",93:"mg",4:"nl",34:"nl-BE",64:"ne",94:"eo",5:"sv",35:"ga",65:"sa",128:"cy",6:"es",36:"sq",66:"mr",129:"eu",7:"da",37:"ro",67:"bn",130:"ca",8:"pt",38:"cz",68:"as",131:"la",9:"no",39:"sk",69:"gu",132:"qu",10:"he",40:"si",70:"pa",133:"gn",11:"ja",41:"yi",71:"or",134:"ay",12:"ar",42:"sr",72:"ml",135:"tt",13:"fi",43:"mk",73:"kn",136:"ug",14:"el",44:"bg",74:"ta",137:"dz",15:"is",45:"uk",75:"te",138:"jv",16:"mt",46:"be",76:"si",139:"su",17:"tr",47:"uz",77:"my",140:"gl",18:"hr",48:"kk",78:"km",141:"af",19:"zh-Hant",49:"az-Cyrl",79:"lo",142:"br",20:"ur",50:"az-Arab",80:"vi",143:"iu",21:"hi",51:"hy",81:"id",144:"gd",22:"th",52:"ka",82:"tl",145:"gv",23:"ko",53:"mo",83:"ms",146:"ga",24:"lt",54:"ky",84:"ms-Arab",147:"to",25:"pl",55:"tg",85:"am",148:"el-polyton",26:"hu",56:"tk",86:"ti",149:"kl",27:"es",57:"mn-CN",87:"om",150:"az",28:"lv",58:"mn",88:"so",151:"nn",29:"se",59:"ps",89:"sw"},[],{1078:"af",16393:"en-IN",1159:"rw",1074:"tn",1052:"sq",6153:"en-IE",1089:"sw",1115:"si",1156:"gsw",8201:"en-JM",1111:"kok",1051:"sk",1118:"am",17417:"en-MY",1042:"ko",1060:"sl",5121:"ar-DZ",5129:"en-NZ",1088:"ky",11274:"es-AR",15361:"ar-BH",13321:"en-PH",1108:"lo",16394:"es-BO",3073:"ar",18441:"en-SG",1062:"lv",13322:"es-CL",2049:"ar-IQ",7177:"en-ZA",1063:"lt",9226:"es-CO",11265:"ar-JO",11273:"en-TT",2094:"dsb",5130:"es-CR",13313:"ar-KW",2057:"en-GB",1134:"lb",7178:"es-DO",12289:"ar-LB",1033:"en",1071:"mk",12298:"es-EC",4097:"ar-LY",12297:"en-ZW",2110:"ms-BN",17418:"es-SV",6145:"ary",1061:"et",1086:"ms",4106:"es-GT",8193:"ar-OM",1080:"fo",1100:"ml",18442:"es-HN",16385:"ar-QA",1124:"fil",1082:"mt",2058:"es-MX",1025:"ar-SA",1035:"fi",1153:"mi",19466:"es-NI",10241:"ar-SY",2060:"fr-BE",1146:"arn",6154:"es-PA",7169:"aeb",3084:"fr-CA",1102:"mr",15370:"es-PY",14337:"ar-AE",1036:"fr",1148:"moh",10250:"es-PE",9217:"ar-YE",5132:"fr-LU",1104:"mn",20490:"es-PR",1067:"hy",6156:"fr-MC",2128:"mn-CN",3082:"es",1101:"as",4108:"fr-CH",1121:"ne",1034:"es",2092:"az-Cyrl",1122:"fy",1044:"nb",21514:"es-US",1068:"az",1110:"gl",2068:"nn",14346:"es-UY",1133:"ba",1079:"ka",1154:"oc",8202:"es-VE",1069:"eu",3079:"de-AT",1096:"or",2077:"sv-FI",1059:"be",1031:"de",1123:"ps",1053:"sv",2117:"bn",5127:"de-LI",1045:"pl",1114:"syr",1093:"bn-IN",4103:"de-LU",1046:"pt",1064:"tg",8218:"bs-Cyrl",2055:"de-CH",2070:"pt-PT",2143:"tzm",5146:"bs",1032:"el",1094:"pa",1097:"ta",1150:"br",1135:"kl",1131:"qu-BO",1092:"tt",1026:"bg",1095:"gu",2155:"qu-EC",1098:"te",1027:"ca",1128:"ha",3179:"qu",1054:"th",3076:"zh-HK",1037:"he",1048:"ro",1105:"bo",5124:"zh-MO",1081:"hi",1047:"rm",1055:"tr",2052:"zh",1038:"hu",1049:"ru",1090:"tk",4100:"zh-SG",1039:"is",9275:"smn",1152:"ug",1028:"zh-TW",1136:"ig",4155:"smj-NO",1058:"uk",1155:"co",1057:"id",5179:"smj",1070:"hsb",1050:"hr",1117:"iu",3131:"se-FI",1056:"ur",4122:"hr-BA",2141:"iu-Latn",1083:"se",2115:"uz-Cyrl",1029:"cs",2108:"ga",2107:"se-SE",1091:"uz",1030:"da",1076:"xh",8251:"sms",1066:"vi",1164:"prs",1077:"zu",6203:"sma-NO",1106:"cy",1125:"dv",1040:"it",7227:"sms",1160:"wo",2067:"nl-BE",2064:"it-CH",1103:"sa",1157:"sah",1043:"nl",1041:"ja",7194:"sr-Cyrl-BA",1144:"ii",3081:"en-AU",1099:"kn",3098:"sr",1130:"yo",10249:"en-BZ",1087:"kk",6170:"sr-Latn-BA",4105:"en-CA",1107:"km",2074:"sr-Latn",9225:"en-029",1158:"quc",1132:"nso"}];var ue=new y.Struct({platformID:y.uint16,encodingID:y.uint16,languageID:y.uint16,nameID:y.uint16,length:y.uint16,string:new y.Pointer(y.uint16,new y.String("length",(function(r){return getEncoding(r.platformID,r.encodingID,r.languageID)})),{type:"parent",relativeTo:function relativeTo(r){return r.parent.stringOffset},allowNull:false})});var ce=new y.Struct({length:y.uint16,tag:new y.Pointer(y.uint16,new y.String("length","utf16be"),{type:"parent",relativeTo:function relativeTo(r){return r.stringOffset}})});var fe=new y.VersionedStruct(y.uint16,{0:{count:y.uint16,stringOffset:y.uint16,records:new y.Array(ue,"count")},1:{count:y.uint16,stringOffset:y.uint16,records:new y.Array(ue,"count"),langTagCount:y.uint16,langTags:new y.Array(ce,"langTagCount")}});var he=["copyright","fontFamily","fontSubfamily","uniqueSubfamily","fullName","version","postscriptName","trademark","manufacturer","designer","description","vendorURL","designerURL","license","licenseURL",null,"preferredFamily","preferredSubfamily","compatibleFull","sampleText","postscriptCIDFontName","wwsFamilyName","wwsSubfamilyName"];fe.process=function(i){var o={};for(var u,p=_createForOfIteratorHelperLoose((this||r).records);!(u=p()).done;){var g=u.value;var y=le[g.platformID][g.languageID];null==y&&null!=(this||r).langTags&&g.languageID>=32768&&(y=(this||r).langTags[g.languageID-32768].tag);null==y&&(y=g.platformID+"-"+g.languageID);var w=g.nameID>=256?"fontFeatures":he[g.nameID]||g.nameID;null==o[w]&&(o[w]={});var _=o[w];g.nameID>=256&&(_=_[g.nameID]||(_[g.nameID]={}));"string"!==typeof g.string&&"string"===typeof _[y]||(_[y]=g.string)}(this||r).records=o};fe.preEncode=function(){if(!Array.isArray((this||r).records)){(this||r).version=0;var i=[];for(var o in(this||r).records){var u=(this||r).records[o];if("fontFeatures"!==o){i.push({platformID:3,encodingID:1,languageID:1033,nameID:he.indexOf(o),length:p.byteLength(u.en,"utf16le"),string:u.en});"postscriptName"===o&&i.push({platformID:1,encodingID:0,languageID:0,nameID:he.indexOf(o),length:u.en.length,string:u.en})}}(this||r).records=i;(this||r).count=i.length;(this||r).stringOffset=fe.size(this||r,null,false)}};var de=new y.VersionedStruct(y.uint16,{header:{xAvgCharWidth:y.int16,usWeightClass:y.uint16,usWidthClass:y.uint16,fsType:new y.Bitfield(y.uint16,[null,"noEmbedding","viewOnly","editable",null,null,null,null,"noSubsetting","bitmapOnly"]),ySubscriptXSize:y.int16,ySubscriptYSize:y.int16,ySubscriptXOffset:y.int16,ySubscriptYOffset:y.int16,ySuperscriptXSize:y.int16,ySuperscriptYSize:y.int16,ySuperscriptXOffset:y.int16,ySuperscriptYOffset:y.int16,yStrikeoutSize:y.int16,yStrikeoutPosition:y.int16,sFamilyClass:y.int16,panose:new y.Array(y.uint8,10),ulCharRange:new y.Array(y.uint32,4),vendorID:new y.String(4),fsSelection:new y.Bitfield(y.uint16,["italic","underscore","negative","outlined","strikeout","bold","regular","useTypoMetrics","wws","oblique"]),usFirstCharIndex:y.uint16,usLastCharIndex:y.uint16},0:{},1:{typoAscender:y.int16,typoDescender:y.int16,typoLineGap:y.int16,winAscent:y.uint16,winDescent:y.uint16,codePageRange:new y.Array(y.uint32,2)},2:{typoAscender:y.int16,typoDescender:y.int16,typoLineGap:y.int16,winAscent:y.uint16,winDescent:y.uint16,codePageRange:new y.Array(y.uint32,2),xHeight:y.int16,capHeight:y.int16,defaultChar:y.uint16,breakChar:y.uint16,maxContent:y.uint16},5:{typoAscender:y.int16,typoDescender:y.int16,typoLineGap:y.int16,winAscent:y.uint16,winDescent:y.uint16,codePageRange:new y.Array(y.uint32,2),xHeight:y.int16,capHeight:y.int16,defaultChar:y.uint16,breakChar:y.uint16,maxContent:y.uint16,usLowerOpticalPointSize:y.uint16,usUpperOpticalPointSize:y.uint16}});var ve=de.versions;ve[3]=ve[4]=ve[2];var pe=new y.VersionedStruct(y.fixed32,{header:{italicAngle:y.fixed32,underlinePosition:y.int16,underlineThickness:y.int16,isFixedPitch:y.uint32,minMemType42:y.uint32,maxMemType42:y.uint32,minMemType1:y.uint32,maxMemType1:y.uint32},1:{},2:{numberOfGlyphs:y.uint16,glyphNameIndex:new y.Array(y.uint16,"numberOfGlyphs"),names:new y.Array(new y.String(y.uint8))},2.5:{numberOfGlyphs:y.uint16,offsets:new y.Array(y.uint8,"numberOfGlyphs")},3:{},4:{map:new y.Array(y.uint32,(function(r){return r.parent.maxp.numGlyphs}))}});var ge=new y.Struct({controlValues:new y.Array(y.int16)});var ye=new y.Struct({instructions:new y.Array(y.uint8)});var me=new y.VersionedStruct("head.indexToLocFormat",{0:{offsets:new y.Array(y.uint16)},1:{offsets:new y.Array(y.uint32)}});me.process=function(){if(0===(this||r).version)for(var i=0;i<(this||r).offsets.length;i++)(this||r).offsets[i]<<=1};me.preEncode=function(){if(0===(this||r).version)for(var i=0;i<(this||r).offsets.length;i++)(this||r).offsets[i]>>>=1};var be=new y.Struct({controlValueProgram:new y.Array(y.uint8)});var we=new y.Array(new y.Buffer);var _e=function(){function CFFIndex(i){(this||r).type=i}var i=CFFIndex.prototype;i.getCFFVersion=function getCFFVersion(r){while(r&&!r.hdrSize)r=r.parent;return r?r.version:-1};i.decode=function decode(i,o){var u=this.getCFFVersion(o);var p=u>=2?i.readUInt32BE():i.readUInt16BE();if(0===p)return[];var g=i.readUInt8();var w;if(1===g)w=y.uint8;else if(2===g)w=y.uint16;else if(3===g)w=y.uint24;else{if(4!==g)throw new Error("Bad offset size in CFFIndex: ".concat(g," ").concat(i.pos));w=y.uint32}var _=[];var x=i.pos+(p+1)*g-1;var k=w.decode(i);for(var P=0;P>4;if(p===Se)break;o+=xe[p];var g=15&u;if(g===Se)break;o+=xe[g]}return parseFloat(o)}return null};CFFOperand.size=function size(r){r.forceLarge&&(r=32768);if((0|r)!==r){var i=""+r;return 1+Math.ceil((i.length+1)/2)}return-107<=r&&r<=107?1:108<=r&&r<=1131||-1131<=r&&r<=-108?2:-32768<=r&&r<=32767?3:5};CFFOperand.encode=function encode(r,i){var o=Number(i);if(i.forceLarge){r.writeUInt8(29);return r.writeInt32BE(o)}if((0|o)===o){if(-107<=o&&o<=107)return r.writeUInt8(o+139);if(108<=o&&o<=1131){o-=108;r.writeUInt8(247+(o>>8));return r.writeUInt8(255&o)}if(-1131<=o&&o<=-108){o=-o-108;r.writeUInt8(251+(o>>8));return r.writeUInt8(255&o)}if(-32768<=o&&o<=32767){r.writeUInt8(28);return r.writeInt16BE(o)}r.writeUInt8(29);return r.writeInt32BE(o)}r.writeUInt8(30);var u=""+o;for(var p=0;pu)o.pop()};return CFFBlendOp}();var Ie=new Pe([[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","number",.039625],[[12,10],"BlueShift","number",7],[[12,11],"BlueFuzz","number",1],[10,"StdHW","number",null],[11,"StdVW","number",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","boolean",false],[[12,17],"LanguageGroup","number",0],[[12,18],"ExpansionFactor","number",.06],[[12,19],"initialRandomSeed","number",0],[20,"defaultWidthX","number",0],[21,"nominalWidthX","number",0],[22,"vsindex","number",0],[23,"blend",Te,null],[19,"Subrs",new Ae(new _e,{type:"local"}),null]]);var Oe=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];var Be=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"];var Le=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];var Fe=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];var Re=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];var De=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];var Me=new y.Struct({reserved:new y.Reserved(y.uint16),reqFeatureIndex:y.uint16,featureCount:y.uint16,featureIndexes:new y.Array(y.uint16,"featureCount")});var Ne=new y.Struct({tag:new y.String(4),langSys:new y.Pointer(y.uint16,Me,{type:"parent"})});var We=new y.Struct({defaultLangSys:new y.Pointer(y.uint16,Me),count:y.uint16,langSysRecords:new y.Array(Ne,"count")});var Ue=new y.Struct({tag:new y.String(4),script:new y.Pointer(y.uint16,We,{type:"parent"})});var ze=new y.Array(Ue,y.uint16);var je=new y.Struct({featureParams:y.uint16,lookupCount:y.uint16,lookupListIndexes:new y.Array(y.uint16,"lookupCount")});var Ge=new y.Struct({tag:new y.String(4),feature:new y.Pointer(y.uint16,je,{type:"parent"})});var Ve=new y.Array(Ge,y.uint16);var He=new y.Struct({markAttachmentType:y.uint8,flags:new y.Bitfield(y.uint8,["rightToLeft","ignoreBaseGlyphs","ignoreLigatures","ignoreMarks","useMarkFilteringSet"])});function LookupList(r){var i=new y.Struct({lookupType:y.uint16,flags:He,subTableCount:y.uint16,subTables:new y.Array(new y.Pointer(y.uint16,r),"subTableCount"),markFilteringSet:new y.Optional(y.uint16,(function(r){return r.flags.flags.useMarkFilteringSet}))});return new y.LazyArray(new y.Pointer(y.uint16,i),y.uint16)}var qe=new y.Struct({start:y.uint16,end:y.uint16,startCoverageIndex:y.uint16});var Xe=new y.VersionedStruct(y.uint16,{1:{glyphCount:y.uint16,glyphs:new y.Array(y.uint16,"glyphCount")},2:{rangeCount:y.uint16,rangeRecords:new y.Array(qe,"rangeCount")}});var Ze=new y.Struct({start:y.uint16,end:y.uint16,class:y.uint16});var Ke=new y.VersionedStruct(y.uint16,{1:{startGlyph:y.uint16,glyphCount:y.uint16,classValueArray:new y.Array(y.uint16,"glyphCount")},2:{classRangeCount:y.uint16,classRangeRecord:new y.Array(Ze,"classRangeCount")}});var Ye=new y.Struct({a:y.uint16,b:y.uint16,deltaFormat:y.uint16});var Je=new y.Struct({sequenceIndex:y.uint16,lookupListIndex:y.uint16});var Qe=new y.Struct({glyphCount:y.uint16,lookupCount:y.uint16,input:new y.Array(y.uint16,(function(r){return r.glyphCount-1})),lookupRecords:new y.Array(Je,"lookupCount")});var $e=new y.Array(new y.Pointer(y.uint16,Qe),y.uint16);var et=new y.Struct({glyphCount:y.uint16,lookupCount:y.uint16,classes:new y.Array(y.uint16,(function(r){return r.glyphCount-1})),lookupRecords:new y.Array(Je,"lookupCount")});var tt=new y.Array(new y.Pointer(y.uint16,et),y.uint16);var rt=new y.VersionedStruct(y.uint16,{1:{coverage:new y.Pointer(y.uint16,Xe),ruleSetCount:y.uint16,ruleSets:new y.Array(new y.Pointer(y.uint16,$e),"ruleSetCount")},2:{coverage:new y.Pointer(y.uint16,Xe),classDef:new y.Pointer(y.uint16,Ke),classSetCnt:y.uint16,classSet:new y.Array(new y.Pointer(y.uint16,tt),"classSetCnt")},3:{glyphCount:y.uint16,lookupCount:y.uint16,coverages:new y.Array(new y.Pointer(y.uint16,Xe),"glyphCount"),lookupRecords:new y.Array(Je,"lookupCount")}});var nt=new y.Struct({backtrackGlyphCount:y.uint16,backtrack:new y.Array(y.uint16,"backtrackGlyphCount"),inputGlyphCount:y.uint16,input:new y.Array(y.uint16,(function(r){return r.inputGlyphCount-1})),lookaheadGlyphCount:y.uint16,lookahead:new y.Array(y.uint16,"lookaheadGlyphCount"),lookupCount:y.uint16,lookupRecords:new y.Array(Je,"lookupCount")});var at=new y.Array(new y.Pointer(y.uint16,nt),y.uint16);var it=new y.VersionedStruct(y.uint16,{1:{coverage:new y.Pointer(y.uint16,Xe),chainCount:y.uint16,chainRuleSets:new y.Array(new y.Pointer(y.uint16,at),"chainCount")},2:{coverage:new y.Pointer(y.uint16,Xe),backtrackClassDef:new y.Pointer(y.uint16,Ke),inputClassDef:new y.Pointer(y.uint16,Ke),lookaheadClassDef:new y.Pointer(y.uint16,Ke),chainCount:y.uint16,chainClassSet:new y.Array(new y.Pointer(y.uint16,at),"chainCount")},3:{backtrackGlyphCount:y.uint16,backtrackCoverage:new y.Array(new y.Pointer(y.uint16,Xe),"backtrackGlyphCount"),inputGlyphCount:y.uint16,inputCoverage:new y.Array(new y.Pointer(y.uint16,Xe),"inputGlyphCount"),lookaheadGlyphCount:y.uint16,lookaheadCoverage:new y.Array(new y.Pointer(y.uint16,Xe),"lookaheadGlyphCount"),lookupCount:y.uint16,lookupRecords:new y.Array(Je,"lookupCount")}});var ot=new y.Fixed(16,"BE",14);var st=new y.Struct({startCoord:ot,peakCoord:ot,endCoord:ot});var lt=new y.Struct({axisCount:y.uint16,regionCount:y.uint16,variationRegions:new y.Array(new y.Array(st,"axisCount"),"regionCount")});var ut=new y.Struct({shortDeltas:new y.Array(y.int16,(function(r){return r.parent.shortDeltaCount})),regionDeltas:new y.Array(y.int8,(function(r){return r.parent.regionIndexCount-r.parent.shortDeltaCount})),deltas:function deltas(r){return r.shortDeltas.concat(r.regionDeltas)}});var ct=new y.Struct({itemCount:y.uint16,shortDeltaCount:y.uint16,regionIndexCount:y.uint16,regionIndexes:new y.Array(y.uint16,"regionIndexCount"),deltaSets:new y.Array(ut,"itemCount")});var ft=new y.Struct({format:y.uint16,variationRegionList:new y.Pointer(y.uint32,lt),variationDataCount:y.uint16,itemVariationData:new y.Array(new y.Pointer(y.uint32,ct),"variationDataCount")});var ht=new y.VersionedStruct(y.uint16,{1:(g={axisIndex:y.uint16},g.axisIndex=y.uint16,g.filterRangeMinValue=ot,g.filterRangeMaxValue=ot,g)});var dt=new y.Struct({conditionCount:y.uint16,conditionTable:new y.Array(new y.Pointer(y.uint32,ht),"conditionCount")});var vt=new y.Struct({featureIndex:y.uint16,alternateFeatureTable:new y.Pointer(y.uint32,je,{type:"parent"})});var pt=new y.Struct({version:y.fixed32,substitutionCount:y.uint16,substitutions:new y.Array(vt,"substitutionCount")});var gt=new y.Struct({conditionSet:new y.Pointer(y.uint32,dt,{type:"parent"}),featureTableSubstitution:new y.Pointer(y.uint32,pt,{type:"parent"})});var yt=new y.Struct({majorVersion:y.uint16,minorVersion:y.uint16,featureVariationRecordCount:y.uint32,featureVariationRecords:new y.Array(gt,"featureVariationRecordCount")});var mt=function(){function PredefinedOp(i,o){(this||r).predefinedOps=i;(this||r).type=o}var i=PredefinedOp.prototype;i.decode=function decode(i,o,u){return(this||r).predefinedOps[u[0]]?(this||r).predefinedOps[u[0]]:(this||r).type.decode(i,o,u)};i.size=function size(i,o){return(this||r).type.size(i,o)};i.encode=function encode(i,o,u){var p=(this||r).predefinedOps.indexOf(o);return-1!==p?p:(this||r).type.encode(i,o,u)};return PredefinedOp}();var bt=function(i){_inheritsLoose(CFFEncodingVersion,i);function CFFEncodingVersion(){return i.call(this||r,"UInt8")||this||r}var o=CFFEncodingVersion.prototype;o.decode=function decode(r){return 127&y.uint8.decode(r)};return CFFEncodingVersion}(y.Number);var wt=new y.Struct({first:y.uint16,nLeft:y.uint8});var _t=new y.Struct({first:y.uint16,nLeft:y.uint16});var St=new y.VersionedStruct(new bt,{0:{nCodes:y.uint8,codes:new y.Array(y.uint8,"nCodes")},1:{nRanges:y.uint8,ranges:new y.Array(wt,"nRanges")}});var xt=new mt([Be,Le],new Ae(St,{lazy:true}));var Ct=function(i){_inheritsLoose(RangeArray,i);function RangeArray(){return i.apply(this||r,arguments)||this||r}var o=RangeArray.prototype;o.decode=function decode(i,o){var u=w.resolveLength((this||r).length,i,o);var p=0;var g=[];while(p=2?null:i=2)return null;if((this||r).isCIDFont)return null;var o=(this||r).topDict.charset;if(Array.isArray(o))return o[i];if(0===i)return".notdef";i-=1;switch(o.version){case 0:return this.string(o.glyphs[i]);case 1:case 2:for(var u=0;u>1;if(i=o[g+1].first))return o[g].fd;u=g+1}}default:throw new Error("Unknown FDSelect version: ".concat((this||r).topDict.FDSelect.version))}};i.privateDictForGlyph=function privateDictForGlyph(i){if((this||r).topDict.FDSelect){var o=this.fdForGlyph(i);return(this||r).topDict.FDArray[o]?(this||r).topDict.FDArray[o].Private:null}return(this||r).version<2?(this||r).topDict.Private:(this||r).topDict.FDArray[0].Private};_createClass(CFFFont,[{key:"postscriptName",get:function get(){return(this||r).version<2?(this||r).nameIndex[0]:null}},{key:"fullName",get:function get(){return this.string((this||r).topDict.FullName)}},{key:"familyName",get:function get(){return this.string((this||r).topDict.FamilyName)}}]);return CFFFont}();var Nt=new y.Struct({glyphIndex:y.uint16,vertOriginY:y.int16});var Wt=new y.Struct({majorVersion:y.uint16,minorVersion:y.uint16,defaultVertOriginY:y.int16,numVertOriginYMetrics:y.uint16,metrics:new y.Array(Nt,"numVertOriginYMetrics")});var Ut=new y.Struct({height:y.uint8,width:y.uint8,horiBearingX:y.int8,horiBearingY:y.int8,horiAdvance:y.uint8,vertBearingX:y.int8,vertBearingY:y.int8,vertAdvance:y.uint8});var zt=new y.Struct({height:y.uint8,width:y.uint8,bearingX:y.int8,bearingY:y.int8,advance:y.uint8});var jt=new y.Struct({glyph:y.uint16,xOffset:y.int8,yOffset:y.int8});var Gt=function ByteAligned(){};var Vt=function BitAligned(){};new y.VersionedStruct("version",{1:{metrics:zt,data:Gt},2:{metrics:zt,data:Vt},5:{data:Vt},6:{metrics:Ut,data:Gt},7:{metrics:Ut,data:Vt},8:{metrics:zt,pad:new y.Reserved(y.uint8),numComponents:y.uint16,components:new y.Array(jt,"numComponents")},9:{metrics:Ut,pad:new y.Reserved(y.uint8),numComponents:y.uint16,components:new y.Array(jt,"numComponents")},17:{metrics:zt,dataLen:y.uint32,data:new y.Buffer("dataLen")},18:{metrics:Ut,dataLen:y.uint32,data:new y.Buffer("dataLen")},19:{dataLen:y.uint32,data:new y.Buffer("dataLen")}});var Ht=new y.Struct({ascender:y.int8,descender:y.int8,widthMax:y.uint8,caretSlopeNumerator:y.int8,caretSlopeDenominator:y.int8,caretOffset:y.int8,minOriginSB:y.int8,minAdvanceSB:y.int8,maxBeforeBL:y.int8,minAfterBL:y.int8,pad:new y.Reserved(y.int8,2)});var qt=new y.Struct({glyphCode:y.uint16,offset:y.uint16});var Xt=new y.VersionedStruct(y.uint16,{header:{imageFormat:y.uint16,imageDataOffset:y.uint32},1:{offsetArray:new y.Array(y.uint32,(function(r){return r.parent.lastGlyphIndex-r.parent.firstGlyphIndex+1}))},2:{imageSize:y.uint32,bigMetrics:Ut},3:{offsetArray:new y.Array(y.uint16,(function(r){return r.parent.lastGlyphIndex-r.parent.firstGlyphIndex+1}))},4:{numGlyphs:y.uint32,glyphArray:new y.Array(qt,(function(r){return r.numGlyphs+1}))},5:{imageSize:y.uint32,bigMetrics:Ut,numGlyphs:y.uint32,glyphCodeArray:new y.Array(y.uint16,"numGlyphs")}});var Zt=new y.Struct({firstGlyphIndex:y.uint16,lastGlyphIndex:y.uint16,subtable:new y.Pointer(y.uint32,Xt)});var Kt=new y.Struct({indexSubTableArray:new y.Pointer(y.uint32,new y.Array(Zt,1),{type:"parent"}),indexTablesSize:y.uint32,numberOfIndexSubTables:y.uint32,colorRef:y.uint32,hori:Ht,vert:Ht,startGlyphIndex:y.uint16,endGlyphIndex:y.uint16,ppemX:y.uint8,ppemY:y.uint8,bitDepth:y.uint8,flags:new y.Bitfield(y.uint8,["horizontal","vertical"])});var Yt=new y.Struct({version:y.uint32,numSizes:y.uint32,sizes:new y.Array(Kt,"numSizes")});var Jt=new y.Struct({ppem:y.uint16,resolution:y.uint16,imageOffsets:new y.Array(new y.Pointer(y.uint32,"void"),(function(r){return r.parent.parent.maxp.numGlyphs+1}))});var Qt=new y.Struct({version:y.uint16,flags:new y.Bitfield(y.uint16,["renderOutlines"]),numImgTables:y.uint32,imageTables:new y.Array(new y.Pointer(y.uint32,Jt),"numImgTables")});var $t=new y.Struct({gid:y.uint16,paletteIndex:y.uint16});var er=new y.Struct({gid:y.uint16,firstLayerIndex:y.uint16,numLayers:y.uint16});var tr=new y.Struct({version:y.uint16,numBaseGlyphRecords:y.uint16,baseGlyphRecord:new y.Pointer(y.uint32,new y.Array(er,"numBaseGlyphRecords")),layerRecords:new y.Pointer(y.uint32,new y.Array($t,"numLayerRecords"),{lazy:true}),numLayerRecords:y.uint16});var rr=new y.Struct({blue:y.uint8,green:y.uint8,red:y.uint8,alpha:y.uint8});var nr=new y.VersionedStruct(y.uint16,{header:{numPaletteEntries:y.uint16,numPalettes:y.uint16,numColorRecords:y.uint16,colorRecords:new y.Pointer(y.uint32,new y.Array(rr,"numColorRecords")),colorRecordIndices:new y.Array(y.uint16,"numPalettes")},0:{},1:{offsetPaletteTypeArray:new y.Pointer(y.uint32,new y.Array(y.uint32,"numPalettes")),offsetPaletteLabelArray:new y.Pointer(y.uint32,new y.Array(y.uint16,"numPalettes")),offsetPaletteEntryLabelArray:new y.Pointer(y.uint32,new y.Array(y.uint16,"numPaletteEntries"))}});var ar=new y.VersionedStruct(y.uint16,{1:{coordinate:y.int16},2:{coordinate:y.int16,referenceGlyph:y.uint16,baseCoordPoint:y.uint16},3:{coordinate:y.int16,deviceTable:new y.Pointer(y.uint16,Ye)}});var ir=new y.Struct({defaultIndex:y.uint16,baseCoordCount:y.uint16,baseCoords:new y.Array(new y.Pointer(y.uint16,ar),"baseCoordCount")});var or=new y.Struct({tag:new y.String(4),minCoord:new y.Pointer(y.uint16,ar,{type:"parent"}),maxCoord:new y.Pointer(y.uint16,ar,{type:"parent"})});var sr=new y.Struct({minCoord:new y.Pointer(y.uint16,ar),maxCoord:new y.Pointer(y.uint16,ar),featMinMaxCount:y.uint16,featMinMaxRecords:new y.Array(or,"featMinMaxCount")});var lr=new y.Struct({tag:new y.String(4),minMax:new y.Pointer(y.uint16,sr,{type:"parent"})});var ur=new y.Struct({baseValues:new y.Pointer(y.uint16,ir),defaultMinMax:new y.Pointer(y.uint16,sr),baseLangSysCount:y.uint16,baseLangSysRecords:new y.Array(lr,"baseLangSysCount")});var cr=new y.Struct({tag:new y.String(4),script:new y.Pointer(y.uint16,ur,{type:"parent"})});var fr=new y.Array(cr,y.uint16);var hr=new y.Array(new y.String(4),y.uint16);var dr=new y.Struct({baseTagList:new y.Pointer(y.uint16,hr),baseScriptList:new y.Pointer(y.uint16,fr)});var vr=new y.VersionedStruct(y.uint32,{header:{horizAxis:new y.Pointer(y.uint16,dr),vertAxis:new y.Pointer(y.uint16,dr)},65536:{},65537:{itemVariationStore:new y.Pointer(y.uint32,ft)}});var pr=new y.Array(y.uint16,y.uint16);var gr=new y.Struct({coverage:new y.Pointer(y.uint16,Xe),glyphCount:y.uint16,attachPoints:new y.Array(new y.Pointer(y.uint16,pr),"glyphCount")});var yr=new y.VersionedStruct(y.uint16,{1:{coordinate:y.int16},2:{caretValuePoint:y.uint16},3:{coordinate:y.int16,deviceTable:new y.Pointer(y.uint16,Ye)}});var mr=new y.Array(new y.Pointer(y.uint16,yr),y.uint16);var br=new y.Struct({coverage:new y.Pointer(y.uint16,Xe),ligGlyphCount:y.uint16,ligGlyphs:new y.Array(new y.Pointer(y.uint16,mr),"ligGlyphCount")});var wr=new y.Struct({markSetTableFormat:y.uint16,markSetCount:y.uint16,coverage:new y.Array(new y.Pointer(y.uint32,Xe),"markSetCount")});var _r=new y.VersionedStruct(y.uint32,{header:{glyphClassDef:new y.Pointer(y.uint16,Ke),attachList:new y.Pointer(y.uint16,gr),ligCaretList:new y.Pointer(y.uint16,br),markAttachClassDef:new y.Pointer(y.uint16,Ke)},65536:{},65538:{markGlyphSetsDef:new y.Pointer(y.uint16,wr)},65539:{markGlyphSetsDef:new y.Pointer(y.uint16,wr),itemVariationStore:new y.Pointer(y.uint32,ft)}});var Sr=new y.Bitfield(y.uint16,["xPlacement","yPlacement","xAdvance","yAdvance","xPlaDevice","yPlaDevice","xAdvDevice","yAdvDevice"]);var xr={xPlacement:y.int16,yPlacement:y.int16,xAdvance:y.int16,yAdvance:y.int16,xPlaDevice:new y.Pointer(y.uint16,Ye,{type:"global",relativeTo:function relativeTo(r){return r.rel}}),yPlaDevice:new y.Pointer(y.uint16,Ye,{type:"global",relativeTo:function relativeTo(r){return r.rel}}),xAdvDevice:new y.Pointer(y.uint16,Ye,{type:"global",relativeTo:function relativeTo(r){return r.rel}}),yAdvDevice:new y.Pointer(y.uint16,Ye,{type:"global",relativeTo:function relativeTo(r){return r.rel}})};var Cr=function(){function ValueRecord(i){void 0===i&&(i="valueFormat");(this||r).key=i}var i=ValueRecord.prototype;i.buildStruct=function buildStruct(i){var o=i;while(!o[(this||r).key]&&o.parent)o=o.parent;if(o[(this||r).key]){var u={};u.rel=function(){return o._startOffset};var p=o[(this||r).key];for(var g in p)p[g]&&(u[g]=xr[g]);return new y.Struct(u)}};i.size=function size(r,i){return this.buildStruct(i).size(r,i)};i.decode=function decode(r,i){var o=this.buildStruct(i).decode(r,i);delete o.rel;return o};return ValueRecord}();var kr=new y.Struct({secondGlyph:y.uint16,value1:new Cr("valueFormat1"),value2:new Cr("valueFormat2")});var Pr=new y.Array(kr,y.uint16);var Ar=new y.Struct({value1:new Cr("valueFormat1"),value2:new Cr("valueFormat2")});var Er=new y.VersionedStruct(y.uint16,{1:{xCoordinate:y.int16,yCoordinate:y.int16},2:{xCoordinate:y.int16,yCoordinate:y.int16,anchorPoint:y.uint16},3:{xCoordinate:y.int16,yCoordinate:y.int16,xDeviceTable:new y.Pointer(y.uint16,Ye),yDeviceTable:new y.Pointer(y.uint16,Ye)}});var Tr=new y.Struct({entryAnchor:new y.Pointer(y.uint16,Er,{type:"parent"}),exitAnchor:new y.Pointer(y.uint16,Er,{type:"parent"})});var Ir=new y.Struct({class:y.uint16,markAnchor:new y.Pointer(y.uint16,Er,{type:"parent"})});var Or=new y.Array(Ir,y.uint16);var Br=new y.Array(new y.Pointer(y.uint16,Er),(function(r){return r.parent.classCount}));var Lr=new y.Array(Br,y.uint16);var Fr=new y.Array(new y.Pointer(y.uint16,Er),(function(r){return r.parent.parent.classCount}));var Rr=new y.Array(Fr,y.uint16);var Dr=new y.Array(new y.Pointer(y.uint16,Rr),y.uint16);var Mr=new y.VersionedStruct("lookupType",{1:new y.VersionedStruct(y.uint16,{1:{coverage:new y.Pointer(y.uint16,Xe),valueFormat:Sr,value:new Cr},2:{coverage:new y.Pointer(y.uint16,Xe),valueFormat:Sr,valueCount:y.uint16,values:new y.LazyArray(new Cr,"valueCount")}}),2:new y.VersionedStruct(y.uint16,{1:{coverage:new y.Pointer(y.uint16,Xe),valueFormat1:Sr,valueFormat2:Sr,pairSetCount:y.uint16,pairSets:new y.LazyArray(new y.Pointer(y.uint16,Pr),"pairSetCount")},2:{coverage:new y.Pointer(y.uint16,Xe),valueFormat1:Sr,valueFormat2:Sr,classDef1:new y.Pointer(y.uint16,Ke),classDef2:new y.Pointer(y.uint16,Ke),class1Count:y.uint16,class2Count:y.uint16,classRecords:new y.LazyArray(new y.LazyArray(Ar,"class2Count"),"class1Count")}}),3:{format:y.uint16,coverage:new y.Pointer(y.uint16,Xe),entryExitCount:y.uint16,entryExitRecords:new y.Array(Tr,"entryExitCount")},4:{format:y.uint16,markCoverage:new y.Pointer(y.uint16,Xe),baseCoverage:new y.Pointer(y.uint16,Xe),classCount:y.uint16,markArray:new y.Pointer(y.uint16,Or),baseArray:new y.Pointer(y.uint16,Lr)},5:{format:y.uint16,markCoverage:new y.Pointer(y.uint16,Xe),ligatureCoverage:new y.Pointer(y.uint16,Xe),classCount:y.uint16,markArray:new y.Pointer(y.uint16,Or),ligatureArray:new y.Pointer(y.uint16,Dr)},6:{format:y.uint16,mark1Coverage:new y.Pointer(y.uint16,Xe),mark2Coverage:new y.Pointer(y.uint16,Xe),classCount:y.uint16,mark1Array:new y.Pointer(y.uint16,Or),mark2Array:new y.Pointer(y.uint16,Lr)},7:rt,8:it,9:{posFormat:y.uint16,lookupType:y.uint16,extension:new y.Pointer(y.uint32,Mr)}});Mr.versions[9].extension.type=Mr;var Nr=new y.VersionedStruct(y.uint32,{header:{scriptList:new y.Pointer(y.uint16,ze),featureList:new y.Pointer(y.uint16,Ve),lookupList:new y.Pointer(y.uint16,new LookupList(Mr))},65536:{},65537:{featureVariations:new y.Pointer(y.uint32,yt)}});var Wr=new y.Array(y.uint16,y.uint16);var Ur=Wr;var zr=new y.Struct({glyph:y.uint16,compCount:y.uint16,components:new y.Array(y.uint16,(function(r){return r.compCount-1}))});var jr=new y.Array(new y.Pointer(y.uint16,zr),y.uint16);var Gr=new y.VersionedStruct("lookupType",{1:new y.VersionedStruct(y.uint16,{1:{coverage:new y.Pointer(y.uint16,Xe),deltaGlyphID:y.int16},2:{coverage:new y.Pointer(y.uint16,Xe),glyphCount:y.uint16,substitute:new y.LazyArray(y.uint16,"glyphCount")}}),2:{substFormat:y.uint16,coverage:new y.Pointer(y.uint16,Xe),count:y.uint16,sequences:new y.LazyArray(new y.Pointer(y.uint16,Wr),"count")},3:{substFormat:y.uint16,coverage:new y.Pointer(y.uint16,Xe),count:y.uint16,alternateSet:new y.LazyArray(new y.Pointer(y.uint16,Ur),"count")},4:{substFormat:y.uint16,coverage:new y.Pointer(y.uint16,Xe),count:y.uint16,ligatureSets:new y.LazyArray(new y.Pointer(y.uint16,jr),"count")},5:rt,6:it,7:{substFormat:y.uint16,lookupType:y.uint16,extension:new y.Pointer(y.uint32,Gr)},8:{substFormat:y.uint16,coverage:new y.Pointer(y.uint16,Xe),backtrackCoverage:new y.Array(new y.Pointer(y.uint16,Xe),"backtrackGlyphCount"),lookaheadGlyphCount:y.uint16,lookaheadCoverage:new y.Array(new y.Pointer(y.uint16,Xe),"lookaheadGlyphCount"),glyphCount:y.uint16,substitutes:new y.Array(y.uint16,"glyphCount")}});Gr.versions[7].extension.type=Gr;var Vr=new y.VersionedStruct(y.uint32,{header:{scriptList:new y.Pointer(y.uint16,ze),featureList:new y.Pointer(y.uint16,Ve),lookupList:new y.Pointer(y.uint16,new LookupList(Gr))},65536:{},65537:{featureVariations:new y.Pointer(y.uint32,yt)}});var Hr=new y.Array(y.uint16,y.uint16);var qr=new y.Struct({shrinkageEnableGSUB:new y.Pointer(y.uint16,Hr),shrinkageDisableGSUB:new y.Pointer(y.uint16,Hr),shrinkageEnableGPOS:new y.Pointer(y.uint16,Hr),shrinkageDisableGPOS:new y.Pointer(y.uint16,Hr),shrinkageJstfMax:new y.Pointer(y.uint16,new LookupList(Mr)),extensionEnableGSUB:new y.Pointer(y.uint16,Hr),extensionDisableGSUB:new y.Pointer(y.uint16,Hr),extensionEnableGPOS:new y.Pointer(y.uint16,Hr),extensionDisableGPOS:new y.Pointer(y.uint16,Hr),extensionJstfMax:new y.Pointer(y.uint16,new LookupList(Mr))});var Xr=new y.Array(new y.Pointer(y.uint16,qr),y.uint16);var Zr=new y.Struct({tag:new y.String(4),jstfLangSys:new y.Pointer(y.uint16,Xr)});var Kr=new y.Struct({extenderGlyphs:new y.Pointer(y.uint16,new y.Array(y.uint16,y.uint16)),defaultLangSys:new y.Pointer(y.uint16,Xr),langSysCount:y.uint16,langSysRecords:new y.Array(Zr,"langSysCount")});var Yr=new y.Struct({tag:new y.String(4),script:new y.Pointer(y.uint16,Kr,{type:"parent"})});var Jr=new y.Struct({version:y.uint32,scriptCount:y.uint16,scriptList:new y.Array(Yr,"scriptCount")});var Qr=function(){function VariableSizeNumber(i){(this||r)._size=i}var i=VariableSizeNumber.prototype;i.decode=function decode(r,i){switch(this.size(0,i)){case 1:return r.readUInt8();case 2:return r.readUInt16BE();case 3:return r.readUInt24BE();case 4:return r.readUInt32BE()}};i.size=function size(i,o){return w.resolveLength((this||r)._size,null,o)};return VariableSizeNumber}();var $r=new y.Struct({entry:new Qr((function(r){return 1+((48&r.parent.entryFormat)>>4)})),outerIndex:function outerIndex(r){return r.entry>>1+(15&r.parent.entryFormat)},innerIndex:function innerIndex(r){return r.entry&(1<<1+(15&r.parent.entryFormat))-1}});var en=new y.Struct({entryFormat:y.uint16,mapCount:y.uint16,mapData:new y.Array($r,"mapCount")});var tn=new y.Struct({majorVersion:y.uint16,minorVersion:y.uint16,itemVariationStore:new y.Pointer(y.uint32,ft),advanceWidthMapping:new y.Pointer(y.uint32,en),LSBMapping:new y.Pointer(y.uint32,en),RSBMapping:new y.Pointer(y.uint32,en)});var rn=new y.Struct({format:y.uint32,length:y.uint32,offset:y.uint32});var nn=new y.Struct({reserved:new y.Reserved(y.uint16,2),cbSignature:y.uint32,signature:new y.Buffer("cbSignature")});var an=new y.Struct({ulVersion:y.uint32,usNumSigs:y.uint16,usFlag:y.uint16,signatures:new y.Array(rn,"usNumSigs"),signatureBlocks:new y.Array(nn,"usNumSigs")});var on=new y.Struct({rangeMaxPPEM:y.uint16,rangeGaspBehavior:new y.Bitfield(y.uint16,["grayscale","gridfit","symmetricSmoothing","symmetricGridfit"])});var sn=new y.Struct({version:y.uint16,numRanges:y.uint16,gaspRanges:new y.Array(on,"numRanges")});var ln=new y.Struct({pixelSize:y.uint8,maximumWidth:y.uint8,widths:new y.Array(y.uint8,(function(r){return r.parent.parent.maxp.numGlyphs}))});var un=new y.Struct({version:y.uint16,numRecords:y.int16,sizeDeviceRecord:y.int32,records:new y.Array(ln,"numRecords")});var cn=new y.Struct({left:y.uint16,right:y.uint16,value:y.int16});var hn=new y.Struct({firstGlyph:y.uint16,nGlyphs:y.uint16,offsets:new y.Array(y.uint16,"nGlyphs"),max:function max(r){return r.offsets.length&&Math.max.apply(Math,r.offsets)}});var dn=new y.Struct({off:function off(r){return r._startOffset-r.parent.parent._startOffset},len:function len(r){return((r.parent.leftTable.max-r.off)/r.parent.rowWidth+1)*(r.parent.rowWidth/2)},values:new y.LazyArray(y.int16,"len")});var vn=new y.VersionedStruct("format",{0:{nPairs:y.uint16,searchRange:y.uint16,entrySelector:y.uint16,rangeShift:y.uint16,pairs:new y.Array(cn,"nPairs")},2:{rowWidth:y.uint16,leftTable:new y.Pointer(y.uint16,hn,{type:"parent"}),rightTable:new y.Pointer(y.uint16,hn,{type:"parent"}),array:new y.Pointer(y.uint16,dn,{type:"parent"})},3:{glyphCount:y.uint16,kernValueCount:y.uint8,leftClassCount:y.uint8,rightClassCount:y.uint8,flags:y.uint8,kernValue:new y.Array(y.int16,"kernValueCount"),leftClass:new y.Array(y.uint8,"glyphCount"),rightClass:new y.Array(y.uint8,"glyphCount"),kernIndex:new y.Array(y.uint8,(function(r){return r.leftClassCount*r.rightClassCount}))}});var pn=new y.VersionedStruct("version",{0:{subVersion:y.uint16,length:y.uint16,format:y.uint8,coverage:new y.Bitfield(y.uint8,["horizontal","minimum","crossStream","override"]),subtable:vn,padding:new y.Reserved(y.uint8,(function(r){return r.length-r._currentOffset}))},1:{length:y.uint32,coverage:new y.Bitfield(y.uint8,[null,null,null,null,null,"variation","crossStream","vertical"]),format:y.uint8,tupleIndex:y.uint16,subtable:vn,padding:new y.Reserved(y.uint8,(function(r){return r.length-r._currentOffset}))}});var gn=new y.VersionedStruct(y.uint16,{0:{nTables:y.uint16,tables:new y.Array(pn,"nTables")},1:{reserved:new y.Reserved(y.uint16),nTables:y.uint32,tables:new y.Array(pn,"nTables")}});var yn=new y.Struct({version:y.uint16,numGlyphs:y.uint16,yPels:new y.Array(y.uint8,"numGlyphs")});var mn=new y.Struct({version:y.uint16,fontNumber:y.uint32,pitch:y.uint16,xHeight:y.uint16,style:y.uint16,typeFamily:y.uint16,capHeight:y.uint16,symbolSet:y.uint16,typeface:new y.String(16),characterComplement:new y.String(8),fileName:new y.String(6),strokeWeight:new y.String(1),widthType:new y.String(1),serifStyle:y.uint8,reserved:new y.Reserved(y.uint8)});var bn=new y.Struct({bCharSet:y.uint8,xRatio:y.uint8,yStartRatio:y.uint8,yEndRatio:y.uint8});var wn=new y.Struct({yPelHeight:y.uint16,yMax:y.int16,yMin:y.int16});var _n=new y.Struct({recs:y.uint16,startsz:y.uint8,endsz:y.uint8,entries:new y.Array(wn,"recs")});var Sn=new y.Struct({version:y.uint16,numRecs:y.uint16,numRatios:y.uint16,ratioRanges:new y.Array(bn,"numRatios"),offsets:new y.Array(y.uint16,"numRatios"),groups:new y.Array(_n,"numRecs")});var xn=new y.Struct({version:y.uint16,ascent:y.int16,descent:y.int16,lineGap:y.int16,advanceHeightMax:y.int16,minTopSideBearing:y.int16,minBottomSideBearing:y.int16,yMaxExtent:y.int16,caretSlopeRise:y.int16,caretSlopeRun:y.int16,caretOffset:y.int16,reserved:new y.Reserved(y.int16,4),metricDataFormat:y.int16,numberOfMetrics:y.uint16});var Cn=new y.Struct({advance:y.uint16,bearing:y.int16});var kn=new y.Struct({metrics:new y.LazyArray(Cn,(function(r){return r.parent.vhea.numberOfMetrics})),bearings:new y.LazyArray(y.int16,(function(r){return r.parent.maxp.numGlyphs-r.parent.vhea.numberOfMetrics}))});var Pn=new y.Fixed(16,"BE",14);var An=new y.Struct({fromCoord:Pn,toCoord:Pn});var En=new y.Struct({pairCount:y.uint16,correspondence:new y.Array(An,"pairCount")});var Tn=new y.Struct({version:y.fixed32,axisCount:y.uint32,segment:new y.Array(En,"axisCount")});var In=function(){function UnboundedArrayAccessor(i,o,u){(this||r).type=i;(this||r).stream=o;(this||r).parent=u;(this||r).base=(this||r).stream.pos;(this||r)._items=[]}var i=UnboundedArrayAccessor.prototype;i.getItem=function getItem(i){if(null==(this||r)._items[i]){var o=(this||r).stream.pos;(this||r).stream.pos=(this||r).base+(this||r).type.size(null,(this||r).parent)*i;(this||r)._items[i]=(this||r).type.decode((this||r).stream,(this||r).parent);(this||r).stream.pos=o}return(this||r)._items[i]};i.inspect=function inspect(){return"[UnboundedArray ".concat((this||r).type.constructor.name,"]")};return UnboundedArrayAccessor}();var On=function(i){_inheritsLoose(UnboundedArray,i);function UnboundedArray(o){return i.call(this||r,o,0)||this||r}var o=UnboundedArray.prototype;o.decode=function decode(i,o){return new In((this||r).type,i,o)};return UnboundedArray}(y.Array);var Bn=function LookupTable(i){void 0===i&&(i=y.uint16);var o=function(){function Shadow(i){(this||r).type=i}var i=Shadow.prototype;i.decode=function decode(i,o){o=o.parent.parent;return(this||r).type.decode(i,o)};i.size=function size(i,o){o=o.parent.parent;return(this||r).type.size(i,o)};i.encode=function encode(i,o,u){u=u.parent.parent;return(this||r).type.encode(i,o,u)};return Shadow}();i=new o(i);var u=new y.Struct({unitSize:y.uint16,nUnits:y.uint16,searchRange:y.uint16,entrySelector:y.uint16,rangeShift:y.uint16});var p=new y.Struct({lastGlyph:y.uint16,firstGlyph:y.uint16,value:i});var g=new y.Struct({lastGlyph:y.uint16,firstGlyph:y.uint16,values:new y.Pointer(y.uint16,new y.Array(i,(function(r){return r.lastGlyph-r.firstGlyph+1})),{type:"parent"})});var w=new y.Struct({glyph:y.uint16,value:i});return new y.VersionedStruct(y.uint16,{0:{values:new On(i)},2:{binarySearchHeader:u,segments:new y.Array(p,(function(r){return r.binarySearchHeader.nUnits}))},4:{binarySearchHeader:u,segments:new y.Array(g,(function(r){return r.binarySearchHeader.nUnits}))},6:{binarySearchHeader:u,segments:new y.Array(w,(function(r){return r.binarySearchHeader.nUnits}))},8:{firstGlyph:y.uint16,count:y.uint16,values:new y.Array(i,"count")}})};function StateTable(r,i){void 0===r&&(r={});void 0===i&&(i=y.uint16);var o=Object.assign({newState:y.uint16,flags:y.uint16},r);var u=new y.Struct(o);var p=new On(new y.Array(y.uint16,(function(r){return r.nClasses})));var g=new y.Struct({nClasses:y.uint32,classTable:new y.Pointer(y.uint32,new Bn(i)),stateArray:new y.Pointer(y.uint32,p),entryTable:new y.Pointer(y.uint32,new On(u))});return g}function StateTable1(r,i){void 0===r&&(r={});void 0===i&&(i=y.uint16);var o=new y.Struct({version:function version(){return 8},firstGlyph:y.uint16,values:new y.Array(y.uint8,y.uint16)});var u=Object.assign({newStateOffset:y.uint16,newState:function newState(r){return(r.newStateOffset-(r.parent.stateArray.base-r.parent._startOffset))/r.parent.nClasses},flags:y.uint16},r);var p=new y.Struct(u);var g=new On(new y.Array(y.uint8,(function(r){return r.nClasses})));var w=new y.Struct({nClasses:y.uint16,classTable:new y.Pointer(y.uint16,o),stateArray:new y.Pointer(y.uint16,g),entryTable:new y.Pointer(y.uint16,new On(p))});return w}var Ln=new y.VersionedStruct("format",{0:{deltas:new y.Array(y.int16,32)},1:{deltas:new y.Array(y.int16,32),mappingData:new Bn(y.uint16)},2:{standardGlyph:y.uint16,controlPoints:new y.Array(y.uint16,32)},3:{standardGlyph:y.uint16,controlPoints:new y.Array(y.uint16,32),mappingData:new Bn(y.uint16)}});var Fn=new y.Struct({version:y.fixed32,format:y.uint16,defaultBaseline:y.uint16,subtable:Ln});var Rn=new y.Struct({setting:y.uint16,nameIndex:y.int16,name:function name(r){return r.parent.parent.parent.name.records.fontFeatures[r.nameIndex]}});var Dn=new y.Struct({feature:y.uint16,nSettings:y.uint16,settingTable:new y.Pointer(y.uint32,new y.Array(Rn,"nSettings"),{type:"parent"}),featureFlags:new y.Bitfield(y.uint8,[null,null,null,null,null,null,"hasDefault","exclusive"]),defaultSetting:y.uint8,nameIndex:y.int16,name:function name(r){return r.parent.parent.name.records.fontFeatures[r.nameIndex]}});var Mn=new y.Struct({version:y.fixed32,featureNameCount:y.uint16,reserved1:new y.Reserved(y.uint16),reserved2:new y.Reserved(y.uint32),featureNames:new y.Array(Dn,"featureNameCount")});var Nn=new y.Struct({axisTag:new y.String(4),minValue:y.fixed32,defaultValue:y.fixed32,maxValue:y.fixed32,flags:y.uint16,nameID:y.uint16,name:function name(r){return r.parent.parent.name.records.fontFeatures[r.nameID]}});var Wn=new y.Struct({nameID:y.uint16,name:function name(r){return r.parent.parent.name.records.fontFeatures[r.nameID]},flags:y.uint16,coord:new y.Array(y.fixed32,(function(r){return r.parent.axisCount})),postscriptNameID:new y.Optional(y.uint16,(function(r){return r.parent.instanceSize-r._currentOffset>0}))});var Un=new y.Struct({version:y.fixed32,offsetToData:y.uint16,countSizePairs:y.uint16,axisCount:y.uint16,axisSize:y.uint16,instanceCount:y.uint16,instanceSize:y.uint16,axis:new y.Array(Nn,"axisCount"),instance:new y.Array(Wn,"instanceCount")});var zn=new y.Fixed(16,"BE",14);var jn=function(){function Offset(){}Offset.decode=function decode(r,i){return i.flags?r.readUInt32BE():2*r.readUInt16BE()};return Offset}();var Gn=new y.Struct({version:y.uint16,reserved:new y.Reserved(y.uint16),axisCount:y.uint16,globalCoordCount:y.uint16,globalCoords:new y.Pointer(y.uint32,new y.Array(new y.Array(zn,"axisCount"),"globalCoordCount")),glyphCount:y.uint16,flags:y.uint16,offsetToData:y.uint32,offsets:new y.Array(new y.Pointer(jn,"void",{relativeTo:function relativeTo(r){return r.offsetToData},allowNull:false}),(function(r){return r.glyphCount+1}))});var Vn=new y.Struct({length:y.uint16,coverage:y.uint16,subFeatureFlags:y.uint32,stateTable:new StateTable1});var Hn=new y.Struct({justClass:y.uint32,beforeGrowLimit:y.fixed32,beforeShrinkLimit:y.fixed32,afterGrowLimit:y.fixed32,afterShrinkLimit:y.fixed32,growFlags:y.uint16,shrinkFlags:y.uint16});var qn=new y.Array(Hn,y.uint32);var Xn=new y.VersionedStruct("actionType",{0:{lowerLimit:y.fixed32,upperLimit:y.fixed32,order:y.uint16,glyphs:new y.Array(y.uint16,y.uint16)},1:{addGlyph:y.uint16},2:{substThreshold:y.fixed32,addGlyph:y.uint16,substGlyph:y.uint16},3:{},4:{variationAxis:y.uint32,minimumLimit:y.fixed32,noStretchValue:y.fixed32,maximumLimit:y.fixed32},5:{flags:y.uint16,glyph:y.uint16}});var Zn=new y.Struct({actionClass:y.uint16,actionType:y.uint16,actionLength:y.uint32,actionData:Xn,padding:new y.Reserved(y.uint8,(function(r){return r.actionLength-r._currentOffset}))});var Kn=new y.Array(Zn,y.uint32);var Yn=new y.Struct({lookupTable:new Bn(new y.Pointer(y.uint16,Kn))});var Jn=new y.Struct({classTable:new y.Pointer(y.uint16,Vn,{type:"parent"}),wdcOffset:y.uint16,postCompensationTable:new y.Pointer(y.uint16,Yn,{type:"parent"}),widthDeltaClusters:new Bn(new y.Pointer(y.uint16,qn,{type:"parent",relativeTo:function relativeTo(r){return r.wdcOffset}}))});var Qn=new y.Struct({version:y.uint32,format:y.uint16,horizontal:new y.Pointer(y.uint16,Jn),vertical:new y.Pointer(y.uint16,Jn)});var $n={action:y.uint16};var ea={markIndex:y.uint16,currentIndex:y.uint16};var ta={currentInsertIndex:y.uint16,markedInsertIndex:y.uint16};var ra=new y.Struct({items:new On(new y.Pointer(y.uint32,new Bn))});var na=new y.VersionedStruct("type",{0:{stateTable:new StateTable},1:{stateTable:new StateTable(ea),substitutionTable:new y.Pointer(y.uint32,ra)},2:{stateTable:new StateTable($n),ligatureActions:new y.Pointer(y.uint32,new On(y.uint32)),components:new y.Pointer(y.uint32,new On(y.uint16)),ligatureList:new y.Pointer(y.uint32,new On(y.uint16))},4:{lookupTable:new Bn},5:{stateTable:new StateTable(ta),insertionActions:new y.Pointer(y.uint32,new On(y.uint16))}});var aa=new y.Struct({length:y.uint32,coverage:y.uint24,type:y.uint8,subFeatureFlags:y.uint32,table:na,padding:new y.Reserved(y.uint8,(function(r){return r.length-r._currentOffset}))});var ia=new y.Struct({featureType:y.uint16,featureSetting:y.uint16,enableFlags:y.uint32,disableFlags:y.uint32});var oa=new y.Struct({defaultFlags:y.uint32,chainLength:y.uint32,nFeatureEntries:y.uint32,nSubtables:y.uint32,features:new y.Array(ia,"nFeatureEntries"),subtables:new y.Array(aa,"nSubtables")});var sa=new y.Struct({version:y.uint16,unused:new y.Reserved(y.uint16),nChains:y.uint32,chains:new y.Array(oa,"nChains")});var la=new y.Struct({left:y.int16,top:y.int16,right:y.int16,bottom:y.int16});var ua=new y.Struct({version:y.fixed32,format:y.uint16,lookupTable:new Bn(la)});var ca={};ca.cmap=ee;ca.head=te;ca.hhea=re;ca.hmtx=ae;ca.maxp=ie;ca.name=fe;ca["OS/2"]=de;ca.post=pe;ca.fpgm=ye;ca.loca=me;ca.prep=be;ca["cvt "]=ge;ca.glyf=we;ca["CFF "]=Mt;ca.CFF2=Mt;ca.VORG=Wt;ca.EBLC=Yt;ca.CBLC=ca.EBLC;ca.sbix=Qt;ca.COLR=tr;ca.CPAL=nr;ca.BASE=vr;ca.GDEF=_r;ca.GPOS=Nr;ca.GSUB=Vr;ca.JSTF=Jr;ca.HVAR=tn;ca.DSIG=an;ca.gasp=sn;ca.hdmx=un;ca.kern=gn;ca.LTSH=yn;ca.PCLT=mn;ca.VDMX=Sn;ca.vhea=xn;ca.vmtx=kn;ca.avar=Tn;ca.bsln=Fn;ca.feat=Mn;ca.fvar=Un;ca.gvar=Gn;ca.just=Qn;ca.morx=sa;ca.opbd=ua;var fa=new y.Struct({tag:new y.String(4),checkSum:y.uint32,offset:new y.Pointer(y.uint32,"void",{type:"global"}),length:y.uint32});var ha=new y.Struct({tag:new y.String(4),numTables:y.uint16,searchRange:y.uint16,entrySelector:y.uint16,rangeShift:y.uint16,tables:new y.Array(fa,"numTables")});ha.process=function(){var i={};for(var o,u=_createForOfIteratorHelperLoose((this||r).tables);!(o=u()).done;){var p=o.value;i[p.tag]=p}(this||r).tables=i};ha.preEncode=function(i){var o=[];for(var u in(this||r).tables){var p=(this||r).tables[u];p&&o.push({tag:u,checkSum:0,offset:new y.VoidPointer(ca[u],p),length:ca[u].size(p)})}(this||r).tag="true";(this||r).numTables=o.length;(this||r).tables=o;var g=Math.floor(Math.log((this||r).numTables)/Math.LN2);var w=Math.pow(2,g);(this||r).searchRange=16*w;(this||r).entrySelector=Math.log(w)/Math.LN2;(this||r).rangeShift=16*(this||r).numTables-(this||r).searchRange};function binarySearch(r,i){var o=0;var u=r.length-1;while(o<=u){var p=o+u>>1;var g=i(r[p]);if(g<0)u=p-1;else{if(!(g>0))return p;o=p+1}}return-1}function range(r,i){var o=[];while(r>1;if(iy.endCode.get(x))){var k=y.idRangeOffset.get(x);var P=void 0;if(0===k)P=i+y.idDelta.get(x);else{var I=k/2+(i-y.startCode.get(x))-(y.segCount-x);P=y.glyphIndexArray.get(I)||0;0!==P&&(P+=y.idDelta.get(x))}return 65535&P}w=x+1}}return 0;case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return y.glyphIndices.get(i-y.firstCode)||0;case 12:case 13:var O=0;var B=y.nGroups-1;while(O<=B){var R=O+B>>1;var D=y.groups.get(R);if(iD.endCharCode))return 12===y.version?D.glyphID+(i-D.startCharCode):D.glyphID;O=R+1}}return 0;case 14:throw new Error("TODO: cmap format 14");default:throw new Error("Unknown cmap format ".concat(y.version))}};i.getVariationSelector=function getVariationSelector(i,o){if(!(this||r).uvs)return 0;var u=(this||r).uvs.varSelectors.toArray();var p=binarySearch(u,(function(r){return o-r.varSelector}));var g=u[p];-1!==p&&g.defaultUVS&&(p=binarySearch(g.defaultUVS,(function(r){return ir.startUnicodeValue+r.additionalCount?1:0})));if(-1!==p&&g.nonDefaultUVS){p=binarySearch(g.nonDefaultUVS,(function(r){return i-r.unicodeValue}));if(-1!==p)return g.nonDefaultUVS[p].glyphID}return 0};i.getCharacterSet=function getCharacterSet(){var i=(this||r).cmap;switch(i.version){case 0:return range(0,i.codeMap.length);case 4:var o=[];var u=i.endCode.toArray();for(var p=0;p=N.glyphID&&i<=N.glyphID+(N.endCharCode-N.startCharCode)&&B.push(N.startCharCode+(i-N.glyphID))}return B;case 13:var W=[];for(var U,j=_createForOfIteratorHelperLoose(o.groups.toArray());!(U=j()).done;){var G=U.value;i===G.glyphID&&W.push.apply(W,range(G.startCharCode,G.endCharCode+1))}return W;default:throw new Error("Unknown cmap format ".concat(o.version))}};return CmapProcessor}(),_applyDecoratedDescriptor(da.prototype,"getCharacterSet",[cache],Object.getOwnPropertyDescriptor(da.prototype,"getCharacterSet"),da.prototype),_applyDecoratedDescriptor(da.prototype,"codePointsForGlyph",[cache],Object.getOwnPropertyDescriptor(da.prototype,"codePointsForGlyph"),da.prototype),da);var ga=function(){function KernProcessor(i){(this||r).kern=i.kern}var i=KernProcessor.prototype;i.process=function process(r,i){for(var o=0;o=0&&(w=_.pairs[x].value);break;case 2:var k=0,P=0;k=i>=_.leftTable.firstGlyph&&i<_.leftTable.firstGlyph+_.leftTable.nGlyphs?_.leftTable.offsets[i-_.leftTable.firstGlyph]:_.array.off;o>=_.rightTable.firstGlyph&&o<_.rightTable.firstGlyph+_.rightTable.nGlyphs&&(P=_.rightTable.offsets[o-_.rightTable.firstGlyph]);var I=(k+P-_.array.off)/2;w=_.array.values.get(I);break;case 3:if(i>=_.glyphCount||o>=_.glyphCount)return 0;w=_.kernValue[_.kernIndex[_.leftClass[i]*_.rightClassCount+_.rightClass[o]]];break;default:throw new Error("Unsupported kerning sub-table format ".concat(y.format))}y.coverage.override?u=w:u+=w}}return u};return KernProcessor}();var ya=function(){function UnicodeLayoutEngine(i){(this||r).font=i}var i=UnicodeLayoutEngine.prototype;i.positionGlyphs=function positionGlyphs(r,i){var o=0;var u=0;for(var p=0;p1&&(y.minX+=(g.codePoints.length-1)*y.width/g.codePoints.length);var w=-o[u].xAdvance;var _=0;var x=(this||r).font.unitsPerEm/16;for(var k=u+1;k<=p;k++){var P=i[k];var I=P.cbox;var O=o[k];var B=this.getCombiningClass(P.codePoints[0]);if("Not_Reordered"!==B){O.xOffset=O.yOffset=0;switch(B){case"Double_Above":case"Double_Below":O.xOffset+=y.minX-I.width/2-I.minX;break;case"Attached_Below_Left":case"Below_Left":case"Above_Left":O.xOffset+=y.minX-I.minX;break;case"Attached_Above_Right":case"Below_Right":case"Above_Right":O.xOffset+=y.maxX-I.width-I.minX;break;default:O.xOffset+=y.minX+(y.width-I.width)/2-I.minX}switch(B){case"Double_Below":case"Below_Left":case"Below":case"Below_Right":case"Attached_Below_Left":case"Attached_Below":"Attached_Below_Left"!==B&&"Attached_Below"!==B||(y.minY+=x);O.yOffset=-y.minY-I.maxY;y.minY+=I.height;break;case"Double_Above":case"Above_Left":case"Above":case"Above_Right":case"Attached_Above":case"Attached_Above_Right":"Attached_Above"!==B&&"Attached_Above_Right"!==B||(y.maxY+=x);O.yOffset=y.maxY-I.minY;y.maxY+=I.height;break}O.xAdvance=O.yAdvance=0;O.xOffset+=w;O.yOffset+=_}else{w-=O.xAdvance;_-=O.yAdvance}}};i.getCombiningClass=function getCombiningClass(r){var i=x.getCombiningClass(r);if(3584===(-256&r))if("Not_Reordered"===i)switch(r){case 3633:case 3636:case 3637:case 3638:case 3639:case 3655:case 3660:case 3645:case 3662:return"Above_Right";case 3761:case 3764:case 3765:case 3766:case 3767:case 3771:case 3788:case 3789:return"Above";case 3772:return"Below"}else if(3642===r)return"Below_Right";switch(i){case"CCC10":case"CCC11":case"CCC12":case"CCC13":case"CCC14":case"CCC15":case"CCC16":case"CCC17":case"CCC18":case"CCC20":case"CCC22":return"Below";case"CCC23":return"Attached_Above";case"CCC24":return"Above_Right";case"CCC25":case"CCC19":return"Above_Left";case"CCC26":return"Above";case"CCC21":break;case"CCC27":case"CCC28":case"CCC30":case"CCC31":case"CCC33":case"CCC34":case"CCC35":case"CCC36":return"Above";case"CCC29":case"CCC32":return"Below";case"CCC103":return"Below_Right";case"CCC107":return"Above_Right";case"CCC118":return"Below";case"CCC122":return"Above";case"CCC129":case"CCC132":return"Below";case"CCC130":return"Above"}return i};return UnicodeLayoutEngine}();var ma=function(){function BBox(i,o,u,p){void 0===i&&(i=Infinity);void 0===o&&(o=Infinity);void 0===u&&(u=-Infinity);void 0===p&&(p=-Infinity) /** * The minimum X position in the bounding box * @type {number} */;(this||r).minX=i; /** * The minimum Y position in the bounding box * @type {number} */(this||r).minY=o; /** * The maxmimum X position in the bounding box * @type {number} */(this||r).maxX=u; /** * The maxmimum Y position in the bounding box * @type {number} */(this||r).maxY=p} /** * The width of the bounding box * @type {number} */var i=BBox.prototype;i.addPoint=function addPoint(i,o){if(Infinity!==Math.abs(i)){i<(this||r).minX&&((this||r).minX=i);i>(this||r).maxX&&((this||r).maxX=i)}if(Infinity!==Math.abs(o)){o<(this||r).minY&&((this||r).minY=o);o>(this||r).maxY&&((this||r).maxY=o)}};i.copy=function copy(){return new BBox((this||r).minX,(this||r).minY,(this||r).maxX,(this||r).maxY)};_createClass(BBox,[{key:"width",get:function get(){return(this||r).maxX-(this||r).minX} /** * The height of the bounding box * @type {number} */},{key:"height",get:function get(){return(this||r).maxY-(this||r).minY}}]);return BBox}();var ba={Caucasian_Albanian:"aghb",Arabic:"arab",Imperial_Aramaic:"armi",Armenian:"armn",Avestan:"avst",Balinese:"bali",Bamum:"bamu",Bassa_Vah:"bass",Batak:"batk",Bengali:["bng2","beng"],Bopomofo:"bopo",Brahmi:"brah",Braille:"brai",Buginese:"bugi",Buhid:"buhd",Chakma:"cakm",Canadian_Aboriginal:"cans",Carian:"cari",Cham:"cham",Cherokee:"cher",Coptic:"copt",Cypriot:"cprt",Cyrillic:"cyrl",Devanagari:["dev2","deva"],Deseret:"dsrt",Duployan:"dupl",Egyptian_Hieroglyphs:"egyp",Elbasan:"elba",Ethiopic:"ethi",Georgian:"geor",Glagolitic:"glag",Gothic:"goth",Grantha:"gran",Greek:"grek",Gujarati:["gjr2","gujr"],Gurmukhi:["gur2","guru"],Hangul:"hang",Han:"hani",Hanunoo:"hano",Hebrew:"hebr",Hiragana:"hira",Pahawh_Hmong:"hmng",Katakana_Or_Hiragana:"hrkt",Old_Italic:"ital",Javanese:"java",Kayah_Li:"kali",Katakana:"kana",Kharoshthi:"khar",Khmer:"khmr",Khojki:"khoj",Kannada:["knd2","knda"],Kaithi:"kthi",Tai_Tham:"lana",Lao:"lao ",Latin:"latn",Lepcha:"lepc",Limbu:"limb",Linear_A:"lina",Linear_B:"linb",Lisu:"lisu",Lycian:"lyci",Lydian:"lydi",Mahajani:"mahj",Mandaic:"mand",Manichaean:"mani",Mende_Kikakui:"mend",Meroitic_Cursive:"merc",Meroitic_Hieroglyphs:"mero",Malayalam:["mlm2","mlym"],Modi:"modi",Mongolian:"mong",Mro:"mroo",Meetei_Mayek:"mtei",Myanmar:["mym2","mymr"],Old_North_Arabian:"narb",Nabataean:"nbat",Nko:"nko ",Ogham:"ogam",Ol_Chiki:"olck",Old_Turkic:"orkh",Oriya:["ory2","orya"],Osmanya:"osma",Palmyrene:"palm",Pau_Cin_Hau:"pauc",Old_Permic:"perm",Phags_Pa:"phag",Inscriptional_Pahlavi:"phli",Psalter_Pahlavi:"phlp",Phoenician:"phnx",Miao:"plrd",Inscriptional_Parthian:"prti",Rejang:"rjng",Runic:"runr",Samaritan:"samr",Old_South_Arabian:"sarb",Saurashtra:"saur",Shavian:"shaw",Sharada:"shrd",Siddham:"sidd",Khudawadi:"sind",Sinhala:"sinh",Sora_Sompeng:"sora",Sundanese:"sund",Syloti_Nagri:"sylo",Syriac:"syrc",Tagbanwa:"tagb",Takri:"takr",Tai_Le:"tale",New_Tai_Lue:"talu",Tamil:["tml2","taml"],Tai_Viet:"tavt",Telugu:["tel2","telu"],Tifinagh:"tfng",Tagalog:"tglg",Thaana:"thaa",Thai:"thai",Tibetan:"tibt",Tirhuta:"tirh",Ugaritic:"ugar",Vai:"vai ",Warang_Citi:"wara",Old_Persian:"xpeo",Cuneiform:"xsux",Yi:"yi ",Inherited:"zinh",Common:"zyyy",Unknown:"zzzz"};var wa={};for(var _a in ba){var Sa=ba[_a];if(Array.isArray(Sa))for(var xa,Ca=_createForOfIteratorHelperLoose(Sa);!(xa=Ca()).done;){var ka=xa.value;wa[ka]=_a}else wa[Sa]=_a}function fromOpenType(r){return wa[r]}function forString(r){var i=r.length;var o=0;while(o>1;var g=(this||r).table.segments[p];if(65535===g.firstGlyph)return null;if(ig.lastGlyph))return 2===(this||r).table.version?g.value:g.values[i-g.firstGlyph];o=p+1}}return null;case 6:var y=0;var w=(this||r).table.binarySearchHeader.nUnits-1;while(y<=w){p=y+w>>1;g=(this||r).table.segments[p];if(65535===g.glyph)return null;if(ig.glyph))return g.value;y=p+1}}return null;case 8:return(this||r).table.values[i-(this||r).table.firstGlyph];default:throw new Error("Unknown lookup table format: ".concat((this||r).table.version))}};i.glyphsForValue=function glyphsForValue(i){var o=[];switch((this||r).table.version){case 2:case 4:for(var u,p=_createForOfIteratorHelperLoose((this||r).table.segments);!(u=p()).done;){var g=u.value;if(2===(this||r).table.version&&g.value===i)o.push.apply(o,range(g.firstGlyph,g.lastGlyph+1));else for(var y=0;y=-1){var w=null;var _=Ua;var x=true;if(g===i.length||-1===g)_=Wa;else{w=i[g];if(65535===w.id)_=za;else{_=(this||r).lookupTable.lookup(w.id);null==_&&(_=Ua)}}var k=(this||r).stateTable.stateArray.getItem(p);var P=k[_];var I=(this||r).stateTable.entryTable.getItem(P);if(_!==Wa&&_!==za){u(w,I,g);x=!(I.flags&ja)}p=I.newState;x&&(g+=y)}return i};i.traverse=function traverse(i,o,u){void 0===o&&(o=0);void 0===u&&(u=new Set);if(!u.has(o)){u.add(o);var p=(this||r).stateTable,g=p.nClasses,y=p.stateArray,w=p.entryTable;var _=y.getItem(o);for(var x=4;x=0){65535===i[B].id&&i.splice(B,1);B--}return i};i.processSubtable=function processSubtable(i,o){(this||r).subtable=i;(this||r).glyphs=o;if(4!==(this||r).subtable.type){(this||r).ligatureStack=[];(this||r).markedGlyph=null;(this||r).firstGlyph=null;(this||r).lastGlyph=null;(this||r).markedIndex=null;var u=this.getStateMachine(i);var p=this.getProcessor();var g=!!((this||r).subtable.coverage&ei);return u.process((this||r).glyphs,g,p)}this.processNoncontextualSubstitutions((this||r).subtable,(this||r).glyphs)};i.getStateMachine=function getStateMachine(r){return new Ga(r.table.stateTable)};i.getProcessor=function getProcessor(){switch((this||r).subtable.type){case 0:return(this||r).processIndicRearragement;case 1:return(this||r).processContextualSubstitution;case 2:return(this||r).processLigature;case 4:return(this||r).processNoncontextualSubstitutions;case 5:return(this||r).processGlyphInsertion;default:throw new Error("Invalid morx subtable type: ".concat((this||r).subtable.type))}};i.processIndicRearragement=function processIndicRearragement(i,o,u){o.flags&Ha&&((this||r).firstGlyph=u);o.flags&qa&&((this||r).lastGlyph=u);reorderGlyphs((this||r).glyphs,o.flags&Xa,(this||r).firstGlyph,(this||r).lastGlyph)};i.processContextualSubstitution=function processContextualSubstitution(i,o,u){var p=(this||r).subtable.table.substitutionTable.items;if(65535!==o.markIndex){var g=p.getItem(o.markIndex);var y=new Ma(g);i=(this||r).glyphs[(this||r).markedGlyph];var w=y.lookup(i.id);w&&((this||r).glyphs[(this||r).markedGlyph]=(this||r).font.getGlyph(w,i.codePoints))}if(65535!==o.currentIndex){var _=p.getItem(o.currentIndex);var x=new Ma(_);i=(this||r).glyphs[u];w=x.lookup(i.id);w&&((this||r).glyphs[u]=(this||r).font.getGlyph(w,i.codePoints))}o.flags&Za&&((this||r).markedGlyph=u)};i.processLigature=function processLigature(i,o,u){o.flags&Ka&&(this||r).ligatureStack.push(u);if(o.flags&Ya){var p;var g=(this||r).subtable.table.ligatureActions;var y=(this||r).subtable.table.components;var w=(this||r).subtable.table.ligatureList;var _=o.action;var x=false;var k=0;var P=[];var I=[];while(!x){var O;var B=(this||r).ligatureStack.pop();(O=P).unshift.apply(O,(this||r).glyphs[B].codePoints);var R=g.getItem(_++);x=!!(R&Ja);var D=!!(R&Qa);var N=(R&$a)<<2>>2;N+=(this||r).glyphs[B].id;var W=y.getItem(N);k+=W;if(x||D){var U=w.getItem(k);(this||r).glyphs[B]=(this||r).font.getGlyph(U,P);I.push(B);k=0;P=[]}else(this||r).glyphs[B]=(this||r).font.getGlyph(65535)}(p=(this||r).ligatureStack).push.apply(p,I)}};i.processNoncontextualSubstitutions=function processNoncontextualSubstitutions(i,o,u){var p=new Ma(i.table.lookupTable);for(u=0;u>>5;var g=!!(o.flags&ri);this._insertGlyphs((this||r).markedIndex,o.markedInsertIndex,p,g)}if(65535!==o.currentInsertIndex){var y=(o.flags&ni)>>>5;var w=!!(o.flags&ti);this._insertGlyphs(u,o.currentInsertIndex,y,w)}};i.getSupportedFeatures=function getSupportedFeatures(){var i=[];for(var o,u=_createForOfIteratorHelperLoose((this||r).morx.chains);!(o=u()).done;){var p=o.value;for(var g,y=_createForOfIteratorHelperLoose(p.features);!(g=y()).done;){var w=g.value;i.push([w.featureType,w.featureSetting])}}return i};i.generateInputs=function generateInputs(i){(this||r).inputCache||this.generateInputCache();return(this||r).inputCache[i]||[]};i.generateInputCache=function generateInputCache(){(this||r).inputCache={};for(var i,o=_createForOfIteratorHelperLoose((this||r).morx.chains);!(i=o()).done;){var u=i.value;var p=u.defaultFlags;for(var g,y=_createForOfIteratorHelperLoose(u.subtables);!(g=y()).done;){var w=g.value;w.subFeatureFlags&p&&this.generateInputsForSubtable(w)}}};i.generateInputsForSubtable=function generateInputsForSubtable(i){var o=this||r;if(2===i.type){var u=!!(i.coverage&ei);if(u)throw new Error("Reverse subtable, not supported.");(this||r).subtable=i;(this||r).ligatureStack=[];var p=this.getStateMachine(i);var g=this.getProcessor();var y=[];var w=[];(this||r).glyphs=[];p.traverse({enter:function enter(r,i){var u=o.glyphs;w.push({glyphs:u.slice(),ligatureStack:o.ligatureStack.slice()});var p=o.font.getGlyph(r);y.push(p);u.push(y[y.length-1]);g(u[u.length-1],i,u.length-1);var _=0;var x=0;for(var k=0;k0&&i.applyFeatures(y,o,u)}};return ShapingPlan}();var li=["rvrn"];var ui=["ccmp","locl","rlig","mark","mkmk"];var ci=["frac","numr","dnom"];var fi=["calt","clig","liga","rclt","curs","kern"];var hi={ltr:["ltra","ltrm"],rtl:["rtla","rtlm"]};var di=function(){function DefaultShaper(){}DefaultShaper.plan=function plan(r,i,o){this.planPreprocessing(r);this.planFeatures(r);this.planPostprocessing(r,o);r.assignGlobalFeatures(i);this.assignFeatures(r,i)};DefaultShaper.planPreprocessing=function planPreprocessing(r){r.add({global:[].concat(li,hi[r.direction]),local:ci})};DefaultShaper.planFeatures=function planFeatures(r){};DefaultShaper.planPostprocessing=function planPostprocessing(r,i){r.add([].concat(ui,fi));r.setFeatureOverrides(i)};DefaultShaper.assignFeatures=function assignFeatures(r,i){for(var o=0;o0&&x.isDigit(i[p-1].codePoints[0])){i[p-1].features.numr=true;i[p-1].features.frac=true;p--}while(g(this||r).index||(this||r).index>=(this||r).glyphs.length?null:(this||r).glyphs[(this||r).index]};i.next=function next(){return this.move(1)};i.prev=function prev(){return this.move(-1)};i.peek=function peek(i){void 0===i&&(i=1);var o=(this||r).index;var u=this.increment(i);(this||r).index=o;return u};i.peekIndex=function peekIndex(i){void 0===i&&(i=1);var o=(this||r).index;this.increment(i);var u=(this||r).index;(this||r).index=o;return u};i.increment=function increment(i){void 0===i&&(i=1);var o=i<0?-1:1;i=Math.abs(i);while(i--)this.move(o);return(this||r).glyphs[(this||r).index]};_createClass(GlyphIterator,[{key:"cur",get:function get(){return(this||r).glyphs[(this||r).index]||null}}]);return GlyphIterator}();var Ei=["DFLT","dflt","latn"];var Ti=function(){function OTProcessor(i,o){(this||r).font=i;(this||r).table=o;(this||r).script=null;(this||r).scriptTag=null;(this||r).language=null;(this||r).languageTag=null;(this||r).features={};(this||r).lookups={};(this||r).variationsIndex=i._variationProcessor?this.findVariationsIndex(i._variationProcessor.normalizedCoords):-1;this.selectScript();(this||r).glyphs=[];(this||r).positions=[];(this||r).ligatureID=1;(this||r).currentFeature=null}var i=OTProcessor.prototype;i.findScript=function findScript(i){if(null==(this||r).table.scriptList)return null;Array.isArray(i)||(i=[i]);for(var o,u=_createForOfIteratorHelperLoose(i);!(o=u()).done;){var p=o.value;for(var g,y=_createForOfIteratorHelperLoose((this||r).table.scriptList);!(g=y()).done;){var w=g.value;if(w.tag===p)return w}}return null};i.selectScript=function selectScript(i,o,u){var p=false;var g;if(!(this||r).script||i!==(this||r).scriptTag){g=this.findScript(i);g||(g=this.findScript(Ei));if(!g)return(this||r).scriptTag;(this||r).scriptTag=g.tag;(this||r).script=g.script;(this||r).language=null;(this||r).languageTag=null;p=true}u&&u===(this||r).direction||((this||r).direction=u||direction(i));o&&o.length<4&&(o+=" ".repeat(4-o.length));if(!o||o!==(this||r).languageTag){(this||r).language=null;for(var y,w=_createForOfIteratorHelperLoose((this||r).script.langSysRecords);!(y=w()).done;){var _=y.value;if(_.tag===o){(this||r).language=_.langSys;(this||r).languageTag=_.tag;break}}if(!(this||r).language){(this||r).language=(this||r).script.defaultLangSys;(this||r).languageTag=null}p=true}if(p){(this||r).features={};if((this||r).language)for(var x,k=_createForOfIteratorHelperLoose((this||r).language.featureIndexes);!(x=k()).done;){var P=x.value;var I=(this||r).table.featureList[P];var O=this.substituteFeatureForVariations(P);(this||r).features[I.tag]=O||I.feature}}return(this||r).scriptTag};i.lookupsForFeatures=function lookupsForFeatures(i,o){void 0===i&&(i=[]);var u=[];for(var p,g=_createForOfIteratorHelperLoose(i);!(p=g()).done;){var y=p.value;var w=(this||r).features[y];if(w)for(var _,x=_createForOfIteratorHelperLoose(w.lookupListIndexes);!(_=x()).done;){var k=_.value;o&&-1!==o.indexOf(k)||u.push({feature:y,index:k,lookup:(this||r).table.lookupList.get(k)})}}u.sort((function(r,i){return r.index-i.index}));return u};i.substituteFeatureForVariations=function substituteFeatureForVariations(i){if(-1===(this||r).variationsIndex)return null;var o=(this||r).table.featureVariations.featureVariationRecords[(this||r).variationsIndex];var u=o.featureTableSubstitution.substitutions;for(var p,g=_createForOfIteratorHelperLoose(u);!(p=g()).done;){var y=p.value;if(y.featureIndex===i)return y.alternateFeatureTable}return null};i.findVariationsIndex=function findVariationsIndex(i){var o=(this||r).table.featureVariations;if(!o)return-1;var u=o.featureVariationRecords;for(var p=0;p=0}))};i.getClassID=function getClassID(r,i){switch(i.version){case 1:var o=r-i.startGlyph;if(o>=0&&o0&&(this||r).codePoints.every(x.isMark);(this||r).isBase=!(this||r).isMark;(this||r).isLigature=(this||r).codePoints.length>1;(this||r).markAttachmentType=0}}}]);return GlyphInfo}();var Oi=function(i){_inheritsLoose(HangulShaper,i);function HangulShaper(){return i.apply(this||r,arguments)||this||r}HangulShaper.planFeatures=function planFeatures(r){r.add(["ljmo","vjmo","tjmo"],false)};HangulShaper.assignFeatures=function assignFeatures(r,i){var o=0;var u=0;while(uMi){var I=getGlyph(o,y,u.features);I.features.tjmo=true;P.push(I)}r.splice.apply(r,[i,1].concat(P));return i+P.length-1}function compose(r,i,o){var u=r[i];var p=r[i].codePoints[0];var g=getType(p);var y=r[i-1].codePoints[0];var w=getType(y);var _,x,k,P;if(w===ao&&g===no){_=y;P=u}else{if(g===ro){x=r[i-1];k=u}else{x=r[i-2];k=r[i-1];P=u}var I=x.codePoints[0];var O=k.codePoints[0];Ji(I)&&Qi(O)&&(_=Bi+((I-Ri)*Wi+(O-Di))*Ui)}var B=P&&P.codePoints[0]||Mi;if(null!=_&&(B===Mi||$i(B))){var R=_+(B-Mi);if(o.hasGlyphForCodePoint(R)){var D=w===ro?3:2;r.splice(i-D+1,D,getGlyph(o,R,u.features));return i-D+1}}x&&(x.features.ljmo=true);k&&(k.features.vjmo=true);P&&(P.features.tjmo=true);if(w===ao){decompose(r,i-1,o);return i+1}return i}function getLength(r){switch(getType(r)){case ao:case io:return 1;case ro:return 2;case no:return 3}}function reorderToneMark(r,i,o){var u=r[i];var p=r[i].codePoints[0];if(0!==o.glyphForCodePoint(p).advanceWidth){var g=r[i-1].codePoints[0];var y=getLength(g);r.splice(i,1);return r.splice(i-y,0,u)}}function insertDottedCircle(r,i,o){var u=r[i];var p=r[i].codePoints[0];if(o.hasGlyphForCodePoint(Vi)){var g=getGlyph(o,Vi,u.features);var y=0===o.glyphForCodePoint(p).advanceWidth?i:i+1;r.splice(y,0,g);i++}return i}var vo=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]];var po=[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true];var go=[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]];var yo={stateTable:vo,accepting:po,tags:go};var mo=["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"];var bo={2507:[2503,2494],2508:[2503,2519],2888:[2887,2902],2891:[2887,2878],2892:[2887,2903],3018:[3014,3006],3019:[3015,3006],3020:[3014,3031],3144:[3142,3158],3264:[3263,3285],3271:[3270,3285],3272:[3270,3286],3274:[3270,3266],3275:[3270,3266,3285],3402:[3398,3390],3403:[3399,3390],3404:[3398,3415],3546:[3545,3530],3548:[3545,3535],3549:[3545,3535,3530],3550:[3545,3551],3635:[3661,3634],3763:[3789,3762],3955:[3953,3954],3957:[3953,3956],3958:[4018,3968],3959:[4018,3953,3968],3960:[4019,3968],3961:[4019,3953,3968],3969:[3953,3968],6971:[6970,6965],6973:[6972,6965],6976:[6974,6965],6977:[6975,6965],6979:[6978,6965],69934:[69937,69927],69935:[69938,69927],70475:[70471,70462],70476:[70471,70487],70843:[70841,70842],70844:[70841,70832],70846:[70841,70845],71098:[71096,71087],71099:[71097,71087]};var wo=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]];var _o=[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true];var So=[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]];var xo={categories:mo,decompositions:bo,stateTable:wo,accepting:_o,tags:So};var Co={X:1,C:2,V:4,N:8,H:16,ZWNJ:32,ZWJ:64,M:128,SM:256,VD:512,A:1024,Placeholder:2048,Dotted_Circle:4096,RS:8192,Coeng:16384,Repha:32768,Ra:65536,CM:1<<17,Symbol:1<<18};var ko={Start:1,Ra_To_Become_Reph:2,Pre_M:4,Pre_C:8,Base_C:16,After_Main:32,Above_C:64,Before_Sub:128,Below_C:256,After_Sub:512,Before_Post:1024,Post_C:2048,After_Post:4096,Final_C:8192,SMVD:16384,End:32768};var Po=Co.C|Co.Ra|Co.CM|Co.V|Co.Placeholder|Co.Dotted_Circle;var Ao=Co.ZWJ|Co.ZWNJ;var Eo=Co.H|Co.Coeng;var To={Default:{hasOldSpec:false,virama:0,basePos:"Last",rephPos:ko.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Devanagari:{hasOldSpec:true,virama:2381,basePos:"Last",rephPos:ko.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Bengali:{hasOldSpec:true,virama:2509,basePos:"Last",rephPos:ko.After_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gurmukhi:{hasOldSpec:true,virama:2637,basePos:"Last",rephPos:ko.Before_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gujarati:{hasOldSpec:true,virama:2765,basePos:"Last",rephPos:ko.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Oriya:{hasOldSpec:true,virama:2893,basePos:"Last",rephPos:ko.After_Main,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Tamil:{hasOldSpec:true,virama:3021,basePos:"Last",rephPos:ko.After_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Telugu:{hasOldSpec:true,virama:3149,basePos:"Last",rephPos:ko.After_Post,rephMode:"Explicit",blwfMode:"Post_Only"},Kannada:{hasOldSpec:true,virama:3277,basePos:"Last",rephPos:ko.After_Post,rephMode:"Implicit",blwfMode:"Post_Only"},Malayalam:{hasOldSpec:true,virama:3405,basePos:"Last",rephPos:ko.After_Main,rephMode:"Log_Repha",blwfMode:"Pre_And_Post"},Khmer:{hasOldSpec:false,virama:6098,basePos:"First",rephPos:ko.Ra_To_Become_Reph,rephMode:"Vis_Repha",blwfMode:"Pre_And_Post"}};var Io={6078:[6081,6078],6079:[6081,6079],6080:[6081,6080],6084:[6081,6084],6085:[6081,6085]};var Oo=xo.decompositions;var Bo=new k(p("AAARAAAAAABg2AAAAWYPmfDtnXuMXFUdx+/uzs7M7szudAtECGJRIMRQbUAithQWkGAKiVhNpFVRRAmIQVCDkDYICGotIA9BTCz8IeUviv7BQ2PBtBIRLBBQIWAUsKg1BKxRAqIgfs/cc+aeOXPej3tnZX7JJ/dxzj3nd36/8753Z5fUsuxgsAwcAU4Gp4BPgM+Cd4P3RjieDs4GXwLrHJ5bDy4DG8A14LvgZrAZbAF3gns0z18ALgY/B78C94NHwBPgabAE/AX8DbwM5sF/QX0yD5vFcU/wVnAgWAoOAyvAceBE8CGwBpwGzgJfAF8BXwXfAFeC68EmsBlsAXeCreA+8CB4DDwF/gh2gd3gFfAGmKxn2QzYC+wHDgRLweFgJTgWrKrnuq/GcQ04jV6fheN54EJwEbgcXAG+Q8O/j+Mt4DZwB9haz8t9Hz3a8iCN/xiOvwRP0evH6fE68AzOH+Ke2eWYhw3PcGnuxvkr4A3QaGRZB7wFLAEHg2XgiEZ/fHKcp/ceBh/A+cngFPCpRm6vM3E8l8a5gN67GMdvgqsbeX2ap9yI601gM7gN3AG20mfuo8cdOP6GpvdUg9oKxz839GV90RDO2/glxN1B790NXsN1rZll7WYRdw+c70uvTwIHNAfTO0RyL5TDmnnbc3lmRQI9UnM0dD5eovfz4FpJ/BNpXNYWV+N6Lfg0hY97JK1vn+Pur9DoQur2F7m436bHDUK8C5t5/8vruo4+97WmXG+GLmzEiBF+PDwEOowYMWLEiBEjRoxYeBw5BDqIPEfXut9yWN+vVNxfrnnmWqR/PdgENoMt4E5wD9gOHgCPgifBs2BXM99b2o3jP8F/wMRUlrXAHNgHvH0q3895J46HguXgWHAGLctmLv9VuL96qnp7jxgxYsSbCbJvuRZ97/tqxT59VVRtixEjRsThBG7OSt5zzoPT0M+cBc4T5noXOs79TqLHeZrHUeCSqeJ96gacXy2kecNU8V6Hh7yXuQlhtw7B/PO1RTkr52Aj8JNFZjYg3gOKuC/g/v6Ls2wNuAY8urg//PcIb+6RZXuDNeCS6SzbBrJWlh0DLiFHco8ed9IjzzvaWfa9sZzTcf6D9mCcnbg3PlNcH4fzS8F2MDaLdQG4dLZIJxbbaZqv4ri8k58f3+mPs66T6/TTzqDeI0aMGDGiHP5dcR8ce/xxYcWi6vOfr725uRzcjnngXVOD61Hync+9uL+Nmyfej/NHpvL56A5Jeuz7uyfo+pqcPz2Vf1NH0ttJ03pekt8SmuY/EPYy9zzbN319ym/9TL6ZIt9MHCXRdxJtoAkWTRdz472n87D9cTwYLJvuz++I6WIePo/zE8AHp4v8WLyP0nufnM6/+zoDx8+DL08P6r9+urheRtO+jD6/cdrsx3mqu8w+xH4PScKIXa5D2jeCm8Et4DbwI/BjcC/4BXgI/Bb8DuwEu8Bu8Ap4A9RaRZptnO8J9gUHgEPAoWA5OLY1qMO90GEV7q+mYWtxPBWcIYnL4p+DsPNbxfVFOP86uAr8DNc34HgTDb8Vx9sVaRFI/LtagzYjnCqpb908EX87eBA8Bh4Hf2jle/9/wvGFVv787rrZZy8h7qtgDOuFOmiBuXYRvg/O9wMHgXeB97SLspk4sq0OI/q9v13+ek+sh3zYSRp9jrYorw9ll1/GRzR+KotYZSHf8laVP2lvpA/8OGdPMk59hqtXZ+L8nHbxvWwqO65ryu+fT3VZz+l4dET7L0R072ljsMyzTpaJqQxsbL8M9WajY789DO85XMp/Dcp3Qztdn+9qf/a97ZWK8PXc3G+TpC/nv8Mncy7ZvICF302P5O+aNiOtLdTXd+D4Q7DVwfcvWvx9zTEJ/o5iG3R8YAjGNFseha5PGuZKz7b7xxXbOrXMcu5eJSo//rXdH/73Enz6L1q/X+fyIu8wZGtNBmkjkzNZNgP2AvuBg2bysKUzduXn/66JtNeN4PCZvO0/x7Ujdn4VnYOvRJzjZ/I+9sQZeftX2Tc1RPcPz/Tf4/si0g+t5Mq+kfZjZL34Mc5ul3PPnE7TOxvHK2qDaZ+L++db2HyYqMo/qVnb/P8uH8/rmnFxR0k6DCu/rjj/RxT7KGUSWgbd+LMQuEgYB1zsk2qtvJD8v5AhdfdttbEunSxbcJD9Zf7chqp1Hlbe7FK1/aPVTfp7FgtC1yGGiSncFK/DhZvi+epZta0WWjlsfDZMyPRdSPrryqSSKnXx1bkq/Ye9TlRpk7Lrjq1UrfdC9X+MtKqwP6+3a/4pJFUZF0pZZpv91MYjMBaRRXbxpho5zQmUY3F+Pt4o7rvQrBXPdm00TaE24uMadaM2meLSI7iu071t3er3b6ZLi8JEde3qw+6zGv+ycF5kaRBh/m1T/7Yl/mMyTuMwadP4xL9ifjJpNwbvDZRJ8G8vnqV/Wf12aa/kyOdl69+BspTsXzGueE6E+JfZnvmXIfNPW+FfXkjb1YmqPNpnLP3b61fHCj/X5tzGANf2y3yqvC7Jv7btV4TVbdammI9l/g0dS5lNxLrk2j9r8xjjxhBQnygg0lgg/bOrfyct+udJi/Yrk0lFnxC7f+5kRbsNmcexfrubt0X/rGvLqrGSnYv3ZPHEe8r7lvMvUfi2LOu/2dg8LrRtQt2yfcv8r5IU70VkIs6nbebUXf0M/o7Znl39Sdoz+X1oEb5N8ffF67qhPfPP6eoUbxf+GRf/6sRnvaSdmw+Bf1VxmbD+2sa//DU7t/Gv2PfKpKdrBP92Ojk+IvqX16ks/2qxbL8EZnc2HqsgYuqPuzZV+I3RbujbDm+T0PmWCVO/5jqftp1zy+wSA6s0JWtp2z5e1oZV+yMsjB3ZXolsv0Ulrv01v3/iKrF94Qtbt9siCnmeb6fjjf59KnLk1xaEbvtvFnFirGvEOqmycQrbm/IMsXd3P28uh4nM3swXRER717OiX8kc7K2qqyn2p3maFGU/aruP5VCv+PraoTYU8yUmmbDwcYo6pusnM486xdoga4dkPCb1pK7Sfc6ebvkd4qeAtQcd/N63bB3lU3dlUnUf38VyvqCqK7JxlNSd7lydrDlm+/uqHiRvl30Nrp/n9zpkZRjoJ3V1diyP05rIYXHYs+w+D5+WMS8b5gZtKcuX0KT5d/WwtB97VnyvY6rjMukI56HI0rFJPwt8PjT/1OXzSbcMeEmdh294qvKK4rNu7j4n3LNZg8TKXwafv025U+XvKjHsT8Q7/7LGaJt9lAh7Asz3uv0XEX6t0duDoWN/93wmh92XpUHmCKb9GALbG+rZP3AfNbQPKKv/jpF/bP0JXfuW1QYk7dhljcyvk5mw+933Hpo1g26PQ2ZP6zVmTJt47P25jncD9vPwGS+q9QS/V6RaY8j8K8LmvUr9HfYCpH5OWL9lZY+Sv6pesHCJHbtrf9k6etZvf0G1L0ja4cAe1UT/s3zdCe3/Q5/n372wMc97/E1Qh0Tbmfwh3m/V9On72tNnrCF1sJkVe1EyXMdBa7+lHMsk44zMF6St9e2djNnbm8ybpHkq+gbbemMaH0UZmD8obKGrk7r+nt+3bE7o83YZp/vqOKdv6PzJNN6mTJsI/51XR7i2ZrGA5B6zFwnjzxmqPjaGfW3tZNrz1eljq29mOOqeCfF/irRt87PNw0uXSVAvrmOMNT569MptsYaV0sic/wbY13e8hPrb9K2ySUJ0j6G/Lu0U4qpTrR23jMp6m5hU+YTaWCeh9aIsm/rqUHV4bFv42kgnZdfH1PUj1D7DVH9d8khRN1zFRl/+/TW//qxL1uH83+mk3H+SvRtS2TDU90nX2TpM6/1xzZpZtoYdK763dqlz0f6uNeFehcs+H/nbGP77MpX06n/ofpzP+tVmTUvRtVuX/cjS67OE5kRBrxyJ+w/dPo7r+9cO1160e3gqu0S2uW7PjN/L6ns/UfMf10Lai87frJ+3KndAfc8yTf1M3T4s6qm4/yh7/2GSkG8UMw//DvRLgbYZSEOxr0LCWvRdjfh9XGzfqN4NivfZd7rsmFp08zmbssrKJEuTfVMZopdpbuwSrhNv3/N2s+0PDG3KNB6RMrFvJHv6B85HXObAoWsd3zm3i+6uZYytv+5+pohbpo6+tpZJFfmGlrcMf4c8b1Pe2OUIsaXJrinCTfaxtZOt+NYnU3hIfQlN20Z/1+dt7JaqLsbIzycNWZmrlNg2Dc2/LJ1T+T6WrrYSml4Ku7ik7yIx2opJD51vU9UfVRmrqL8u/olZj0PyCLV5irxcdKoi/6rKb8qTrHsnhW9jyZH/nSpeWDzxd9769uQ016lgUuf2pAfKPhu2FpfZL2Yb9snLNl/fNIepXaUsj4vNXCXUZ75px8ojNP8UPvAta2g6fb+F1ckZuneshv1vGXXDeyRRrN/bBPS1Jul+l+7zW86R7Wv63WXyDpt/RxraRjvC+TC3O61/Sqj/prag8x372yQivn+XwudrI2X2E2KdtJEov52e0L+uv4FO3p/rvssgsL8F4d/z9PzlWS94m8fqS3361Fi+6qaVYHwi9Yz4iH2fobIj+45cpz/TUaarr/4+z+vaWtVtyAX2d1LG8W9C3f+F1mnf36/k4w3YPrLv+XBVXCJs3cr+n4MKJuLv/fN9GhNdXVP5pJMN9vFi3rpv3/r8Ywg3SYp66zNOsO8QGcxPpnmRS/1mvmJjju3v7absI2xspQrvs1dNbjOj/wP7h1RlZyKGy8occ408UL8En4v6xfC/K3z52XzJd62T8vuZGGsxo/6O46ntmNqqFb/jps2/hHV4rPKH0svT4pstU7t2tZ9u/ZdqbJL1MwP6O86Fyt4jYaIrGz9mjEt8lFL4PtVE6votG2P6fpdf/GZRse7s3bf4BtSl/DIbKMctx++Z+8o6K6z9FPOwKsRmXiaNl7C+6NYRpjlbqG1j72f49qsuY4brd/amb4ZVc8TQ+sSH985LrEe8iPWJnfPrJRbWbb+dwn4x6o+r/aS2S7w3qWt//LnYz2ntE0vH1uDcyKatx1rH+EiMPEN1SZG/iz6+9o01Rob6O7Q+xLZ1jHobK61U+pWVvo2EpuWqzzD6Poa+pvhli0wn8Zq/72Mzm2d90o5VN1x9ZKuzbTgvqWwUIin8FSpl1CXXvFRxU0iozVPYJDRtF3uFphn6XAyJUUdD7SjTJ8v6n9fVbVObkKWp001lc9VRlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=","base64"));var Lo=new P(yo);var Fo=function(i){_inheritsLoose(IndicShaper,i);function IndicShaper(){return i.apply(this||r,arguments)||this||r}IndicShaper.planFeatures=function planFeatures(r){r.addStage(setupSyllables);r.addStage(["locl","ccmp"]);r.addStage(initialReordering);r.addStage("nukt");r.addStage("akhn");r.addStage("rphf",false);r.addStage("rkrf");r.addStage("pref",false);r.addStage("blwf",false);r.addStage("abvf",false);r.addStage("half",false);r.addStage("pstf",false);r.addStage("vatu");r.addStage("cjct");r.addStage("cfar",false);r.addStage(finalReordering);r.addStage({local:["init"],global:["pres","abvs","blws","psts","haln","dist","abvm","blwm","calt","clig"]});r.unicodeScript=fromOpenType(r.script);r.indicConfig=To[r.unicodeScript]||To.Default;r.isOldSpec=r.indicConfig.hasOldSpec&&"2"!==r.script[r.script.length-1]};IndicShaper.assignFeatures=function assignFeatures(r,i){var o=function _loop(o){var u=i[o].codePoints[0];var p=Io[u]||Oo[u];if(p){var g=p.map((function(u){var p=r.font.glyphForCodePoint(u);return new Ii(r.font,p.id,[u],i[o].features)}));i.splice.apply(i,[o,1].concat(g))}};for(var u=i.length-1;u>=0;u--)o(u)};return IndicShaper}(di);_defineProperty(Fo,"zeroMarkWidths","NONE");function indicCategory(r){return Bo.get(r.codePoints[0])>>8}function indicPosition(r){return 1<<(255&Bo.get(r.codePoints[0]))}var Ro=function IndicInfo(i,o,u,p){(this||r).category=i;(this||r).position=o;(this||r).syllableType=u;(this||r).syllable=p};function setupSyllables(r,i){var o=0;var u=0;for(var p,g=_createForOfIteratorHelperLoose(Lo.match(i.map(indicCategory)));!(p=g()).done;){var y=p.value,w=y[0],_=y[1],x=y[2];if(w>u){++o;for(var k=u;kD);break;case"First":R=x;for(var X=R+1;Xte;re--)if(isConsonant(i[re])||ee&&i[re].shaperInfo.category===Co.H)break;if(i[re].shaperInfo.category!==Co.H&&re>te){var ne=i[te];i.splice.apply(i,[te,0].concat(i.splice(te+1,re-te)));i[re]=ne}break}}var ae=ko.Start;for(var ie=x;iex;se--)if(i[se-1].shaperInfo.position!==ko.Pre_M){oe.position=i[se-1].shaperInfo.position;break}}else oe.position!==ko.SMVD&&(ae=oe.position)}var le=R;for(var ue=R+1;uex&&!isConsonant(i[Ce]))}}}}function finalReordering(r,i,o){var u=o.indicConfig;var p=r._layoutEngine.engine.GSUBProcessor.features;for(var g=0,y=nextSyllable(i,0);g=ko.Base_C){if(w&&_+1ko.Base_C&&_--;break}_===y&&g<_&&i[_-1].shaperInfo.category===Co.ZWJ&&_--;if(_g&&!(i[I].shaperInfo.category&(Co.M|Eo)))I--;isHalantOrCoeng(i[I])&&i[I].shaperInfo.position!==ko.Pre_M?I+1g;O--)if(i[O-1].shaperInfo.position===ko.Pre_M){var B=O-1;B<_&&_<=I&&_--;var R=i[B];i.splice.apply(i,[B,0].concat(i.splice(B+1,I-B)));i[I]=R;I--}}if(g+1g&&i[D].shaperInfo.position===ko.SMVD)D--;if(isHalantOrCoeng(i[D]))for(var U=_+1;Ug&&!(i[X-1].shaperInfo.category&(Co.M|Eo)))X--;if(X>g&&i[X-1].shaperInfo.category===Co.M){var K=G;for(var Y=_+1;Yg&&isHalantOrCoeng(i[X-1])&&X=r.length)return i;var o=r[i].shaperInfo.syllable;while(++i=0;u--)o(u)};return UniversalShaper}(di);_defineProperty(Uo,"zeroMarkWidths","BEFORE_GPOS");function useCategory(r){return No.get(r.codePoints[0])}var zo=function USEInfo(i,o,u){(this||r).category=i;(this||r).syllableType=o;(this||r).syllable=u};function setupSyllables$1(r,i){var o=0;for(var u,p=_createForOfIteratorHelperLoose(Wo.match(i.map(useCategory)));!(u=p()).done;){var g=u.value,y=g[0],w=g[1],_=g[2];++o;for(var x=y;x<=w;x++)i[x].shaperInfo=new zo(Do[useCategory(i[x])],_[0],o);var k="R"===i[y].shaperInfo.category?1:Math.min(3,w-y);for(var P=y;P1)for(g=u+1;g=r.length)return i;var o=r[i].shaperInfo.syllable;while(++i=0;ue--)(this||r).glyphs.splice(W[ue],1);(this||r).glyphs[(this||r).glyphIterator.index]=Y;return true}}return false;case 5:return this.applyContext(o);case 6:return this.applyChainingContext(o);case 7:return this.applyLookup(o.lookupType,o.extension);default:throw new Error("GSUB lookupType ".concat(i," is not supported"))}};return GSUBProcessor}(Ti);var Vo=function(i){_inheritsLoose(GPOSProcessor,i);function GPOSProcessor(){return i.apply(this||r,arguments)||this||r}var o=GPOSProcessor.prototype;o.applyPositionValue=function applyPositionValue(i,o){var u=(this||r).positions[(this||r).glyphIterator.peekIndex(i)];null!=o.xAdvance&&(u.xAdvance+=o.xAdvance);null!=o.yAdvance&&(u.yAdvance+=o.yAdvance);null!=o.xPlacement&&(u.xOffset+=o.xPlacement);null!=o.yPlacement&&(u.yOffset+=o.yPlacement);var p=(this||r).font._variationProcessor;var g=(this||r).font.GDEF&&(this||r).font.GDEF.itemVariationStore;if(p&&g){o.xPlaDevice&&(u.xOffset+=p.getDelta(g,o.xPlaDevice.a,o.xPlaDevice.b));o.yPlaDevice&&(u.yOffset+=p.getDelta(g,o.yPlaDevice.a,o.yPlaDevice.b));o.xAdvDevice&&(u.xAdvance+=p.getDelta(g,o.xAdvDevice.a,o.xAdvDevice.b));o.yAdvDevice&&(u.yAdvance+=p.getDelta(g,o.yAdvDevice.a,o.yAdvDevice.b))}};o.applyLookup=function applyLookup(i,o){switch(i){case 1:var u=this.coverageIndex(o.coverage);if(-1===u)return false;switch(o.version){case 1:this.applyPositionValue(0,o.value);break;case 2:this.applyPositionValue(0,o.values.get(u));break}return true;case 2:var p=(this||r).glyphIterator.peek();if(!p)return false;var g=this.coverageIndex(o.coverage);if(-1===g)return false;switch(o.version){case 1:var y=o.pairSets.get(g);for(var w,_=_createForOfIteratorHelperLoose(y);!(w=_()).done;){var x=w.value;if(x.secondGlyph===p.id){this.applyPositionValue(0,x.value1);this.applyPositionValue(1,x.value2);return true}}return false;case 2:var k=this.getClassID((this||r).glyphIterator.cur.id,o.classDef1);var P=this.getClassID(p.id,o.classDef2);if(-1===k||-1===P)return false;var I=o.classRecords.get(k).get(P);this.applyPositionValue(0,I.value1);this.applyPositionValue(1,I.value2);return true}case 3:var O=(this||r).glyphIterator.peekIndex();var B=(this||r).glyphs[O];if(!B)return false;var R=o.entryExitRecords[this.coverageIndex(o.coverage)];if(!R||!R.exitAnchor)return false;var D=o.entryExitRecords[this.coverageIndex(o.coverage,B.id)];if(!D||!D.entryAnchor)return false;var N=this.getAnchor(D.entryAnchor);var W=this.getAnchor(R.exitAnchor);var U=(this||r).positions[(this||r).glyphIterator.index];var j=(this||r).positions[O];switch((this||r).direction){case"ltr":U.xAdvance=W.x+U.xOffset;var G=N.x+j.xOffset;j.xAdvance-=G;j.xOffset-=G;break;case"rtl":G=W.x+U.xOffset;U.xAdvance-=G;U.xOffset-=G;j.xAdvance=N.x+j.xOffset;break}if((this||r).glyphIterator.flags.rightToLeft){(this||r).glyphIterator.cur.cursiveAttachment=O;U.yOffset=N.y-W.y}else{B.cursiveAttachment=(this||r).glyphIterator.index;U.yOffset=W.y-N.y}return true;case 4:var X=this.coverageIndex(o.markCoverage);if(-1===X)return false;var K=(this||r).glyphIterator.index;while(--K>=0&&((this||r).glyphs[K].isMark||(this||r).glyphs[K].ligatureComponent>0));if(K<0)return false;var Y=this.coverageIndex(o.baseCoverage,(this||r).glyphs[K].id);if(-1===Y)return false;var J=o.markArray[X];var $=o.baseArray[Y][J.class];this.applyAnchor(J,$,K);return true;case 5:var ee=this.coverageIndex(o.markCoverage);if(-1===ee)return false;var te=(this||r).glyphIterator.index;while(--te>=0&&(this||r).glyphs[te].isMark);if(te<0)return false;var re=this.coverageIndex(o.ligatureCoverage,(this||r).glyphs[te].id);if(-1===re)return false;var ne=o.ligatureArray[re];var ae=(this||r).glyphIterator.cur;var ie=(this||r).glyphs[te];var oe=ie.ligatureID&&ie.ligatureID===ae.ligatureID&&ae.ligatureComponent>0?Math.min(ae.ligatureComponent,ie.codePoints.length)-1:ie.codePoints.length-1;var se=o.markArray[ee];var le=ne[oe][se.class];this.applyAnchor(se,le,te);return true;case 6:var ue=this.coverageIndex(o.mark1Coverage);if(-1===ue)return false;var ce=(this||r).glyphIterator.peekIndex(-1);var fe=(this||r).glyphs[ce];if(!fe||!fe.isMark)return false;var he=(this||r).glyphIterator.cur;var de=false;he.ligatureID===fe.ligatureID?he.ligatureID?he.ligatureComponent===fe.ligatureComponent&&(de=true):de=true:(he.ligatureID&&!he.ligatureComponent||fe.ligatureID&&!fe.ligatureComponent)&&(de=true);if(!de)return false;var ve=this.coverageIndex(o.mark2Coverage,fe.id);if(-1===ve)return false;var pe=o.mark1Array[ue];var ge=o.mark2Array[ve][pe.class];this.applyAnchor(pe,ge,ce);return true;case 7:return this.applyContext(o);case 8:return this.applyChainingContext(o);case 9:return this.applyLookup(o.lookupType,o.extension);default:throw new Error("Unsupported GPOS table: ".concat(i))}};o.applyAnchor=function applyAnchor(i,o,u){var p=this.getAnchor(o);var g=this.getAnchor(i.markAnchor);(this||r).positions[u];var y=(this||r).positions[(this||r).glyphIterator.index];y.xOffset=p.x-g.x;y.yOffset=p.y-g.y;(this||r).glyphIterator.cur.markAttachment=u};o.getAnchor=function getAnchor(i){var o=i.xCoordinate;var u=i.yCoordinate;var p=(this||r).font._variationProcessor;var g=(this||r).font.GDEF&&(this||r).font.GDEF.itemVariationStore;if(p&&g){i.xDeviceTable&&(o+=p.getDelta(g,i.xDeviceTable.a,i.xDeviceTable.b));i.yDeviceTable&&(u+=p.getDelta(g,i.yDeviceTable.a,i.yDeviceTable.b))}return{x:o,y:u}};o.applyFeatures=function applyFeatures(o,u,p){i.prototype.applyFeatures.call(this||r,o,u,p);for(var g=0;g<(this||r).glyphs.length;g++)this.fixCursiveAttachment(g);this.fixMarkAttachment()};o.fixCursiveAttachment=function fixCursiveAttachment(i){var o=(this||r).glyphs[i];if(null!=o.cursiveAttachment){var u=o.cursiveAttachment;o.cursiveAttachment=null;this.fixCursiveAttachment(u);(this||r).positions[i].yOffset+=(this||r).positions[u].yOffset}};o.fixMarkAttachment=function fixMarkAttachment(){for(var i=0;i<(this||r).glyphs.length;i++){var o=(this||r).glyphs[i];if(null!=o.markAttachment){var u=o.markAttachment;(this||r).positions[i].xOffset+=(this||r).positions[u].xOffset;(this||r).positions[i].yOffset+=(this||r).positions[u].yOffset;if("ltr"===(this||r).direction)for(var p=u;p>16;if(0===i)switch(r>>8){case 0:return 173===r;case 3:return 847===r;case 6:return 1564===r;case 23:return 6068<=r&&r<=6069;case 24:return 6155<=r&&r<=6158;case 32:return 8203<=r&&r<=8207||8234<=r&&r<=8238||8288<=r&&r<=8303;case 254:return 65024<=r&&r<=65039||65279===r;case 255:return 65520<=r&&r<=65528;default:return false}else switch(i){case 1:return 113824<=r&&r<=113827||119155<=r&&r<=119162;case 14:return 917504<=r&&r<=921599;default:return false}};i.getAvailableFeatures=function getAvailableFeatures(i,o){var u=[];(this||r).engine&&u.push.apply(u,(this||r).engine.getAvailableFeatures(i,o));(this||r).font.kern&&-1===u.indexOf("kern")&&u.push("kern");return u};i.stringsForGlyph=function stringsForGlyph(i){var o=new Set;var u=(this||r).font._cmapProcessor.codePointsForGlyph(i);for(var p,g=_createForOfIteratorHelperLoose(u);!(p=g()).done;){var y=p.value;o.add(String.fromCodePoint(y))}if((this||r).engine&&(this||r).engine.stringsForGlyph)for(var w,_=_createForOfIteratorHelperLoose((this||r).engine.stringsForGlyph(i));!(w=_()).done;){var x=w.value;o.add(x)}return Array.from(o)};return LayoutEngine}();var Xo={moveTo:"M",lineTo:"L",quadraticCurveTo:"Q",bezierCurveTo:"C",closePath:"Z"};var Zo=function(){function Path(){(this||r).commands=[];(this||r)._bbox=null;(this||r)._cbox=null}var i=Path.prototype;i.toFunction=function toFunction(){var i=this||r;return function(r){i.commands.forEach((function(i){return r[i.command].apply(r,i.args)}))}};i.toSVG=function toSVG(){var i=(this||r).commands.map((function(r){var i=r.args.map((function(r){return Math.round(100*r)/100}));return"".concat(Xo[r.command]).concat(i.join(" "))}));return i.join("")} /** * Gets the "control box" of a path. * This is like the bounding box, but it includes all points including * control points of bezier segments and is much faster to compute than * the real bounding box. * @type {BBox} */; /** * Applies a mapping function to each point in the path. * @param {function} fn * @return {Path} */i.mapPoints=function mapPoints(i){var o=new Path;for(var u,p=_createForOfIteratorHelperLoose((this||r).commands);!(u=p()).done;){var g=u.value;var y=[];for(var w=0;w0&&(this||r).codePoints.every(x.isMark);(this||r).isLigature=(this||r).codePoints.length>1}var i=Glyph.prototype;i._getPath=function _getPath(){return new Zo};i._getCBox=function _getCBox(){return(this||r).path.cbox};i._getBBox=function _getBBox(){return(this||r).path.bbox};i._getTableMetrics=function _getTableMetrics(i){if((this||r).id0){y=Math.abs(_.typoAscender-_.typoDescender);w=_.typoAscender-i.maxY}else{var x=(this||r)._font.hhea;y=Math.abs(x.ascent-x.descent);w=x.ascent-i.maxY}}(this||r)._font._variationProcessor&&(this||r)._font.HVAR&&(u+=(this||r)._font._variationProcessor.getAdvanceAdjustment((this||r).id,(this||r)._font.HVAR));return(this||r)._metrics={advanceWidth:u,advanceHeight:y,leftBearing:p,topBearing:w}} /** * The glyph’s control box. * This is often the same as the bounding box, but is faster to compute. * Because of the way bezier curves are defined, some of the control points * can be outside of the bounding box. Where `bbox` takes this into account, * `cbox` does not. Thus, cbox is less accurate, but faster to compute. * See [here](http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html#section-2) * for a more detailed description. * * @type {BBox} */; /** * Returns a path scaled to the given font size. * @param {number} size * @return {Path} */i.getScaledPath=function getScaledPath(i){var o=1/(this||r)._font.unitsPerEm*i;return(this||r).path.scale(o)} /** * The glyph's advance width. * @type {number} */;i._getName=function _getName(){var i=(this||r)._font.post;if(!i)return null;switch(i.version){case 1:return $o[(this||r).id];case 2:var o=i.glyphNameIndex[(this||r).id];return o<$o.length?$o[o]:i.names[o-$o.length];case 2.5:return $o[(this||r).id+i.offsets[(this||r).id]];case 4:return String.fromCharCode(i.map[(this||r).id])}} /** * The glyph's name * @type {string} */; /** * Renders the glyph to the given graphics context, at the specified font size. * @param {CanvasRenderingContext2d} ctx * @param {number} size */i.render=function render(i,o){i.save();var u=1/(this||r)._font.head.unitsPerEm*o;i.scale(u,u);var p=(this||r).path.toFunction();p(i);i.fill();i.restore()};_createClass(Glyph,[{key:"cbox",get:function get(){return this._getCBox()} /** * The glyph’s bounding box, i.e. the rectangle that encloses the * glyph outline as tightly as possible. * @type {BBox} */},{key:"bbox",get:function get(){return this._getBBox()} /** * A vector Path object representing the glyph outline. * @type {Path} */},{key:"path",get:function get(){return this._getPath()}},{key:"advanceWidth",get:function get(){return this._getMetrics().advanceWidth} /** * The glyph's advance height. * @type {number} */},{key:"advanceHeight",get:function get(){return this._getMetrics().advanceHeight}},{key:"ligatureCaretPositions",get:function get(){}},{key:"name",get:function get(){return this._getName()}}]);return Glyph}(),_applyDecoratedDescriptor(es.prototype,"cbox",[cache],Object.getOwnPropertyDescriptor(es.prototype,"cbox"),es.prototype),_applyDecoratedDescriptor(es.prototype,"bbox",[cache],Object.getOwnPropertyDescriptor(es.prototype,"bbox"),es.prototype),_applyDecoratedDescriptor(es.prototype,"path",[cache],Object.getOwnPropertyDescriptor(es.prototype,"path"),es.prototype),_applyDecoratedDescriptor(es.prototype,"advanceWidth",[cache],Object.getOwnPropertyDescriptor(es.prototype,"advanceWidth"),es.prototype),_applyDecoratedDescriptor(es.prototype,"advanceHeight",[cache],Object.getOwnPropertyDescriptor(es.prototype,"advanceHeight"),es.prototype),_applyDecoratedDescriptor(es.prototype,"name",[cache],Object.getOwnPropertyDescriptor(es.prototype,"name"),es.prototype),es);var rs=new y.Struct({numberOfContours:y.int16,xMin:y.int16,yMin:y.int16,xMax:y.int16,yMax:y.int16});var ns=1;var as=2;var os=4;var ss=8;var ls=16;var us=32;var cs=1;var fs=8;var hs=32;var ds=64;var vs=128;var ps=256;var gs=function(){function Point(i,o,u,p){void 0===u&&(u=0);void 0===p&&(p=0);(this||r).onCurve=i;(this||r).endContour=o;(this||r).x=u;(this||r).y=p}var i=Point.prototype;i.copy=function copy(){return new Point((this||r).onCurve,(this||r).endContour,(this||r).x,(this||r).y)};return Point}();var ys=function Component(i,o,u){(this||r).glyphID=i;(this||r).dx=o;(this||r).dy=u;(this||r).pos=0;(this||r).scaleX=(this||r).scaleY=1;(this||r).scale01=(this||r).scale10=0};var ms=function(i){_inheritsLoose(TTFGlyph,i);function TTFGlyph(){return i.apply(this||r,arguments)||this||r}var o=TTFGlyph.prototype;o._getCBox=function _getCBox(i){if((this||r)._font._variationProcessor&&!i)return(this||r).path.cbox;var o=(this||r)._font._getTableStream("glyf");o.pos+=(this||r)._font.loca.offsets[(this||r).id];var u=rs.decode(o);var p=new ma(u.xMin,u.yMin,u.xMax,u.yMax);return Object.freeze(p)};o._parseGlyphCoord=function _parseGlyphCoord(r,i,o,u){if(o){var p=r.readUInt8();u||(p=-p);p+=i}else if(u)p=i;else p=i+r.readInt16BE();return p};o._decode=function _decode(){var i=(this||r)._font.loca.offsets[(this||r).id];var o=(this||r)._font.loca.offsets[(this||r).id+1];if(i===o)return null;var u=(this||r)._font._getTableStream("glyf");u.pos+=i;var p=u.pos;var g=rs.decode(u);g.numberOfContours>0?this._decodeSimple(g,u):g.numberOfContours<0&&this._decodeComposite(g,u,p);return g};o._decodeSimple=function _decodeSimple(i,o){i.points=[];var u=new y.Array(y.uint16,i.numberOfContours).decode(o);i.instructions=new y.Array(y.uint8,y.uint16).decode(o);var p=[];var g=u[u.length-1]+1;while(p.length=0,0,0);i.points.push(P)}var I=0;for(k=0;k>1;return y.length=0}function moveTo(r,i){B&&g.closePath();g.moveTo(r,i);B=true}var K=function parse(){while(o.pos1&&checkWidth();P+=y.shift();moveTo(k,P);break;case 5:while(y.length>=2){k+=y.shift();P+=y.shift();g.lineTo(k,P)}break;case 6:case 7:var u=6===r;while(y.length>=1){u?k+=y.shift():P+=y.shift();g.lineTo(k,P);u=!u}break;case 8:while(y.length>0){var _=k+y.shift();var N=P+y.shift();var K=_+y.shift();var Y=N+y.shift();k=K+y.shift();P=Y+y.shift();g.bezierCurveTo(_,N,K,Y,k,P)}break;case 10:var J=y.pop()+U;var $=W[J];if($){O[J]=true;var ee=o.pos;var te=p;o.pos=$.offset;p=$.offset+$.length;parse();o.pos=ee;p=te}break;case 11:if(i.version>=2)break;return;case 14:if(i.version>=2)break;y.length>0&&checkWidth();if(B){g.closePath();B=false}break;case 15:if(i.version<2)throw new Error("vsindex operator not supported in CFF v1");G=y.pop();break;case 16:if(i.version<2)throw new Error("blend operator not supported in CFF v1");if(!X)throw new Error("blend operator in non-variation font");var re=X.getBlendVector(j,G);var ne=y.pop();var ae=ne*re.length;var ie=y.length-ae;var oe=ie-ne;for(var se=0;se>3;break;case 21:y.length>2&&checkWidth();k+=y.shift();P+=y.shift();moveTo(k,P);break;case 22:y.length>1&&checkWidth();k+=y.shift();moveTo(k,P);break;case 24:while(y.length>=8){_=k+y.shift();N=P+y.shift();K=_+y.shift();Y=N+y.shift();k=K+y.shift();P=Y+y.shift();g.bezierCurveTo(_,N,K,Y,k,P)}k+=y.shift();P+=y.shift();g.lineTo(k,P);break;case 25:while(y.length>=8){k+=y.shift();P+=y.shift();g.lineTo(k,P)}_=k+y.shift();N=P+y.shift();K=_+y.shift();Y=N+y.shift();k=K+y.shift();P=Y+y.shift();g.bezierCurveTo(_,N,K,Y,k,P);break;case 26:y.length%2&&(k+=y.shift());while(y.length>=4){_=k;N=P+y.shift();K=_+y.shift();Y=N+y.shift();k=K;P=Y+y.shift();g.bezierCurveTo(_,N,K,Y,k,P)}break;case 27:y.length%2&&(P+=y.shift());while(y.length>=4){_=k+y.shift();N=P;K=_+y.shift();Y=N+y.shift();k=K+y.shift();P=Y;g.bezierCurveTo(_,N,K,Y,k,P)}break;case 28:y.push(o.readInt16BE());break;case 29:J=y.pop()+D;$=R[J];if($){I[J]=true;ee=o.pos;te=p;o.pos=$.offset;p=$.offset+$.length;parse();o.pos=ee;p=te}break;case 30:case 31:u=31===r;while(y.length>=4){if(u){_=k+y.shift();N=P;K=_+y.shift();Y=N+y.shift();P=Y+y.shift();k=K+(1===y.length?y.shift():0)}else{_=k;N=P+y.shift();K=_+y.shift();Y=N+y.shift();k=K+y.shift();P=Y+(1===y.length?y.shift():0)}g.bezierCurveTo(_,N,K,Y,k,P);u=!u}break;case 12:r=o.readUInt8();switch(r){case 3:var ce=y.pop();var fe=y.pop();y.push(ce&&fe?1:0);break;case 4:ce=y.pop();fe=y.pop();y.push(ce||fe?1:0);break;case 5:ce=y.pop();y.push(ce?0:1);break;case 9:ce=y.pop();y.push(Math.abs(ce));break;case 10:ce=y.pop();fe=y.pop();y.push(ce+fe);break;case 11:ce=y.pop();fe=y.pop();y.push(ce-fe);break;case 12:ce=y.pop();fe=y.pop();y.push(ce/fe);break;case 14:ce=y.pop();y.push(-ce);break;case 15:ce=y.pop();fe=y.pop();y.push(ce===fe?1:0);break;case 18:y.pop();break;case 20:var he=y.pop();var de=y.pop();w[de]=he;break;case 21:de=y.pop();y.push(w[de]||0);break;case 22:var ve=y.pop();var pe=y.pop();var ge=y.pop();var ye=y.pop();y.push(ge<=ye?ve:pe);break;case 23:y.push(Math.random());break;case 24:ce=y.pop();fe=y.pop();y.push(ce*fe);break;case 26:ce=y.pop();y.push(Math.sqrt(ce));break;case 27:ce=y.pop();y.push(ce,ce);break;case 28:ce=y.pop();fe=y.pop();y.push(fe,ce);break;case 29:de=y.pop();de<0?de=0:de>y.length-1&&(de=y.length-1);y.push(y[de]);break;case 30:var me=y.pop();var be=y.pop();if(be>=0)while(be>0){var we=y[me-1];for(var _e=me-2;_e>=0;_e--)y[_e+1]=y[_e];y[0]=we;be--}else while(be<0){we=y[0];for(var Se=0;Se<=me;Se++)y[Se]=y[Se+1];y[me-1]=we;be++}break;case 34:_=k+y.shift();N=P;K=_+y.shift();Y=N+y.shift();var xe=K+y.shift();var Ce=Y;var ke=xe+y.shift();var Pe=Ce;var Ae=ke+y.shift();var Ee=Pe;var Te=Ae+y.shift();var Ie=Ee;k=Te;P=Ie;g.bezierCurveTo(_,N,K,Y,xe,Ce);g.bezierCurveTo(ke,Pe,Ae,Ee,Te,Ie);break;case 35:var Oe=[];for(var Be=0;Be<=5;Be++){k+=y.shift();P+=y.shift();Oe.push(k,P)}g.bezierCurveTo.apply(g,Oe.slice(0,6));g.bezierCurveTo.apply(g,Oe.slice(6));y.shift();break;case 36:_=k+y.shift();N=P+y.shift();K=_+y.shift();Y=N+y.shift();xe=K+y.shift();Ce=Y;ke=xe+y.shift();Pe=Ce;Ae=ke+y.shift();Ee=Pe+y.shift();Te=Ae+y.shift();Ie=Ee;k=Te;P=Ie;g.bezierCurveTo(_,N,K,Y,xe,Ce);g.bezierCurveTo(ke,Pe,Ae,Ee,Te,Ie);break;case 37:var Le=k;var Fe=P;Oe=[];for(var Re=0;Re<=4;Re++){k+=y.shift();P+=y.shift();Oe.push(k,P)}if(Math.abs(k-Le)>Math.abs(P-Fe)){k+=y.shift();P=Fe}else{k=Le;P+=y.shift()}Oe.push(k,P);g.bezierCurveTo.apply(g,Oe.slice(0,6));g.bezierCurveTo.apply(g,Oe.slice(6));break;default:throw new Error("Unknown op: 12 ".concat(r))}break;default:throw new Error("Unknown op: ".concat(r))}else if(r<247)y.push(r-139);else if(r<251){var De=o.readUInt8();y.push(256*(r-247)+De+108)}else if(r<255){De=o.readUInt8();y.push(256*-(r-251)-De-108)}else y.push(o.readInt32BE()/65536)}};K();B&&g.closePath();return g};return CFFGlyph}(ts);var ws=new y.Struct({originX:y.uint16,originY:y.uint16,type:new y.String(4),data:new y.Buffer((function(r){return r.parent.buflen-r._currentOffset}))});var _s=function(i){_inheritsLoose(SBIXGlyph,i);function SBIXGlyph(){return i.apply(this||r,arguments)||this||r}var o=SBIXGlyph.prototype; /** * Returns an object representing a glyph image at the given point size. * The object has a data property with a Buffer containing the actual image data, * along with the image type, and origin. * * @param {number} size * @return {object} */o.getImageForSize=function getImageForSize(i){for(var o=0;o<(this||r)._font.sbix.imageTables.length;o++){var u=(this||r)._font.sbix.imageTables[o];if(u.ppem>=i)break}var p=u.imageOffsets;var g=p[(this||r).id];var y=p[(this||r).id+1];if(g===y)return null;(this||r)._font.stream.pos=g;return ws.decode((this||r)._font.stream,{buflen:y-g})};o.render=function render(o,u){var p=this.getImageForSize(u);if(null!=p){var g=u/(this||r)._font.unitsPerEm;o.image(p.data,{height:u,x:p.originX,y:((this||r).bbox.minY-p.originY)*g})}(this||r)._font.sbix.flags.renderOutlines&&i.prototype.render.call(this||r,o,u)};return SBIXGlyph}(ms);var Ss=function COLRLayer(i,o){(this||r).glyph=i;(this||r).color=o};var xs=function(i){_inheritsLoose(COLRGlyph,i);function COLRGlyph(){return i.apply(this||r,arguments)||this||r}var o=COLRGlyph.prototype;o._getBBox=function _getBBox(){var i=new ma;for(var o=0;o<(this||r).layers.length;o++){var u=(this||r).layers[o];var p=u.glyph.bbox;i.addPoint(p.minX,p.minY);i.addPoint(p.maxX,p.maxY)}return i} /** * Returns an array of objects containing the glyph and color for * each layer in the composite color glyph. * @type {object[]} */;o.render=function render(i,o){for(var u,p=_createForOfIteratorHelperLoose((this||r).layers);!(u=p()).done;){var g=u.value,y=g.glyph,w=g.color;i.fillColor([w.red,w.green,w.blue],w.alpha/255*100);y.render(i,o)}};_createClass(COLRGlyph,[{key:"layers",get:function get(){var i=(this||r)._font.CPAL;var o=(this||r)._font.COLR;var u=0;var p=o.baseGlyphRecord.length-1;while(u<=p){var g=u+p>>1;var y=o.baseGlyphRecord[g];if((this||r).idy.gid)){var w=y;break}u=g+1}}if(null==w){var _=(this||r)._font._getBaseGlyph((this||r).id);var x={red:0,green:0,blue:0,alpha:255};return[new Ss(_,x)]}var k=[];for(var P=w.firstLayerIndex;P=1&&o[u]=u.glyphCount)){var p=u.offsets[i];if(p!==u.offsets[i+1]){var g=(this||r).font.stream;g.pos=p;if(!(g.pos>=g.length)){var y=g.readUInt16BE();var w=p+g.readUInt16BE();if(y&Cs){var _=g.pos;g.pos=w;var x=this.decodePoints();w=g.pos;g.pos=_}var k=o.map((function(r){return r.copy()}));y&=ks;for(var P=0;P=u.globalCoordCount)throw new Error("Invalid gvar table");B=u.globalCoords[O&Ts]}if(O&As){var D=[];for(var N=0;NMath.max(0,o[_]))return 0;w=(w*g[_]+Number.EPSILON)/(o[_]+Number.EPSILON)}else{if(g[_]p[_])return 0;w=g[_]g)){var w=u;var _=u;u++;while(u<=g){if(o[u]){this.deltaInterpolate(_+1,u-1,_,u,i,r);_=u}u++}if(_===w)this.deltaShift(p,g,_,i,r);else{this.deltaInterpolate(_+1,g,_,w,i,r);w>0&&this.deltaInterpolate(p,w-1,_,w,i,r)}u=g+1}}}};i.deltaInterpolate=function deltaInterpolate(r,i,o,u,p,g){if(!(r>i)){var y=["x","y"];for(var w=0;wp[u][_]){var x=o;o=u;u=x}var k=p[o][_];var P=p[u][_];var I=g[o][_];var O=g[u][_];if(k!==P||I===O){var B=k===P?0:(O-I)/(P-k);for(var R=r;R<=i;R++){var D=p[R][_];D<=k?D+=I-k:D>=P?D+=O-P:D=I+(D-k)*B;g[R][_]=D}}}}};i.deltaShift=function deltaShift(r,i,o,u,p){var g=p[o].x-u[o].x;var y=p[o].y-u[o].y;if(0!==g||0!==y)for(var w=r;w<=i;w++)if(w!==o){p[w].x+=g;p[w].y+=y}};i.getAdvanceAdjustment=function getAdvanceAdjustment(r,i){var o,u;if(i.advanceWidthMapping){var p=r;p>=i.advanceWidthMapping.mapCount&&(p=i.advanceWidthMapping.mapCount-1);i.advanceWidthMapping.entryFormat;var g=i.advanceWidthMapping.mapData[p];o=g.outerIndex;u=g.innerIndex}else{o=0;u=r}return this.getDelta(i.itemVariationStore,o,u)};i.getDelta=function getDelta(r,i,o){if(i>=r.itemVariationData.length)return 0;var u=r.itemVariationData[i];if(o>=u.deltaSets.length)return 0;var p=u.deltaSets[o];var g=this.getBlendVector(r,i);var y=0;for(var w=0;wP.peakCoord||P.peakCoord>P.endCoord||P.startCoord<0&&P.endCoord>0&&0!==P.peakCoord||0===P.peakCoord?1:p[k]P.endCoord?0:p[k]===P.peakCoord?1:p[k]=0&&r<=255?1:2};Point$1.encode=function encode(r,i){i>=0&&i<=255?r.writeUInt8(i):r.writeInt16BE(i)};return Point$1}();var Hs=new y.Struct({numberOfContours:y.int16,xMin:y.int16,yMin:y.int16,xMax:y.int16,yMax:y.int16,endPtsOfContours:new y.Array(y.uint16,"numberOfContours"),instructions:new y.Array(y.uint8,y.uint16),flags:new y.Array(y.uint8,0),xPoints:new y.Array(Vs,0),yPoints:new y.Array(Vs,0)});var qs=function(){function TTFGlyphEncoder(){}var r=TTFGlyphEncoder.prototype;r.encodeSimple=function encodeSimple(r,i){void 0===i&&(i=[]);var o=[];var u=[];var p=[];var g=[];var w=0;var _=0,x=0,k=0;var P=0;for(var I=0;I0){g.push(w);w=0}g.push(N);k=N}_=R;x=D;P++}"closePath"===O.command&&o.push(P-1)}r.commands.length>1&&"closePath"!==r.commands[r.commands.length-1].command&&o.push(P-1);var G=r.bbox;var X={numberOfContours:o.length,xMin:G.minX,yMin:G.minY,xMax:G.maxX,yMax:G.maxY,endPtsOfContours:o,instructions:i,flags:g,xPoints:u,yPoints:p};var K=Hs.size(X);var Y=4-K%4;var J=new y.EncodeStream(K+Y);Hs.encode(J,X);0!==Y&&J.fill(0,Y);return J.buffer};r._encodePoint=function _encodePoint(r,i,o,u,p,g){var y=r-i;if(r===i)u|=g;else{if(-255<=y&&y<=255){u|=p;y<0?y=-y:u|=g}o.push(y)}return u};return TTFGlyphEncoder}();var Xs=function(i){_inheritsLoose(TTFSubset,i);function TTFSubset(o){var u;u=i.call(this||r,o)||this||r;u.glyphEncoder=new qs;return u}var o=TTFSubset.prototype;o._addGlyph=function _addGlyph(i){var o=(this||r).font.getGlyph(i);var u=o._decode();var g=(this||r).font.loca.offsets[i];var y=(this||r).font.loca.offsets[i+1];var w=(this||r).font._getTableStream("glyf");w.pos+=g;var _=w.readBuffer(y-g);if(u&&u.numberOfContours<0){_=p.from(_);for(var x,k=_createForOfIteratorHelperLoose(u.components);!(x=k()).done;){var P=x.value;i=this.includeGlyph(P.glyphID);_.writeUInt16BE(i,P.pos)}}else u&&(this||r).font._variationProcessor&&(_=(this||r).glyphEncoder.encodeSimple(o.path,u.instructions));(this||r).glyf.push(_);(this||r).loca.offsets.push((this||r).offset);(this||r).hmtx.metrics.push({advance:o.advanceWidth,bearing:o._getMetrics().leftBearing});(this||r).offset+=_.length;return(this||r).glyf.length-1};o.encode=function encode(i){(this||r).glyf=[];(this||r).offset=0;(this||r).loca={offsets:[],version:(this||r).font.loca.version};(this||r).hmtx={metrics:[],bearings:[]};var o=0;while(o<(this||r).glyphs.length)this._addGlyph((this||r).glyphs[o++]);var u=I((this||r).font.maxp);u.numGlyphs=(this||r).glyf.length;(this||r).loca.offsets.push((this||r).offset);var p=I((this||r).font.head);p.indexToLocFormat=(this||r).loca.version;var g=I((this||r).font.hhea);g.numberOfMetrics=(this||r).hmtx.metrics.length;ha.encode(i,{tables:{head:p,hhea:g,loca:(this||r).loca,maxp:u,"cvt ":(this||r).font["cvt "],prep:(this||r).font.prep,glyf:(this||r).glyf,hmtx:(this||r).hmtx,fpgm:(this||r).font.fpgm}})};return TTFSubset}(Ms);var Zs=function(i){_inheritsLoose(CFFSubset,i);function CFFSubset(o){var u;u=i.call(this||r,o)||this||r;u.cff=u.font["CFF "];if(!u.cff)throw new Error("Not a CFF Font");return u}var o=CFFSubset.prototype;o.subsetCharstrings=function subsetCharstrings(){(this||r).charstrings=[];var i={};for(var o,u=_createForOfIteratorHelperLoose((this||r).glyphs);!(o=u()).done;){var p=o.value;(this||r).charstrings.push((this||r).cff.getCharString(p));var g=(this||r).font.getGlyph(p);g.path;for(var y in g._usedGsubrs)i[y]=true}(this||r).gsubrs=this.subsetSubrs((this||r).cff.globalSubrIndex,i)};o.subsetSubrs=function subsetSubrs(i,o){var u=[];for(var g=0;g255?2:1,ranges:[{first:1,nLeft:(this||r).charstrings.length-2}]};var u=Object.assign({},(this||r).cff.topDict);u.Private=null;u.charset=o;u.Encoding=null;u.CharStrings=(this||r).charstrings;for(var p=0,g=["version","Notice","Copyright","FullName","FamilyName","Weight","PostScript","BaseFontName","FontName"];p0&&Object.defineProperty(this||r,u,{get:(this||r)._getTable.bind(this||r,p)})}}var i=TTFFont.prototype;i.setDefaultLanguage=function setDefaultLanguage(i){void 0===i&&(i=null);(this||r).defaultLanguage=i};i._getTable=function _getTable(i){if(!(i.tag in(this||r)._tables))try{(this||r)._tables[i.tag]=this._decodeTable(i)}catch(r){if(D.logErrors){console.error("Error decoding table ".concat(i.tag));console.error(r.stack)}}return(this||r)._tables[i.tag]};i._getTableStream=function _getTableStream(i){var o=(this||r).directory.tables[i];if(o){(this||r).stream.pos=o.offset;return(this||r).stream}return null};i._decodeDirectory=function _decodeDirectory(){return(this||r).directory=ha.decode((this||r).stream,{_startOffset:0})};i._decodeTable=function _decodeTable(i){var o=(this||r).stream.pos;var u=this._getTableStream(i.tag);var p=ca[i.tag].decode(u,this||r,i.length);(this||r).stream.pos=o;return p};i.getName=function getName(i,o){void 0===o&&(o=(this||r).defaultLanguage||D.defaultLanguage);var u=(this||r).name&&(this||r).name.records[i];return u&&(u[o]||u[(this||r).defaultLanguage]||u[D.defaultLanguage]||u.en||u[Object.keys(u)[0]])||null} /** * The unique PostScript name for this font, e.g. "Helvetica-Bold" * @type {string} */; /** * Returns whether there is glyph in the font for the given unicode code point. * * @param {number} codePoint * @return {boolean} */i.hasGlyphForCodePoint=function hasGlyphForCodePoint(i){return!!(this||r)._cmapProcessor.lookup(i)} /** * Maps a single unicode code point to a Glyph object. * Does not perform any advanced substitutions (there is no context to do so). * * @param {number} codePoint * @return {Glyph} */;i.glyphForCodePoint=function glyphForCodePoint(i){return this.getGlyph((this||r)._cmapProcessor.lookup(i),[i])} /** * Returns an array of Glyph objects for the given string. * This is only a one-to-one mapping from characters to glyphs. * For most uses, you should use font.layout (described below), which * provides a much more advanced mapping supporting AAT and OpenType shaping. * * @param {string} string * @return {Glyph[]} */;i.glyphsForString=function glyphsForString(i){var o=[];var u=i.length;var p=0;var g=-1;var y=-1;while(p<=u){var w=0;var _=0;if(p>>6&3},transformed:function transformed(r){return"glyf"===r.tag||"loca"===r.tag?0===r.transformVersion:0!==r.transformVersion},transformLength:new y.Optional(tl,(function(r){return r.transformed}))});var al=new y.Struct({tag:new y.String(4),flavor:y.uint32,length:y.uint32,numTables:y.uint16,reserved:new y.Reserved(y.uint16),totalSfntSize:y.uint32,totalCompressedSize:y.uint32,majorVersion:y.uint16,minorVersion:y.uint16,metaOffset:y.uint32,metaLength:y.uint32,metaOrigLength:y.uint32,privOffset:y.uint32,privLength:y.uint32,tables:new y.Array(nl,"numTables")});al.process=function(){var i={};for(var o=0;o<(this||r).tables.length;o++){var u=(this||r).tables[o];i[u.tag]=u}return(this||r).tables=i};var il=function(i){_inheritsLoose(WOFF2Font,i);function WOFF2Font(){return i.apply(this||r,arguments)||this||r}WOFF2Font.probe=function probe(r){return"wOF2"===r.toString("ascii",0,4)};var o=WOFF2Font.prototype;o._decodeDirectory=function _decodeDirectory(){(this||r).directory=al.decode((this||r).stream);(this||r)._dataPos=(this||r).stream.pos};o._decompress=function _decompress(){if(!(this||r)._decompressed){(this||r).stream.pos=(this||r)._dataPos;var i=(this||r).stream.readBuffer((this||r).directory.totalCompressedSize);var o=0;for(var u in(this||r).directory.tables){var g=(this||r).directory.tables[u];g.offset=o;o+=null!=g.transformLength?g.transformLength:g.length}var w=B(i,o);if(!w)throw new Error("Error decoding compressed data in WOFF2");(this||r).stream=new y.DecodeStream(p.from(w));(this||r)._decompressed=true}};o._decodeTable=function _decodeTable(o){this._decompress();return i.prototype._decodeTable.call(this||r,o)};o._getBaseGlyph=function _getBaseGlyph(o,u){void 0===u&&(u=[]);if(!(this||r)._glyphs[o]){if((this||r).directory.tables.glyf&&(this||r).directory.tables.glyf.transformed){(this||r)._transformedGlyphs||this._transformGlyfTable();return(this||r)._glyphs[o]=new el(o,u,this||r)}return i.prototype._getBaseGlyph.call(this||r,o,u)}};o._transformGlyfTable=function _transformGlyfTable(){this._decompress();(this||r).stream.pos=(this||r).directory.tables.glyf.offset;var i=sl.decode((this||r).stream);var o=[];for(var u=0;u0){var y=[];var w=0;for(var _=0;_>7);x&=127;if(x<10){w=0;_=withSign(x,((14&x)<<7)+i.readUInt8())}else if(x<20){w=withSign(x,((x-10&14)<<7)+i.readUInt8());_=0}else if(x<84){var P=x-20;var I=i.readUInt8();w=withSign(x,1+(48&P)+(I>>4));_=withSign(x>>1,1+((12&P)<<2)+(15&I))}else if(x<120){P=x-84;w=withSign(x,1+(P/12<<8)+i.readUInt8());_=withSign(x>>1,1+(P%12>>2<<8)+i.readUInt8())}else if(x<124){I=i.readUInt8();var O=i.readUInt8();w=withSign(x,(I<<4)+(O>>4));_=withSign(x>>1,((15&O)<<8)+i.readUInt8())}else{w=withSign(x,i.readUInt16BE());_=withSign(x>>1,i.readUInt16BE())}p+=w;u+=_;g.push(new gs(k,false,p,u))}return g}var hl=new y.VersionedStruct(y.uint32,{65536:{numFonts:y.uint32,offsets:new y.Array(y.uint32,"numFonts")},131072:{numFonts:y.uint32,offsets:new y.Array(y.uint32,"numFonts"),dsigTag:y.uint32,dsigLength:y.uint32,dsigOffset:y.uint32}});var dl=function(){TrueTypeCollection.probe=function probe(r){return"ttcf"===r.toString("ascii",0,4)};function TrueTypeCollection(i){(this||r).stream=i;if("ttcf"!==i.readString(4))throw new Error("Not a TrueType collection");(this||r).header=hl.decode(i)}var i=TrueTypeCollection.prototype;i.getFont=function getFont(i){for(var o,u=_createForOfIteratorHelperLoose((this||r).header.offsets);!(o=u()).done;){var p=o.value;var g=new y.DecodeStream((this||r).stream.buffer);g.pos=p;var w=new Ys(g);if(w.postscriptName===i)return w}return null};_createClass(TrueTypeCollection,[{key:"fonts",get:function get(){var i=[];for(var o,u=_createForOfIteratorHelperLoose((this||r).header.offsets);!(o=u()).done;){var p=o.value;var g=new y.DecodeStream((this||r).stream.buffer);g.pos=p;i.push(new Ys(g))}return i}}]);return TrueTypeCollection}();var vl=new y.String(y.uint8);new y.Struct({len:y.uint32,buf:new y.Buffer("len")});var pl=new y.Struct({id:y.uint16,nameOffset:y.int16,attr:y.uint8,dataOffset:y.uint24,handle:y.uint32});var gl=new y.Struct({name:new y.String(4),maxTypeIndex:y.uint16,refList:new y.Pointer(y.uint16,new y.Array(pl,(function(r){return r.maxTypeIndex+1})),{type:"parent"})});var yl=new y.Struct({length:y.uint16,types:new y.Array(gl,(function(r){return r.length+1}))});var ml=new y.Struct({reserved:new y.Reserved(y.uint8,24),typeList:new y.Pointer(y.uint16,yl),nameListOffset:new y.Pointer(y.uint16,"void")});var bl=new y.Struct({dataOffset:y.uint32,map:new y.Pointer(y.uint32,ml),dataLength:y.uint32,mapLength:y.uint32});var wl=function(){DFont.probe=function probe(r){var i=new y.DecodeStream(r);try{var o=bl.decode(i)}catch(r){return false}for(var u,p=_createForOfIteratorHelperLoose(o.map.typeList.types);!(u=p()).done;){var g=u.value;if("sfnt"===g.name)return true}return false};function DFont(i){(this||r).stream=i;(this||r).header=bl.decode((this||r).stream);for(var o,u=_createForOfIteratorHelperLoose((this||r).header.map.typeList.types);!(o=u()).done;){var p=o.value;for(var g,y=_createForOfIteratorHelperLoose(p.refList);!(g=y()).done;){var w=g.value;if(w.nameOffset>=0){(this||r).stream.pos=w.nameOffset+(this||r).header.map.nameListOffset;w.name=vl.decode((this||r).stream)}else w.name=null}"sfnt"===p.name&&((this||r).sfnt=p)}}var i=DFont.prototype;i.getFont=function getFont(i){if(!(this||r).sfnt)return null;for(var o,u=_createForOfIteratorHelperLoose((this||r).sfnt.refList);!(o=u()).done;){var p=o.value;var g=(this||r).header.dataOffset+p.dataOffset+4;var w=new y.DecodeStream((this||r).stream.buffer.slice(g));var _=new Ys(w);if(_.postscriptName===i)return _}return null};_createClass(DFont,[{key:"fonts",get:function get(){var i=[];for(var o,u=_createForOfIteratorHelperLoose((this||r).sfnt.refList);!(o=u()).done;){var p=o.value;var g=(this||r).header.dataOffset+p.dataOffset+4;var w=new y.DecodeStream((this||r).stream.buffer.slice(g));i.push(new Ys(w))}return i}}]);return DFont}();D.registerFormat(Ys);D.registerFormat($s);D.registerFormat(il);D.registerFormat(dl);D.registerFormat(wl);i.exports=D},7337:function(i,o,u){var p=u(4781);var g=u(9742);var y=u(2055),w=y.BK,_=y.CR,x=y.LF,k=y.NL,P=y.SG,I=y.WJ,O=y.SP,B=y.ZWJ,R=y.BA,D=y.HY,N=y.NS,W=y.AI,U=y.AL,j=y.CJ,G=y.HL,X=y.RI,K=y.SA,Y=y.XX;var J=u(8383),$=J.DI_BRK,ee=J.IN_BRK,te=J.CI_BRK,re=J.CP_BRK,ne=J.PR_BRK,ae=J.pairTable;var ie=g.toByteArray("AAgOAAAAAACA3QAAAe0OEvHtnXuMXUUdx+d2d2/33r237V3YSoFC11r6IGgbRFBEfFF5KCVCMYKFaKn8AYqmwUeqECFabUGQipUiNCkgSRElUkKwJRWtwSpJrZpCI4E2NQqiBsFGwWL8Tu6Md3Z23o9zbund5JM5c+b1m9/85nnOuXtTHyFrwXpwL9gBngTPgj+Dv4H9Ae4B0N9PSAMcDqaB0X57urmIs8AQ72SEnQ4+ABaBxWAJWAquENJ9BtdfANeCleBGcCv4NvgeuBv8AGwCm8FWlpbzOPw7wC7wFNgDngMvgpfAq2DCACF10ACHgaPAzIF2+PFwT2Th1P8OuO8FZ4MPggvAxWAp+A6VHe5ysILFvx7u6oF2+Wvg3g7uYvlT+TbC/TH4CdgCtoGtfW3/E2An8++Gu5eleR7uP8B+8BoLf4LFH6i23Vp1rB5a1Q7TGMeCUYYY18RcxF0gxT8H5b3dIw8X3iPkdxauPwQWgyVgWbVT30/h+mrwZan8r8L/FcEWVsJ/E1grpKXcwdLdI9y/H9cPgUerbbun0PadCHcbjQd+D55mafcx9y9wXwKvCLJUJiLdRH09ef4xupqE/KeCY8Bx4M3gbeBdYCE4G3wYXASWgGXgSibTcuaugHs9WA3WgNvBBha2Ee4D4GFNPTYL9x/D9XaJXwnXvwW7wDPgTzQd2A9eAwODhDTBCJgOZoETwEngtEFmF3DPAouY/0K4Swb9dbaMpbkS7nKP9CsCyrpOSrNK8K9kNnYL7q0DGwbb/XnjoDv3gQfBZvBz8GvwO/AHdr3Pkv4F4fplj3J79OgRBx8HypajR48ePXr06NGjx8HFv7pABhX/HRx7HqKjr9Y+y6PXg7X2WRoPm1Kzpz8CcWaweLPhHt/fPq95C65PZnmfDnchOLfWPo/7OLgQ15ewdJ+E++na2PMhyudw72bDGc01CP8aWAm+Dr4BVoHV4IZeWC+sF9YL64UlD1sD1oE7au0z0zK5p1YuZde/R49uJnYdez/62EPgkVr4c7pHkfYXivTbcW8n2A32gOekOH+F/5/gAOivE9IArXpbrmlwR+vljz9bJrV552RCvgQ2GXgRzJ9CyGVTxofdLd17Gv6jW4RcAG5ote/9FO4B8NZhQs4DN4O9kOFY6OFSsB48C/qGCFkAyERCzh9q+0WuA2sqHX4m+Smv4t6RjXYelItwvQ7sBtOahHwU3NYcn+5Q4pFmRz89evTocajxStM898/FfLSgrg8/sT5+zcLDTkXY+6S0C+E/l907SXO+Rt/Lujrxe1kmztPU70JDvSmXILwJWS9TxLuC3VtuycPGCoV+VfD41yvKW6W4d1O9/S5YtZ+Qtbi+k/m/D/eHYBPzb4G7DfyS+enZ42/qnXPFp+pjZdgD/yX0XcV6+93DF+H+G5AhtcxPIs/BoY5cg0g7RRGXx/8Ewo8Y6vhp/Bnwz2F5zId7CgunZ6Dv1uTF0585pNY7P9NdhPCPDI1Ncyn8l4OrwHKwguVB12WrNPnpoPW5BWluA3eCuxRl3cfyfFCom43NBjkeQ9h2Tzlzs7PL5CmD3UwHew26+KMm7AVHu8hJaL1fTtj29L3E/wi6oPvWvkY7bAjucKOYtpymKWdGo/3e5KxGR8YTGvmfZ4XW46RGmnMIG6excs6Ae46nPuh7pGXbvm/fOB91vLhRXvkmlkKuK8BnFTb8xYL6TyqugbzXJZCZ9tlVrO9+C+53G5134A8G1htsjdbvXoT/KEBPmwq04dS2v6UxNnxbAXV5gul4Z6J+tMtBZtv4+Qzy2Ndof+fwPHP/zsbg/QFz02tIM4B9ZRO0mp379NxxBpgD5gv3T8H16eAMcCZYxMIWw/2YEG8pri9n/qvgfr45fm67VtjPzmbpVrJ7NzL3VrjvF/Jdh+sN3M/cB+A+LOV/bVNdX13b0G9KtmrSHCo8jvqfGjFu7WiWP37E8s2+yv8ZwVbYRgvMAm9kvMkhjStzAZbIBGIR+ngAy2NSZ9f0Hv2bIIShCckU5k5sb+OdGGQ0BKqSPzeE1WFCgWXK5dO2rDD/COn9zTvEUfXJ4zT3c9DP2oH2+ZoAtc9RBr/mY0SLdGyap+Nxh6W0In2Sn5C8/W00c/7dXn63we1DtAHud9WZbFNimmFL2iIoqt8eDPQHptERIkNoO8prFVvblm13OaG6oGM+n7P4/RrRz2HdTktotxHFdZW5tvm72UWEtm9dQF6n++hU1FmVFL++L2Nsdt3/1IVrWaacda4Se91t+pHDVXF5HFd9pG7X14NNyePr6wkfPTRI+H6qDPvLqRM5DR2beZ8W95Divq0IWXXyy/d18Yq09ZhyY/fyPjafY37yta8ybD9l3W15+crXYhQ5rsj2Wkb7iDadon1c+tKI4p5NR6HjPl/vqvLm92uK8lTjWNntkwJTu9hkiJmHVf3S1V5UOii6PWL1nVqOkP5QI/b2L2o+Kqr/h9i0bHNl9HudnKn0btKBbZzItQ7n47Drmutg6P+ubZK7/5va0PU8XZS56DP4Isci07gUo3/fscdlfMyp6xR6dy0vt/275K1bJ8qkHI99bdK3v4vt4Gtzs7sEWa5aZH4NDz3yfWG368bXLlQ6GZYQ7/UL1y3mryroZ+nkZwK28SD1vlt+7sNd+lcR3Ji1RKq1WcvhftFzousYxftH7Ngu2pZubcGfD8eMizp5Y/uha/m69NNK5siSOapkcq2lTOOGvE4y9aPclFl20eXTvwoZO374ymob90Jx3Zfk2h/I849q7VNE+WXsj+ZFlJ96Xcd1PyD4ue2J69/Q9V+u9uPrQC7/sHRftjE+n+eQP2Ztl5Kc+0TX/WND8vP2iF23xO7lfO3XtKfLhUm/PE6Ze78RD/3Fknr8i907yWsoUx+M3S+0SNjcHyu7qg6+aYvqF671TLXfTzU+2uaTnOOzbFc+7yHoZE59npIL175kay/ZxlKMH6a+NSJdl90XKXytpbMpTr/kP5zJfqxQDzneYWTstxh9pPPdYJ/CL8alTBag+fFvHFXtQMutWxBloOUMMHS6GWSyVYS4pvgmexXtVjc/TFWk9ZnnZLt3+caI10/8Xkb+hsYlfeh+QOyPNQN1S7hv2nqivEVSj/Ex+1lu73Ib1olbu4jpfN4ddbWbHN+/mcpWfUem+g7RhK4833SuepHbN0d5PjKF1kUll3xPFc5d+btTW9uqdCHXwaQ7kw252ENIW9vKTdEfTLox+VPYT6r8XXUWq7tYuXyZnEAG+ic+pwyVdRLDp8wcOp0kEZNXzLyqw3f+yEkjMI1sFznk8ulDKcoKlcFVlz75qPyu9+U8YuvnqnfXNDn6t6neNr3xfHj4JEU500ma8SSkjjodptBlTLurbI7rTxUnhcxF6d9W76KRbd6G3DdVNj2qia/qD3KY2O90elLJocpHJc90Q7kqVLqaLlGUjYj+Pg00jD8Xk+Wnf5UAN8c8HGrvXKYi+4irnsoo09ctU29Fll2UraSyaxnTOar8DFw+w60St+cRNlzfm9E9y9CNUTZM5/7iOTWR6imOgaKf/pn6hJw/f8dDdS6u0tNhDN1ZOlGUoauTrqyQNvCd21Mjy8N/T7AixBkQrm3tRKS0tngDwrWYzobuLFwXV3WfP5uR9TGTXdvc3BRVjq18l3rbwmaS8c9QByR4m3Sb/lPVX2V/M4naDkV79GFmJDad2NaLOdpBpxsbvs+/YubgVPO5bn3h+75BahnEOU/EVb+yTL7vQeTQp04GH/twfTYaCv9ehe8XXdZ0Ic+IY94Hcik/9h0Zk35c7MdWXo737HM/y6dllPENj9zeuvq7vMMYam88fZnfU7nOHznf6/AdP+W8ffXv2q6uelDlE1N/Wx+Prb/MG8ARBVJ0eb7rz5Tf6sl5l/G9nizDnJLJudZoaNqU/hbsCPH73dhu+03aWPiZhW9/yLHf8IGvT1OtzwZJ56yG/7YvX5sSdn+yof6x5av2ebxcV1dOZ9pDVgSXys/36uLzG1s5Nvj7pKo9axm2zsueylxeT1lWlQ4rkuuzx5f3+VXPPGIhgbLnKp/rtiJdcz2lOtMpAtMZV27E/kRttyaF83dFbf3NdYwXx6sZpH0uVkZ/VslmOrspa24V1+O56u3TdmXpQdaJy36wLPm4LZVR7jyp/CLOmULtzeWZoqstuLS9rhzTmqwIe3LVia0f2OSP3c/71Ec8V0itv6JtONbOXdb3Oc5YdcTaQVFzRWg7+z6HydnHy+qPoWO+j1yq8anofifWl7ri97chNiq/z6KyM37t8333sJR/SF/3bUvd+z+8nV3KNPWfIvt3mfNZijFAZT8xfXSekLfOtl3rHCuPzxrEdT7U9UvRjn3HKV5/XTuo2i3n+E3L5L+3yN+TkH+z07ZGDlkviuXLcX3aL7b+8m+duhCzJonp/yF9wabPItZhJmJ/N8pVfvn31Fok7PeiYsalFON4bPnyuOO7Ru2G+S52fqB5DAt55bJtXf2LtJdQParCVevHlqcufduvKJuQ5yxxvA/Zw6W0l5D3+nz7a4wdieXxd+FS2SjPN7Z9XXDRp62/dMv4GTM22uwx1/iTe7zTUSfjf1Mqld36EHv2xvPoprMnGfGvIiDHk+/x+EQTP7fMOjl928f0/855OTnaJ5XeQsevVHNojO5147ePXLH681mDqOBhqef/Ivp+7PMF1Vxs02kMITLK30zp/k+FbX1RdP/w1b2OMt9hiR1bKLHfZ+XWT+4+ahqzVM8iUug81r5tfTf3+JB6DPFpk1zllLUu9523cpPLdlR6zTVP+bShGFd1lh/Td33rVdT44WqTtjqktOtc87osc8x5hM9vyLrK49v+Pvmp7De0/vyvLJvk1C3+1OOyLyG/aSSud1L/TlLq/BoZ5M2xNj66IFRlT9fcT4GqDYosQ3df/G0zlR5U4UVzjAJZPpW8NlLI5lOejzwq+eS4rnWZbsjTx7ZUrq4sXdrQPmAa82Pb0HVuyZl3rrrZ7Nal/ULzdy0zBUXrMaQcU18v6ncmxd9eM/1fkdQ24Tvu+paZ2q5S6z13+anlTyVfrv4aWz/desfFfn3WEj727rNGKHJdlqsM1VompjzT+shXv7F75dj3J3K3qY7QM7DcZ2L/Aw==");var oe=new p(ie);var se=function mapClass(r){switch(r){case W:return U;case K:case P:case Y:return U;case j:return N;default:return r}};var le=function mapFirst(r){switch(r){case x:case k:return w;case O:return I;default:return r}};var ue=function Break(i,o){void 0===o&&(o=false);(this||r).position=i;(this||r).required=o};var ce=function(){function LineBreaker(i){(this||r).string=i;(this||r).pos=0;(this||r).lastPos=0;(this||r).curClass=null;(this||r).nextClass=null;(this||r).LB8a=false;(this||r).LB21a=false;(this||r).LB30a=0}var i=LineBreaker.prototype;i.nextCodePoint=function nextCodePoint(){var i=(this||r).string.charCodeAt((this||r).pos++);var o=(this||r).string.charCodeAt((this||r).pos);if(55296<=i&&i<=56319&&56320<=o&&o<=57343){(this||r).pos++;return 1024*(i-55296)+(o-56320)+65536}return i};i.nextCharClass=function nextCharClass(){return se(oe.get(this.nextCodePoint()))};i.getSimpleBreak=function getSimpleBreak(){switch((this||r).nextClass){case O:return false;case w:case x:case k:(this||r).curClass=w;return false;case _:(this||r).curClass=_;return false}return null};i.getPairTableBreak=function getPairTableBreak(i){var o=false;switch(ae[(this||r).curClass][(this||r).nextClass]){case $:o=true;break;case ee:o=i===O;break;case te:o=i===O;if(!o){o=false;return o}break;case re:if(i!==O)return o;break;case ne:break}(this||r).LB8a&&(o=false);if(!(this||r).LB21a||(this||r).curClass!==D&&(this||r).curClass!==R)(this||r).LB21a=(this||r).curClass===G;else{o=false;(this||r).LB21a=false}if((this||r).curClass===X){(this||r).LB30a++;if(2==(this||r).LB30a&&(this||r).nextClass===X){o=true;(this||r).LB30a=0}}else(this||r).LB30a=0;(this||r).curClass=(this||r).nextClass;return o};i.nextBreak=function nextBreak(){if(null==(this||r).curClass){var i=this.nextCharClass();(this||r).curClass=le(i);(this||r).nextClass=i;(this||r).LB8a=i===B;(this||r).LB30a=0}while((this||r).pos<(this||r).string.length){(this||r).lastPos=(this||r).pos;var o=(this||r).nextClass;(this||r).nextClass=this.nextCharClass();if((this||r).curClass===w||(this||r).curClass===_&&(this||r).nextClass!==x){(this||r).curClass=le(se((this||r).nextClass));return new ue((this||r).lastPos,true)}var u=this.getSimpleBreak();null===u&&(u=this.getPairTableBreak(o));(this||r).LB8a=(this||r).nextClass===B;if(u)return new ue((this||r).lastPos)}if((this||r).lastPos<(this||r).string.length){(this||r).lastPos=(this||r).string.length;return new ue((this||r).string.length)}return null};return LineBreaker}();i.exports=ce},4927:function(i,o,u){i.exports=deprecate; /** * Mark that a method should not be used. * Returns a modified function which warns once by default. * * If `localStorage.noDeprecation = true` is set, then it is a no-op. * * If `localStorage.throwDeprecation = true` is set, then deprecated functions * will throw an Error when invoked. * * If `localStorage.traceDeprecation = true` is set, then deprecated functions * will invoke `console.trace()` instead of `console.error()`. * * @param {Function} fn - the function to deprecate * @param {String} msg - the string to print to the console when `fn` is invoked * @returns {Function} a new "deprecated" version of `fn` * @api public */function deprecate(i,o){if(config("noDeprecation"))return i;var u=false;function deprecated(){if(!u){if(config("throwDeprecation"))throw new Error(o);config("traceDeprecation")?console.trace(o):console.warn(o);u=true}return i.apply(this||r,arguments)}return deprecated} /** * Checks `localStorage` for boolean values for the given `name`. * * @param {String} name * @returns {Boolean} * @api private */function config(r){try{if(!u.g.localStorage)return false}catch(r){return false}var i=u.g.localStorage[r];return null!=i&&"true"===String(i).toLowerCase()}},384:function(r){r.exports=function isBuffer(r){return r&&"object"===typeof r&&"function"===typeof r.copy&&"function"===typeof r.fill&&"function"===typeof r.readUInt8}},5955:function(r,i,o){var u=o(2584);var p=o(8662);var g=o(6430);var y=o(5692);function uncurryThis(r){return r.call.bind(r)}var w="undefined"!==typeof BigInt;var _="undefined"!==typeof Symbol;var x=uncurryThis(Object.prototype.toString);var k=uncurryThis(Number.prototype.valueOf);var P=uncurryThis(String.prototype.valueOf);var I=uncurryThis(Boolean.prototype.valueOf);if(w)var O=uncurryThis(BigInt.prototype.valueOf);if(_)var B=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(r,i){if("object"!==typeof r)return false;try{i(r);return true}catch(r){return false}}i.isArgumentsObject=u;i.isGeneratorFunction=p;i.isTypedArray=y;function isPromise(r){return"undefined"!==typeof Promise&&r instanceof Promise||null!==r&&"object"===typeof r&&"function"===typeof r.then&&"function"===typeof r.catch}i.isPromise=isPromise;function isArrayBufferView(r){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(r):y(r)||isDataView(r)}i.isArrayBufferView=isArrayBufferView;function isUint8Array(r){return"Uint8Array"===g(r)}i.isUint8Array=isUint8Array;function isUint8ClampedArray(r){return"Uint8ClampedArray"===g(r)}i.isUint8ClampedArray=isUint8ClampedArray;function isUint16Array(r){return"Uint16Array"===g(r)}i.isUint16Array=isUint16Array;function isUint32Array(r){return"Uint32Array"===g(r)}i.isUint32Array=isUint32Array;function isInt8Array(r){return"Int8Array"===g(r)}i.isInt8Array=isInt8Array;function isInt16Array(r){return"Int16Array"===g(r)}i.isInt16Array=isInt16Array;function isInt32Array(r){return"Int32Array"===g(r)}i.isInt32Array=isInt32Array;function isFloat32Array(r){return"Float32Array"===g(r)}i.isFloat32Array=isFloat32Array;function isFloat64Array(r){return"Float64Array"===g(r)}i.isFloat64Array=isFloat64Array;function isBigInt64Array(r){return"BigInt64Array"===g(r)}i.isBigInt64Array=isBigInt64Array;function isBigUint64Array(r){return"BigUint64Array"===g(r)}i.isBigUint64Array=isBigUint64Array;function isMapToString(r){return"[object Map]"===x(r)}isMapToString.working="undefined"!==typeof Map&&isMapToString(new Map);function isMap(r){return"undefined"!==typeof Map&&(isMapToString.working?isMapToString(r):r instanceof Map)}i.isMap=isMap;function isSetToString(r){return"[object Set]"===x(r)}isSetToString.working="undefined"!==typeof Set&&isSetToString(new Set);function isSet(r){return"undefined"!==typeof Set&&(isSetToString.working?isSetToString(r):r instanceof Set)}i.isSet=isSet;function isWeakMapToString(r){return"[object WeakMap]"===x(r)}isWeakMapToString.working="undefined"!==typeof WeakMap&&isWeakMapToString(new WeakMap);function isWeakMap(r){return"undefined"!==typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(r):r instanceof WeakMap)}i.isWeakMap=isWeakMap;function isWeakSetToString(r){return"[object WeakSet]"===x(r)}isWeakSetToString.working="undefined"!==typeof WeakSet&&isWeakSetToString(new WeakSet);function isWeakSet(r){return isWeakSetToString(r)}i.isWeakSet=isWeakSet;function isArrayBufferToString(r){return"[object ArrayBuffer]"===x(r)}isArrayBufferToString.working="undefined"!==typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer);function isArrayBuffer(r){return"undefined"!==typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(r):r instanceof ArrayBuffer)}i.isArrayBuffer=isArrayBuffer;function isDataViewToString(r){return"[object DataView]"===x(r)}isDataViewToString.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1));function isDataView(r){return"undefined"!==typeof DataView&&(isDataViewToString.working?isDataViewToString(r):r instanceof DataView)}i.isDataView=isDataView;var R="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(r){return"[object SharedArrayBuffer]"===x(r)}function isSharedArrayBuffer(r){if("undefined"===typeof R)return false;"undefined"===typeof isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new R));return isSharedArrayBufferToString.working?isSharedArrayBufferToString(r):r instanceof R}i.isSharedArrayBuffer=isSharedArrayBuffer;function isAsyncFunction(r){return"[object AsyncFunction]"===x(r)}i.isAsyncFunction=isAsyncFunction;function isMapIterator(r){return"[object Map Iterator]"===x(r)}i.isMapIterator=isMapIterator;function isSetIterator(r){return"[object Set Iterator]"===x(r)}i.isSetIterator=isSetIterator;function isGeneratorObject(r){return"[object Generator]"===x(r)}i.isGeneratorObject=isGeneratorObject;function isWebAssemblyCompiledModule(r){return"[object WebAssembly.Module]"===x(r)}i.isWebAssemblyCompiledModule=isWebAssemblyCompiledModule;function isNumberObject(r){return checkBoxedPrimitive(r,k)}i.isNumberObject=isNumberObject;function isStringObject(r){return checkBoxedPrimitive(r,P)}i.isStringObject=isStringObject;function isBooleanObject(r){return checkBoxedPrimitive(r,I)}i.isBooleanObject=isBooleanObject;function isBigIntObject(r){return w&&checkBoxedPrimitive(r,O)}i.isBigIntObject=isBigIntObject;function isSymbolObject(r){return _&&checkBoxedPrimitive(r,B)}i.isSymbolObject=isSymbolObject;function isBoxedPrimitive(r){return isNumberObject(r)||isStringObject(r)||isBooleanObject(r)||isBigIntObject(r)||isSymbolObject(r)}i.isBoxedPrimitive=isBoxedPrimitive;function isAnyArrayBuffer(r){return"undefined"!==typeof Uint8Array&&(isArrayBuffer(r)||isSharedArrayBuffer(r))}i.isAnyArrayBuffer=isAnyArrayBuffer;["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(r){Object.defineProperty(i,r,{enumerable:false,value:function(){throw new Error(r+" is not supported in userland")}})}))},9539:function(i,o,u){var p=u(4155);var g=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(r){var i=Object.keys(r);var o={};for(var u=0;u=p)return r;switch(r){case"%s":return String(u[o++]);case"%d":return Number(u[o++]);case"%j":try{return JSON.stringify(u[o++])}catch(r){return"[Circular]"}default:return r}}));for(var w=u[o];o=3&&(u.depth=arguments[2]);arguments.length>=4&&(u.colors=arguments[3]);isBoolean(i)?u.showHidden=i:i&&o._extend(u,i);isUndefined(u.showHidden)&&(u.showHidden=false);isUndefined(u.depth)&&(u.depth=2);isUndefined(u.colors)&&(u.colors=false);isUndefined(u.customInspect)&&(u.customInspect=true);u.colors&&(u.stylize=stylizeWithColor);return formatValue(u,r,u.depth)}o.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(r,i){var o=inspect.styles[i];return o?"["+inspect.colors[o][0]+"m"+r+"["+inspect.colors[o][1]+"m":r}function stylizeNoColor(r,i){return r}function arrayToHash(r){var i={};r.forEach((function(r,o){i[r]=true}));return i}function formatValue(r,i,u){if(r.customInspect&&i&&isFunction(i.inspect)&&i.inspect!==o.inspect&&!(i.constructor&&i.constructor.prototype===i)){var p=i.inspect(u,r);isString(p)||(p=formatValue(r,p,u));return p}var g=formatPrimitive(r,i);if(g)return g;var y=Object.keys(i);var w=arrayToHash(y);r.showHidden&&(y=Object.getOwnPropertyNames(i));if(isError(i)&&(y.indexOf("message")>=0||y.indexOf("description")>=0))return formatError(i);if(0===y.length){if(isFunction(i)){var _=i.name?": "+i.name:"";return r.stylize("[Function"+_+"]","special")}if(isRegExp(i))return r.stylize(RegExp.prototype.toString.call(i),"regexp");if(isDate(i))return r.stylize(Date.prototype.toString.call(i),"date");if(isError(i))return formatError(i)}var x="",k=false,P=["{","}"];if(isArray(i)){k=true;P=["[","]"]}if(isFunction(i)){var I=i.name?": "+i.name:"";x=" [Function"+I+"]"}isRegExp(i)&&(x=" "+RegExp.prototype.toString.call(i));isDate(i)&&(x=" "+Date.prototype.toUTCString.call(i));isError(i)&&(x=" "+formatError(i));if(0===y.length&&(!k||0==i.length))return P[0]+x+P[1];if(u<0)return isRegExp(i)?r.stylize(RegExp.prototype.toString.call(i),"regexp"):r.stylize("[Object]","special");r.seen.push(i);var O;O=k?formatArray(r,i,u,w,y):y.map((function(o){return formatProperty(r,i,u,w,o,k)}));r.seen.pop();return reduceToSingleString(O,x,P)}function formatPrimitive(r,i){if(isUndefined(i))return r.stylize("undefined","undefined");if(isString(i)){var o="'"+JSON.stringify(i).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(o,"string")}return isNumber(i)?r.stylize(""+i,"number"):isBoolean(i)?r.stylize(""+i,"boolean"):isNull(i)?r.stylize("null","null"):void 0}function formatError(r){return"["+Error.prototype.toString.call(r)+"]"}function formatArray(r,i,o,u,p){var g=[];for(var y=0,w=i.length;y-1&&(w=g?w.split("\n").map((function(r){return" "+r})).join("\n").substr(2):"\n"+w.split("\n").map((function(r){return" "+r})).join("\n"))}else w=r.stylize("[Circular]","special");if(isUndefined(y)){if(g&&p.match(/^\d+$/))return w;y=JSON.stringify(""+p);if(y.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){y=y.substr(1,y.length-2);y=r.stylize(y,"name")}else{y=y.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");y=r.stylize(y,"string")}}return y+": "+w}function reduceToSingleString(r,i,o){var u=0;var p=r.reduce((function(r,i){u++;i.indexOf("\n")>=0&&u++;return r+i.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return p>60?o[0]+(""===i?"":i+"\n ")+" "+r.join(",\n ")+" "+o[1]:o[0]+i+" "+r.join(", ")+" "+o[1]}o.types=u(5955);function isArray(r){return Array.isArray(r)}o.isArray=isArray;function isBoolean(r){return"boolean"===typeof r}o.isBoolean=isBoolean;function isNull(r){return null===r}o.isNull=isNull;function isNullOrUndefined(r){return null==r}o.isNullOrUndefined=isNullOrUndefined;function isNumber(r){return"number"===typeof r}o.isNumber=isNumber;function isString(r){return"string"===typeof r}o.isString=isString;function isSymbol(r){return"symbol"===typeof r}o.isSymbol=isSymbol;function isUndefined(r){return void 0===r}o.isUndefined=isUndefined;function isRegExp(r){return isObject(r)&&"[object RegExp]"===objectToString(r)}o.isRegExp=isRegExp;o.types.isRegExp=isRegExp;function isObject(r){return"object"===typeof r&&null!==r}o.isObject=isObject;function isDate(r){return isObject(r)&&"[object Date]"===objectToString(r)}o.isDate=isDate;o.types.isDate=isDate;function isError(r){return isObject(r)&&("[object Error]"===objectToString(r)||r instanceof Error)}o.isError=isError;o.types.isNativeError=isError;function isFunction(r){return"function"===typeof r}o.isFunction=isFunction;function isPrimitive(r){return null===r||"boolean"===typeof r||"number"===typeof r||"string"===typeof r||"symbol"===typeof r||"undefined"===typeof r}o.isPrimitive=isPrimitive;o.isBuffer=u(384);function objectToString(r){return Object.prototype.toString.call(r)}function pad(r){return r<10?"0"+r.toString(10):r.toString(10)}var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var r=new Date;var i=[pad(r.getHours()),pad(r.getMinutes()),pad(r.getSeconds())].join(":");return[r.getDate(),k[r.getMonth()],i].join(" ")}o.log=function(){console.log("%s - %s",timestamp(),o.format.apply(o,arguments))}; /** * Inherit the prototype methods from one constructor into another. * * The Function.prototype.inherits from lang.js rewritten as a standalone * function (not on Function.prototype). NOTE: If this file is to be loaded * during bootstrapping this function needs to be rewritten using some native * functions as prototype setup using normal JavaScript does not work as * expected during bootstrapping (see mirror.js in r114903). * * @param {function} ctor Constructor function which needs to inherit the * prototype. * @param {function} superCtor Constructor function to inherit prototype from. */o.inherits=u(5717);o._extend=function(r,i){if(!i||!isObject(i))return r;var o=Object.keys(i);var u=o.length;while(u--)r[o[u]]=i[o[u]];return r};function hasOwnProperty(r,i){return Object.prototype.hasOwnProperty.call(r,i)}var P="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;o.promisify=function promisify(i){if("function"!==typeof i)throw new TypeError('The "original" argument must be of type Function');if(P&&i[P]){fn=i[P];if("function"!==typeof fn)throw new TypeError('The "util.promisify.custom" argument must be of type Function');Object.defineProperty(fn,P,{value:fn,enumerable:false,writable:false,configurable:true});return fn}function fn(){var o,u;var p=new Promise((function(r,i){o=r;u=i}));var g=[];for(var y=0;y1?o.attr[i[1]]:o.val:void 0};XmlElement.prototype.toString=function(r){return this.toStringWithIndent("",r)};XmlElement.prototype.toStringWithIndent=function(i,o){var u=i+"<"+(this||r).name;var p=o&&o.compressed?"":"\n";o&&o.preserveWhitespace;for(var g in(this||r).attr)Object.prototype.hasOwnProperty.call((this||r).attr,g)&&(u+=" "+g+'="'+escapeXML((this||r).attr[g])+'"');if(1===(this||r).children.length&&"element"!==(this||r).children[0].type)u+=">"+(this||r).children[0].toString(o)+"";else if((this||r).children.length){u+=">"+p;var y=i+(o&&o.compressed?"":" ");for(var w=0,_=(this||r).children.length;w<_;w++)u+=(this||r).children[w].toStringWithIndent(y,o)+p;u+=i+""}else if(o&&o.html){var x=["area","base","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];-1!==x.indexOf((this||r).name)?u+="/>":u+=">"}else u+="/>";return u};function XmlTextNode(i){(this||r).text=i}XmlTextNode.prototype.toString=function(i){return formatText(escapeXML((this||r).text),i)};XmlTextNode.prototype.toStringWithIndent=function(r,i){return r+this.toString(i)};function XmlCDataNode(i){(this||r).cdata=i}XmlCDataNode.prototype.toString=function(i){return""};XmlCDataNode.prototype.toStringWithIndent=function(r,i){return r+this.toString(i)};function XmlCommentNode(i){(this||r).comment=i}XmlCommentNode.prototype.toString=function(i){return"\x3c!--"+formatText(escapeXML((this||r).comment),i)+"--\x3e"};XmlCommentNode.prototype.toStringWithIndent=function(r,i){return r+this.toString(i)};XmlElement.prototype.type="element";XmlTextNode.prototype.type="text";XmlCDataNode.prototype.type="cdata";XmlCommentNode.prototype.type="comment";function XmlDocument(i){i&&(i=i.toString().trim());if(!i)throw new Error("No XML to parse!");(this||r).doctype="";(this||r).parser=o.parser(true);addParserEvents((this||r).parser);p=[this||r];(this||r).parser.write(i);delete(this||r).parser}extend(XmlDocument.prototype,XmlElement.prototype);XmlDocument.prototype._opentag=function(i){"undefined"===typeof(this||r).children?XmlElement.call(this||r,i):XmlElement.prototype._opentag.apply(this||r,arguments)};XmlDocument.prototype._doctype=function(i){(this||r).doctype+=i};var p=null;function addParserEvents(r){r.onopentag=parser_opentag;r.onclosetag=parser_closetag;r.ontext=parser_text;r.oncdata=parser_cdata;r.oncomment=parser_comment;r.ondoctype=parser_doctype;r.onerror=parser_error}function parser_opentag(){p[0]&&p[0]._opentag.apply(p[0],arguments)}function parser_closetag(){p[0]&&p[0]._closetag.apply(p[0],arguments)}function parser_text(){p[0]&&p[0]._text.apply(p[0],arguments)}function parser_cdata(){p[0]&&p[0]._cdata.apply(p[0],arguments)}function parser_comment(){p[0]&&p[0]._comment.apply(p[0],arguments)}function parser_doctype(){p[0]&&p[0]._doctype.apply(p[0],arguments)}function parser_error(){p[0]&&p[0]._error.apply(p[0],arguments)}function extend(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])}function escapeXML(r){return r.toString().replace(/&/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")}function formatText(r,i){var o=r;i&&i.trimmed&&r.length>25&&(o=o.substring(0,25).trim()+"…");i&&i.preserveWhitespace||(o=o.trim());return o}(true,i.exports)&&!u.g.xmldocAssumeBrowser?i.exports.XmlDocument=XmlDocument:(this||r).XmlDocument=XmlDocument})()},6255:function(i,o,u){"undefined"===typeof window||window.Promise||u(3867);u(4667);var fetchUrl=function(r,i){return new Promise((function(o,u){var p=new XMLHttpRequest;p.open("GET",r,true);for(var g in i)p.setRequestHeader(g,i[g]);p.responseType="arraybuffer";p.onreadystatechange=function(){if(4===p.readyState){var i=p.status>=200&&p.status<300;i||setTimeout((function(){u(new TypeError('Failed to fetch (url: "'+r+'")'))}),0)}};p.onload=function(){var r=p.status>=200&&p.status<300;r&&o(p.response)};p.onerror=function(){setTimeout((function(){u(new TypeError('Network request failed (url: "'+r+'")'))}),0)};p.ontimeout=function(){setTimeout((function(){u(new TypeError('Network request failed (url: "'+r+'")'))}),0)};p.send()}))};function URLBrowserResolver(i){(this||r).fs=i;(this||r).resolving={}}URLBrowserResolver.prototype.resolve=function(i,o){if(!(this||r).resolving[i]){var u=this||r;(this||r).resolving[i]=new Promise((function(r,p){0===i.toLowerCase().indexOf("https://")||0===i.toLowerCase().indexOf("http://")?fetchUrl(i,o).then((function(o){u.fs.writeFileSync(i,o);r()}),(function(r){p(r)})):r()}))}return(this||r).resolving[i]};URLBrowserResolver.prototype.resolved=function(){var i=this||r;return new Promise((function(r,o){Promise.all(Object.values(i.resolving)).then((function(){r()}),(function(r){o(r)}))}))};i.exports=URLBrowserResolver},4275:function(i,o,u){var p=u(8823).Buffer;var g=u(6225).isFunction;var y=u(6225).isUndefined;u(6225).isNull;var w=u(1818);var _=w.saveAs;var x={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}};function Document(i,o,u,p){(this||r).docDefinition=i;(this||r).tableLayouts=o||null;(this||r).fonts=u||x;(this||r).vfs=p}function canCreatePdf(){try{var r=new Uint8Array(1);var i={foo:function(){return 42}};Object.setPrototypeOf(i,Uint8Array.prototype);Object.setPrototypeOf(r,i);return 42===r.foo()}catch(r){return false}}Document.prototype._createDoc=function(i,o){var getExtendedUrl=function(r){return"object"===typeof r?{url:r.url,headers:r.headers}:{url:r,headers:{}}};i=i||{};(this||r).tableLayouts&&(i.tableLayouts=(this||r).tableLayouts);var p=u(8617);var y=new p((this||r).fonts);u(3857).bindFS((this||r).vfs);if(!g(o)){var w=y.createPdfKitDocument((this||r).docDefinition,i);return w}var _=u(6255);var x=new _(u(3857));for(var k in(this||r).fonts)if((this||r).fonts.hasOwnProperty(k)){if((this||r).fonts[k].normal){var P=getExtendedUrl((this||r).fonts[k].normal);x.resolve(P.url,P.headers);(this||r).fonts[k].normal=P.url}if((this||r).fonts[k].bold){P=getExtendedUrl((this||r).fonts[k].bold);x.resolve(P.url,P.headers);(this||r).fonts[k].bold=P.url}if((this||r).fonts[k].italics){P=getExtendedUrl((this||r).fonts[k].italics);x.resolve(P.url,P.headers);(this||r).fonts[k].italics=P.url}if((this||r).fonts[k].bolditalics){P=getExtendedUrl((this||r).fonts[k].bolditalics);x.resolve(P.url,P.headers);(this||r).fonts[k].bolditalics=P.url}}if((this||r).docDefinition.images)for(var I in(this||r).docDefinition.images)if((this||r).docDefinition.images.hasOwnProperty(I)){P=getExtendedUrl((this||r).docDefinition.images[I]);x.resolve(P.url,P.headers);(this||r).docDefinition.images[I]=P.url}var O=this||r;x.resolved().then((function(){var r=y.createPdfKitDocument(O.docDefinition,i);o(r)}),(function(r){throw r}))};Document.prototype._flushDoc=function(r,i){var o=[];var u;r.on("readable",(function(){var i;while(null!==(i=r.read(9007199254740991)))o.push(i)}));r.on("end",(function(){u=p.concat(o);i(u,r._pdfMakePages)}));r.end()};Document.prototype._getPages=function(i,o){if(!o)throw"_getPages is an async method and needs a callback argument";var u=this||r;this._createDoc(i,(function(r){u._flushDoc(r,(function(r,i){o(i)}))}))};Document.prototype._bufferToBlob=function(r){var i;try{i=new Blob([r],{type:"application/pdf"})}catch(u){if("InvalidStateError"===u.name){var o=new Uint8Array(r);i=new Blob([o.buffer],{type:"application/pdf"})}}if(!i)throw"Could not generate blob";return i};Document.prototype._openWindow=function(){var r=window.open("","_blank");if(null===r)throw"Open PDF in new window blocked by browser";return r};Document.prototype._openPdf=function(r,i){i||(i=this._openWindow());try{this.getBlob((function(r){var o=window.URL||window.webkitURL;var u=o.createObjectURL(r);i.location.href=u}),r)}catch(r){i.close();throw r}};Document.prototype.open=function(r,i){r=r||{};r.autoPrint=false;i=i||null;this._openPdf(r,i)};Document.prototype.print=function(r,i){r=r||{};r.autoPrint=true;i=i||null;this._openPdf(r,i)};Document.prototype.download=function(r,i,o){if(g(r)){y(i)||(o=i);i=r;r=null}r=r||"file.pdf";this.getBlob((function(o){_(o,r);g(i)&&i()}),o)};Document.prototype.getBase64=function(r,i){if(!r)throw"getBase64 is an async method and needs a callback argument";this.getBuffer((function(i){r(i.toString("base64"))}),i)};Document.prototype.getDataUrl=function(r,i){if(!r)throw"getDataUrl is an async method and needs a callback argument";this.getBuffer((function(i){r("data:application/pdf;base64,"+i.toString("base64"))}),i)};Document.prototype.getBlob=function(i,o){if(!i)throw"getBlob is an async method and needs a callback argument";var u=this||r;this.getBuffer((function(r){var o=u._bufferToBlob(r);i(o)}),o)};Document.prototype.getBuffer=function(i,o){if(!i)throw"getBuffer is an async method and needs a callback argument";var u=this||r;this._createDoc(o,(function(r){u._flushDoc(r,(function(r){i(r)}))}))};Document.prototype.getStream=function(r,i){if(!g(i)){var o=this._createDoc(r);return o}this._createDoc(r,(function(r){i(r)}))};i.exports={createPdf:function(r,i,o,p){if(!canCreatePdf())throw"Your browser does not provide the level of support needed";return new Document(r,i||u.g.pdfMake.tableLayouts,o||u.g.pdfMake.fonts,p||u.g.pdfMake.vfs)}}},3857:function(i,o,u){var p="/";var g=u(8823).Buffer;function VirtualFileSystem(){(this||r).fileSystem={};(this||r).dataSystem={}}VirtualFileSystem.prototype.existsSync=function(i){i=fixFilename(i);return"undefined"!==typeof(this||r).fileSystem[i]||"undefined"!==typeof(this||r).dataSystem[i]};VirtualFileSystem.prototype.readFileSync=function(i,o){i=fixFilename(i);var u=(this||r).dataSystem[i];if("string"===typeof u&&"utf8"===o)return u;if(u)return new g(u,"string"===typeof u?"base64":void 0);var p=(this||r).fileSystem[i];if(p)return p;throw"File '"+i+"' not found in virtual file system"};VirtualFileSystem.prototype.writeFileSync=function(i,o){(this||r).fileSystem[fixFilename(i)]=o};VirtualFileSystem.prototype.bindFS=function(i){(this||r).dataSystem=i||{}};function fixFilename(r){0===r.indexOf(p)&&(r=r.substring(p.length));0===r.indexOf("/")&&(r=r.substring(1));return r}i.exports=new VirtualFileSystem},4498:function(r,i,o){var u=o(6225).isString;function buildColumnWidths(r,i){var o=[],p=0,g=0,y=[],w=0,_=0,x=[],k=i;r.forEach((function(r){if(isAutoColumn(r)){o.push(r);p+=r._minWidth;g+=r._maxWidth}else if(isStarColumn(r)){y.push(r);w=Math.max(w,r._minWidth);_=Math.max(_,r._maxWidth)}else x.push(r)}));x.forEach((function(r){u(r.width)&&/\d+%/.test(r.width)&&(r.width=parseFloat(r.width)*k/100);r.width=i){o.forEach((function(r){r._calcWidth=r._minWidth}));y.forEach((function(r){r._calcWidth=w}))}else{if(I0){var R=i/y.length;y.forEach((function(r){r._calcWidth=R}))}}}function isAutoColumn(r){return"auto"===r.width}function isStarColumn(r){return null===r.width||void 0===r.width||"*"===r.width||"star"===r.width}function measureMinMax(r){var i={min:0,max:0};var o={min:0,max:0};var u=0;for(var p=0,g=r.length;p=0;u--){var p=r[u];var g=o.styleStack.styleDictionary[p];for(var y in g)g.hasOwnProperty(y)&&(i[y]=g[y])}return i}function convertMargin(r){_(r)?r=[r,r,r,r]:k(r)&&2===r.length&&(r=[r[0],r[1],r[0],r[1]]);return r}var r=[void 0,void 0,void 0,void 0];if(i.style){var u=k(i.style)?i.style:[i.style];var p=flattenStyleArray(u);p&&(r=processSingleMargins(p,r));p.margin&&(r=convertMargin(p.margin))}r=processSingleMargins(i,r);i.margin&&(r=convertMargin(i.margin));return void 0===r[0]&&void 0===r[1]&&void 0===r[2]&&void 0===r[3]?null:r}};DocMeasure.prototype.convertIfBase64Image=function(i){if(/^data:image\/(jpeg|jpg|png);base64,/.test(i.image)){var o="$$pdfmake$$"+(this||r).autoImageIndex++;(this||r).images[o]=i.image;i.image=o}};DocMeasure.prototype.measureImageWithDimensions=function(i,o){if(i.fit){var u=o.width/o.height>i.fit[0]/i.fit[1]?i.fit[0]/o.width:i.fit[1]/o.height;i._width=i._minWidth=i._maxWidth=o.width*u;i._height=o.height*u}else{i._width=i._minWidth=i._maxWidth=i.width||o.width;i._height=i.height||o.height*i._width/o.width;if(_(i.maxWidth)&&i.maxWidthi._width){i._width=i._minWidth=i._maxWidth=i.minWidth;i._height=i._width*o.height/o.width}if(_(i.minHeight)&&i.minHeight>i._height){i._height=i.minHeight;i._width=i._minWidth=i._maxWidth=i._height*o.width/o.height}}i._alignment=(this||r).styleStack.getProperty("alignment")};DocMeasure.prototype.measureImage=function(i){(this||r).images&&this.convertIfBase64Image(i);var o=(this||r).imageMeasure.measureImage(i.image);this.measureImageWithDimensions(i,o);return i};DocMeasure.prototype.measureSVG=function(i){var o=(this||r).svgMeasure.measureSVG(i.svg);this.measureImageWithDimensions(i,o);i.font=(this||r).styleStack.getProperty("font");i.svg=(this||r).svgMeasure.writeDimensions(i.svg,{width:i._width,height:i._height});return i};DocMeasure.prototype.measureLeaf=function(i){i._textRef&&i._textRef._textNodeRef.text&&(i.text=i._textRef._textNodeRef.text);var o=(this||r).styleStack.clone();o.push(i);var u=(this||r).textTools.buildInlines(i.text,o);i._inlines=u.items;i._minWidth=u.minWidth;i._maxWidth=u.maxWidth;return i};DocMeasure.prototype.measureToc=function(r){r.toc.title&&(r.toc.title=this.measureNode(r.toc.title));if(r.toc._items.length>0){var i=[];var o=r.toc.textStyle||{};var u=r.toc.numberStyle||o;var p=r.toc.textMargin||[0,0,0,0];for(var g=0,y=r.toc._items.length;g=26?toAlpha((r/26>>0)-1):"")+"abcdefghijklmnopqrstuvwxyz"[r%26>>0]}return r<1?r.toString():toAlpha(r-1)}function prepareRoman(r){if(r<1||r>4999)return r.toString();var i=r;var o,u={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},p="";for(o in u)while(i>=u[o]){p+=o;i-=u[o]}return p}function prepareDecimal(r){return r.toString()}var g;switch(u){case"none":g=null;break;case"upper-alpha":g=prepareAlpha(i).toUpperCase();break;case"lower-alpha":g=prepareAlpha(i);break;case"upper-roman":g=prepareRoman(i);break;case"lower-roman":g=prepareRoman(i).toLowerCase();break;case"decimal":default:g=prepareDecimal(i);break}if(null===g)return{};if(p)if(k(p)){p[0]&&(g=p[0]+g);p[1]&&(g+=p[1]);g+=" "}else g+=p+" ";var y={text:g};var w=o.getProperty("markerColor");w&&(y.color=w);return{_inlines:(this||r).textTools.buildInlines(y,o).items}};DocMeasure.prototype.measureUnorderedList=function(i){var o=(this||r).styleStack.clone();var u=i.ul;i.type=i.type||"disc";i._gapSize=this.gapSizeForList();i._minWidth=0;i._maxWidth=0;for(var p=0,g=u.length;p0?o.length-1:0;i._minWidth=g.min+i._gap*w;i._maxWidth=g.max+i._gap*w;return i};DocMeasure.prototype.measureTable=function(i){extendTableWidths(i);i._layout=getLayout((this||r).tableLayouts);i._offsets=getOffsets(i._layout);var o=[];var u,p,g,k;for(u=0,g=i.table.body[0].length;u1){markSpans(I,u,B.colSpan);o.push({col:u,span:B.colSpan,minWidth:B._minWidth,maxWidth:B._maxWidth})}else{P._minWidth=Math.max(P._minWidth,B._minWidth);P._maxWidth=Math.max(P._maxWidth,B._maxWidth)}}B.rowSpan&&B.rowSpan>1&&markVSpans(i.table,p,u,B.rowSpan)}}extendWidthsForColSpans();var R=y.measureMinMax(i.table.widths);i._minWidth=R.min+i._offsets.total;i._maxWidth=R.max+i._offsets.total;return i;function measureCb(r,i){return function(){if(x(i)){i.fillColor=r.styleStack.getProperty("fillColor");i.fillOpacity=r.styleStack.getProperty("fillOpacity")}return r.measureNode(i)}}function getLayout(r){var o=i.layout;w(o)&&(o=r[o]);var u={hLineWidth:function(r,i){return 1},vLineWidth:function(r,i){return 1},hLineColor:function(r,i){return"black"},vLineColor:function(r,i){return"black"},hLineStyle:function(r,i){return null},vLineStyle:function(r,i){return null},paddingLeft:function(r,i){return 4},paddingRight:function(r,i){return 4},paddingTop:function(r,i){return 2},paddingBottom:function(r,i){return 2},fillColor:function(r,i){return null},fillOpacity:function(r,i){return 1},defaultBorder:true};return O(u,o)}function getOffsets(r){var o=[];var u=0;var p=0;for(var g=0,y=i.table.widths.length;g0){r=_/y.span;for(u=0;u0){r=x/y.span;for(u=0;uu&&(u=o.y+i):u+=i);(this||r).y=u;(this||r).page=o.bottomMost.page;(this||r).availableWidth=o.availableWidth;(this||r).availableHeight=o.bottomMost.availableHeight;i&&((this||r).availableHeight-=u-o.bottomMost.y);(this||r).lastColumnWidth=o.lastColumnWidth};DocumentContext.prototype.addMargin=function(i,o){(this||r).x+=i;(this||r).availableWidth-=i+(o||0)};DocumentContext.prototype.moveDown=function(i){(this||r).y+=i;(this||r).availableHeight-=i;return(this||r).availableHeight>0};DocumentContext.prototype.initializePage=function(){(this||r).y=(this||r).pageMargins.top;(this||r).availableHeight=this.getCurrentPage().pageSize.height-(this||r).pageMargins.top-(this||r).pageMargins.bottom;this.pageSnapshot().availableWidth=this.getCurrentPage().pageSize.width-(this||r).pageMargins.left-(this||r).pageMargins.right};DocumentContext.prototype.pageSnapshot=function(){return(this||r).snapshots[0]?(this||r).snapshots[0]:this||r};DocumentContext.prototype.moveTo=function(i,o){if(void 0!==i&&null!==i){(this||r).x=i;(this||r).availableWidth=this.getCurrentPage().pageSize.width-(this||r).x-(this||r).pageMargins.right}if(void 0!==o&&null!==o){(this||r).y=o;(this||r).availableHeight=this.getCurrentPage().pageSize.height-(this||r).y-(this||r).pageMargins.bottom}};DocumentContext.prototype.moveToRelative=function(i,o){void 0!==i&&null!==i&&((this||r).x=(this||r).x+i);void 0!==o&&null!==o&&((this||r).y=(this||r).y+o)};DocumentContext.prototype.beginDetachedBlock=function(){(this||r).snapshots.push({x:(this||r).x,y:(this||r).y,availableHeight:(this||r).availableHeight,availableWidth:(this||r).availableWidth,page:(this||r).page,endingCell:(this||r).endingCell,lastColumnWidth:(this||r).lastColumnWidth})};DocumentContext.prototype.endDetachedBlock=function(){var i=(this||r).snapshots.pop();(this||r).x=i.x;(this||r).y=i.y;(this||r).availableWidth=i.availableWidth;(this||r).availableHeight=i.availableHeight;(this||r).page=i.page;(this||r).endingCell=i.endingCell;(this||r).lastColumnWidth=i.lastColumnWidth};function pageOrientation(r,i){return void 0===r?i:g(r)&&"landscape"===r.toLowerCase()?"landscape":"portrait"}var getPageSize=function(r,i){i=pageOrientation(i,r.pageSize.orientation);return i!==r.pageSize.orientation?{orientation:i,width:r.pageSize.height,height:r.pageSize.width}:{orientation:r.pageSize.orientation,width:r.pageSize.width,height:r.pageSize.height}};DocumentContext.prototype.moveToNextPage=function(i){var o=(this||r).page+1;var u=(this||r).page;var p=(this||r).y;var g=o>=(this||r).pages.length;if(g){var y=(this||r).availableWidth;var w=this.getCurrentPage().pageSize.orientation;var _=getPageSize(this.getCurrentPage(),i);this.addPage(_);w===_.orientation&&((this||r).availableWidth=y)}else{(this||r).page=o;this.initializePage()}return{newPageCreated:g,prevPage:u,prevY:p,y:(this||r).y}};DocumentContext.prototype.addPage=function(i){var o={items:[],pageSize:i};(this||r).pages.push(o);(this||r).backgroundLength.push(0);(this||r).page=(this||r).pages.length-1;this.initializePage();(this||r).tracker.emit("pageAdded");return o};DocumentContext.prototype.getCurrentPage=function(){return(this||r).page<0||(this||r).page>=(this||r).pages.length?null:(this||r).pages[(this||r).page]};DocumentContext.prototype.getCurrentPosition=function(){var i=this.getCurrentPage().pageSize;var o=i.height-(this||r).pageMargins.top-(this||r).pageMargins.bottom;var u=i.width-(this||r).pageMargins.left-(this||r).pageMargins.right;return{pageNumber:(this||r).page+1,pageOrientation:i.orientation,pageInnerHeight:o,pageInnerWidth:u,left:(this||r).x,top:(this||r).y,verticalRatio:((this||r).y-(this||r).pageMargins.top)/o,horizontalRatio:((this||r).x-(this||r).pageMargins.left)/u}};function bottomMostContext(r,i){var o;o=r.page>i.page?r:i.page>r.page?i:r.y>i.y?r:i;return{page:o.page,x:o.x,y:o.y,availableHeight:o.availableHeight,availableWidth:o.availableWidth}}i.exports=DocumentContext},1196:function(i,o,u){var p=u(4775);var g=u(6225).isNumber;var y=u(6225).pack;var w=u(6225).offsetVector;var _=u(3858);function ElementWriter(i,o){(this||r).context=i;(this||r).contextStack=[];(this||r).tracker=o}function addPageItem(r,i,o){null===o||void 0===o||o<0||o>r.items.length?r.items.push(i):r.items.splice(o,0,i)}ElementWriter.prototype.addLine=function(i,o,u){var p=i.getHeight();var g=(this||r).context;var y=g.getCurrentPage(),w=this.getCurrentPositionOnPage();if(g.availableHeight0&&i.inlines[0].alignment;var g=0;switch(p){case"right":g=o-u;break;case"center":g=(o-u)/2;break}g&&(i.x=(i.x||0)+g);if("justify"===p&&!i.newLineForced&&!i.lastLineInParagraph&&i.inlines.length>1){var y=(o-u)/(i.inlines.length-1);for(var w=1,_=i.inlines.length;w<_;w++){g=w*y;i.inlines[w].x+=g;i.inlines[w].justifyShift=y}}};ElementWriter.prototype.addImage=function(i,o,u){var p=(this||r).context;var g=p.getCurrentPage(),y=this.getCurrentPositionOnPage();if(!g||void 0===i.absolutePosition&&p.availableHeight0)return false;void 0===i._x&&(i._x=i.x||0);i.x=p.x+i._x;i.y=p.y;this.alignImage(i);addPageItem(g,{type:u||"image",item:i},o);p.moveDown(i._height);return y};ElementWriter.prototype.addSVG=function(r,i){return this.addImage(r,i,"svg")};ElementWriter.prototype.addQr=function(i,o){var u=(this||r).context;var p=u.getCurrentPage(),g=this.getCurrentPositionOnPage();if(!p||void 0===i.absolutePosition&&u.availableHeightg.availableHeight)return false;i.items.forEach((function(r){switch(r.type){case"line":var p=cloneLine(r.item);p._node&&(p._node.positions[0].pageNumber=g.page+1);p.x=(p.x||0)+(o?i.xOffset||0:g.x);p.y=(p.y||0)+(u?i.yOffset||0:g.y);_.items.push({type:"line",item:p});break;case"vector":var x=y(r.item);w(x,o?i.xOffset||0:g.x,u?i.yOffset||0:g.y);_.items.push({type:"vector",item:x});break;case"image":case"svg":var k=y(r.item);k.x=(k.x||0)+(o?i.xOffset||0:g.x);k.y=(k.y||0)+(u?i.yOffset||0:g.y);_.items.push({type:r.type,item:k});break}}));p||g.moveDown(i.height);return true};ElementWriter.prototype.pushContext=function(i,o){if(void 0===i){o=(this||r).context.getCurrentPage().height-(this||r).context.pageMargins.top-(this||r).context.pageMargins.bottom;i=(this||r).context.availableWidth}g(i)&&(i=new _({width:i,height:o},{left:0,right:0,top:0,bottom:0}));(this||r).contextStack.push((this||r).context);(this||r).context=i};ElementWriter.prototype.popContext=function(){(this||r).context=(this||r).contextStack.pop()};ElementWriter.prototype.getCurrentPositionOnPage=function(){return((this||r).contextStack[0]||(this||r).context).getCurrentPosition()};i.exports=ElementWriter},2249:function(i,o,u){var p=u(6225).isArray;function typeName(r,i){var o="normal";r&&i?o="bolditalics":r?o="bold":i&&(o="italics");return o}function FontProvider(i,o){(this||r).fonts={};(this||r).pdfKitDoc=o;(this||r).fontCache={};for(var u in i)if(i.hasOwnProperty(u)){var p=i[u];(this||r).fonts[u]={normal:p.normal,bold:p.bold,italics:p.italics,bolditalics:p.bolditalics}}}FontProvider.prototype.getFontType=function(r,i){return typeName(r,i)};FontProvider.prototype.getFontFile=function(i,o,u){var p=this.getFontType(o,u);return(this||r).fonts[i]&&(this||r).fonts[i][p]?(this||r).fonts[i][p]:null};FontProvider.prototype.provideFont=function(i,o,u){var g=this.getFontType(o,u);if(null===this.getFontFile(i,o,u))throw new Error("Font '"+i+"' in style '"+g+"' is not defined in the font section of the document definition.");(this||r).fontCache[i]=(this||r).fontCache[i]||{};if(!(this||r).fontCache[i][g]){var y=(this||r).fonts[i][g];p(y)||(y=[y]);(this||r).fontCache[i][g]=(this||r).pdfKitDoc.font.apply((this||r).pdfKitDoc,y)._font}return(this||r).fontCache[i][g]};i.exports=FontProvider},6225:function(r){function isString(r){return"string"===typeof r||r instanceof String}function isNumber(r){return"number"===typeof r||r instanceof Number}function isBoolean(r){return"boolean"===typeof r}function isArray(r){return Array.isArray(r)}function isFunction(r){return"function"===typeof r}function isObject(r){return null!==r&&"object"===typeof r}function isNull(r){return null===r}function isUndefined(r){return void 0===r}function pack(){var r={};for(var i=0,o=arguments.length;i0}));r.forEach((function(r){var o={};["id","text","ul","ol","table","image","qr","canvas","svg","columns","headlineLevel","style","pageBreak","pageOrientation","width","height"].forEach((function(i){void 0!==r[i]&&(o[i]=r[i])}));o.startPosition=r.positions[0];o.pageNumbers=Array.from(new Set(r.positions.map((function(r){return r.pageNumber}))));o.pages=i.length;o.stack=O(r.stack);r.nodeInfo=o}));for(var o=0;o1)for(var _=o+1,x=r.length;_-1&&g.push(r[_].nodeInfo);I.length>2&&r[_].nodeInfo.pageNumbers.indexOf(p+1)>-1&&y.push(r[_].nodeInfo)}if(I.length>3)for(_=0;_-1&&w.push(r[_].nodeInfo);if(I(u.nodeInfo,g,y,w)){u.pageBreak="before";return true}}}return false}(this||r).docPreprocessor=new g;(this||r).docMeasure=new y(o,u,p,(this||r).imageMeasure,(this||r).svgMeasure,(this||r).tableLayouts,k);function resetXYs(r){r.linearNodeList.forEach((function(r){r.resetXY()}))}var B=this.tryLayoutDocument(i,o,u,p,w,_,x,k,P);while(addPageBreaksIfNecessary(B.linearNodeList,B.pages)){resetXYs(B);B=this.tryLayoutDocument(i,o,u,p,w,_,x,k,P)}return B.pages};LayoutBuilder.prototype.tryLayoutDocument=function(i,o,u,p,g,y,x,k,P,I){(this||r).linearNodeList=[];i=(this||r).docPreprocessor.preprocessDocument(i);i=(this||r).docMeasure.measureDocument(i);(this||r).writer=new _(new w((this||r).pageSize,(this||r).pageMargins),(this||r).tracker);var O=this||r;(this||r).writer.context().tracker.startTracking("pageAdded",(function(){O.addBackground(g)}));this.addBackground(g);this.processNode(i);this.addHeadersAndFooters(y,x);null!=P&&this.addWatermark(P,o,p);return{pages:(this||r).writer.context().pages,linearNodeList:(this||r).linearNodeList}};LayoutBuilder.prototype.addBackground=function(i){var o=j(i)?i:function(){return i};var u=(this||r).writer.context();var p=u.getCurrentPage().pageSize;var g=o(u.page+1,p);if(g){(this||r).writer.beginUnbreakableBlock(p.width,p.height);g=(this||r).docPreprocessor.preprocessDocument(g);this.processNode((this||r).docMeasure.measureDocument(g));(this||r).writer.commitUnbreakableBlock(0,0);u.backgroundLength[u.page]+=g.positions.length}};LayoutBuilder.prototype.addStaticRepeatable=function(r,i){this.addDynamicRepeatable((function(){return JSON.parse(JSON.stringify(r))}),i)};LayoutBuilder.prototype.addDynamicRepeatable=function(i,o){var u=(this||r).writer.context().pages;for(var p=0,g=u.length;p1){p.push({fontSize:_});g=u.sizeOfRotatedText(i.text,i.angle,p);if(g.width>r.width){w=_;_=(y+w)/2}else if(g.widthr.height){w=_;_=(y+w)/2}else{y=_;_=(y+w)/2}p.pop()}return _}};function decorateNode(r){var i=r.x,o=r.y;r.positions=[];O(r.canvas)&&r.canvas.forEach((function(r){var i=r.x,o=r.y,u=r.x1,p=r.y1,g=r.x2,y=r.y2;r.resetXY=function(){r.x=i;r.y=o;r.x1=u;r.y1=p;r.x2=g;r.y2=y}}));r.resetXY=function(){r.x=i;r.y=o;O(r.canvas)&&r.canvas.forEach((function(r){r.resetXY()}))}}LayoutBuilder.prototype.processNode=function(i){var o=this||r;(this||r).linearNodeList.push(i);decorateNode(i);applyMargins((function(){var r=i.unbreakable;r&&o.writer.beginUnbreakableBlock();var u=i.absolutePosition;if(u){o.writer.context().beginDetachedBlock();o.writer.context().moveTo(u.x||0,u.y||0)}var p=i.relativePosition;if(p){o.writer.context().beginDetachedBlock();o.writer.context().moveToRelative(p.x||0,p.y||0)}if(i.stack)o.processVerticalContainer(i);else if(i.columns)o.processColumns(i);else if(i.ul)o.processList(false,i);else if(i.ol)o.processList(true,i);else if(i.table)o.processTable(i);else if(void 0!==i.text)o.processLeaf(i);else if(i.toc)o.processToc(i);else if(i.image)o.processImage(i);else if(i.svg)o.processSVG(i);else if(i.canvas)o.processCanvas(i);else if(i.qr)o.processQr(i);else if(!i._span)throw"Unrecognized document structure: "+JSON.stringify(i,W);(u||p)&&o.writer.context().endDetachedBlock();r&&o.writer.commitUnbreakableBlock()}));function applyMargins(r){var u=i._margin;if("before"===i.pageBreak)o.writer.moveToNextPage(i.pageOrientation);else if("beforeOdd"===i.pageBreak){o.writer.moveToNextPage(i.pageOrientation);(o.writer.context().page+1)%2===1&&o.writer.moveToNextPage(i.pageOrientation)}else if("beforeEven"===i.pageBreak){o.writer.moveToNextPage(i.pageOrientation);(o.writer.context().page+1)%2===0&&o.writer.moveToNextPage(i.pageOrientation)}if(u){o.writer.context().moveDown(u[1]);o.writer.context().addMargin(u[0],u[2])}r();if(u){o.writer.context().addMargin(-u[0],-u[2]);o.writer.context().moveDown(u[3])}if("after"===i.pageBreak)o.writer.moveToNextPage(i.pageOrientation);else if("afterOdd"===i.pageBreak){o.writer.moveToNextPage(i.pageOrientation);(o.writer.context().page+1)%2===1&&o.writer.moveToNextPage(i.pageOrientation)}else if("afterEven"===i.pageBreak){o.writer.moveToNextPage(i.pageOrientation);(o.writer.context().page+1)%2===0&&o.writer.moveToNextPage(i.pageOrientation)}}};LayoutBuilder.prototype.processVerticalContainer=function(i){var o=this||r;i.stack.forEach((function(r){o.processNode(r);addAll(i.positions,r.positions)}))};LayoutBuilder.prototype.processColumns=function(i){var o=i.columns;var u=(this||r).writer.context().availableWidth;var p=gapArray(i._gap);p&&(u-=(p.length-1)*i._gap);x.buildColumnWidths(o,u);var g=this.processRow(o,o,p);addAll(i.positions,g.positions);function gapArray(r){if(!r)return null;var i=[];i.push(0);for(var u=o.length-1;u>0;u--)i.push(r);return i}};LayoutBuilder.prototype.processRow=function(i,o,u,p,g,y){var w=this||r;var _=[],x=[];(this||r).tracker.auto("pageChanged",storePageBreakData,(function(){o=o||i;w.writer.context().beginColumnGroup();for(var r=0,p=i.length;r1)for(var P=1;Pr?u[r]:0}function getEndingCell(r,i){if(r.rowSpan&&r.rowSpan>1){var o=g+r.rowSpan-1;if(o>=p.length)throw"Row span for column "+i+" (with indexes starting from 0) exceeded row count";return p[o][i]}return null}};LayoutBuilder.prototype.processList=function(i,o){var u=this||r,p=i?o.ol:o.ul,g=o._gapSize;(this||r).writer.context().addMargin(g.width);var y;(this||r).tracker.auto("lineAdded",addMarkerToFirstLeaf,(function(){p.forEach((function(r){y=r.listMarker;u.processNode(r);addAll(o.positions,r.positions)}))}));(this||r).writer.context().addMargin(-g.width);function addMarkerToFirstLeaf(r){if(y){var i=y;y=null;if(i.canvas){var o=i.canvas[0];N(o,-i._minWidth,0);u.writer.addVector(o)}else if(i._inlines){var p=new P(u.pageSize.width);p.addInline(i._inlines[0]);p.x=-i._minWidth;p.y=r.getAscenderHeight()-p.getAscenderHeight();u.writer.addLine(p,true)}}}};LayoutBuilder.prototype.processTable=function(i){var o=new k(i);o.beginTable((this||r).writer);var u=i.table.heights;for(var p=0,g=i.table.body.length;p0&&(o.hasEnoughSpaceForInline(i._inlines[0],i._inlines.slice(1))||p)){var g=false;var y=i._inlines.shift();p=false;if(!y.noWrap&&y.text.length>1&&y.width>o.getAvailableWidth()){var w=y.width/y.text.length;var _=Math.floor(o.getAvailableWidth()/w);_<1&&(_=1);if(_0){var g=u.pages[0];g.xOffset=i;g.yOffset=o;if(p>1)if(void 0!==i||void 0!==o)g.height=u.getCurrentPage().pageSize.height-u.pageMargins.top-u.pageMargins.bottom;else{g.height=(this||r).writer.context.getCurrentPage().pageSize.height-(this||r).writer.context.pageMargins.top-(this||r).writer.context.pageMargins.bottom;for(var y=0,w=(this||r).repeatables.length;y-1&&(P=P.slice(0,I));if(Infinity===u.height){var O=calculatePageHeight(P,i.pageMargins);(this||r).pdfKitDoc.options.size=[u.width,O]}var D=createPatterns(i.patterns||{},(this||r).pdfKitDoc);renderPages(P,(this||r).fontProvider,(this||r).pdfKitDoc,D,o.progressCallback);if(o.autoPrint){var N=(this||r).pdfKitDoc.ref({Type:"Action",S:"Named",N:"Print"});(this||r).pdfKitDoc._root.data.OpenAction=N;N.end()}return(this||r).pdfKitDoc};function createMetadata(r){function standardizePropertyKey(r){var i=["Title","Author","Subject","Keywords","Creator","Producer","CreationDate","ModDate","Trapped"];var o=r.charAt(0).toUpperCase()+r.slice(1);return-1!==i.indexOf(o)?o:r.replace(/\s+/g,"")}var i={Producer:"pdfmake",Creator:"pdfmake"};if(r.info)for(var o in r.info){var u=r.info[o];if(u){o=standardizePropertyKey(o);i[o]=u}}return i}function calculatePageHeight(r,i){function getItemHeight(r){return I(r.item.getHeight)?r.item.getHeight():r.item._height?r.item._height:"vector"===r.type?r.item.y1>r.item.y2?r.item.y1:r.item.y2:0}function getBottomPosition(r){var i=r.item.y||0;var o=getItemHeight(r);return i+o}var o=fixPageMargins(i||40);var u=o.top;r.forEach((function(r){r.items.forEach((function(r){var i=getBottomPosition(r);i>u&&(u=i)}))}));u+=o.bottom;return u}function fixPageSize(r,i){function isNeedSwapPageSizes(r){if(O(r)){r=r.toLowerCase();return"portrait"===r&&o.width>o.height||"landscape"===r&&o.widtho.height?"landscape":"portrait";return o}function fixPageMargins(r){if(B(r))r={left:r,right:r,top:r,bottom:r};else if(D(r))if(2===r.length)r={left:r[0],top:r[1],right:r[0],bottom:r[1]};else{if(4!==r.length)throw"Invalid pageMargins definition";r={left:r[0],top:r[1],right:r[2],bottom:r[3]}}return r}function registerDefaultTableLayouts(r){r.registerTableLayouts({noBorders:{hLineWidth:function(r){return 0},vLineWidth:function(r){return 0},paddingLeft:function(r){return r?4:0},paddingRight:function(r,i){return ri.options.size[1]?"landscape":"portrait";if(r.pageSize.orientation!==o){var u=i.options.size[0];var p=i.options.size[1];i.options.size=[p,u]}}function renderPages(r,i,o,u,p){o._pdfMakePages=r;o.addPage();var g=0;p&&r.forEach((function(r){g+=r.items.length}));var y=0;p=p||function(){};for(var w=0;w0){updatePageOrientationInOptions(r[w],o);o.addPage(o.options)}var _=r[w];for(var x=0,k=_.items.length;x1){var y=r.points[0];var w=r.points[r.points.length-1];(r.closePath||y.x===w.x&&y.y===w.y)&&o.closePath()}break;case"path":o.path(r.d);break}if(r.linearGradient&&u){var _=1/(r.linearGradient.length-1);for(p=0;p=128?285:0)}var W=[[]];for(D=0;D<30;++D){var U=W[D],j=[];for(var G=0;G<=D;++G){var X=G6};var getsizebyver=function(r){return 4*r+17};var nfullbits=function(r){var o=i[r];var u=16*r*r+128*r+64;needsverinfo(r)&&(u-=36);o[2].length&&(u-=25*o[2].length*o[2].length-10*o[2].length-55);return u};var ndatabits=function(r,o){var u=-8&nfullbits(r);var p=i[r];u-=8*p[0][o]*p[1][o];return u};var ndatalenbits=function(r,i){switch(i){case u:return r<10?10:r<27?12:14;case p:return r<10?9:r<27?11:13;case g:return r<10?8:16;case y:return r<10?8:r<27?10:12}};var getmaxdatalen=function(r,i,o){var w=ndatabits(r,o)-4-ndatalenbits(r,i);switch(i){case u:return 3*(w/10|0)+(w%10<4?0:w%10<7?1:2);case p:return 2*(w/11|0)+(w%11<6?0:1);case g:return w/8|0;case y:return w/13|0}};var validatedata=function(r,i){switch(r){case u:return i.match(w)?i:null;case p:return i.match(_)?i.toUpperCase():null;case g:if("string"===typeof i){var o=[];for(var y=0;y>6,128|63&x):x<65536?o.push(224|x>>12,128|x>>6&63,128|63&x):o.push(240|x>>18,128|x>>12&63,128|x>>6&63,128|63&x)}return o}return i}};var encode=function(r,i,y,w){var _=[];var x=0,k=8;var P=y.length;var pack=function(r,i){if(i>=k){_.push(x|r>>(i-=k));while(i>=8)_.push(r>>(i-=8)&255);x=0;k=8}i>0&&(x|=(r&(1<=0)for(var w=0;w=0;--g)p>>u+g&1&&(p^=o<>_&1;g[r+w][i+_]=1}};blit(0,0,9,9,[127,65,93,93,93,65,383,0,64]);blit(u-8,0,8,9,[256,127,65,93,93,93,65,127]);blit(0,u-8,9,8,[254,130,186,186,186,130,254,0,0]);for(y=9;y>O++&1;g[y][u-11+P]=g[u-11+P][y]=1}}return{matrix:p,reserved:g}};var putdata=function(r,i,o){var u=r.length;var p=0,g=-1;for(var y=u-1;y>=0;y-=2){6==y&&--y;var w=g<0?u-1:0;for(var _=0;_y-2;--x)if(!i[w][x]){r[w][x]=o[p>>3]>>(7&~p)&1;++p}w+=g}g=-g}return r};var maskdata=function(r,i,o){var u=J[o];var p=r.length;for(var g=0;g>y&1}return r};var evaluatematrix=function(r){var i=3;var o=3;var u=40;var p=10;var evaluategroup=function(r){var o=0;for(var p=0;p=5&&(o+=i+(r[p]-5));for(p=5;p=4*g||r[p+1]>=4*g)&&(o+=u)}return o};var g=r.length;var y=0,w=0;for(var _=0;_>3);w=augumenteccs(w,y[1][p],W[y[0][p]]);var _=makebasematrix(o);var x=_.matrix,k=_.reserved;putdata(x,k,w);if(g<0){maskdata(x,k,0);putformatinfo(x,k,p,0);var P=0,I=evaluatematrix(x);maskdata(x,k,0);for(g=1;g<8;++g){maskdata(x,k,g);putformatinfo(x,k,p,g);var O=evaluatematrix(x);if(I>O){I=O;P=g}maskdata(x,k,g)}g=P}maskdata(x,k,g);putformatinfo(x,k,p,g);return x};function generateFrame(r,i){var o={numeric:u,alphanumeric:p,octet:g};var y={L:k,M:P,Q:I,H:O};i=i||{};var _=i.version||-1;var B=y[(i.eccLevel||"L").toUpperCase()];var R=i.mode?o[i.mode.toLowerCase()]:-1;var D="mask"in i?i.mask:-1;if(R<0)R="string"===typeof r?r.match(w)?u:r.match(x)?p:g:g;else if(!(R==u||R==p||R==g))throw"invalid or unsupported mode";r=validatedata(R,r);if(null===r)throw"invalid data format";if(B<0||B>3)throw"invalid ECC level";if(_<0){for(_=1;_<=40;++_)if(r.length<=getmaxdatalen(_,R,B))break;if(_>40)throw"too large data for the Qr format"}else if(_<1||_>40)throw"invalid Qr version! should be between 1 and 40";if(-1!=D&&(D<0||D>8))throw"invalid mask";return generate(r,_,R,B,D)}function buildCanvas(r,i){var o=[];var u=i.background||"#fff";var p=i.foreground||"#000";var g=generateFrame(r,i);var y=g.length;var w=Math.floor(i.fit?i.fit/y:5);var _=y*w;o.push({type:"rect",x:0,y:0,w:_,h:_,lineWidth:0,color:u});for(var x=0;x0)(this||r).styleOverrides.pop()}; /** * Creates a set of named styles or/and a style-overrides-object based on the item, * pushes those elements onto the stack for future evaluation and returns the number * of elements pushed, so they can be easily poped then. * * @param {Object} item - an object with optional style property and/or style overrides * @return the number of items pushed onto the stack */StyleContextStack.prototype.autopush=function(r){if(p(r))return 0;var i=[];r.style&&(i=g(r.style)?r.style:[r.style]);for(var o=0,u=i.length;o0&&this.pop(o);return u}; /** * Evaluates stack and returns value of a named property * * @param {String} property - property name * @return property value or null if not found */StyleContextStack.prototype.getProperty=function(i){if((this||r).styleOverrides)for(var o=(this||r).styleOverrides.length-1;o>=0;o--){var u=(this||r).styleOverrides[o];if(p(u)){var g=(this||r).styleDictionary[u];if(g&&!y(g[i])&&!w(g[i]))return g[i]}else if(!y(u[i])&&!w(u[i]))return u[i]}return(this||r).defaultStyle&&(this||r).defaultStyle[i]};i.exports=StyleContextStack},7601:function(r,i,o){var u=o(6513);function stripUnits(r){var i=parseFloat(r);if("number"===typeof i&&!isNaN(i))return i}function parseSVG(r){var i;try{i=new u.XmlDocument(r)}catch(r){throw new Error("SVGMeasure: "+r)}if("svg"!==i.name)throw new Error("SVGMeasure: expected document");return i}function SVGMeasure(){}SVGMeasure.prototype.measureSVG=function(r){var i=parseSVG(r);var o=stripUnits(i.attr.width);var u=stripUnits(i.attr.height);if((void 0==o||void 0==u)&&"string"==typeof i.attr.viewBox){var p=i.attr.viewBox.split(/[,\s]+/);if(4!==p.length)throw new Error("Unexpected svg viewbox format, should have 4 entries but found: '"+i.attr.viewBox+"'");void 0==o&&(o=stripUnits(p[2]));void 0==u&&(u=stripUnits(p[3]))}return{width:o,height:u}};SVGMeasure.prototype.writeDimensions=function(r,i){var o=parseSVG(r);o.attr.width=""+i.width;o.attr.height=""+i.height;return o.toString()};r.exports=SVGMeasure},9342:function(i,o,u){var p=u(4498);var g=u(6225).isFunction;var y=u(6225).isNumber;function TableProcessor(i){(this||r).tableNode=i}TableProcessor.prototype.beginTable=function(i){var o;var u;var g=this||r;o=(this||r).tableNode;(this||r).offsets=o._offsets;(this||r).layout=o._layout;u=i.context().availableWidth-(this||r).offsets.total;p.buildColumnWidths(o.table.widths,u);(this||r).tableWidth=o._offsets.total+getTableInnerContentWidth();(this||r).rowSpanData=prepareRowSpanData();(this||r).cleanUpRepeatables=false;(this||r).headerRows=o.table.headerRows||0;(this||r).rowsWithoutPageBreak=(this||r).headerRows+(o.table.keepWithHeaderRows||0);(this||r).dontBreakRows=o.table.dontBreakRows||false;(this||r).rowsWithoutPageBreak&&i.beginUnbreakableBlock();prepareCellBorders((this||r).tableNode.table.body);this.drawHorizontalLine(0,i);function getTableInnerContentWidth(){var r=0;o.table.widths.forEach((function(i){r+=i._calcWidth}));return r}function prepareRowSpanData(){var r=[];var i=0;var o=0;r.push({left:0,rowSpan:0});for(var u=0,p=g.tableNode.table.body[0].length;u0&&setBorder(i+w,u,0,p.border[0]);void 0!==p.border[2]&&setBorder(i+w,u+y-1,2,p.border[2])}for(var _=0;_0&&setBorder(i,u+_,1,p.border[1]);void 0!==p.border[3]&&setBorder(i+g-1,u+_,3,p.border[3])}}}}function setBorder(i,o,u,p){var g=r[i][o];g.border=g.border||{};g.border[u]=p}}};TableProcessor.prototype.onRowBreak=function(i,o){var u=this||r;return function(){var r=u.rowPaddingTop+(u.headerRows?0:u.topLineWidth);o.context().availableHeight-=u.reservedAtBottom;o.context().moveDown(r)}};TableProcessor.prototype.beginRow=function(i,o){(this||r).topLineWidth=(this||r).layout.hLineWidth(i,(this||r).tableNode);(this||r).rowPaddingTop=(this||r).layout.paddingTop(i,(this||r).tableNode);(this||r).bottomLineWidth=(this||r).layout.hLineWidth(i+1,(this||r).tableNode);(this||r).rowPaddingBottom=(this||r).layout.paddingBottom(i,(this||r).tableNode);(this||r).rowCallback=this.onRowBreak(i,o);o.tracker.startTracking("pageChanged",(this||r).rowCallback);(this||r).dontBreakRows&&o.beginUnbreakableBlock();(this||r).rowTopY=o.context().y;(this||r).reservedAtBottom=(this||r).bottomLineWidth+(this||r).rowPaddingBottom;o.context().availableHeight-=(this||r).reservedAtBottom;o.context().moveDown((this||r).rowPaddingTop)};TableProcessor.prototype.drawHorizontalLine=function(i,o,u){var p=(this||r).layout.hLineWidth(i,(this||r).tableNode);if(p){var y=(this||r).layout.hLineStyle(i,(this||r).tableNode);var w;y&&y.dash&&(w=y.dash);var _=p/2;var x=null;var k=(this||r).tableNode.table.body;var P;var I;var O;for(var B=0,R=(this||r).rowSpanData.length;B0){P=k[i-1][B];j=P.border?P.border[3]:(this||r).layout.defaultBorder;j&&P.borderColor&&(W=P.borderColor[3])}if(iX)x.width+=(this||r).rowSpanData[B+X++].width||0;B+=X-1}else if(P&&P.colSpan&&j){while(P.colSpan>X)x.width+=(this||r).rowSpanData[B+X++].width||0;B+=X-1}else if(I&&I.colSpan&&U){while(I.colSpan>X)x.width+=(this||r).rowSpanData[B+X++].width||0;B+=X-1}else x.width+=(this||r).rowSpanData[B].width||0}var K=(u||0)+_;if(N&&x&&x.width){o.addVector({type:"line",x1:x.left,x2:x.left+x.width,y1:K,y2:K,lineWidth:p,dash:w,lineColor:W},false,u);x=null;W=null;P=null;I=null;O=null}}o.context().moveDown(p)}};TableProcessor.prototype.drawVerticalLine=function(i,o,u,p,y,w,_){var x=(this||r).layout.vLineWidth(p,(this||r).tableNode);if(0!==x){var k=(this||r).layout.vLineStyle(p,(this||r).tableNode);var P;k&&k.dash&&(P=k.dash);var I=(this||r).tableNode.table.body;var O;var B;var R;if(p>0){O=I[w][_];O&&O.borderColor&&(O.border?O.border[2]:(this||r).layout.defaultBorder)&&(R=O.borderColor[2])}if(null==R&&p0;var B=(this||r).tableNode.table.body;I.push({y0:(this||r).rowTopY,page:O?u[0].prevPage:x});if(O)for(w=0,p=u.length;w0&&!(this||r).headerRows;var G=j?0:(this||r).topLineWidth;var X=I[N].y0;var K=I[N].y1;U&&(K+=(this||r).rowPaddingBottom);if(o.context().page!=I[N].page){o.context().page=I[N].page;(this||r).reservedAtBottom=0}for(w=0,p=P.length;w0&&!Y){ee=B[i][$-1];Y=ee.border?ee.border[2]:(this||r).layout.defaultBorder}if($+11)for(var ve=1;ve1)for(ve=1;ve0&&(this||r).rowSpanData[w].rowSpan--}this.drawHorizontalLine(i+1,o);(this||r).headerRows&&i===(this||r).headerRows-1&&((this||r).headerRepeatable=o.currentBlockToRepeatable());(this||r).dontBreakRows&&o.tracker.auto("pageChanged",(function(){_.headerRows||false===_.layout.hLineWhenBroken||_.drawHorizontalLine(i,o)}),(function(){o.commitUnbreakableBlock()}));if((this||r).headerRepeatable&&(i===(this||r).rowsWithoutPageBreak-1||i===(this||r).tableNode.table.body.length-1)){o.commitUnbreakableBlock();o.pushToRepeatables((this||r).headerRepeatable);(this||r).cleanUpRepeatables=true;(this||r).headerRepeatable=null}function getLineXs(){var r=[];var o=0;for(var u=0,p=_.tableNode.table.body[i].length;u0&&o--}r.push({x:_.rowSpanData[_.rowSpanData.length-1].left,index:_.rowSpanData.length-1});return r}};i.exports=TableProcessor},3497:function(r,i,o){var u=o(6225).isArray;var p=o(6225).isPattern;var g=o(6225).getPattern;function groupDecorations(r){var i=[],o=null;for(var p=0,g=r.inlines.length;pi?o:i}return r.inlines[i]}function width(){var i=0;for(var o=0,u=r.inlines.length;o=0&&u.splice(p,1)}};TraversalTracker.prototype.emit=function(i){var o=Array.prototype.slice.call(arguments,1);var u=(this||r).events[i];u&&u.forEach((function(i){i.apply(this||r,o)}))};TraversalTracker.prototype.auto=function(r,i,o){this.startTracking(r,i);o();this.stopTracking(r,i)};i.exports=TraversalTracker},2480:function(){},5832:function(){},9862:function(){},964:function(){},3083:function(r,i,o){var u=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"];var p="undefined"===typeof globalThis?o.g:globalThis;r.exports=function availableTypedArrays(){var r=[];for(var i=0;i