1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4628],{19589:(e,t,r)=>{var n,s=r(95704);self,n=r(54264),e.exports=function(){var e,t,i={
vendor: 241 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.r(t),r.d(t,{default:function(){return n}})},
vendor: 180 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.r(t),r.d(t,{default:function(){return n}})},
vendor: 453 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js":function(e,t,r){"use strict";function n(e,t,r,n,s,i,o){try{var a=e[i](o),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,s)}function s(e){return function(){var t=this,r=arguments;return new Promise(function(s,i){var o=e.apply(t,r);function a(e){n(o,s,i,a,l,"next",e)}function l(e){n(o,s,i,a,l,"throw",e)}a(void 0)})}}r.r(t),r.d(t,{default:function(){return s}})},
vendor: 345 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var n=r("./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");function s(e,t,r){return(t=(0,n.default)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},
vendor: 539 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":function(e,t,r){"use strict";function n(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,i,o,a=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){u=!0,s=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw s}}return a}}r.r(t),r.d(t,{default:function(){return n}})},
vendor: 308 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":function(e,t,r){"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.r(t),r.d(t,{default:function(){return n}})},
vendor: 524 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var n=r("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),s=r("./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),i=r("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),o=r("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function a(e,t){return(0,n.default)(e)||(0,s.default)(e,t)||(0,i.default)(e,t)||(0,o.default)()}},
vendor: 470 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var n=r("./node_modules/@babel/runtime/helpers/esm/typeof.js");function s(e,t){if("object"!=(0,n.default)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=(0,n.default)(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},
vendor: 350 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return i}});var n=r("./node_modules/@babel/runtime/helpers/esm/typeof.js"),s=r("./node_modules/@babel/runtime/helpers/esm/toPrimitive.js");function i(e){var t=(0,s.default)(e,"string");return"symbol"==(0,n.default)(t)?t:t+""}},
vendor: 358 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/typeof.js":function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.r(t),r.d(t,{default:function(){return n}})},
vendor: 520 bytes, line 1
1"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var n=r("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function s(e,t){if(e){if("string"==typeof e)return(0,n.default)(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.default)(e,t):void 0}}},
vendor: 83,834 bytes, line 1
1"./node_modules/canvg/lib/index.es.js":function(e,t,r){"use strict";r.r(t),r.d(t,{AElement:function(){return eF},AnimateColorElement:function(){return eE},AnimateElement:function(){return eC},AnimateTransformElement:function(){return eO},BoundingBox:function(){return ea},CB1:function(){return O},CB2:function(){return T},CB3:function(){return I},CB4:function(){return M},Canvg:function(){return te},CircleElement:function(){return ev},ClipPathElement:function(){return eK},DefsElement:function(){return eA},DescElement:function(){return e3},Document:function(){return e8},Element:function(){return en},EllipseElement:function(){return ey},FeColorMatrixElement:function(){return eX},FeCompositeElement:function(){return e1},FeDropShadowElement:function(){return eQ},FeGaussianBlurElement:function(){return e2},FeMorphologyElement:function(){return e0},FilterElement:function(){return eJ},Font:function(){return eo},FontElement:function(){return eT},FontFaceElement:function(){return eI},GElement:function(){return eS},GlyphElement:function(){return eh},GradientElement:function(){return eN},ImageElement:function(){return eq},LineElement:function(){return eb},LinearGradientElement:function(){return eL},MarkerElement:function(){return ex},MaskElement:function(){return e$},Matrix:function(){return J},MissingGlyphElement:function(){return eM},Mouse:function(){return q},PSEUDO_ZERO:function(){return k},Parser:function(){return X},PathElement:function(){return ec},PathParser:function(){return el},PatternElement:function(){return ew},Point:function(){return U},PolygonElement:function(){return ej},PolylineElement:function(){return e_},Property:function(){return B},QB1:function(){return R},QB2:function(){return F},QB3:function(){return D},RadialGradientElement:function(){return ek},RectElement:function(){return eg},RenderedElement:function(){return eu},Rotate:function(){return Z},SVGElement:function(){return em},SVGFontLoader:function(){return eH},Scale:function(){return K},Screen:function(){return W},Skew:function(){return Q},SkewX:function(){return ee},SkewY:function(){return et},StopElement:function(){return eP},StyleElement:function(){return eW},SymbolElement:function(){return eV},TRefElement:function(){return eR},TSpanElement:function(){return ef},TextElement:function(){return ed},TextPathElement:function(){return ez},TitleElement:function(){return e5},Transform:function(){return er},Translate:function(){return $},UnknownElement:function(){return es},UseElement:function(){return eG},ViewPort:function(){return z},compressSpaces:function(){return h},default:function(){return te},getSelectorSpecificity:function(){return L},normalizeAttributeName:function(){return g},normalizeColor:function(){return y},parseExternalUrl:function(){return v},presets:function(){return c},toNumbers:function(){return p},trimLeft:function(){return d},trimRight:function(){return f},vectorMagnitude:function(){return P},vectorsAngle:function(){return E},vectorsRatio:function(){return C}}),r("./node_modules/core-js/modules/es.promise.js");var n=r("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");r("./node_modules/core-js/modules/es.string.match.js"),r("./node_modules/core-js/modules/es.string.replace.js"),r("./node_modules/core-js/modules/es.string.starts-with.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js");var i=r("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");r("./node_modules/core-js/modules/es.array.reduce.js"),r("./node_modules/core-js/modules/es.string.ends-with.js"),r("./node_modules/core-js/modules/es.string.split.js");var o=r("./node_modules/raf/index.js");r("./node_modules/core-js/modules/es.string.trim.js");var a=r("./node_modules/rgbcolor/index.js");r("./node_modules/core-js/modules/es.array.index-of.js"),r("./node_modules/core-js/modules/es.string.includes.js"),r("./node_modules/core-js/modules/es.array.reverse.js");var l=r("./node_modules/svg-pathdata/lib/SVGPathData.module.js");r("./node_modules/core-js/modules/es.regexp.to-string.js");var u=r("./node_modules/stackblur-canvas/dist/stackblur-es.js"),c=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas:(e,t)=>new OffscreenCanvas(e,t),createImage:e=>(0,n.default)(function*(){var t=yield fetch(e),r=yield t.blob();return yield createImageBitmap(r)})()};return("undefined"!=typeof DOMParser||void 0===e)&&Reflect.deleteProperty(t,"DOMParser"),t},node:function(e){var{DOMParser:t,canvas:r,fetch:n}=e;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:n,createCanvas:r.createCanvas,createImage:r.loadImage}}});function h(e){return e.replace(/(?!\u3000)\s+/gm," ")}function d(e){return e.replace(/^[\n \t]+/,"")}function f(e){return e.replace(/[\n \t]+$/,"")}function p(e){return((e||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var m=/^[A-Z-]+$/;function g(e){return m.test(e)?e.toLowerCase():e}function v(e){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e)||[];return t[2]||t[3]||t[4]}function y(e){if(!e.startsWith("rgb"))return e;var t=3;return e.replace(/\d+(\.\d+)?/g,(e,r)=>t--&&r?String(Math.round(parseFloat(e))):e)}var b=/(\[[^\]]+\])/g,_=/(#[^\s+>~.[:]+)/g,j=/(\.[^\s+>~.[:]+)/g,w=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,x=/(:[\w-]+\([^)]*\))/gi,A=/(:[^\s+>~.[:]+)/g,S=/([^\s+>~.[:]+)/g;function N(e,t){var r=t.exec(e);return r?[e.replace(t," "),r.length]:[e,0]}function L(e){var t=[0,0,0],r=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),n=0;return[r,n]=N(r,b),t[1]+=n,[r,n]=N(r,_),t[0]+=n,[r,n]=N(r,j),t[1]+=n,[r,n]=N(r,w),t[2]+=n,[r,n]=N(r,x),t[1]+=n,[r,n]=N(r,A),t[1]+=n,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,n]=N(r,S),t[2]+=n,t.join("")}var k=1e-8;function P(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function C(e,t){return(e[0]*t[0]+e[1]*t[1])/(P(e)*P(t))}function E(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(C(e,t))}function O(e){return e*e*e}function T(e){return 3*e*e*(1-e)}function I(e){return 3*e*(1-e)*(1-e)}function M(e){return(1-e)*(1-e)*(1-e)}function R(e){return e*e}function F(e){return 2*e*(1-e)}function D(e){return(1-e)*(1-e)}class B{constructor(e,t,r){this.document=e,this.name=t,this.value=r,this.isNormalizedColor=!1}static empty(e){return new B(e,"EMPTY","")}split(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:t,name:r}=this;return h(this.getString()).trim().split(e).map(e=>new B(t,r,e))}hasValue(e){var{value:t}=this;return null!==t&&""!==t&&(e||0!==t)&&void 0!==t}isString(e){var{value:t}=this,r="string"==typeof t;return r&&e?e.test(t):r}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return void 0===e||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return void 0===e?0:parseFloat(e);var{value:t}=this,r=parseFloat(t);return this.isString(/%$/)&&(r/=100),r}getString(e){return void 0===e||this.hasValue()?void 0===this.value?"":String(this.value):String(e)}getColor(e){var t=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=y(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[r,n]="boolean"==typeof e?[void 0,e]:[e],{viewPort:s}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&n:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(r);default:var i=this.getNumber();if(t&&i<1)return i*s.computeSize(r);return i}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),t=/#([^)'"]+)/.exec(e);return t&&(t=t[1]),t||(t=e),this.document.definitions[t]}getFillStyleDefinition(e,t){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,e,t);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,e,t)}return null}getTextBaseline(){return this.hasValue()?B.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var t=this.getColor(),r=t.length,n=0,s=0;s<r&&(","===t[s]&&n++,3!==n);s++);if(e.hasValue()&&this.isString()&&3!==n){var i=new a(t);i.ok&&(i.alpha=e.getNumber(),t=i.toRGBA())}return new B(this.document,this.name,t)}}B.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class z{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,t){this.viewPorts.push({width:e,height:t})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:e}=this;return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class U{constructor(e,t){this.x=e,this.y=t}static parse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[r=t,n=t]=p(e);return new U(r,n)}static parseScale(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[r=t,n=r]=p(e);return new U(r,n)}static parsePath(e){for(var t=p(e),r=t.length,n=[],s=0;s<r;s+=2)n.push(new U(t[s],t[s+1]));return n}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:t,y:r}=this,n=t*e[0]+r*e[2]+e[4],s=t*e[1]+r*e[3]+e[5];this.x=n,this.y=s}}class q{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:e,onClick:t,onMouseMove:r}=this,n=e.ctx.canvas;n.onclick=t,n.onmousemove=r,this.working=!0}}stop(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:e,events:t,eventElements:r}=this,{style:n}=e.ctx.canvas;n&&(n.cursor=""),t.forEach((e,t)=>{for(var{run:n}=e,s=r[t];s;)n(s),s=s.parent}),this.events=[],this.eventElements=[]}}checkPath(e,t){if(this.working&&t){var{events:r,eventElements:n}=this;r.forEach((r,s)=>{var{x:i,y:o}=r;!n[s]&&t.isPointInPath&&t.isPointInPath(i,o)&&(n[s]=e)})}}checkBoundingBox(e,t){if(this.working&&t){var{events:r,eventElements:n}=this;r.forEach((r,s)=>{var{x:i,y:o}=r;!n[s]&&t.isPointInBox(i,o)&&(n[s]=e)})}}mapXY(e,t){for(var{window:r,ctx:n}=this.screen,s=new U(e,t),i=n.canvas;i;)s.x-=i.offsetLeft,s.y-=i.offsetTop,i=i.offsetParent;return r.scrollX&&(s.x+=r.scrollX),r.scrollY&&(s.y+=r.scrollY),s}onClick(e){var{x:t,y:r}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:t,y:r,run(e){e.onClick&&e.onClick()}})}onMouseMove(e){var{x:t,y:r}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:t,y:r,run(e){e.onMouseMove&&e.onMouseMove()}})}}var V="undefined"!=typeof window?window:null,H="undefined"!=typeof fetch?fetch.bind(void 0):null;class W{constructor(e){var{fetch:t=H,window:r=V}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new z,this.mouse=new q(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=t}wait(e){this.waits.push(e)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var e=this.waits.every(e=>e());return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:t,ctx:r,aspectRatio:n,width:s,desiredWidth:i,height:o,desiredHeight:a,minX:l=0,minY:u=0,refX:c,refY:d,clip:f=!1,clipX:p=0,clipY:m=0}=e,[g,v]=h(n).replace(/^defer\s/,"").split(" "),y=g||"xMidYMid",b=v||"meet",_=s/i,j=o/a,w=Math.min(_,j),x=Math.max(_,j),A=i,S=a;"meet"===b&&(A*=w,S*=w),"slice"===b&&(A*=x,S*=x);var N=new B(t,"refX",c),L=new B(t,"refY",d),k=N.hasValue()&&L.hasValue();if(k&&r.translate(-w*N.getPixels("x"),-w*L.getPixels("y")),f){var P=w*p,C=w*m;r.beginPath(),r.moveTo(P,C),r.lineTo(s,C),r.lineTo(s,o),r.lineTo(P,o),r.closePath(),r.clip()}if(!k){var E="meet"===b&&w===j,O="slice"===b&&x===j,T="meet"===b&&w===_,I="slice"===b&&x===_;y.startsWith("xMid")&&(E||O)&&r.translate(s/2-A/2,0),y.endsWith("YMid")&&(T||I)&&r.translate(0,o/2-S/2),y.startsWith("xMax")&&(E||O)&&r.translate(s-A,0),y.endsWith("YMax")&&(T||I)&&r.translate(0,o-S)}switch(!0){case"none"===y:r.scale(_,j);break;case"meet"===b:r.scale(w,w);break;case"slice"===b:r.scale(x,x)}r.translate(-l,-u)}start(e){var{enableRedraw:t=!1,ignoreMouse:r=!1,ignoreAnimation:n=!1,ignoreDimensions:s=!1,ignoreClear:i=!1,forceRedraw:a,scaleWidth:l,scaleHeight:u,offsetX:c,offsetY:h}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:d,mouse:f}=this,p=1e3/d;if(this.frameDuration=p,this.readyPromise=new Promise(e=>{this.resolveReady=e}),this.isReady()&&this.render(e,s,i,l,u,c,h),t){var m=Date.now(),g=m,v=0,y=()=>{(v=(m=Date.now())-g)>=p&&(g=m-v%p,this.shouldUpdate(n,a)&&(this.render(e,s,i,l,u,c,h),f.runEvents())),this.intervalId=o(y)};r||f.start(),this.intervalId=o(y)}}stop(){this.intervalId&&(o.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,t){if(!e){var{frameDuration:r}=this;if(this.animations.reduce((e,t)=>t.update(r)||e,!1))return!0}return!!("function"==typeof t&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(e,t,r,n,s,i,o){var{CLIENT_WIDTH:a,CLIENT_HEIGHT:l,viewPort:u,ctx:c,isFirstRender:h}=this,d=c.canvas;u.clear(),d.width&&d.height?u.setCurrent(d.width,d.height):u.setCurrent(a,l);var f=e.getStyle("width"),m=e.getStyle("height");!t&&(h||"number"!=typeof n&&"number"!=typeof s)&&(f.hasValue()&&(d.width=f.getPixels("x"),d.style&&(d.style.width="".concat(d.width,"px"))),m.hasValue()&&(d.height=m.getPixels("y"),d.style&&(d.style.height="".concat(d.height,"px"))));var g=d.clientWidth||d.width,v=d.clientHeight||d.height;if(t&&f.hasValue()&&m.hasValue()&&(g=f.getPixels("x"),v=m.getPixels("y")),u.setCurrent(g,v),"number"==typeof i&&e.getAttribute("x",!0).setValue(i),"number"==typeof o&&e.getAttribute("y",!0).setValue(o),"number"==typeof n||"number"==typeof s){var y=p(e.getAttribute("viewBox").getString()),b=0,_=0;if("number"==typeof n){var j=e.getStyle("width");j.hasValue()?b=j.getPixels("x")/n:isNaN(y[2])||(b=y[2]/n)}if("number"==typeof s){var w=e.getStyle("height");w.hasValue()?_=w.getPixels("y")/s:isNaN(y[3])||(_=y[3]/s)}b||(b=_),_||(_=b),e.getAttribute("width",!0).setValue(n),e.getAttribute("height",!0).setValue(s);var x=e.getStyle("transform",!0,!0);x.setValue("".concat(x.getString()," scale(").concat(1/b,", ").concat(1/_,")"))}r||c.clearRect(0,0,g,v),e.render(c),h&&(this.isFirstRender=!1)}}W.defaultWindow=V,W.defaultFetch=H;var{defaultFetch:G}=W,Y="undefined"!=typeof DOMParser?DOMParser:null;class X{constructor(){var{fetch:e=G,DOMParser:t=Y}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=e,this.DOMParser=t}parse(e){var t=this;return(0,n.default)(function*(){return e.startsWith("<")?t.parseFromString(e):t.load(e)})()}parseFromString(e){var t=new this.DOMParser;try{return this.checkDocument(t.parseFromString(e,"image/svg+xml"))}catch(r){return this.checkDocument(t.parseFromString(e,"text/xml"))}}checkDocument(e){var t=e.getElementsByTagName("parsererror")[0];if(t)throw Error(t.textContent);return e}load(e){var t=this;return(0,n.default)(function*(){var r=yield t.fetch(e),n=yield r.text();return t.parseFromString(n)})()}}class ${constructor(e,t){this.type="translate",this.point=null,this.point=U.parse(t)}apply(e){var{x:t,y:r}=this.point;e.translate(t||0,r||0)}unapply(e){var{x:t,y:r}=this.point;e.translate(-1*t||0,-1*r||0)}applyToPoint(e){var{x:t,y:r}=this.point;e.applyTransform([1,0,0,1,t||0,r||0])}}class Z{constructor(e,t,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var n=p(t);this.angle=new B(e,"angle",n[0]),this.originX=r[0],this.originY=r[1],this.cx=n[1]||0,this.cy=n[2]||0}apply(e){var{cx:t,cy:r,originX:n,originY:s,angle:i}=this,o=t+n.getPixels("x"),a=r+s.getPixels("y");e.translate(o,a),e.rotate(i.getRadians()),e.translate(-o,-a)}unapply(e){var{cx:t,cy:r,originX:n,originY:s,angle:i}=this,o=t+n.getPixels("x"),a=r+s.getPixels("y");e.translate(o,a),e.rotate(-1*i.getRadians()),e.translate(-o,-a)}applyToPoint(e){var{cx:t,cy:r,angle:n}=this,s=n.getRadians();e.applyTransform([1,0,0,1,t||0,r||0]),e.applyTransform([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0]),e.applyTransform([1,0,0,1,-t||0,-r||0])}}class K{constructor(e,t,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var n=U.parseScale(t);(0===n.x||0===n.y)&&(n.x=k,n.y=k),this.scale=n,this.originX=r[0],this.originY=r[1]}apply(e){var{scale:{x:t,y:r},originX:n,originY:s}=this,i=n.getPixels("x"),o=s.getPixels("y");e.translate(i,o),e.scale(t,r||t),e.translate(-i,-o)}unapply(e){var{scale:{x:t,y:r},originX:n,originY:s}=this,i=n.getPixels("x"),o=s.getPixels("y");e.translate(i,o),e.scale(1/t,1/r||t),e.translate(-i,-o)}applyToPoint(e){var{x:t,y:r}=this.scale;e.applyTransform([t||0,0,0,r||0,0,0])}}class J{constructor(e,t,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=p(t),this.originX=r[0],this.originY=r[1]}apply(e){var{originX:t,originY:r,matrix:n}=this,s=t.getPixels("x"),i=r.getPixels("y");e.translate(s,i),e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),e.translate(-s,-i)}unapply(e){var{originX:t,originY:r,matrix:n}=this,s=n[0],i=n[2],o=n[4],a=n[1],l=n[3],u=n[5],c=1/(s*(l-0*u)-i*(a-0*u)+o*(0*a-0*l)),h=t.getPixels("x"),d=r.getPixels("y");e.translate(h,d),e.transform(c*(l-0*u),c*(0*u-a),c*(0*o-i),c*(s-0*o),c*(i*u-o*l),c*(o*a-s*u)),e.translate(-h,-d)}applyToPoint(e){e.applyTransform(this.matrix)}}class Q extends J{constructor(e,t,r){super(e,t,r),this.type="skew",this.angle=null,this.angle=new B(e,"angle",t)}}class ee extends Q{constructor(e,t,r){super(e,t,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class et extends Q{constructor(e,t,r){super(e,t,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class er{constructor(e,t,r){this.document=e,this.transforms=[],h(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/).forEach(e=>{if("none"!==e){var[t,n]=function(e){var[t,r]=e.split("(");return[t.trim(),r.trim().replace(")","")]}(e),s=er.transformTypes[t];void 0!==s&&this.transforms.push(new s(this.document,n,r))}})}static fromElement(e,t){var r=t.getStyle("transform",!1,!0),[n,s=n]=t.getStyle("transform-origin",!1,!0).split();return r.hasValue()?new er(e,r.getString(),[n,s]):null}apply(e){for(var{transforms:t}=this,r=t.length,n=0;n<r;n++)t[n].apply(e)}unapply(e){for(var{transforms:t}=this,r=t.length,n=r-1;n>=0;n--)t[n].unapply(e)}applyToPoint(e){for(var{transforms:t}=this,r=t.length,n=0;n<r;n++)t[n].applyToPoint(e)}}er.transformTypes={translate:$,rotate:Z,scale:K,matrix:J,skewX:ee,skewY:et};class en{constructor(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=e,this.node=t,this.captureTextNodes=r,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!t||1!==t.nodeType)return;Array.from(t.attributes).forEach(t=>{var r=g(t.nodeName);this.attributes[r]=new B(e,r,t.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(e=>e.trim()).forEach(t=>{if(t){var[r,n]=t.split(":").map(e=>e.trim());this.styles[r]=new B(e,r,n)}});var{definitions:n}=e,s=this.getAttribute("id");s.hasValue()&&!n[s.getString()]&&(n[s.getString()]=this),Array.from(t.childNodes).forEach(t=>{if(1===t.nodeType)this.addChild(t);else if(r&&(3===t.nodeType||4===t.nodeType)){var n=e.createTextNode(t);n.getText().length>0&&this.addChild(n)}})}getAttribute(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[e];if(!r&&t){var n=new B(this.document,e,"");return this.attributes[e]=n,n}return r||B.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return B.empty(this.document)}getStyle(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[e];if(n)return n;var s=this.getAttribute(e);if(null!=s&&s.hasValue())return this.styles[e]=s,s;if(!r){var{parent:i}=this;if(i){var o=i.getStyle(e);if(null!=o&&o.hasValue())return o}}if(t){var a=new B(this.document,e,"");return this.styles[e]=a,a}return n||B.empty(this.document)}render(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var t=er.fromElement(this.document,this);t&&t.apply(e);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(t=>{t.render(e)})}addChild(e){var t=e instanceof en?e:this.document.createElement(e);t.parent=this,en.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(e){var t,{node:r}=this;if("function"==typeof r.matches)return r.matches(e);var n=null==(t=r.getAttribute)?void 0:t.call(r,"class");return!!n&&""!==n&&n.split(" ").some(t=>".".concat(t)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:t}=this.document;for(var r in e)if(!r.startsWith("@")&&this.matchesSelector(r)){var n=e[r],s=t[r];if(n)for(var i in n){var o=this.stylesSpecificity[i];void 0===o&&(o="000"),s>=o&&(this.styles[i]=n[i],this.stylesSpecificity[i]=s)}}}removeStyles(e,t){return t.reduce((t,r)=>{var n=e.getStyle(r);if(!n.hasValue())return t;var s=n.getString();return n.setValue(""),[...t,[r,s]]},[])}restoreStyles(e,t){t.forEach(t=>{var[r,n]=t;e.getStyle(r,!0).setValue(n)})}isFirstChild(){var e;return(null==(e=this.parent)?void 0:e.children.indexOf(this))===0}}en.ignoreChildTypes=["title"];class es extends en{constructor(e,t,r){super(e,t,r)}}function ei(e){var t=e.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}class eo{constructor(e,t,r,n,s,i){var o=i?"string"==typeof i?eo.parse(i):i:{};this.fontFamily=s||o.fontFamily,this.fontSize=n||o.fontSize,this.fontStyle=e||o.fontStyle,this.fontWeight=r||o.fontWeight,this.fontVariant=t||o.fontVariant}static parse(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r="",n="",s="",i="",o="",a=h(e).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach(e=>{switch(!0){case!l.fontStyle&&eo.styles.includes(e):"inherit"!==e&&(r=e),l.fontStyle=!0;break;case!l.fontVariant&&eo.variants.includes(e):"inherit"!==e&&(n=e),l.fontStyle=!0,l.fontVariant=!0;break;case!l.fontWeight&&eo.weights.includes(e):"inherit"!==e&&(s=e),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:"inherit"!==e&&([i]=e.split("/")),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:"inherit"!==e&&(o+=e)}}),new eo(r,n,s,i,o,t)}toString(){var e;return[function(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:if(/^oblique\s+(-|)\d+deg$/.test(t))return t;return""}}(this.fontStyle),this.fontVariant,function(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:if(/^[\d.]+$/.test(t))return t;return""}}(this.fontWeight),this.fontSize,(e=this.fontFamily,void 0===s?e:e.trim().split(",").map(ei).join(","))].join(" ").trim()}}eo.styles="normal|italic|oblique|inherit",eo.variants="normal|small-caps|inherit",eo.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class ea{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NaN,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:NaN,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:NaN;this.x1=e,this.y1=t,this.x2=r,this.y2=n,this.addPoint(e,t),this.addPoint(r,n)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,t){void 0!==e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),void 0!==t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:t,y1:r,x2:n,y2:s}=e;this.addPoint(t,r),this.addPoint(n,s)}}sumCubic(e,t,r,n,s){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*r+3*(1-e)*Math.pow(e,2)*n+Math.pow(e,3)*s}bezierCurveAdd(e,t,r,n,s){var i=6*t-12*r+6*n,o=-3*t+9*r-9*n+3*s,a=3*r-3*t;if(0===o){if(0===i)return;var l=-a/i;0<l&&l<1&&(e?this.addX(this.sumCubic(l,t,r,n,s)):this.addY(this.sumCubic(l,t,r,n,s)));return}var u=Math.pow(i,2)-4*a*o;if(!(u<0)){var c=(-i+Math.sqrt(u))/(2*o);0<c&&c<1&&(e?this.addX(this.sumCubic(c,t,r,n,s)):this.addY(this.sumCubic(c,t,r,n,s)));var h=(-i-Math.sqrt(u))/(2*o);0<h&&h<1&&(e?this.addX(this.sumCubic(h,t,r,n,s)):this.addY(this.sumCubic(h,t,r,n,s)))}}addBezierCurve(e,t,r,n,s,i,o,a){this.addPoint(e,t),this.addPoint(o,a),this.bezierCurveAdd(!0,e,r,s,o),this.bezierCurveAdd(!1,t,n,i,a)}addQuadraticCurve(e,t,r,n,s,i){var o=e+2/3*(r-e),a=t+2/3*(n-t);this.addBezierCurve(e,t,o,o+1/3*(s-e),a,a+1/3*(i-t),s,i)}isPointInBox(e,t){var{x1:r,y1:n,x2:s,y2:i}=this;return r<=e&&e<=s&&n<=t&&t<=i}}class el extends l.SVGPathData{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new U(0,0),this.control=new U(0,0),this.current=new U(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:t}=this;return e>=t.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new U(this.command[e],this.command[t]);return this.makeAbsolute(r)}getAsControlPoint(e,t){var r=this.getPoint(e,t);return this.control=r,r}getAsCurrentPoint(e,t){var r=this.getPoint(e,t);return this.current=r,r}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==l.SVGPathData.CURVE_TO&&e!==l.SVGPathData.SMOOTH_CURVE_TO&&e!==l.SVGPathData.QUAD_TO&&e!==l.SVGPathData.SMOOTH_QUAD_TO)return this.current;var{current:{x:t,y:r},control:{x:n,y:s}}=this;return new U(2*t-n,2*r-s)}makeAbsolute(e){if(this.command.relative){var{x:t,y:r}=this.current;e.x+=t,e.y+=r}return e}addMarker(e,t,r){var{points:n,angles:s}=this;r&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(e,t?t.angleTo(e):null)}addMarkerAngle(e,t){this.points.push(e),this.angles.push(t)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,t=e.length,r=0;r<t;r++)if(!e[r]){for(var n=r+1;n<t;n++)if(e[n]){e[r]=e[n];break}}return e}}class eu extends en{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,t=this;t;){var r=t.getStyle("opacity",!1,!0);r.hasValue(!0)&&(e*=r.getNumber()),t=t.parent}return e}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),i=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var o=r.getFillStyleDefinition(this,n);o&&(e.fillStyle=o)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var a=r.getColor();"inherit"!==a&&(e.fillStyle="none"===a?"rgba(0,0,0,0)":a)}if(n.hasValue()){var l=new B(this.document,"fill",e.fillStyle).addOpacity(n).getColor();e.fillStyle=l}if(s.isUrlDefinition()){var u=s.getFillStyleDefinition(this,i);u&&(e.strokeStyle=u)}else if(s.hasValue()){"currentColor"===s.getString()&&s.setValue(this.getStyle("color").getColor());var c=s.getString();"inherit"!==c&&(e.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(i.hasValue()){var h=new B(this.document,"stroke",e.strokeStyle).addOpacity(i).getString();e.strokeStyle=h}var d=this.getStyle("stroke-width");d.hasValue()&&(e.lineWidth=d.getPixels()||k);var f=this.getStyle("stroke-linecap"),m=this.getStyle("stroke-linejoin"),g=this.getStyle("stroke-miterlimit"),v=this.getStyle("stroke-dasharray"),y=this.getStyle("stroke-dashoffset");if(f.hasValue()&&(e.lineCap=f.getString()),m.hasValue()&&(e.lineJoin=m.getString()),g.hasValue()&&(e.miterLimit=g.getNumber()),v.hasValue()&&"none"!==v.getString()){var b=p(v.getString());void 0!==e.setLineDash?e.setLineDash(b):void 0!==e.webkitLineDash?e.webkitLineDash=b:void 0!==e.mozDash&&(1!==b.length||0!==b[0])&&(e.mozDash=b);var _=y.getPixels();void 0!==e.lineDashOffset?e.lineDashOffset=_:void 0!==e.webkitLineDashOffset?e.webkitLineDashOffset=_:void 0!==e.mozDashOffset&&(e.mozDashOffset=_)}}if(this.modifiedEmSizeStack=!1,void 0!==e.font){var j=this.getStyle("font"),w=this.getStyle("font-style"),x=this.getStyle("font-variant"),A=this.getStyle("font-weight"),S=this.getStyle("font-size"),N=this.getStyle("font-family"),L=new eo(w.getString(),x.getString(),A.getString(),S.hasValue()?"".concat(S.getPixels(!0),"px"):"",N.getString(),eo.parse(j.getString(),e.font));w.setValue(L.fontStyle),x.setValue(L.fontVariant),A.setValue(L.fontWeight),S.setValue(L.fontSize),N.setValue(L.fontFamily),e.font=L.toString(),S.isPixels()&&(this.document.emSize=S.getPixels(),this.modifiedEmSizeStack=!0)}t||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}}class ec extends eu{constructor(e,t,r){super(e,t,r),this.type="path",this.pathParser=null,this.pathParser=new el(this.getAttribute("d").getString())}path(e){var{pathParser:t}=this,r=new ea;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case el.MOVE_TO:this.pathM(e,r);break;case el.LINE_TO:this.pathL(e,r);break;case el.HORIZ_LINE_TO:this.pathH(e,r);break;case el.VERT_LINE_TO:this.pathV(e,r);break;case el.CURVE_TO:this.pathC(e,r);break;case el.SMOOTH_CURVE_TO:this.pathS(e,r);break;case el.QUAD_TO:this.pathQ(e,r);break;case el.SMOOTH_QUAD_TO:this.pathT(e,r);break;case el.ARC:this.pathA(e,r);break;case el.CLOSE_PATH:this.pathZ(e,r)}return r}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,t=e.getMarkerPoints(),r=e.getMarkerAngles();return t.map((e,t)=>[e,r[t]])}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule");""!==e.fillStyle&&("inherit"!==t.getString("inherit")?e.fill(t.getString()):e.fill()),""!==e.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var r=this.getMarkers();if(r){var n=r.length-1,s=this.getStyle("marker-start"),i=this.getStyle("marker-mid"),o=this.getStyle("marker-end");if(s.isUrlDefinition()){var a=s.getDefinition(),[l,u]=r[0];a.render(e,l,u)}if(i.isUrlDefinition())for(var c=i.getDefinition(),h=1;h<n;h++){var[d,f]=r[h];c.render(e,d,f)}if(o.isUrlDefinition()){var p=o.getDefinition(),[m,g]=r[n];p.render(e,m,g)}}}static pathM(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}pathM(e,t){var{pathParser:r}=this,{point:n}=ec.pathM(r),{x:s,y:i}=n;r.addMarker(n),t.addPoint(s,i),e&&e.moveTo(s,i)}static pathL(e){var{current:t}=e;return{current:t,point:e.getAsCurrentPoint()}}pathL(e,t){var{pathParser:r}=this,{current:n,point:s}=ec.pathL(r),{x:i,y:o}=s;r.addMarker(s,n),t.addPoint(i,o),e&&e.lineTo(i,o)}static pathH(e){var{current:t,command:r}=e,n=new U((r.relative?t.x:0)+r.x,t.y);return e.current=n,{current:t,point:n}}pathH(e,t){var{pathParser:r}=this,{current:n,point:s}=ec.pathH(r),{x:i,y:o}=s;r.addMarker(s,n),t.addPoint(i,o),e&&e.lineTo(i,o)}static pathV(e){var{current:t,command:r}=e,n=new U(t.x,(r.relative?t.y:0)+r.y);return e.current=n,{current:t,point:n}}pathV(e,t){var{pathParser:r}=this,{current:n,point:s}=ec.pathV(r),{x:i,y:o}=s;r.addMarker(s,n),t.addPoint(i,o),e&&e.lineTo(i,o)}static pathC(e){var{current:t}=e,r=e.getPoint("x1","y1");return{current:t,point:r,controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathC(e,t){var{pathParser:r}=this,{current:n,point:s,controlPoint:i,currentPoint:o}=ec.pathC(r);r.addMarker(o,i,s),t.addBezierCurve(n.x,n.y,s.x,s.y,i.x,i.y,o.x,o.y),e&&e.bezierCurveTo(s.x,s.y,i.x,i.y,o.x,o.y)}static pathS(e){var{current:t}=e,r=e.getReflectedControlPoint();return{current:t,point:r,controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathS(e,t){var{pathParser:r}=this,{current:n,point:s,controlPoint:i,currentPoint:o}=ec.pathS(r);r.addMarker(o,i,s),t.addBezierCurve(n.x,n.y,s.x,s.y,i.x,i.y,o.x,o.y),e&&e.bezierCurveTo(s.x,s.y,i.x,i.y,o.x,o.y)}static pathQ(e){var{current:t}=e;return{current:t,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}pathQ(e,t){var{pathParser:r}=this,{current:n,controlPoint:s,currentPoint:i}=ec.pathQ(r);r.addMarker(i,s,s),t.addQuadraticCurve(n.x,n.y,s.x,s.y,i.x,i.y),e&&e.quadraticCurveTo(s.x,s.y,i.x,i.y)}static pathT(e){var{current:t}=e,r=e.getReflectedControlPoint();return e.control=r,{current:t,controlPoint:r,currentPoint:e.getAsCurrentPoint()}}pathT(e,t){var{pathParser:r}=this,{current:n,controlPoint:s,currentPoint:i}=ec.pathT(r);r.addMarker(i,s,s),t.addQuadraticCurve(n.x,n.y,s.x,s.y,i.x,i.y),e&&e.quadraticCurveTo(s.x,s.y,i.x,i.y)}static pathA(e){var{current:t,command:r}=e,{rX:n,rY:s,xRot:i,lArcFlag:o,sweepFlag:a}=r,l=Math.PI/180*i,u=e.getAsCurrentPoint(),c=new U(Math.cos(l)*(t.x-u.x)/2+Math.sin(l)*(t.y-u.y)/2,-Math.sin(l)*(t.x-u.x)/2+Math.cos(l)*(t.y-u.y)/2),h=Math.pow(c.x,2)/Math.pow(n,2)+Math.pow(c.y,2)/Math.pow(s,2);h>1&&(n*=Math.sqrt(h),s*=Math.sqrt(h));var d=(o===a?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(s,2)-Math.pow(n,2)*Math.pow(c.y,2)-Math.pow(s,2)*Math.pow(c.x,2))/(Math.pow(n,2)*Math.pow(c.y,2)+Math.pow(s,2)*Math.pow(c.x,2)));isNaN(d)&&(d=0);var f=new U(d*n*c.y/s,-(d*s)*c.x/n),p=new U((t.x+u.x)/2+Math.cos(l)*f.x-Math.sin(l)*f.y,(t.y+u.y)/2+Math.sin(l)*f.x+Math.cos(l)*f.y),m=E([1,0],[(c.x-f.x)/n,(c.y-f.y)/s]),g=[(c.x-f.x)/n,(c.y-f.y)/s],v=[(-c.x-f.x)/n,(-c.y-f.y)/s],y=E(g,v);return -1>=C(g,v)&&(y=Math.PI),C(g,v)>=1&&(y=0),{currentPoint:u,rX:n,rY:s,sweepFlag:a,xAxisRotation:l,centp:p,a1:m,ad:y}}pathA(e,t){var{pathParser:r}=this,{currentPoint:n,rX:s,rY:i,sweepFlag:o,xAxisRotation:a,centp:l,a1:u,ad:c}=ec.pathA(r),h=1-o?1:-1,d=u+c/2*h,f=new U(l.x+s*Math.cos(d),l.y+i*Math.sin(d));if(r.addMarkerAngle(f,d-h*Math.PI/2),r.addMarkerAngle(n,d-h*Math.PI),t.addPoint(n.x,n.y),e&&!isNaN(u)&&!isNaN(c)){var p=s>i?1:s/i,m=s>i?i/s:1;e.translate(l.x,l.y),e.rotate(a),e.scale(p,m),e.arc(0,0,s>i?s:i,u,u+c,!!(1-o)),e.scale(1/p,1/m),e.rotate(-a),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,t){ec.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}}class eh extends ec{constructor(e,t,r){super(e,t,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class ed extends eu{constructor(e,t,r){super(e,t,new.target===ed||r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(e,t);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(e.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=1/0,this.maxX=-1/0}getBoundingBox(e){if("text"!==this.type)return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var t=null;return this.children.forEach((r,n)=>{var s=this.getChildBoundingBox(e,this,this,n);t?t.addBoundingBox(s):t=s}),t}getFontSize(){var{document:e,parent:t}=this,r=eo.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(r)}getTElementBoundingBox(e){var t=this.getFontSize();return new ea(this.x,this.y-t,this.x+this.measureText(e),this.y)}getGlyph(e,t,r){var n=t[r],s=null;if(e.isArabic){var i=t.length,o=t[r-1],a=t[r+1],l="isolated";if((0===r||" "===o)&&r<i-1&&" "!==a&&(l="terminal"),r>0&&" "!==o&&r<i-1&&" "!==a&&(l="medial"),r>0&&" "!==o&&(r===i-1||" "===a)&&(l="initial"),void 0!==e.glyphs[n]){var u=e.glyphs[n];s=u instanceof eh?u:u[l]}}else s=e.glyphs[n];return s||(s=e.missingGlyph),s}getText(){return""}getTextFromNode(e){var t=e||this.node,r=Array.from(t.parentNode.childNodes),n=r.indexOf(t),s=r.length-1,i=h(t.textContent||"");return 0===n&&(i=d(i)),n===s&&(i=f(i)),i}renderChildren(e){if("text"!==this.type)return void this.renderTElementChildren(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,r)=>{this.renderChild(e,this,this,r)});var{mouse:t}=this.document.screen;t.isWorking()&&t.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:t,parent:r}=this,n=this.getText(),s=r.getStyle("font-family").getDefinition();if(s){for(var{unitsPerEm:i}=s.fontFace,o=eo.parse(t.ctx.font),a=r.getStyle("font-size").getNumber(o.fontSize),l=r.getStyle("font-style").getString(o.fontStyle),u=a/i,c=s.isRTL?n.split("").reverse().join(""):n,h=p(r.getAttribute("dx").getString()),d=c.length,f=0;f<d;f++){var m=this.getGlyph(s,c,f);e.translate(this.x,this.y),e.scale(u,-u);var g=e.lineWidth;e.lineWidth=e.lineWidth*i/a,"italic"===l&&e.transform(1,0,.4,1,0,0),m.render(e),"italic"===l&&e.transform(1,0,-.4,1,0,0),e.lineWidth=g,e.scale(1/u,-1/u),e.translate(-this.x,-this.y),this.x+=a*(m.horizAdvX||s.horizAdvX)/i,void 0===h[f]||isNaN(h[f])||(this.x+=h[f])}return}var{x:v,y}=this;e.fillStyle&&e.fillText(n,v,y),e.strokeStyle&&e.strokeText(n,v,y)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],t=e.getStyle("text-anchor").getString("start"),r=0;r="start"===t?e.x-this.minX:"end"===t?e.x-this.maxX:e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n<this.leafTexts.length;n++)this.leafTexts[n].x+=r;this.minX=1/0,this.maxX=-1/0,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((t,r)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,t,r,n){var s=r.children[n];s.children.length>0?s.children.forEach((r,n)=>{t.adjustChildCoordinatesRecursiveCore(e,t,s,n)}):this.adjustChildCoordinates(e,t,r,n)}adjustChildCoordinates(e,t,r,n){var s=r.children[n];if("function"!=typeof s.measureText)return s;e.save(),s.setContext(e,!0);var i=s.getAttribute("x"),o=s.getAttribute("y"),a=s.getAttribute("dx"),l=s.getAttribute("dy"),u=s.getStyle("font-family").getDefinition(),c=!!u&&u.isRTL;0===n&&(i.hasValue()||i.setValue(s.getInheritedAttribute("x")),o.hasValue()||o.setValue(s.getInheritedAttribute("y")),a.hasValue()||a.setValue(s.getInheritedAttribute("dx")),l.hasValue()||l.setValue(s.getInheritedAttribute("dy")));var h=s.measureText(e);return c&&(t.x-=h),i.hasValue()?(t.applyAnchoring(),s.x=i.getPixels("x"),a.hasValue()&&(s.x+=a.getPixels("x"))):(a.hasValue()&&(t.x+=a.getPixels("x")),s.x=t.x),t.x=s.x,c||(t.x+=h),o.hasValue()?(s.y=o.getPixels("y"),l.hasValue()&&(s.y+=l.getPixels("y"))):(l.hasValue()&&(t.y+=l.getPixels("y")),s.y=t.y),t.y=s.y,t.leafTexts.push(s),t.minX=Math.min(t.minX,s.x,s.x+h),t.maxX=Math.max(t.maxX,s.x,s.x+h),s.clearContext(e),e.restore(),s}getChildBoundingBox(e,t,r,n){var s=r.children[n];if("function"!=typeof s.getBoundingBox)return null;var i=s.getBoundingBox(e);return i?(s.children.forEach((r,n)=>{var o=t.getChildBoundingBox(e,t,s,n);i.addBoundingBox(o)}),i):null}renderChild(e,t,r,n){var s=r.children[n];s.render(e),s.children.forEach((r,n)=>{t.renderChild(e,t,s,n)})}measureText(e){var{measureCache:t}=this;if(~t)return t;var r=this.getText(),n=this.measureTargetText(e,r);return this.measureCache=n,n}measureTargetText(e,t){if(!t.length)return 0;var{parent:r}=this,n=r.getStyle("font-family").getDefinition();if(n){for(var s=this.getFontSize(),i=n.isRTL?t.split("").reverse().join(""):t,o=p(r.getAttribute("dx").getString()),a=i.length,l=0,u=0;u<a;u++)l+=(this.getGlyph(n,i,u).horizAdvX||n.horizAdvX)*s/n.fontFace.unitsPerEm,void 0===o[u]||isNaN(o[u])||(l+=o[u]);return l}if(!e.measureText)return 10*t.length;e.save(),this.setContext(e,!0);var{width:c}=e.measureText(t);return this.clearContext(e),e.restore(),c}getInheritedAttribute(e){for(var t=this;t instanceof ed&&t.isFirstChild();){var r=t.parent.getAttribute(e);if(r.hasValue(!0))return r.getValue("0");t=t.parent}return null}}class ef extends ed{constructor(e,t,r){super(e,t,new.target===ef||r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class ep extends ef{constructor(){super(...arguments),this.type="textNode"}}class em extends eu{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var t,{document:r}=this,{screen:n,window:s}=r,i=e.canvas;if(n.setDefaults(e),i.style&&void 0!==e.font&&s&&void 0!==s.getComputedStyle){e.font=s.getComputedStyle(i).getPropertyValue("font");var o=new B(r,"fontSize",eo.parse(e.font).fontSize);o.hasValue()&&(r.rootEmSize=o.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:a,height:l}=n.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var u=this.getAttribute("refX"),c=this.getAttribute("refY"),h=this.getAttribute("viewBox"),d=h.hasValue()?p(h.getString()):null,f=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),m=0,g=0,v=0,y=0;d&&(m=d[0],g=d[1]),this.root||(a=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),"marker"===this.type&&(v=m,y=g,m=0,g=0)),n.viewPort.setCurrent(a,l),this.node&&(!this.parent||(null==(t=this.node.parentNode)?void 0:t.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),d&&(a=d[2],l=d[3]),r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:a,height:n.viewPort.height,desiredHeight:l,minX:m,minY:g,refX:u.getValue(),refY:c.getValue(),clip:f,clipX:v,clipY:y}),d&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(a,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getAttribute("width",!0),s=this.getAttribute("height",!0),i=this.getAttribute("viewBox"),o=this.getAttribute("style"),a=n.getNumber(0),l=s.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(e),s.setValue(t),i.hasValue()||i.setValue("0 0 ".concat(a||e," ").concat(l||t)),o.hasValue()){var c=this.getStyle("width"),h=this.getStyle("height");c.hasValue()&&c.setValue("".concat(e,"px")),h.hasValue()&&h.setValue("".concat(t,"px"))}}}class eg extends ec{constructor(){super(...arguments),this.type="rect"}path(e){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),i=this.getAttribute("rx"),o=this.getAttribute("ry"),a=i.getPixels("x"),l=o.getPixels("y");if(i.hasValue()&&!o.hasValue()&&(l=a),o.hasValue()&&!i.hasValue()&&(a=l),a=Math.min(a,n/2),l=Math.min(l,s/2),e){var u=(Math.sqrt(2)-1)/3*4;e.beginPath(),s>0&&n>0&&(e.moveTo(t+a,r),e.lineTo(t+n-a,r),e.bezierCurveTo(t+n-a+u*a,r,t+n,r+l-u*l,t+n,r+l),e.lineTo(t+n,r+s-l),e.bezierCurveTo(t+n,r+s-l+u*l,t+n-a+u*a,r+s,t+n-a,r+s),e.lineTo(t+a,r+s),e.bezierCurveTo(t+a-u*a,r+s,t,r+s-l+u*l,t,r+s-l),e.lineTo(t,r+l),e.bezierCurveTo(t,r+l-u*l,t+a-u*a,r,t+a,r),e.closePath())}return new ea(t,r,t+n,r+s)}getMarkers(){return null}}class ev extends ec{constructor(){super(...arguments),this.type="circle"}path(e){var t=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return e&&n>0&&(e.beginPath(),e.arc(t,r,n,0,2*Math.PI,!1),e.closePath()),new ea(t-n,r-n,t+n,r+n)}getMarkers(){return null}}class ey extends ec{constructor(){super(...arguments),this.type="ellipse"}path(e){var t=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y");return e&&r>0&&n>0&&(e.beginPath(),e.moveTo(s+r,i),e.bezierCurveTo(s+r,i+t*n,s+t*r,i+n,s,i+n),e.bezierCurveTo(s-t*r,i+n,s-r,i+t*n,s-r,i),e.bezierCurveTo(s-r,i-t*n,s-t*r,i-n,s,i-n),e.bezierCurveTo(s+t*r,i-n,s+r,i-t*n,s+r,i),e.closePath()),new ea(s-r,i-n,s+r,i+n)}getMarkers(){return null}}class eb extends ec{constructor(){super(...arguments),this.type="line"}getPoints(){return[new U(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new U(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:t,y:r},{x:n,y:s}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(t,r),e.lineTo(n,s)),new ea(t,r,n,s)}getMarkers(){var[e,t]=this.getPoints(),r=e.angleTo(t);return[[e,r],[t,r]]}}class e_ extends ec{constructor(e,t,r){super(e,t,r),this.type="polyline",this.points=[],this.points=U.parsePath(this.getAttribute("points").getString())}path(e){var{points:t}=this,[{x:r,y:n}]=t,s=new ea(r,n);return e&&(e.beginPath(),e.moveTo(r,n)),t.forEach(t=>{var{x:r,y:n}=t;s.addPoint(r,n),e&&e.lineTo(r,n)}),s}getMarkers(){var{points:e}=this,t=e.length-1,r=[];return e.forEach((n,s)=>{s!==t&&r.push([n,n.angleTo(e[s+1])])}),r.length>0&&r.push([e[e.length-1],r[r.length-1][1]]),r}}class ej extends e_{constructor(){super(...arguments),this.type="polygon"}path(e){var t=super.path(e),[{x:r,y:n}]=this.points;return e&&(e.lineTo(r,n),e.closePath()),t}}class ew extends en{constructor(){super(...arguments),this.type="pattern"}createPattern(e,t,r){var n=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),i=new em(this.document,null);i.attributes.viewBox=new B(this.document,"viewBox",this.getAttribute("viewBox").getValue()),i.attributes.width=new B(this.document,"width","".concat(n,"px")),i.attributes.height=new B(this.document,"height","".concat(s,"px")),i.attributes.transform=new B(this.document,"transform",this.getAttribute("patternTransform").getValue()),i.children=this.children;var o=this.document.createCanvas(n,s),a=o.getContext("2d"),l=this.getAttribute("x"),u=this.getAttribute("y");l.hasValue()&&u.hasValue()&&a.translate(l.getPixels("x",!0),u.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var h=-1;h<=1;h++)a.save(),i.attributes.x=new B(this.document,"x",c*o.width),i.attributes.y=new B(this.document,"y",h*o.height),i.render(a),a.restore();return e.createPattern(o,"repeat")}}class ex extends en{constructor(){super(...arguments),this.type="marker"}render(e,t,r){if(t){var{x:n,y:s}=t,i=this.getAttribute("orient").getString("auto"),o=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(n,s),"auto"===i&&e.rotate(r),"strokeWidth"===o&&e.scale(e.lineWidth,e.lineWidth),e.save();var a=new em(this.document,null);a.type=this.type,a.attributes.viewBox=new B(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.refX=new B(this.document,"refX",this.getAttribute("refX").getValue()),a.attributes.refY=new B(this.document,"refY",this.getAttribute("refY").getValue()),a.attributes.width=new B(this.document,"width",this.getAttribute("markerWidth").getValue()),a.attributes.height=new B(this.document,"height",this.getAttribute("markerHeight").getValue()),a.attributes.overflow=new B(this.document,"overflow",this.getAttribute("overflow").getValue()),a.attributes.fill=new B(this.document,"fill",this.getAttribute("fill").getColor("black")),a.attributes.stroke=new B(this.document,"stroke",this.getAttribute("stroke").getValue("none")),a.children=this.children,a.render(e),e.restore(),"strokeWidth"===o&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"===i&&e.rotate(-r),e.translate(-n,-s)}}}class eA extends en{constructor(){super(...arguments),this.type="defs"}render(){}}class eS extends eu{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var t=new ea;return this.children.forEach(r=>{t.addBoundingBox(r.getBoundingBox(e))}),t}}class eN extends en{constructor(e,t,r){super(e,t,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:n,children:s}=this;s.forEach(e=>{"stop"===e.type&&n.push(e)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,t,r){var n=this;this.getHrefAttribute().hasValue()&&(n=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(n));var{stops:s}=n,i=this.getGradient(e,t);if(!i)return this.addParentOpacity(r,s[s.length-1].color);if(s.forEach(e=>{i.addColorStop(e.offset,this.addParentOpacity(r,e.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:o}=this,{MAX_VIRTUAL_PIXELS:a,viewPort:l}=o.screen,[u]=l.viewPorts,c=new eg(o,null);c.attributes.x=new B(o,"x",-a/3),c.attributes.y=new B(o,"y",-a/3),c.attributes.width=new B(o,"width",a),c.attributes.height=new B(o,"height",a);var h=new eS(o,null);h.attributes.transform=new B(o,"transform",this.getAttribute("gradientTransform").getValue()),h.children=[c];var d=new em(o,null);d.attributes.x=new B(o,"x",0),d.attributes.y=new B(o,"y",0),d.attributes.width=new B(o,"width",u.width),d.attributes.height=new B(o,"height",u.height),d.children=[h];var f=o.createCanvas(u.width,u.height),p=f.getContext("2d");return p.fillStyle=i,d.render(p),p.createPattern(f,"no-repeat")}return i}inheritStopContainer(e){this.attributesToInherit.forEach(t=>{!this.getAttribute(t).hasValue()&&e.getAttribute(t).hasValue()&&this.getAttribute(t,!0).setValue(e.getAttribute(t).getValue())})}addParentOpacity(e,t){return e.hasValue()?new B(this.document,"color",t).addOpacity(e).getColor():t}}class eL extends eN{constructor(e,t,r){super(e,t,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,t){var r="objectBoundingBox"===this.getGradientUnits(),n=r?t.getBoundingBox(e):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var s=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),i=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===o&&i===a?null:e.createLinearGradient(s,i,o,a)}}class ek extends eN{constructor(e,t,r){super(e,t,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,t){var r="objectBoundingBox"===this.getGradientUnits(),n=t.getBoundingBox(e);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var s=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),i=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=s,a=i;this.getAttribute("fx").hasValue()&&(o=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(a=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return e.createRadialGradient(o,a,u,s,i,l)}}class eP extends en{constructor(e,t,r){super(e,t,r),this.type="stop";var n=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),s=this.getStyle("stop-opacity"),i=this.getStyle("stop-color",!0);""===i.getString()&&i.setValue("#000"),s.hasValue()&&(i=i.addOpacity(s)),this.offset=n,this.color=i.getColor()}}class eC extends en{constructor(e,t,r){super(e,t,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new B(e,"values",null);var n=this.getAttribute("values");n.hasValue()&&this.values.setValue(n.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return"CSS"===e?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}calcValue(){var{initialUnits:e}=this,{progress:t,from:r,to:n}=this.getProgress(),s=r.getNumber()+(n.getNumber()-r.getNumber())*t;return"%"===e&&(s*=100),"".concat(s).concat(e)}update(e){var{parent:t}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==n||this.frozen){if("remove"===n&&!this.removed)return this.removed=!0,r.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,t.animationFrozen=!0,t.animationFrozenValue=r.getString();return!1}this.duration+=e;var s=!1;if(this.begin<this.duration){var i=this.calcValue(),o=this.getAttribute("type");if(o.hasValue()){var a=o.getString();i="".concat(a,"(").concat(i,")")}r.setValue(i),s=!0}return s}getProgress(){var{document:e,values:t}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(t.hasValue()){var n=r.progress*(t.getValue().length-1),s=Math.floor(n),i=Math.ceil(n);r.from=new B(e,"from",parseFloat(t.getValue()[s])),r.to=new B(e,"to",parseFloat(t.getValue()[i])),r.progress=(n-s)/(i-s)}else r.from=this.from,r.to=this.to;return r}}class eE extends eC{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:e,from:t,to:r}=this.getProgress(),n=new a(t.getColor()),s=new a(r.getColor());if(n.ok&&s.ok){var i=n.r+(s.r-n.r)*e,o=n.g+(s.g-n.g)*e,l=n.b+(s.b-n.b)*e;return"rgb(".concat(Math.floor(i),", ").concat(Math.floor(o),", ").concat(Math.floor(l),")")}return this.getAttribute("from").getColor()}}class eO extends eC{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:e,from:t,to:r}=this.getProgress(),n=p(t.getString()),s=p(r.getString());return n.map((t,r)=>t+(s[r]-t)*e).join(" ")}}class eT extends en{constructor(e,t,r){super(e,t,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:n}=e,{children:s}=this;for(var i of s)switch(i.type){case"font-face":this.fontFace=i;var o=i.getStyle("font-family");o.hasValue()&&(n[o.getString()]=this);break;case"missing-glyph":this.missingGlyph=i;break;case"glyph":i.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[i.unicode]&&(this.glyphs[i.unicode]=Object.create(null)),this.glyphs[i.unicode][i.arabicForm]=i):this.glyphs[i.unicode]=i}}render(){}}class eI extends en{constructor(e,t,r){super(e,t,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class eM extends ec{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class eR extends ed{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var t=e.children[0];if(t)return t.getText()}return""}}class eF extends ed{constructor(e,t,r){super(e,t,r),this.type="a";var{childNodes:n}=t,s=n[0],i=n.length>0&&Array.from(n).every(e=>3===e.nodeType);this.hasText=i,this.text=i?this.getTextFromNode(s):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:t,x:r,y:n}=this,{mouse:s}=t.screen,i=new B(t,"fontSize",eo.parse(t.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new ea(r,n-i.getPixels("y"),r+this.measureText(e),n))}else if(this.children.length>0){var o=new eS(this.document,null);o.children=this.children,o.parent=this,o.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function eD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eB(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eD(Object(r),!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eD(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}class ez extends ed{constructor(e,t,r){super(e,t,r),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var n=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(n)}getText(){return this.text}path(e){var{dataArray:t}=this;e&&e.beginPath(),t.forEach(t=>{var{type:r,points:n}=t;switch(r){case el.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case el.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case el.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case el.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case el.ARC:var[s,i,o,a,l,u,c,h]=n,d=o>a?1:o/a,f=o>a?a/o:1;e&&(e.translate(s,i),e.rotate(c),e.scale(d,f),e.arc(0,0,o>a?o:a,l,l+u,!!(1-h)),e.scale(1/d,1/f),e.rotate(-c),e.translate(-s,-i));break;case el.CLOSE_PATH:e&&e.closePath()}})}renderChildren(e){this.setTextData(e),e.save();var t=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:n}=this,s=e.fillStyle;"underline"===t&&e.beginPath(),n.forEach((n,s)=>{var{p0:i,p1:o,rotation:a,text:l}=n;e.save(),e.translate(i.x,i.y),e.rotate(a),e.fillStyle&&e.fillText(l,0,0),e.strokeStyle&&e.strokeText(l,0,0),e.restore(),"underline"===t&&(0===s&&e.moveTo(i.x,i.y+r/8),e.lineTo(o.x,o.y+r/5))}),"underline"===t&&(e.lineWidth=r/20,e.strokeStyle=s,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,t,r,n,s,i,o,a,l){var u=i,c=this.measureText(e,a);" "===a&&"justify"===t&&r<n&&(c+=(n-r)/s),l>-1&&(u+=this.getLetterSpacingAt(l));var h=this.textHeight/20,d=this.getEquidistantPointOnPath(u,h,0),f=this.getEquidistantPointOnPath(u+c,h,0),p={p0:d,p1:f},m=d&&f?Math.atan2(f.y-d.y,f.x-d.x):0;if(o){var g=Math.cos(Math.PI/2+m)*o,v=Math.cos(-m)*o;p.p0=eB(eB({},d),{},{x:d.x+g,y:d.y+v}),p.p1=eB(eB({},f),{},{x:f.x+g,y:f.y+v})}return{offset:u+=c,segment:p,rotation:m}}measureText(e,t){var{measuresCache:r}=this,n=t||this.getText();if(r.has(n))return r.get(n);var s=this.measureTargetText(e,n);return r.set(n,s),s}setTextData(e){if(!this.glyphInfo){var t=this.getText(),r=t.split(""),n=t.split(" ").length-1,s=this.parent.getAttribute("dx").split().map(e=>e.getPixels("x")),i=this.parent.getAttribute("dy").getPixels("y"),o=this.parent.getStyle("text-anchor").getString("start"),a=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),u=0;a.hasValue()&&"inherit"!==a.getValue()?a.hasValue()&&"initial"!==a.getValue()&&"unset"!==a.getValue()&&(u=a.getPixels()):u=l.getPixels();var c=[],h=t.length;this.letterSpacingCache=c;for(var d=0;d<h;d++)c.push(void 0!==s[d]?s[d]:u);var f=c.reduce((e,t,r)=>0===r?0:e+t||0,0),p=this.measureText(e),m=Math.max(p+f,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var g=this.getPathLength(),v=this.getStyle("startOffset").getNumber(0)*g,y=0;("middle"===o||"center"===o)&&(y=-m/2),("end"===o||"right"===o)&&(y=-m),y+=v,r.forEach((t,s)=>{var{offset:a,segment:l,rotation:u}=this.findSegmentToFitChar(e,o,m,g,n,y,i,t,s);y=a,l.p0&&l.p1&&this.glyphInfo.push({text:r[s],p0:l.p0,p1:l.p1,rotation:u})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var t=[],{pathParser:r}=e;for(r.reset();!r.isEnd();){var{current:n}=r,s=n?n.x:0,i=n?n.y:0,o=r.next(),a=o.type,l=[];switch(o.type){case el.MOVE_TO:this.pathM(r,l);break;case el.LINE_TO:a=this.pathL(r,l);break;case el.HORIZ_LINE_TO:a=this.pathH(r,l);break;case el.VERT_LINE_TO:a=this.pathV(r,l);break;case el.CURVE_TO:this.pathC(r,l);break;case el.SMOOTH_CURVE_TO:a=this.pathS(r,l);break;case el.QUAD_TO:this.pathQ(r,l);break;case el.SMOOTH_QUAD_TO:a=this.pathT(r,l);break;case el.ARC:l=this.pathA(r);break;case el.CLOSE_PATH:ec.pathZ(r)}o.type!==el.CLOSE_PATH?t.push({type:a,points:l,start:{x:s,y:i},pathLength:this.calcLength(s,i,a,l)}):t.push({type:el.CLOSE_PATH,points:[],pathLength:0})}return t}pathM(e,t){var{x:r,y:n}=ec.pathM(e).point;t.push(r,n)}pathL(e,t){var{x:r,y:n}=ec.pathL(e).point;return t.push(r,n),el.LINE_TO}pathH(e,t){var{x:r,y:n}=ec.pathH(e).point;return t.push(r,n),el.LINE_TO}pathV(e,t){var{x:r,y:n}=ec.pathV(e).point;return t.push(r,n),el.LINE_TO}pathC(e,t){var{point:r,controlPoint:n,currentPoint:s}=ec.pathC(e);t.push(r.x,r.y,n.x,n.y,s.x,s.y)}pathS(e,t){var{point:r,controlPoint:n,currentPoint:s}=ec.pathS(e);return t.push(r.x,r.y,n.x,n.y,s.x,s.y),el.CURVE_TO}pathQ(e,t){var{controlPoint:r,currentPoint:n}=ec.pathQ(e);t.push(r.x,r.y,n.x,n.y)}pathT(e,t){var{controlPoint:r,currentPoint:n}=ec.pathT(e);return t.push(r.x,r.y,n.x,n.y),el.QUAD_TO}pathA(e){var{rX:t,rY:r,sweepFlag:n,xAxisRotation:s,centp:i,a1:o,ad:a}=ec.pathA(e);return 0===n&&a>0&&(a-=2*Math.PI),1===n&&a<0&&(a+=2*Math.PI),[i.x,i.y,t,r,o,a,s,n]}calcLength(e,t,r,n){var s=0,i=null,o=null,a=0;switch(r){case el.LINE_TO:return this.getLineLength(e,t,n[0],n[1]);case el.CURVE_TO:for(a=.01,s=0,i=this.getPointOnCubicBezier(0,e,t,n[0],n[1],n[2],n[3],n[4],n[5]);a<=1;a+=.01)o=this.getPointOnCubicBezier(a,e,t,n[0],n[1],n[2],n[3],n[4],n[5]),s+=this.getLineLength(i.x,i.y,o.x,o.y),i=o;return s;case el.QUAD_TO:for(a=.01,s=0,i=this.getPointOnQuadraticBezier(0,e,t,n[0],n[1],n[2],n[3]);a<=1;a+=.01)o=this.getPointOnQuadraticBezier(a,e,t,n[0],n[1],n[2],n[3]),s+=this.getLineLength(i.x,i.y,o.x,o.y),i=o;return s;case el.ARC:s=0;var l=n[4],u=n[5],c=n[4]+u,h=Math.PI/180;if(Math.abs(l-c)<h&&(h=Math.abs(l-c)),i=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],l,0),u<0)for(a=l-h;a>c;a-=h)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],a,0),s+=this.getLineLength(i.x,i.y,o.x,o.y),i=o;else for(a=l+h;a<c;a+=h)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],a,0),s+=this.getLineLength(i.x,i.y,o.x,o.y),i=o;return o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],c,0),s+=this.getLineLength(i.x,i.y,o.x,o.y)}return 0}getPointOnLine(e,t,r,n,s){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,a=(s-r)/(n-t+k),l=Math.sqrt(e*e/(1+a*a));n<t&&(l*=-1);var u=a*l,c=null;if(n===t)c={x:i,y:o+u};else if((o-r)/(i-t+k)===a)c={x:i+l,y:o+u};else{var h=0,d=0,f=this.getLineLength(t,r,n,s);if(f<k)return null;var p=(i-t)*(n-t)+(o-r)*(s-r);p/=f*f,h=t+p*(n-t),d=r+p*(s-r);var m=this.getLineLength(i,o,h,d),g=Math.sqrt(e*e-m*m);l=Math.sqrt(g*g/(1+a*a)),n<t&&(l*=-1),u=a*l,c={x:h+l,y:d+u}}return c}getPointOnPath(e){var t=this.getPathLength(),r=0,n=null;if(e<-5e-5||e-5e-5>t)return null;var{dataArray:s}=this;for(var i of s){if(i&&(i.pathLength<5e-5||r+i.pathLength+5e-5<e)){r+=i.pathLength;continue}var o=e-r,a=0;switch(i.type){case el.LINE_TO:n=this.getPointOnLine(o,i.start.x,i.start.y,i.points[0],i.points[1],i.start.x,i.start.y);break;case el.ARC:var l=i.points[4],u=i.points[5],c=i.points[4]+u;if(a=l+o/i.pathLength*u,u<0&&a<c||u>=0&&a>c)break;n=this.getPointOnEllipticalArc(i.points[0],i.points[1],i.points[2],i.points[3],a,i.points[6]);break;case el.CURVE_TO:(a=o/i.pathLength)>1&&(a=1),n=this.getPointOnCubicBezier(a,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3],i.points[4],i.points[5]);break;case el.QUAD_TO:(a=o/i.pathLength)>1&&(a=1),n=this.getPointOnQuadraticBezier(a,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3])}if(n)return n;break}return null}getLineLength(e,t,r,n){return Math.sqrt((r-e)*(r-e)+(n-t)*(n-t))}getPathLength(){return -1===this.pathLength&&(this.pathLength=this.dataArray.reduce((e,t)=>t.pathLength>0?e+t.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,t,r,n,s,i,o,a,l){return{x:a*O(e)+i*T(e)+n*I(e)+t*M(e),y:l*O(e)+o*T(e)+s*I(e)+r*M(e)}}getPointOnQuadraticBezier(e,t,r,n,s,i,o){return{x:e*e*i+n*F(e)+t*D(e),y:e*e*o+s*F(e)+r*D(e)}}getPointOnEllipticalArc(e,t,r,n,s,i){var o=Math.cos(i),a=Math.sin(i),l={x:r*Math.cos(s),y:n*Math.sin(s)};return{x:e+(l.x*o-l.y*a),y:t+(l.x*a+l.y*o)}}buildEquidistantCache(e,t){var r=this.getPathLength(),n=t||.25,s=e||r/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==n){this.equidistantCache={step:s,precision:n,points:[]};for(var i=0,o=0;o<=r;o+=n){var a=this.getPointOnPath(o),l=this.getPointOnPath(o+n);a&&l&&(i+=this.getLineLength(a.x,a.y,l.x,l.y))>=s&&(this.equidistantCache.points.push({x:a.x,y:a.y,distance:o}),i-=s)}}}getEquidistantPointOnPath(e,t,r){if(this.buildEquidistantCache(t,r),e<0||e-this.getPathLength()>5e-5)return null;var n=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}var eU=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class eq extends eu{constructor(e,t,r){super(e,t,r),this.type="image",this.loaded=!1;var n=this.getHrefAttribute().getString();if(!n)return;var s=n.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(n);e.images.push(this),s?this.loadSvg(n):this.loadImage(n),this.isSvg=s}loadImage(e){var t=this;return(0,n.default)(function*(){try{var r=yield t.document.createImage(e);t.image=r}catch(t){console.error('Error while loading image "'.concat(e,'":'),t)}t.loaded=!0})()}loadSvg(e){var t=this;return(0,n.default)(function*(){var r=eU.exec(e);if(r){var n=r[5];"base64"===r[4]?t.image=atob(n):t.image=decodeURIComponent(n)}else try{var s=yield t.document.fetch(e);t.image=yield s.text()}catch(t){console.error('Error while loading image "'.concat(e,'":'),t)}t.loaded=!0})()}renderChildren(e){var{document:t,image:r,loaded:n}=this,s=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(n&&r&&o&&a){if(e.save(),e.translate(s,i),this.isSvg){var l=t.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:o,scaleHeight:a});l.document.documentElement.parent=this,l.render()}else{var u=this.image;t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o,desiredWidth:u.width,height:a,desiredHeight:u.height}),this.loaded&&(void 0===u.complete||u.complete)&&e.drawImage(u,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y");return new ea(e,t,e+this.getStyle("width").getPixels("x"),t+this.getStyle("height").getPixels("y"))}}class eV extends eu{constructor(){super(...arguments),this.type="symbol"}render(e){}}class eH{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,t){var r=this;return(0,n.default)(function*(){try{var{document:n}=r,s=(yield n.canvg.parser.load(t)).getElementsByTagName("font");Array.from(s).forEach(t=>{var r=n.createElement(t);n.definitions[e]=r})}catch(e){console.error('Error while loading font "'.concat(t,'":'),e)}r.loaded=!0})()}}class eW extends en{constructor(e,t,r){super(e,t,r),this.type="style",h(Array.from(t.childNodes).map(e=>e.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(t=>{var r=t.trim();if(r){var n=r.split("{"),s=n[0].split(","),i=n[1].split(";");s.forEach(t=>{var r=t.trim();if(r){var n=e.styles[r]||{};if(i.forEach(t=>{var r=t.indexOf(":"),s=t.substr(0,r).trim(),i=t.substr(r+1,t.length-r).trim();s&&i&&(n[s]=new B(e,s,i))}),e.styles[r]=n,e.stylesSpecificity[r]=L(r),"@font-face"===r){var s=n["font-family"].getString().replace(/"|'/g,"");n.src.getString().split(",").forEach(t=>{if(t.indexOf('format("svg")')>0){var r=v(t);r&&new eH(e).load(s,r)}})}}})}})}}eW.parseExternalUrl=v;class eG extends eu{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var t=this.getAttribute("x"),r=this.getAttribute("y");t.hasValue()&&e.translate(t.getPixels("x"),0),r.hasValue()&&e.translate(0,r.getPixels("y"))}path(e){var{element:t}=this;t&&t.path(e)}renderChildren(e){var{document:t,element:r}=this;if(r){var n=r;if("symbol"===r.type&&((n=new em(t,null)).attributes.viewBox=new B(t,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new B(t,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new B(t,"overflow",r.getAttribute("overflow").getString()),n.children=r.children,r.styles.opacity=new B(t,"opacity",this.calculateOpacity())),"svg"===n.type){var s=this.getStyle("width",!1,!0),i=this.getStyle("height",!1,!0);s.hasValue()&&(n.attributes.width=new B(t,"width",s.getString())),i.hasValue()&&(n.attributes.height=new B(t,"height",i.getString()))}var o=n.parent;n.parent=this,n.render(e),n.parent=o}}getBoundingBox(e){var{element:t}=this;return t?t.getBoundingBox(e):null}elementTransform(){var{document:e,element:t}=this;return er.fromElement(e,t)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function eY(e,t,r,n){return t+Math.cos(e)*r+Math.sin(e)*n}class eX extends en{constructor(e,t,r){super(e,t,r),this.type="feColorMatrix";var n=p(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var s=n[0];n=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var i=n[0]*Math.PI/180;n=[eY(i,.213,.787,-.213),eY(i,.715,-.715,-.715),eY(i,.072,-.072,.928),0,0,eY(i,.213,-.213,.143),eY(i,.715,.285,.14),eY(i,.072,-.072,-.283),0,0,eY(i,.213,-.213,-.787),eY(i,.715,-.715,.715),eY(i,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=n,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,t,r,n,s){for(var{includeOpacity:i,matrix:o}=this,a=e.getImageData(0,0,n,s),l=0;l<s;l++)for(var u=0;u<n;u++){var c,h,d,f,p,m,g,v,y,b,_,j,w,x,A,S,N,L,k,P,C=(c=a.data,c[l*n*4+4*u+0]),E=(h=a.data,h[l*n*4+4*u+1]),O=(d=a.data,d[l*n*4+4*u+2]),T=(f=a.data,f[l*n*4+4*u+3]),I=o[0]*C+o[1]*E+o[2]*O+o[3]*T+ +o[4],M=o[5]*C+o[6]*E+o[7]*O+o[8]*T+ +o[9],R=o[10]*C+o[11]*E+o[12]*O+o[13]*T+ +o[14],F=o[15]*C+o[16]*E+o[17]*O+o[18]*T+ +o[19];i&&(I=0,M=0,R=0,F*=T/255),p=a.data,m=u,g=l,v=I,p[g*n*4+4*m+0]=v,y=a.data,b=u,_=l,j=M,y[_*n*4+4*b+1]=j,w=a.data,x=u,A=l,S=R,w[A*n*4+4*x+2]=S,N=a.data,L=u,k=l,P=F,N[k*n*4+4*L+3]=P}e.clearRect(0,0,n,s),e.putImageData(a,0,0)}}class e$ extends en{constructor(){super(...arguments),this.type="mask"}apply(e,t){var{document:r}=this,n=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(!i&&!o){var a=new ea;this.children.forEach(t=>{a.addBoundingBox(t.getBoundingBox(e))}),n=Math.floor(a.x1),s=Math.floor(a.y1),i=Math.floor(a.width),o=Math.floor(a.height)}var l=this.removeStyles(t,e$.ignoreStyles),u=r.createCanvas(n+i,s+o),c=u.getContext("2d");r.screen.setDefaults(c),this.renderChildren(c),new eX(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,n+i,s+o);var h=r.createCanvas(n+i,s+o),d=h.getContext("2d");r.screen.setDefaults(d),t.render(d),d.globalCompositeOperation="destination-in",d.fillStyle=c.createPattern(u,"no-repeat"),d.fillRect(0,0,n+i,s+o),e.fillStyle=d.createPattern(h,"no-repeat"),e.fillRect(0,0,n+i,s+o),this.restoreStyles(t,l)}render(e){}}e$.ignoreStyles=["mask","transform","clip-path"];var eZ=()=>{};class eK extends en{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:t}=this,r=Reflect.getPrototypeOf(e),{beginPath:n,closePath:s}=e;r&&(r.beginPath=eZ,r.closePath=eZ),Reflect.apply(n,e,[]),this.children.forEach(n=>{if(void 0!==n.path){var i=void 0!==n.elementTransform?n.elementTransform():null;i||(i=er.fromElement(t,n)),i&&i.apply(e),n.path(e),r&&(r.closePath=s),i&&i.unapply(e)}}),Reflect.apply(s,e,[]),e.clip(),r&&(r.beginPath=n,r.closePath=s)}render(e){}}class eJ extends en{constructor(){super(...arguments),this.type="filter"}apply(e,t){var{document:r,children:n}=this,s=t.getBoundingBox(e);if(s){var i=0,o=0;n.forEach(e=>{var t=e.extraFilterDistance||0;i=Math.max(i,t),o=Math.max(o,t)});var a=Math.floor(s.width),l=Math.floor(s.height),u=a+2*i,c=l+2*o;if(!(u<1)&&!(c<1)){var h=Math.floor(s.x),d=Math.floor(s.y),f=this.removeStyles(t,eJ.ignoreStyles),p=r.createCanvas(u,c),m=p.getContext("2d");r.screen.setDefaults(m),m.translate(-h+i,-d+o),t.render(m),n.forEach(e=>{"function"==typeof e.apply&&e.apply(m,0,0,u,c)}),e.drawImage(p,0,0,u,c,h-i,d-o,u,c),this.restoreStyles(t,f)}}}render(e){}}eJ.ignoreStyles=["filter","transform","clip-path"];class eQ extends en{constructor(e,t,r){super(e,t,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,t,r,n,s){}}class e0 extends en{constructor(){super(...arguments),this.type="feMorphology"}apply(e,t,r,n,s){}}class e1 extends en{constructor(){super(...arguments),this.type="feComposite"}apply(e,t,r,n,s){}}class e2 extends en{constructor(e,t,r){super(e,t,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,t,r,n,s){var{document:i,blurRadius:o}=this,a=i.window?i.window.document.body:null,l=e.canvas;l.id=i.getUniqueId(),a&&(l.style.display="none",a.appendChild(l)),(0,u.canvasRGBA)(l,t,r,n,s,o),a&&a.removeChild(l)}}class e5 extends en{constructor(){super(...arguments),this.type="title"}}class e3 extends en{constructor(){super(...arguments),this.type="desc"}}function e4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e6(){return(e6=(0,n.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.createElement("img");return t&&(r.crossOrigin="Anonymous"),new Promise((t,n)=>{r.onload=()=>{t(r)},r.onerror=(e,t,r,s,i)=>{n(i)},r.src=e})})).apply(this,arguments)}class e8{constructor(e){var{rootEmSize:t=12,emSize:r=12,createCanvas:n=e8.createCanvas,createImage:s=e8.createImage,anonymousCrossOrigin:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=e,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=t,this.emSize=r,this.createCanvas=n,this.createImage=this.bindCreateImage(s,i),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,t){return"boolean"==typeof t?(r,n)=>e(r,"boolean"==typeof n?n:t):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:t}=this;t.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var t=this.createElement(e.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(e){var t=e.nodeName.replace(/^[^:]+:/,""),r=e8.elementTypes[t];return void 0!==r?new r(this,e):new es(this,e)}createTextNode(e){return new ep(this,e)}setViewBox(e){this.screen.setViewBox(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e4(Object(r),!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e4(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({document:this},e))}}function e7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e9(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e7(Object(r),!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e7(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}e8.createCanvas=function(e,t){var r=document.createElement("canvas");return r.width=e,r.height=t,r},e8.createImage=function(e){return e6.apply(this,arguments)},e8.elementTypes={svg:em,rect:eg,circle:ev,ellipse:ey,line:eb,polyline:e_,polygon:ej,path:ec,pattern:ew,marker:ex,defs:eA,linearGradient:eL,radialGradient:ek,stop:eP,animate:eC,animateColor:eE,animateTransform:eO,font:eT,"font-face":eI,"missing-glyph":eM,glyph:eh,text:ed,tspan:ef,tref:eR,a:eF,textPath:ez,image:eq,g:eS,symbol:eV,style:eW,use:eG,mask:e$,clipPath:eK,filter:eJ,feDropShadow:eQ,feMorphology:e0,feComposite:e1,feColorMatrix:eX,feGaussianBlur:e2,title:e5,desc:e3};class te{constructor(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new X(r),this.screen=new W(e,r),this.options=r;var n=new e8(this,r),s=n.createDocumentElement(t);this.document=n,this.documentElement=s}static from(e,t){var r=arguments;return(0,n.default)(function*(){var n=r.length>2&&void 0!==r[2]?r[2]:{},s=new X(n);return new te(e,(yield s.parse(t)),n)})()}static fromString(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new te(e,new X(r).parseFromString(t),r)}fork(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return te.from(e,t,e9(e9({},this.options),r))}forkString(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return te.fromString(e,t,e9(e9({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,t=this;return(0,n.default)(function*(){var r=e.length>0&&void 0!==e[0]?e[0]:{};t.start(e9({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield t.ready(),t.stop()})()}start(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:t,screen:r,options:n}=this;r.start(t,e9(e9({enableRedraw:!0},n),e))}stop(){this.screen.stop()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(e,t,r)}}},
vendor: 286 bytes, line 1
1"./node_modules/core-js/internals/a-callable.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-callable.js"),s=r("./node_modules/core-js/internals/try-to-string.js"),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},
vendor: 295 bytes, line 1
1"./node_modules/core-js/internals/a-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-constructor.js"),s=r("./node_modules/core-js/internals/try-to-string.js"),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a constructor")}},
vendor: 268 bytes, line 1
1"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-possible-prototype.js"),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},
vendor: 174 bytes, line 1
1"./node_modules/core-js/internals/a-set.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/set-helpers.js").has;e.exports=function(e){return n(e),e}},
vendor: 402 bytes, line 1
1"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/well-known-symbol.js"),s=r("./node_modules/core-js/internals/object-create.js"),i=r("./node_modules/core-js/internals/object-define-property.js").f,o=n("unscopables"),a=Array.prototype;void 0===a[o]&&i(a,o,{configurable:!0,value:s(null)}),e.exports=function(e){a[o][e]=!0}},
vendor: 216 bytes, line 1
1"./node_modules/core-js/internals/advance-string-index.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/string-multibyte.js").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},
vendor: 242 bytes, line 1
1"./node_modules/core-js/internals/an-instance.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/object-is-prototype-of.js"),s=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new s("Incorrect invocation")}},
vendor: 234 bytes, line 1
1"./node_modules/core-js/internals/an-object.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-object.js"),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},
vendor: 290 bytes, line 1
1"./node_modules/core-js/internals/array-buffer-non-extensible.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/fails.js")(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})},
vendor: 319 bytes, line 1
1"./node_modules/core-js/internals/array-for-each.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/array-iteration.js").forEach;e.exports=r("./node_modules/core-js/internals/array-method-is-strict.js")("forEach")?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},
vendor: 1,094 bytes, line 1
1"./node_modules/core-js/internals/array-from.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-context.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-object.js"),o=r("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),a=r("./node_modules/core-js/internals/is-array-iterator-method.js"),l=r("./node_modules/core-js/internals/is-constructor.js"),u=r("./node_modules/core-js/internals/length-of-array-like.js"),c=r("./node_modules/core-js/internals/create-property.js"),h=r("./node_modules/core-js/internals/get-iterator.js"),d=r("./node_modules/core-js/internals/get-iterator-method.js"),f=Array;e.exports=function(e){var t,r,p,m,g,v,y=i(e),b=l(this),_=arguments.length,j=_>1?arguments[1]:void 0,w=void 0!==j;w&&(j=n(j,_>2?arguments[2]:void 0));var x=d(y),A=0;if(x&&!(this===f&&a(x)))for(r=b?new this:[],g=(m=h(y,x)).next;!(p=s(g,m)).done;A++)v=w?o(m,j,[p.value,A],!0):p.value,c(r,A,v);else for(t=u(y),r=b?new this(t):f(t);t>A;A++)v=w?j(y[A],A):y[A],c(r,A,v);return r.length=A,r}},
vendor: 527 bytes, line 1
1"./node_modules/core-js/internals/array-includes.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-indexed-object.js"),s=r("./node_modules/core-js/internals/to-absolute-index.js"),i=r("./node_modules/core-js/internals/length-of-array-like.js"),o=function(e){return function(t,r,o){var a,l=n(t),u=i(l);if(0===u)return!e&&-1;var c=s(o,u);if(e&&r!=r){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},
vendor: 971 bytes, line 1
1"./node_modules/core-js/internals/array-iteration.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-context.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/indexed-object.js"),o=r("./node_modules/core-js/internals/to-object.js"),a=r("./node_modules/core-js/internals/length-of-array-like.js"),l=r("./node_modules/core-js/internals/array-species-create.js"),u=s([].push),c=function(e){var t=1===e,r=2===e,s=3===e,c=4===e,h=6===e,d=7===e,f=5===e||h;return function(p,m,g,v){for(var y,b,_=o(p),j=i(_),w=a(j),x=n(m,g),A=0,S=v||l,N=t?S(p,w):r||d?S(p,0):void 0;w>A;A++)if((f||A in j)&&(b=x(y=j[A],A,_),e))if(t)N[A]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return A;case 2:u(N,y)}else switch(e){case 4:return!1;case 7:u(N,y)}return h?-1:s||c?c:N}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},
vendor: 434 bytes, line 1
1"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/well-known-symbol.js"),i=r("./node_modules/core-js/internals/environment-v8-version.js"),o=s("species");e.exports=function(e){return i>=51||!n(function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},
vendor: 246 bytes, line 1
1"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},
vendor: 666 bytes, line 1
1"./node_modules/core-js/internals/array-reduce.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-callable.js"),s=r("./node_modules/core-js/internals/to-object.js"),i=r("./node_modules/core-js/internals/indexed-object.js"),o=r("./node_modules/core-js/internals/length-of-array-like.js"),a=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,c){var h=s(t),d=i(h),f=o(h);if(n(r),0===f&&u<2)throw new a(l);var p=e?f-1:0,m=e?-1:1;if(u<2)for(;;){if(p in d){c=d[p],p+=m;break}if(p+=m,e?p<0:f<=p)throw new a(l)}for(;e?p>=0:f>p;p+=m)p in d&&(c=r(c,d[p],p,h));return c}};e.exports={left:u(!1),right:u(!0)}},
vendor: 163 bytes, line 1
1"./node_modules/core-js/internals/array-slice.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/function-uncurry-this.js")([].slice)},
vendor: 487 bytes, line 1
1"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-array.js"),s=r("./node_modules/core-js/internals/is-constructor.js"),i=r("./node_modules/core-js/internals/is-object.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js")("species"),a=Array;e.exports=function(e){var t;return n(e)&&(s(t=e.constructor)&&(t===a||n(t.prototype))?t=void 0:i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?a:t}},
vendor: 215 bytes, line 1
1"./node_modules/core-js/internals/array-species-create.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},
vendor: 304 bytes, line 1
1"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/an-object.js"),s=r("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){s(e,"throw",t)}}},
vendor: 502 bytes, line 1
1"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),s=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){s=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!s)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},
vendor: 223 bytes, line 1
1"./node_modules/core-js/internals/classof-raw.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},
vendor: 605 bytes, line 1
1"./node_modules/core-js/internals/classof.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/classof-raw.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),a=Object,l="Arguments"===i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=a(e),o))?r:l?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},
vendor: 2,675 bytes, line 1
1"./node_modules/core-js/internals/collection-strong.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/object-create.js"),s=r("./node_modules/core-js/internals/define-built-in-accessor.js"),i=r("./node_modules/core-js/internals/define-built-ins.js"),o=r("./node_modules/core-js/internals/function-bind-context.js"),a=r("./node_modules/core-js/internals/an-instance.js"),l=r("./node_modules/core-js/internals/is-null-or-undefined.js"),u=r("./node_modules/core-js/internals/iterate.js"),c=r("./node_modules/core-js/internals/iterator-define.js"),h=r("./node_modules/core-js/internals/create-iter-result-object.js"),d=r("./node_modules/core-js/internals/set-species.js"),f=r("./node_modules/core-js/internals/descriptors.js"),p=r("./node_modules/core-js/internals/internal-metadata.js").fastKey,m=r("./node_modules/core-js/internals/internal-state.js"),g=m.set,v=m.getterFor;e.exports={getConstructor:function(e,t,r,c){var h=e(function(e,s){a(e,d),g(e,{type:t,index:n(null),first:null,last:null,size:0}),f||(e.size=0),l(s)||u(s,e[c],{that:e,AS_ENTRIES:r})}),d=h.prototype,m=v(t),y=function(e,t,r){var n,s,i=m(e),o=b(e,t);return o?o.value=r:(i.last=o={index:s=p(t,!0),key:t,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=o),n&&(n.next=o),f?i.size++:e.size++,"F"!==s&&(i.index[s]=o)),e},b=function(e,t){var r,n=m(e),s=p(t);if("F"!==s)return n.index[s];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(d,{clear:function(){for(var e=m(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=n(null),f?e.size=0:this.size=0},delete:function(e){var t=m(this),r=b(this,e);if(r){var n=r.next,s=r.previous;delete t.index[r.index],r.removed=!0,s&&(s.next=n),n&&(n.previous=s),t.first===r&&(t.first=n),t.last===r&&(t.last=s),f?t.size--:this.size--}return!!r},forEach:function(e){for(var t,r=m(this),n=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(d,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&s(d,"size",{configurable:!0,get:function(){return m(this).size}}),h},setStrong:function(e,t,r){var n=t+" Iterator",s=v(t),i=v(n);c(e,t,function(e,t){g(this,{type:n,target:e,state:s(e),kind:t,last:null})},function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"===t?h(r.key,!1):"values"===t?h(r.value,!1):h([r.key,r.value],!1):(e.target=null,h(void 0,!0))},r?"entries":"values",!r,!0),d(t)}}},
vendor: 1,995 bytes, line 1
1"./node_modules/core-js/internals/collection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/function-uncurry-this.js"),o=r("./node_modules/core-js/internals/is-forced.js"),a=r("./node_modules/core-js/internals/define-built-in.js"),l=r("./node_modules/core-js/internals/internal-metadata.js"),u=r("./node_modules/core-js/internals/iterate.js"),c=r("./node_modules/core-js/internals/an-instance.js"),h=r("./node_modules/core-js/internals/is-callable.js"),d=r("./node_modules/core-js/internals/is-null-or-undefined.js"),f=r("./node_modules/core-js/internals/is-object.js"),p=r("./node_modules/core-js/internals/fails.js"),m=r("./node_modules/core-js/internals/check-correctness-of-iteration.js"),g=r("./node_modules/core-js/internals/set-to-string-tag.js"),v=r("./node_modules/core-js/internals/inherit-if-required.js");e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=y?"set":"add",j=s[e],w=j&&j.prototype,x=j,A={},S=function(e){var t=i(w[e]);a(w,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return(!b||!!f(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!f(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return(!b||!!f(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(o(e,!h(j)||!(b||w.forEach&&!p(function(){new j().entries().next()}))))x=r.getConstructor(t,e,y,_),l.enable();else if(o(e,!0)){var N=new x,L=N[_](b?{}:-0,1)!==N,k=p(function(){N.has(1)}),P=m(function(e){new j(e)}),C=!b&&p(function(){for(var e=new j,t=5;t--;)e[_](t,t);return!e.has(-0)});P||((x=t(function(e,t){c(e,w);var r=v(new j,e,x);return d(t)||u(t,r[_],{that:r,AS_ENTRIES:y}),r})).prototype=w,w.constructor=x),(k||C)&&(S("delete"),S("has"),y&&S("get")),(C||L)&&S(_),b&&w.clear&&delete w.clear}return A[e]=x,n({global:!0,constructor:!0,forced:x!==j},A),g(x,e),b||r.setStrong(x,e,y),x}},
vendor: 475 bytes, line 1
1"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/has-own-property.js"),s=r("./node_modules/core-js/internals/own-keys.js"),i=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),o=r("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,r){for(var a=s(t),l=o.f,u=i.f,c=0;c<a.length;c++){var h=a[c];n(e,h)||r&&n(r,h)||l(e,h,u(t,h))}}},
vendor: 275 bytes, line 1
1"./node_modules/core-js/internals/correct-is-regexp-logic.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},
vendor: 257 bytes, line 1
1"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,r){"use strict";e.exports=!r("./node_modules/core-js/internals/fails.js")(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},
vendor: 416 bytes, line 1
1"./node_modules/core-js/internals/create-html.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/require-object-coercible.js"),i=r("./node_modules/core-js/internals/to-string.js"),o=/"/g,a=n("".replace);e.exports=function(e,t,r,n){var l=i(s(e)),u="<"+t;return""!==r&&(u+=" "+r+'="'+a(i(n),o,""")+'"'),u+">"+l+"</"+t+">"}},
vendor: 138 bytes, line 1
1"./node_modules/core-js/internals/create-iter-result-object.js":function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},
vendor: 379 bytes, line 1
1"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},
vendor: 186 bytes, line 1
1"./node_modules/core-js/internals/create-property-descriptor.js":function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},
vendor: 331 bytes, line 1
1"./node_modules/core-js/internals/create-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,r){n?s.f(e,t,i(0,r)):e[t]=r}},
vendor: 325 bytes, line 1
1"./node_modules/core-js/internals/define-built-in-accessor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/make-built-in.js"),s=r("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),s.f(e,t,r)}},
vendor: 620 bytes, line 1
1"./node_modules/core-js/internals/define-built-in.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-callable.js"),s=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/make-built-in.js"),o=r("./node_modules/core-js/internals/define-global-property.js");e.exports=function(e,t,r,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:t;if(n(r)&&i(r,u,a),a.global)l?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:s.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},
vendor: 213 bytes, line 1
1"./node_modules/core-js/internals/define-built-ins.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/define-built-in.js");e.exports=function(e,t,r){for(var s in t)n(e,s,t[s],r);return e}},
vendor: 273 bytes, line 1
1"./node_modules/core-js/internals/define-global-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},
vendor: 220 bytes, line 1
1"./node_modules/core-js/internals/descriptors.js":function(e,t,r){"use strict";e.exports=!r("./node_modules/core-js/internals/fails.js")(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},
vendor: 298 bytes, line 1
1"./node_modules/core-js/internals/document-create-element.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},
vendor: 205 bytes, line 1
1"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},
vendor: 590 bytes, line 1
1"./node_modules/core-js/internals/dom-iterables.js":function(e){"use strict";e.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}},
vendor: 266 bytes, line 1
1"./node_modules/core-js/internals/dom-token-list-prototype.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/document-create-element.js")("span").classList,s=n&&n.constructor&&n.constructor.prototype;e.exports=s===Object.prototype?void 0:s},
vendor: 198 bytes, line 1
1"./node_modules/core-js/internals/enum-bug-keys.js":function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
vendor: 230 bytes, line 1
1"./node_modules/core-js/internals/environment-is-ios-pebble.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},
vendor: 212 bytes, line 1
1"./node_modules/core-js/internals/environment-is-ios.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},
vendor: 160 bytes, line 1
1"./node_modules/core-js/internals/environment-is-node.js":function(e,t,r){"use strict";e.exports="NODE"===r("./node_modules/core-js/internals/environment.js")},
vendor: 205 bytes, line 1
1"./node_modules/core-js/internals/environment-is-webos-webkit.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/web0s(?!.*chrome)/i.test(n)},
vendor: 202 bytes, line 1
1"./node_modules/core-js/internals/environment-user-agent.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js").navigator,s=n&&n.userAgent;e.exports=s?String(s):""},
vendor: 433 bytes, line 1
1"./node_modules/core-js/internals/environment-v8-version.js":function(e,t,r){"use strict";var n,s,i=r("./node_modules/core-js/internals/global-this.js"),o=r("./node_modules/core-js/internals/environment-user-agent.js"),a=i.process,l=i.Deno,u=a&&a.versions||l&&l.version,c=u&&u.v8;c&&(s=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},
vendor: 565 bytes, line 1
1"./node_modules/core-js/internals/environment.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/environment-user-agent.js"),i=r("./node_modules/core-js/internals/classof-raw.js"),o=function(e){return s.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},
vendor: 851 bytes, line 1
1"./node_modules/core-js/internals/export.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,i=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=r("./node_modules/core-js/internals/define-built-in.js"),a=r("./node_modules/core-js/internals/define-global-property.js"),l=r("./node_modules/core-js/internals/copy-constructor-properties.js"),u=r("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var r,c,h,d,f,p=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[p]||a(p,{}):n[p]&&n[p].prototype)for(c in t){if(d=t[c],h=e.dontCallGetSet?(f=s(r,c))&&f.value:r[c],!u(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&i(d,"sham",!0),o(r,c,d,e)}}},
vendor: 128 bytes, line 1
1"./node_modules/core-js/internals/fails.js":function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},
vendor: 1,073 bytes, line 1
1"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.regexp.exec.js");var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/define-built-in.js"),i=r("./node_modules/core-js/internals/regexp-exec.js"),o=r("./node_modules/core-js/internals/fails.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js"),l=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=a("species"),c=RegExp.prototype;e.exports=function(e,t,r,h){var d=a(e),f=!o(function(){var t={};return t[d]=function(){return 7},7!==""[e](t)}),p=f&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[d]=/./[d]}return r.exec=function(){return t=!0,null},r[d](""),!t});if(!f||!p||r){var m=/./[d],g=t(d,""[e],function(e,t,r,s,o){var a=t.exec;return a===i||a===c.exec?f&&!o?{done:!0,value:n(m,t,r,s)}:{done:!0,value:n(e,r,t,s)}:{done:!1}});s(String.prototype,e,g[0]),s(c,d,g[1])}h&&l(c[d],"sham",!0)}},
vendor: 205 bytes, line 1
1"./node_modules/core-js/internals/freezing.js":function(e,t,r){"use strict";e.exports=!r("./node_modules/core-js/internals/fails.js")(function(){return Object.isExtensible(Object.preventExtensions({}))})},
vendor: 296 bytes, line 1
1"./node_modules/core-js/internals/function-apply.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-native.js"),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},
vendor: 395 bytes, line 1
1"./node_modules/core-js/internals/function-bind-context.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this-clause.js"),s=r("./node_modules/core-js/internals/a-callable.js"),i=r("./node_modules/core-js/internals/function-bind-native.js"),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},
vendor: 246 bytes, line 1
1"./node_modules/core-js/internals/function-bind-native.js":function(e,t,r){"use strict";e.exports=!r("./node_modules/core-js/internals/fails.js")(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},
vendor: 238 bytes, line 1
1"./node_modules/core-js/internals/function-call.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-native.js"),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},
vendor: 392 bytes, line 1
1"./node_modules/core-js/internals/function-name.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),l=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:l}},
vendor: 317 bytes, line 1
1"./node_modules/core-js/internals/function-uncurry-this-accessor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/a-callable.js");e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},
vendor: 277 bytes, line 1
1"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof-raw.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=function(e){if("Function"===n(e))return s(e)}},
vendor: 284 bytes, line 1
1"./node_modules/core-js/internals/function-uncurry-this.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-native.js"),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},
vendor: 285 bytes, line 1
1"./node_modules/core-js/internals/get-built-in.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/is-callable.js");e.exports=function(e,t){var r;return arguments.length<2?s(r=n[e])?r:void 0:n[e]&&n[e][t]}},
vendor: 146 bytes, line 1
1"./node_modules/core-js/internals/get-iterator-direct.js":function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},
vendor: 461 bytes, line 1
1"./node_modules/core-js/internals/get-iterator-method.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof.js"),s=r("./node_modules/core-js/internals/get-method.js"),i=r("./node_modules/core-js/internals/is-null-or-undefined.js"),o=r("./node_modules/core-js/internals/iterators.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[n(e)]}},
vendor: 500 bytes, line 1
1"./node_modules/core-js/internals/get-iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/a-callable.js"),i=r("./node_modules/core-js/internals/an-object.js"),o=r("./node_modules/core-js/internals/try-to-string.js"),a=r("./node_modules/core-js/internals/get-iterator-method.js"),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(s(r))return i(n(r,e));throw new l(o(e)+" is not iterable")}},
vendor: 261 bytes, line 1
1"./node_modules/core-js/internals/get-method.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-callable.js"),s=r("./node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},
vendor: 757 bytes, line 1
1"./node_modules/core-js/internals/get-set-record.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-callable.js"),s=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/function-call.js"),o=r("./node_modules/core-js/internals/to-integer-or-infinity.js"),a=r("./node_modules/core-js/internals/get-iterator-direct.js"),l="Invalid size",u=RangeError,c=TypeError,h=Math.max,d=function(e,t){this.set=e,this.size=h(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return a(s(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){s(e);var t=+e.size;if(t!=t)throw new c(l);var r=o(t);if(r<0)throw new u(l);return new d(e,r)}},
vendor: 739 bytes, line 1
1"./node_modules/core-js/internals/get-substitution.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/to-object.js"),i=Math.floor,o=n("".charAt),a=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,h,d){var f=r+e.length,p=n.length,m=c;return void 0!==h&&(h=s(h),m=u),a(d,m,function(s,a){var u;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,f);case"<":u=h[l(a,1,-1)];break;default:var c=+a;if(0===c)return s;if(c>p){var d=i(c/10);if(0===d)return s;if(d<=p)return void 0===n[d-1]?o(a,1):n[d-1]+o(a,1);return s}u=n[c-1]}return void 0===u?"":u})}},
vendor: 359 bytes, line 1
1"./node_modules/core-js/internals/global-this.js":function(e){"use strict";var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r.g&&r.g)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},
vendor: 287 bytes, line 1
1"./node_modules/core-js/internals/has-own-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/to-object.js"),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},
vendor: 89 bytes, line 1
1"./node_modules/core-js/internals/hidden-keys.js":function(e){"use strict";e.exports={}},
vendor: 179 bytes, line 1
1"./node_modules/core-js/internals/host-report-errors.js":function(e){"use strict";e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},
vendor: 167 bytes, line 1
1"./node_modules/core-js/internals/html.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/get-built-in.js")("document","documentElement")},
vendor: 364 bytes, line 1
1"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/document-create-element.js");e.exports=!n&&!s(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},
vendor: 392 bytes, line 1
1"./node_modules/core-js/internals/indexed-object.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/classof-raw.js"),o=Object,a=n("".split);e.exports=s(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):o(e)}:o},
vendor: 383 bytes, line 1
1"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-callable.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,r){var o,a;return i&&n(o=t.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},
vendor: 375 bytes, line 1
1"./node_modules/core-js/internals/inspect-source.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/shared-store.js"),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},
vendor: 1,436 bytes, line 1
1"./node_modules/core-js/internals/internal-metadata.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/hidden-keys.js"),o=r("./node_modules/core-js/internals/is-object.js"),a=r("./node_modules/core-js/internals/has-own-property.js"),l=r("./node_modules/core-js/internals/object-define-property.js").f,u=r("./node_modules/core-js/internals/object-get-own-property-names.js"),c=r("./node_modules/core-js/internals/object-get-own-property-names-external.js"),h=r("./node_modules/core-js/internals/object-is-extensible.js"),d=r("./node_modules/core-js/internals/uid.js"),f=r("./node_modules/core-js/internals/freezing.js"),p=!1,m=d("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=u.f,t=s([].splice),r={};r[m]=1,e(r).length&&(u.f=function(r){for(var n=e(r),s=0,i=n.length;s<i;s++)if(n[s]===m){t(n,s,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,m)){if(!h(e))return"F";if(!t)return"E";v(e)}return e[m].objectID},getWeakData:function(e,t){if(!a(e,m)){if(!h(e))return!0;if(!t)return!1;v(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&h(e)&&!a(e,m)&&v(e),e}};i[m]=!0},
vendor: 1,230 bytes, line 1
1"./node_modules/core-js/internals/internal-state.js":function(e,t,r){"use strict";var n,s,i,o=r("./node_modules/core-js/internals/weak-map-basic-detection.js"),a=r("./node_modules/core-js/internals/global-this.js"),l=r("./node_modules/core-js/internals/is-object.js"),u=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=r("./node_modules/core-js/internals/has-own-property.js"),h=r("./node_modules/core-js/internals/shared-store.js"),d=r("./node_modules/core-js/internals/shared-key.js"),f=r("./node_modules/core-js/internals/hidden-keys.js"),p="Object already initialized",m=a.TypeError,g=a.WeakMap;if(o||h.state){var v=h.state||(h.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m(p);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=d("state");f[y]=!0,n=function(e,t){if(c(e,y))throw new m(p);return t.facade=e,u(e,y,t),t},s=function(e){return c(e,y)?e[y]:{}},i=function(e){return c(e,y)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=s(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},
vendor: 311 bytes, line 1
1"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/well-known-symbol.js"),s=r("./node_modules/core-js/internals/iterators.js"),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},
vendor: 195 bytes, line 1
1"./node_modules/core-js/internals/is-array.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"===n(e)}},
vendor: 242 bytes, line 1
1"./node_modules/core-js/internals/is-callable.js":function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},
vendor: 869 bytes, line 1
1"./node_modules/core-js/internals/is-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/is-callable.js"),o=r("./node_modules/core-js/internals/classof.js"),a=r("./node_modules/core-js/internals/get-built-in.js"),l=r("./node_modules/core-js/internals/inspect-source.js"),u=function(){},c=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=n(h.exec),f=!h.test(u),p=function(e){if(!i(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!d(h,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!c||s(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?m:p},
vendor: 403 bytes, line 1
1"./node_modules/core-js/internals/is-forced.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=/#|\.prototype\./,o=function(e,t){var r=l[a(e)];return r===c||r!==u&&(s(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},
vendor: 499 bytes, line 1
1"./node_modules/core-js/internals/is-iterable.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/is-null-or-undefined.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js"),a=r("./node_modules/core-js/internals/iterators.js"),l=o("iterator"),u=Object;e.exports=function(e){if(i(e))return!1;var t=u(e);return void 0!==t[l]||"@@iterator"in t||s(a,n(t))}},
vendor: 123 bytes, line 1
1"./node_modules/core-js/internals/is-null-or-undefined.js":function(e){"use strict";e.exports=function(e){return null==e}},
vendor: 199 bytes, line 1
1"./node_modules/core-js/internals/is-object.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},
vendor: 192 bytes, line 1
1"./node_modules/core-js/internals/is-possible-prototype.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-object.js");e.exports=function(e){return n(e)||null===e}},
vendor: 85 bytes, line 1
1"./node_modules/core-js/internals/is-pure.js":function(e){"use strict";e.exports=!1},
vendor: 281 bytes, line 1
1"./node_modules/core-js/internals/is-raw-json.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-object.js"),s=r("./node_modules/core-js/internals/internal-state.js").get;e.exports=function(e){if(!n(e))return!1;var t=s(e);return!!t&&"RawJSON"===t.type}},
vendor: 342 bytes, line 1
1"./node_modules/core-js/internals/is-regexp.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-object.js"),s=r("./node_modules/core-js/internals/classof-raw.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===s(e))}},
vendor: 443 bytes, line 1
1"./node_modules/core-js/internals/is-symbol.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/get-built-in.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/object-is-prototype-of.js"),o=r("./node_modules/core-js/internals/use-symbol-as-uid.js"),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,a(e))}},
vendor: 263 bytes, line 1
1"./node_modules/core-js/internals/iterate-simple.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js");e.exports=function(e,t,r){for(var s,i,o=r?e:e.iterator,a=e.next;!(s=n(a,o)).done;)if(void 0!==(i=t(s.value)))return i}},
vendor: 1,358 bytes, line 1
1"./node_modules/core-js/internals/iterate.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-bind-context.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/an-object.js"),o=r("./node_modules/core-js/internals/try-to-string.js"),a=r("./node_modules/core-js/internals/is-array-iterator-method.js"),l=r("./node_modules/core-js/internals/length-of-array-like.js"),u=r("./node_modules/core-js/internals/object-is-prototype-of.js"),c=r("./node_modules/core-js/internals/get-iterator.js"),h=r("./node_modules/core-js/internals/get-iterator-method.js"),d=r("./node_modules/core-js/internals/iterator-close.js"),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,r){var g,v,y,b,_,j,w,x=r&&r.that,A=!!(r&&r.AS_ENTRIES),S=!!(r&&r.IS_RECORD),N=!!(r&&r.IS_ITERATOR),L=!!(r&&r.INTERRUPTED),k=n(t,x),P=function(e){return g&&d(g,"normal"),new p(!0,e)},C=function(e){return A?(i(e),L?k(e[0],e[1],P):k(e[0],e[1])):L?k(e,P):k(e)};if(S)g=e.iterator;else if(N)g=e;else{if(!(v=h(e)))throw new f(o(e)+" is not iterable");if(a(v)){for(y=0,b=l(e);b>y;y++)if((_=C(e[y]))&&u(m,_))return _;return new p(!1)}g=c(e,v)}for(j=S?e.next:g.next;!(w=s(j,g)).done;){try{_=C(w.value)}catch(e){d(g,"throw",e)}if("object"==typeof _&&_&&u(m,_))return _}return new p(!1)}},
vendor: 305 bytes, line 1
1"./node_modules/core-js/internals/iterator-close-all.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,r){for(var s=e.length-1;s>=0;s--)if(void 0!==e[s])try{r=n(e[s].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},
vendor: 427 bytes, line 1
1"./node_modules/core-js/internals/iterator-close.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/get-method.js");e.exports=function(e,t,r){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return s(o),r}},
vendor: 554 bytes, line 1
1"./node_modules/core-js/internals/iterator-create-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=r("./node_modules/core-js/internals/object-create.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js"),o=r("./node_modules/core-js/internals/set-to-string-tag.js"),a=r("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,c,!1,!0),a[c]=l,e}},
vendor: 1,626 bytes, line 1
1"./node_modules/core-js/internals/iterator-create-proxy.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/object-create.js"),i=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=r("./node_modules/core-js/internals/define-built-ins.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js"),l=r("./node_modules/core-js/internals/internal-state.js"),u=r("./node_modules/core-js/internals/get-method.js"),c=r("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,h=r("./node_modules/core-js/internals/create-iter-result-object.js"),d=r("./node_modules/core-js/internals/iterator-close.js"),f=r("./node_modules/core-js/internals/iterator-close-all.js"),p=a("toStringTag"),m="IteratorHelper",g="WrapForValidIterator",v="normal",y="throw",b=l.set,_=function(e){var t=l.getterFor(e?g:m);return o(s(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return h(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:h(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),s=r.iterator;if(r.done=!0,e){var i=u(s,"return");return i?n(i,s):h(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(s,y,e)}if(r.openIters)try{f(r.openIters,v)}catch(e){return d(s,y,e)}return s&&d(s,v),h(void 0,!0)}})},j=_(!0),w=_(!1);i(w,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,s){s?(s.iterator=n.iterator,s.next=n.next):s=n,s.type=t?g:m,s.returnHandlerResult=!!r,s.nextHandler=e,s.counter=0,s.done=!1,b(this,s)};return n.prototype=t?j:w,n}},
vendor: 1,811 bytes, line 1
1"./node_modules/core-js/internals/iterator-define.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/is-pure.js"),o=r("./node_modules/core-js/internals/function-name.js"),a=r("./node_modules/core-js/internals/is-callable.js"),l=r("./node_modules/core-js/internals/iterator-create-constructor.js"),u=r("./node_modules/core-js/internals/object-get-prototype-of.js"),c=r("./node_modules/core-js/internals/object-set-prototype-of.js"),h=r("./node_modules/core-js/internals/set-to-string-tag.js"),d=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),f=r("./node_modules/core-js/internals/define-built-in.js"),p=r("./node_modules/core-js/internals/well-known-symbol.js"),m=r("./node_modules/core-js/internals/iterators.js"),g=r("./node_modules/core-js/internals/iterators-core.js"),v=o.PROPER,y=o.CONFIGURABLE,b=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,j=p("iterator"),w="keys",x="values",A="entries",S=function(){return this};e.exports=function(e,t,r,o,p,g,N){l(r,t,o);var L,k,P,C=function(e){if(e===p&&M)return M;if(!_&&e&&e in T)return T[e];switch(e){case w:case x:case A:return function(){return new r(this,e)}}return function(){return new r(this)}},E=t+" Iterator",O=!1,T=e.prototype,I=T[j]||T["@@iterator"]||p&&T[p],M=!_&&I||C(p),R="Array"===t&&T.entries||I;if(R&&(L=u(R.call(new e)))!==Object.prototype&&L.next&&(!i&&u(L)!==b&&(c?c(L,b):a(L[j])||f(L,j,S)),h(L,E,!0,!0),i&&(m[E]=S)),v&&p===x&&I&&I.name!==x&&(!i&&y?d(T,"name",x):(O=!0,M=function(){return s(I,this)})),p)if(k={values:C(x),keys:g?M:C(w),entries:C(A)},N)for(P in k)!_&&!O&&P in T||f(T,P,k[P]);else n({target:t,proto:!0,forced:_||O},k);return(!i||N)&&T[j]!==M&&f(T,j,M,{name:p}),m[t]=M,k}},
vendor: 246 bytes, line 1
1"./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js":function(e){"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},
vendor: 374 bytes, line 1
1"./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js");e.exports=function(e,t){var r=n.Iterator,s=r&&r.prototype,i=s&&s[e],o=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return i}},
vendor: 811 bytes, line 1
1"./node_modules/core-js/internals/iterators-core.js":function(e,t,r){"use strict";var n,s,i,o=r("./node_modules/core-js/internals/fails.js"),a=r("./node_modules/core-js/internals/is-callable.js"),l=r("./node_modules/core-js/internals/is-object.js"),u=r("./node_modules/core-js/internals/object-create.js"),c=r("./node_modules/core-js/internals/object-get-prototype-of.js"),h=r("./node_modules/core-js/internals/define-built-in.js"),d=r("./node_modules/core-js/internals/well-known-symbol.js"),f=r("./node_modules/core-js/internals/is-pure.js"),p=d("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(s=c(c(i)))!==Object.prototype&&(n=s):m=!0),!l(n)||o(function(){var e={};return n[p].call(e)!==e})?n={}:f&&(n=u(n)),a(n[p])||h(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},
vendor: 87 bytes, line 1
1"./node_modules/core-js/internals/iterators.js":function(e){"use strict";e.exports={}},
vendor: 188 bytes, line 1
1"./node_modules/core-js/internals/length-of-array-like.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-length.js");e.exports=function(e){return n(e.length)}},
vendor: 1,354 bytes, line 1
1"./node_modules/core-js/internals/make-built-in.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/is-callable.js"),o=r("./node_modules/core-js/internals/has-own-property.js"),a=r("./node_modules/core-js/internals/descriptors.js"),l=r("./node_modules/core-js/internals/function-name.js").CONFIGURABLE,u=r("./node_modules/core-js/internals/inspect-source.js"),c=r("./node_modules/core-js/internals/internal-state.js"),h=c.enforce,d=c.get,f=String,p=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),y=a&&!s(function(){return 8!==p(function(){},"length",{value:8}).length}),b=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);return o(n,"source")||(n.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&d(this).source||u(this)},"toString")},
vendor: 167 bytes, line 1
1"./node_modules/core-js/internals/math-trunc.js":function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},
vendor: 1,184 bytes, line 1
1"./node_modules/core-js/internals/microtask.js":function(e,t,r){"use strict";var n,s,i,o,a,l=r("./node_modules/core-js/internals/global-this.js"),u=r("./node_modules/core-js/internals/safe-get-built-in.js"),c=r("./node_modules/core-js/internals/function-bind-context.js"),h=r("./node_modules/core-js/internals/task.js").set,d=r("./node_modules/core-js/internals/queue.js"),f=r("./node_modules/core-js/internals/environment-is-ios.js"),p=r("./node_modules/core-js/internals/environment-is-ios-pebble.js"),m=r("./node_modules/core-js/internals/environment-is-webos-webkit.js"),g=r("./node_modules/core-js/internals/environment-is-node.js"),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,_=l.Promise,j=u("queueMicrotask");if(!j){var w=new d,x=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=w.get();)try{t()}catch(e){throw w.head&&n(),e}e&&e.enter()};f||g||m||!v||!y?!p&&_&&_.resolve?((o=_.resolve(void 0)).constructor=_,a=c(o.then,o),n=function(){a(x)}):g?n=function(){b.nextTick(x)}:(h=c(h,l),n=function(){h(x)}):(s=!0,i=y.createTextNode(""),new v(x).observe(i,{characterData:!0}),n=function(){i.data=s=!s}),j=function(e){w.head||n(),w.add(e)}}e.exports=j},
vendor: 246 bytes, line 1
1"./node_modules/core-js/internals/native-raw-json.js":function(e,t,r){"use strict";e.exports=!r("./node_modules/core-js/internals/fails.js")(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},
vendor: 368 bytes, line 1
1"./node_modules/core-js/internals/new-promise-capability.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-callable.js"),s=TypeError,i=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new s("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},
vendor: 251 bytes, line 1
1"./node_modules/core-js/internals/not-a-regexp.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-regexp.js"),s=TypeError;e.exports=function(e){if(n(e))throw new s("The method doesn't accept regular expressions");return e}},
vendor: 1,180 bytes, line 1
1"./node_modules/core-js/internals/object-assign.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/function-call.js"),o=r("./node_modules/core-js/internals/fails.js"),a=r("./node_modules/core-js/internals/object-keys.js"),l=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),c=r("./node_modules/core-js/internals/to-object.js"),h=r("./node_modules/core-js/internals/indexed-object.js"),d=Object.assign,f=Object.defineProperty,p=s([].concat);e.exports=!d||o(function(){if(n&&1!==d({b:1},d(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),s="abcdefghijklmnopqrst";return e[r]=7,s.split("").forEach(function(e){t[e]=e}),7!==d({},e)[r]||a(d({},t)).join("")!==s})?function(e,t){for(var r=c(e),s=arguments.length,o=1,d=l.f,f=u.f;s>o;)for(var m,g=h(arguments[o++]),v=d?p(a(g),d(g)):a(g),y=v.length,b=0;y>b;)m=v[b++],(!n||i(f,g,m))&&(r[m]=g[m]);return r}:d},
vendor: 1,176 bytes, line 1
1"./node_modules/core-js/internals/object-create.js":function(e,t,r){"use strict";var n,s=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/object-define-properties.js"),o=r("./node_modules/core-js/internals/enum-bug-keys.js"),a=r("./node_modules/core-js/internals/hidden-keys.js"),l=r("./node_modules/core-js/internals/html.js"),u=r("./node_modules/core-js/internals/document-create-element.js"),c=r("./node_modules/core-js/internals/shared-key.js"),h="prototype",d="script",f=c("IE_PROTO"),p=function(){},m=function(e){return"<"+d+">"+e+"</"+d+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+d+":"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}y="undefined"!=typeof document?document.domain&&n?g(n):v():g(n);for(var e=o.length;e--;)delete y[h][o[e]];return y()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[h]=s(e),r=new p,p[h]=null,r[f]=e):r=y(),void 0===t?r:i.f(r,t)}},
vendor: 582 bytes, line 1
1"./node_modules/core-js/internals/object-define-properties.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/v8-prototype-define-bug.js"),i=r("./node_modules/core-js/internals/object-define-property.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/to-indexed-object.js"),l=r("./node_modules/core-js/internals/object-keys.js");t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=l(t),u=s.length,c=0;u>c;)i.f(e,r=s[c++],n[r]);return e}},
vendor: 911 bytes, line 1
1"./node_modules/core-js/internals/object-define-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/ie8-dom-define.js"),i=r("./node_modules/core-js/internals/v8-prototype-define-bug.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/to-property-key.js"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";t.f=n?i?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=c(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:h in r?r[h]:n[h],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=a(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},
vendor: 741 bytes, line 1
1"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),o=r("./node_modules/core-js/internals/create-property-descriptor.js"),a=r("./node_modules/core-js/internals/to-indexed-object.js"),l=r("./node_modules/core-js/internals/to-property-key.js"),u=r("./node_modules/core-js/internals/has-own-property.js"),c=r("./node_modules/core-js/internals/ie8-dom-define.js"),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=a(e),t=l(t),c)try{return h(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},
vendor: 574 bytes, line 1
1"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof-raw.js"),s=r("./node_modules/core-js/internals/to-indexed-object.js"),i=r("./node_modules/core-js/internals/object-get-own-property-names.js").f,o=r("./node_modules/core-js/internals/array-slice.js"),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return i(e)}catch(e){return o(a)}};e.exports.f=function(e){return a&&"Window"===n(e)?l(e):i(s(e))}},
vendor: 311 bytes, line 1
1"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/object-keys-internal.js"),s=r("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},
vendor: 131 bytes, line 1
1"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},
vendor: 582 bytes, line 1
1"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/has-own-property.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/to-object.js"),o=r("./node_modules/core-js/internals/shared-key.js"),a=r("./node_modules/core-js/internals/correct-prototype-getter.js"),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(n(t,l))return t[l];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},
vendor: 444 bytes, line 1
1"./node_modules/core-js/internals/object-is-extensible.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/classof-raw.js"),o=r("./node_modules/core-js/internals/array-buffer-non-extensible.js"),a=Object.isExtensible;e.exports=n(function(){a(1)})||o?function(e){return!!s(e)&&(!o||"ArrayBuffer"!==i(e))&&(!a||a(e))}:a},
vendor: 182 bytes, line 1
1"./node_modules/core-js/internals/object-is-prototype-of.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/function-uncurry-this.js")({}.isPrototypeOf)},
vendor: 554 bytes, line 1
1"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/to-indexed-object.js"),o=r("./node_modules/core-js/internals/array-includes.js").indexOf,a=r("./node_modules/core-js/internals/hidden-keys.js"),l=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,c=[];for(r in n)!s(a,r)&&s(n,r)&&l(c,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},
vendor: 255 bytes, line 1
1"./node_modules/core-js/internals/object-keys.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/object-keys-internal.js"),s=r("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return n(e,s)}},
vendor: 239 bytes, line 1
1"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},
vendor: 598 bytes, line 1
1"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this-accessor.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/require-object-coercible.js"),o=r("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),s(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},
vendor: 272 bytes, line 1
1"./node_modules/core-js/internals/object-to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),s=r("./node_modules/core-js/internals/classof.js");e.exports=n?({}).toString:function(){return"[object "+s(this)+"]"}},
vendor: 490 bytes, line 1
1"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/is-object.js"),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!i(a=n(r,e))||s(r=e.valueOf)&&!i(a=n(r,e))||"string"!==t&&s(r=e.toString)&&!i(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},
vendor: 508 bytes, line 1
1"./node_modules/core-js/internals/own-keys.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/get-built-in.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/object-get-own-property-names.js"),o=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=r("./node_modules/core-js/internals/an-object.js"),l=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?l(t,r(e)):t}},
vendor: 908 bytes, line 1
1"./node_modules/core-js/internals/parse-json-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=SyntaxError,o=parseInt,a=String.fromCharCode,l=n("".charAt),u=n("".slice),c=n(/./.exec),h={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":" "},d=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t<e.length;){var p=l(e,t);if("\\"===p){var m=u(e,t,t+2);if(s(h,m))n+=h[m],t+=2;else if("\\u"===m){var g=u(e,t+=2,t+4);if(!c(d,g))throw new i("Bad Unicode escape at: "+t);n+=a(o(g,16)),t+=4}else throw new i('Unknown escape sequence: "'+m+'"')}else if('"'===p){r=!1,t++;break}else{if(c(f,p))throw new i("Bad control character in string literal at: "+t);n+=p,t++}}if(r)throw new i("Unterminated string at: "+t);return{value:n,end:t}}},
vendor: 136 bytes, line 1
1"./node_modules/core-js/internals/path.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/global-this.js")},
vendor: 161 bytes, line 1
1"./node_modules/core-js/internals/perform.js":function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},
vendor: 1,077 bytes, line 1
1"./node_modules/core-js/internals/promise-constructor-detection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/promise-native-constructor.js"),i=r("./node_modules/core-js/internals/is-callable.js"),o=r("./node_modules/core-js/internals/is-forced.js"),a=r("./node_modules/core-js/internals/inspect-source.js"),l=r("./node_modules/core-js/internals/well-known-symbol.js"),u=r("./node_modules/core-js/internals/environment.js"),c=r("./node_modules/core-js/internals/is-pure.js"),h=r("./node_modules/core-js/internals/environment-v8-version.js"),d=s&&s.prototype,f=l("species"),p=!1,m=i(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:o("Promise",function(){var e=a(s),t=e!==String(s);if(!t&&66===h||c&&!(d.catch&&d.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new s(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[f]=n,!(p=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===u||"DENO"===u)&&!m}),REJECTION_EVENT:m,SUBCLASSING:p}},
vendor: 166 bytes, line 1
1"./node_modules/core-js/internals/promise-native-constructor.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/global-this.js").Promise},
vendor: 372 bytes, line 1
1"./node_modules/core-js/internals/promise-resolve.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/an-object.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/new-promise-capability.js");e.exports=function(e,t){if(n(e),s(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},
vendor: 398 bytes, line 1
1"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/promise-native-constructor.js"),s=r("./node_modules/core-js/internals/check-correctness-of-iteration.js");e.exports=r("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR||!s(function(e){n.all(e).then(void 0,function(){})})},
vendor: 328 bytes, line 1
1"./node_modules/core-js/internals/queue.js":function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},
vendor: 560 bytes, line 1
1"./node_modules/core-js/internals/regexp-exec-abstract.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/is-callable.js"),o=r("./node_modules/core-js/internals/classof-raw.js"),a=r("./node_modules/core-js/internals/regexp-exec.js"),l=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var u=n(r,e,t);return null!==u&&s(u),u}if("RegExp"===o(e))return n(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},
vendor: 1,819 bytes, line 1
1"./node_modules/core-js/internals/regexp-exec.js":function(e,t,r){"use strict";var n,s,i=r("./node_modules/core-js/internals/function-call.js"),o=r("./node_modules/core-js/internals/function-uncurry-this.js"),a=r("./node_modules/core-js/internals/to-string.js"),l=r("./node_modules/core-js/internals/regexp-flags.js"),u=r("./node_modules/core-js/internals/regexp-sticky-helpers.js"),c=r("./node_modules/core-js/internals/shared.js"),h=r("./node_modules/core-js/internals/object-create.js"),d=r("./node_modules/core-js/internals/internal-state.js").get,f=r("./node_modules/core-js/internals/regexp-unsupported-dot-all.js"),p=r("./node_modules/core-js/internals/regexp-unsupported-ncg.js"),m=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=o("".charAt),b=o("".indexOf),_=o("".replace),j=o("".slice),w=(s=/b*/g,i(g,n=/a/,"a"),i(g,s,"a"),0!==n.lastIndex||0!==s.lastIndex),x=u.BROKEN_CARET,A=void 0!==/()??/.exec("")[1];(w||A||x||f||p)&&(v=function(e){var t,r,n,s,o,u,c,f=d(this),p=a(e),S=f.raw;if(S)return S.lastIndex=this.lastIndex,t=i(v,S,p),this.lastIndex=S.lastIndex,t;var N=f.groups,L=x&&this.sticky,k=i(l,this),P=this.source,C=0,E=p;if(L&&(-1===b(k=_(k,"y",""),"g")&&(k+="g"),E=j(p,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==y(p,this.lastIndex-1))&&(P="(?: "+P+")",E=" "+E,C++),r=RegExp("^(?:"+P+")",k)),A&&(r=RegExp("^"+P+"$(?!\\s)",k)),w&&(n=this.lastIndex),s=i(g,L?r:this,E),L?s?(s.input=j(s.input,C),s[0]=j(s[0],C),s.index=this.lastIndex,this.lastIndex+=s[0].length):this.lastIndex=0:w&&s&&(this.lastIndex=this.global?s.index+s[0].length:n),A&&s&&s.length>1&&i(m,s[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(s[o]=void 0)}),s&&N)for(o=0,s.groups=u=h(null);o<N.length;o++)u[(c=N[o])[0]]=s[c[1]];return s}),e.exports=v},
vendor: 592 bytes, line 1
1"./node_modules/core-js/internals/regexp-flags-detection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/fails.js"),i=n.RegExp;e.exports={correct:!s(function(){var e=!0;try{i(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",s=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)s(a,o[a]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(t)!==n||r!==n})}},
vendor: 357 bytes, line 1
1"./node_modules/core-js/internals/regexp-flags.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},
vendor: 529 bytes, line 1
1"./node_modules/core-js/internals/regexp-get-flags.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/object-is-prototype-of.js"),o=r("./node_modules/core-js/internals/regexp-flags-detection.js"),a=r("./node_modules/core-js/internals/regexp-flags.js"),l=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return!o.correct&&i(l,e)&&!s(e,"flags")?n(a,e):e.flags}},
vendor: 463 bytes, line 1
1"./node_modules/core-js/internals/regexp-sticky-helpers.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/global-this.js").RegExp,i=n(function(){var e=s("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=i||n(function(){return!s("a","y").sticky});e.exports={BROKEN_CARET:i||n(function(){var e=s("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:o,UNSUPPORTED_Y:i}},
vendor: 299 bytes, line 1
1"./node_modules/core-js/internals/regexp-unsupported-dot-all.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=n(function(){var e=s(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},
vendor: 318 bytes, line 1
1"./node_modules/core-js/internals/regexp-unsupported-ncg.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=n(function(){var e=s("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},
vendor: 252 bytes, line 1
1"./node_modules/core-js/internals/require-object-coercible.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-null-or-undefined.js"),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},
vendor: 306 bytes, line 1
1"./node_modules/core-js/internals/safe-get-built-in.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/descriptors.js"),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!s)return n[e];var t=i(n,e);return t&&t.value}},
vendor: 814 bytes, line 1
1"./node_modules/core-js/internals/schedulers-fix.js":function(e,t,r){"use strict";var n,s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/function-apply.js"),o=r("./node_modules/core-js/internals/is-callable.js"),a=r("./node_modules/core-js/internals/environment.js"),l=r("./node_modules/core-js/internals/environment-user-agent.js"),u=r("./node_modules/core-js/internals/array-slice.js"),c=r("./node_modules/core-js/internals/validate-arguments-length.js"),h=s.Function,d=/MSIE .\./.test(l)||"BUN"===a&&((n=s.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return d?function(n,s){var a=c(arguments.length,1)>r,l=o(n)?n:h(n),d=a?u(arguments,r):[],f=a?function(){i(l,this,d)}:l;return t?e(f,s):e(f)}:e}},
vendor: 277 bytes, line 1
1"./node_modules/core-js/internals/set-clone.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/set-helpers.js"),s=r("./node_modules/core-js/internals/set-iterate.js"),i=n.Set,o=n.add;e.exports=function(e){var t=new i;return s(e,function(e){o(t,e)}),t}},
vendor: 646 bytes, line 1
1"./node_modules/core-js/internals/set-difference.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js"),i=r("./node_modules/core-js/internals/set-clone.js"),o=r("./node_modules/core-js/internals/set-size.js"),a=r("./node_modules/core-js/internals/get-set-record.js"),l=r("./node_modules/core-js/internals/set-iterate.js"),u=r("./node_modules/core-js/internals/iterate-simple.js"),c=s.has,h=s.remove;e.exports=function(e){var t=n(this),r=a(e),s=i(t);return o(t)<=r.size?l(t,function(e){r.includes(e)&&h(s,e)}):u(r.getIterator(),function(e){c(s,e)&&h(s,e)}),s}},
vendor: 238 bytes, line 1
1"./node_modules/core-js/internals/set-helpers.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=Set.prototype;e.exports={Set:Set,add:n(s.add),has:n(s.has),remove:n(s.delete),proto:s}},
vendor: 600 bytes, line 1
1"./node_modules/core-js/internals/set-intersection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js"),i=r("./node_modules/core-js/internals/set-size.js"),o=r("./node_modules/core-js/internals/get-set-record.js"),a=r("./node_modules/core-js/internals/set-iterate.js"),l=r("./node_modules/core-js/internals/iterate-simple.js"),u=s.Set,c=s.add,h=s.has;e.exports=function(e){var t=n(this),r=o(e),s=new u;return i(t)>r.size?l(r.getIterator(),function(e){h(t,e)&&c(s,e)}):a(t,function(e){r.includes(e)&&c(s,e)}),s}},
vendor: 685 bytes, line 1
1"./node_modules/core-js/internals/set-is-disjoint-from.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js").has,i=r("./node_modules/core-js/internals/set-size.js"),o=r("./node_modules/core-js/internals/get-set-record.js"),a=r("./node_modules/core-js/internals/set-iterate.js"),l=r("./node_modules/core-js/internals/iterate-simple.js"),u=r("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=n(this),r=o(e);if(i(t)<=r.size)return!1!==a(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==l(c,function(e){if(s(t,e))return u(c,"normal",!1)})}},
vendor: 422 bytes, line 1
1"./node_modules/core-js/internals/set-is-subset-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-size.js"),i=r("./node_modules/core-js/internals/set-iterate.js"),o=r("./node_modules/core-js/internals/get-set-record.js");e.exports=function(e){var t=n(this),r=o(e);return!(s(t)>r.size)&&!1!==i(t,function(e){if(!r.includes(e))return!1},!0)}},
vendor: 579 bytes, line 1
1"./node_modules/core-js/internals/set-is-superset-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js").has,i=r("./node_modules/core-js/internals/set-size.js"),o=r("./node_modules/core-js/internals/get-set-record.js"),a=r("./node_modules/core-js/internals/iterate-simple.js"),l=r("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=n(this),r=o(e);if(i(t)<r.size)return!1;var u=r.getIterator();return!1!==a(u,function(e){if(!s(t,e))return l(u,"normal",!1)})}},
vendor: 394 bytes, line 1
1"./node_modules/core-js/internals/set-iterate.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/iterate-simple.js"),i=r("./node_modules/core-js/internals/set-helpers.js"),o=i.Set,a=i.proto,l=n(a.forEach),u=n(a.keys),c=u(new o).next;e.exports=function(e,t,r){return r?s({iterator:u(e),next:c},t):l(e,t)}},
vendor: 260 bytes, line 1
1"./node_modules/core-js/internals/set-size.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/function-uncurry-this-accessor.js")(r("./node_modules/core-js/internals/set-helpers.js").proto,"size","get")||function(e){return e.size}},
vendor: 439 bytes, line 1
1"./node_modules/core-js/internals/set-species.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/get-built-in.js"),s=r("./node_modules/core-js/internals/define-built-in-accessor.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js"),o=r("./node_modules/core-js/internals/descriptors.js"),a=i("species");e.exports=function(e){var t=n(e);o&&t&&!t[a]&&s(t,a,{configurable:!0,get:function(){return this}})}},
vendor: 510 bytes, line 1
1"./node_modules/core-js/internals/set-symmetric-difference.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js"),i=r("./node_modules/core-js/internals/set-clone.js"),o=r("./node_modules/core-js/internals/get-set-record.js"),a=r("./node_modules/core-js/internals/iterate-simple.js"),l=s.add,u=s.has,c=s.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),s=i(t);return a(r,function(e){u(t,e)?c(s,e):l(s,e)}),s}},
vendor: 389 bytes, line 1
1"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/object-define-property.js").f,s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!s(e,i)&&n(e,i,{configurable:!0,value:t})}},
vendor: 458 bytes, line 1
1"./node_modules/core-js/internals/set-union.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/a-set.js"),s=r("./node_modules/core-js/internals/set-helpers.js").add,i=r("./node_modules/core-js/internals/set-clone.js"),o=r("./node_modules/core-js/internals/get-set-record.js"),a=r("./node_modules/core-js/internals/iterate-simple.js");e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=i(t);return a(r,function(e){s(l,e)}),l}},
vendor: 240 bytes, line 1
1"./node_modules/core-js/internals/shared-key.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/shared.js"),s=r("./node_modules/core-js/internals/uid.js"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},
vendor: 587 bytes, line 1
1"./node_modules/core-js/internals/shared-store.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/is-pure.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/define-global-property.js"),o="__core-js_shared__",a=e.exports=s[o]||i(o,{});(a.versions||(a.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},
vendor: 186 bytes, line 1
1"./node_modules/core-js/internals/shared.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/shared-store.js");e.exports=function(e,t){return n[e]||(n[e]=t||{})}},
vendor: 427 bytes, line 1
1"./node_modules/core-js/internals/species-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/an-object.js"),s=r("./node_modules/core-js/internals/a-constructor.js"),i=r("./node_modules/core-js/internals/is-null-or-undefined.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||i(r=n(a)[o])?t:s(r)}},
vendor: 252 bytes, line 1
1"./node_modules/core-js/internals/string-html-forced.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js");e.exports=function(e){return n(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},
vendor: 647 bytes, line 1
1"./node_modules/core-js/internals/string-multibyte.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/to-integer-or-infinity.js"),i=r("./node_modules/core-js/internals/to-string.js"),o=r("./node_modules/core-js/internals/require-object-coercible.js"),a=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,h=i(o(t)),d=s(r),f=h.length;return d<0||d>=f?e?"":void 0:(n=l(h,d))<55296||n>56319||d+1===f||(c=l(h,d+1))<56320||c>57343?e?a(h,d):n:e?u(h,d,d+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},
vendor: 364 bytes, line 1
1"./node_modules/core-js/internals/string-trim-forced.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-name.js").PROPER,s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/whitespaces.js"),o="â\x85á ";e.exports=function(e){return s(function(){return!!i[e]()||o[e]()!==o||n&&i[e].name!==e})}},
vendor: 537 bytes, line 1
1"./node_modules/core-js/internals/string-trim.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=r("./node_modules/core-js/internals/require-object-coercible.js"),i=r("./node_modules/core-js/internals/to-string.js"),o=r("./node_modules/core-js/internals/whitespaces.js"),a=n("".replace),l=RegExp("^["+o+"]+"),u=RegExp("(^|[^"+o+"])["+o+"]+$"),c=function(e){return function(t){var r=i(s(t));return 1&e&&(r=a(r,l,"")),2&e&&(r=a(r,u,"$1")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},
vendor: 435 bytes, line 1
1"./node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/environment-v8-version.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!s(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},
vendor: 480 bytes, line 1
1"./node_modules/core-js/internals/symbol-define-to-primitive.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/get-built-in.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js"),o=r("./node_modules/core-js/internals/define-built-in.js");e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,function(e){return n(r,this)},{arity:1})}},
vendor: 205 bytes, line 1
1"./node_modules/core-js/internals/symbol-registry-detection.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/symbol-constructor-detection.js")&&!!Symbol.for&&!!Symbol.keyFor},
vendor: 1,711 bytes, line 1
1"./node_modules/core-js/internals/task.js":function(e,t,r){"use strict";var n,s,i,o,a=r("./node_modules/core-js/internals/global-this.js"),l=r("./node_modules/core-js/internals/function-apply.js"),u=r("./node_modules/core-js/internals/function-bind-context.js"),c=r("./node_modules/core-js/internals/is-callable.js"),h=r("./node_modules/core-js/internals/has-own-property.js"),d=r("./node_modules/core-js/internals/fails.js"),f=r("./node_modules/core-js/internals/html.js"),p=r("./node_modules/core-js/internals/array-slice.js"),m=r("./node_modules/core-js/internals/document-create-element.js"),g=r("./node_modules/core-js/internals/validate-arguments-length.js"),v=r("./node_modules/core-js/internals/environment-is-ios.js"),y=r("./node_modules/core-js/internals/environment-is-node.js"),b=a.setImmediate,_=a.clearImmediate,j=a.process,w=a.Dispatch,x=a.Function,A=a.MessageChannel,S=a.String,N=0,L={},k="onreadystatechange";d(function(){n=a.location});var P=function(e){if(h(L,e)){var t=L[e];delete L[e],t()}},C=function(e){return function(){P(e)}},E=function(e){P(e.data)},O=function(e){a.postMessage(S(e),n.protocol+"//"+n.host)};b&&_||(b=function(e){g(arguments.length,1);var t=c(e)?e:x(e),r=p(arguments,1);return L[++N]=function(){l(t,void 0,r)},s(N),N},_=function(e){delete L[e]},y?s=function(e){j.nextTick(C(e))}:w&&w.now?s=function(e){w.now(C(e))}:A&&!v?(o=(i=new A).port2,i.port1.onmessage=E,s=u(o.postMessage,o)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(O)?(s=O,a.addEventListener("message",E,!1)):s=k in m("script")?function(e){f.appendChild(m("script"))[k]=function(){f.removeChild(this),P(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:_}},
vendor: 172 bytes, line 1
1"./node_modules/core-js/internals/this-number-value.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/function-uncurry-this.js")(1.1.valueOf)},
vendor: 241 bytes, line 1
1"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-integer-or-infinity.js"),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},
vendor: 254 bytes, line 1
1"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/indexed-object.js"),s=r("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return n(s(e))}},
vendor: 207 bytes, line 1
1"./node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},
vendor: 228 bytes, line 1
1"./node_modules/core-js/internals/to-length.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-integer-or-infinity.js"),s=Math.min;e.exports=function(e){var t=n(e);return t>0?s(t,0x1fffffffffffff):0}},
vendor: 197 bytes, line 1
1"./node_modules/core-js/internals/to-object.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/require-object-coercible.js"),s=Object;e.exports=function(e){return s(n(e))}},
vendor: 682 bytes, line 1
1"./node_modules/core-js/internals/to-primitive.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/is-symbol.js"),o=r("./node_modules/core-js/internals/get-method.js"),a=r("./node_modules/core-js/internals/ordinary-to-primitive.js"),l=r("./node_modules/core-js/internals/well-known-symbol.js"),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),!s(r=n(l,e,t))||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},
vendor: 259 bytes, line 1
1"./node_modules/core-js/internals/to-property-key.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-primitive.js"),s=r("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},
vendor: 413 bytes, line 1
1"./node_modules/core-js/internals/to-set-like.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/get-built-in.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=r("./node_modules/core-js/internals/is-iterable.js"),o=r("./node_modules/core-js/internals/is-object.js"),a=n("Set");e.exports=function(e){return o(e)&&"number"==typeof e.size&&s(e.has)&&s(e.keys)?e:i(e)?new a(e):e}},
vendor: 219 bytes, line 1
1"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),s={};s[n]="z",e.exports="[object z]"===String(s)},
vendor: 257 bytes, line 1
1"./node_modules/core-js/internals/to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/classof.js"),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},
vendor: 155 bytes, line 1
1"./node_modules/core-js/internals/try-to-string.js":function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},
vendor: 253 bytes, line 1
1"./node_modules/core-js/internals/uid.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-uncurry-this.js"),s=0,i=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},
vendor: 214 bytes, line 1
1"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,r){"use strict";e.exports=r("./node_modules/core-js/internals/symbol-constructor-detection.js")&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},
vendor: 321 bytes, line 1
1"./node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/fails.js");e.exports=n&&s(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},
vendor: 183 bytes, line 1
1"./node_modules/core-js/internals/validate-arguments-length.js":function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},
vendor: 265 bytes, line 1
1"./node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/is-callable.js"),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},
vendor: 425 bytes, line 1
1"./node_modules/core-js/internals/well-known-symbol-define.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/path.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),o=r("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},
vendor: 157 bytes, line 1
1"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,r){"use strict";t.f=r("./node_modules/core-js/internals/well-known-symbol.js")},
vendor: 572 bytes, line 1
1"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/shared.js"),i=r("./node_modules/core-js/internals/has-own-property.js"),o=r("./node_modules/core-js/internals/uid.js"),a=r("./node_modules/core-js/internals/symbol-constructor-detection.js"),l=r("./node_modules/core-js/internals/use-symbol-as-uid.js"),u=n.Symbol,c=s("wks"),h=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(c,e)||(c[e]=a&&i(u,e)?u[e]:h("Symbol."+e)),c[e]}},
vendor: 166 bytes, line 1
1"./node_modules/core-js/internals/whitespaces.js":function(e){"use strict";e.exports=" \n\v\f\r \xa0áââââââ
ââââââ¯âã\u2028\u2029\uFEFF"},
vendor: 1,254 bytes, line 1
1"./node_modules/core-js/modules/es.array.concat.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/is-array.js"),o=r("./node_modules/core-js/internals/is-object.js"),a=r("./node_modules/core-js/internals/to-object.js"),l=r("./node_modules/core-js/internals/length-of-array-like.js"),u=r("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),c=r("./node_modules/core-js/internals/create-property.js"),h=r("./node_modules/core-js/internals/array-species-create.js"),d=r("./node_modules/core-js/internals/array-method-has-species-support.js"),f=r("./node_modules/core-js/internals/well-known-symbol.js"),p=r("./node_modules/core-js/internals/environment-v8-version.js"),m=f("isConcatSpreadable"),g=p>=51||!s(function(){var e=[];return e[m]=!1,e.concat()[0]!==e}),v=function(e){if(!o(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!g||!d("concat")},{concat:function(e){var t,r,n,s,i,o=a(this),d=h(o,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?o:arguments[t],v(i))for(u(f+(s=l(i))),r=0;r<s;r++,f++)r in i&&c(d,f,i[r]);else u(f+1),c(d,f++,i);return d.length=f,d}})},
vendor: 333 bytes, line 1
1"./node_modules/core-js/modules/es.array.from.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/array-from.js");n({target:"Array",stat:!0,forced:!r("./node_modules/core-js/internals/check-correctness-of-iteration.js")(function(e){Array.from(e)})},{from:s})},
vendor: 538 bytes, line 1
1"./node_modules/core-js/modules/es.array.index-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this-clause.js"),i=r("./node_modules/core-js/internals/array-includes.js").indexOf,o=r("./node_modules/core-js/internals/array-method-is-strict.js"),a=s([].indexOf),l=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:l||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?a(this,e,t)||0:i(this,e,t)}})},
vendor: 1,092 bytes, line 1
1"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-indexed-object.js"),s=r("./node_modules/core-js/internals/add-to-unscopables.js"),i=r("./node_modules/core-js/internals/iterators.js"),o=r("./node_modules/core-js/internals/internal-state.js"),a=r("./node_modules/core-js/internals/object-define-property.js").f,l=r("./node_modules/core-js/internals/iterator-define.js"),u=r("./node_modules/core-js/internals/create-iter-result-object.js"),c=r("./node_modules/core-js/internals/is-pure.js"),h=r("./node_modules/core-js/internals/descriptors.js"),d="Array Iterator",f=o.set,p=o.getterFor(d);e.exports=l(Array,"Array",function(e,t){f(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)},"values");var m=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!c&&h&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(e){}},
vendor: 515 bytes, line 1
1"./node_modules/core-js/modules/es.array.join.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/indexed-object.js"),o=r("./node_modules/core-js/internals/to-indexed-object.js"),a=r("./node_modules/core-js/internals/array-method-is-strict.js"),l=s([].join);n({target:"Array",proto:!0,forced:i!==Object||!a("join",",")},{join:function(e){return l(o(this),void 0===e?",":e)}})},
vendor: 389 bytes, line 1
1"./node_modules/core-js/modules/es.array.map.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/array-iteration.js").map;n({target:"Array",proto:!0,forced:!r("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},
vendor: 541 bytes, line 1
1"./node_modules/core-js/modules/es.array.reduce.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/array-reduce.js").left,i=r("./node_modules/core-js/internals/array-method-is-strict.js"),o=r("./node_modules/core-js/internals/environment-v8-version.js");n({target:"Array",proto:!0,forced:!r("./node_modules/core-js/internals/environment-is-node.js")&&o>79&&o<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return s(this,e,t,t>1?arguments[1]:void 0)}})},
vendor: 418 bytes, line 1
1"./node_modules/core-js/modules/es.array.reverse.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/is-array.js"),o=s([].reverse),a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o(this)}})},
vendor: 1,126 bytes, line 1
1"./node_modules/core-js/modules/es.array.slice.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/is-array.js"),i=r("./node_modules/core-js/internals/is-constructor.js"),o=r("./node_modules/core-js/internals/is-object.js"),a=r("./node_modules/core-js/internals/to-absolute-index.js"),l=r("./node_modules/core-js/internals/length-of-array-like.js"),u=r("./node_modules/core-js/internals/to-indexed-object.js"),c=r("./node_modules/core-js/internals/create-property.js"),h=r("./node_modules/core-js/internals/well-known-symbol.js"),d=r("./node_modules/core-js/internals/array-method-has-species-support.js"),f=r("./node_modules/core-js/internals/array-slice.js"),p=d("slice"),m=h("species"),g=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,h,d=u(this),p=l(d),y=a(e,p),b=a(void 0===t?p:t,p);if(s(d)&&(i(r=d.constructor)&&(r===g||s(r.prototype))?r=void 0:o(r)&&null===(r=r[m])&&(r=void 0),r===g||void 0===r))return f(d,y,b);for(h=0,n=new(void 0===r?g:r)(v(b-y,0));y<b;y++,h++)y in d&&c(n,h,d[y]);return n.length=h,n}})},
vendor: 556 bytes, line 1
1"./node_modules/core-js/modules/es.function.name.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),s=r("./node_modules/core-js/internals/function-name.js").EXISTS,i=r("./node_modules/core-js/internals/function-uncurry-this.js"),o=r("./node_modules/core-js/internals/define-built-in-accessor.js"),a=Function.prototype,l=i(a.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=i(u.exec);n&&!s&&o(a,"name",{configurable:!0,get:function(){try{return c(u,l(this))[1]}catch(e){return""}}})},
vendor: 1,441 bytes, line 1
1"./node_modules/core-js/modules/es.iterator.constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/an-instance.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/is-callable.js"),l=r("./node_modules/core-js/internals/object-get-prototype-of.js"),u=r("./node_modules/core-js/internals/define-built-in-accessor.js"),c=r("./node_modules/core-js/internals/create-property.js"),h=r("./node_modules/core-js/internals/fails.js"),d=r("./node_modules/core-js/internals/has-own-property.js"),f=r("./node_modules/core-js/internals/well-known-symbol.js"),p=r("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,m=r("./node_modules/core-js/internals/descriptors.js"),g=r("./node_modules/core-js/internals/is-pure.js"),v="constructor",y="Iterator",b=f("toStringTag"),_=TypeError,j=s[y],w=g||!a(j)||j.prototype!==p||!h(function(){j({})}),x=function(){if(i(this,p),l(this)===p)throw new _("Abstract class Iterator not directly constructable")},A=function(e,t){m?u(p,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===p)throw new _("You can't redefine this property");d(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};d(p,b)||A(b,y),(w||!d(p,v)||p[v]===Object)&&A(v,x),x.prototype=p,n({global:!0,constructor:!0,forced:w},{Iterator:x})},
vendor: 788 bytes, line 1
1"./node_modules/core-js/modules/es.iterator.for-each.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/iterate.js"),o=r("./node_modules/core-js/internals/a-callable.js"),a=r("./node_modules/core-js/internals/an-object.js"),l=r("./node_modules/core-js/internals/get-iterator-direct.js"),u=r("./node_modules/core-js/internals/iterator-close.js"),c=r("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js")("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){a(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return s(c,this,e);var t=l(this),r=0;i(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},
vendor: 1,150 bytes, line 1
1"./node_modules/core-js/modules/es.iterator.map.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/a-callable.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/get-iterator-direct.js"),l=r("./node_modules/core-js/internals/iterator-create-proxy.js"),u=r("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),c=r("./node_modules/core-js/internals/iterator-close.js"),h=r("./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"),d=r("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"),f=r("./node_modules/core-js/internals/is-pure.js"),p=!f&&!h("map",function(){}),m=!f&&!p&&d("map",TypeError),g=f||p||m,v=l(function(){var e=this.iterator,t=o(s(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){o(this);try{i(e)}catch(e){c(this,"throw",e)}return m?s(m,this,e):new v(a(this),{mapper:e})}})},
vendor: 2,443 bytes, line 1
1"./node_modules/core-js/modules/es.json.stringify.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/get-built-in.js"),i=r("./node_modules/core-js/internals/function-apply.js"),o=r("./node_modules/core-js/internals/function-call.js"),a=r("./node_modules/core-js/internals/function-uncurry-this.js"),l=r("./node_modules/core-js/internals/fails.js"),u=r("./node_modules/core-js/internals/is-array.js"),c=r("./node_modules/core-js/internals/is-callable.js"),h=r("./node_modules/core-js/internals/is-raw-json.js"),d=r("./node_modules/core-js/internals/is-symbol.js"),f=r("./node_modules/core-js/internals/classof-raw.js"),p=r("./node_modules/core-js/internals/to-string.js"),m=r("./node_modules/core-js/internals/array-slice.js"),g=r("./node_modules/core-js/internals/parse-json-string.js"),v=r("./node_modules/core-js/internals/uid.js"),y=r("./node_modules/core-js/internals/symbol-constructor-detection.js"),b=r("./node_modules/core-js/internals/native-raw-json.js"),_=String,j=s("JSON","stringify"),w=a(/./.exec),x=a("".charAt),A=a("".charCodeAt),S=a("".replace),N=a("".slice),L=a([].push),k=a(1.1.toString),P=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,O=v(),T=O.length,I=!y||l(function(){var e=s("Symbol")("stringify detection");return"[null]"!==j([e])||"{}"!==j({a:e})||"{}"!==j(Object(e))}),M=l(function(){return'"\udf06\ud834"'!==j("\uDF06\uD834")||'"\udead"'!==j("\uDEAD")}),R=I?function(e,t){var r=m(arguments),n=D(t);if(!(!c(n)&&(void 0===e||d(e))))return r[1]=function(e,t){if(c(n)&&(t=o(n,this,_(e),t)),!d(t))return t},i(j,null,r)}:j,F=function(e,t,r){var n=x(r,t-1),s=x(r,t+1);return w(C,e)&&!w(E,s)||w(E,e)&&!w(C,n)?"\\u"+k(A(e,0),16):e},D=function(e){if(c(e))return e;if(u(e)){for(var t=e.length,r=[],n=0;n<t;n++){var s=e[n];"string"==typeof s?L(r,s):("number"==typeof s||"Number"===f(s)||"String"===f(s))&&L(r,p(s))}var i=r.length,o=!0;return function(e,t){if(o)return o=!1,t;if(u(this))return t;for(var n=0;n<i;n++)if(r[n]===e)return t}}};j&&n({target:"JSON",stat:!0,arity:3,forced:I||M||!b},{stringify:function(e,t,r){var n=D(t),s=[],i=R(e,function(e,t){var r=c(n)?o(n,this,_(e),t):t;return!b&&h(r)?O+(L(s,r.rawJSON)-1):r},r);if("string"!=typeof i||(M&&(i=S(i,P,F)),b))return i;for(var a="",l=i.length,u=0;u<l;u++){var d=x(i,u);if('"'===d){var f=g(i,++u).end-1,p=N(i,u,f);a+=N(p,0,T)===O?s[N(p,T)]:'"'+p+'"',u=f}else a+=d}return a}})},
vendor: 2,321 bytes, line 1
1"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/is-pure.js"),i=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/global-this.js"),a=r("./node_modules/core-js/internals/path.js"),l=r("./node_modules/core-js/internals/function-uncurry-this.js"),u=r("./node_modules/core-js/internals/is-forced.js"),c=r("./node_modules/core-js/internals/has-own-property.js"),h=r("./node_modules/core-js/internals/inherit-if-required.js"),d=r("./node_modules/core-js/internals/object-is-prototype-of.js"),f=r("./node_modules/core-js/internals/is-symbol.js"),p=r("./node_modules/core-js/internals/to-primitive.js"),m=r("./node_modules/core-js/internals/fails.js"),g=r("./node_modules/core-js/internals/object-get-own-property-names.js").f,v=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,y=r("./node_modules/core-js/internals/object-define-property.js").f,b=r("./node_modules/core-js/internals/this-number-value.js"),_=r("./node_modules/core-js/internals/string-trim.js").trim,j="Number",w=o[j],x=a[j],A=w.prototype,S=o.TypeError,N=l("".slice),L=l("".charCodeAt),k=function(e){var t=p(e,"number");return"bigint"==typeof t?t:P(t)},P=function(e){var t,r,n,s,i,o,a,l,u=p(e,"number");if(f(u))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2){if(43===(t=L(u=_(u),0))||45===t){if(88===(r=L(u,2))||120===r)return NaN}else if(48===t){switch(L(u,1)){case 66:case 98:n=2,s=49;break;case 79:case 111:n=8,s=55;break;default:return+u}for(a=0,o=(i=N(u,2)).length;a<o;a++)if((l=L(i,a))<48||l>s)return NaN;return parseInt(i,n)}}return+u},C=u(j,!w(" 0o1")||!w("0b1")||w("+0x1")),E=function(e){var t,r=arguments.length<1?0:w(k(e));return(t=this,d(A,t)&&m(function(){b(t)}))?h(Object(r),this,E):r};E.prototype=A,C&&!s&&(A.constructor=E),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:E});var O=function(e,t){for(var r,n=i?g(t):"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(","),s=0;n.length>s;s++)c(t,r=n[s])&&!c(e,r)&&y(e,r,v(t,r))};s&&x&&O(a[j],x),(C||s)&&O(a[j],w)},
vendor: 267 bytes, line 1
1"./node_modules/core-js/modules/es.object.assign.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/object-assign.js");n({target:"Object",stat:!0,arity:2,forced:Object.assign!==s},{assign:s})},
vendor: 533 bytes, line 1
1"./node_modules/core-js/modules/es.object.get-own-property-symbols.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/symbol-constructor-detection.js"),i=r("./node_modules/core-js/internals/fails.js"),o=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=r("./node_modules/core-js/internals/to-object.js");n({target:"Object",stat:!0,forced:!s||i(function(){o.f(1)})},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},
vendor: 379 bytes, line 1
1"./node_modules/core-js/modules/es.object.keys.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/to-object.js"),i=r("./node_modules/core-js/internals/object-keys.js");n({target:"Object",stat:!0,forced:r("./node_modules/core-js/internals/fails.js")(function(){i(1)})},{keys:function(e){return i(s(e))}})},
vendor: 322 bytes, line 1
1"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),s=r("./node_modules/core-js/internals/define-built-in.js"),i=r("./node_modules/core-js/internals/object-to-string.js");n||s(Object.prototype,"toString",i,{unsafe:!0})},
vendor: 781 bytes, line 1
1"./node_modules/core-js/modules/es.promise.all.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/a-callable.js"),o=r("./node_modules/core-js/internals/new-promise-capability.js"),a=r("./node_modules/core-js/internals/perform.js"),l=r("./node_modules/core-js/internals/iterate.js");n({target:"Promise",stat:!0,forced:r("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=a(function(){var r=i(t.resolve),o=[],a=0,c=1;l(e,function(e){var i=a++,l=!1;c++,s(r,t,e).then(function(e){!l&&(l=!0,o[i]=e,--c||n(o))},u)}),--c||n(o)});return c.error&&u(c.value),r.promise}})},
vendor: 715 bytes, line 1
1"./node_modules/core-js/modules/es.promise.catch.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/is-pure.js"),i=r("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,o=r("./node_modules/core-js/internals/promise-native-constructor.js"),a=r("./node_modules/core-js/internals/get-built-in.js"),l=r("./node_modules/core-js/internals/is-callable.js"),u=r("./node_modules/core-js/internals/define-built-in.js"),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!s&&l(o)){var h=a("Promise").prototype.catch;c.catch!==h&&u(c,"catch",h,{unsafe:!0})}},
vendor: 4,011 bytes, line 1
1"./node_modules/core-js/modules/es.promise.constructor.js":function(e,t,r){"use strict";var n,s,i,o,a=r("./node_modules/core-js/internals/export.js"),l=r("./node_modules/core-js/internals/is-pure.js"),u=r("./node_modules/core-js/internals/environment-is-node.js"),c=r("./node_modules/core-js/internals/global-this.js"),h=r("./node_modules/core-js/internals/path.js"),d=r("./node_modules/core-js/internals/function-call.js"),f=r("./node_modules/core-js/internals/define-built-in.js"),p=r("./node_modules/core-js/internals/object-set-prototype-of.js"),m=r("./node_modules/core-js/internals/set-to-string-tag.js"),g=r("./node_modules/core-js/internals/set-species.js"),v=r("./node_modules/core-js/internals/a-callable.js"),y=r("./node_modules/core-js/internals/is-callable.js"),b=r("./node_modules/core-js/internals/is-object.js"),_=r("./node_modules/core-js/internals/an-instance.js"),j=r("./node_modules/core-js/internals/species-constructor.js"),w=r("./node_modules/core-js/internals/task.js").set,x=r("./node_modules/core-js/internals/microtask.js"),A=r("./node_modules/core-js/internals/host-report-errors.js"),S=r("./node_modules/core-js/internals/perform.js"),N=r("./node_modules/core-js/internals/queue.js"),L=r("./node_modules/core-js/internals/internal-state.js"),k=r("./node_modules/core-js/internals/promise-native-constructor.js"),P=r("./node_modules/core-js/internals/promise-constructor-detection.js"),C=r("./node_modules/core-js/internals/new-promise-capability.js"),E="Promise",O=P.CONSTRUCTOR,T=P.REJECTION_EVENT,I=P.SUBCLASSING,M=L.getterFor(E),R=L.set,F=k&&k.prototype,D=k,B=F,z=c.TypeError,U=c.document,q=c.process,V=C.f,H=V,W=!!(U&&U.createEvent&&c.dispatchEvent),G="unhandledrejection",Y=function(e){var t;return!!(b(e)&&y(t=e.then))&&t},X=function(e,t){var r,n,s,i=t.value,o=1===t.state,a=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{a?(o||(2===t.rejection&&Q(t),t.rejection=1),!0===a?r=i:(c&&c.enter(),r=a(i),c&&(c.exit(),s=!0)),r===e.promise?u(new z("Promise-chain cycle")):(n=Y(r))?d(n,r,l,u):l(r)):u(i)}catch(e){c&&!s&&c.exit(),u(e)}},$=function(e,t){e.notified||(e.notified=!0,x(function(){for(var r,n=e.reactions;r=n.get();)X(r,e);e.notified=!1,t&&!e.rejection&&K(e)}))},Z=function(e,t,r){var n,s;W?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!T&&(s=c["on"+e])?s(n):e===G&&A("Unhandled promise rejection",r)},K=function(e){d(w,c,function(){var t,r=e.facade,n=e.value;if(J(e)&&(t=S(function(){u?q.emit("unhandledRejection",n,r):Z(G,r,n)}),e.rejection=u||J(e)?2:1,t.error))throw t.value})},J=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){d(w,c,function(){var t=e.facade;u?q.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},et=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,$(e,!0))},er=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new z("Promise can't be resolved itself");var n=Y(t);n?x(function(){var r={done:!1};try{d(n,t,ee(er,r,e),ee(et,r,e))}catch(t){et(r,t,e)}}):(e.value=t,e.state=1,$(e,!1))}catch(t){et({done:!1},t,e)}}};if(O&&(B=(D=function(e){_(this,B),v(e),d(n,this);var t=M(this);try{e(ee(er,t),ee(et,t))}catch(e){et(t,e)}}).prototype,(n=function(e){R(this,{type:E,done:!1,notified:!1,parent:!1,reactions:new N,rejection:!1,state:0,value:null})}).prototype=f(B,"then",function(e,t){var r=M(this),n=V(j(this,D));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=u?q.domain:void 0,0===r.state?r.reactions.add(n):x(function(){X(n,r)}),n.promise}),s=function(){var e=new n,t=M(e);this.promise=e,this.resolve=ee(er,t),this.reject=ee(et,t)},C.f=V=function(e){return e===D||e===i?new s(e):H(e)},!l&&y(k)&&F!==Object.prototype)){o=F.then,I||f(F,"then",function(e,t){var r=this;return new D(function(e,t){d(o,r,e,t)}).then(e,t)},{unsafe:!0});try{delete F.constructor}catch(e){}p&&p(F,B)}a({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:D}),i=h.Promise,m(D,E,!1,!0),g(E)},
vendor: 419 bytes, line 1
1"./node_modules/core-js/modules/es.promise.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.promise.constructor.js"),r("./node_modules/core-js/modules/es.promise.all.js"),r("./node_modules/core-js/modules/es.promise.catch.js"),r("./node_modules/core-js/modules/es.promise.race.js"),r("./node_modules/core-js/modules/es.promise.reject.js"),r("./node_modules/core-js/modules/es.promise.resolve.js")},
vendor: 698 bytes, line 1
1"./node_modules/core-js/modules/es.promise.race.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/a-callable.js"),o=r("./node_modules/core-js/internals/new-promise-capability.js"),a=r("./node_modules/core-js/internals/perform.js"),l=r("./node_modules/core-js/internals/iterate.js");n({target:"Promise",stat:!0,forced:r("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=a(function(){var o=i(t.resolve);l(e,function(e){s(o,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},
vendor: 394 bytes, line 1
1"./node_modules/core-js/modules/es.promise.reject.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/new-promise-capability.js");n({target:"Promise",stat:!0,forced:r("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR},{reject:function(e){var t=s.f(this);return(0,t.reject)(e),t.promise}})},
vendor: 579 bytes, line 1
1"./node_modules/core-js/modules/es.promise.resolve.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/get-built-in.js"),i=r("./node_modules/core-js/internals/is-pure.js"),o=r("./node_modules/core-js/internals/promise-native-constructor.js"),a=r("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,l=r("./node_modules/core-js/internals/promise-resolve.js"),u=s("Promise"),c=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(e){return l(c&&this===u?o:this,e)}})},
vendor: 249 bytes, line 1
1"./node_modules/core-js/modules/es.regexp.exec.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/regexp-exec.js");n({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},
vendor: 681 bytes, line 1
1"./node_modules/core-js/modules/es.regexp.test.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.regexp.exec.js");var n,s,i=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/function-call.js"),a=r("./node_modules/core-js/internals/is-callable.js"),l=r("./node_modules/core-js/internals/an-object.js"),u=r("./node_modules/core-js/internals/to-string.js"),c=(n=!1,(s=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===s.test("abc")&&n),h=/./.test;i({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=l(this),r=u(e),n=t.exec;if(!a(n))return o(h,t,r);var s=o(n,t,r);return null!==s&&(l(s),!0)}})},
vendor: 633 bytes, line 1
1"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-name.js").PROPER,s=r("./node_modules/core-js/internals/define-built-in.js"),i=r("./node_modules/core-js/internals/an-object.js"),o=r("./node_modules/core-js/internals/to-string.js"),a=r("./node_modules/core-js/internals/fails.js"),l=r("./node_modules/core-js/internals/regexp-get-flags.js"),u="toString",c=RegExp.prototype,h=c[u],d=a(function(){return"/a/b"!==h.call({source:"a",flags:"b"})}),f=n&&h.name!==u;(d||f)&&s(c,u,function(){var e=i(this);return"/"+o(e.source)+"/"+o(l(e))},{unsafe:!0})},
vendor: 287 bytes, line 1
1"./node_modules/core-js/modules/es.set.constructor.js":function(e,t,r){"use strict";r("./node_modules/core-js/internals/collection.js")("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},r("./node_modules/core-js/internals/collection-strong.js"))},
vendor: 131 bytes, line 1
1"./node_modules/core-js/modules/es.set.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.set.constructor.js")},
vendor: 946 bytes, line 1
1"./node_modules/core-js/modules/es.string.ends-with.js":function(e,t,r){"use strict";var n,s=r("./node_modules/core-js/internals/export.js"),i=r("./node_modules/core-js/internals/function-uncurry-this-clause.js"),o=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=r("./node_modules/core-js/internals/to-length.js"),l=r("./node_modules/core-js/internals/to-string.js"),u=r("./node_modules/core-js/internals/not-a-regexp.js"),c=r("./node_modules/core-js/internals/require-object-coercible.js"),h=r("./node_modules/core-js/internals/correct-is-regexp-logic.js"),d=r("./node_modules/core-js/internals/is-pure.js"),f=i("".slice),p=Math.min,m=h("endsWith");s({target:"String",proto:!0,forced:!(!d&&!m&&(n=o(String.prototype,"endsWith"))&&!n.writable)&&!m},{endsWith:function(e){var t=l(c(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,s=void 0===r?n:p(a(r),n),i=l(e);return f(t,s-i.length,s)===i}})},
vendor: 610 bytes, line 1
1"./node_modules/core-js/modules/es.string.includes.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/not-a-regexp.js"),o=r("./node_modules/core-js/internals/require-object-coercible.js"),a=r("./node_modules/core-js/internals/to-string.js"),l=r("./node_modules/core-js/internals/correct-is-regexp-logic.js"),u=s("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(a(o(this)),a(i(e)),arguments.length>1?arguments[1]:void 0)}})},
vendor: 627 bytes, line 1
1"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/string-multibyte.js").charAt,s=r("./node_modules/core-js/internals/to-string.js"),i=r("./node_modules/core-js/internals/internal-state.js"),o=r("./node_modules/core-js/internals/iterator-define.js"),a=r("./node_modules/core-js/internals/create-iter-result-object.js"),l="String Iterator",u=i.set,c=i.getterFor(l);o(String,"String",function(e){u(this,{type:l,string:s(e),index:0})},function(){var e,t=c(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))})},
vendor: 343 bytes, line 1
1"./node_modules/core-js/modules/es.string.link.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/create-html.js");n({target:"String",proto:!0,forced:r("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return s(this,"a","href",e)}})},
vendor: 1,226 bytes, line 1
1"./node_modules/core-js/modules/es.string.match.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/is-object.js"),l=r("./node_modules/core-js/internals/to-length.js"),u=r("./node_modules/core-js/internals/to-string.js"),c=r("./node_modules/core-js/internals/require-object-coercible.js"),h=r("./node_modules/core-js/internals/get-method.js"),d=r("./node_modules/core-js/internals/advance-string-index.js"),f=r("./node_modules/core-js/internals/regexp-get-flags.js"),p=r("./node_modules/core-js/internals/regexp-exec-abstract.js"),m=s("".indexOf);i("match",function(e,t,r){return[function(t){var r=c(this),s=a(t)?h(t,e):void 0;return s?n(s,t,r):new RegExp(t)[e](u(r))},function(e){var n,s=o(this),i=u(e),a=r(t,s,i);if(a.done)return a.value;var c=u(f(s));if(-1===m(c,"g"))return p(s,i);var h=-1!==m(c,"u");s.lastIndex=0;for(var g=[],v=0;null!==(n=p(s,i));){var y=u(n[0]);g[v]=y,""===y&&(s.lastIndex=d(i,l(s.lastIndex),h)),v++}return 0===v?null:g}]})},
vendor: 2,198 bytes, line 1
1"./node_modules/core-js/modules/es.string.replace.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-apply.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/function-uncurry-this.js"),o=r("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),a=r("./node_modules/core-js/internals/fails.js"),l=r("./node_modules/core-js/internals/an-object.js"),u=r("./node_modules/core-js/internals/is-callable.js"),c=r("./node_modules/core-js/internals/is-object.js"),h=r("./node_modules/core-js/internals/to-integer-or-infinity.js"),d=r("./node_modules/core-js/internals/to-length.js"),f=r("./node_modules/core-js/internals/to-string.js"),p=r("./node_modules/core-js/internals/require-object-coercible.js"),m=r("./node_modules/core-js/internals/advance-string-index.js"),g=r("./node_modules/core-js/internals/get-method.js"),v=r("./node_modules/core-js/internals/get-substitution.js"),y=r("./node_modules/core-js/internals/regexp-get-flags.js"),b=r("./node_modules/core-js/internals/regexp-exec-abstract.js"),_=r("./node_modules/core-js/internals/well-known-symbol.js")("replace"),j=Math.max,w=Math.min,x=i([].concat),A=i([].push),S=i("".indexOf),N=i("".slice),L="$0"==="a".replace(/./,"$0"),k=!!/./[_]&&""===/./[_]("a","$0");o("replace",function(e,t,r){var i=k?"$":"$0";return[function(e,r){var n=p(this),i=c(e)?g(e,_):void 0;return i?s(i,e,n,r):s(t,f(n),e,r)},function(e,s){var o=l(this),a=f(e);if("string"==typeof s&&-1===S(s,i)&&-1===S(s,"$<")){var c=r(t,o,a,s);if(c.done)return c.value}var p=u(s);p||(s=f(s));var g=f(y(o)),_=-1!==S(g,"g");_&&(O=-1!==S(g,"u"),o.lastIndex=0);for(var L=[];null!==(I=b(o,a))&&(A(L,I),_);){;""===f(I[0])&&(o.lastIndex=m(a,d(o.lastIndex),O))}for(var k="",P=0,C=0;C<L.length;C++){for(var E,O,T,I=L[C],M=f(I[0]),R=j(w(h(I.index),a.length),0),F=[],D=1;D<I.length;D++)A(F,void 0===(E=I[D])?E:String(E));var B=I.groups;if(p){var z=x([M],F,R,a);void 0!==B&&A(z,B),T=f(n(s,void 0,z))}else T=v(M,a,R,F,B,s);R>=P&&(k+=N(a,P,R)+T,P=R+M.length)}return k+N(a,P)}]},!!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!L||k)},
vendor: 2,146 bytes, line 1
1"./node_modules/core-js/modules/es.string.split.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/function-call.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/is-object.js"),l=r("./node_modules/core-js/internals/require-object-coercible.js"),u=r("./node_modules/core-js/internals/species-constructor.js"),c=r("./node_modules/core-js/internals/advance-string-index.js"),h=r("./node_modules/core-js/internals/to-length.js"),d=r("./node_modules/core-js/internals/to-string.js"),f=r("./node_modules/core-js/internals/get-method.js"),p=r("./node_modules/core-js/internals/regexp-exec-abstract.js"),m=r("./node_modules/core-js/internals/regexp-sticky-helpers.js"),g=r("./node_modules/core-js/internals/fails.js"),v=m.UNSUPPORTED_Y,y=Math.min,b=s([].push),_=s("".slice),j=!g(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),w="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",function(e,t,r){var s="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:n(t,this,e,r)}:t;return[function(t,r){var i=l(this),o=a(t)?f(t,e):void 0;return o?n(o,t,i,r):n(s,d(i),t,r)},function(e,n){var i=o(this),a=d(e);if(!w){var l=r(s,i,a,n,s!==t);if(l.done)return l.value}var f=u(i,RegExp),m=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(v?"g":"y"),j=new f(v?"^(?:"+i.source+")":i,g),x=void 0===n?0xffffffff:n>>>0;if(0===x)return[];if(0===a.length)return null===p(j,a)?[a]:[];for(var A=0,S=0,N=[];S<a.length;){j.lastIndex=v?0:S;var L,k=p(j,v?_(a,S):a);if(null===k||(L=y(h(j.lastIndex+(v?S:0)),a.length))===A)S=c(a,S,m);else{if(b(N,_(a,A,S)),N.length===x)return N;for(var P=1;P<=k.length-1;P++)if(b(N,k[P]),N.length===x)return N;S=A=L}}return b(N,_(a,A)),N}]},w||!j,v)},
vendor: 933 bytes, line 1
1"./node_modules/core-js/modules/es.string.starts-with.js":function(e,t,r){"use strict";var n,s=r("./node_modules/core-js/internals/export.js"),i=r("./node_modules/core-js/internals/function-uncurry-this-clause.js"),o=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=r("./node_modules/core-js/internals/to-length.js"),l=r("./node_modules/core-js/internals/to-string.js"),u=r("./node_modules/core-js/internals/not-a-regexp.js"),c=r("./node_modules/core-js/internals/require-object-coercible.js"),h=r("./node_modules/core-js/internals/correct-is-regexp-logic.js"),d=r("./node_modules/core-js/internals/is-pure.js"),f=i("".slice),p=Math.min,m=h("startsWith");s({target:"String",proto:!0,forced:!(!d&&!m&&(n=o(String.prototype,"startsWith"))&&!n.writable)&&!m},{startsWith:function(e){var t=l(c(this));u(e);var r=a(p(arguments.length>1?arguments[1]:void 0,t.length)),n=l(e);return f(t,r,r+n.length)===n}})},
vendor: 334 bytes, line 1
1"./node_modules/core-js/modules/es.string.trim.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/string-trim.js").trim;n({target:"String",proto:!0,forced:r("./node_modules/core-js/internals/string-trim-forced.js")("trim")},{trim:function(){return s(this)}})},
vendor: 4,832 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/function-call.js"),o=r("./node_modules/core-js/internals/function-uncurry-this.js"),a=r("./node_modules/core-js/internals/is-pure.js"),l=r("./node_modules/core-js/internals/descriptors.js"),u=r("./node_modules/core-js/internals/symbol-constructor-detection.js"),c=r("./node_modules/core-js/internals/fails.js"),h=r("./node_modules/core-js/internals/has-own-property.js"),d=r("./node_modules/core-js/internals/object-is-prototype-of.js"),f=r("./node_modules/core-js/internals/an-object.js"),p=r("./node_modules/core-js/internals/to-indexed-object.js"),m=r("./node_modules/core-js/internals/to-property-key.js"),g=r("./node_modules/core-js/internals/to-string.js"),v=r("./node_modules/core-js/internals/create-property-descriptor.js"),y=r("./node_modules/core-js/internals/object-create.js"),b=r("./node_modules/core-js/internals/object-keys.js"),_=r("./node_modules/core-js/internals/object-get-own-property-names.js"),j=r("./node_modules/core-js/internals/object-get-own-property-names-external.js"),w=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),x=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),A=r("./node_modules/core-js/internals/object-define-property.js"),S=r("./node_modules/core-js/internals/object-define-properties.js"),N=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),L=r("./node_modules/core-js/internals/define-built-in.js"),k=r("./node_modules/core-js/internals/define-built-in-accessor.js"),P=r("./node_modules/core-js/internals/shared.js"),C=r("./node_modules/core-js/internals/shared-key.js"),E=r("./node_modules/core-js/internals/hidden-keys.js"),O=r("./node_modules/core-js/internals/uid.js"),T=r("./node_modules/core-js/internals/well-known-symbol.js"),I=r("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),M=r("./node_modules/core-js/internals/well-known-symbol-define.js"),R=r("./node_modules/core-js/internals/symbol-define-to-primitive.js"),F=r("./node_modules/core-js/internals/set-to-string-tag.js"),D=r("./node_modules/core-js/internals/internal-state.js"),B=r("./node_modules/core-js/internals/array-iteration.js").forEach,z=C("hidden"),U="Symbol",q="prototype",V=D.set,H=D.getterFor(U),W=Object[q],G=s.Symbol,Y=G&&G[q],X=s.RangeError,$=s.TypeError,Z=s.QObject,K=x.f,J=A.f,Q=j.f,ee=N.f,et=o([].push),er=P("symbols"),en=P("op-symbols"),es=P("wks"),ei=!Z||!Z[q]||!Z[q].findChild,eo=function(e,t,r){var n=K(W,t);n&&delete W[t],J(e,t,r),n&&e!==W&&J(W,t,n)},ea=l&&c(function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a})?eo:J,el=function(e,t){var r=er[e]=y(Y);return V(r,{type:U,tag:e,description:t}),l||(r.description=t),r},eu=function(e,t,r){e===W&&eu(en,t,r),f(e);var n=m(t);return(f(r),h(er,n))?(r.enumerable?(h(e,z)&&e[z][n]&&(e[z][n]=!1),r=y(r,{enumerable:v(0,!1)})):(h(e,z)||J(e,z,v(1,y(null))),e[z][n]=!0),ea(e,n,r)):J(e,n,r)},ec=function(e,t){f(e);var r=p(t);return B(b(r).concat(ep(r)),function(t){(!l||i(eh,r,t))&&eu(e,t,r[t])}),e},eh=function(e){var t=m(e),r=i(ee,this,t);return(!(this===W&&h(er,t))||!!h(en,t))&&(!(r||!h(this,t)||!h(er,t)||h(this,z)&&this[z][t])||r)},ed=function(e,t){var r=p(e),n=m(t);if(!(r===W&&h(er,n))||h(en,n)){var s=K(r,n);return s&&h(er,n)&&!(h(r,z)&&r[z][n])&&(s.enumerable=!0),s}},ef=function(e){var t=Q(p(e)),r=[];return B(t,function(e){h(er,e)||h(E,e)||et(r,e)}),r},ep=function(e){var t=e===W,r=Q(t?en:p(e)),n=[];return B(r,function(e){h(er,e)&&(!t||h(W,e))&&et(n,er[e])}),n};!u&&(L(Y=(G=function(){if(d(Y,this))throw new $("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=O(e),r=function(e){var n=void 0===this?s:this;n===W&&i(r,en,e),h(n,z)&&h(n[z],t)&&(n[z][t]=!1);var o=v(1,e);try{ea(n,t,o)}catch(e){if(!(e instanceof X))throw e;eo(n,t,o)}};return l&&ei&&ea(W,t,{configurable:!0,set:r}),el(t,e)})[q],"toString",function(){return H(this).tag}),L(G,"withoutSetter",function(e){return el(O(e),e)}),N.f=eh,A.f=eu,S.f=ec,x.f=ed,_.f=j.f=ef,w.f=ep,I.f=function(e){return el(T(e),e)},l&&(k(Y,"description",{configurable:!0,get:function(){return H(this).description}}),a||L(W,"propertyIsEnumerable",eh,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),B(b(es),function(e){M(e)}),n({target:U,stat:!0,forced:!u},{useSetter:function(){ei=!0},useSimple:function(){ei=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(e,t){return void 0===t?y(e):ec(y(e),t)},defineProperty:eu,defineProperties:ec,getOwnPropertyDescriptor:ed}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ef}),R(),F(G,U),E[z]=!0},
vendor: 1,337 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/descriptors.js"),i=r("./node_modules/core-js/internals/global-this.js"),o=r("./node_modules/core-js/internals/function-uncurry-this.js"),a=r("./node_modules/core-js/internals/has-own-property.js"),l=r("./node_modules/core-js/internals/is-callable.js"),u=r("./node_modules/core-js/internals/object-is-prototype-of.js"),c=r("./node_modules/core-js/internals/to-string.js"),h=r("./node_modules/core-js/internals/define-built-in-accessor.js"),d=r("./node_modules/core-js/internals/copy-constructor-properties.js"),f=i.Symbol,p=f&&f.prototype;if(s&&l(f)&&(!("description"in p)||void 0!==f().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=u(p,this)?new f(e):void 0===e?f():f(e);return""===e&&(m[t]=!0),t};d(g,f),g.prototype=p,p.constructor=g;var v="Symbol(description detection)"===String(f("description detection")),y=o(p.valueOf),b=o(p.toString),_=/^Symbol\((.*)\)[^)]+$/,j=o("".replace),w=o("".slice);h(p,"description",{configurable:!0,get:function(){var e=y(this);if(a(m,e))return"";var t=b(e),r=v?w(t,7,-1):j(t,_,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},
vendor: 623 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.for.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/get-built-in.js"),i=r("./node_modules/core-js/internals/has-own-property.js"),o=r("./node_modules/core-js/internals/to-string.js"),a=r("./node_modules/core-js/internals/shared.js"),l=r("./node_modules/core-js/internals/symbol-registry-detection.js"),u=a("string-to-symbol-registry"),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=o(e);if(i(u,t))return u[t];var r=s("Symbol")(t);return u[t]=r,c[r]=t,r}})},
vendor: 163 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,r){"use strict";r("./node_modules/core-js/internals/well-known-symbol-define.js")("iterator")},
vendor: 378 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.symbol.constructor.js"),r("./node_modules/core-js/modules/es.symbol.for.js"),r("./node_modules/core-js/modules/es.symbol.key-for.js"),r("./node_modules/core-js/modules/es.json.stringify.js"),r("./node_modules/core-js/modules/es.object.get-own-property-symbols.js")},
vendor: 593 bytes, line 1
1"./node_modules/core-js/modules/es.symbol.key-for.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/has-own-property.js"),i=r("./node_modules/core-js/internals/is-symbol.js"),o=r("./node_modules/core-js/internals/try-to-string.js"),a=r("./node_modules/core-js/internals/shared.js"),l=r("./node_modules/core-js/internals/symbol-registry-detection.js"),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(s(u,e))return u[e]}})},
vendor: 157 bytes, line 1
1"./node_modules/core-js/modules/esnext.iterator.constructor.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.iterator.constructor.js")},
vendor: 151 bytes, line 1
1"./node_modules/core-js/modules/esnext.iterator.for-each.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.iterator.for-each.js")},
vendor: 141 bytes, line 1
1"./node_modules/core-js/modules/esnext.iterator.map.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/es.iterator.map.js")},
vendor: 389 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.add-all.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/a-set.js"),i=r("./node_modules/core-js/internals/set-helpers.js").add;n({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=s(this),t=0,r=arguments.length;t<r;t++)i(e,arguments[t]);return e}})},
vendor: 415 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.delete-all.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/a-set.js"),i=r("./node_modules/core-js/internals/set-helpers.js").remove;n({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=s(this),r=!0,n=0,o=arguments.length;n<o;n++)e=i(t,arguments[n]),r=r&&e;return!!r}})},
vendor: 405 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.difference.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-difference.js");n({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return s(o,this,i(e))}})},
vendor: 486 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.every.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-bind-context.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-iterate.js");n({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=i(this),r=s(e,arguments.length>1?arguments[1]:void 0);return!1!==o(t,function(e){if(!r(e,e,t))return!1},!0)}})},
vendor: 557 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.filter.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-bind-context.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-helpers.js"),a=r("./node_modules/core-js/internals/set-iterate.js"),l=o.Set,u=o.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=i(this),r=s(e,arguments.length>1?arguments[1]:void 0),n=new l;return a(t,function(e){r(e,e,t)&&u(n,e)}),n}})},
vendor: 499 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.find.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-bind-context.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-iterate.js");n({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=i(this),r=s(e,arguments.length>1?arguments[1]:void 0),n=o(t,function(e){if(r(e,e,t))return{value:e}},!0);return n&&n.value}})},
vendor: 411 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.intersection.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-intersection.js");n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return s(o,this,i(e))}})},
vendor: 421 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.is-disjoint-from.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-is-disjoint-from.js");n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return s(o,this,i(e))}})},
vendor: 409 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.is-subset-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-is-subset-of.js");n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return s(o,this,i(e))}})},
vendor: 415 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.is-superset-of.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-is-superset-of.js");n({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return s(o,this,i(e))}})},
vendor: 529 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.join.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-uncurry-this.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-iterate.js"),a=r("./node_modules/core-js/internals/to-string.js"),l=s([].join),u=s([].push);n({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=i(this),r=void 0===e?",":a(e),n=[];return o(t,function(e){u(n,e)}),l(n,r)}})},
vendor: 548 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.map.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-bind-context.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-helpers.js"),a=r("./node_modules/core-js/internals/set-iterate.js"),l=o.Set,u=o.add;n({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=i(this),r=s(e,arguments.length>1?arguments[1]:void 0),n=new l;return a(t,function(e){u(n,r(e,e,t))}),n}})},
vendor: 554 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.reduce.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/a-callable.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-iterate.js"),a=TypeError;n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=i(this),r=arguments.length<2,n=r?void 0:arguments[1];if(s(e),o(t,function(s){r?(r=!1,n=s):n=e(n,s,s,t)}),r)throw new a("Reduce of empty set with no initial value");return n}})},
vendor: 483 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.some.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-bind-context.js"),i=r("./node_modules/core-js/internals/a-set.js"),o=r("./node_modules/core-js/internals/set-iterate.js");n({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=i(this),r=s(e,arguments.length>1?arguments[1]:void 0);return!0===o(t,function(e){if(r(e,e,t))return!0},!0)}})},
vendor: 434 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.symmetric-difference.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-symmetric-difference.js");n({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return s(o,this,i(e))}})},
vendor: 390 bytes, line 1
1"./node_modules/core-js/modules/esnext.set.union.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/function-call.js"),i=r("./node_modules/core-js/internals/to-set-like.js"),o=r("./node_modules/core-js/internals/set-union.js");n({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return s(o,this,i(e))}})},
vendor: 539 bytes, line 1
1"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/dom-iterables.js"),i=r("./node_modules/core-js/internals/dom-token-list-prototype.js"),o=r("./node_modules/core-js/internals/array-for-each.js"),a=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=function(e){if(e&&e.forEach!==o)try{a(e,"forEach",o)}catch(t){e.forEach=o}};for(var u in s)s[u]&&l(n[u]&&n[u].prototype);l(i)},
vendor: 769 bytes, line 1
1"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/global-this.js"),s=r("./node_modules/core-js/internals/dom-iterables.js"),i=r("./node_modules/core-js/internals/dom-token-list-prototype.js"),o=r("./node_modules/core-js/modules/es.array.iterator.js"),a=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=r("./node_modules/core-js/internals/set-to-string-tag.js"),u=r("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),c=o.values,h=function(e,t){if(e){if(e[u]!==c)try{a(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),s[t]){for(var r in o)if(e[r]!==o[r])try{a(e,r,o[r])}catch(t){e[r]=o[r]}}}};for(var d in s)h(n[d]&&n[d].prototype,d);h(i,"DOMTokenList")},
vendor: 332 bytes, line 1
1"./node_modules/core-js/modules/web.set-interval.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/schedulers-fix.js")(s.setInterval,!0);n({global:!0,bind:!0,forced:s.setInterval!==i},{setInterval:i})},
vendor: 328 bytes, line 1
1"./node_modules/core-js/modules/web.set-timeout.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),s=r("./node_modules/core-js/internals/global-this.js"),i=r("./node_modules/core-js/internals/schedulers-fix.js")(s.setTimeout,!0);n({global:!0,bind:!0,forced:s.setTimeout!==i},{setTimeout:i})},
vendor: 188 bytes, line 1
1"./node_modules/core-js/modules/web.timers.js":function(e,t,r){"use strict";r("./node_modules/core-js/modules/web.set-interval.js"),r("./node_modules/core-js/modules/web.set-timeout.js")},
vendor: 22,174 bytes, line 1
1"./node_modules/dompurify/dist/purify.es.mjs":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return et}});let{entries:n,setPrototypeOf:s,isFrozen:i,getPrototypeOf:o,getOwnPropertyDescriptor:a}=Object,{freeze:l,seal:u,create:c}=Object,{apply:h,construct:d}="undefined"!=typeof Reflect&&Reflect;l||(l=function(e){return e}),u||(u=function(e){return e}),h||(h=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return e.apply(t,n)}),d||(d=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});let f=L(Array.prototype.forEach),p=L(Array.prototype.lastIndexOf),m=L(Array.prototype.pop),g=L(Array.prototype.push),v=L(Array.prototype.splice),y=L(String.prototype.toLowerCase),b=L(String.prototype.toString),_=L(String.prototype.match),j=L(String.prototype.replace),w=L(String.prototype.indexOf),x=L(String.prototype.trim),A=L(Object.prototype.hasOwnProperty),S=L(RegExp.prototype.test),N=(K=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return d(K,t)});function L(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),s=1;s<r;s++)n[s-1]=arguments[s];return h(e,t,n)}}function k(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;s&&s(e,null);let n=t.length;for(;n--;){let s=t[n];if("string"==typeof s){let e=r(s);e!==s&&(i(t)||(t[n]=e),s=e)}e[s]=!0}return e}function P(e){let t=c(null);for(let[r,s]of n(e))A(e,r)&&(Array.isArray(s)?t[r]=function(e){for(let t=0;t<e.length;t++)A(e,t)||(e[t]=null);return e}(s):s&&"object"==typeof s&&s.constructor===Object?t[r]=P(s):t[r]=s);return t}function C(e,t){for(;null!==e;){let r=a(e,t);if(r){if(r.get)return L(r.get);if("function"==typeof r.value)return L(r.value)}e=o(e)}return function(){return null}}let E=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),R=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=l(["#text"]),D=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=u(/<%[\w\W]*|[\w\W]*%>/gm),H=u(/\$\{[\w\W]*/gm),W=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=u(/^aria-[\-\w]+$/),Y=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=u(/^(?:\w+script|data):/i),$=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=u(/^html$/i);var K,J=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:u(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:W,DOCTYPE_NAME:Z,ERB_EXPR:V,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:q,TMPLIT_EXPR:H});let Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}},ee=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var et=function e(){let t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,s=t=>e(t);if(s.version="3.3.1",s.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return s.isSupported=!1,s;let{document:i}=r,o=i,a=o.currentScript,{DocumentFragment:u,HTMLTemplateElement:h,Node:d,Element:L,NodeFilter:q,NamedNodeMap:V=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:H,DOMParser:W,trustedTypes:G}=r,X=L.prototype,$=C(X,"cloneNode"),K=C(X,"remove"),et=C(X,"nextSibling"),er=C(X,"childNodes"),en=C(X,"parentNode");if("function"==typeof h){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let es="",{implementation:ei,createNodeIterator:eo,createDocumentFragment:ea,getElementsByTagName:el}=i,{importNode:eu}=o,ec=ee();s.isSupported="function"==typeof n&&"function"==typeof en&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:eh,ERB_EXPR:ed,TMPLIT_EXPR:ef,DATA_ATTR:ep,ARIA_ATTR:em,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:ev,CUSTOM_ELEMENT:ey}=J,{IS_ALLOWED_URI:eb}=J,e_=null,ej=k({},[...E,...O,...T,...M,...F]),ew=null,ex=k({},[...D,...B,...z,...U]),eA=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eS=null,eN=null,eL=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ek=!0,eP=!0,eC=!1,eE=!0,eO=!1,eT=!0,eI=!1,eM=!1,eR=!1,eF=!1,eD=!1,eB=!1,ez=!0,eU=!1,eq=!0,eV=!1,eH={},eW=null,eG=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eY=null,eX=k({},["audio","video","img","source","image","track"]),e$=null,eZ=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eK="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",e0=eQ,e1=!1,e2=null,e5=k({},[eK,eJ,eQ],b),e3=k({},["mi","mo","mn","ms","mtext"]),e4=k({},["annotation-xml"]),e6=k({},["title","style","font","a","script"]),e8=null,e7=["application/xhtml+xml","text/html"],e9=null,te=null,tt=i.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},tn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=P(e),e9="application/xhtml+xml"===(e8=-1===e7.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?b:y,e_=A(e,"ALLOWED_TAGS")?k({},e.ALLOWED_TAGS,e9):ej,ew=A(e,"ALLOWED_ATTR")?k({},e.ALLOWED_ATTR,e9):ex,e2=A(e,"ALLOWED_NAMESPACES")?k({},e.ALLOWED_NAMESPACES,b):e5,e$=A(e,"ADD_URI_SAFE_ATTR")?k(P(eZ),e.ADD_URI_SAFE_ATTR,e9):eZ,eY=A(e,"ADD_DATA_URI_TAGS")?k(P(eX),e.ADD_DATA_URI_TAGS,e9):eX,eW=A(e,"FORBID_CONTENTS")?k({},e.FORBID_CONTENTS,e9):eG,eS=A(e,"FORBID_TAGS")?k({},e.FORBID_TAGS,e9):P({}),eN=A(e,"FORBID_ATTR")?k({},e.FORBID_ATTR,e9):P({}),eH=!!A(e,"USE_PROFILES")&&e.USE_PROFILES,ek=!1!==e.ALLOW_ARIA_ATTR,eP=!1!==e.ALLOW_DATA_ATTR,eC=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eE=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eO=e.SAFE_FOR_TEMPLATES||!1,eT=!1!==e.SAFE_FOR_XML,eI=e.WHOLE_DOCUMENT||!1,eF=e.RETURN_DOM||!1,eD=e.RETURN_DOM_FRAGMENT||!1,eB=e.RETURN_TRUSTED_TYPE||!1,eR=e.FORCE_BODY||!1,ez=!1!==e.SANITIZE_DOM,eU=e.SANITIZE_NAMED_PROPS||!1,eq=!1!==e.KEEP_CONTENT,eV=e.IN_PLACE||!1,eb=e.ALLOWED_URI_REGEXP||Y,e0=e.NAMESPACE||eQ,e3=e.MATHML_TEXT_INTEGRATION_POINTS||e3,e4=e.HTML_INTEGRATION_POINTS||e4,eA=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eO&&(eP=!1),eD&&(eF=!0),eH&&(e_=k({},F),ew=[],!0===eH.html&&(k(e_,E),k(ew,D)),!0===eH.svg&&(k(e_,O),k(ew,B),k(ew,U)),!0===eH.svgFilters&&(k(e_,T),k(ew,B),k(ew,U)),!0===eH.mathMl&&(k(e_,M),k(ew,z),k(ew,U))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?eL.tagCheck=e.ADD_TAGS:(e_===ej&&(e_=P(e_)),k(e_,e.ADD_TAGS,e9))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?eL.attributeCheck=e.ADD_ATTR:(ew===ex&&(ew=P(ew)),k(ew,e.ADD_ATTR,e9))),e.ADD_URI_SAFE_ATTR&&k(e$,e.ADD_URI_SAFE_ATTR,e9),e.FORBID_CONTENTS&&(eW===eG&&(eW=P(eW)),k(eW,e.FORBID_CONTENTS,e9)),e.ADD_FORBID_CONTENTS&&(eW===eG&&(eW=P(eW)),k(eW,e.ADD_FORBID_CONTENTS,e9)),eq&&(e_["#text"]=!0),eI&&k(e_,["html","head","body"]),e_.table&&(k(e_,["tbody"]),delete eS.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');es=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=Q(G,a)),null!==t&&"string"==typeof es&&(es=t.createHTML(""));l&&l(e),te=e}},ts=k({},[...O,...T,...I]),ti=k({},[...M,...R]),to=function(e){let t=en(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let r=y(e.tagName),n=y(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eQ?"svg"===r:t.namespaceURI===eK?"svg"===r&&("annotation-xml"===n||e3[n]):!!ts[r]:e.namespaceURI===eK?t.namespaceURI===eQ?"math"===r:t.namespaceURI===eJ?"math"===r&&e4[n]:!!ti[r]:e.namespaceURI===eQ?(t.namespaceURI!==eJ||!!e4[n])&&(t.namespaceURI!==eK||!!e3[n])&&!ti[r]&&(e6[r]||!ts[r]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},ta=function(e){g(s.removed,{element:e});try{en(e).removeChild(e)}catch(t){K(e)}},tl=function(e,t){try{g(s.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(s.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eF||eD)try{ta(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tu=function(e){let r=null,n=null;if(eR)e="<remove></remove>"+e;else{let t=_(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===e8&&e0===eQ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let s=t?t.createHTML(e):e;if(e0===eQ)try{r=new W().parseFromString(s,e8)}catch(e){}if(!r||!r.documentElement){r=ei.createDocument(e0,"template",null);try{r.documentElement.innerHTML=e1?es:s}catch(e){}}let o=r.body||r.documentElement;return(e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),e0===eQ)?el.call(r,eI?"html":"body")[0]:eI?r.documentElement:o},tc=function(e){return eo.call(e.ownerDocument||e,e,q.SHOW_ELEMENT|q.SHOW_COMMENT|q.SHOW_TEXT|q.SHOW_PROCESSING_INSTRUCTION|q.SHOW_CDATA_SECTION,null)},th=function(e){return e instanceof H&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof V)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},td=function(e){return"function"==typeof d&&e instanceof d};function tf(e,t,r){f(e,e=>{e.call(s,t,r,te)})}let tp=function(e){let t=null;if(tf(ec.beforeSanitizeElements,e,null),th(e))return ta(e),!0;let r=e9(e.nodeName);if(tf(ec.uponSanitizeElement,e,{tagName:r,allowedTags:e_}),eT&&e.hasChildNodes()&&!td(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent)||7===e.nodeType||eT&&8===e.nodeType&&S(/<[/\w]/g,e.data))return ta(e),!0;if(!(eL.tagCheck instanceof Function&&eL.tagCheck(r))&&(!e_[r]||eS[r])){if(!eS[r]&&tg(r)&&(eA.tagNameCheck instanceof RegExp&&S(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r)))return!1;if(eq&&!eW[r]){let t=en(e)||e.parentNode,r=er(e)||e.childNodes;if(r&&t){let n=r.length;for(let s=n-1;s>=0;--s){let n=$(r[s],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,et(e))}}}return ta(e),!0}return e instanceof L&&!to(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ta(e),!0):(eO&&3===e.nodeType&&(t=e.textContent,f([eh,ed,ef],e=>{t=j(t,e," ")}),e.textContent!==t&&(g(s.removed,{element:e.cloneNode()}),e.textContent=t)),tf(ec.afterSanitizeElements,e,null),!1)},tm=function(e,t,r){if(ez&&("id"===t||"name"===t)&&(r in i||r in tt))return!1;if(eP&&!eN[t]&&S(ep,t));else if(ek&&S(em,t));else if(eL.attributeCheck instanceof Function&&eL.attributeCheck(t,e));else if(!ew[t]||eN[t]){if(!(tg(e)&&(eA.tagNameCheck instanceof RegExp&&S(eA.tagNameCheck,e)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(e))&&(eA.attributeNameCheck instanceof RegExp&&S(eA.attributeNameCheck,t)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(t,e))||"is"===t&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&S(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r))))return!1}else if(e$[t]);else if(S(eb,j(r,ev,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(r,"data:")&&eY[e]);else if(eC&&!S(eg,j(r,ev,"")));else if(r)return!1;return!0},tg=function(e){return"annotation-xml"!==e&&_(e,ey)},tv=function(e){tf(ec.beforeSanitizeAttributes,e,null);let{attributes:r}=e;if(!r||th(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ew,forceKeepAttr:void 0},i=r.length;for(;i--;){let{name:o,namespaceURI:a,value:l}=r[i],u=e9(o),c="value"===o?l:x(l);if(n.attrName=u,n.attrValue=c,n.keepAttr=!0,n.forceKeepAttr=void 0,tf(ec.uponSanitizeAttribute,e,n),c=n.attrValue,eU&&("id"===u||"name"===u)&&(tl(o,e),c="user-content-"+c),eT&&S(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===u&&_(c,"href")){tl(o,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!eE&&S(/\/>/i,c)){tl(o,e);continue}eO&&f([eh,ed,ef],e=>{c=j(c,e," ")});let h=e9(e.nodeName);if(!tm(h,u,c)){tl(o,e);continue}if(t&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(h,u)){case"TrustedHTML":c=t.createHTML(c);break;case"TrustedScriptURL":c=t.createScriptURL(c)}if(c!==l)try{a?e.setAttributeNS(a,o,c):e.setAttribute(o,c),th(e)?ta(e):m(s.removed)}catch(t){tl(o,e)}}tf(ec.afterSanitizeAttributes,e,null)},ty=function e(t){let r=null,n=tc(t);for(tf(ec.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)tf(ec.uponSanitizeShadowNode,r,null),tp(r),tv(r),r.content instanceof u&&e(r.content);tf(ec.afterSanitizeShadowDOM,t,null)};return s.sanitize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,a=null,l=null;if((e1=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!td(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw N("dirty is not a string, aborting")}else throw N("toString is not a function");if(!s.isSupported)return e;if(eM||tn(r),s.removed=[],"string"==typeof e&&(eV=!1),eV){if(e.nodeName){let t=e9(e.nodeName);if(!e_[t]||eS[t])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)1===(i=(n=tu("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!eF&&!eO&&!eI&&-1===e.indexOf("<"))return t&&eB?t.createHTML(e):e;if(!(n=tu(e)))return eF?null:eB?es:""}n&&eR&&ta(n.firstChild);let c=tc(eV?e:n);for(;a=c.nextNode();)tp(a),tv(a),a.content instanceof u&&ty(a.content);if(eV)return e;if(eF){if(eD)for(l=ea.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(ew.shadowroot||ew.shadowrootmode)&&(l=eu.call(o,l,!0)),l}let h=eI?n.outerHTML:n.innerHTML;return eI&&e_["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(Z,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),eO&&f([eh,ed,ef],e=>{h=j(h,e," ")}),t&&eB?t.createHTML(h):h},s.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tn(e),eM=!0},s.clearConfig=function(){te=null,eM=!1},s.isValidAttribute=function(e,t,r){return te||tn({}),tm(e9(e),e9(t),r)},s.addHook=function(e,t){"function"==typeof t&&g(ec[e],t)},s.removeHook=function(e,t){if(void 0!==t){let r=p(ec[e],t);return -1===r?void 0:v(ec[e],r,1)[0]}return m(ec[e])},s.removeHooks=function(e){ec[e]=[]},s.removeAllHooks=function(){ec=ee()},s}()},
vendor: 9,559 bytes, line 1
1"./node_modules/fast-png/lib-esm/PngDecoder.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r("./node_modules/iobuffer/lib-esm/IOBuffer.js"),s=r("./node_modules/pako/dist/pako.esm.mjs"),i=r("./node_modules/fast-png/lib-esm/helpers/crc.js"),o=r("./node_modules/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js"),a=r("./node_modules/fast-png/lib-esm/helpers/decodeInterlaceNull.js"),l=r("./node_modules/fast-png/lib-esm/helpers/signature.js"),u=r("./node_modules/fast-png/lib-esm/helpers/text.js"),c=r("./node_modules/fast-png/lib-esm/internalTypes.js");class h extends n.IOBuffer{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);let{checkCrc:r=!1}=t;this._checkCrc=r,this._inflator=new s.Inflate,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=c.CompressionMethod.UNKNOWN,this._filterMethod=c.FilterMethod.UNKNOWN,this._interlaceMethod=c.InterlaceMethod.UNKNOWN,this._colorType=c.ColorType.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for((0,l.checkSignature)(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for((0,l.checkSignature)(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){let r=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case u.textChunkName:(0,u.decodetEXt)(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-r!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,i.checkCrc)(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){let r=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=r+e}if(this.offset-r!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?(0,i.checkCrc)(this,e+4,t):this.skip(4)}decodeIHDR(){let e,t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw Error(`invalid bit depth: ${e}`);return e}(this.readUint8());let r=this.readUint8();switch(this._colorType=r,r){case c.ColorType.GREYSCALE:e=1;break;case c.ColorType.TRUECOLOUR:e=3;break;case c.ColorType.INDEXED_COLOUR:e=1;break;case c.ColorType.GREYSCALE_ALPHA:e=2;break;case c.ColorType.TRUECOLOUR_ALPHA:e=4;break;case c.ColorType.UNKNOWN:default:throw Error(`Unknown color type: ${r}`)}if(this._png.channels=e,this._compressionMethod=this.readUint8(),this._compressionMethod!==c.CompressionMethod.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);let t=e/3;this._hasPalette=!0;let r=[];this._palette=r;for(let e=0;e<t;e++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;let t=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,t,e)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,r=this.offset+this.byteOffset;if(r+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,r,t)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case c.ColorType.GREYSCALE:case c.ColorType.TRUECOLOUR:if(e%2!=0)throw RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case c.ColorType.INDEXED_COLOUR:{if(e>this._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){let e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}case c.ColorType.UNKNOWN:case c.ColorType.GREYSCALE_ALPHA:case c.ColorType.TRUECOLOUR_ALPHA:default:throw Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){let t=(0,u.readKeyword)(this),r=this.readUint8();if(r!==c.CompressionMethod.DEFLATE)throw Error(`Unsupported iCCP compression method: ${r}`);let n=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:(0,s.inflate)(n)}}decodepHYs(){let e=this.readUint32(),t=this.readUint32(),r=this.readByte();this._png.resolution={x:e,y:t,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){let t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(e);if(r){if(r.data=(0,a.decodeInterlaceNull)({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===r.xOffset&&0===r.yOffset&&r.width===this._png.width&&r.height===this._png.height)t.data=r.data;else{let n=this._apng.frames.at(e-1);this.disposeFrame(r,n,t),this.addFrameDataToCanvas(t,r)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,r){switch(e.disposeOp){case c.DisposeOpType.NONE:break;case c.DisposeOpType.BACKGROUND:for(let t=0;t<this._png.height;t++)for(let n=0;n<this._png.width;n++){let s=(t*e.width+n)*this._png.channels;for(let e=0;e<this._png.channels;e++)r.data[s+e]=0}break;case c.DisposeOpType.PREVIOUS:r.data.set(t.data);break;default:throw Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){let r=1<<this._png.depth,n=(e,r)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+r)*this._png.channels,frameIndex:(e*t.width+r)*this._png.channels});switch(t.blendOp){case c.BlendOpType.SOURCE:for(let r=0;r<t.height;r++)for(let s=0;s<t.width;s++){let{index:i,frameIndex:o}=n(r,s);for(let r=0;r<this._png.channels;r++)e.data[i+r]=t.data[o+r]}break;case c.BlendOpType.OVER:for(let s=0;s<t.height;s++)for(let i=0;i<t.width;i++){let{index:o,frameIndex:a}=n(s,i);for(let n=0;n<this._png.channels;n++){let s=t.data[a+this._png.channels-1]/r,i=Math.floor(s*(n%(this._png.channels-1)==0?1:t.data[a+n])+(1-s)*e.data[o+n]);e.data[o+n]+=i}}break;default:throw Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);let e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==c.FilterMethod.ADAPTIVE)throw Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===c.InterlaceMethod.NO_INTERLACE)this._png.data=(0,a.decodeInterlaceNull)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===c.InterlaceMethod.ADAM7)this._png.data=(0,o.decodeInterlaceAdam7)({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:c.DisposeOpType.NONE,blendOp:c.BlendOpType.SOURCE,data:e}),this._inflator=new s.Inflate,this._writingDataChunks=!1}}},
vendor: 4,319 bytes, line 1
1"./node_modules/fast-png/lib-esm/PngEncoder.js":function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r("./node_modules/iobuffer/lib-esm/IOBuffer.js"),s=r("./node_modules/pako/dist/pako.esm.mjs"),i=r("./node_modules/fast-png/lib-esm/helpers/crc.js"),o=r("./node_modules/fast-png/lib-esm/helpers/signature.js"),a=r("./node_modules/fast-png/lib-esm/helpers/text.js"),l=r("./node_modules/fast-png/lib-esm/internalTypes.js");let u={level:3};class c extends n.IOBuffer{_png;_zlibOptions;_colorType;_interlaceMethod;constructor(e,t={}){super(),this._colorType=l.ColorType.UNKNOWN,this._zlibOptions={...u,...t.zlib},this._png=this._checkData(e),this._interlaceMethod=("Adam7"===t.interlace?l.InterlaceMethod.ADAM7:l.InterlaceMethod.NO_INTERLACE)??l.InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if((0,o.writeSignature)(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),4===this._png.palette[0].length&&this.encodeTRNS()),this.encodeData(),this._png.text)for(let[e,t]of Object.entries(this._png.text))(0,a.encodetEXt)(this,e,t);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(l.CompressionMethod.DEFLATE),this.writeByte(l.FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),(0,i.writeCrc)(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),(0,i.writeCrc)(this,4)}encodePLTE(){let e=this._png.palette?.length*3;for(let t of(this.writeUint32(e),this.writeChars("PLTE"),this._png.palette))this.writeByte(t[0]),this.writeByte(t[1]),this.writeByte(t[2]);(0,i.writeCrc)(this,4+e)}encodeTRNS(){let e=this._png.palette.filter(e=>255!==e.at(-1));for(let t of(this.writeUint32(e.length),this.writeChars("tRNS"),e))this.writeByte(t.at(-1));(0,i.writeCrc)(this,4+e.length)}encodeIDAT(e){this.writeUint32(e.length),this.writeChars("IDAT"),this.writeBytes(e),(0,i.writeCrc)(this,e.length+4)}encodeData(){let{width:e,height:t,channels:r,depth:i,data:o}=this._png,a=i<=8?Math.ceil(e*i/8)*r:Math.ceil(e*i/8*r/2),u=new n.IOBuffer().setBigEndian(),c=0;if(this._interlaceMethod===l.InterlaceMethod.NO_INTERLACE)for(let e=0;e<t;e++)u.writeByte(0),c=16===i?function(e,t,r,n){for(let s=0;s<r;s++)t.writeUint16(e[n++]);return n}(o,u,a,c):function(e,t,r,n){for(let s=0;s<r;s++)t.writeByte(e[n++]);return n}(o,u,a,c);else this._interlaceMethod===l.InterlaceMethod.ADAM7&&(c=function(e,t,r,n){let s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:i,height:o,channels:a,depth:l}=e,u=0;u=16===l?a*l/8/2:a*l/8;for(let e=0;e<7;e++){let n=s[e],a=Math.floor((i-n.x+n.xStep-1)/n.xStep),c=Math.floor((o-n.y+n.yStep-1)/n.yStep);if(a<=0||c<=0)continue;let h=a*u;for(let e=0;e<c;e++){let s=n.y+e*n.yStep,c=l<=8?new Uint8Array(h):new Uint16Array(h),d=0;for(let e=0;e<a;e++){let r=n.x+e*n.xStep;if(r<i&&s<o){let e=(s*i+r)*u;for(let r=0;r<u;r++)c[d++]=t[e+r]}}if(r.writeByte(0),8===l)r.writeBytes(c);else if(16===l)for(let e of c)r.writeByte(e>>8&255),r.writeByte(255&e)}}return n}(this._png,o,u,c));let h=u.toArray(),d=(0,s.deflate)(h,this._zlibOptions);this.encodeIDAT(d)}_checkData(e){let{colorType:t,channels:r,depth:n}=function(e,t){let{channels:r=4,depth:n=8}=e;if(4!==r&&3!==r&&2!==r&&1!==r)throw RangeError(`unsupported number of channels: ${r}`);let s={channels:r,depth:n,colorType:l.ColorType.UNKNOWN};switch(r){case 4:s.colorType=l.ColorType.TRUECOLOUR_ALPHA;break;case 3:s.colorType=l.ColorType.TRUECOLOUR;break;case 1:t?s.colorType=l.ColorType.INDEXED_COLOUR:s.colorType=l.ColorType.GREYSCALE;break;case 2:s.colorType=l.ColorType.GREYSCALE_ALPHA;break;default:throw Error("unsupported number of channels")}return s}(e,e.palette),s={width:h(e.width,"width"),height:h(e.height,"height"),channels:r,data:e.data,depth:n,text:e.text,palette:e.palette};this._colorType=t;let i=n<8?Math.ceil(s.width*n/8)*s.height*r:s.width*s.height*r;if(s.data.length!==i)throw RangeError(`wrong data size. Found ${s.data.length}, expected ${i}`);return s}}function h(e,t){if(Number.isInteger(e)&&e>0)return e;throw TypeError(`${t} must be a positive integer`)}},
vendor: 873 bytes, line 1
1"./node_modules/fast-png/lib-esm/convertIndexedToRgb.js":function(e,t,r){"use strict";function n(e){let t=e.palette,r=e.depth;if(!t)throw Error("Color palette is undefined.");var n=e;let s=n.depth<8?Math.ceil(n.width*n.depth/8)*n.height*n.channels:n.width*n.height*n.channels;if(n.data.length!==s)throw RangeError(`wrong data size. Found ${n.data.length}, expected ${s}`);let i=e.width*e.height,o=new Uint8Array(i*t[0].length),a=0,l=0,u=new Uint8Array(i),c=255;switch(r){case 1:c=128;break;case 2:c=192;break;case 4:c=240;break;case 8:c=255;break;default:throw Error("Incorrect depth value")}for(let t of e.data){let n=c,s=8;for(;n&&(s-=r,u[a++]=(t&n)>>s,n>>=r,a%e.width!=0););}if(e.palette)for(let t of u){let r=e.palette.at(t);if(!r)throw Error("Incorrect index of palette color");o.set(r,l),l+=r.length}return o}r.r(t),r.d(t,{convertIndexedToRgb:function(){return n}})},
vendor: 495 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/applyUnfilter.js":function(e,t,r){"use strict";r.r(t),r.d(t,{applyUnfilter:function(){return s}});var n=r("./node_modules/fast-png/lib-esm/helpers/unfilter.js");function s(e,t,r,s,i,o){switch(e){case 0:(0,n.unfilterNone)(t,r,i);break;case 1:(0,n.unfilterSub)(t,r,i,o);break;case 2:(0,n.unfilterUp)(t,r,s,i);break;case 3:(0,n.unfilterAverage)(t,r,s,i,o);break;case 4:(0,n.unfilterPaeth)(t,r,s,i,o);break;default:throw Error(`Unsupported filter: ${e}`)}}},
vendor: 651 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/crc.js":function(e,t,r){"use strict";r.r(t),r.d(t,{checkCrc:function(){return i},writeCrc:function(){return o}});let n=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=0xedb88320^t>>>1:t>>>=1;n[e]=t}function s(e,t){return(0xffffffff^function(e,t,r){let s=0xffffffff;for(let e=0;e<r;e++)s=n[(s^t[e])&255]^s>>>8;return s}(0,e,t))>>>0}function i(e,t,r){let n=e.readUint32(),i=s(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(i!==n)throw Error(`CRC mismatch for chunk ${r}. Expected ${n}, found ${i}`)}function o(e,t){e.writeUint32(s(new Uint8Array(e.buffer,e.byteOffset+e.offset-t,t),t))}},
vendor: 1,105 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js":function(e,t,r){"use strict";r.r(t),r.d(t,{decodeInterlaceAdam7:function(){return i}});var n=r("./node_modules/fast-png/lib-esm/helpers/applyUnfilter.js");let s=255===new Uint8Array(new Uint16Array([255]).buffer)[0];function i(e){let{data:t,width:r,height:i,channels:o,depth:a}=e,l=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],u=Math.ceil(a/8)*o,c=new Uint8Array(i*r*u),h=0;for(let e=0;e<7;e++){let s=l[e],o=Math.ceil((r-s.x)/s.xStep),a=Math.ceil((i-s.y)/s.yStep);if(o<=0||a<=0)continue;let d=o*u,f=new Uint8Array(d);for(let e=0;e<a;e++){let a=t[h++],l=t.subarray(h,h+d);h+=d;let p=new Uint8Array(d);(0,n.applyUnfilter)(a,l,p,f,d,u),f.set(p);for(let t=0;t<o;t++){let n=s.x+t*s.xStep,o=s.y+e*s.yStep;if(!(n>=r)&&!(o>=i))for(let e=0;e<u;e++)c[(o*r+n)*u+e]=p[t*u+e]}}}if(16!==a)return c;{let e=new Uint16Array(c.buffer);if(s)for(let t=0;t<e.length;t++){var d;e[t]=(255&(d=e[t]))<<8|d>>8&255}return e}}},
vendor: 923 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/decodeInterlaceNull.js":function(e,t,r){"use strict";r.r(t),r.d(t,{decodeInterlaceNull:function(){return o}});var n=r("./node_modules/fast-png/lib-esm/helpers/unfilter.js");let s=255===new Uint8Array(new Uint16Array([255]).buffer)[0],i=new Uint8Array(0);function o(e){let t,r,{data:o,width:a,height:l,channels:u,depth:c}=e,h=Math.ceil(c/8)*u,d=Math.ceil(c/8*u*a),f=new Uint8Array(l*d),p=i,m=0;for(let e=0;e<l;e++){switch(t=o.subarray(m+1,m+1+d),r=f.subarray(e*d,(e+1)*d),o[m]){case 0:(0,n.unfilterNone)(t,r,d);break;case 1:(0,n.unfilterSub)(t,r,d,h);break;case 2:(0,n.unfilterUp)(t,r,p,d);break;case 3:(0,n.unfilterAverage)(t,r,p,d,h);break;case 4:(0,n.unfilterPaeth)(t,r,p,d,h);break;default:throw Error(`Unsupported filter: ${o[m]}`)}p=r,m+=d+1}if(16!==c)return f;{let e=new Uint16Array(f.buffer);if(s)for(let t=0;t<e.length;t++){var g;e[t]=(255&(g=e[t]))<<8|g>>8&255}return e}}},
vendor: 469 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/signature.js":function(e,t,r){"use strict";r.r(t),r.d(t,{checkSignature:function(){return i},hasPngSignature:function(){return o},writeSignature:function(){return s}});let n=Uint8Array.of(137,80,78,71,13,10,26,10);function s(e){e.writeBytes(n)}function i(e){if(!o(e.readBytes(n.length)))throw Error("wrong PNG signature")}function o(e){if(e.length<n.length)return!1;for(let t=0;t<n.length;t++)if(e[t]!==n[t])return!1;return!0}},
vendor: 946 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/text.js":function(e,t,r){"use strict";r.r(t),r.d(t,{decodetEXt:function(){return u},encodetEXt:function(){return c},readKeyword:function(){return h},readLatin1:function(){return d},textChunkName:function(){return s}});var n=r("./node_modules/fast-png/lib-esm/helpers/crc.js");let s="tEXt",i=new TextDecoder("latin1");function o(e){if(l(e),0===e.length||e.length>79)throw Error("keyword length must be between 1 and 79")}let a=/^[\u0000-\u00FF]*$/;function l(e){if(!a.test(e))throw Error("invalid latin1 text")}function u(e,t,r){let n=h(t);e[n]=d(t,r-n.length-1)}function c(e,t,r){o(t),l(r);let i=t.length+1+r.length;e.writeUint32(i),e.writeChars(s),e.writeChars(t),e.writeByte(0),e.writeChars(r),(0,n.writeCrc)(e,i+4)}function h(e){for(e.mark();0!==e.readByte(););let t=e.offset;e.reset();let r=i.decode(e.readBytes(t-e.offset-1));return e.skip(1),o(r),r}function d(e,t){return i.decode(e.readBytes(t))}},
vendor: 999 bytes, line 1
1"./node_modules/fast-png/lib-esm/helpers/unfilter.js":function(e,t,r){"use strict";function n(e,t,r){for(let n=0;n<r;n++)t[n]=e[n]}function s(e,t,r,n){let s=0;for(;s<n;s++)t[s]=e[s];for(;s<r;s++)t[s]=e[s]+t[s-n]&255}function i(e,t,r,n){let s=0;if(0===r.length)for(;s<n;s++)t[s]=e[s];else for(;s<n;s++)t[s]=e[s]+r[s]&255}function o(e,t,r,n,s){let i=0;if(0===r.length){for(;i<s;i++)t[i]=e[i];for(;i<n;i++)t[i]=e[i]+(t[i-s]>>1)&255}else{for(;i<s;i++)t[i]=e[i]+(r[i]>>1)&255;for(;i<n;i++)t[i]=e[i]+(t[i-s]+r[i]>>1)&255}}function a(e,t,r,n,s){let i=0;if(0===r.length){for(;i<s;i++)t[i]=e[i];for(;i<n;i++)t[i]=e[i]+t[i-s]&255}else{for(;i<s;i++)t[i]=e[i]+r[i]&255;for(;i<n;i++)t[i]=e[i]+function(e,t,r){let n=e+t-r,s=Math.abs(n-e),i=Math.abs(n-t),o=Math.abs(n-r);return s<=i&&s<=o?e:i<=o?t:r}(t[i-s],r[i],r[i-s])&255}}r.r(t),r.d(t,{unfilterAverage:function(){return o},unfilterNone:function(){return n},unfilterPaeth:function(){return a},unfilterSub:function(){return s},unfilterUp:function(){return i}})},
vendor: 798 bytes, line 1
1"./node_modules/fast-png/lib-esm/index.js":function(e,t,r){"use strict";r.r(t),r.d(t,{ResolutionUnitSpecifier:function(){return o.ResolutionUnitSpecifier},convertIndexedToRgb:function(){return a.convertIndexedToRgb},decode:function(){return l},decodeApng:function(){return c},encode:function(){return u},hasPngSignature:function(){return i.hasPngSignature}});var n=r("./node_modules/fast-png/lib-esm/PngDecoder.js"),s=r("./node_modules/fast-png/lib-esm/PngEncoder.js"),i=r("./node_modules/fast-png/lib-esm/helpers/signature.js"),o=r("./node_modules/fast-png/lib-esm/types.js"),a=r("./node_modules/fast-png/lib-esm/convertIndexedToRgb.js");function l(e,t){return new n.default(e,t).decode()}function u(e,t){return new s.default(e,t).encode()}function c(e,t){return new n.default(e,t).decodeApng()}},
vendor: 548 bytes, line 1
1"./node_modules/fast-png/lib-esm/internalTypes.js":function(e,t,r){"use strict";r.r(t),r.d(t,{BlendOpType:function(){return l},ColorType:function(){return n},CompressionMethod:function(){return s},DisposeOpType:function(){return a},FilterMethod:function(){return i},InterlaceMethod:function(){return o}});let n={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},s={UNKNOWN:-1,DEFLATE:0},i={UNKNOWN:-1,ADAPTIVE:0},o={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},a={NONE:0,BACKGROUND:1,PREVIOUS:2},l={SOURCE:0,OVER:1}},
vendor: 200 bytes, line 1
1"./node_modules/fast-png/lib-esm/types.js":function(e,t,r){"use strict";var n,s;r.r(t),r.d(t,{ResolutionUnitSpecifier:function(){return n}}),(s=n||(n={}))[s.UNKNOWN=0]="UNKNOWN",s[s.METRE=1]="METRE"},
vendor: 32,226 bytes, line 1
1"./node_modules/fflate/esm/browser.js":function(e,t,r){"use strict";r.r(t),r.d(t,{AsyncCompress:function(){return eI},AsyncDecompress:function(){return eZ},AsyncDeflate:function(){return eN},AsyncGunzip:function(){return eD},AsyncGzip:function(){return eI},AsyncInflate:function(){return eC},AsyncUnzipInflate:function(){return tf},AsyncUnzlib:function(){return eG},AsyncZipDeflate:function(){return ta},AsyncZlib:function(){return eq},Compress:function(){return eT},DecodeUTF8:function(){return e3},Decompress:function(){return e$},Deflate:function(){return eS},EncodeUTF8:function(){return e4},FlateErrorCode:function(){return T},Gunzip:function(){return eF},Gzip:function(){return eT},Inflate:function(){return eP},Unzip:function(){return tp},UnzipInflate:function(){return td},UnzipPassThrough:function(){return th},Unzlib:function(){return eW},Zip:function(){return tl},ZipDeflate:function(){return to},ZipPassThrough:function(){return ti},Zlib:function(){return eU},compress:function(){return eM},compressSync:function(){return eR},decompress:function(){return eK},decompressSync:function(){return eJ},deflate:function(){return eL},deflateSync:function(){return ek},gunzip:function(){return eB},gunzipSync:function(){return ez},gzip:function(){return eM},gzipSync:function(){return eR},inflate:function(){return eE},inflateSync:function(){return eO},strFromU8:function(){return e8},strToU8:function(){return e6},unzip:function(){return tg},unzipSync:function(){return tv},unzlib:function(){return eY},unzlibSync:function(){return eX},zip:function(){return tu},zipSync:function(){return tc},zlib:function(){return eV},zlibSync:function(){return eH}});var n={},s=function(e,t,r,s,i){var o=new Worker(n[t]||(n[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return o.onmessage=function(e){var t=e.data,r=t.$e$;if(r){var n=Error(r[0]);n.code=r[1],n.stack=r[2],i(n,null)}else i(null,t)},o.postMessage(r,s),o},i=Uint8Array,o=Uint16Array,a=Int32Array,l=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),u=new i([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,0,0]),c=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=function(e,t){for(var r=new o(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];for(var s=new a(r[30]),n=1;n<30;++n)for(var i=r[n];i<r[n+1];++i)s[i]=i-r[n]<<5|n;return{b:r,r:s}},d=h(l,2),f=d.b,p=d.r;f[28]=258,p[258]=28;for(var m=h(u,0),g=m.b,v=m.r,y=new o(32768),b=0;b<32768;++b){var _=(43690&b)>>1|(21845&b)<<1;_=(61680&(_=(52428&_)>>2|(13107&_)<<2))>>4|(3855&_)<<4,y[b]=((65280&_)>>8|(255&_)<<8)>>1}for(var j=function(e,t,r){for(var n,s=e.length,i=0,a=new o(t);i<s;++i)e[i]&&++a[e[i]-1];var l=new o(t);for(i=1;i<t;++i)l[i]=l[i-1]+a[i-1]<<1;if(r){n=new o(1<<t);var u=15-t;for(i=0;i<s;++i)if(e[i])for(var c=i<<4|e[i],h=t-e[i],d=l[e[i]-1]++<<h,f=d|(1<<h)-1;d<=f;++d)n[y[d]>>u]=c}else for(i=0,n=new o(s);i<s;++i)e[i]&&(n[i]=y[l[e[i]-1]++]>>15-e[i]);return n},w=new i(288),b=0;b<144;++b)w[b]=8;for(var b=144;b<256;++b)w[b]=9;for(var b=256;b<280;++b)w[b]=7;for(var b=280;b<288;++b)w[b]=8;for(var x=new i(32),b=0;b<32;++b)x[b]=5;var A=j(w,9,0),S=j(w,9,1),N=j(x,5,0),L=j(x,5,1),k=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},P=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},C=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},E=function(e){return(e+7)/8|0},O=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new i(e.subarray(t,r))},T={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},I=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],M=function(e,t,r){var n=Error(t||I[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,M),!r)throw n;return n},R=function(e,t,r,n){var s=e.length,o=n?n.length:0;if(!s||t.f&&!t.l)return r||new i(0);var a=!r,h=a||2!=t.i,d=t.i;a&&(r=new i(3*s));var p=function(e){var t=r.length;if(e>t){var n=new i(Math.max(2*t,e));n.set(r),r=n}},m=t.f||0,v=t.p||0,y=t.b||0,b=t.l,_=t.d,w=t.m,x=t.n,A=8*s;do{if(!b){m=P(e,v,1);var N=P(e,v+1,3);if(v+=3,N)if(1==N)b=S,_=L,w=9,x=5;else if(2==N){var T=P(e,v,31)+257,I=P(e,v+10,15)+4,R=T+P(e,v+5,31)+1;v+=14;for(var F=new i(R),D=new i(19),B=0;B<I;++B)D[c[B]]=P(e,v+3*B,7);v+=3*I;for(var z=k(D),U=(1<<z)-1,q=j(D,z,1),B=0;B<R;){var V=q[P(e,v,U)];v+=15&V;var H=V>>4;if(H<16)F[B++]=H;else{var W=0,G=0;for(16==H?(G=3+P(e,v,3),v+=2,W=F[B-1]):17==H?(G=3+P(e,v,7),v+=3):18==H&&(G=11+P(e,v,127),v+=7);G--;)F[B++]=W}}var Y=F.subarray(0,T),X=F.subarray(T);w=k(Y),x=k(X),b=j(Y,w,1),_=j(X,x,1)}else M(1);else{var H=E(v)+4,$=e[H-4]|e[H-3]<<8,Z=H+$;if(Z>s){d&&M(0);break}h&&p(y+$),r.set(e.subarray(H,Z),y),t.b=y+=$,t.p=v=8*Z,t.f=m;continue}if(v>A){d&&M(0);break}}h&&p(y+131072);for(var K=(1<<w)-1,J=(1<<x)-1,Q=v;;Q=v){var W=b[C(e,v)&K],ee=W>>4;if((v+=15&W)>A){d&&M(0);break}if(W||M(2),ee<256)r[y++]=ee;else if(256==ee){Q=v,b=null;break}else{var et=ee-254;if(ee>264){var B=ee-257,er=l[B];et=P(e,v,(1<<er)-1)+f[B],v+=er}var en=_[C(e,v)&J],es=en>>4;en||M(3),v+=15&en;var X=g[es];if(es>3){var er=u[es];X+=C(e,v)&(1<<er)-1,v+=er}if(v>A){d&&M(0);break}h&&p(y+131072);var ei=y+et;if(y<X){var eo=o-X,ea=Math.min(X,ei);for(eo+y<0&&M(3);y<ea;++y)r[y]=n[eo+y]}for(;y<ei;++y)r[y]=r[y-X]}}t.l=b,t.p=Q,t.b=y,t.f=m,b&&(m=1,t.m=w,t.d=_,t.n=x)}while(!m);return y!=r.length&&a?O(r,0,y):r.subarray(0,y)},F=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},D=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},B=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var s=r.length,a=r.slice();if(!s)return{t:G,l:0};if(1==s){var l=new i(r[0].s+1);return l[r[0].s]=1,{t:l,l:1}}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var u=r[0],c=r[1],h=0,d=1,f=2;for(r[0]={s:-1,f:u.f+c.f,l:u,r:c};d!=s-1;)u=r[r[h].f<r[f].f?h++:f++],c=r[h!=d&&r[h].f<r[f].f?h++:f++],r[d++]={s:-1,f:u.f+c.f,l:u,r:c};for(var p=a[0].s,n=1;n<s;++n)a[n].s>p&&(p=a[n].s);var m=new o(p+1),g=z(r[d-1],m,0);if(g>t){var n=0,v=0,y=g-t,b=1<<y;for(a.sort(function(e,t){return m[t.s]-m[e.s]||e.f-t.f});n<s;++n){var _=a[n].s;if(m[_]>t)v+=b-(1<<g-m[_]),m[_]=t;else break}for(v>>=y;v>0;){var j=a[n].s;m[j]<t?v-=1<<t-m[j]++-1:++n}for(;n>=0&&v;--n){var w=a[n].s;m[w]==t&&(--m[w],++v)}g=t}return{t:new i(m),l:g}},z=function(e,t,r){return -1==e.s?Math.max(z(e.l,t,r+1),z(e.r,t,r+1)):t[e.s]=r},U=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new o(++t),n=0,s=e[0],i=1,a=function(e){r[n++]=e},l=1;l<=t;++l)if(e[l]==s&&l!=t)++i;else{if(!s&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(s),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(s);i=1,s=e[l]}return{c:r.subarray(0,n),n:t}},q=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},V=function(e,t,r){var n=r.length,s=E(t+2);e[s]=255&n,e[s+1]=n>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var i=0;i<n;++i)e[s+i+4]=r[i];return(s+4+n)*8},H=function(e,t,r,n,s,i,a,h,d,f,p){F(t,p++,r),++s[256];for(var m,g,v,y,b=B(s,15),_=b.t,S=b.l,L=B(i,15),k=L.t,P=L.l,C=U(_),E=C.c,O=C.n,T=U(k),I=T.c,M=T.n,R=new o(19),z=0;z<E.length;++z)++R[31&E[z]];for(var z=0;z<I.length;++z)++R[31&I[z]];for(var H=B(R,7),W=H.t,G=H.l,Y=19;Y>4&&!W[c[Y-1]];--Y);var X=f+5<<3,$=q(s,w)+q(i,x)+a,Z=q(s,_)+q(i,k)+a+14+3*Y+q(R,W)+2*R[16]+3*R[17]+7*R[18];if(d>=0&&X<=$&&X<=Z)return V(t,p,e.subarray(d,d+f));if(F(t,p,1+(Z<$)),p+=2,Z<$){m=j(_,S,0),g=_,v=j(k,P,0),y=k;var K=j(W,G,0);F(t,p,O-257),F(t,p+5,M-1),F(t,p+10,Y-4),p+=14;for(var z=0;z<Y;++z)F(t,p+3*z,W[c[z]]);p+=3*Y;for(var J=[E,I],Q=0;Q<2;++Q)for(var ee=J[Q],z=0;z<ee.length;++z){var et=31&ee[z];F(t,p,K[et]),p+=W[et],et>15&&(F(t,p,ee[z]>>5&127),p+=ee[z]>>12)}}else m=A,g=w,v=N,y=x;for(var z=0;z<h;++z){var er=n[z];if(er>255){var et=er>>18&31;D(t,p,m[et+257]),p+=g[et+257],et>7&&(F(t,p,er>>23&31),p+=l[et]);var en=31&er;D(t,p,v[en]),p+=y[en],en>3&&(D(t,p,er>>5&8191),p+=u[en])}else D(t,p,m[er]),p+=g[er]}return D(t,p,m[256]),p+g[256]},W=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),G=new i(0),Y=function(e,t,r,n,s,c){var h=c.z||e.length,d=new i(n+h+5*(1+Math.ceil(h/7e3))+s),f=d.subarray(n,d.length-s),m=c.l,g=7&(c.r||0);if(t){g&&(f[0]=c.r>>3);for(var y=W[t-1],b=y>>13,_=8191&y,j=(1<<r)-1,w=c.p||new o(32768),x=c.h||new o(j+1),A=Math.ceil(r/3),S=2*A,N=function(t){return(e[t]^e[t+1]<<A^e[t+2]<<S)&j},L=new a(25e3),k=new o(288),P=new o(32),C=0,T=0,I=c.i||0,M=0,R=c.w||0,F=0;I+2<h;++I){var D=N(I),B=32767&I,z=x[D];if(w[B]=z,x[D]=B,R<=I){var U=h-I;if((C>7e3||M>24576)&&(U>423||!m)){g=H(e,f,0,L,k,P,T,M,F,I-F,g),M=C=T=0,F=I;for(var q=0;q<286;++q)k[q]=0;for(var q=0;q<30;++q)P[q]=0}var G=2,Y=0,X=_,$=B-z&32767;if(U>2&&D==N(I-$))for(var Z=Math.min(b,U)-1,K=Math.min(32767,I),J=Math.min(258,U);$<=K&&--X&&B!=z;){if(e[I+G]==e[I+G-$]){for(var Q=0;Q<J&&e[I+Q]==e[I+Q-$];++Q);if(Q>G){if(G=Q,Y=$,Q>Z)break;for(var ee=Math.min($,Q-2),et=0,q=0;q<ee;++q){var er=I-$+q&32767,en=w[er],es=er-en&32767;es>et&&(et=es,z=er)}}}z=w[B=z],$+=B-z&32767}if(Y){L[M++]=0x10000000|p[G]<<18|v[Y];var ei=31&p[G],eo=31&v[Y];T+=l[ei]+u[eo],++k[257+ei],++P[eo],R=I+G,++C}else L[M++]=e[I],++k[e[I]]}}for(I=Math.max(I,R);I<h;++I)L[M++]=e[I],++k[e[I]];g=H(e,f,m,L,k,P,T,M,F,I-F,g),m||(c.r=7&g|f[g/8|0]<<3,g-=7,c.h=x,c.p=w,c.i=I,c.w=R)}else{for(var I=c.w||0;I<h+m;I+=65535){var ea=I+65535;ea>=h&&(f[g/8|0]=m,ea=h),g=V(f,g+1,e.subarray(I,ea))}c.i=h}return O(d,0,n+E(g)+s)},X=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-0x12477ce0)^r>>>1;e[t]=r}return e}(),$=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=X[255&r^t[n]]^r>>>8;e=r},d:function(){return~e}}},Z=function(){var e=1,t=0;return{p:function(r){for(var n=e,s=t,i=0|r.length,o=0;o!=i;){for(var a=Math.min(o+2655,i);o<a;++o)s+=n+=r[o];n=(65535&n)+15*(n>>16),s=(65535&s)+15*(s>>16)}e=n,t=s},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},K=function(e,t,r,n,s){if(!s&&(s={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),a=new i(o.length+e.length);a.set(o),a.set(e,o.length),e=a,s.w=o.length}return Y(e,null==t.level?6:t.level,null==t.mem?s.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,s)},J=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Q=function(e,t,r){for(var n=e(),s=e.toString(),i=s.slice(s.indexOf("[")+1,s.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o<n.length;++o){var a=n[o],l=i[o];if("function"==typeof a){t+=";"+l+"=";var u=a.toString();if(a.prototype)if(-1!=u.indexOf("[native code]")){var c=u.indexOf(" ",8)+1;t+=u.slice(c,u.indexOf("(",c))}else for(var h in t+=u,a.prototype)t+=";"+l+".prototype."+h+"="+a.prototype[h].toString();else t+=u}else r[l]=a}return t},ee=[],et=function(e){var t=[];for(var r in e)e[r].buffer&&t.push((e[r]=new e[r].constructor(e[r])).buffer);return t},er=function(e,t,r,n){if(!ee[r]){for(var i="",o={},a=e.length-1,l=0;l<a;++l)i=Q(e[l],i,o);ee[r]={c:Q(e[a],i,o),e:o}}var u=J({},ee[r].e);return s(ee[r].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+t.toString()+"}",r,u,et(u),n)},en=function(){return[i,o,a,l,u,c,f,g,S,L,y,I,j,k,P,C,E,O,M,R,eO,eu,ec]},es=function(){return[i,o,a,l,u,c,p,v,A,w,N,x,y,W,G,j,F,D,B,z,U,q,V,H,E,O,Y,K,ek,eu]},ei=function(){return[ey,ej,ev,$,X]},eo=function(){return[eb,e_]},ea=function(){return[ew,ev,Z]},el=function(){return[ex]},eu=function(e){return postMessage(e,[e.buffer])},ec=function(e){return e&&{out:e.size&&new i(e.size),dictionary:e.dictionary}},eh=function(e,t,r,n,s,i){var o=er(r,n,s,function(e,t){o.terminate(),i(e,t)});return o.postMessage([e,t],t.consume?[e.buffer]:[]),function(){o.terminate()}},ed=function(e){return e.ondata=function(e,t){return postMessage([e,t],[e.buffer])},function(t){t.data.length?(e.push(t.data[0],t.data[1]),postMessage([t.data[0].length])):e.flush()}},ef=function(e,t,r,n,s,i,o){var a,l=er(e,n,s,function(e,r){e?(l.terminate(),t.ondata.call(t,e)):Array.isArray(r)?1==r.length?(t.queuedSize-=r[0],t.ondrain&&t.ondrain(r[0])):(r[1]&&l.terminate(),t.ondata.call(t,e,r[0],r[1])):o(r)});l.postMessage(r),t.queuedSize=0,t.push=function(e,r){t.ondata||M(5),a&&t.ondata(M(4,0,1),null,!!r),t.queuedSize+=e.length,l.postMessage([e,a=r],[e.buffer])},t.terminate=function(){l.terminate()},i&&(t.flush=function(){l.postMessage([])})},ep=function(e,t){return e[t]|e[t+1]<<8},em=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},eg=function(e,t){return em(e,t)+0x100000000*em(e,t+4)},ev=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},ey=function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:2*(9==t.level),e[9]=3,0!=t.mtime&&ev(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}},eb=function(e){(31!=e[0]||139!=e[1]||8!=e[2])&&M(6,"invalid gzip data");var t=e[3],r=10;4&t&&(r+=(e[10]|e[11]<<8)+2);for(var n=(t>>3&1)+(t>>4&1);n>0;n-=!e[r++]);return r+(2&t)},e_=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},ej=function(e){return 10+(e.filename?e.filename.length+1:0)},ew=function(e,t){var r=t.level;if(e[0]=120,e[1]=(0==r?0:r<6?1:9==r?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var n=Z();n.p(t.dictionary),ev(e,2,n.d())}},ex=function(e,t){return((15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&M(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&M(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function eA(e,t){return"function"==typeof e&&(t=e,e={}),this.ondata=t,e}var eS=function(){function e(e,t){if("function"==typeof e&&(t=e,e={}),this.ondata=t,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new i(98304),this.o.dictionary){var r=this.o.dictionary.subarray(-32768);this.b.set(r,32768-r.length),this.s.i=32768-r.length}}return e.prototype.p=function(e,t){this.ondata(K(e,this.o,0,0,this.s),t)},e.prototype.push=function(e,t){this.ondata||M(5),this.s.l&&M(4);var r=e.length+this.s.z;if(r>this.b.length){if(r>2*this.b.length-32768){var n=new i(-32768&r);n.set(this.b.subarray(0,this.s.z)),this.b=n}var s=this.b.length-this.s.z;this.b.set(e.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(s),32768),this.s.z=e.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=1&t,(this.s.z>this.s.w+8191||t)&&(this.p(this.b,t||!1),this.s.w=this.s.i,this.s.i-=2)},e.prototype.flush=function(){this.ondata||M(5),this.s.l&&M(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},e}(),eN=function(e,t){ef([es,function(){return[ed,eS]}],this,eA.call(this,e,t),function(e){onmessage=ed(new eS(e.data))},6,1)};function eL(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[es],function(e){return eu(ek(e.data[0],e.data[1]))},0,r)}function ek(e,t){return K(e,t||{},0,0)}var eP=function(){function e(e,t){"function"==typeof e&&(t=e,e={}),this.ondata=t;var r=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:r?r.length:0},this.o=new i(32768),this.p=new i(0),r&&this.o.set(r)}return e.prototype.e=function(e){if(this.ondata||M(5),this.d&&M(4),this.p.length){if(e.length){var t=new i(this.p.length+e.length);t.set(this.p),t.set(e,this.p.length),this.p=t}}else this.p=e},e.prototype.c=function(e){this.s.i=+(this.d=e||!1);var t=this.s.b,r=R(this.p,this.s,this.o);this.ondata(O(r,t,this.s.b),this.d),this.o=O(r,this.s.b-32768),this.s.b=this.o.length,this.p=O(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(e,t){this.e(e),this.c(t)},e}(),eC=function(e,t){ef([en,function(){return[ed,eP]}],this,eA.call(this,e,t),function(e){onmessage=ed(new eP(e.data))},7,0)};function eE(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[en],function(e){return eu(eO(e.data[0],ec(e.data[1])))},1,r)}function eO(e,t){return R(e,{i:2},t&&t.out,t&&t.dictionary)}var eT=function(){function e(e,t){this.c=$(),this.l=0,this.v=1,eS.call(this,e,t)}return e.prototype.push=function(e,t){this.c.p(e),this.l+=e.length,eS.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){var r=K(e,this.o,this.v&&ej(this.o),t&&8,this.s);this.v&&(ey(r,this.o),this.v=0),t&&(ev(r,r.length-8,this.c.d()),ev(r,r.length-4,this.l)),this.ondata(r,t)},e.prototype.flush=function(){eS.prototype.flush.call(this)},e}(),eI=function(e,t){ef([es,ei,function(){return[ed,eS,eT]}],this,eA.call(this,e,t),function(e){onmessage=ed(new eT(e.data))},8,1)};function eM(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[es,ei,function(){return[eR]}],function(e){return eu(eR(e.data[0],e.data[1]))},2,r)}function eR(e,t){t||(t={});var r=$(),n=e.length;r.p(e);var s=K(e,t,ej(t),8),i=s.length;return ey(s,t),ev(s,i-8,r.d()),ev(s,i-4,n),s}var eF=function(){function e(e,t){this.v=1,this.r=0,eP.call(this,e,t)}return e.prototype.push=function(e,t){if(eP.prototype.e.call(this,e),this.r+=e.length,this.v){var r=this.p.subarray(this.v-1),n=r.length>3?eb(r):4;if(n>r.length){if(!t)return}else this.v>1&&this.onmember&&this.onmember(this.r-r.length);this.p=r.subarray(n),this.v=0}eP.prototype.c.call(this,t),!this.s.f||this.s.l||t||(this.v=E(this.s.p)+9,this.s={i:0},this.o=new i(0),this.push(new i(0),t))},e}(),eD=function(e,t){var r=this;ef([en,eo,function(){return[ed,eP,eF]}],this,eA.call(this,e,t),function(e){var t=new eF(e.data);t.onmember=function(e){return postMessage(e)},onmessage=ed(t)},9,0,function(e){return r.onmember&&r.onmember(e)})};function eB(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[en,eo,function(){return[ez]}],function(e){return eu(ez(e.data[0],e.data[1]))},3,r)}function ez(e,t){var r=eb(e);return r+8>e.length&&M(6,"invalid gzip data"),R(e.subarray(r,-8),{i:2},t&&t.out||new i(e_(e)),t&&t.dictionary)}var eU=function(){function e(e,t){this.c=Z(),this.v=1,eS.call(this,e,t)}return e.prototype.push=function(e,t){this.c.p(e),eS.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){var r=K(e,this.o,this.v&&(this.o.dictionary?6:2),t&&4,this.s);this.v&&(ew(r,this.o),this.v=0),t&&ev(r,r.length-4,this.c.d()),this.ondata(r,t)},e.prototype.flush=function(){eS.prototype.flush.call(this)},e}(),eq=function(e,t){ef([es,ea,function(){return[ed,eS,eU]}],this,eA.call(this,e,t),function(e){onmessage=ed(new eU(e.data))},10,1)};function eV(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[es,ea,function(){return[eH]}],function(e){return eu(eH(e.data[0],e.data[1]))},4,r)}function eH(e,t){t||(t={});var r=Z();r.p(e);var n=K(e,t,t.dictionary?6:2,4);return ew(n,t),ev(n,n.length-4,r.d()),n}var eW=function(){function e(e,t){eP.call(this,e,t),this.v=e&&e.dictionary?2:1}return e.prototype.push=function(e,t){if(eP.prototype.e.call(this,e),this.v){if(this.p.length<6&&!t)return;this.p=this.p.subarray(ex(this.p,this.v-1)),this.v=0}t&&(this.p.length<4&&M(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),eP.prototype.c.call(this,t)},e}(),eG=function(e,t){ef([en,el,function(){return[ed,eP,eW]}],this,eA.call(this,e,t),function(e){onmessage=ed(new eW(e.data))},11,0)};function eY(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),eh(e,t,[en,el,function(){return[eX]}],function(e){return eu(eX(e.data[0],ec(e.data[1])))},5,r)}function eX(e,t){return R(e.subarray(ex(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var e$=function(){function e(e,t){this.o=eA.call(this,e,t)||{},this.G=eF,this.I=eP,this.Z=eW}return e.prototype.i=function(){var e=this;this.s.ondata=function(t,r){e.ondata(t,r)}},e.prototype.push=function(e,t){if(this.ondata||M(5),this.s)this.s.push(e,t);else{if(this.p&&this.p.length){var r=new i(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length)}else this.p=e;this.p.length>2&&(this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(this.o):(15&this.p[0])!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,t),this.p=null)}},e}(),eZ=function(){function e(e,t){e$.call(this,e,t),this.queuedSize=0,this.G=eD,this.I=eC,this.Z=eG}return e.prototype.i=function(){var e=this;this.s.ondata=function(t,r,n){e.ondata(t,r,n)},this.s.ondrain=function(t){e.queuedSize-=t,e.ondrain&&e.ondrain(t)}},e.prototype.push=function(e,t){this.queuedSize+=e.length,e$.prototype.push.call(this,e,t)},e}();function eK(e,t,r){return r||(r=t,t={}),"function"!=typeof r&&M(7),31==e[0]&&139==e[1]&&8==e[2]?eB(e,t,r):(15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?eE(e,t,r):eY(e,t,r)}function eJ(e,t){return 31==e[0]&&139==e[1]&&8==e[2]?ez(e,t):(15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?eO(e,t):eX(e,t)}var eQ=function(e,t,r,n){for(var s in e){var o=e[s],a=t+s,l=n;Array.isArray(o)&&(l=J(n,o[1]),o=o[0]),o instanceof i?r[a]=[o,l]:(r[a+="/"]=[new i(0),l],eQ(o,a,r,n))}},e0="undefined"!=typeof TextEncoder&&new TextEncoder,e1="undefined"!=typeof TextDecoder&&new TextDecoder,e2=0;try{e1.decode(G,{stream:!0}),e2=1}catch(e){}var e5=function(e){for(var t="",r=0;;){var n=e[r++],s=(n>127)+(n>223)+(n>239);if(r+s>e.length)return{s:t,r:O(e,r-1)};s?3==s?t+=String.fromCharCode(55296|(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536)>>10,56320|1023&n):1&s?t+=String.fromCharCode((31&n)<<6|63&e[r++]):t+=String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}},e3=function(){function e(e){this.ondata=e,e2?this.t=new TextDecoder:this.p=G}return e.prototype.push=function(e,t){if(this.ondata||M(5),t=!!t,this.t){this.ondata(this.t.decode(e,{stream:!0}),t),t&&(this.t.decode().length&&M(8),this.t=null);return}this.p||M(4);var r=new i(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length);var n=e5(r),s=n.s,o=n.r;t?(o.length&&M(8),this.p=null):this.p=o,this.ondata(s,t)},e}(),e4=function(){function e(e){this.ondata=e}return e.prototype.push=function(e,t){this.ondata||M(5),this.d&&M(4),this.ondata(e6(e),this.d=t||!1)},e}();function e6(e,t){if(t){for(var r=new i(e.length),n=0;n<e.length;++n)r[n]=e.charCodeAt(n);return r}if(e0)return e0.encode(e);for(var s=e.length,o=new i(e.length+(e.length>>1)),a=0,l=function(e){o[a++]=e},n=0;n<s;++n){if(a+5>o.length){var u=new i(a+8+(s-n<<1));u.set(o),o=u}var c=e.charCodeAt(n);c<128||t?l(c):(c<2048?l(192|c>>6):(c>55295&&c<57344?(l(240|(c=65536+(1047552&c)|1023&e.charCodeAt(++n))>>18),l(128|c>>12&63)):l(224|c>>12),l(128|c>>6&63)),l(128|63&c))}return O(o,0,a)}function e8(e,t){if(t){for(var r="",n=0;n<e.length;n+=16384)r+=String.fromCharCode.apply(null,e.subarray(n,n+16384));return r}if(e1)return e1.decode(e);var s=e5(e),i=s.s,r=s.r;return r.length&&M(8),i}var e7=function(e){return 1==e?3:e<6?2:+(9==e)},e9=function(e,t){return t+30+ep(e,t+26)+ep(e,t+28)},te=function(e,t,r){var n=ep(e,t+28),s=e8(e.subarray(t+46,t+46+n),!(2048&ep(e,t+8))),i=t+46+n,o=em(e,t+20),a=r&&0xffffffff==o?tt(e,i):[o,em(e,t+24),em(e,t+42)],l=a[0],u=a[1],c=a[2];return[ep(e,t+10),l,u,s,i+ep(e,t+30)+ep(e,t+32),c]},tt=function(e,t){for(;1!=ep(e,t);t+=4+ep(e,t+2));return[eg(e,t+12),eg(e,t+4),eg(e,t+20)]},tr=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;n>65535&&M(9),t+=n+4}return t},tn=function(e,t,r,n,s,i,o,a){var l=n.length,u=r.extra,c=a&&a.length,h=tr(u);ev(e,t,null!=o?0x2014b50:0x4034b50),t+=4,null!=o&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(i<0&&8),e[t++]=s&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var d=new Date(null==r.mtime?Date.now():r.mtime),f=d.getFullYear()-1980;if((f<0||f>119)&&M(10),ev(e,t,f<<25|d.getMonth()+1<<21|d.getDate()<<16|d.getHours()<<11|d.getMinutes()<<5|d.getSeconds()>>1),t+=4,-1!=i&&(ev(e,t,r.crc),ev(e,t+4,i<0?-i-2:i),ev(e,t+8,r.size)),ev(e,t+12,l),ev(e,t+14,h),t+=16,null!=o&&(ev(e,t,c),ev(e,t+6,r.attrs),ev(e,t+10,o),t+=14),e.set(n,t),t+=l,h)for(var p in u){var m=u[p],g=m.length;ev(e,t,+p),ev(e,t+2,g),e.set(m,t+4),t+=4+g}return c&&(e.set(a,t),t+=c),t},ts=function(e,t,r,n,s){ev(e,t,0x6054b50),ev(e,t+8,r),ev(e,t+10,r),ev(e,t+12,n),ev(e,t+16,s)},ti=function(){function e(e){this.filename=e,this.c=$(),this.size=0,this.compression=0}return e.prototype.process=function(e,t){this.ondata(null,e,t)},e.prototype.push=function(e,t){this.ondata||M(5),this.c.p(e),this.size+=e.length,t&&(this.crc=this.c.d()),this.process(e,t||!1)},e}(),to=function(){function e(e,t){var r=this;t||(t={}),ti.call(this,e),this.d=new eS(t,function(e,t){r.ondata(null,e,t)}),this.compression=8,this.flag=e7(t.level)}return e.prototype.process=function(e,t){try{this.d.push(e,t)}catch(e){this.ondata(e,null,t)}},e.prototype.push=function(e,t){ti.prototype.push.call(this,e,t)},e}(),ta=function(){function e(e,t){var r=this;t||(t={}),ti.call(this,e),this.d=new eN(t,function(e,t,n){r.ondata(e,t,n)}),this.compression=8,this.flag=e7(t.level),this.terminate=this.d.terminate}return e.prototype.process=function(e,t){this.d.push(e,t)},e.prototype.push=function(e,t){ti.prototype.push.call(this,e,t)},e}(),tl=function(){function e(e){this.ondata=e,this.u=[],this.d=1}return e.prototype.add=function(e){var t=this;if(this.ondata||M(5),2&this.d)this.ondata(M(4+(1&this.d)*8,0,1),null,!1);else{var r=e6(e.filename),n=r.length,s=e.comment,o=s&&e6(s),a=n!=e.filename.length||o&&s.length!=o.length,l=n+tr(e.extra)+30;n>65535&&this.ondata(M(11,0,1),null,!1);var u=new i(l);tn(u,0,e,r,a,-1);var c=[u],h=function(){for(var e=0,r=c;e<r.length;e++){var n=r[e];t.ondata(null,n,!1)}c=[]},d=this.d;this.d=0;var f=this.u.length,p=J(e,{f:r,u:a,o:o,t:function(){e.terminate&&e.terminate()},r:function(){if(h(),d){var e=t.u[f+1];e?e.r():t.d=1}d=1}}),m=0;e.ondata=function(r,n,s){if(r)t.ondata(r,n,s),t.terminate();else if(m+=n.length,c.push(n),s){var o=new i(16);ev(o,0,0x8074b50),ev(o,4,e.crc),ev(o,8,m),ev(o,12,e.size),c.push(o),p.c=m,p.b=l+m+16,p.crc=e.crc,p.size=e.size,d&&p.r(),d=1}else d&&h()},this.u.push(p)}},e.prototype.end=function(){var e=this;if(2&this.d)return void this.ondata(M(4+(1&this.d)*8,0,1),null,!0);this.d?this.e():this.u.push({r:function(){1&e.d&&(e.u.splice(-1,1),e.e())},t:function(){}}),this.d=3},e.prototype.e=function(){for(var e=0,t=0,r=0,n=0,s=this.u;n<s.length;n++){var o=s[n];r+=46+o.f.length+tr(o.extra)+(o.o?o.o.length:0)}for(var a=new i(r+22),l=0,u=this.u;l<u.length;l++){var o=u[l];tn(a,e,o,o.f,o.u,-o.c-2,t,o.o),e+=46+o.f.length+tr(o.extra)+(o.o?o.o.length:0),t+=o.b}ts(a,e,this.u.length,r,t),this.ondata(null,a,!0),this.d=2},e.prototype.terminate=function(){for(var e=0,t=this.u;e<t.length;e++)t[e].t();this.d=2},e}();function tu(e,t,r){r||(r=t,t={}),"function"!=typeof r&&M(7);var n={};eQ(e,"",n,t);var s=Object.keys(n),o=s.length,a=0,l=0,u=o,c=Array(o),h=[],d=function(){for(var e=0;e<h.length;++e)h[e]()},f=function(e,t){tm(function(){r(e,t)})};tm(function(){f=r});var p=function(){var e=new i(l+22),t=a,r=l-a;l=0;for(var n=0;n<u;++n){var s=c[n];try{var o=s.c.length;tn(e,l,s,s.f,s.u,o);var h=30+s.f.length+tr(s.extra),d=l+h;e.set(s.c,d),tn(e,a,s,s.f,s.u,o,l,s.m),a+=16+h+(s.m?s.m.length:0),l=d+o}catch(e){return f(e,null)}}ts(e,a,c.length,r,t),f(null,e)};o||p();for(var m=function(e){var t=s[e],r=n[t],i=r[0],u=r[1],m=$(),g=i.length;m.p(i);var v=e6(t),y=v.length,b=u.comment,_=b&&e6(b),j=_&&_.length,w=tr(u.extra),x=8*(0!=u.level),A=function(r,n){if(r)d(),f(r,null);else{var s=n.length;c[e]=J(u,{size:g,crc:m.d(),c:n,f:v,m:_,u:y!=t.length||_&&b.length!=j,compression:x}),a+=30+y+w+s,l+=76+2*(y+w)+(j||0)+s,--o||p()}};if(y>65535&&A(M(11,0,1),null),x)if(g<16e4)try{A(null,ek(i,u))}catch(e){A(e,null)}else h.push(eL(i,u,A));else A(null,i)},g=0;g<u;++g)m(g);return d}function tc(e,t){t||(t={});var r={},n=[];eQ(e,"",r,t);var s=0,o=0;for(var a in r){var l=r[a],u=l[0],c=l[1],h=8*(0!=c.level),d=e6(a),f=d.length,p=c.comment,m=p&&e6(p),g=m&&m.length,v=tr(c.extra);f>65535&&M(11);var y=h?ek(u,c):u,b=y.length,_=$();_.p(u),n.push(J(c,{size:u.length,crc:_.d(),c:y,f:d,m:m,u:f!=a.length||m&&p.length!=g,o:s,compression:h})),s+=30+f+v+b,o+=76+2*(f+v)+(g||0)+b}for(var j=new i(o+22),w=s,x=o-s,A=0;A<n.length;++A){var d=n[A];tn(j,d.o,d,d.f,d.u,d.c.length);var S=30+d.f.length+tr(d.extra);j.set(d.c,d.o+S),tn(j,s,d,d.f,d.u,d.c.length,d.o,d.m),s+=16+S+(d.m?d.m.length:0)}return ts(j,s,n.length,x,w),j}var th=function(){function e(){}return e.prototype.push=function(e,t){this.ondata(null,e,t)},e.compression=0,e}(),td=function(){function e(){var e=this;this.i=new eP(function(t,r){e.ondata(null,t,r)})}return e.prototype.push=function(e,t){try{this.i.push(e,t)}catch(e){this.ondata(e,null,t)}},e.compression=8,e}(),tf=function(){function e(e,t){var r=this;t<32e4?this.i=new eP(function(e,t){r.ondata(null,e,t)}):(this.i=new eC(function(e,t,n){r.ondata(e,t,n)}),this.terminate=this.i.terminate)}return e.prototype.push=function(e,t){this.i.terminate&&(e=O(e,0)),this.i.push(e,t)},e.compression=8,e}(),tp=function(){function e(e){this.onfile=e,this.k=[],this.o={0:th},this.p=G}return e.prototype.push=function(e,t){var r=this;if(this.onfile||M(5),this.p||M(4),this.c>0){var n=Math.min(this.c,e.length),s=e.subarray(0,n);if(this.c-=n,this.d?this.d.push(s,!this.c):this.k[0].push(s),(e=e.subarray(n)).length)return this.push(e,t)}else{var o=0,a=0,l=void 0,u=void 0;this.p.length?e.length?((u=new i(this.p.length+e.length)).set(this.p),u.set(e,this.p.length)):u=this.p:u=e;for(var c=u.length,h=this.c,d=h&&this.d,f=this;a<c-4&&"break"!==function(){var e=em(u,a);if(0x4034b50==e){o=1,l=a,f.d=null,f.c=0;var t=ep(u,a+6),n=ep(u,a+8),s=8&t,i=ep(u,a+26),d=ep(u,a+28);if(c>a+30+i+d){var p,m,g=[];f.k.unshift(g),o=2;var v=em(u,a+18),y=em(u,a+22),b=e8(u.subarray(a+30,a+=30+i),!(2048&t));0xffffffff==v?(v=(p=s?[-2]:tt(u,a))[0],y=p[1]):s&&(v=-1),a+=d,f.c=v;var _={name:b,compression:n,start:function(){if(_.ondata||M(5),v){var e=r.o[n];e||_.ondata(M(14,"unknown compression type "+n,1),null,!1),(m=v<0?new e(b):new e(b,v,y)).ondata=function(e,t,r){_.ondata(e,t,r)};for(var t=0;t<g.length;t++){var s=g[t];m.push(s,!1)}r.k[0]==g&&r.c?r.d=m:m.push(G,!0)}else _.ondata(null,G,!0)},terminate:function(){m&&m.terminate&&m.terminate()}};v>=0&&(_.size=v,_.originalSize=y),f.onfile(_)}return"break"}if(h){if(0x8074b50==e)return l=a+=12+(-2==h&&8),o=3,f.c=0,"break";else if(0x2014b50==e)return l=a-=4,o=3,f.c=0,"break"}}();++a);if(this.p=G,h<0){var p=o?u.subarray(0,l-12-(-2==h&&8)-(0x8074b50==em(u,l-16)&&4)):u.subarray(0,a);d?d.push(p,!!o):this.k[+(2==o)].push(p)}if(2&o)return this.push(u.subarray(a),t);this.p=u.subarray(a)}t&&(this.c&&M(13),this.p=null)},e.prototype.register=function(e){this.o[e.compression]=e},e}(),tm="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(e){e()};function tg(e,t,r){r||(r=t,t={}),"function"!=typeof r&&M(7);var n=[],s=function(){for(var e=0;e<n.length;++e)n[e]()},o={},a=function(e,t){tm(function(){r(e,t)})};tm(function(){a=r});for(var l=e.length-22;0x6054b50!=em(e,l);--l)if(!l||e.length-l>65558)return a(M(13,0,1),null),s;var u=ep(e,l+8);if(u){var c=u,h=em(e,l+16),d=0xffffffff==h||65535==c;if(d){var f=em(e,l-12);(d=0x6064b50==em(e,f))&&(c=u=em(e,f+32),h=em(e,f+48))}for(var p=t&&t.filter,m=0;m<c;++m)!function(t){var r=te(e,h,d),l=r[0],c=r[1],f=r[2],m=r[3],g=r[4],v=e9(e,r[5]);h=g;var y=function(e,t){e?(s(),a(e,null)):(t&&(o[m]=t),--u||a(null,o))};if(!p||p({name:m,size:c,originalSize:f,compression:l}))if(l)if(8==l){var b=e.subarray(v,v+c);if(f<524288||c>.8*f)try{y(null,eO(b,{out:new i(f)}))}catch(e){y(e,null)}else n.push(eE(b,{size:f},y))}else y(M(14,"unknown compression type "+l,1),null);else y(null,O(e,v,v+c));else y(null,null)}(0)}else a(null,{});return s}function tv(e,t){for(var r={},n=e.length-22;0x6054b50!=em(e,n);--n)(!n||e.length-n>65558)&&M(13);var s=ep(e,n+8);if(!s)return{};var o=em(e,n+16),a=0xffffffff==o||65535==s;if(a){var l=em(e,n-12);(a=0x6064b50==em(e,l))&&(s=em(e,l+32),o=em(e,l+48))}for(var u=t&&t.filter,c=0;c<s;++c){var h=te(e,o,a),d=h[0],f=h[1],p=h[2],m=h[3],g=h[4],v=e9(e,h[5]);o=g,(!u||u({name:m,size:f,originalSize:p,compression:d}))&&(d?8==d?r[m]=eO(e.subarray(v,v+f),{out:new i(p)}):M(14,"unknown compression type "+d):r[m]=O(e,v,v+f))}return r}},
vendor: 5,678 bytes, line 1
1"./node_modules/iobuffer/lib-esm/IOBuffer.js":function(e,t,r){"use strict";r.r(t),r.d(t,{IOBuffer:function(){return o}});var n=r("./node_modules/iobuffer/lib-esm/text.js");let s=(()=>{let e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),i={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class o{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let r=!1;"number"==typeof e?e=new ArrayBuffer(e):(r=!0,this.lastWrittenByte=e.byteLength);let n=t.offset?t.offset>>>0:0,s=e.byteLength-n,i=n;(ArrayBuffer.isView(e)||e instanceof o)&&(e.byteLength!==e.buffer.byteLength&&(i=e.byteOffset+n),e=e.buffer),r?this.lastWrittenByte=s:this.lastWrittenByte=0,this.buffer=e,this.length=s,this.byteLength=s,this.byteOffset=i,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,i,s),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let e=this._marks.pop();if(void 0===e)throw Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){let t=2*(this.offset+e),r=new Uint8Array(t);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){let r=i[t].BYTES_PER_ELEMENT*e,n=this.byteOffset+this.offset,o=this.buffer.slice(n,n+r);if(this.littleEndian===s&&"uint8"!==t&&"int8"!==t){let e=new Uint8Array(this.buffer.slice(n,n+r));e.reverse();let s=new i[t](e.buffer);return this.offset+=r,s.reverse(),s}let a=new i[t](o);return this.offset+=r,a}readInt16(){let e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){let e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){let e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){let e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){let e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){let e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){let e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){let e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let r=0;r<e;r++)t+=this.readChar();return t}readUtf8(e=1){return(0,n.decode)(this.readBytes(e))}decodeText(e=1,t="utf8"){return(0,n.decode)(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(255*!!e),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes((0,n.encode)(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}},
vendor: 259 bytes, line 1
1"./node_modules/iobuffer/lib-esm/text.js":function(e,t,r){"use strict";function n(e,t="utf8"){return new TextDecoder(t).decode(e)}r.r(t),r.d(t,{decode:function(){return n},encode:function(){return i}});let s=new TextEncoder;function i(e){return s.encode(e)}},
vendor: 330,495 bytes, line 1
1"./node_modules/jspdf/dist/jspdf.es.min.js":function(e,t,n){"use strict";n.r(t),n.d(t,{AcroForm:function(){return ek},AcroFormAppearance:function(){return eN},AcroFormButton:function(){return eb},AcroFormCheckBox:function(){return ex},AcroFormChoiceField:function(){return em},AcroFormComboBox:function(){return ev},AcroFormEditBox:function(){return ey},AcroFormListBox:function(){return eg},AcroFormPasswordField:function(){return eS},AcroFormPushButton:function(){return e_},AcroFormRadioButton:function(){return ej},AcroFormTextField:function(){return eA},GState:function(){return R},ShadingPattern:function(){return D},TilingPattern:function(){return B},default:function(){return z},jsPDF:function(){return z}});var s=n("./node_modules/@babel/runtime/helpers/esm/typeof.js"),i=n("./node_modules/fflate/esm/browser.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("./node_modules/fast-png/lib-esm/index.js"),l=function(){return"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:this}();function u(){l.console&&"function"==typeof l.console.log&&l.console.log.apply(l.console,arguments)}var c=function(e){l.console&&("function"==typeof l.console.warn?l.console.warn.apply(l.console,arguments):u.call(null,arguments))},h=function(e){l.console&&("function"==typeof l.console.error?l.console.error.apply(l.console,arguments):u(e))};function d(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){m(n.response,t,r)},n.onerror=function(){h("could not download file")},n.send()}function f(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function p(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var m=l.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,s.default)(window))||window!==l?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,r){var n=l.URL||l.webkitURL,s=document.createElement("a");s.download=t=t||e.name||"download",s.rel="noopener","string"==typeof e?(s.href=e,s.origin!==location.origin?f(s.href)?d(e,t,r):p(s,s.target="_blank"):p(s)):(s.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(s.href)},4e4),setTimeout(function(){p(s)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(f(e))d(e,t,r);else{var n,i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){p(i)})}else navigator.msSaveOrOpenBlob((void 0===(n=r)?n={autoBom:!1}:"object"!==(0,s.default)(n)&&(c("Deprecated: Expected third argument to be a object"),n={autoBom:!n}),n.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e),t)}:function(e,t,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof e)return d(e,t,r);var i="application/octet-stream"===e.type,o=/constructor/i.test(l.HTMLElement)||l.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o)&&"object"===("undefined"==typeof FileReader?"undefined":(0,s.default)(FileReader))){var u=new FileReader;u.onloadend=function(){var e=u.result;e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=e:location=e,n=null},u.readAsDataURL(e)}else{var c=l.URL||l.webkitURL,h=c.createObjectURL(e);n?n.location=h:location.href=h,n=null,setTimeout(function(){c.revokeObjectURL(h)},4e4)}});function g(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"})[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var s=r[n].re,i=r[n].process,o=s.exec(e);o&&(t=i(o),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r}}var v=l.atob.bind(l),y=l.btoa.bind(l);function b(e,t){var r=e[0],n=e[1],s=e[2],i=e[3];r=j(r,n,s,i,t[0],7,-0x28955b88),i=j(i,r,n,s,t[1],12,-0x173848aa),s=j(s,i,r,n,t[2],17,0x242070db),n=j(n,s,i,r,t[3],22,-0x3e423112),r=j(r,n,s,i,t[4],7,-0xa83f051),i=j(i,r,n,s,t[5],12,0x4787c62a),s=j(s,i,r,n,t[6],17,-0x57cfb9ed),n=j(n,s,i,r,t[7],22,-0x2b96aff),r=j(r,n,s,i,t[8],7,0x698098d8),i=j(i,r,n,s,t[9],12,-0x74bb0851),s=j(s,i,r,n,t[10],17,-42063),n=j(n,s,i,r,t[11],22,-0x76a32842),r=j(r,n,s,i,t[12],7,0x6b901122),i=j(i,r,n,s,t[13],12,-0x2678e6d),s=j(s,i,r,n,t[14],17,-0x5986bc72),r=w(r,n=j(n,s,i,r,t[15],22,0x49b40821),s,i,t[1],5,-0x9e1da9e),i=w(i,r,n,s,t[6],9,-0x3fbf4cc0),s=w(s,i,r,n,t[11],14,0x265e5a51),n=w(n,s,i,r,t[0],20,-0x16493856),r=w(r,n,s,i,t[5],5,-0x29d0efa3),i=w(i,r,n,s,t[10],9,0x2441453),s=w(s,i,r,n,t[15],14,-0x275e197f),n=w(n,s,i,r,t[4],20,-0x182c0438),r=w(r,n,s,i,t[9],5,0x21e1cde6),i=w(i,r,n,s,t[14],9,-0x3cc8f82a),s=w(s,i,r,n,t[3],14,-0xb2af279),n=w(n,s,i,r,t[8],20,0x455a14ed),r=w(r,n,s,i,t[13],5,-0x561c16fb),i=w(i,r,n,s,t[2],9,-0x3105c08),s=w(s,i,r,n,t[7],14,0x676f02d9),r=x(r,n=w(n,s,i,r,t[12],20,-0x72d5b376),s,i,t[5],4,-378558),i=x(i,r,n,s,t[8],11,-0x788e097f),s=x(s,i,r,n,t[11],16,0x6d9d6122),n=x(n,s,i,r,t[14],23,-0x21ac7f4),r=x(r,n,s,i,t[1],4,-0x5b4115bc),i=x(i,r,n,s,t[4],11,0x4bdecfa9),s=x(s,i,r,n,t[7],16,-0x944b4a0),n=x(n,s,i,r,t[10],23,-0x41404390),r=x(r,n,s,i,t[13],4,0x289b7ec6),i=x(i,r,n,s,t[0],11,-0x155ed806),s=x(s,i,r,n,t[3],16,-0x2b10cf7b),n=x(n,s,i,r,t[6],23,0x4881d05),r=x(r,n,s,i,t[9],4,-0x262b2fc7),i=x(i,r,n,s,t[12],11,-0x1924661b),s=x(s,i,r,n,t[15],16,0x1fa27cf8),r=A(r,n=x(n,s,i,r,t[2],23,-0x3b53a99b),s,i,t[0],6,-0xbd6ddbc),i=A(i,r,n,s,t[7],10,0x432aff97),s=A(s,i,r,n,t[14],15,-0x546bdc59),n=A(n,s,i,r,t[5],21,-0x36c5fc7),r=A(r,n,s,i,t[12],6,0x655b59c3),i=A(i,r,n,s,t[3],10,-0x70f3336e),s=A(s,i,r,n,t[10],15,-1051523),n=A(n,s,i,r,t[1],21,-0x7a7ba22f),r=A(r,n,s,i,t[8],6,0x6fa87e4f),i=A(i,r,n,s,t[15],10,-0x1d31920),s=A(s,i,r,n,t[6],15,-0x5cfebcec),n=A(n,s,i,r,t[13],21,0x4e0811a1),r=A(r,n,s,i,t[4],6,-0x8ac817e),i=A(i,r,n,s,t[11],10,-0x42c50dcb),s=A(s,i,r,n,t[2],15,0x2ad7d2bb),n=A(n,s,i,r,t[9],21,-0x14792c6f),e[0]=C(r,e[0]),e[1]=C(n,e[1]),e[2]=C(s,e[2]),e[3]=C(i,e[3])}function _(e,t,r,n,s,i){return t=C(C(t,e),C(n,i)),C(t<<s|t>>>32-s,r)}function j(e,t,r,n,s,i,o){return _(t&r|~t&n,e,t,s,i,o)}function w(e,t,r,n,s,i,o){return _(t&n|r&~n,e,t,s,i,o)}function x(e,t,r,n,s,i,o){return _(t^r^n,e,t,s,i,o)}function A(e,t,r,n,s,i,o){return _(r^(t|~n),e,t,s,i,o)}function S(e){var t,r=e.length,n=[0x67452301,-0x10325477,-0x67452302,0x10325476];for(t=64;t<=e.length;t+=64)b(n,function(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}(e.substring(t-64,t)));e=e.substring(t-64);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)s[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(b(n,s),t=0;t<16;t++)s[t]=0;return s[14]=8*r,b(n,s),n}var N="0123456789abcdef".split("");function L(e){return String.fromCharCode(255&e,(65280&e)>>8,(0xff0000&e)>>16,(0xff000000&e)>>24)}function k(e){return S(e).map(L).join("")}var P="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=function(e){for(var t="",r=0;r<4;r++)t+=N[e>>8*r+4&15]+N[e>>8*r&15];return t}(e[t]);return e.join("")}(S("hello"));function C(e,t){if(P){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}return e+t|0}function E(e,t){if(e!==r){for(var r,n,s=Array(1+(256/e.length|0)+1).join(e),i=[],o=0;o<256;o++)i[o]=o;var a=0;for(o=0;o<256;o++){var l=i[o];a=(a+l+s.charCodeAt(o))%256,i[o]=i[a],i[a]=l}r=e,n=i}else i=n;var u=t.length,c=0,h=0,d="";for(o=0;o<u;o++)h=(h+(l=i[c=(c+1)%256]))%256,i[c]=i[h],i[h]=l,s=i[(i[c]+i[h])%256],d+=String.fromCharCode(t.charCodeAt(o)^s);return d}var O={print:4,modify:8,copy:16,"annot-forms":32};function T(e,t,r,n){this.v=1,this.r=2;var s=192;e.forEach(function(e){if(void 0!==O.perm)throw Error("Invalid permission: "+e);s+=O[e]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var i=(t+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,o),this.P=-(1+(255^s)),this.encryptionKey=k(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=E(this.encryptionKey,this.padding)}function I(e){if(/[^\u0000-\u00ff]/.test(e))throw Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",r=e.length,n=0;n<r;n++){var s=e.charCodeAt(n);t+=s<33||35===s||37===s||40===s||41===s||47===s||60===s||62===s||91===s||93===s||123===s||125===s||s>126?"#"+("0"+s.toString(16)).slice(-2):e[n]}return t}function M(e){if("object"!==(0,s.default)(e))throw Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,r,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof r||"boolean"!=typeof n)throw Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var s=Math.random().toString(35);return t[e][s]=[r,!!n],s},this.unsubscribe=function(e){for(var r in t)if(t[r][e])return delete t[r][e],0===Object.keys(t[r]).length&&delete t[r],!0;return!1},this.publish=function(r){if(t.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),s=[];for(var i in t[r]){var o=t[r][i];try{o[0].apply(e,n)}catch(e){l.console&&h("jsPDF PubSub Error",e.message,e)}o[1]&&s.push(i)}s.length&&s.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function R(e){if(!(this instanceof R))return new R(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function F(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function D(e,t,r,n,s){if(!(this instanceof D))return new D(e,t,r,n,s);this.type="axial"===e?2:3,this.coords=t,this.colors=r,F.call(this,n,s)}function B(e,t,r,n,s){if(!(this instanceof B))return new B(e,t,r,n,s);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,F.call(this,n,s)}function z(e){var t,r="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],i=arguments[2],o=arguments[3],a=[],u=1,h=16,d="S",f=null;"object"===(0,s.default)(e=e||{})&&(r=e.orientation,n=e.unit||n,i=e.format||i,o=e.compress||e.compressPdf||o,null!==(f=e.encryption||null)&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(h=e.floatPrecision),d=e.defaultPathOperation||"S"),a=e.filters||(!0===o?["FlateEncode"]:a),n=n||"mm",r=(""+(r||"P")).toLowerCase();var p=e.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=M;var _="1.3",j=b.__private__.getPdfVersion=function(){return _};b.__private__.setPdfVersion=function(e){_=e};var w={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return w};var x=b.__private__.getPageFormat=function(e){return w[e]};i=i||"a4";var A="compat",S="advanced",N=A;function L(){this.saveGraphicsState(),ec(new eH(eS,0,0,-eS,0,ri()*eS).toString()+" cm"),this.setFontSize(this.getFontSize()/eS),d="n",N=S}function k(){this.restoreGraphicsState(),d="S",N=A}var P=b.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};b.advancedAPI=function(e){var t=N===A;return t&&L.call(this),"function"!=typeof e||(e(this),t&&k.call(this)),this},b.compatAPI=function(e){var t=N===S;return t&&k.call(this),"function"!=typeof e||(e(this),t&&L.call(this)),this},b.isAdvancedAPI=function(){return N===S};var C,E=function(e){if(N!==S)throw Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},O=b.roundToPrecision=b.__private__.roundToPrecision=function(e,r){var n=t||r;if(isNaN(e)||isNaN(n))throw Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};C=b.hpf=b.__private__.hpf="number"==typeof h?function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return O(e,h)}:"smart"===h?function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return O(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.hpf");return O(e,16)};var F=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.f2");return O(e,2)},U=b.__private__.f3=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.f3");return O(e,3)},q=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.scale");return N===A?e*eS:N===S?e:void 0},V=function(e){return q(N===A?ri()-e:N===S?e:void 0)};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var H,W="00000000000000000000000000000000",G=b.__private__.getFileId=function(){return W},Y=b.__private__.setFileId=function(e){return W=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():W.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==f&&(tj=new T(f.userPermissions,f.userPassword,f.ownerPassword,W)),W};b.setFileId=function(e){return Y(e),this},b.getFileId=function(){return G()};var X=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),s=(t<0?"+":"-")+Q(r)+"'"+Q(n)+"'";return"D:"+e.getFullYear()+Q(e.getMonth()+1)+Q(e.getDate())+Q(e.getHours())+Q(e.getMinutes())+Q(e.getSeconds())+s},$=b.__private__.convertPDFDateToDate=function(e){return new Date(parseInt(e.substr(2,4),10),parseInt(e.substr(6,2),10)-1,parseInt(e.substr(8,2),10),parseInt(e.substr(10,2),10),parseInt(e.substr(12,2),10),parseInt(e.substr(14,2),10),0)},Z=b.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=X(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return H=t},K=b.__private__.getCreationDate=function(e){var t=H;return"jsDate"===e&&(t=$(H)),t};b.setCreationDate=function(e){return Z(e),this},b.getCreationDate=function(e){return K(e)};var J,Q=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},et=0,er=[],en=[],es=0,ei=[],eo=[],ea=!1,el=en;b.__private__.setCustomOutputDestination=function(e){ea=!0,el=e};var eu=function(e){ea||(el=e)};b.__private__.resetCustomOutputDestination=function(){ea=!1,el=en};var ec=b.__private__.out=function(e){return e=e.toString(),es+=e.length+1,el.push(e),el},eh=b.__private__.write=function(e){return ec(1==arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ed=b.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},ef=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ef};var ep=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return ep=N===S?e/eS:e,this};var em,eg=b.__private__.getFontSize=b.getFontSize=function(){return N===A?ep:ep*eS},ev=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return ev=e,this},b.__private__.getR2L=b.getR2L=function(){return ev};var ey,eb=b.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))em=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');em=e}else em=parseInt(e,10)};b.__private__.getZoomMode=function(){return em};var e_,ej=b.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ey=e};b.__private__.getPageMode=function(){return ey};var ew=b.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');e_=e};b.__private__.getLayoutMode=function(){return e_},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,r){return eb(e),ew(t),ej(r),this};var ex={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ex).indexOf(e))throw Error("Invalid argument passed to jsPDF.getDocumentProperty");return ex[e]},b.__private__.getDocumentProperties=function(){return ex},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in ex)ex.hasOwnProperty(t)&&e[t]&&(ex[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ex).indexOf(e))throw Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ex[e]=t};var eA,eS,eN,eL,ek,eP={},eC={},eE=[],eO={},eT={},eI={},eM={},eR=null,eF=0,eD=[],eB=new M(b),ez=e.hotfixes||[],eU={},eq={},eV=[],eH=function e(t,r,n,s,i,o){if(!(this instanceof e))return new e(t,r,n,s,i,o);isNaN(t)&&(t=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(s)&&(s=1),isNaN(i)&&(i=0),isNaN(o)&&(o=0),this._matrix=[t,r,n,s,i,o]};Object.defineProperty(eH.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(eH.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(eH.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(eH.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(eH.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(eH.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(eH.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(eH.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(eH.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(eH.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(eH.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(eH.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(eH.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(eH.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(eH.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(eH.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),eH.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(C).join(e)},eH.prototype.multiply=function(e){return new eH(e.sx*this.sx+e.shy*this.shx,e.sx*this.shy+e.shy*this.sy,e.shx*this.sx+e.sy*this.shx,e.shx*this.shy+e.sy*this.sy,e.tx*this.sx+e.ty*this.shx+this.tx,e.tx*this.shy+e.ty*this.sy+this.ty)},eH.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,s=this.tx,i=this.ty,o=Math.sqrt(e*e+t*t),a=(e/=o)*r+(t/=o)*n,l=Math.sqrt((r-=e*a)*r+(n-=t*a)*n);return a/=l,e*(n/=l)<t*(r/=l)&&(e=-e,t=-t,a=-a,o=-o),{scale:new eH(o,0,0,l,0,0),translate:new eH(1,0,0,1,s,i),rotate:new eH(e,t,-t,e,0,0),skew:new eH(1,0,a,1,0,0)}},eH.prototype.toString=function(e){return this.join(" ")},eH.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,s=this.tx,i=this.ty,o=1/(e*n-t*r),a=n*o,l=-t*o,u=-r*o,c=e*o;return new eH(a,l,u,c,-a*s-u*i,-l*s-c*i)},eH.prototype.applyToPoint=function(e){return new t3(e.x*this.sx+e.y*this.shx+this.tx,e.x*this.shy+e.y*this.sy+this.ty)},eH.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new t3(e.x+e.w,e.y+e.h));return new t4(t.x,t.y,r.x-t.x,r.y-t.y)},eH.prototype.clone=function(){return new eH(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},b.Matrix=eH;var eW=b.matrixMult=function(e,t){return t.multiply(e)},eG=new eH(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=eG;var eY=function(e,t){if(!eT[e]){var r=(t instanceof D?"Sh":"P")+(Object.keys(eO).length+1).toString(10);t.id=r,eT[e]=r,eO[r]=t,eB.publish("addPattern",t)}};b.ShadingPattern=D,b.TilingPattern=B,b.addShadingPattern=function(e,t){return E("addShadingPattern()"),eY(e,t),this},b.beginTilingPattern=function(e){E("beginTilingPattern()"),t8(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){E("endTilingPattern()"),t.stream=eo[J].join("\n"),eY(e,t),eB.publish("endTilingPattern",t),eV.pop().restore()};var eX,e$=b.__private__.newObject=function(){var e=eZ();return eK(e,!0),e},eZ=b.__private__.newObjectDeferred=function(){return er[++et]=function(){return es},et},eK=function(e,t){return t="boolean"==typeof t&&t,er[e]=es,t&&ec(e+" 0 obj"),e},eJ=b.__private__.newAdditionalObject=function(){var e={objId:eZ(),content:""};return ei.push(e),e},eQ=eZ(),e0=eZ(),e1=b.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",s=0;s<3;s++)n+=("0"+Math.floor(255*parseFloat(t[s])).toString(16)).slice(-2);return n},e2=b.__private__.encodeColorString=function(e){"string"==typeof e&&(e={ch1:e});var t,r=e.ch1,n=e.ch2,i=e.ch3,o=e.ch4,a="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var l=new g(r);if(l.ok)r=l.toHex();else if(!/^\d*\.?\d*$/.test(r))throw Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var u=parseInt(r.substr(1),16);r=u>>16&255,n=u>>8&255,i=255&u}if(void 0===n||void 0===o&&r===n&&n===i)t="string"==typeof r?r+" "+a[0]:2===e.precision?F(r/255)+" "+a[0]:U(r/255)+" "+a[0];else if(void 0===o||"object"===(0,s.default)(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1. 1. 1.",a[1]].join(" ");t="string"==typeof r?[r,n,i,a[1]].join(" "):2===e.precision?[F(r/255),F(n/255),F(i/255),a[1]].join(" "):[U(r/255),U(n/255),U(i/255),a[1]].join(" ")}else t="string"==typeof r?[r,n,i,o,a[2]].join(" "):2===e.precision?[F(r),F(n),F(i),F(o),a[2]].join(" "):[U(r),U(n),U(i),U(o),a[2]].join(" ");return t},e5=b.__private__.getFilters=function(){return a},e3=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||e5(),n=e.alreadyAppliedFilters||[],s=e.addLength1||!1,i=t.length,o=e.objectId,a=function(e){return e};if(null!==f&&void 0===o)throw Error("ObjectId must be passed to putStream for file encryption");null!==f&&(a=tj.encryptor(o,0));var l={};!0===r&&(r=["FlateEncode"]);var u=e.additionalKeyValues||[],c=(l=void 0!==z.API.processDataByFilters?z.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==l.data.length&&(u.push({key:"Length",value:l.data.length}),!0===s&&u.push({key:"Length1",value:i})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var h=0;h<u.length;h+=1)if("DecodeParms"===u[h].key){for(var d=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)d.push("null");d.push(u[h].value),u[h].value="["+d.join(" ")+"]"}}ec("<<");for(var m=0;m<u.length;m++)ec("/"+u[m].key+" "+u[m].value);ec(">>"),0!==l.data.length&&(ec("stream"),ec(a(l.data)),ec("endstream"))},e4=b.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,s=e.contentsObjId;eK(n,!0),ec("<</Type /Page"),ec("/Parent "+e.rootDictionaryObjId+" 0 R"),ec("/Resources "+e.resourceDictionaryObjId+" 0 R"),ec("/MediaBox ["+parseFloat(C(e.mediaBox.bottomLeftX))+" "+parseFloat(C(e.mediaBox.bottomLeftY))+" "+C(e.mediaBox.topRightX)+" "+C(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ec("/CropBox ["+C(e.cropBox.bottomLeftX)+" "+C(e.cropBox.bottomLeftY)+" "+C(e.cropBox.topRightX)+" "+C(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ec("/BleedBox ["+C(e.bleedBox.bottomLeftX)+" "+C(e.bleedBox.bottomLeftY)+" "+C(e.bleedBox.topRightX)+" "+C(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ec("/TrimBox ["+C(e.trimBox.bottomLeftX)+" "+C(e.trimBox.bottomLeftY)+" "+C(e.trimBox.topRightX)+" "+C(e.trimBox.topRightY)+"]"),null!==e.artBox&&ec("/ArtBox ["+C(e.artBox.bottomLeftX)+" "+C(e.artBox.bottomLeftY)+" "+C(e.artBox.topRightX)+" "+C(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ec("/UserUnit "+e.userUnit),eB.publish("putPage",{objId:n,pageContext:eD[t],pageNumber:t,page:r}),ec("/Contents "+s+" 0 R"),ec(">>"),ec("endobj");var i=r.join("\n");return N===S&&(i+="\nQ"),eK(s,!0),e3({data:i,filters:e5(),objectId:s}),ec("endobj"),n},e6=b.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=eF;e++)eD[e].objId=eZ(),eD[e].contentsObjId=eZ();for(e=1;e<=eF;e++)r.push(e4({number:e,data:eo[e],objId:eD[e].objId,contentsObjId:eD[e].contentsObjId,mediaBox:eD[e].mediaBox,cropBox:eD[e].cropBox,bleedBox:eD[e].bleedBox,trimBox:eD[e].trimBox,artBox:eD[e].artBox,userUnit:eD[e].userUnit,rootDictionaryObjId:eQ,resourceDictionaryObjId:e0}));eK(eQ,!0),ec("<</Type /Pages");var n="/Kids [";for(t=0;t<eF;t++)n+=r[t]+" 0 R ";ec(n+"]"),ec("/Count "+eF),ec(">>"),ec("endobj"),eB.publish("postPutPages")},e8=function(e){eB.publish("putFont",{font:e,out:ec,newObject:e$,putStream:e3}),!0!==e.isAlreadyPutted&&(e.objectNumber=e$(),ec("<<"),ec("/Type /Font"),ec("/BaseFont /"+I(e.postScriptName)),ec("/Subtype /Type1"),"string"==typeof e.encoding&&ec("/Encoding /"+e.encoding),ec("/FirstChar 32"),ec("/LastChar 255"),ec(">>"),ec("endobj"))},e7=function(e){e.objectNumber=e$();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[C(e.x),C(e.y),C(e.x+e.width),C(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),e3({data:e.pages[1].join("\n"),additionalKeyValues:t,objectId:e.objectNumber}),ec("endobj")},e9=function(e,t){t||(t=21);var r=e$(),n=function(e,t){var r,n=[],s=1/(t-1);for(r=0;r<1;r+=s)n.push(r);if(n.push(1),0!=e[0].offset){var i={offset:0,color:e[0].color};e.unshift(i)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var a="",l=0,u=0;u<n.length;u++){for(r=n[u];r>e[l+1].offset;)l++;var c=e[l].offset,h=(r-c)/(e[l+1].offset-c),d=e[l].color,f=e[l+1].color;a+=ee(Math.round((1-h)*d[0]+h*f[0]).toString(16))+ee(Math.round((1-h)*d[1]+h*f[1]).toString(16))+ee(Math.round((1-h)*d[2]+h*f[2]).toString(16))}return a.trim()}(e.colors,t),s=[];s.push({key:"FunctionType",value:"0"}),s.push({key:"Domain",value:"[0.0 1.0]"}),s.push({key:"Size",value:"["+t+"]"}),s.push({key:"BitsPerSample",value:"8"}),s.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),s.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),e3({data:n,additionalKeyValues:s,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ec("endobj"),e.objectNumber=e$(),ec("<< /ShadingType "+e.type),ec("/ColorSpace /DeviceRGB");var i="/Coords ["+C(parseFloat(e.coords[0]))+" "+C(parseFloat(e.coords[1]))+" ";2===e.type?i+=C(parseFloat(e.coords[2]))+" "+C(parseFloat(e.coords[3])):i+=C(parseFloat(e.coords[2]))+" "+C(parseFloat(e.coords[3]))+" "+C(parseFloat(e.coords[4]))+" "+C(parseFloat(e.coords[5])),ec(i+="]"),e.matrix&&ec("/Matrix ["+e.matrix.toString()+"]"),ec("/Function "+r+" 0 R"),ec("/Extend [true true]"),ec(">>"),ec("endobj")},te=function(e,t){var r=eZ(),n=e$();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var s=[];s.push({key:"Type",value:"/Pattern"}),s.push({key:"PatternType",value:"1"}),s.push({key:"PaintType",value:"1"}),s.push({key:"TilingType",value:"1"}),s.push({key:"BBox",value:"["+e.boundingBox.map(C).join(" ")+"]"}),s.push({key:"XStep",value:C(e.xStep)}),s.push({key:"YStep",value:C(e.yStep)}),s.push({key:"Resources",value:r+" 0 R"}),e.matrix&&s.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),e3({data:e.stream,additionalKeyValues:s,objectId:e.objectNumber}),ec("endobj")},tt=function(e){for(var t in e.objectNumber=e$(),ec("<<"),e)switch(t){case"opacity":ec("/ca "+F(e[t]));break;case"stroke-opacity":ec("/CA "+F(e[t]))}ec(">>"),ec("endobj")},tr=function(e){eK(e.resourcesOid,!0),ec("<<"),ec("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ec("/Font <<"),eP)eP.hasOwnProperty(e)&&(!1===p||!0===p&&v.hasOwnProperty(e))&&ec("/"+e+" "+eP[e].objectNumber+" 0 R");ec(">>")}(),function(){if(Object.keys(eO).length>0){for(var e in ec("/Shading <<"),eO)eO.hasOwnProperty(e)&&eO[e]instanceof D&&eO[e].objectNumber>=0&&ec("/"+e+" "+eO[e].objectNumber+" 0 R");eB.publish("putShadingPatternDict"),ec(">>")}}(),function(e){if(Object.keys(eO).length>0){for(var t in ec("/Pattern <<"),eO)eO.hasOwnProperty(t)&&eO[t]instanceof b.TilingPattern&&eO[t].objectNumber>=0&&eO[t].objectNumber<e&&ec("/"+t+" "+eO[t].objectNumber+" 0 R");eB.publish("putTilingPatternDict"),ec(">>")}}(e.objectOid),function(){if(Object.keys(eI).length>0){var e;for(e in ec("/ExtGState <<"),eI)eI.hasOwnProperty(e)&&eI[e].objectNumber>=0&&ec("/"+e+" "+eI[e].objectNumber+" 0 R");eB.publish("putGStateDict"),ec(">>")}}(),function(){for(var e in ec("/XObject <<"),eU)eU.hasOwnProperty(e)&&eU[e].objectNumber>=0&&ec("/"+e+" "+eU[e].objectNumber+" 0 R");eB.publish("putXobjectDict"),ec(">>")}(),ec(">>"),ec("endobj")},tn=function(e){eC[e.fontName]=eC[e.fontName]||{},eC[e.fontName][e.fontStyle]=e.id},ts=function(e,t,r,n,s){var i={id:"F"+(Object.keys(eP).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:s||!1,metadata:{}};return eB.publish("addFont",{font:i,instance:this}),eP[i.id]=i,tn(i),i.id},ti=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return(function(e,t){var r,n,s,i,o,a,l,u,c;if(s=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&eP[eA].metadata&&eP[eA].metadata[s]&&eP[eA].metadata[s].encoding&&(i=eP[eA].metadata[s].encoding,!o&&eP[eA].encoding&&(o=eP[eA].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(l=!1,a=[],r=0,n=e.length;r<n;r++)(u=o[e.charCodeAt(r)])?a.push(String.fromCharCode(u)):a.push(e[r]),a[r].charCodeAt(0)>>8&&(l=!0);e=a.join("")}for(r=e.length;void 0===l&&0!==r;)e.charCodeAt(r-1)>>8&&(l=!0),r--;if(!l)return e;for(a=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((c=(u=e.charCodeAt(r))>>8)>>8)throw Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(c),a.push(u-(c<<8))}return String.fromCharCode.apply(void 0,a)})(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},to=b.__private__.beginPage=function(e){eo[++eF]=[],eD[eF]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},tu(eF),eu(eo[J])},ta=function(e,t){var n,s,o;switch(r=t||r,"string"==typeof e&&Array.isArray(n=x(e.toLowerCase()))&&(s=n[0],o=n[1]),Array.isArray(e)&&(s=e[0]*eS,o=e[1]*eS),isNaN(s)&&(s=i[0],o=i[1]),(s>14400||o>14400)&&(c("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),s=Math.min(14400,s),o=Math.min(14400,o)),i=[s,o],r.substr(0,1)){case"l":o>s&&(i=[o,s]);break;case"p":s>o&&(i=[o,s])}to(i),tU(tB),ec(t$),0!==t1&&ec(t1+" J"),0!==t2&&ec(t2+" j"),eB.publish("addPage",{pageNumber:eF})},tl=function(e){e>0&&e<=eF&&(eo.splice(e,1),eD.splice(e,1),eF--,J>eF&&(J=eF),this.setPage(J))},tu=function(e){e>0&&e<=eF&&(J=e)},tc=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return eo.length-1},th=function(e,t,r){var n,s=void 0;return r=r||{},e=void 0!==e?e:eP[eA].fontName,t=void 0!==t?t:eP[eA].fontStyle,void 0!==eC[n=e.toLowerCase()]&&void 0!==eC[n][t]?s=eC[n][t]:void 0!==eC[e]&&void 0!==eC[e][t]?s=eC[e][t]:!1===r.disableWarning&&c("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),s||r.noFallback||null==(s=eC.times[t])&&(s=eC.times.normal),s},td=b.__private__.putInfo=function(){var e=e$(),t=function(e){return e};for(var r in null!==f&&(t=tj.encryptor(e,0)),ec("<<"),ec("/Producer ("+ti(t("jsPDF "+z.version))+")"),ex)ex.hasOwnProperty(r)&&ex[r]&&ec("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+ti(t(ex[r]))+")");ec("/CreationDate ("+ti(t(H))+")"),ec(">>"),ec("endobj")},tf=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||eQ;switch(e$(),ec("<<"),ec("/Type /Catalog"),ec("/Pages "+t+" 0 R"),em||(em="fullwidth"),em){case"fullwidth":ec("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ec("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ec("/OpenAction [3 0 R /Fit]");break;case"original":ec("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+em;"%"===r.substr(r.length-1)&&(em=parseInt(em)/100),"number"==typeof em&&ec("/OpenAction [3 0 R /XYZ null null "+F(em)+"]")}switch(e_||(e_="continuous"),e_){case"continuous":ec("/PageLayout /OneColumn");break;case"single":ec("/PageLayout /SinglePage");break;case"two":case"twoleft":ec("/PageLayout /TwoColumnLeft");break;case"tworight":ec("/PageLayout /TwoColumnRight")}ey&&ec("/PageMode /"+ey),eB.publish("putCatalog"),ec(">>"),ec("endobj")},tp=b.__private__.putTrailer=function(){ec("trailer"),ec("<<"),ec("/Size "+(et+1)),ec("/Root "+et+" 0 R"),ec("/Info "+(et-1)+" 0 R"),null!==f&&ec("/Encrypt "+tj.oid+" 0 R"),ec("/ID [ <"+W+"> <"+W+"> ]"),ec(">>")},tm=b.__private__.putHeader=function(){ec("%PDF-"+_),ec("%\xba\xdf\xac\xe0")},tg=b.__private__.putXRef=function(){var e="0000000000";ec("xref"),ec("0 "+(et+1)),ec("0000000000 65535 f ");for(var t=1;t<=et;t++)"function"==typeof er[t]?ec((e+er[t]()).slice(-10)+" 00000 n "):void 0!==er[t]?ec((e+er[t]).slice(-10)+" 00000 n "):ec("0000000000 00000 n ")},tv=b.__private__.buildDocument=function(){et=0,es=0,en=[],er=[],ei=[],eQ=eZ(),e0=eZ(),eu(en),eB.publish("buildDocument"),tm(),e6(),function(){eB.publish("putAdditionalObjects");for(var e=0;e<ei.length;e++){var t=ei[e];eK(t.objId,!0),ec(t.content),ec("endobj")}eB.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in eP)eP.hasOwnProperty(e)&&(!1===p||!0===p&&v.hasOwnProperty(e))&&e8(eP[e])}(),function(){var e;for(e in eI)eI.hasOwnProperty(e)&&tt(eI[e])}(),function(){for(var e in eU)eU.hasOwnProperty(e)&&e7(eU[e])}(),function(e){var t;for(t in eO)eO.hasOwnProperty(t)&&(eO[t]instanceof D?e9(eO[t]):eO[t]instanceof B&&te(eO[t],e))}(e),eB.publish("putResources"),e.forEach(tr),tr({resourcesOid:e0,objectOid:Number.MAX_SAFE_INTEGER}),eB.publish("postPutResources"),null!==f&&(tj.oid=e$(),ec("<<"),ec("/Filter /Standard"),ec("/V "+tj.v),ec("/R "+tj.r),ec("/U <"+tj.toHexString(tj.U)+">"),ec("/O <"+tj.toHexString(tj.O)+">"),ec("/P "+tj.P),ec(">>"),ec("endobj")),td(),tf();var e,t=es;return tg(),tp(),ec("startxref"),ec(""+t),ec("%%EOF"),eu(eo[J]),en.join("\n")},ty=b.__private__.getBlob=function(e){return new Blob([ed(e)],{type:"application/pdf"})},tb=b.output=b.__private__.output=((eX=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return tv();case"save":b.save(t.filename);break;case"arraybuffer":return ed(tv());case"blob":return ty(tv());case"bloburi":case"bloburl":if(void 0!==l.URL&&"function"==typeof l.URL.createObjectURL)return l.URL&&l.URL.createObjectURL(ty(tv()))||void 0;c("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=tv();try{r=y(n)}catch(e){r=y(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+t.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(l)){var s="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(s=t.pdfObjectUrl,i="");var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+s+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",a=l.open();return null!==a&&a.document.write(o),a}throw Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(l)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',h=l.open();if(null!==h){h.document.write(u);var d=this;h.document.documentElement.querySelector("#pdfViewer").onload=function(){h.document.title=t.filename,h.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(d.output("bloburl"))}}return h}throw Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(l))throw Error("The option dataurlnewwindow just works in a browser-environment.");var f='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',p=l.open();if(null!==p&&(p.document.write(f),p.document.title=t.filename),p||"undefined"==typeof safari)return p;break;case"datauri":case"dataurl":return l.document.location.href=this.output("datauristring",t);default:return null}}).foo=function(){try{return eX.apply(this,arguments)}catch(r){var e=r.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+r.message;if(!l.console)throw Error(t);l.console.error(t,r),l.alert&&alert(t)}},eX.foo.bar=eX,eX.foo),t_=function(e){return!0===Array.isArray(ez)&&ez.indexOf(e)>-1};switch(n){case"pt":eS=1;break;case"mm":eS=72/25.4;break;case"cm":eS=72/2.54;break;case"in":eS=72;break;case"px":eS=1==t_("px_scaling")?.75:96/72;break;case"pc":case"em":eS=12;break;case"ex":eS=6;break;default:if("number"!=typeof n)throw Error("Invalid unit: "+n);eS=n}var tj=null;Z(),Y();var tw=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:eD[e].objId,pageNumber:e,pageContext:eD[e]}},tx=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in eD)if(eD[t].objId===e)break;return tw(t)},tA=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:eD[J].objId,pageNumber:J,pageContext:eD[J]}};b.addPage=function(){return ta.apply(this,arguments),this},b.setPage=function(){return tu.apply(this,arguments),eu.call(this,eo[J]),this},b.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},b.movePage=function(e,t){var r,n;if(e>t){r=eo[e],n=eD[e];for(var s=e;s>t;s--)eo[s]=eo[s-1],eD[s]=eD[s-1];eo[t]=r,eD[t]=n,this.setPage(t)}else if(e<t){r=eo[e],n=eD[e];for(var i=e;i<t;i++)eo[i]=eo[i+1],eD[i]=eD[i+1];eo[t]=r,eD[t]=n,this.setPage(t)}return this},b.deletePage=function(){return tl.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,r,n,i){var o,a,l,u,c,h,d,f,p,m=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var g=r;r=t,t=e,e=g}if(arguments[3]instanceof eH==0?(l=arguments[4],u=arguments[5],"object"===(0,s.default)(d=arguments[3])&&null!==d||("string"==typeof l&&(u=l,l=null),"string"==typeof d&&(u=d,d=null),"number"==typeof d&&(l=d,d=null),n={flags:d,angle:l,align:u})):(E("The transform parameter of text() with a Matrix value"),p=i),isNaN(t)||isNaN(r)||null==e)throw Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var y,b="",_="number"==typeof n.lineHeightFactor?n.lineHeightFactor:tD,j=m.internal.scaleFactor;function w(e){for(var t,r=e.concat(),n=[],s=r.length;s--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function x(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,s,i=e.concat(),o=[],a=i.length;a--;)"string"==typeof(n=i.shift())?o.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&o.push([(s=t(n[0],n[1],n[2]))[0],s[1],s[2]]);r=o}return r}var A=!1,L=!0;if("string"==typeof e)A=!0;else if(Array.isArray(e)){var k=e.concat();a=[];for(var P,O=k.length;O--;)("string"!=typeof(P=k.shift())||Array.isArray(P)&&"string"!=typeof P[0])&&(L=!1);A=L}if(!1===A)throw Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var T=ep/m.internal.scaleFactor,I=T*(_-1);switch(n.baseline){case"bottom":r-=I;break;case"top":r+=T-I;break;case"hanging":r+=T-2*I;break;case"middle":r+=T/2-I}if((h=n.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,h):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(m.splitTextToSize(t,h))},[]))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ti,activeFontKey:eA,fonts:eP,activeFontSize:ep}},eB.publish("preProcessText",o),e=o.text,l=(n=o.options).angle,p instanceof eH==0&&l&&"number"==typeof l){l*=Math.PI/180,0===n.rotationDirection&&(l=-l),N===S&&(l=-l);var M=Math.cos(l),R=Math.sin(l);p=new eH(M,R,-R,M,0,0)}else l&&l instanceof eH&&(p=l);N!==S||p||(p=eG),void 0!==(c=n.charSpace||tQ)&&(b+=C(q(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=n.horizontalScale)&&(b+=C(100*f)+" Tz\n"),n.lang;var F=-1,D=void 0!==n.renderingMode?n.renderingMode:n.stroke,B=m.internal.getCurrentPageInfo().pageContext;switch(D){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var z=void 0!==B.usedRenderingMode?B.usedRenderingMode:-1;-1!==F?b+=F+" Tr\n":-1!==z&&(b+="0 Tr\n"),-1!==F&&(B.usedRenderingMode=F),u=n.align||"left";var U,V=ep*_,H=m.internal.pageSize.getWidth(),W=eP[eA];c=n.charSpace||tQ,h=n.maxWidth||0,d=Object.assign({autoencode:!0,noBOM:!0},n.flags);var G=[],Y=function(e){return m.getStringUnitWidth(e,{font:W,charSpace:c,fontSize:ep,doKerning:!1})*ep/j};if("[object Array]"===Object.prototype.toString.call(e)){a=w(e),"left"!==u&&(U=a.map(Y));var X,$,Z=0;if("right"===u){t-=U[0],e=[],O=a.length;for(var K=0;K<O;K++)0===K?($=tW(t),X=tG(r)):($=q(Z-U[K]),X=-V),e.push([a[K],$,X]),Z=U[K]}else if("center"===u){t-=U[0]/2,e=[],O=a.length;for(var J=0;J<O;J++)0===J?($=tW(t),X=tG(r)):($=q((Z-U[J])/2),X=-V),e.push([a[J],$,X]),Z=U[J]}else if("left"===u){e=[],O=a.length;for(var Q=0;Q<O;Q++)e.push(a[Q])}else if("justify"===u&&"Identity-H"===W.encoding){e=[],O=a.length,h=0!==h?h:H;for(var ee=0,et=0;et<O;et++)if(X=0===et?tG(r):-V,$=0===et?tW(t):ee,et<O-1){var er=q((h-U[et])/(a[et].split(" ").length-1)),en=a[et].split(" ");e.push([en[0]+" ",$,X]),ee=0;for(var es=1;es<en.length;es++){var ei=(Y(en[es-1]+" "+en[es])-Y(en[es]))*j+er;es==en.length-1?e.push([en[es],ei,0]):e.push([en[es]+" ",ei,0]),ee-=ei}}else e.push([a[et],$,X]);e.push(["",ee,0])}else{if("justify"!==u)throw Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],O=a.length,h=0!==h?h:H,et=0;et<O;et++){X=0===et?tG(r):-V,$=0===et?tW(t):0;var eo=a[et].split(" ").length-1,ea=eo>0?(h-U[et])/eo:0;et<O-1?G.push(C(q(ea))):G.push(0),e.push([a[et],$,X])}}}!0===("boolean"==typeof n.R2L?n.R2L:ev)&&(e=x(e,function(e,t,r){return[e.split("").reverse().join(""),t,r]})),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ti,activeFontKey:eA,fonts:eP,activeFontSize:ep}},eB.publish("postProcessText",o),e=o.text,y=o.mutex.isHex||!1;var el=eP[eA].encoding;"WinAnsiEncoding"!==el&&"StandardEncoding"!==el||(e=x(e,function(e,t,r){return[ti(e.split(" ").join(Array(n.TabLen||9).join(" ")),d),t,r]})),a=w(e),e=[];for(var eu,eh,ed,ef=+!!Array.isArray(a[0]),em="",eg=function(e,t,r){var s="";return r instanceof eH?(r="number"==typeof n.angle?eW(r,new eH(1,0,0,1,e,t)):eW(new eH(1,0,0,1,e,t),r),N===S&&(r=eW(new eH(1,0,0,-1,0,0),r)),s=r.join(" ")+" Tm\n"):s=C(e)+" "+C(t)+" Td\n",s},ey=0;ey<a.length;ey++){switch(em="",ef){case 1:ed=(y?"<":"(")+a[ey][0]+(y?">":")"),eu=parseFloat(a[ey][1]),eh=parseFloat(a[ey][2]);break;case 0:ed=(y?"<":"(")+a[ey]+(y?">":")"),eu=tW(t),eh=tG(r)}void 0!==G&&void 0!==G[ey]&&(em=G[ey]+" Tw\n"),0===ey?e.push(em+eg(eu,eh,p)+ed):0===ef?e.push(em+ed):1===ef&&e.push(em+eg(eu,eh,p)+ed)}e=(0===ef?e.join(" Tj\nT* "):e.join(" Tj\n"))+" Tj\n";var eb="BT\n/";return eb+=eA+" "+ep+" Tf\n",eb+=C(ep*_)+" TL\n",eb+=tK+"\n",eb+=b,eb+=e,ec(eb+="ET"),v[eA]=!0,m};var tS=b.__private__.clip=b.clip=function(e){return ec("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return tS("evenodd")},b.__private__.discardPath=b.discardPath=function(){return ec("n"),this};var tN=b.__private__.isValidStyle=function(e){var t=!1;return -1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return tN(e)&&(d=e),this};var tL=b.__private__.getStyle=b.getStyle=function(e){var t=d;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},tk=b.close=function(){return ec("h"),this};b.stroke=function(){return ec("S"),this},b.fill=function(e){return tP("f",e),this},b.fillEvenOdd=function(e){return tP("f*",e),this},b.fillStroke=function(e){return tP("B",e),this},b.fillStrokeEvenOdd=function(e){return tP("B*",e),this};var tP=function(e,t){"object"===(0,s.default)(t)?tO(t,e):ec(e)},tC=function(e){null===e||N===S&&void 0===e||ec(e=tL(e))};function tE(e,t,r,n,s){var i=new B(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,s||this.matrix);return i.stream=this.stream,eY(e+"$$"+this.cloneIndex+++"$$",i),i}var tO=function(e,t){var r=eT[e.key],n=eO[r];if(n instanceof D)ec("q"),ec(tT(t)),n.gState&&b.setGState(n.gState),ec(e.matrix.toString()+" cm"),ec("/"+r+" sh"),ec("Q");else if(n instanceof B){var s=new eH(1,0,0,-1,0,ri());e.matrix&&(s=s.multiply(e.matrix||eG),r=tE.call(n,e.key,e.boundingBox,e.xStep,e.yStep,s).id),ec("q"),ec("/Pattern cs"),ec("/"+r+" scn"),n.gState&&b.setGState(n.gState),ec(t),ec("Q")}},tT=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},tI=b.moveTo=function(e,t){return ec(C(q(e))+" "+C(V(t))+" m"),this},tM=b.lineTo=function(e,t){return ec(C(q(e))+" "+C(V(t))+" l"),this},tR=b.curveTo=function(e,t,r,n,s,i){return ec([C(q(e)),C(V(t)),C(q(r)),C(V(n)),C(q(s)),C(V(i)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,r,n,s){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!tN(s))throw Error("Invalid arguments passed to jsPDF.line");return N===A?this.lines([[r-e,n-t]],e,t,[1,1],s||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,r,n,s,i){var o,a,l,u,c,h,d,f,p,m,g,v;if("number"==typeof e&&(v=r,r=t,t=e,e=v),n=n||[1,1],i=i||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!tN(s)||"boolean"!=typeof i)throw Error("Invalid arguments passed to jsPDF.lines");for(tI(t,r),o=n[0],a=n[1],u=e.length,m=t,g=r,l=0;l<u;l++)2===(c=e[l]).length?tM(m=c[0]*o+m,g=c[1]*a+g):(h=c[0]*o+m,d=c[1]*a+g,f=c[2]*o+m,p=c[3]*a+g,tR(h,d,f,p,m=c[4]*o+m,g=c[5]*a+g));return i&&tk(),tC(s),this},b.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":tI(n[0],n[1]);break;case"l":tM(n[0],n[1]);break;case"c":tR.apply(this,n);break;case"h":tk()}}return this},b.__private__.rect=b.rect=function(e,t,r,n,s){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!tN(s))throw Error("Invalid arguments passed to jsPDF.rect");return N===A&&(n=-n),ec([C(q(e)),C(V(t)),C(q(r)),C(q(n)),"re"].join(" ")),tC(s),this},b.__private__.triangle=b.triangle=function(e,t,r,n,s,i,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(s)||isNaN(i)||!tN(o))throw Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[s-r,i-n],[e-s,t-i]],e,t,[1,1],o,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,r,n,s,i,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(s)||isNaN(i)||!tN(o))throw Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return s=Math.min(s,.5*r),i=Math.min(i,.5*n),this.lines([[r-2*s,0],[s*a,0,s,i-i*a,s,i],[0,n-2*i],[0,i*a,-s*a,i,-s,i],[2*s-r,0],[-s*a,0,-s,-i*a,-s,-i],[0,2*i-n],[0,-i*a,s*a,-i,s,-i]],e+s,t,[1,1],o,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,r,n,s){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!tN(s))throw Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*r,o=4/3*(Math.SQRT2-1)*n;return tI(e+r,t),tR(e+r,t-o,e+i,t-n,e,t-n),tR(e-i,t-n,e-r,t-o,e-r,t),tR(e-r,t+o,e-i,t+n,e,t+n),tR(e+i,t+n,e+r,t+o,e+r,t),tC(s),this},b.__private__.circle=b.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!tN(n))throw Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},b.setFont=function(e,t,r){return r&&(t=P(t,r)),eA=th(e,t,{disableWarning:!1}),this};var tF=b.__private__.getFont=b.getFont=function(){return eP[th.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,r={};for(e in eC)if(eC.hasOwnProperty(e))for(t in r[e]=[],eC[e])eC[e].hasOwnProperty(t)&&r[e].push(t);return r},b.addFont=function(e,t,r,n,s){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?s=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(r=P(r,n)),ts.call(this,e,t,r,s=s||"Identity-H")};var tD,tB=e.lineWidth||.200025,tz=b.__private__.getLineWidth=b.getLineWidth=function(){return tB},tU=b.__private__.setLineWidth=b.setLineWidth=function(e){return tB=e,ec(C(q(e))+" w"),this};b.__private__.setLineDash=z.API.setLineDash=z.API.setLineDashPattern=function(e,t){if(e=e||[],isNaN(t=t||0)||!Array.isArray(e))throw Error("Invalid arguments passed to jsPDF.setLineDash");return ec("["+(e=e.map(function(e){return C(q(e))}).join(" "))+"] "+(t=C(q(t)))+" d"),this};var tq=b.__private__.getLineHeight=b.getLineHeight=function(){return ep*tD};b.__private__.getLineHeight=b.getLineHeight=function(){return ep*tD};var tV=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(tD=e),this},tH=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return tD};tV(e.lineHeight);var tW=b.__private__.getHorizontalCoordinate=function(e){return q(e)},tG=b.__private__.getVerticalCoordinate=function(e){return N===S?e:eD[J].mediaBox.topRightY-eD[J].mediaBox.bottomLeftY-q(e)},tY=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return C(tW(e))},tX=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return C(tG(e))},t$=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return e1(t$)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,r,n){return ec(t$=e2({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2})),this};var tZ=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return e1(tZ)},b.__private__.setFillColor=b.setFillColor=function(e,t,r,n){return ec(tZ=e2({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2})),this};var tK=e.textColor||"0 g",tJ=b.__private__.getTextColor=b.getTextColor=function(){return e1(tK)};b.__private__.setTextColor=b.setTextColor=function(e,t,r,n){return tK=e2({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var tQ=e.charSpace,t0=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(tQ||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw Error("Invalid argument passed to jsPDF.setCharSpace");return tQ=e,this};var t1=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return t1=t,ec(t+" J"),this};var t2=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return t2=t,ec(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(isNaN(e=e||0))throw Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ec(C(q(e))+" M"),this},b.GState=R,b.setGState=function(e){(e="string"==typeof e?eI[eM[e]]:t5(null,e)).equals(eR)||(ec("/"+e.id+" gs"),eR=e)};var t5=function(e,t){if(!e||!eM[e]){var r=!1;for(var n in eI)if(eI.hasOwnProperty(n)&&eI[n].equals(t)){r=!0;break}if(r)t=eI[n];else{var s="GS"+(Object.keys(eI).length+1).toString(10);eI[s]=t,t.id=s}return e&&(eM[e]=t.id),eB.publish("addGState",t),t}};b.addGState=function(e,t){return t5(e,t),this},b.saveGraphicsState=function(){return ec("q"),eE.push({key:eA,size:ep,color:tK}),this},b.restoreGraphicsState=function(){ec("Q");var e=eE.pop();return eA=e.key,ep=e.size,tK=e.color,eR=null,this},b.setCurrentTransformationMatrix=function(e){return ec(e.toString()+" cm"),this},b.comment=function(e){return ec("#"+e),this};var t3=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var s="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return s},set:function(e){s=e.toString()}}),this},t4=function(e,t,r,n){t3.call(this,e,t),this.type="rect";var s=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return s},set:function(e){isNaN(e)||(s=parseFloat(e))}});var i=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},t6=function(){this.page=eF,this.currentPage=J,this.pages=eo.slice(0),this.pagesContext=eD.slice(0),this.x=eN,this.y=eL,this.matrix=ek,this.width=t9(J),this.height=rt(J),this.outputDestination=el,this.id="",this.objectNumber=-1};t6.prototype.restore=function(){eF=this.page,J=this.currentPage,eD=this.pagesContext,eo=this.pages,eN=this.x,eL=this.y,ek=this.matrix,re(J,this.width),rr(J,this.height),el=this.outputDestination};var t8=function(e,t,r,n,s){eV.push(new t6),eF=J=0,eo=[],eN=e,eL=t,ek=s,to([r,n])};for(var t7 in b.beginFormObject=function(e,t,r,n,s){return t8(e,t,r,n,s),this},b.endFormObject=function(e){return function(e){if(eq[e])eV.pop().restore();else{var t=new t6,r="Xo"+(Object.keys(eU).length+1).toString(10);t.id=r,eq[e]=r,eU[r]=t,eB.publish("addFormObject",t),eV.pop().restore()}}(e),this},b.doFormObject=function(e,t){var r=eU[eq[e]];return ec("q"),ec(t.toString()+" cm"),ec("/"+r.id+" Do"),ec("Q"),this},b.getFormObject=function(e){var t=eU[eq[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(m(ty(tv()),e),"function"==typeof m.unload&&l.setTimeout&&setTimeout(m.unload,911),this):new Promise(function(t,r){try{var n=m(ty(tv()),e);"function"==typeof m.unload&&l.setTimeout&&setTimeout(m.unload,911),t(n)}catch(e){r(e.message)}})},z.API)z.API.hasOwnProperty(t7)&&("events"===t7&&z.API.events.length?function(e,t){var r,n,s;for(s=t.length-1;-1!==s;s--)r=t[s][0],n=t[s][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(eB,z.API.events):b[t7]=z.API[t7]);function t9(e){return eD[e].mediaBox.topRightX-eD[e].mediaBox.bottomLeftX}function re(e,t){eD[e].mediaBox.topRightX=t+eD[e].mediaBox.bottomLeftX}function rt(e){return eD[e].mediaBox.topRightY-eD[e].mediaBox.bottomLeftY}function rr(e,t){eD[e].mediaBox.topRightY=t+eD[e].mediaBox.bottomLeftY}var rn=b.getPageWidth=function(e){return t9(e=e||J)/eS},rs=b.setPageWidth=function(e,t){re(e,t*eS)},ri=b.getPageHeight=function(e){return rt(e=e||J)/eS},ro=b.setPageHeight=function(e,t){rr(e,t*eS)};return b.internal={pdfEscape:ti,getStyle:tL,getFont:tF,getFontSize:eg,getCharSpace:t0,getTextColor:tJ,getLineHeight:tq,getLineHeightFactor:tH,getLineWidth:tz,write:eh,getHorizontalCoordinate:tW,getVerticalCoordinate:tG,getCoordinateString:tY,getVerticalCoordinateString:tX,collections:{},newObject:e$,newAdditionalObject:eJ,newObjectDeferred:eZ,newObjectDeferredBegin:eK,getFilters:e5,putStream:e3,events:eB,scaleFactor:eS,pageSize:{getWidth:function(){return rn(J)},setWidth:function(e){rs(J,e)},getHeight:function(){return ri(J)},setHeight:function(e){ro(J,e)}},encryptionOptions:f,encryption:tj,getEncryptor:function(e){return null!==f?tj.encryptor(e,0):function(e){return e}},output:tb,getNumberOfPages:tc,get pages(){return eo},out:ec,f2:F,f3:U,getPageInfo:tw,getPageInfoByObjId:tx,getCurrentPageInfo:tA,getPDFVersion:j,Point:t3,Rectangle:t4,Matrix:eH,hasHotfix:t_},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return rn(J)},set:function(e){rs(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return ri(J)},set:function(e){ro(J,e)},enumerable:!0,configurable:!0}),(function(e){for(var t=0,r=ef.length;t<r;t++){var n=ts.call(this,e[t][0],e[t][1],e[t][2],ef[t][3],!0);!1===p&&(v[n]=!0);var s=e[t][0].split("-");tn({id:n,fontName:s[0],fontStyle:s[1]||""})}eB.publish("addFonts",{fonts:eP,dictionary:eC})}).call(b,ef),eA="F1",ta(i,r),eB.publish("initialized"),b}T.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},T.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},T.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},T.prototype.processOwnerPassword=function(e,t){return E(k(t).substr(0,5),e)},T.prototype.encryptor=function(e,t){var r=k(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return E(r,e)}},R.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||(0,s.default)(e)!==(0,s.default)(this))return!1;var n=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;n++}for(t in e)e.hasOwnProperty(t)&&0>r.indexOf(t)&&n--;return 0===n},z.API={events:[]},z.version="4.0.0";var U=z.API,q=1,V=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},H=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},W=function(e){return e.toFixed(2)},G=function(e){return e.toFixed(5)};U.__acroform__={};var Y=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},X=function(e){return e*q},$=function(e){var t=new ed,r=eN.internal.getHeight(e)||0;return t.BBox=[0,0,Number(W(eN.internal.getWidth(e)||0)),Number(W(r))],t},Z=U.__acroform__.setBit=function(e,t){if(t=t||0,isNaN(e=e||0)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},K=U.__acroform__.clearBit=function(e,t){if(t=t||0,isNaN(e=e||0)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},J=U.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},Q=U.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return J(e,t-1)},ee=U.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Z(e,t-1)},et=U.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return K(e,t-1)},er=U.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,s=e[0],i=e[1],o=e[2],a=e[3],l={};return l.lowerLeft_X=r(s)||0,l.lowerLeft_Y=n(i+a)||0,l.upperRight_X=r(s+o)||0,l.upperRight_Y=n(i)||0,[Number(W(l.lowerLeft_X)),Number(W(l.lowerLeft_Y)),Number(W(l.upperRight_X)),Number(W(l.upperRight_Y))]},en=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=es(e,r),s=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+s+" "+W(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=$(e);return i.scope=e.scope,i.stream=t.join("\n"),i}},es=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},s=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");s=e.multiline?s.map(function(e){return e.split("\n")}):s.map(function(e){return[e]});var i=r,o=eN.internal.getHeight(e)||0;o=o<0?-o:o;var a=eN.internal.getWidth(e)||0;a=a<0?-a:a,i++;e:for(;i>0;){t="";var l,u,c=ei("3",e,--i).height,h=e.multiline?o-i:(o-c)/2,d=h+=2,f=0,p=0,m=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+ei(t,e,i=12).width+", FieldWidth:"+a+"\n";break}for(var g="",v=0,y=0;y<s.length;y++)if(s.hasOwnProperty(y)){var b=!1;if(1!==s[y].length&&m!==s[y].length-1){if((c+2)*(v+2)+2>o)continue e;g+=s[y][m],b=!0,p=y,y--}else{g=" "==(g+=s[y][m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var _,j,w=parseInt(y),x=(_=g,j=i,w+1<s.length&&ei(_+" "+s[w+1][0],e,j).width<=a-4),A=y>=s.length-1;if(x&&!A){g+=" ",m=0;continue}if(x||A){if(A)p=w;else if(e.multiline&&(c+2)*(v+2)+2>o)continue e}else{if(!e.multiline||(c+2)*(v+2)+2>o)continue e;p=w}}for(var S="",N=f;N<=p;N++){var L=s[N];if(e.multiline){if(N===p){S+=L[m]+" ",m=(m+1)%L.length;continue}if(N===f){S+=L[L.length-1]+" ";continue}}S+=L[0]+" "}switch(u=ei(S=" "==S.substr(S.length-1)?S.substr(0,S.length-1):S,e,i).width,e.textAlign){case"right":l=a-u-2;break;case"center":l=(a-u)/2;break;default:l=2}t+=W(l)+" "+W(d)+" Td\n",t+="("+V(S)+") Tj\n",t+=-W(l)+" 0 Td\n",d=-(i+2),u=0,f=b?p:p+1,v++,g=""}break}return n.text=t,n.fontSize=i,n},ei=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),s=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:s}},eo={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ea=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===r.type&&e.object===r.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},el=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(ep.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(eo)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("Exception while creating AcroformDictionary");q=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ef,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}),e.internal.events.subscribe("buildDocument",function(){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&ea(n,e)}}),e.internal.events.subscribe("putCatalog",function(){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var r=!e;for(var n in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(n)){var i=e[n],o=[],a=i.Rect;if(i.Rect&&(i.Rect=er(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=eN.createDefaultAppearanceStream(i),"object"===(0,s.default)(i)&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=a,i.hasAppearanceStream&&!i.appearanceStreamContent){var l=en(i);o.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(i.appearanceStreamContent){var u="";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var h=i.appearanceStreamContent[c];if(u+="/"+c+" <<",Object.keys(h).length>=1||Array.isArray(h)){for(var n in h)if(h.hasOwnProperty(n)){var d=h[n];"function"==typeof d&&(d=d.call(t,i)),u+="/"+n+" "+d+" ",t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d)}}else"function"==typeof(d=h)&&(d=d.call(t,i)),u+="/"+n+" "+d,t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d);u+=">>"}o.push({key:"AP",value:"<<\n"+u+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:i.objId}),t.internal.out("endobj")}r&&function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];t.internal.newObjectDeferredBegin(n.objId,!0),"object"===(0,s.default)(n)&&"function"==typeof n.putStream&&n.putStream(),delete e[r]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}},eu=U.__acroform__.arrayToPdfArray=function(e,t,r){var n=function(e){return e};if(Array.isArray(e)){for(var i="[",o=0;o<e.length;o++)switch(0!==o&&(i+=" "),(0,s.default)(e[o])){case"boolean":case"number":case"object":i+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(n=r.internal.getEncryptor(t)),i+="("+V(n(e[o].toString()))+")"):i+=e[o].toString()}return i+"]"}throw Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ec=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+V(n(e))+")"},eh=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};eh.prototype.toString=function(){return this.objId+" 0 R"},eh.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},eh.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],s=this[n];s&&(Array.isArray(s)?e.push({key:n,value:eu(s,this.objId,this.scope)}):s instanceof eh?(s.scope=this.scope,e.push({key:n,value:s.objId+" 0 R"})):"function"!=typeof s&&e.push({key:n,value:s}))}return e};var ed=function(){eh.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Y(ed,eh);var ef=function(){eh.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+V(t(e))+")"}},set:function(t){e=t}})};Y(ef,eh);var ep=function e(){eh.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Q(t,3)},set:function(e){!0==!!e?this.F=ee(t,3):this.F=et(t,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){if(isNaN(e))throw Error('Invalid value "'+e+'" for attribute Ff supplied.');r=e}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(e){n=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(e){n[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(e){n[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(e){n[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(e){n[3]=e}});var s="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return s},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":s=e;break;default:throw Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof ew)return;i="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+V(t(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/q:u},set:function(e){u=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var h="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!h||this instanceof ew||this instanceof eA))return ec(h,this.objId,this.scope)},set:function(e){h=e.toString()}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof eb==0?ec(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof eb==0?"("===e.substr(0,1)?H(e.substr(1,e.length-2)):H(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof eb==1?H(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof eb==1?"/"+e:e}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof eb==0?ec(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof eb==0?"("===e.substr(0,1)?H(e.substr(1,e.length-2)):H(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof eb==1?H(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof eb==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var p,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(e){m=!!e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(e){p=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,1)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,1):this.Ff=et(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,2)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,2):this.Ff=et(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,3)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,3):this.Ff=et(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};Y(ep,eh);var em=function(){ep.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return eu(t,this.objId,this.scope)},set:function(e){var r;r=[],"string"==typeof e&&(r=function(e,t,r){r||(r=1);for(var n,s=[];n=t.exec(e);)s.push(n[r]);return s}(e,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,18)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,18):this.Ff=et(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,19)},set:function(e){!0===this.combo&&(!0==!!e?this.Ff=ee(this.Ff,19):this.Ff=et(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,20)},set:function(e){!0==!!e?(this.Ff=ee(this.Ff,20),t.sort()):this.Ff=et(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,22)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,22):this.Ff=et(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,23)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,23):this.Ff=et(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,27)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,27):this.Ff=et(this.Ff,27)}}),this.hasAppearanceStream=!1};Y(em,ep);var eg=function(){em.call(this),this.fontName="helvetica",this.combo=!1};Y(eg,em);var ev=function(){eg.call(this),this.combo=!0};Y(ev,eg);var ey=function(){ev.call(this),this.edit=!0};Y(ey,ev);var eb=function(){ep.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,15)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,15):this.Ff=et(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,16)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,16):this.Ff=et(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,17)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,17):this.Ff=et(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,26)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,26):this.Ff=et(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+V(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"===(0,s.default)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};Y(eb,ep);var e_=function(){eb.call(this),this.pushButton=!0};Y(e_,eb);var ej=function(){eb.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};Y(ej,eb);var ew=function(){ep.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var e,t,r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),n)r.push("/"+t+" ("+V(e(n[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"===(0,s.default)(e)&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=eN.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Y(ew,ep),ej.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},ej.prototype.createOption=function(e){var t=new ew;return t.Parent=this,t.optionName=e,this.Kids.push(t),eL.call(this.scope,t),t};var ex=function(){eb.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=eN.CheckBox.createAppearanceStream()};Y(ex,eb);var eA=function(){ep.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,13)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,13):this.Ff=et(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,21)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,21):this.Ff=et(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,23)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,23):this.Ff=et(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,24)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,24):this.Ff=et(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,25)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,25):this.Ff=et(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,26)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,26):this.Ff=et(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Y(eA,ep);var eS=function(){eA.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Q(this.Ff,14)},set:function(e){!0==!!e?this.Ff=ee(this.Ff,14):this.Ff=et(this.Ff,14)}}),this.password=!0};Y(eS,eA);var eN={CheckBox:{createAppearanceStream:function(){return{N:{On:eN.CheckBox.YesNormal},D:{On:eN.CheckBox.YesPushDown,Off:eN.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=$(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,s=e.scope.__private__.encodeColorString(e.color),i=es(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+W(eN.internal.getWidth(e))+" "+W(eN.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+W(i.fontSize)+" Tf "+s),r.push("BT"),r.push(i.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=$(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),s=[],i=eN.internal.getHeight(e),o=eN.internal.getWidth(e),a=es(e,e.caption);return s.push("1 g"),s.push("0 0 "+W(o)+" "+W(i)+" re"),s.push("f"),s.push("q"),s.push("0 0 1 rg"),s.push("0 0 "+W(o-1)+" "+W(i-1)+" re"),s.push("W"),s.push("n"),s.push("0 g"),s.push("BT"),s.push("/"+r+" "+W(a.fontSize)+" Tf "+n),s.push(a.text),s.push("ET"),s.push("Q"),t.stream=s.join("\n"),t},OffPushDown:function(e){var t=$(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+W(eN.internal.getWidth(e))+" "+W(eN.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:eN.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=eN.RadioButton.Circle.YesNormal,t.D[e]=eN.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=$(e);t.scope=e.scope;var r=[],n=eN.internal.getWidth(e)<=eN.internal.getHeight(e)?eN.internal.getWidth(e)/4:eN.internal.getHeight(e)/4,s=Number(((n=Number((.9*n).toFixed(5)))*eN.internal.Bezier_C).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+G(eN.internal.getWidth(e)/2)+" "+G(eN.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),r.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),r.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),r.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=$(e);t.scope=e.scope;var r=[],n=eN.internal.getWidth(e)<=eN.internal.getHeight(e)?eN.internal.getWidth(e)/4:eN.internal.getHeight(e)/4,s=Number((2*(n=Number((.9*n).toFixed(5)))).toFixed(5)),i=Number((s*eN.internal.Bezier_C).toFixed(5)),o=Number((n*eN.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+G(eN.internal.getWidth(e)/2)+" "+G(eN.internal.getHeight(e)/2)+" cm"),r.push(s+" 0 m"),r.push(s+" "+i+" "+i+" "+s+" 0 "+s+" c"),r.push("-"+i+" "+s+" -"+s+" "+i+" -"+s+" 0 c"),r.push("-"+s+" -"+i+" -"+i+" -"+s+" 0 -"+s+" c"),r.push(i+" -"+s+" "+s+" -"+i+" "+s+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+G(eN.internal.getWidth(e)/2)+" "+G(eN.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=$(e);t.scope=e.scope;var r=[],n=eN.internal.getWidth(e)<=eN.internal.getHeight(e)?eN.internal.getWidth(e)/4:eN.internal.getHeight(e)/4,s=Number((2*(n=Number((.9*n).toFixed(5)))).toFixed(5)),i=Number((s*eN.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+G(eN.internal.getWidth(e)/2)+" "+G(eN.internal.getHeight(e)/2)+" cm"),r.push(s+" 0 m"),r.push(s+" "+i+" "+i+" "+s+" 0 "+s+" c"),r.push("-"+i+" "+s+" -"+s+" "+i+" -"+s+" 0 c"),r.push("-"+s+" -"+i+" -"+i+" -"+s+" 0 -"+s+" c"),r.push(i+" -"+s+" "+s+" -"+i+" "+s+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:eN.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=eN.RadioButton.Cross.YesNormal,t.D[e]=eN.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=$(e);t.scope=e.scope;var r=[],n=eN.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+W(eN.internal.getWidth(e)-2)+" "+W(eN.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(W(n.x1.x)+" "+W(n.x1.y)+" m"),r.push(W(n.x2.x)+" "+W(n.x2.y)+" l"),r.push(W(n.x4.x)+" "+W(n.x4.y)+" m"),r.push(W(n.x3.x)+" "+W(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=$(e);t.scope=e.scope;var r=eN.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+W(eN.internal.getWidth(e))+" "+W(eN.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+W(eN.internal.getWidth(e)-2)+" "+W(eN.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(W(r.x1.x)+" "+W(r.x1.y)+" m"),n.push(W(r.x2.x)+" "+W(r.x2.y)+" l"),n.push(W(r.x4.x)+" "+W(r.x4.y)+" m"),n.push(W(r.x3.x)+" "+W(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=$(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+W(eN.internal.getWidth(e))+" "+W(eN.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};eN.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=eN.internal.getWidth(e),r=eN.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},eN.internal.getWidth=function(e){var t=0;return"object"===(0,s.default)(e)&&(t=X(e.Rect[2])),t},eN.internal.getHeight=function(e){var t=0;return"object"===(0,s.default)(e)&&(t=X(e.Rect[3])),t};var eL=U.addField=function(e){if(el(this,e),!(e instanceof ep))throw Error("Invalid argument passed to jsPDF.addField.");return e.scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};U.AcroFormChoiceField=em,U.AcroFormListBox=eg,U.AcroFormComboBox=ev,U.AcroFormEditBox=ey,U.AcroFormButton=eb,U.AcroFormPushButton=e_,U.AcroFormRadioButton=ej,U.AcroFormCheckBox=ex,U.AcroFormTextField=eA,U.AcroFormPasswordField=eS,U.AcroFormAppearance=eN,U.AcroForm={ChoiceField:em,ListBox:eg,ComboBox:ev,EditBox:ey,Button:eb,PushButton:e_,RadioButton:ej,CheckBox:ex,TextField:eA,PasswordField:eS,Appearance:eN},z.AcroForm={ChoiceField:em,ListBox:eg,ComboBox:ev,EditBox:ey,Button:eb,PushButton:e_,RadioButton:ej,CheckBox:ex,TextField:eA,PasswordField:eS,Appearance:eN};var ek=z.AcroForm;function eP(e){return e.reduce(function(e,t,r){return e[t]=r,e},{})}eU=z.API,eq="addImage_",eU.__addimage__={},eV="UNKNOWN",eH={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},eW=eU.__addimage__.getImageFileTypeByImageData=function(e,t){var r,n,s,i,o,a=eV;if("RGBA"===(t=t||eV)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(e9(e))for(o in eH)for(s=eH[o],r=0;r<s.length;r+=1){for(i=!0,n=0;n<s[r].length;n+=1)if(void 0!==s[r][n]&&s[r][n]!==e[n]){i=!1;break}if(!0===i){a=o;break}}else for(o in eH)for(s=eH[o],r=0;r<s.length;r+=1){for(i=!0,n=0;n<s[r].length;n+=1)if(void 0!==s[r][n]&&s[r][n]!==e.charCodeAt(n)){i=!1;break}if(!0===i){a=o;break}}return a===eV&&t!==eV&&(a=t),a},eG=function e(t){for(var r=this.internal.write,n=this.internal.putStream,s=(0,this.internal.getFilters)();-1!==s.indexOf("FlateEncode");)s.splice(s.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===e3.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===e3.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var o="",a=0,l=t.transparency.length;a<l;a++)o+=t.transparency[a]+" "+t.transparency[a]+" ";i.push({key:"Mask",value:"["+o+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var u=void 0!==t.filter?["/"+t.filter]:void 0;if(n({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:u,objectId:t.objectId}),r("endobj"),"sMask"in t&&void 0!==t.sMask){var c,h=null!=(c=t.sMaskBitsPerComponent)?c:t.bitsPerComponent,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:h,data:t.sMask};"filter"in t&&(d.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(h," /Columns ").concat(t.width),d.filter=t.filter),e.call(this,d)}if(t.colorSpace===e3.INDEXED){var f=this.internal.newObject();n({data:tt(new Uint8Array(t.palette)),objectId:f}),r("endobj")}},eY=function(){var e=this.internal.collections[eq+"images"];for(var t in e)eG.call(this,e[t])},eX=function(){var e,t=this.internal.collections[eq+"images"],r=this.internal.write;for(var n in t)r("/I"+(e=t[n]).index,e.objectId,"0","R")},e$=function(){this.internal.collections[eq+"images"]||(this.internal.collections[eq+"images"]={},this.internal.events.subscribe("putResources",eY),this.internal.events.subscribe("putXobjectDict",eX))},eZ=function(){var e=this.internal.collections[eq+"images"];return e$.call(this),e},eK=function(){return Object.keys(this.internal.collections[eq+"images"]).length},eJ=function(e){return"function"==typeof eU["process"+e.toUpperCase()]},eQ=function(e){return"object"===(0,s.default)(e)&&1===e.nodeType},e0=function(e,t){if("IMG"===e.nodeName&&e.hasAttribute("src")){var r,n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return v(unescape(n).split("base64,").pop());var s=eU.loadFile(n,!0);if(void 0!==s)return s}if("CANVAS"===e.nodeName){if(0===e.width||0===e.height)throw Error("Given canvas must have data. Canvas width: "+e.width+", height: "+e.height);switch(t){case"PNG":r="image/png";break;case"WEBP":r="image/webp";break;default:r="image/jpeg"}return v(e.toDataURL(r,1).split("base64,").pop())}},e1=function(e){var t=this.internal.collections[eq+"images"];if(t){for(var r in t)if(e===t[r].alias)return t[r]}},e2=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]},e5=function(e,t,r,n,s,i){var o=e2.call(this,r,n,s),a=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=eZ.call(this);if(r=o[0],n=o[1],u[s.index]=s,i)var c=Math.cos(i*=Math.PI/180),h=Math.sin(i),d=function(e){return e.toFixed(4)},f=[d(c),d(h),d(-1*h),d(c),0,0,"cm"];this.internal.write("q"),i?(this.internal.write(["1 0 0 1",a(e),l(t+n),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([a(r),"0 0",a(n),"0 0 cm"].join(" "))):this.internal.write([a(r),"0 0",a(n),a(e),l(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write("1 0 0 -1 0 0 cm"),this.internal.write("/I"+s.index+" Do"),this.internal.write("Q")},e3=eU.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},eU.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},e4=eU.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},e6=eU.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t)|0;else if(e9(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t]|0;return n},e8=eU.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},e7=eU.__addimage__.extractImageFromDataUrl=function(e){if(null==e||!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null},eU.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer},e9=eU.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},te=eU.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},tt=eU.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",r=e9(e)?e:new Uint8Array(e),n=0;n<r.length;n+=8192)t+=String.fromCharCode.apply(null,r.subarray(n,n+8192));return t},eU.addImage=function(){if("number"==typeof arguments[1]?(t=eV,r=arguments[1],n=arguments[2],i=arguments[3],o=arguments[4],a=arguments[5],l=arguments[6],u=arguments[7]):(t=arguments[1],r=arguments[2],n=arguments[3],i=arguments[4],o=arguments[5],a=arguments[6],l=arguments[7],u=arguments[8]),"object"===(0,s.default)(e=arguments[0])&&!eQ(e)&&"imageData"in e){var e,t,r,n,i,o,a,l,u,c=e;e=c.imageData,t=c.format||t||eV,r=c.x||r||0,n=c.y||n||0,i=c.w||c.width||i,o=c.h||c.height||o,a=c.alias||a,l=c.compression||l,u=c.rotation||c.angle||u}var h=this.internal.getFilters();if(void 0===l&&-1!==h.indexOf("FlateEncode")&&(l="SLOW"),isNaN(r)||isNaN(n))throw Error("Invalid coordinates passed to jsPDF.addImage");e$.call(this);var d=tr.call(this,e,t,a,l);return e5.call(this,r,n,i,o,d,u),this},tr=function(e,t,r,n){if("string"==typeof e&&eW(e)===eV){var s,i,o,a,l,u=tn(e=unescape(e),!1);(""!==u||void 0!==(u=eU.loadFile(e,!0)))&&(e=u)}if(eQ(e)&&(e=e0(e,t)),!eJ(t=eW(e,t)))throw Error("addImage does not support files of type '"+t+"', please ensure that a plugin for '"+t+"' support is added.");if((null==(o=r)||0===o.length)&&(r="string"==typeof(a=e)||e9(a)?e6(a):e9(a.data)?e6(a.data):null),(s=e1.call(this,r))||(e instanceof Uint8Array||"RGBA"===t||(i=e,e=te(e)),s=this["process"+t.toUpperCase()](e,eK.call(this),r,((l=n)&&"string"==typeof l&&(l=l.toUpperCase()),l in eU.image_compression?l:e4.NONE),i)),!s)throw Error("An unknown error occurred whilst processing the image.");return s},tn=eU.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var r,n,s="";if("string"==typeof e){n=null!=(r=e7(e))?r:e;try{s=v(n)}catch(e){if(t)throw e8(n)?Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return s},eU.getImageProperties=function(e){var t,r,n="";if(eQ(e)&&(e=e0(e)),"string"==typeof e&&eW(e)===eV&&(""===(n=tn(e,!1))&&(n=eU.loadFile(e)||""),e=n),!eJ(r=eW(e)))throw Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(e instanceof Uint8Array||(e=te(e)),!(t=this["process"+r.toUpperCase()](e)))throw Error("An unknown error occurred whilst processing the image");return t.fileType=r,t},ts=z.API,ti=function(e){if(void 0!==e&&""!=e)return!0},z.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),ts.events.push(["putPage",function(e){for(var t,r,n,s=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(e.objId),a=e.pageContext.annotations,l=!1,u=0;u<a.length&&!l;u++)switch((t=a[u]).type){case"link":(ti(t.options.url)||ti(t.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var c=0;c<a.length;c++){t=a[c];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),p=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(f.objId),g=t.title||"Note";f.content=n="<</Type /Annot /Subtype /Text "+(r="/Rect ["+s(t.bounds.x)+" "+i(t.bounds.y+t.bounds.h)+" "+s(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y)+"] ")+"/Contents ("+h(m(t.contents))+")"+(" /Popup "+p.objId)+" 0 R"+(" /P "+o.objId)+" 0 R"+(" /T ("+h(m(g)))+") >>";var v=f.objId+" 0 R";n="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+s(t.bounds.x+30)+" "+i(t.bounds.y+t.bounds.h)+" "+s(t.bounds.x+t.bounds.w+30)+" "+i(t.bounds.y)+"] ")+" /Parent "+v,t.open&&(n+=" /Open true"),p.content=n+=" >>",this.internal.write(f.objId,"0 R",p.objId,"0 R");break;case"freetext":r="/Rect ["+s(t.bounds.x)+" "+i(t.bounds.y)+" "+s(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y+t.bounds.h)+"] ";var y=t.color||"#000000";n="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(d(t.contents))+")"+(" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y)+") /Border [0 0 0] >>",this.internal.write(n);break;case"link":if(t.options.name){var b=this.annotations._nameMap[t.options.name];t.options.pageNumber=b.page,t.options.top=b.y}else t.options.top||(t.options.top=0);if(r="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",n="",t.options.url)n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(t.options.url))+") >>";else if(t.options.pageNumber)switch(n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":n+=" /Fit]";break;case"FitH":n+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,n+=" /FitV "+t.options.left+"]";break;default:var _=i(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),n+=" /XYZ "+t.options.left+" "+_+" "+t.options.zoom+"]"}""!=n&&(n+=" >>",this.internal.write(n))}}this.internal.write("]")}}]),ts.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},ts.link=function(e,t,r,n,s){var i=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:o(e),y:a(t),w:o(e+r),h:a(t+n)},options:s,type:"link"})},ts.textWithLink=function(e,t,r,n){var s,i,o=this.getTextWidth(e),a=this.internal.getLineHeight()/this.internal.scaleFactor;return void 0!==n.maxWidth?(i=n.maxWidth,s=Math.ceil(a*this.splitTextToSize(e,i).length)):(i=o,s=a),this.text(e,t,r,n),r+=.2*a,"center"===n.align&&(t-=o/2),"right"===n.align&&(t-=o),this.link(t,r-a,i,s,n),o},ts.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},to=z.API,ta={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},tl={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},tu={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},tc=[1570,1571,1573,1575],to.__arabicParser__={},th=to.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==ta[e.charCodeAt(0)]},td=to.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},tf=to.__arabicParser__.isArabicEndLetter=function(e){return td(e)&&th(e)&&ta[e.charCodeAt(0)].length<=2},tp=to.__arabicParser__.isArabicAlfLetter=function(e){return td(e)&&tc.indexOf(e.charCodeAt(0))>=0},to.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return td(e)&&th(e)&&ta[e.charCodeAt(0)].length>=1},tm=to.__arabicParser__.arabicLetterHasFinalForm=function(e){return td(e)&&th(e)&&ta[e.charCodeAt(0)].length>=2},to.__arabicParser__.arabicLetterHasInitialForm=function(e){return td(e)&&th(e)&&ta[e.charCodeAt(0)].length>=3},tg=to.__arabicParser__.arabicLetterHasMedialForm=function(e){return td(e)&&th(e)&&4==ta[e.charCodeAt(0)].length},tv=to.__arabicParser__.resolveLigatures=function(e){var t=0,r=tl,n="",s=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(s++,"number"==typeof(r=r[e.charCodeAt(t)])&&(n+=String.fromCharCode(r),r=tl,s=0),t===e.length-1&&(r=tl,n+=e.charAt(t-(s-1)),t-=s-1,s=0)):(r=tl,n+=e.charAt(t-s),t-=s,s=0);return n},to.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==tu[e.charCodeAt(0)]},ty=to.__arabicParser__.getCorrectForm=function(e,t,r){return td(e)?!1===th(e)?-1:!tm(e)||!td(t)&&!td(r)||!td(r)&&tf(t)||tf(e)&&!td(t)||tf(e)&&tp(t)||tf(e)&&tf(t)?0:tg(e)&&td(t)&&!tf(t)&&td(r)&&tm(r)?3:tf(e)||!td(r)?1:2:-1},tb=function(e){var t=0,r=0,n=0,s="",i="",o="",a=(e=e||"").split("\\s+"),l=[];for(t=0;t<a.length;t+=1){for(l.push(""),r=0;r<a[t].length;r+=1)s=a[t][r],i=a[t][r-1],o=a[t][r+1],td(s)?(n=ty(s,i,o),l[t]+=-1!==n?String.fromCharCode(ta[s.charCodeAt(0)][n]):s):l[t]+=s;l[t]=tv(l[t])}return l.join(" ")},t_=to.__arabicParser__.processArabic=to.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([tb(t[n][0]),t[n][1],t[n][2]]):r.push([tb(t[n])]);e=r}else e=tb(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])},to.events.push(["preProcessText",t_]),z.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},tj=z.API,(tw=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(e){s=e}}),Object.defineProperty(this,"parentNode",{})}).prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},tw.prototype.toDataURL=function(){throw Error("toDataURL is not implemented.")},tj.events.push(["initialized",function(){this.canvas=new tw,this.canvas.pdf=this}]),tx=z.API,tA={left:0,top:0,bottom:0,right:0},tS=!1,tN=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},tA),this.internal.__cell__.margins.width=this.getPageWidth(),tL.call(this))},tL=function(){this.internal.__cell__.lastCell=new tk,this.internal.__cell__.pages=1},(tk=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var s=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return s},set:function(e){s=e}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(e){o=e}}),this}).prototype.clone=function(){return new tk(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},tk.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},tx.setHeaderFunction=function(e){return tN.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},tx.getTextDimensions=function(e,t){tN.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),s=t.scaleFactor||this.internal.scaleFactor,i=0,o=0,a=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(l.splitTextToSize(t,u))},[])):e=Array.isArray(e)?e:[e];for(var c=0;c<e.length;c++)i<(a=this.getStringUnitWidth(e[c],{font:n})*r)&&(i=a);return 0!==i&&(o=e.length),{w:i/=s,h:Math.max((o*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/s,0)}},tx.cellAddPage=function(){tN.call(this),this.addPage();var e=this.internal.__cell__.margins||tA;return this.internal.__cell__.lastCell=new tk(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this},tP=tx.cell=function(){e=arguments[0]instanceof tk?arguments[0]:new tk(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),tN.call(this);var e,t=this.internal.__cell__.lastCell,r=this.internal.__cell__.padding,n=this.internal.__cell__.margins||tA,s=this.internal.__cell__.tableHeaderRow,i=this.internal.__cell__.printHeaders;return void 0!==t.lineNumber&&(t.lineNumber===e.lineNumber?(e.x=(t.x||0)+(t.width||0),e.y=t.y||0):t.y+t.height+e.height+n.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=n.top,i&&s&&(this.printHeaderRow(e.lineNumber,!0),e.y+=s[0].height)):e.y=t.y+t.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===tS?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-r,e.y+r,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+r,{align:"center",baseline:"top",maxWidth:e.width-r-r}):this.text(e.text,e.x+r,e.y+r,{align:"left",baseline:"top",maxWidth:e.width-r-r})),this.internal.__cell__.lastCell=e,this},tx.table=function(e,t,r,n,i){if(tN.call(this),!r)throw Error("No data for PDF table.");var o,a,l,u,c=[],h=[],d=[],f={},p={},m=[],g=[],v=(i=i||{}).autoSize||!1,y=!1!==i.printHeaders,b=i.css&&void 0!==i.css["font-size"]?16*i.css["font-size"]:i.fontSize||12,_=i.margins||Object.assign({width:this.getPageWidth()},tA),j="number"==typeof i.padding?i.padding:3,w=i.headerBackgroundColor||"#c8c8c8",x=i.headerTextColor||"#000";if(tL.call(this),this.internal.__cell__.printHeaders=y,this.internal.__cell__.margins=_,this.internal.__cell__.table_font_size=b,this.internal.__cell__.padding=j,this.internal.__cell__.headerBackgroundColor=w,this.internal.__cell__.headerTextColor=x,this.setFontSize(b),null==n)h=c=Object.keys(r[0]),d=c.map(function(){return"left"});else if(Array.isArray(n)&&"object"===(0,s.default)(n[0]))for(c=n.map(function(e){return e.name}),h=n.map(function(e){return e.prompt||e.name||""}),d=n.map(function(e){return e.align||"left"}),o=0;o<n.length;o+=1)p[n[o].name]=.7499990551181103*n[o].width;else Array.isArray(n)&&"string"==typeof n[0]&&(h=c=n,d=c.map(function(){return"left"}));if(v||Array.isArray(n)&&"string"==typeof n[0])for(o=0;o<c.length;o+=1){for(f[u=c[o]]=r.map(function(e){return e[u]}),this.setFont(void 0,"bold"),m.push(this.getTextDimensions(h[o],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),a=f[u],this.setFont(void 0,"normal"),l=0;l<a.length;l+=1)m.push(this.getTextDimensions(a[l],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);p[u]=Math.max.apply(null,m)+j+j,m=[]}if(y){var A={};for(o=0;o<c.length;o+=1)A[c[o]]={},A[c[o]].text=h[o],A[c[o]].align=d[o];var S=tC.call(this,A,p);g=c.map(function(r){return new tk(e,t,p[r],S,A[r].text,void 0,A[r].align)}),this.setTableHeaderRow(g),this.printHeaderRow(1,!1)}var N=n.reduce(function(e,t){return e[t.name]=t.align,e},{});for(o=0;o<r.length;o+=1){"rowStart"in i&&i.rowStart instanceof Function&&i.rowStart({row:o,data:r[o]},this);var L=tC.call(this,r[o],p);for(l=0;l<c.length;l+=1){var k=r[o][c[l]];"cellStart"in i&&i.cellStart instanceof Function&&i.cellStart({row:o,col:l,data:k},this),tP.call(this,new tk(e,t,p[c[l]],L,k,o+2,N[c[l]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=t,this},tC=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,s=this.internal.scaleFactor;return Object.keys(e).map(function(n){var s=e[n];return this.splitTextToSize(s.hasOwnProperty("text")?s.text:s,t[n]-r-r)},this).map(function(e){return this.getLineHeightFactor()*e.length*n/s+r+r},this).reduce(function(e,t){return Math.max(e,t)},0)},tx.setTableHeaderRow=function(e){tN.call(this),this.internal.__cell__.tableHeaderRow=e},tx.printHeaderRow=function(e,t){if(tN.call(this),!this.internal.__cell__.tableHeaderRow)throw Error("Property tableHeaderRow does not exist.");if(tS=!0,"function"==typeof this.internal.__cell__.headerFunction){var r,n=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new tk(n[0],n[1],n[2],n[3],void 0,-1)}this.setFont(void 0,"bold");for(var s=[],i=0;i<this.internal.__cell__.tableHeaderRow.length;i+=1){r=this.internal.__cell__.tableHeaderRow[i].clone(),t&&(r.y=this.internal.__cell__.margins.top||0,s.push(r)),r.lineNumber=e;var o=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),tP.call(this,r),this.setTextColor(o)}s.length>0&&this.setTableHeaderRow(s),this.setFont(void 0,"normal"),tS=!1};var eC={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},eE=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],eO=eP(eE),eT=[100,200,300,400,500,600,700,800,900],eI=eP(eT);function eM(e){var t,r,n,s=e.family.replace(/"|'/g,"").toLowerCase(),i=eC[t=(t=e.style)||"normal"]?t:"normal",o=(r=e.weight)?"number"==typeof r?r>=100&&r<=900&&r%100==0?r:400:/^\d00$/.test(r)?parseInt(r):"bold"===r?700:400:400,a="number"==typeof eO[n=(n=e.stretch)||"normal"]?n:"normal";return{family:s,style:i,weight:o,stretch:a,src:e.src||[],ref:e.ref||{name:s,style:[a,i,o].join(" ")}}}function eR(e,t,r,n){var s;for(s=r;s>=0&&s<t.length;s+=n)if(e[t[s]])return e[t[s]];for(s=r;s>=0&&s<t.length;s-=n)if(e[t[s]])return e[t[s]]}var eF={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},eD={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function eB(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function ez(e){return e.trimLeft()}var eU,eq,eV,eH,eW,eG,eY,eX,e$,eZ,eK,eJ,eQ,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,te,tt,tr,tn,ts,ti,to,ta,tl,tu,tc,th,td,tf,tp,tm,tg,tv,ty,tb,t_,tj,tw,tx,tA,tS,tN,tL,tk,tP,tC,tE,tO,tT,tI,tM,tR,tF,tD,tB=["times"];function tz(e,t,r,n,s){var o=4,a=tV;switch(s){case z.API.image_compression.FAST:o=1,a=tq;break;case z.API.image_compression.MEDIUM:o=6,a=tH;break;case z.API.image_compression.SLOW:o=9,a=tW}e=function(e,t,r,n){for(var s,i=e.length/t,o=new Uint8Array(e.length+i),a=[tU,tq,tV,tH,tW],l=0;l<i;l+=1){var u=l*t,c=e.subarray(u,u+t);if(n)o.set(n(c,r,s),u+l);else{for(var h=a.length,d=[],f=0;f<h;f+=1)d[f]=a[f](c,r,s);var p=function(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))}(d.concat());o.set(d[p],u+l)}s=c}return o}(e,t,Math.ceil(r*n/8),a);var l=(0,i.zlibSync)(e,{level:o});return z.API.__addimage__.arrayBufferToBinaryString(l)}function tU(e){var t=Array.apply([],e);return t.unshift(0),t}function tq(e,t){var r=e.length,n=[];n[0]=1;for(var s=0;s<r;s+=1){var i=e[s-t]||0;n[s+1]=e[s]-i+256&255}return n}function tV(e,t,r){var n=e.length,s=[];s[0]=2;for(var i=0;i<n;i+=1){var o=r&&r[i]||0;s[i+1]=e[i]-o+256&255}return s}function tH(e,t,r){var n=e.length,s=[];s[0]=3;for(var i=0;i<n;i+=1){var o=e[i-t]||0,a=r&&r[i]||0;s[i+1]=e[i]+256-(o+a>>>1)&255}return s}function tW(e,t,r){var n=e.length,s=[];s[0]=4;for(var i=0;i<n;i+=1){var o=function(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),s=Math.abs(e-r),i=Math.abs(e+t-r-r);return n<=s&&n<=i?e:s<=i?t:r}(e[i-t]||0,r&&r[i]||0,r&&r[i-t]||0);s[i+1]=e[i]-o+256&255}return s}function tG(e,t,r){var n=t*r,s=Math.floor(n/8),i=16-(n-8*s+r);return tX(e,s)>>i&(1<<r)-1}function tY(e,t,r,n){var s,i=r*n,o=Math.floor(i/8),a=16-(i-8*o+n),l=(1<<n)-1;s=tX(e,o)&~(l<<a)&65535|(t&l)<<a,o+1<e.byteLength?e.setUint16(o,s,!1):e.setUint8(o,s>>8&255)}function tX(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function t$(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,s=e[t++],i=1<<1+(7&s);e[t++],e[t++];var o=null,a=null;s>>7&&(o=t,a=i,t+=3*i);var l=!0,u=[],c=0,h=null,d=0,f=null;for(this.width=r,this.height=n;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}break;case 249:if(4!==e[t++]||0!==e[t+4])throw Error("Invalid graphics extension block.");var p=e[t++];c=e[t++]|e[t++]<<8,h=e[t++],1&p||(h=null),d=p>>2&7,t++;break;case 254:for(;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}break;default:throw Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m,g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,_=e[t++],j=_>>6&1,w=1<<1+(7&_),x=o,A=a,S=!1;_>>7&&(S=!0,x=t,A=w,t+=3*w);var N=t;for(t++;;){if(!((m=e[t++])>=0))throw Error("Invalid block size");if(0===m)break;t+=m}u.push({x:g,y:v,width:y,height:b,has_local_palette:S,palette_offset:x,palette_size:A,data_offset:N,data_length:t-N,transparent_index:h,interlaced:!!j,delay:c,disposal:d});break;case 59:l=!1;break;default:throw Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=u.length)throw Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var s=this.frameInfo(t),i=s.width*s.height,o=new Uint8Array(i);tZ(e,s.data_offset,o,i);var a=s.palette_offset,l=s.transparent_index;null===l&&(l=256);var u=s.width,c=r-u,h=u,d=4*(s.y*r+s.x),f=4*((s.y+s.height)*r+s.x),p=d,m=4*c;!0===s.interlaced&&(m+=4*r*7);for(var g=8,v=0,y=o.length;v<y;++v){var b=o[v];if(0===h&&(h=u,(p+=m)>=f&&(m=4*c+4*r*(g-1),p=d+(u+c)*(g<<1),g>>=1)),b===l)p+=4;else{var _=e[a+3*b],j=e[a+3*b+1],w=e[a+3*b+2];n[p++]=w,n[p++]=j,n[p++]=_,n[p++]=255}--h}},this.decodeAndBlitFrameRGBA=function(t,n){var s=this.frameInfo(t),i=s.width*s.height,o=new Uint8Array(i);tZ(e,s.data_offset,o,i);var a=s.palette_offset,l=s.transparent_index;null===l&&(l=256);var u=s.width,c=r-u,h=u,d=4*(s.y*r+s.x),f=4*((s.y+s.height)*r+s.x),p=d,m=4*c;!0===s.interlaced&&(m+=4*r*7);for(var g=8,v=0,y=o.length;v<y;++v){var b=o[v];if(0===h&&(h=u,(p+=m)>=f&&(m=4*c+4*r*(g-1),p=d+(u+c)*(g<<1),g>>=1)),b===l)p+=4;else{var _=e[a+3*b],j=e[a+3*b+1],w=e[a+3*b+2];n[p++]=_,n[p++]=j,n[p++]=w,n[p++]=255}--h}}}function tZ(e,t,r,n){for(var s=e[t++],i=1<<s,o=i+1,a=o+1,l=s+1,c=(1<<l)-1,h=0,d=0,f=0,p=e[t++],m=new Int32Array(4096),g=null;;){for(;h<16&&0!==p;)d|=e[t++]<<h,h+=8,1===p?p=e[t++]:--p;if(h<l)break;var v=d&c;if(d>>=l,h-=l,v!==i){if(v===o)break;for(var y=v<a?v:g,b=0,_=y;_>i;)_=m[_]>>8,++b;var j=_;if(f+b+ +(y!==v)>n)return void u("Warning, gif stream longer than expected.");r[f++]=j;var w=f+=b;for(y!==v&&(r[f++]=j),_=y;b--;)_=m[_],r[--w]=255&_,_>>=8;null!==g&&a<4096&&(m[a++]=g<<8|j,a>=c+1&&l<12&&(++l,c=c<<1|1)),g=v}else a=o+1,c=(1<<(l=s+1))-1,g=null}return f!==n&&u("Warning, gif stream shorter than expected."),r}function tK(e){var t,r,n,s,i,o=Math.floor,a=Array(64),l=Array(64),u=Array(64),c=Array(64),h=Array(65535),d=Array(65535),f=Array(64),p=Array(64),m=[],g=0,v=7,y=Array(64),b=Array(64),_=Array(64),j=Array(256),w=Array(2048),x=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],A=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],k=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],P=[0,1,2,3,4,5,6,7,8,9,10,11],C=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],E=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function O(e,t){for(var r=0,n=0,s=[],i=1;i<=16;i++){for(var o=1;o<=e[i];o++)s[t[n]]=[],s[t[n]][0]=r,s[t[n]][1]=i,n++,r++;r*=2}return s}function T(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(g|=1<<v),r--,--v<0&&(255==g?(I(255),I(0)):I(g),v=7,g=0)}function I(e){m.push(e)}function M(e){I(e>>8&255),I(255&e)}function R(e,t,r,n,s){for(var i,o=s[0],a=s[240],l=function(e,t){var r,n,s,i,o,a,l,u,c,h,d=0;for(c=0;c<8;++c){r=e[d],n=e[d+1],s=e[d+2],i=e[d+3],o=e[d+4],a=e[d+5],l=e[d+6];var p=r+(u=e[d+7]),m=r-u,g=n+l,v=n-l,y=s+a,b=s-a,_=i+o,j=i-o,w=p+_,x=p-_,A=g+y,S=g-y;e[d]=w+A,e[d+4]=w-A;var N=.707106781*(S+x);e[d+2]=x+N,e[d+6]=x-N;var L=.382683433*((w=j+b)-(S=v+m)),k=.5411961*w+L,P=1.306562965*S+L,C=.707106781*(A=b+v),E=m+C,O=m-C;e[d+5]=O+k,e[d+3]=O-k,e[d+1]=E+P,e[d+7]=E-P,d+=8}for(d=0,c=0;c<8;++c){r=e[d],n=e[d+8],s=e[d+16],i=e[d+24],o=e[d+32],a=e[d+40],l=e[d+48];var T=r+(u=e[d+56]),I=r-u,M=n+l,R=n-l,F=s+a,D=s-a,B=i+o,z=i-o,U=T+B,q=T-B,V=M+F,H=M-F;e[d]=U+V,e[d+32]=U-V;var W=.707106781*(H+q);e[d+16]=q+W,e[d+48]=q-W;var G=.382683433*((U=z+D)-(H=R+I)),Y=.5411961*U+G,X=1.306562965*H+G,$=.707106781*(V=D+R),Z=I+$,K=I-$;e[d+40]=K+Y,e[d+24]=K-Y,e[d+8]=Z+X,e[d+56]=Z-X,d++}for(c=0;c<64;++c)h=e[c]*t[c],f[c]=h>0?h+.5|0:h-.5|0;return f}(e,t),u=0;u<64;++u)p[x[u]]=l[u];var c=p[0]-r;r=p[0],0==c?T(n[0]):(T(n[d[i=32767+c]]),T(h[i]));for(var m=63;m>0&&0==p[m];)m--;if(0==m)return T(o),r;for(var g,v=1;v<=m;){for(var y=v;0==p[v]&&v<=m;)++v;var b=v-y;if(b>=16){g=b>>4;for(var _=1;_<=g;++_)T(a);b&=15}T(s[(b<<4)+d[i=32767+p[v]]]),T(h[i]),v++}return 63!=m&&T(o),r}function F(e){i!=(e=Math.min(Math.max(e,1),100))&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=o((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),a[x[r]]=n}for(var s=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var h=o((s[i]*e+50)/100);h=Math.min(Math.max(h,1),255),l[x[i]]=h}for(var d=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,p=0;p<8;p++)for(var m=0;m<8;m++)u[f]=1/(a[x[f]]*d[p]*d[m]*8),c[f]=1/(l[x[f]]*d[p]*d[m]*8),f++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){i&&F(i),m=[],g=0,v=7,M(65496),M(65504),M(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),M(1),M(1),I(0),I(0),function(){M(65499),M(132),I(0);for(var e=0;e<64;e++)I(a[e]);I(1);for(var t=0;t<64;t++)I(l[t])}(),f=e.width,p=e.height,M(65472),M(17),I(8),M(p),M(f),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1),function(){M(65476),M(418),I(0);for(var e=0;e<16;e++)I(A[e+1]);for(var t=0;t<=11;t++)I(S[t]);I(16);for(var r=0;r<16;r++)I(N[r+1]);for(var n=0;n<=161;n++)I(L[n]);I(1);for(var s=0;s<16;s++)I(k[s+1]);for(var i=0;i<=11;i++)I(P[i]);I(17);for(var o=0;o<16;o++)I(C[o+1]);for(var a=0;a<=161;a++)I(E[a])}(),M(65498),M(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var o=0,h=0,d=0;g=0,v=7,this.encode.displayName="_encode_";for(var f,p,j,x,O,D,B,z,U,q,V,H=e.data,W=e.width,G=e.height,Y=4*W,X=0;X<G;){for(j=0;j<Y;){for(B=Y*X+j,U=-1,q=0,V=0;V<64;V++)z=B+(q=V>>3)*Y+(U=4*(7&V)),X+q>=G&&(z-=Y*(X+1+q-G)),j+U>=Y&&(z-=j+U-Y+4),x=H[z++],O=H[z++],D=H[z++],y[V]=(w[x]+w[O+256|0]+w[D+512|0]>>16)-128,b[V]=(w[x+768|0]+w[O+1024|0]+w[D+1280|0]>>16)-128,_[V]=(w[x+1280|0]+w[O+1536|0]+w[D+1792|0]>>16)-128;o=R(y,u,o,t,n),h=R(b,c,h,r,s),d=R(_,c,d,r,s),j+=32}X+=8}if(v>=0){var $=[];$[1]=v+1,$[0]=(1<<v+1)-1,T($)}return M(65497),new Uint8Array(m)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)j[t]=e(t)}(),t=O(A,S),r=O(k,P),n=O(N,L),s=O(C,E),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)d[32767+n]=r,h[32767+n]=[],h[32767+n][1]=r,h[32767+n][0]=n;for(var s=-(t-1);s<=-e;s++)d[32767+s]=r,h[32767+s]=[],h[32767+s][1]=r,h[32767+s][0]=t-1+s;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)w[e]=19595*e,w[e+256|0]=38470*e,w[e+512|0]=7471*e+32768,w[e+768|0]=-11059*e,w[e+1024|0]=-21709*e,w[e+1280|0]=32768*e+8421375,w[e+1536|0]=-27439*e,w[e+1792|0]=-5329*e}(),F(e)}function tJ(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function tQ(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,s){for(var i=0;i<s;i++)e[t+i]=r[n+i]}function s(e,t,r,n){for(var s=0;s<n;s++)e[t+s]=r}function i(e){return new Int32Array(e)}function o(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function a(e,t){var r=[];return function e(r,n,s){for(var i=s[n],o=0;o<i&&(r.push(s.length>n+1?[]:new t),!(s.length<n+1));o++)e(r[o],n+1,s)}(r,0,e),r}var l=function(){var e=this;function l(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function u(e,r,n,s,i){t(!(s%n));do e[r+(s-=n)]=i;while(0<s)}function c(e,r,n,s,o){if(t(2328>=o),512>=o)var a=i(512);else if(null==(a=i(o)))return 0;return function(e,r,n,s,o,a){var c,d,f=r,p=1<<n,m=i(16),g=i(16);for(t(0!=o),t(null!=s),t(null!=e),t(0<n),d=0;d<o;++d){if(15<s[d])return 0;++m[s[d]]}if(m[0]==o)return 0;for(g[1]=0,c=1;15>c;++c){if(m[c]>1<<c)return 0;g[c+1]=g[c]+m[c]}for(d=0;d<o;++d)c=s[d],0<s[d]&&(a[g[c]++]=d);if(1==g[15])return(s=new h).g=0,s.value=a[0],u(e,f,1,p,s),p;var v,y=-1,b=p-1,_=0,j=1,w=1,x=1<<n;for(d=0,c=1,o=2;c<=n;++c,o<<=1){if(j+=w<<=1,0>(w-=m[c]))return 0;for(;0<m[c];--m[c])(s=new h).g=c,s.value=a[d++],u(e,f+_,o,x,s),_=l(_,c)}for(c=n+1,o=2;15>=c;++c,o<<=1){if(j+=w<<=1,0>(w-=m[c]))return 0;for(;0<m[c];--m[c]){if(s=new h,(_&b)!=y){for(f+=x,v=1<<(y=c)-n;15>y&&!(0>=(v-=m[y]));)++y,v<<=1;p+=x=1<<(v=y-n),e[r+(y=_&b)].g=v+n,e[r+y].value=f-r-y}s.g=c-n,s.value=a[d++],u(e,f+(_>>n),o,x,s),_=l(_,c)}}return j!=2*g[15]-1?0:p}(e,r,n,s,o,a)}function h(){this.value=this.g=0}function d(){this.value=this.g=0}function f(){this.G=o(5,h),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(rg,d)}function p(e,r,n,s){t(null!=e),t(null!=r),t(0x80000000>s),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+s,e.Zc=4<=s?n+s-4+1:n,N(e)}function m(e,t){for(var r=0;0<t--;)r|=k(e,128)<<t;return r}function g(e,t){var r=m(e,t);return L(e)?-r:r}function v(e,r,n,s){var i,o=0;for(t(null!=e),t(null!=r),t(0xfffffff8>s),e.Sb=s,e.Ra=0,e.u=0,e.h=0,4<s&&(s=4),i=0;i<s;++i)o+=r[n+i]<<8*i;e.Ra=o,e.bb=s,e.oa=r,e.pa=n}function y(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<rb-8>>>0,++e.bb,e.u-=8;x(e)&&(e.h=1,e.u=0)}function b(e,r){if(t(0<=r),!e.h&&r<=ry){var n=w(e)&rv[r];return e.u+=r,y(e),n}return e.h=1,e.u=0}function _(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function j(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&rb-1)>>>0}function x(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>rb}function A(e,t){e.u=t,e.h=x(e)}function S(e){e.u>=r_&&(t(e.u>=r_),y(e))}function N(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function L(e){return m(e,1)}function k(e,t){var r=e.Ca;0>e.b&&N(e);var n=e.b,s=r*t>>>8,i=(e.I>>>n>s)+0;for(i?(r-=s,e.I-=s+1<<n>>>0):r=s+1,n=r,s=0;256<=n;)s+=8,n>>=8;return n=7^s+rj[n],e.b-=n,e.Ca=(r<<n)-1,i}function P(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function C(e,t){return e[t+0]|e[t+1]<<8}function E(e,t){return C(e,t)|e[t+2]<<16}function O(e,t){return C(e,t)|C(e,t+2)<<16}function T(e,r){return t(null!=e),t(0<r),e.X=i(1<<r),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function I(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function M(){this.X=[],this.Xa=this.Mb=0}function R(e,r,n,s){t(null!=n),t(null!=s);var i=n[0],o=s[0];return 0==i&&(i=(e*o+r/2)/r),0==o&&(o=(r*i+e/2)/e),0>=i||0>=o?0:(n[0]=i,s[0]=o,1)}function F(e,t){return e+(1<<t)-1>>>t}function D(e,t){return((0xff00ff00&e)+(0xff00ff00&t)>>>0&0xff00ff00)+((0xff00ff&e)+(0xff00ff&t)>>>0&0xff00ff)>>>0}function B(t,r){e[r]=function(r,n,s,i,o,a,l){var u;for(u=0;u<o;++u){var c=e[t](a[l+u-1],s,i+u);a[l+u]=D(r[n+u],c)}}}function z(){this.ud=this.hd=this.jd=0}function U(e,t){return((0xfefefefe&(e^t))>>>1)+(e&t)>>>0}function q(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function V(e,t){return q(e+(e-t+.5>>1))}function H(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function W(e,t,r,n,s,i,o){for(n=i[o-1],r=0;r<s;++r)i[o+r]=n=D(e[t+r],n)}function G(e,t,r,n,s){var i;for(i=0;i<r;++i){var o=e[t+i],a=o>>8&255,l=0xff00ff&(l=(l=0xff00ff&o)+((a<<16)+a));n[s+i]=(0xff00ff00&o)+l>>>0}}function Y(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,r,n,s,i){var o;for(o=0;o<n;++o){var a=t[r+o],l=a>>>8,u=a,c=255&(c=(c=a>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));u=255&(u=(u+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),s[i+o]=(0xff00ff00&a)+(c<<16)+u}}function $(t,r,n,s,i){e[r]=function(e,t,r,n,o,a,l,u,c){for(n=l;n<u;++n)for(l=0;l<c;++l)o[a++]=i(r[s(e[t++])])},e[t]=function(t,r,o,a,l,u,c){var h=8>>t.b,d=t.Ea,f=t.K[0],p=t.w;if(8>h)for(t=(1<<t.b)-1,p=(1<<h)-1;r<o;++r){var m,g=0;for(m=0;m<d;++m)m&t||(g=s(a[l++])),u[c++]=i(f[g&p]),g>>=h}else e["VP8LMapColor"+n](a,l,f,p,u,c,r,o,d)}}function Z(e,t,r,n,s){for(r=t+r;t<r;){var i=e[t++];n[s++]=i>>16&255,n[s++]=i>>8&255,n[s++]=255&i}}function K(e,t,r,n,s){for(r=t+r;t<r;){var i=e[t++];n[s++]=i>>16&255,n[s++]=i>>8&255,n[s++]=255&i,n[s++]=i>>24&255}}function J(e,t,r,n,s){for(r=t+r;t<r;){var i=(o=e[t++])>>16&240|o>>12&15,o=240&o|o>>28&15;n[s++]=i,n[s++]=o}}function Q(e,t,r,n,s){for(r=t+r;t<r;){var i=(o=e[t++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[s++]=i,n[s++]=o}}function ee(e,t,r,n,s){for(r=t+r;t<r;){var i=e[t++];n[s++]=255&i,n[s++]=i>>8&255,n[s++]=i>>16&255}}function et(e,t,r,s,i,o){if(0==o)for(r=t+r;t<r;)P(s,((o=e[t++])[0]>>24|o[1]>>8&65280|o[2]<<8&0xff0000|o[3]<<24)>>>0),i+=32;else n(s,i,e,t,r)}function er(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function en(e){return e==nc||e==nh||e==nd||e==nf}function es(){this.eb=[],this.size=this.A=this.fb=0}function ei(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function eo(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new es,this.f.kb=new ei,this.sd=null}function ea(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function el(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function eu(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ec(e,t){var r=e.T,s=t.ba.f.RGBA,i=s.eb,o=s.fb+e.ka*s.A,a=nD[t.ba.S],l=e.y,u=e.O,c=e.f,h=e.N,d=e.ea,f=e.W,p=t.cc,m=t.dc,g=t.Mc,v=t.Nc,y=e.ka,b=e.ka+e.T,_=e.U,j=_+1>>1;for(0==y?a(l,u,null,null,c,h,d,f,c,h,d,f,i,o,null,null,_):(a(t.ec,t.fc,l,u,p,m,g,v,c,h,d,f,i,o-s.A,i,o,_),++r);y+2<b;y+=2)p=c,m=h,g=d,v=f,h+=e.Rc,f+=e.Rc,o+=2*s.A,a(l,(u+=2*e.fa)-e.fa,l,u,p,m,g,v,c,h,d,f,i,o-s.A,i,o,_);return u+=e.fa,e.j+b<e.o?(n(t.ec,t.fc,l,u,_),n(t.cc,t.dc,c,h,j),n(t.Mc,t.Nc,d,f,j),r--):1&b||a(l,u,null,null,c,h,d,f,c,h,d,f,i,o+s.A,null,null,_),r}function eh(e,r,n){var s=e.F,i=[e.J];if(null!=s){var o=e.U,a=r.ba.S,l=a==na||a==nd;r=r.ba.f.RGBA;var u=[0],c=e.ka;u[0]=e.T,e.Kb&&(0==c?--u[0]:(--c,i[0]-=e.width),e.j+e.ka+e.T==e.o&&(u[0]=e.o-e.j-c));var h=r.eb;c=r.fb+c*r.A,e=r2(s,i[0],e.width,o,u,h,c+3*!l,r.A),t(n==u),e&&en(a)&&r0(h,c,l,o,u,r.A)}return 0}function ed(e){var t=e.ma,r=t.ba.S,n=11>r,s=r==ns||r==no||r==na||r==nl||12==r||en(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!rf(t.Oa,e,s?11:12))return 0;if(s&&en(r)&&t6(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=eu,e.Kb){if(r=e.U+1>>1,t.memory=i(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ec,t6()}}else alert("todo:EmitYUV");s&&(t.Jb=eh,n&&t3())}if(n&&!nJ){for(e=0;256>e;++e)nQ[e]=89858*(e-128)+nY>>nG,n2[e]=-22014*(e-128)+nY,n1[e]=-45773*(e-128),n0[e]=113618*(e-128)+nY>>nG;for(e=nX;e<n$;++e)t=76283*(e-16)+nY>>nG,n5[e-nX]=eW(t,255),n3[e-nX]=eW(t+8>>4,15);nJ=1}return 1}function ef(e){var r=e.ma,n=e.U,s=e.T;return t(!(1&e.ka)),0>=n||0>=s?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function ep(e){e.ma.memory=null}function em(e,t,r,n){return 47!=b(e,8)?0:(t[0]=b(e,14)+1,r[0]=b(e,14)+1,n[0]=b(e,1),0!=b(e,3)?0:!e.h)}function eg(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+b(t,r)+1}function ev(e,t){var r;return 120<t?t-120:1<=(r=((r=nb[t-1])>>4)*e+(8-(15&r)))?r:1}function ey(e,t,r){var n=w(r),s=e[t+=255&n].g-8;return 0<s&&(A(r,r.u+8),n=w(r),t+=e[t].value,t+=n&(1<<s)-1),A(r,r.u+e[t].g),e[t].value}function eb(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function e_(e,r,n){var s=e.xc;return t((r=0==s?0:e.vc[e.md*(n>>s)+(r>>s)])<e.Wb),e.Ya[r]}function ej(e,r,s,i){var o=e.ab,a=e.c*r,l=e.C;r=l+r;var u=s,c=i;for(i=e.Ta,s=e.Ua;0<o--;){var h=e.gc[o],d=l,f=r,p=u,m=c,g=(c=i,u=s,h.Ea);switch(t(d<f),t(f<=h.nc),h.hc){case 2:rA(p,m,(f-d)*g,c,u);break;case 0:var v=d,y=f,b=c,_=u,j=(N=h).Ea;0==v&&(rw(p,m,null,null,1,b,_),W(p,m+1,0,0,j-1,b,_+1),m+=j,_+=j,++v);for(var w=1<<N.b,x=w-1,A=F(j,N.b),S=N.K,N=N.w+(v>>N.b)*A;v<y;){var L=S,k=N,P=1;for(rx(p,m,b,_-j,1,b,_);P<j;){var C=(P&~x)+w;C>j&&(C=j),(0,rP[L[k++]>>8&15])(p,m+ +P,b,_+P-j,C-P,b,_+P),P=C}m+=j,_+=j,++v&x||(N+=A)}f!=h.nc&&n(c,u-g,c,u+(f-d-1)*g,g);break;case 1:for(g=p,y=m,j=(p=h.Ea)-(_=p&~(b=(m=1<<h.b)-1)),v=F(p,h.b),w=h.K,h=h.w+(d>>h.b)*v;d<f;){for(x=w,A=h,S=new z,N=y+_,L=y+p;y<N;)Y(x[A++],S),rC(S,g,y,m,c,u),y+=m,u+=m;y<L&&(Y(x[A++],S),rC(S,g,y,j,c,u),y+=j,u+=j),++d&b||(h+=v)}break;case 3:if(p==c&&m==u&&0<h.b){for(y=c,p=g=u+(f-d)*g-(_=(f-d)*F(h.Ea,h.b)),m=c,b=u,v=[],_=(j=_)-1;0<=_;--_)v[_]=m[b+_];for(_=j-1;0<=_;--_)y[p+_]=v[_];rS(h,d,f,c,g,c,u)}else rS(h,d,f,p,m,c,u)}u=i,c=s}c!=s&&n(i,s,u,c,a)}function ew(e,r){var n=e.V,s=e.Ba+e.c*e.C,i=r-e.C;if(t(r<=e.l.o),t(16>=i),0<i){var o=e.l,a=e.Ta,l=e.Ua,u=o.width;if(ej(e,i,n,s),i=l=[l],t((n=e.C)<(s=r)),t(o.v<o.va),s>o.o&&(s=o.o),n<o.j){var c=o.j-n;n=o.j,i[0]+=c*u}if(n>=s?n=0:(i[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=s-n,n=1),n){if(l=l[0],11>(n=e.ca).S){var h=n.f.RGBA,d=(s=n.S,i=o.U,o=o.T,c=h.eb,h.A),f=o;for(h=h.fb+e.Ma*h.A;0<f--;){var p=l,m=i,g=c,v=h;switch(s){case nn:rE(a,p,m,g,v);break;case ns:rO(a,p,m,g,v);break;case nc:rO(a,p,m,g,v),r0(g,v,0,m,1,0);break;case ni:rM(a,p,m,g,v);break;case no:et(a,p,m,g,v,1);break;case nh:et(a,p,m,g,v,1),r0(g,v,0,m,1,0);break;case na:et(a,p,m,g,v,0);break;case nd:et(a,p,m,g,v,0),r0(g,v,1,m,1,0);break;case nl:rT(a,p,m,g,v);break;case nf:rT(a,p,m,g,v),r1(g,v,m,1,0);break;case nu:rI(a,p,m,g,v);break;default:t(0)}l+=u,h+=d}e.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function ex(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function eA(e,r,n,s,i,o){if(0!=e.Z){var a=e.qd,l=e.rd;for(t(null!=nF[e.Z]);r<n;++r)nF[e.Z](a,l,s,i,s,i,o),a=s,l=i,i+=o;e.qd=a,e.rd=l}}function eS(e,r){var n=e.l.ma,s=0==n.Z||1==n.Z?e.l.j:e.C;if(s=e.C<s?s:e.C,t(r<=e.l.o),r>s){var i=e.l.width,o=n.ca,a=n.tb+i*s,l=e.V,u=e.Ba+e.c*s,c=e.gc;t(1==e.ab),t(3==c[0].hc),rL(c[0],s,r,l,u,o,a),eA(n,s,r,o,a,i)}e.C=e.Ma=r}function eN(e,r,n,s,i,o,a){var l=e.$/s,u=e.$%s,c=e.m,h=e.s,d=n+e.$,f=d;i=n+s*i;var p=n+s*o,m=280+h.ua,g=e.Pb?l:0x1000000,v=0<h.ua?h.Wa:null,y=h.wc,b=d<p?e_(h,u,l):null;t(e.C<o),t(p<=i);var _=!1;e:for(;;){for(;_||d<p;){var j=0;if(l>=g){var N=d-n;t((g=e).Pb),g.wd=g.m,g.xd=N,0<g.s.ua&&I(g.s.Wa,g.s.vb),g=l+nj}if(u&y||(b=e_(h,u,l)),t(null!=b),b.Qb&&(r[d]=b.qb,_=!0),!_)if(S(c),b.jc){j=c,N=r;var L=d,k=b.pd[w(j)&rg-1];t(b.jc),256>k.g?(A(j,j.u+k.g),N[L]=k.value,j=0):(A(j,j.u+k.g-256),t(256<=k.value),j=k.value),0==j&&(_=!0)}else j=ey(b.G[0],b.H[0],c);if(c.h)break;if(_||256>j){if(!_)if(b.nd)r[d]=(b.qb|j<<8)>>>0;else{if(S(c),_=ey(b.G[1],b.H[1],c),S(c),N=ey(b.G[2],b.H[2],c),L=ey(b.G[3],b.H[3],c),c.h)break;r[d]=(L<<24|_<<16|j<<8|N)>>>0}if(_=!1,++d,++u>=s&&(u=0,++l,null!=a&&l<=o&&!(l%16)&&a(e,l),null!=v))for(;f<d;)j=r[f++],v.X[(0x1e35a7bd*j|0)>>>v.Mb]=j}else if(280>j){if(j=eg(j-256,c),N=ey(b.G[4],b.H[4],c),S(c),N=ev(s,N=eg(N,c)),c.h)break;if(d-n<N||i-d<j)break e;for(L=0;L<j;++L)r[d+L]=r[d+L-N];for(d+=j,u+=j;u>=s;)u-=s,++l,null!=a&&l<=o&&!(l%16)&&a(e,l);if(t(d<=i),u&y&&(b=e_(h,u,l)),null!=v)for(;f<d;)j=r[f++],v.X[(0x1e35a7bd*j|0)>>>v.Mb]=j}else{if(!(j<m))break e;for(_=j-280,t(null!=v);f<d;)j=r[f++],v.X[(0x1e35a7bd*j|0)>>>v.Mb]=j;j=d,t(!(_>>>(N=v).Xa)),r[j]=N.X[_],_=!0}_||t(c.h==x(c))}if(e.Pb&&c.h&&d<i)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(c.h)break;null!=a&&a(e,l>o?o:l),e.a=0,e.$=d-n}return 1}return e.a=3,0}function eL(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function ek(){var t=new t$;return null==t?null:(t.a=0,t.xb=nR,er("Predictor","VP8LPredictors"),er("Predictor","VP8LPredictors_C"),er("PredictorAdd","VP8LPredictorsAdd"),er("PredictorAdd","VP8LPredictorsAdd_C"),rA=G,rC=X,rE=Z,rO=K,rT=J,rI=Q,rM=ee,e.VP8LMapColor32b=rN,e.VP8LMapColor8b=rk,t)}function eP(e,r,n,a,l){for(var u=1,d=[e],p=[r],m=a.m,g=a.s,v=null,y=0;;){if(n)for(;u&&b(m,1);){var _=d,j=p,x=1,N=a.m,L=a.gc[a.ab],k=b(N,2);if(a.Oc&1<<k)u=0;else{switch(a.Oc|=1<<k,L.hc=k,L.Ea=_[0],L.nc=j[0],L.K=[null],++a.ab,t(4>=a.ab),k){case 0:case 1:L.b=b(N,3)+2,x=eP(F(L.Ea,L.b),F(L.nc,L.b),0,a,L.K),L.K=L.K[0];break;case 3:var P,C=b(N,8)+1,E=16<C?0:4<C?1:2<C?2:3;if(_[0]=F(L.Ea,E),L.b=E,P=x=eP(C,1,0,a,L.K)){var O,I=1<<(8>>L.b),M=i(I);if(null==M)P=0;else{var R=L.K[0],B=L.w;for(M[0]=L.K[0][0],O=1;O<+C;++O)M[O]=D(R[B+O],M[O-1]);for(;O<4*I;++O)M[O]=0;L.K[0]=null,L.K[0]=M,P=1}}x=P;break;case 2:break;default:t(0)}u=x}}if(d=d[0],p=p[0],u&&b(m,1)&&!(u=1<=(y=b(m,4))&&11>=y)){a.a=3;break}if(z=u)t:{var z,U,q,V,H=d,W=p,G=y,Y=a.m,X=a.s,$=[null],Z=1,K=0,J=n_[G];r:for(;;){if(n&&b(Y,1)){var Q=b(Y,3)+2,ee=F(H,Q),et=F(W,Q),er=ee*et;if(!eP(ee,et,0,a,$))break;for($=$[0],X.xc=Q,U=0;U<er;++U){var en=$[U]>>8&65535;$[U]=en,en>=Z&&(Z=en+1)}}if(Y.h)break;for(q=0;5>q;++q){var es=ng[q];!q&&0<G&&(es+=1<<G),K<es&&(K=es)}var ei=o(Z*J,h),eo=Z,ea=o(eo,f);if(null==ea)var el=null;else t(65536>=eo),el=ea;var eu=i(K);if(null==el||null==eu||null==ei){a.a=1;break}for(U=V=0;U<Z;++U){var ec,eh=el[U],ed=eh.G,ef=eh.H,ep=0,em=1,eg=0;for(q=0;5>q;++q){es=ng[q],ed[q]=ei,ef[q]=V,!q&&0<G&&(es+=1<<G);n:{var ev,ey=es,e_=V,ej=0,ew=a.m,ex=b(ew,1);if(s(eu,0,0,ey),ex){var eA=b(ew,1)+1,eS=b(ew,1),ek=b(ew,0==eS?1:8);eu[ek]=1,2==eA&&(eu[ek=b(ew,8)]=1);var eC=1}else{var eE=i(19),eO=b(ew,4)+4;if(19<eO){a.a=3;var eT=0;break n}for(ev=0;ev<eO;++ev)eE[ny[ev]]=b(ew,3);var eI=void 0,eM=void 0,eR=0,eF=a.m,eD=8,eB=o(128,h);s:for(;c(eB,0,7,eE,19);){if(b(eF,1)){var ez=2+2*b(eF,3);if((eI=2+b(eF,ez))>ey)break}else eI=ey;for(eM=0;eM<ey&&eI--;){S(eF);var eU=eB[0+(127&w(eF))];A(eF,eF.u+eU.g);var eq=eU.value;if(16>eq)eu[eM++]=eq,0!=eq&&(eD=eq);else{var eV=16==eq,eH=eq-16,eW=nm[eH],eG=b(eF,np[eH])+eW;if(eM+eG>ey)break s;for(var eY=eV?eD:0;0<eG--;)eu[eM++]=eY}}eR=1;break}eR||(a.a=3),eC=eR}(eC=eC&&!ew.h)&&(ej=c(ei,e_,8,eu,ey)),eC&&0!=ej?eT=ej:(a.a=3,eT=0)}if(0==eT)break r;if(em&&1==nv[q]&&(em=0==ei[V].g),ep+=ei[V].g,V+=eT,3>=q){var eX,e$=eu[0];for(eX=1;eX<es;++eX)eu[eX]>e$&&(e$=eu[eX]);eg+=e$}}if(eh.nd=em,eh.Qb=0,em&&(eh.qb=(ed[3][ef[3]+0].value<<24|ed[1][ef[1]+0].value<<16|ed[2][ef[2]+0].value)>>>0,0==ep&&256>ed[0][ef[0]+0].value&&(eh.Qb=1,eh.qb+=ed[0][ef[0]+0].value<<8)),eh.jc=!eh.Qb&&6>eg,eh.jc)for(ec=0;ec<rg;++ec){var eZ=ec,eK=eh.pd[eZ],eJ=eh.G[0][eh.H[0]+eZ];256<=eJ.value?(eK.g=eJ.g+256,eK.value=eJ.value):(eK.g=0,eK.value=0,eZ>>=eb(eJ,8,eK),eZ>>=eb(eh.G[1][eh.H[1]+eZ],16,eK),eZ>>=eb(eh.G[2][eh.H[2]+eZ],0,eK),eb(eh.G[3][eh.H[3]+eZ],24,eK))}}X.vc=$,X.Wb=Z,X.Ya=el,X.yc=ei,z=1;break t}z=0}if(!(u=z)){a.a=3;break}if(0<y){if(g.ua=1<<y,!T(g.Wa,y)){a.a=1,u=0;break}}else g.ua=0;var eQ=d,e0=p,e1=a.s,e2=e1.xc;if(a.c=eQ,a.i=e0,e1.md=F(eQ,e2),e1.wc=0==e2?-1:(1<<e2)-1,n){a.xb=nM;break}if(null==(v=i(d*p))){a.a=1,u=0;break}u=(u=eN(a,v,0,d,p,p,null))&&!m.h;break}return u?(null!=l?l[0]=v:(t(null==v),t(n)),a.$=0,n||eL(g)):eL(g),u}function eC(e,r){var n=e.c*e.i;return t(e.c<=r),e.V=i(n+r+16*r),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function eE(e,r){var n=e.C,s=r-n,i=e.V,o=e.Ba+e.c*n;for(t(r<=e.l.o);0<s;){var a=16<s?16:s,l=e.l.ma,u=e.l.width,c=u*a,h=l.ca,d=l.tb+u*n,f=e.Ta,p=e.Ua;ej(e,a,i,o),r5(f,p,h,d,c),eA(l,n,n+a,h,d,u),s-=a,i+=a*e.c,n+=a}t(n==r),e.C=e.Ma=r}function eO(){this.ub=this.yd=this.td=this.Rb=0}function eT(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function eI(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function eM(){var e;this.Yb=(function e(t,r,n){for(var s=n[r],i=0;i<s&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));i++)e(t[i],r+1,n)}(e=[],0,[3,11]),e)}function eR(){this.jb=i(3),this.Wc=a([4,8],eM),this.Xc=a([4,17],eM)}function eF(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function eD(){this.ld=this.La=this.dd=this.tc=0}function eB(){this.Na=this.la=0}function ez(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function eU(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function eq(){this.uc=this.M=this.Nb=0,this.wa=Array(new eD),this.Y=0,this.ya=Array(new eU),this.aa=0,this.l=new eG}function eV(){this.y=i(16),this.f=i(8),this.ea=i(8)}function eH(){this.cb=this.a=0,this.sc="",this.m=new _,this.Od=new eO,this.Kc=new eT,this.ed=new eF,this.Qa=new eI,this.Ic=this.$c=this.Aa=0,this.D=new eq,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,_),this.ia=0,this.pb=o(4,ez),this.Pa=new eR,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new eV),this.Hd=0,this.rb=Array(new eB),this.sb=0,this.wa=Array(new eD),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new eU),this.L=this.aa=0,this.gd=a([4,2],eD),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function eW(e,t){return 0>e?0:e>t?t:e}function eG(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function eY(){var e=new eH;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,nA||(nA=eK)),e}function eX(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function e$(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function eZ(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return eX(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,i=r.w,o=r.ha;if(4>o)return eX(e,7,"Truncated header.");var a=n[i+0]|n[i+1]<<8|n[i+2]<<16,l=e.Od;if(l.Rb=!(1&a),l.td=a>>1&7,l.yd=a>>4&1,l.ub=a>>5,3<l.td)return eX(e,3,"Incorrect keyframe parameters.");if(!l.yd)return eX(e,4,"Frame not displayable.");i+=3,o-=3;var u=e.Kc;if(l.Rb){if(7>o)return eX(e,7,"cannot parse picture header");if(!e$(n,i,o))return eX(e,3,"Bad code word");u.c=16383&(n[i+4]<<8|n[i+3]),u.Td=n[i+4]>>6,u.i=16383&(n[i+6]<<8|n[i+5]),u.Ud=n[i+6]>>6,i+=7,o-=7,e.za=u.c+15>>4,e.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,s((a=e.Pa).jb,0,255,a.jb.length),t(null!=(a=e.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,s(a.Zb,0,0,a.Zb.length),s(a.Lb,0,0,a.Lb)}if(l.ub>o)return eX(e,7,"bad partition length");p(a=e.m,n,i,l.ub),i+=l.ub,o-=l.ub,l.Rb&&(u.Ld=L(a),u.Kd=L(a)),u=e.Qa;var c,h=e.Pa;if(t(null!=a),t(null!=u),u.Cb=L(a),u.Cb){if(u.Bb=L(a),L(a)){for(u.Fb=L(a),c=0;4>c;++c)u.Zb[c]=L(a)?g(a,7):0;for(c=0;4>c;++c)u.Lb[c]=L(a)?g(a,6):0}if(u.Bb)for(c=0;3>c;++c)h.jb[c]=L(a)?m(a,8):255}else u.Bb=0;if(a.Ka)return eX(e,3,"cannot parse segment header");if((u=e.ed).zd=L(a),u.Tb=m(a,6),u.wb=m(a,3),u.Pc=L(a),u.Pc&&L(a)){for(h=0;4>h;++h)L(a)&&(u.vd[h]=g(a,6));for(h=0;4>h;++h)L(a)&&(u.od[h]=g(a,6))}if(e.L=0==u.Tb?0:u.zd?1:2,a.Ka)return eX(e,3,"cannot parse filter header");var d=o;if(o=c=i,i=c+d,u=d,e.Xb=(1<<m(e.m,2))-1,d<3*(h=e.Xb))n=7;else{for(c+=3*h,u-=3*h,d=0;d<h;++d){var f=n[o+0]|n[o+1]<<8|n[o+2]<<16;f>u&&(f=u),p(e.Jc[+d],n,c,f),c+=f,u-=f,o+=3}p(e.Jc[+h],n,c,u),n=c<i?0:5}if(0!=n)return eX(e,n,"cannot parse partitions");for(n=m(c=e.m,7),o=L(c)?g(c,4):0,i=L(c)?g(c,4):0,u=L(c)?g(c,4):0,h=L(c)?g(c,4):0,c=L(c)?g(c,4):0,d=e.Qa,f=0;4>f;++f){if(d.Cb){var v=d.Zb[f];d.Fb||(v+=n)}else{if(0<f){e.pb[f]=e.pb[0];continue}v=n}var y=e.pb[f];y.Sc[0]=nw[eW(v+o,127)],y.Sc[1]=nx[eW(v+0,127)],y.Eb[0]=2*nw[eW(v+i,127)],y.Eb[1]=101581*nx[eW(v+u,127)]>>16,8>y.Eb[1]&&(y.Eb[1]=8),y.Qc[0]=nw[eW(v+h,117)],y.Qc[1]=nx[eW(v+c,127)],y.lc=v+c}if(!l.Rb)return eX(e,4,"Not a key frame.");for(L(a),l=e.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(i=0;3>i;++i)for(u=0;11>u;++u)h=k(a,nC[n][o][i][u])?m(a,8):nk[n][o][i][u],l.Wc[n][o].Yb[i][u]=h;for(o=0;17>o;++o)l.Xc[n][o]=l.Wc[n][nE[o]]}return e.kc=L(a),e.kc&&(e.Bd=m(a,8)),e.cb=1}function eK(e,t,r,n,s,i,o){var a=t[s].Yb[r];for(r=0;16>s;++s){if(!k(e,a[r+0]))return s;for(;!k(e,a[r+1]);)if(a=t[++s].Yb[0],r=0,16==s)return 16;var l=t[s+1].Yb;if(k(e,a[r+2])){var u=e,c=0;if(k(u,(d=a)[(h=r)+3]))if(k(u,d[h+6])){for(a=0,h=2*(c=k(u,d[h+8]))+(d=k(u,d[h+9+c])),c=0,d=nS[h];d[a];++a)c+=c+k(u,d[a]);c+=3+(8<<h)}else c=k(u,d[h+7])?7+2*k(u,165)+k(u,145):5+k(u,159);else c=k(u,d[h+4])?3+k(u,d[h+5]):2;a=l[2]}else c=1,a=l[1];l=o+nN[s],0>(u=e).b&&N(u);var h,d=u.b,f=(h=u.Ca>>1)-(u.I>>d)>>31;--u.b,u.Ca+=f,u.Ca|=1,u.I-=(h+1&f)<<d,i[l]=((c^f)-f)*n[(0<s)+0]}return 16}function eJ(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,s(e.zc,0,0,e.zc.length),e.ja=0}function eQ(e,t,r,n,s){s=e[t+r+32*n]+(s>>3),e[t+r+32*n]=-256&s?0>s?0:255:s}function e0(e,t,r,n,s,i){eQ(e,t,0,r,n+s),eQ(e,t,1,r,n+i),eQ(e,t,2,r,n-i),eQ(e,t,3,r,n-s)}function e1(e){return(20091*e>>16)+e}function e2(e,t,r,n){var s,o=0,a=i(16);for(s=0;4>s;++s){var l=e[t+0]+e[t+8],u=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-e1(e[t+12]),h=e1(e[t+4])+(35468*e[t+12]>>16);a[o+0]=l+h,a[o+1]=u+c,a[o+2]=u-c,a[o+3]=l-h,o+=4,t++}for(s=o=0;4>s;++s)l=(e=a[o+0]+4)+a[o+8],u=e-a[o+8],c=(35468*a[o+4]>>16)-e1(a[o+12]),eQ(r,n,0,0,l+(h=e1(a[o+4])+(35468*a[o+12]>>16))),eQ(r,n,1,0,u+c),eQ(r,n,2,0,u-c),eQ(r,n,3,0,l-h),o++,n+=32}function e5(e,t,r,n){var s=e[t+0]+4,i=35468*e[t+4]>>16,o=e1(e[t+4]),a=35468*e[t+1]>>16;e0(r,n,0,s+o,e=e1(e[t+1]),a),e0(r,n,1,s+i,e,a),e0(r,n,2,s-i,e,a),e0(r,n,3,s-o,e,a)}function e3(e,t,r,n,s){e2(e,t,r,n),s&&e2(e,t+16,r,n+4)}function e4(e,t,r,n){rF(e,t+0,r,n,1),rF(e,t+32,r,n+128,1)}function e6(e,t,r,n){var s;for(e=e[t+0]+4,s=0;4>s;++s)for(t=0;4>t;++t)eQ(r,n,t,s,e)}function e8(e,t,r,n){e[t+0]&&rz(e,t+0,r,n),e[t+16]&&rz(e,t+16,r,n+4),e[t+32]&&rz(e,t+32,r,n+128),e[t+48]&&rz(e,t+48,r,n+128+4)}function e7(e,t,r,n){var s,o=i(16);for(s=0;4>s;++s){var a=e[t+0+s]+e[t+12+s],l=e[t+4+s]+e[t+8+s],u=e[t+4+s]-e[t+8+s],c=e[t+0+s]-e[t+12+s];o[0+s]=a+l,o[8+s]=a-l,o[4+s]=c+u,o[12+s]=c-u}for(s=0;4>s;++s)a=(e=o[0+4*s]+3)+o[3+4*s],l=o[1+4*s]+o[2+4*s],u=o[1+4*s]-o[2+4*s],c=e-o[3+4*s],r[n+0]=a+l>>3,r[n+16]=c+u>>3,r[n+32]=a-l>>3,r[n+48]=c-u>>3,n+=64}function e9(e,t,r){var n,s=t-32,i=255-e[s-1];for(n=0;n<r;++n){var o,a=i+e[t-1];for(o=0;o<r;++o)e[t+o]=nt[a+e[s+o]];t+=32}}function te(e,t){e9(e,t,4)}function tt(e,t){e9(e,t,8)}function tr(e,t){e9(e,t,16)}function tn(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function ts(e,t){var r;for(r=16;0<r;--r)s(e,t,e[t-1],16),t+=32}function ti(e,t,r){var n;for(n=0;16>n;++n)s(t,r+32*n,e,16)}function to(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];ti(n>>5,e,t)}function ta(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];ti(n>>4,e,t)}function tl(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];ti(n>>4,e,t)}function tu(e,t){ti(128,e,t)}function tc(e,t,r){return e+2*t+r+2>>2}function th(e,t){var r,s=t-32;for(s=new Uint8Array([tc(e[s-1],e[s+0],e[s+1]),tc(e[s+0],e[s+1],e[s+2]),tc(e[s+1],e[s+2],e[s+3]),tc(e[s+2],e[s+3],e[s+4])]),r=0;4>r;++r)n(e,t+32*r,s,0,s.length)}function td(e,t){var r=e[t-1],n=e[t-1+32],s=e[t-1+64],i=e[t-1+96];P(e,t+0,0x1010101*tc(e[t-1-32],r,n)),P(e,t+32,0x1010101*tc(r,n,s)),P(e,t+64,0x1010101*tc(n,s,i)),P(e,t+96,0x1010101*tc(s,i,i))}function tf(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)s(e,t+32*r,n,4)}function tp(e,t){var r=e[t-1+0],n=e[t-1+32],s=e[t-1+64],i=e[t-1-32],o=e[t+0-32],a=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+96]=tc(n,s,e[t-1+96]),e[t+1+96]=e[t+0+64]=tc(r,n,s),e[t+2+96]=e[t+1+64]=e[t+0+32]=tc(i,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=tc(o,i,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=tc(a,o,i),e[t+3+32]=e[t+2+0]=tc(l,a,o),e[t+3+0]=tc(u,l,a)}function tm(e,t){var r=e[t+1-32],n=e[t+2-32],s=e[t+3-32],i=e[t+4-32],o=e[t+5-32],a=e[t+6-32],l=e[t+7-32];e[t+0+0]=tc(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=tc(r,n,s),e[t+2+0]=e[t+1+32]=e[t+0+64]=tc(n,s,i),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=tc(s,i,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=tc(i,o,a),e[t+3+64]=e[t+2+96]=tc(o,a,l),e[t+3+96]=tc(a,l,l)}function tg(e,t){var r=e[t-1+0],n=e[t-1+32],s=e[t-1+64],i=e[t-1-32],o=e[t+0-32],a=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+0]=e[t+1+64]=i+o+1>>1,e[t+1+0]=e[t+2+64]=o+a+1>>1,e[t+2+0]=e[t+3+64]=a+l+1>>1,e[t+3+0]=l+u+1>>1,e[t+0+96]=tc(s,n,r),e[t+0+64]=tc(n,r,i),e[t+0+32]=e[t+1+96]=tc(r,i,o),e[t+1+32]=e[t+2+96]=tc(i,o,a),e[t+2+32]=e[t+3+96]=tc(o,a,l),e[t+3+32]=tc(a,l,u)}function tv(e,t){var r=e[t+0-32],n=e[t+1-32],s=e[t+2-32],i=e[t+3-32],o=e[t+4-32],a=e[t+5-32],l=e[t+6-32],u=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+s+1>>1,e[t+2+0]=e[t+1+64]=s+i+1>>1,e[t+3+0]=e[t+2+64]=i+o+1>>1,e[t+0+32]=tc(r,n,s),e[t+1+32]=e[t+0+96]=tc(n,s,i),e[t+2+32]=e[t+1+96]=tc(s,i,o),e[t+3+32]=e[t+2+96]=tc(i,o,a),e[t+3+64]=tc(o,a,l),e[t+3+96]=tc(a,l,u)}function ty(e,t){var r=e[t-1+0],n=e[t-1+32],s=e[t-1+64],i=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+s+1>>1,e[t+2+32]=e[t+0+64]=s+i+1>>1,e[t+1+0]=tc(r,n,s),e[t+3+0]=e[t+1+32]=tc(n,s,i),e[t+3+32]=e[t+1+64]=tc(s,i,i),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=i}function tb(e,t){var r=e[t-1+0],n=e[t-1+32],s=e[t-1+64],i=e[t-1+96],o=e[t-1-32],a=e[t+0-32],l=e[t+1-32],u=e[t+2-32];e[t+0+0]=e[t+2+32]=r+o+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=s+n+1>>1,e[t+0+96]=i+s+1>>1,e[t+3+0]=tc(a,l,u),e[t+2+0]=tc(o,a,l),e[t+1+0]=e[t+3+32]=tc(r,o,a),e[t+1+32]=e[t+3+64]=tc(n,r,o),e[t+1+64]=e[t+3+96]=tc(s,n,r),e[t+1+96]=tc(i,s,n)}function t_(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function tj(e,t){var r;for(r=0;8>r;++r)s(e,t,e[t-1],8),t+=32}function tw(e,t,r){var n;for(n=0;8>n;++n)s(t,r+32*n,e,8)}function tx(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];tw(n>>4,e,t)}function tA(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];tw(n>>3,e,t)}function tS(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];tw(n>>3,e,t)}function tN(e,t){tw(128,e,t)}function tL(e,t,r){var n=e[t-r],s=e[t+0],i=3*(s-n)+r9[1020+e[t-2*r]-e[t+r]],o=ne[112+(i+4>>3)];e[t-r]=nt[255+n+ne[112+(i+3>>3)]],e[t+0]=nt[255+s-o]}function tk(e,t,r,n){var s=e[t+0],i=e[t+r];return nr[255+e[t-2*r]-e[t-r]]>n||nr[255+i-s]>n}function tP(e,t,r,n){return 4*nr[255+e[t-r]-e[t+0]]+nr[255+e[t-2*r]-e[t+r]]<=n}function tC(e,t,r,n,s){var i=e[t-3*r],o=e[t-2*r],a=e[t-r],l=e[t+0],u=e[t+r],c=e[t+2*r],h=e[t+3*r];return 4*nr[255+a-l]+nr[255+o-u]>n?0:nr[255+e[t-4*r]-i]<=s&&nr[255+i-o]<=s&&nr[255+o-a]<=s&&nr[255+h-c]<=s&&nr[255+c-u]<=s&&nr[255+u-l]<=s}function tE(e,t,r,n){var s=2*n+1;for(n=0;16>n;++n)tP(e,t+n,r,s)&&tL(e,t+n,r)}function tO(e,t,r,n){var s=2*n+1;for(n=0;16>n;++n)tP(e,t+n*r,1,s)&&tL(e,t+n*r,1)}function tT(e,t,r,n){var s;for(s=3;0<s;--s)tE(e,t+=4*r,r,n)}function tI(e,t,r,n){var s;for(s=3;0<s;--s)tO(e,t+=4,r,n)}function tM(e,t,r,n,s,i,o,a){for(i=2*i+1;0<s--;){if(tC(e,t,r,i,o))if(tk(e,t,r,a))tL(e,t,r);else{var l=t,u=e[l-2*r],c=e[l-r],h=e[l+0],d=e[l+r],f=e[l+2*r],p=27*(g=r9[1020+3*(h-c)+r9[1020+u-d]])+63>>7,m=18*g+63>>7,g=9*g+63>>7;e[l-3*r]=nt[255+e[l-3*r]+g],e[l-2*r]=nt[255+u+m],e[l-r]=nt[255+c+p],e[l+0]=nt[255+h-p],e[l+r]=nt[255+d-m],e[l+2*r]=nt[255+f-g]}t+=n}}function tR(e,t,r,n,s,i,o,a){for(i=2*i+1;0<s--;){if(tC(e,t,r,i,o))if(tk(e,t,r,a))tL(e,t,r);else{var l=t,u=e[l-r],c=e[l+0],h=e[l+r],d=ne[112+(4+(f=3*(c-u))>>3)],f=ne[112+(f+3>>3)],p=d+1>>1;e[l-2*r]=nt[255+e[l-2*r]+p],e[l-r]=nt[255+u+f],e[l+0]=nt[255+c-d],e[l+r]=nt[255+h-p]}t+=n}}function tF(e,t,r,n,s,i){tM(e,t,r,1,16,n,s,i)}function tD(e,t,r,n,s,i){tM(e,t,1,r,16,n,s,i)}function tB(e,t,r,n,s,i){var o;for(o=3;0<o;--o)tR(e,t+=4*r,r,1,16,n,s,i)}function tz(e,t,r,n,s,i){var o;for(o=3;0<o;--o)tR(e,t+=4,1,r,16,n,s,i)}function tU(e,t,r,n,s,i,o,a){tM(e,t,s,1,8,i,o,a),tM(r,n,s,1,8,i,o,a)}function tq(e,t,r,n,s,i,o,a){tM(e,t,1,s,8,i,o,a),tM(r,n,1,s,8,i,o,a)}function tV(e,t,r,n,s,i,o,a){tR(e,t+4*s,s,1,8,i,o,a),tR(r,n+4*s,s,1,8,i,o,a)}function tH(e,t,r,n,s,i,o,a){tR(e,t+4,1,s,8,i,o,a),tR(r,n+4,1,s,8,i,o,a)}function tW(){this.ba=new eo,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new el,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function tG(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function tY(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function tX(){this.ua=0,this.Wa=new M,this.vb=new M,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new h}function t$(){this.xb=this.a=0,this.l=new eG,this.ca=new eo,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new j,this.Pb=0,this.wd=new j,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new tX,this.ab=0,this.gc=o(4,tY),this.Oc=0}function tZ(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new eG,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function tK(e,t,r,n,s,i,o){for(e=null==e?0:e[t+0],t=0;t<o;++t)s[i+t]=e+r[n+t]&255,e=s[i+t]}function tJ(e,t,r,n,s,i,o){var a;if(null==e)tK(null,null,r,n,s,i,o);else for(a=0;a<o;++a)s[i+a]=e[t+a]+r[n+a]&255}function tQ(e,t,r,n,s,i,o){if(null==e)tK(null,null,r,n,s,i,o);else{var a,l=e[t+0],u=l,c=l;for(a=0;a<o;++a)u=c+(l=e[t+a])-u,c=r[n+a]+(-256&u?0>u?0:255:u)&255,u=l,s[i+a]=c}}function t0(e,t,r,n,s,i){for(;0<s--;){var o,a=t+ +!!r,l=t+3*!r;for(o=0;o<n;++o){var u=e[l+4*o];255!=u&&(u*=32897,e[a+4*o+0]=e[a+4*o+0]*u>>23,e[a+4*o+1]=e[a+4*o+1]*u>>23,e[a+4*o+2]=e[a+4*o+2]*u>>23)}t+=i}}function t1(e,t,r,n,s){for(;0<n--;){var i;for(i=0;i<r;++i){var o=e[t+2*i+0],a=15&(u=e[t+2*i+1]),l=4369*a,u=(240&u|u>>4)*l>>16;e[t+2*i+0]=(240&o|o>>4)*l>>16&240|(15&o|o<<4)*l>>16>>4&15,e[t+2*i+1]=240&u|a}t+=s}}function t2(e,t,r,n,s,i,o,a){var l,u,c=255;for(u=0;u<s;++u){for(l=0;l<n;++l){var h=e[t+l];i[o+4*l]=h,c&=h}t+=r,o+=a}return 255!=c}function t5(e,t,r,n,s){var i;for(i=0;i<s;++i)r[n+i]=e[t+i]>>8}function t3(){r0=t0,r1=t1,r2=t2,r5=t5}function t4(r,n,s){e[r]=function(e,r,i,o,a,l,u,c,h,d,f,p,m,g,v,y,b){var _,j=b-1>>1,w=a[l+0]|u[c+0]<<16,x=h[d+0]|f[p+0]<<16;t(null!=e);var A=3*w+x+131074>>2;for(n(e[r+0],255&A,A>>16,m,g),null!=i&&(A=3*x+w+131074>>2,n(i[o+0],255&A,A>>16,v,y)),_=1;_<=j;++_){var S=a[l+_]|u[c+_]<<16,N=h[d+_]|f[p+_]<<16,L=w+S+x+N+524296,k=L+2*(S+x)>>3;A=k+w>>1,w=(L=L+2*(w+N)>>3)+S>>1,n(e[r+2*_-1],255&A,A>>16,m,g+(2*_-1)*s),n(e[r+2*_-0],255&w,w>>16,m,g+(2*_-0)*s),null!=i&&(A=L+x>>1,w=k+N>>1,n(i[o+2*_-1],255&A,A>>16,v,y+(2*_-1)*s),n(i[o+2*_+0],255&w,w>>16,v,y+(2*_+0)*s)),w=S,x=N}1&b||(A=3*w+x+131074>>2,n(e[r+b-1],255&A,A>>16,m,g+(b-1)*s),null!=i&&(A=3*x+w+131074>>2,n(i[o+b-1],255&A,A>>16,v,y+(b-1)*s)))}}function t6(){nD[nn]=nB,nD[ns]=nU,nD[ni]=nz,nD[no]=nq,nD[na]=nV,nD[nl]=nH,nD[nu]=nW,nD[nc]=nU,nD[nh]=nq,nD[nd]=nV,nD[nf]=nH}function t8(e){return e&~nK?0>e?0:255:e>>nZ}function t7(e,t){return t8((19077*e>>8)+(26149*t>>8)-14234)}function t9(e,t,r){return t8((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function re(e,t){return t8((19077*e>>8)+(33050*t>>8)-17685)}function rt(e,t,r,n,s){n[s+0]=t7(e,r),n[s+1]=t9(e,t,r),n[s+2]=re(e,t)}function rr(e,t,r,n,s){n[s+0]=re(e,t),n[s+1]=t9(e,t,r),n[s+2]=t7(e,r)}function rn(e,t,r,n,s){var i=t9(e,t,r);t=i<<3&224|re(e,t)>>3,n[s+0]=248&t7(e,r)|i>>5,n[s+1]=t}function rs(e,t,r,n,s){var i=240&re(e,t)|15;n[s+0]=240&t7(e,r)|t9(e,t,r)>>4,n[s+1]=i}function ri(e,t,r,n,s){n[s+0]=255,rt(e,t,r,n,s+1)}function ro(e,t,r,n,s){rr(e,t,r,n,s),n[s+3]=255}function ra(e,t,r,n,s){rt(e,t,r,n,s),n[s+3]=255}function rl(t,r,n){e[t]=function(e,t,s,i,o,a,l,u,c){for(var h=u+(-2&c)*n;u!=h;)r(e[t+0],s[i+0],o[a+0],l,u),r(e[t+1],s[i+0],o[a+0],l,u+n),t+=2,++i,++a,u+=2*n;1&c&&r(e[t+0],s[i+0],o[a+0],l,u)}}function ru(e,t,r){return 0==r?0==e?0==t?6:5:4*(0==t):r}function rc(e,t,r,n,s){switch(e>>>30){case 3:rF(t,r,n,s,0);break;case 2:rD(t,r,n,s);break;case 1:rz(t,r,n,s)}}function rh(e,t){var r,i,o=t.M,a=t.Nb,l=e.oc,u=e.pc+40,c=e.oc,h=e.pc+584,d=e.oc,f=e.pc+600;for(r=0;16>r;++r)l[u+32*r-1]=129;for(r=0;8>r;++r)c[h+32*r-1]=129,d[f+32*r-1]=129;for(0<o?l[u-1-32]=c[h-1-32]=d[f-1-32]=129:(s(l,u-32-1,127,21),s(c,h-32-1,127,9),s(d,f-32-1,127,9)),i=0;i<e.za;++i){var p=t.ya[t.aa+i];if(0<i){for(r=-1;16>r;++r)n(l,u+32*r-4,l,u+32*r+12,4);for(r=-1;8>r;++r)n(c,h+32*r-4,c,h+32*r+4,4),n(d,f+32*r-4,d,f+32*r+4,4)}var m=e.Gd,g=e.Hd+i,v=p.ad,y=p.Hc;if(0<o&&(n(l,u-32,m[g].y,0,16),n(c,h-32,m[g].f,0,8),n(d,f-32,m[g].ea,0,8)),p.Za){var b=l,_=u-32+16;for(0<o&&(i>=e.za-1?s(b,_,m[g].y[15],4):n(b,_,m[g+1].y,0,4)),r=0;4>r;r++)b[_+128+r]=b[_+256+r]=b[_+384+r]=b[_+0+r];for(r=0;16>r;++r,y<<=2)b=l,_=u+n4[r],nT[p.Ob[r]](b,_),rc(y,v,16*r,b,_)}else if(nO[b=ru(i,o,p.Ob[0])](l,u),0!=y)for(r=0;16>r;++r,y<<=2)rc(y,v,16*r,l,u+n4[r]);for(r=p.Gc,nI[b=ru(i,o,p.Dd)](c,h),nI[b](d,f),y=v,b=c,_=h,255&(p=0|r)&&(170&p?rB(y,256,b,_):rU(y,256,b,_)),p=d,y=f,255&(r>>=8)&&(170&r?rB(v,320,p,y):rU(v,320,p,y)),o<e.Ub-1&&(n(m[g].y,0,l,u+480,16),n(m[g].f,0,c,h+224,8),n(m[g].ea,0,d,f+224,8)),r=8*a*e.B,m=e.sa,g=e.ta+16*i+16*a*e.R,v=e.qa,p=e.ra+8*i+r,y=e.Ha,b=e.Ia+8*i+r,r=0;16>r;++r)n(m,g+r*e.R,l,u+32*r,16);for(r=0;8>r;++r)n(v,p+r*e.B,c,h+32*r,8),n(y,b+r*e.B,d,f+32*r,8)}}function rd(e,n,s,i,o,a,l,u,c){var h=[0],d=[0],f=0,p=null!=c?c.kd:0,m=null!=c?c:new tG;if(null==e||12>s)return 7;m.data=e,m.w=n,m.ha=s,n=[n],s=[s],m.gb=[m.gb];e:{var g=n,y=s,b=m.gb;if(t(null!=e),t(null!=y),t(null!=b),b[0]=0,12<=y[0]&&!r(e,g[0],"RIFF")){if(r(e,g[0]+8,"WEBP")){b=3;break e}var _=O(e,g[0]+4);if(12>_||0xfffffff6<_){b=3;break e}if(p&&_>y[0]-8){b=7;break e}b[0]=_,g[0]+=12,y[0]-=12}b=0}if(0!=b)return b;for(_=0<m.gb[0],s=s[0];;){e:{var w=e;y=n,b=s;var x=h,A=d,S=g=[0];if((k=f=[f])[0]=0,8>b[0])b=7;else{if(!r(w,y[0],"VP8X")){if(10!=O(w,y[0]+4)){b=3;break e}if(18>b[0]){b=7;break e}var N=O(w,y[0]+8),L=1+E(w,y[0]+12);if(0x80000000<=L*(w=1+E(w,y[0]+15))){b=3;break e}null!=S&&(S[0]=N),null!=x&&(x[0]=L),null!=A&&(A[0]=w),y[0]+=18,b[0]-=18,k[0]=1}b=0}}if(f=f[0],g=g[0],0!=b)return b;if(y=!!(2&g),!_&&f)return 3;if(null!=a&&(a[0]=!!(16&g)),null!=l&&(l[0]=y),null!=u&&(u[0]=0),l=h[0],g=d[0],f&&y&&null==c){b=0;break}if(4>s){b=7;break}if(_&&f||!_&&!f&&!r(e,n[0],"ALPH")){s=[s],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];e:{N=e,b=n,_=s;var k=m.gb;x=m.na,A=m.P,S=m.Sa,L=22,t(null!=N),t(null!=_),w=b[0];var P=_[0];for(t(null!=x),t(null!=S),x[0]=null,A[0]=null,S[0]=0;;){if(b[0]=w,_[0]=P,8>P){b=7;break e}var C=O(N,w+4);if(0xfffffff6<C){b=3;break e}var T=8+C+1&-2;if(L+=T,0<k&&L>k){b=3;break e}if(!r(N,w,"VP8 ")||!r(N,w,"VP8L")){b=0;break e}if(P[0]<T){b=7;break e}r(N,w,"ALPH")||(x[0]=N,A[0]=w+8,S[0]=C),w+=T,P-=T}}if(s=s[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=b)break}s=[s],m.Ja=[m.Ja],m.xa=[m.xa];e:if(k=e,b=n,_=s,x=m.gb[0],A=m.Ja,S=m.xa,w=!r(k,N=b[0],"VP8 "),L=!r(k,N,"VP8L"),t(null!=k),t(null!=_),t(null!=A),t(null!=S),8>_[0])b=7;else{if(w||L){if(k=O(k,N+4),12<=x&&k>x-12){b=3;break e}if(p&&k>_[0]-8){b=7;break e}A[0]=k,b[0]+=8,_[0]-=8,S[0]=L}else S[0]=5<=_[0]&&47==k[N+0]&&!(k[N+4]>>5),A[0]=_[0];b=0}if(s=s[0],m.Ja=m.Ja[0],m.xa=m.xa[0],n=n[0],0!=b)break;if(0xfffffff6<m.Ja)return 3;if(null==u||y||(u[0]=m.xa?2:1),l=[l],g=[g],m.xa){if(5>s){b=7;break}u=l,p=g,y=a,null==e||5>s?e=0:5<=s&&47==e[n+0]&&!(e[n+4]>>5)?(_=[0],k=[0],x=[0],v(A=new j,e,n,s),em(A,_,k,x)?(null!=u&&(u[0]=_[0]),null!=p&&(p[0]=k[0]),null!=y&&(y[0]=x[0]),e=1):e=0):e=0}else{if(10>s){b=7;break}u=g,null==e||10>s||!e$(e,n+3,s-3)?e=0:(p=e[n+0]|e[n+1]<<8|e[n+2]<<16,y=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=m.Ja||!y||!e?e=0:(l&&(l[0]=y),u&&(u[0]=e),e=1))}if(!e||(l=l[0],g=g[0],f&&(h[0]!=l||d[0]!=g)))return 3;null!=c&&(c[0]=m,c.offset=n-c.w,t(0xfffffff6>n-c.w),t(c.offset==c.ha-s));break}return 0==b||7==b&&f&&null==c?(null!=a&&(a[0]|=null!=m.na&&0<m.na.length),null!=i&&(i[0]=l),null!=o&&(o[0]=g),0):b}function rf(e,t,r){var n=t.width,s=t.height,i=0,o=0,a=n,l=s;if(t.Da=null!=e&&0<e.Da,t.Da&&(a=e.cd,l=e.bd,i=e.v,o=e.j,11>r||(i&=-2,o&=-2),0>i||0>o||0>=a||0>=l||i+a>n||o+l>s))return 0;if(t.v=i,t.j=o,t.va=i+a,t.o=o+l,t.U=a,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!R(a,l,r=[e.ib],i=[e.hb]))return 0;t.ib=r[0],t.hb=i[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*s/4,t.Kb=0),1}function rp(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function rm(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var s=r.cd,o=r.bd,a=-2&r.v,l=-2&r.j;if(0>a||0>l||0>=s||0>=o||a+s>e||l+o>t)return 2;e=s,t=o}if(r.da){if(!R(e,t,s=[r.ib],o=[r.hb]))return 2;e=s[0],t=o[0]}}n.width=e,n.height=t;e:{var u=n.width,c=n.height;if(e=n.S,0>=u||0>=c||!(e>=nn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){a=o=s=t=0;var h=(l=u*n7[e])*c;if(11>e||(o=(c+1)/2*(t=(u+1)/2),12==e&&(a=(s=u)*c)),null==(c=i(h+2*o+a))){e=1;break e}n.sd=c,11>e?((u=n.f.RGBA).eb=c,u.fb=0,u.A=l,u.size=h):((u=n.f.kb).y=c,u.O=0,u.fa=l,u.Fd=h,u.f=c,u.N=0+h,u.Ab=t,u.Cd=o,u.ea=c,u.W=0+h+o,u.Db=t,u.Ed=o,12==e&&(u.F=c,u.J=0+h+2*o),u.Tc=a,u.lb=s)}if(t=1,s=n.S,o=n.width,a=n.height,s>=nn&&13>s)if(11>s)t&=(l=Math.abs((e=n.f.RGBA).A))*(a-1)+o<=e.size,t&=l>=o*n7[s],t&=null!=e.eb;else{e=n.f.kb,l=(o+1)/2,h=(a+1)/2,u=Math.abs(e.fa),c=Math.abs(e.Ab);var d=Math.abs(e.Db),f=Math.abs(e.lb),p=f*(a-1)+o;t&=u*(a-1)+o<=e.Fd,t&=c*(h-1)+l<=e.Cd,t=(t&=d*(h-1)+l<=e.Ed)&u>=o&c>=l&d>=l&null!=e.y&null!=e.f&null!=e.ea,12==s&&(t&=f>=o,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=2*!t}}return 0!=e||null!=r&&r.fd&&(e=rp(n)),e}var rg=64,rv=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,0xffffff],ry=24,rb=32,r_=8,rj=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,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,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 0xff000000},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return U(U(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return U(e,t[r-1])},e.Predictor7=function(e,t,r){return U(e,t[r+0])},e.Predictor8=function(e,t,r){return U(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return U(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return U(U(e,t[r-1]),U(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=H(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+H(n>>16&255,e>>16&255,t>>16&255)+H(n>>8&255,e>>8&255,t>>8&255)+H(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(q((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|q((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|q((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|q((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(V((e=U(e,t[r+0]))>>24&255,n>>24&255)<<24|V(e>>16&255,n>>16&255)<<16|V(e>>8&255,n>>8&255)<<8|V(255&e,255&n))>>>0};var rw=e.PredictorAdd0;e.PredictorAdd1=W,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var rx=e.PredictorAdd2;$("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),$("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var rA,rS=e.ColorIndexInverseTransform,rN=e.MapARGB,rL=e.VP8LColorIndexInverseTransformAlpha,rk=e.MapAlpha,rP=e.VP8LPredictorsAdd=[];rP.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var rC,rE,rO,rT,rI,rM,rR,rF,rD,rB,rz,rU,rq,rV,rH,rW,rG,rY,rX,r$,rZ,rK,rJ,rQ,r0,r1,r2,r5,r3=i(511),r4=i(2041),r6=i(225),r8=i(767),r7=0,r9=r4,ne=r6,nt=r8,nr=r3,nn=0,ns=1,ni=2,no=3,na=4,nl=5,nu=6,nc=7,nh=8,nd=9,nf=10,np=[2,3,7],nm=[3,3,11],ng=[280,256,256,256,40],nv=[0,1,1,1,0],ny=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],nb=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],n_=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],nj=8,nw=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],nx=[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,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],nA=null,nS=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],nN=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],nL=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],nk=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],nP=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],nC=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],nE=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],nO=[],nT=[],nI=[],nM=1,nR=2,nF=[],nD=[];t4("UpsampleRgbLinePair",rt,3),t4("UpsampleBgrLinePair",rr,3),t4("UpsampleRgbaLinePair",ra,4),t4("UpsampleBgraLinePair",ro,4),t4("UpsampleArgbLinePair",ri,4),t4("UpsampleRgba4444LinePair",rs,2),t4("UpsampleRgb565LinePair",rn,2);var nB=e.UpsampleRgbLinePair,nz=e.UpsampleBgrLinePair,nU=e.UpsampleRgbaLinePair,nq=e.UpsampleBgraLinePair,nV=e.UpsampleArgbLinePair,nH=e.UpsampleRgba4444LinePair,nW=e.UpsampleRgb565LinePair,nG=16,nY=32768,nX=-227,n$=482,nZ=6,nK=16383,nJ=0,nQ=i(256),n0=i(256),n1=i(256),n2=i(256),n5=i(n$-nX),n3=i(n$-nX);rl("YuvToRgbRow",rt,3),rl("YuvToBgrRow",rr,3),rl("YuvToRgbaRow",ra,4),rl("YuvToBgraRow",ro,4),rl("YuvToArgbRow",ri,4),rl("YuvToRgba4444Row",rs,2),rl("YuvToRgb565Row",rn,2);var n4=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],n6=[0,2,8],n8=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,r,a,l,u){var c=ns,h=new tW,d=new eo;h.ba=d,d.S=c,d.width=[d.width],d.height=[d.height];var f=d.width,p=d.height,m=new ea;if(null==m||null==e)var g=2;else t(null!=m),g=rd(e,r,a,m.width,m.height,m.Pd,m.Qd,m.format,null);if(0!=g?f=0:(null!=f&&(f[0]=m.width[0]),null!=p&&(p[0]=m.height[0]),f=1),f){d.width=d.width[0],d.height=d.height[0],null!=l&&(l[0]=d.width),null!=u&&(u[0]=d.height);e:{if(l=new eG,(u=new tG).data=e,u.w=r,u.ha=a,u.kd=1,r=[0],t(null!=u),(0==(e=rd(u.data,u.w,u.ha,null,null,null,r,null,u))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=h),l.data=u.data,l.w=u.w+u.offset,l.ha=u.ha-u.offset,l.put=ef,l.ac=ed,l.bc=ep,l.ma=h,u.xa){if(null==(e=ek())){h=1;break e}if(function(e,r){for(var n=[0],s=[0],i=[0];;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,v(e.m,r.data,r.w,r.ha),!em(e.m,n,s,i)){e.a=3;break}if(e.xb=nR,r.width=n[0],r.height=s[0],!eP(n[0],s[0],1,e,null))break;return 1}return t(0!=e.a),0}(e,l)){if(l=0==(r=rm(l.width,l.height,h.Oa,h.ba))){t:{for(l=e;;){if(null==l){l=0;break t}if(t(null!=l.s.yc),t(null!=l.s.Ya),t(0<l.s.Wb),t(null!=(a=l.l)),t(null!=(u=a.ma)),0!=l.xb){if(l.ca=u.ba,l.tb=u.tb,t(null!=l.ca),!rf(u.Oa,a,no)){l.a=2;break}if(!eC(l,a.width)||a.da)break;if((a.da||en(l.ca.S))&&t3(),11>l.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=l.ca.f.kb.F&&t3()),l.Pb&&0<l.s.ua&&null==l.s.vb.X&&!T(l.s.vb,l.s.Wa.Xa)){l.a=1;break}l.xb=0}if(!eN(l,l.V,l.Ba,l.c,l.i,a.o,ew))break;u.Dc=l.Ma,l=1;break t}t(0!=l.a),l=0}l=!l}l&&(r=e.a)}else r=e.a}else if((e=new eY).Fa=u.na,e.P=u.P,e.qc=u.Sa,eZ(e,l)){if(0==(r=rm(l.width,l.height,h.Oa,h.ba))){if(e.Aa=0,a=h.Oa,t(null!=(u=e)),null!=a){if(0<(f=0>(f=a.Md)?0:100<f?255:255*f/100)){for(p=m=0;4>p;++p)12>(g=u.pb[p]).lc&&(g.ia=f*n8[0>g.lc?0:g.lc]>>3),m|=g.ia;m&&(alert("todo:VP8InitRandom"),u.ia=1)}u.Ga=a.Id,100<u.Ga?u.Ga=100:0>u.Ga&&(u.Ga=0)}(function(e,r){if(null==e)return 0;if(null==r)return eX(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!eZ(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var a=n6[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-a>>4,e.zb=r.j-a>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+a>>4,e.Hb=r.va+15+a>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l,u=e.ed;for(a=0;4>a;++a){if(e.Qa.Cb){var c=e.Qa.Lb[a];e.Qa.Fb||(c+=u.Tb)}else c=u.Tb;for(l=0;1>=l;++l){var h=e.gd[a][l],d=c;if(u.Pc&&(d+=u.vd[0],l&&(d+=u.od[0])),0<(d=0>d?0:63<d?63:d)){var f=d;0<u.wb&&(f=4<u.wb?f>>2:f>>1)>9-u.wb&&(f=9-u.wb),1>f&&(f=1),h.dd=f,h.tc=2*d+f,h.ld=40<=d?2:+(15<=d)}else h.tc=0;h.La=l}}}a=0}else eX(e,6,"Frame setup failed"),a=e.a;if(a=0==a){if(a){e.$c=0,0<e.Aa||(e.Ic=1);t:{a=e.Ic,u=4*(f=e.za);var p=32*f,m=f+1,g=0<e.L?f*(0<e.Aa?2:1):0,y=(2==e.Aa?2:1)*f;if((h=u+832+(l=3*(16*a+n6[e.L])/2*p)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=h)a=0;else{if(h>e.Vb){if(e.Vb=0,e.Ec=i(h),e.Fc=0,null==e.Ec){a=eX(e,1,"no memory during frame initialization.");break t}e.Vb=h}h=e.Ec,d=e.Fc,e.Ac=h,e.Bc=d,d+=u,e.Gd=o(p,eV),e.Hd=0,e.rb=o(m+1,eB),e.sb=1,e.wa=g?o(g,eD):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=f),t(!0),e.oc=h,e.pc=d,d+=832,e.ya=o(y,eU),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=f),e.R=16*f,e.B=8*f,f=(p=n6[e.L])*e.R,p=p/2*e.B,e.sa=h,e.ta=d+f,e.qa=e.sa,e.ra=e.ta+16*a*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*a*e.B+p,e.$c=0,d+=l,e.mb=c?h:null,e.nb=c?d:null,t(d+c<=e.Fc+e.Vb),eJ(e),s(e.Ac,e.Bc,0,u),a=1}}if(a){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!r7){for(a=-255;255>=a;++a)r3[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)r4[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;++a)r6[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)r8[255+a]=0>a?0:255<a?255:a;r7=1}rR=e7,rF=e3,rB=e4,rz=e6,rU=e8,rD=e5,rq=tF,rV=tD,rH=tU,rW=tq,rG=tB,rY=tz,rX=tV,r$=tH,rZ=tE,rK=tO,rJ=tT,rQ=tI,nT[0]=tf,nT[1]=te,nT[2]=th,nT[3]=td,nT[4]=tp,nT[5]=tg,nT[6]=tm,nT[7]=tv,nT[8]=tb,nT[9]=ty,nO[0]=to,nO[1]=tr,nO[2]=tn,nO[3]=ts,nO[4]=ta,nO[5]=tl,nO[6]=tu,nI[0]=tx,nI[1]=tt,nI[2]=t_,nI[3]=tj,nI[4]=tS,nI[5]=tA,nI[6]=tN,a=1}else a=0}a&&(a=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var o,a=e.Jc[e.M&e.Xb],l=e.m,u=e;for(o=0;o<u.za;++o){var c=l,h=u,d=h.Ac,f=h.Bc+4*o,p=h.zc,m=h.ya[h.aa+o];if(h.Qa.Bb?m.$b=k(c,h.Pa.jb[0])?2+k(c,h.Pa.jb[2]):k(c,h.Pa.jb[1]):m.$b=0,h.kc&&(m.Ad=k(c,h.Bd)),m.Za=!k(c,145)+0,m.Za){var g=m.Ob,y=0;for(h=0;4>h;++h){var b,_=p[0+h];for(b=0;4>b;++b){_=nP[d[f+b]][_];for(var j=nL[k(c,_[0])];0<j;)j=nL[2*j+k(c,_[j])];_=-j,d[f+b]=_}n(g,y,d,f,4),y+=4,p[0+h]=_}}else _=k(c,156)?k(c,128)?1:3:2*!!k(c,163),m.Ob[0]=_,s(d,f,_,4),s(p,0,_,4);m.Dd=k(c,142)?k(c,114)?k(c,183)?1:3:2:0}if(u.m.Ka)return eX(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(u=a,c=(l=e).rb[l.sb-1],d=l.rb[l.sb+l.ja],o=l.ya[l.aa+l.ja],f=l.kc?o.Ad:0)c.la=d.la=0,o.Za||(c.Na=d.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{if(c=d,d=u,f=l.Pa.Xc,p=l.ya[l.aa+l.ja],m=l.pb[p.$b],h=p.ad,g=0,y=l.rb[l.sb-1],_=b=0,s(h,g,0,384),p.Za)var w,A,N=0,L=f[3];else{j=i(16);var P=c.Na+y.Na;if(P=nA(d,f[1],P,m.Eb,0,j,0),c.Na=y.Na=(0<P)+0,1<P)rR(j,0,h,g);else{var C=j[0]+3>>3;for(j=0;256>j;j+=16)h[g+j]=C}N=1,L=f[0]}var E=15&c.la,O=15&y.la;for(j=0;4>j;++j){var T=1&O;for(C=A=0;4>C;++C)E=E>>1|(T=(P=nA(d,L,P=T+(1&E),m.Sc,N,h,g))>N)<<7,A=A<<2|(3<P?3:1<P?2:0!=h[g+0]),g+=16;E>>=4,O=O>>1|T<<7,b=(b<<8|A)>>>0}for(L=E,N=O>>4,w=0;4>w;w+=2){for(A=0,E=c.la>>4+w,O=y.la>>4+w,j=0;2>j;++j){for(T=1&O,C=0;2>C;++C)P=T+(1&E),E=E>>1|(T=0<(P=nA(d,f[2],P,m.Qc,0,h,g)))<<3,A=A<<2|(3<P?3:1<P?2:0!=h[g+0]),g+=16;E>>=2,O=O>>1|T<<5}_|=A<<4*w,L|=E<<4<<w,N|=(240&O)<<w}c.la=L,y.la=N,p.Hc=b,p.Gc=_,p.ia=43690&_?0:m.ia,f=!(b|_)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[o.$b][o.Za],l.wa[l.Y+l.ja].La|=!f),u.Ka)return eX(e,7,"Premature end-of-file encountered.")}if(eJ(e),l=r,u=1,o=(a=e).D,c=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(o.M=a.M,o.uc=c,rh(a,o),u=1,o=(A=a.D).Nb,c=(_=n6[a.L])*a.R,d=_/2*a.B,j=16*o*a.R,C=8*o*a.B,f=a.sa,p=a.ta-c+j,m=a.qa,h=a.ra-d+C,g=a.Ha,y=a.Ia-d+C,O=0==(E=A.M),b=E>=a.Va-1,2==a.Aa&&rh(a,A),A.uc)for(T=(P=a).D.M,t(P.D.uc),A=P.yb;A<P.Hb;++A){N=A,L=T;var I=(M=(H=P).D).Nb;w=H.R;var M=M.wa[M.Y+N],R=H.sa,F=H.ta+16*I*w+16*N,D=M.dd,B=M.tc;if(0!=B)if(t(3<=B),1==H.L)0<N&&rK(R,F,w,B+4),M.La&&rQ(R,F,w,B),0<L&&rZ(R,F,w,B+4),M.La&&rJ(R,F,w,B);else{var z=H.B,U=H.qa,q=H.ra+8*I*z+8*N,V=H.Ha,H=H.Ia+8*I*z+8*N;I=M.ld,0<N&&(rV(R,F,w,B+4,D,I),rW(U,q,V,H,z,B+4,D,I)),M.La&&(rY(R,F,w,B,D,I),r$(U,q,V,H,z,B,D,I)),0<L&&(rq(R,F,w,B+4,D,I),rH(U,q,V,H,z,B+4,D,I)),M.La&&(rG(R,F,w,B,D,I),rX(U,q,V,H,z,B,D,I))}}if(a.ia&&alert("todo:DitherRow"),null!=l.put){if(A=16*E,E=16*(E+1),O?(l.y=a.sa,l.O=a.ta+j,l.f=a.qa,l.N=a.ra+C,l.ea=a.Ha,l.W=a.Ia+C):(A-=_,l.y=f,l.O=p,l.f=m,l.N=h,l.ea=g,l.W=y),b||(E-=_),E>l.o&&(E=l.o),l.F=null,l.J=null,null!=a.Fa&&0<a.Fa.length&&A<E&&(l.J=function(e,r,s,o){var a=r.width,l=r.o;if(t(null!=e&&null!=r),0>s||0>=o||s+o>l)return null;if(!e.Cc){if(null==e.ga){if(e.ga=new tZ,(N=null==e.ga)||(N=r.width*r.o,t(0==e.Gb.length),e.Gb=i(N),e.Uc=0,null==e.Gb?N=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,N=1),N=!N),!N){N=e.ga;var u=e.Fa,c=e.P,h=e.qc,d=e.mb,f=e.nb,p=c+1,m=h-1,g=N.l;if(t(null!=u&&null!=d&&null!=r),nF[0]=null,nF[1]=tK,nF[2]=tJ,nF[3]=tQ,N.ca=d,N.tb=f,N.c=r.width,N.i=r.height,t(0<N.c&&0<N.i),1>=h)r=0;else if(N.$a=3&u[c+0],N.Z=u[c+0]>>2&3,N.Lc=u[c+0]>>4&3,c=u[c+0]>>6&3,0>N.$a||1<N.$a||4<=N.Z||1<N.Lc||c)r=0;else if(g.put=ef,g.ac=ed,g.bc=ep,g.ma=N,g.width=r.width,g.height=r.height,g.Da=r.Da,g.v=r.v,g.va=r.va,g.j=r.j,g.o=r.o,N.$a)e:{for(t(1==N.$a),r=ek();;){if(null==r){r=0;break e}if(t(null!=N),N.mc=r,r.c=N.c,r.i=N.i,r.l=N.l,r.l.ma=N,r.l.width=N.c,r.l.height=N.i,r.a=0,v(r.m,u,p,m),!eP(N.c,N.i,1,r,null)||(1==r.ab&&3==r.gc[0].hc&&ex(r.s)?(N.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=i(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(N.ic=0,r=eC(r,N.c)),!r))break;r=1;break e}N.mc=null,r=0}else r=m>=N.c*N.i;N=!r}if(N)return null;1!=e.ga.Lc?e.Ga=0:o=l-s}t(null!=e.ga),t(s+o<=l);e:{if(r=(u=e.ga).c,l=u.l.o,0==u.$a){if(p=e.rc,m=e.Vc,g=e.Fa,c=e.P+1+s*r,h=e.mb,d=e.nb+s*r,t(c<=e.P+e.qc),0!=u.Z)for(t(null!=nF[u.Z]),N=0;N<o;++N)nF[u.Z](p,m,g,c,h,d,r),p=h,m=d,d+=r,c+=r;else for(N=0;N<o;++N)n(h,d,g,c,r),p=h,m=d,d+=r,c+=r;e.rc=p,e.Vc=m}else{if(t(null!=u.mc),r=s+o,t(null!=(N=u.mc)),t(r<=N.i),N.C>=r)r=1;else if(u.ic||t3(),u.ic){u=N.V,p=N.Ba,m=N.c;var y=N.i,b=(g=1,c=N.$/m,h=N.$%m,d=N.m,f=N.s,N.$),_=m*y,j=m*r,w=f.wc,A=b<j?e_(f,h,c):null;t(b<=_),t(r<=y),t(ex(f));t:for(;;){for(;!d.h&&b<j;){if(h&w||(A=e_(f,h,c)),t(null!=A),S(d),256>(y=ey(A.G[0],A.H[0],d)))u[p+b]=y,++b,++h>=m&&(h=0,++c<=r&&!(c%16)&&eS(N,c));else{if(!(280>y)){g=0;break t}y=eg(y-256,d);var N,L,k=ey(A.G[4],A.H[4],d);if(S(d),!(b>=(k=ev(m,k=eg(k,d)))&&_-b>=y)){g=0;break t}for(L=0;L<y;++L)u[p+b+L]=u[p+b+L-k];for(b+=y,h+=y;h>=m;)h-=m,++c<=r&&!(c%16)&&eS(N,c);b<j&&h&w&&(A=e_(f,h,c))}t(d.h==x(d))}eS(N,c>r?r:c);break}!g||d.h&&b<_?(g=0,N.a=d.h?5:3):N.$=b,r=g}else r=eN(N,N.V,N.Ba,N.c,N.i,r,eE);if(!r){o=0;break e}}s+o>=l&&(e.Cc=1),o=1}if(!o)return null;if(e.Cc&&(null!=(o=e.ga)&&(o.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+s*a}(a,l,A,E-A),l.F=a.mb,null==l.F&&0==l.F.length)){u=eX(a,3,"Could not decode alpha data.");break t}A<l.j&&(_=l.j-A,A=l.j,t(!(1&_)),l.O+=a.R*_,l.N+=a.B*(_>>1),l.W+=a.B*(_>>1),null!=l.F&&(l.J+=l.width*_)),A<E&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=A-l.j,l.U=l.va-l.v,l.T=E-A,u=l.put(l))}o+1!=a.Ic||b||(n(a.sa,a.ta-c,f,p+16*a.R,c),n(a.qa,a.ra-d,m,h+8*a.B,d),n(a.Ha,a.Ia-d,g,y+8*a.B,d))}if(!u)return eX(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),a&=1}return a?(e.cb=0,a):0})(e,l)||(r=e.a)}}else r=e.a;0==r&&null!=h.Oa&&h.Oa.fd&&(r=rp(h.ba))}h=r}c=0!=h?null:11>c?d.f.RGBA.eb:d.f.kb.y}else c=null;return c};var n7=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function c(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var h=[0],d=[0],f=[],p=new l,m=function(e,t){var r={},n=0,s=!1,i=0,o=0;if(r.frames=[],!function(e,t){for(var r=0;r<4;r++)if(e[t+r]!="RIFF".charCodeAt(r))return!0;return!1}(e,t)){for(c(e,t+=4),t+=8;t<e.length;){var a,l,h,d=function(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}(e,t),f=c(e,t+=4);t+=4;var p=f+(1&f);switch(d){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(h=r.frames[n]).src_off=s?o:t-8,h.src_size=i+f+8,n++,s&&(s=!1,i=0,o=0);break;case"VP8X":(h=r.header={}).feature_flags=e[t];var m=t+4;h.canvas_width=1+u(e,m),m+=3,h.canvas_height=1+u(e,m),m+=3;break;case"ALPH":s=!0,i=p+8,o=t-8;break;case"ANIM":(h=r.header).bgcolor=c(e,t),m=t+4,h.loop_count=e[(a=m)+0]|e[a+1]<<8,m+=2;break;case"ANMF":(h=r.frames[n]={}).offset_x=2*u(e,t),t+=3,h.offset_y=2*u(e,t),t+=3,h.width=1+u(e,t),t+=3,h.height=1+u(e,t),t+=3,h.duration=u(e,t),t+=3,l=e[t++],h.dispose=1&l,h.blend=l>>1&1}"ANMF"!=d&&(t+=p)}return r}}(e,0);m.response=e,m.rgbaoutput=!0,m.dataurl=!1;var g=m.header?m.header:null,v=m.frames?m.frames:null;if(g){g.loop_counter=g.loop_count,h=[g.canvas_height],d=[g.canvas_width];for(var y=0;y<v.length&&0!=v[y].blend;y++);}var b=v[0],_=p.WebPDecodeRGBA(e,b.src_off,b.src_size,d,h);b.rgba=_,b.imgwidth=d[0],b.imgheight=h[0];for(var j=0;j<d[0]*h[0]*4;j++)f[j]=_[j];return this.width=d,this.height=h,this.data=f,this}t0=z.API,re=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new t7,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new t6,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new t6,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this},t0.events.push(["initialized",function(){this.context2d=new rt(this),t1=this.internal.f2,t2=this.internal.getCoordinateString,t5=this.internal.getVerticalCoordinateString,t3=this.internal.getHorizontalCoordinate,t4=this.internal.getVerticalCoordinate,t6=this.internal.Point,t8=this.internal.Rectangle,t7=this.internal.Matrix,t9=new re}]),(rt=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return e}});var t=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return t},set:function(e){t=!!e}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=!!e}});var n=0;Object.defineProperty(this,"posX",{get:function(){return n},set:function(e){isNaN(e)||(n=e)}});var s=0;Object.defineProperty(this,"posY",{get:function(){return s},set:function(e){isNaN(e)||(s=e)}}),Object.defineProperty(this,"margin",{get:function(){return t9.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=[,,,,])[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),t9.margin=t}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=e}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(e){o=e}});var a=[];Object.defineProperty(this,"pageBreaks",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"ctx",{get:function(){return t9},set:function(e){e instanceof re&&(t9=e)}}),Object.defineProperty(this,"path",{get:function(){return t9.path},set:function(e){t9.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=rr(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=rr(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null,c=null,h=null;Object.defineProperty(this,"fontFaces",{get:function(){return h},set:function(e){u=null,c=null,h=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(e))){var r=t[1];t[2];var n=t[3],s=t[4];t[5];var i=t[6],o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(s)[2];s="px"===o?Math.floor(parseFloat(s)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(s)*this.pdf.getFontSize()):Math.floor(parseFloat(s)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(s);var a=function(e){var t,r,n=[],s=e.trim();if(""===s)return tB;if(s in eD)return[eD[s]];for(;""!==s;){switch(r=null,t=(s=ez(s)).charAt(0)){case'"':case"'":r=function(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}(s.substring(1),t);break;default:r=function(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}(s)}if(null===r||(n.push(r[0]),""!==(s=ez(r[1]))&&","!==s.charAt(0)))return tB;s=s.replace(/^,/,"")}return n}(i);if(this.fontFaces){var l=function(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",s=Object.assign({},eF,r.genericFontFamilies||{}),i=null,o=null,a=0;a<t.length;++a)if(s[(i=eM(t[a])).family]&&(i.family=s[i.family]),e.hasOwnProperty(i.family)){o=e[i.family];break}if(!(o=o||e[n]))throw Error("Could not find a font-family for the rule '"+eB(i)+"' and default family '"+n+"'.");if(o=function(e,t){if(t[e])return t[e];var r=eO[e],n=r<=eO.normal?-1:1,s=eR(t,eE,r,n);if(!s)throw Error("Could not find a matching font-stretch value for "+e);return s}(i.stretch,o),o=function(e,t){if(t[e])return t[e];for(var r=eC[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw Error("Could not find a matching font-style for "+e)}(i.style,o),!(o=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=eR(t,eT,eI[e],e<400?-1:1);if(!r)throw Error("Could not find a matching font-weight for value "+e);return r}(i.weight,o)))throw Error("Failed to resolve a font for the rule '"+eB(i)+"'.");return o}(function(e,t){var r,n=e.getFontList(),s=JSON.stringify(n);return(null===u||c!==s)&&(u=function(e){for(var t={},r=0;r<e.length;++r){var n=eM(e[r]),s=n.family,i=n.stretch,o=n.style,a=n.weight;t[s]=t[s]||{},t[s][i]=t[s][i]||{},t[s][i][o]=t[s][i][o]||{},t[s][i][o][a]=n}return t}((r=[],Object.keys(n).forEach(function(e){n[e].forEach(function(t){var n=null;switch(t){case"bold":n={family:e,weight:"bold"};break;case"italic":n={family:e,style:"italic"};break;case"bolditalic":n={family:e,weight:"bold",style:"italic"};break;case"":case"normal":n={family:e}}null!==n&&(n.ref={name:e,style:t},r.push(n))})}),r).concat(t)),c=s),u}(this.pdf,this.fontFaces),a.map(function(e){return{family:e,stretch:"normal",weight:n,style:r}}));this.pdf.setFont(l.ref.name,l.ref.style)}else{var h="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(h="bold"),"italic"===r&&(h+="italic"),0===h.length&&(h="normal");for(var d="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},p=0;p<a.length;p++){if(void 0!==this.pdf.internal.getFont(a[p],h,{noFallback:!0,disableWarning:!0})){d=a[p];break}if("bolditalic"===h&&void 0!==this.pdf.internal.getFont(a[p],"bold",{noFallback:!0,disableWarning:!0}))d=a[p],h="bold";else if(void 0!==this.pdf.internal.getFont(a[p],"normal",{noFallback:!0,disableWarning:!0})){d=a[p],h="normal";break}}if(""===d){for(var m=0;m<a.length;m++)if(f[a[m]]){d=f[a[m]];break}}d=""===d?"Times":d,this.pdf.setFont(d,h)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,rL.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,rL.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=!!e}})}).prototype.setLineDash=function(e){this.lineDash=e},rt.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},rt.prototype.fill=function(){rc.call(this,"fill",!1)},rt.prototype.stroke=function(){rc.call(this,"stroke",!1)},rt.prototype.beginPath=function(){this.path=[{type:"begin"}]},rt.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw h("jsPDF.context2d.moveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new t6(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new t6(e,t)},rt.prototype.closePath=function(){var e=new t6(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,s.default)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new t6(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new t6(e.x,e.y)},rt.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw h("jsPDF.context2d.lineTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new t6(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new t6(r.x,r.y)},rt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),rc.call(this,null,!0)},rt.prototype.quadraticCurveTo=function(e,t,r,n){if(isNaN(r)||isNaN(n)||isNaN(e)||isNaN(t))throw h("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var s=this.ctx.transform.applyToPoint(new t6(r,n)),i=this.ctx.transform.applyToPoint(new t6(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:s.x,y:s.y}),this.ctx.lastPoint=new t6(s.x,s.y)},rt.prototype.bezierCurveTo=function(e,t,r,n,s,i){if(isNaN(s)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw h("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new t6(s,i)),a=this.ctx.transform.applyToPoint(new t6(e,t)),l=this.ctx.transform.applyToPoint(new t6(r,n));this.path.push({type:"bct",x1:a.x,y1:a.y,x2:l.x,y2:l.y,x:o.x,y:o.y}),this.ctx.lastPoint=new t6(o.x,o.y)},rt.prototype.arc=function(e,t,r,n,s,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(s))throw h("jsPDF.context2d.arc: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=!!i,!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new t6(e,t));e=o.x,t=o.y;var a=this.ctx.transform.applyToPoint(new t6(0,r)),l=this.ctx.transform.applyToPoint(new t6(0,0));r=Math.sqrt(Math.pow(a.x-l.x,2)+Math.pow(a.y-l.y,2))}Math.abs(s-n)>=2*Math.PI&&(n=0,s=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:n,endAngle:s,counterclockwise:i})},rt.prototype.arcTo=function(e,t,r,n,s){throw Error("arcTo not implemented.")},rt.prototype.rect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw h("jsPDF.context2d.rect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+n),this.lineTo(e,t+n),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},rt.prototype.fillRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw h("jsPDF.context2d.fillRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!rn.call(this)){var s={};"butt"!==this.lineCap&&(s.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(s.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,n),this.fill(),s.hasOwnProperty("lineCap")&&(this.lineCap=s.lineCap),s.hasOwnProperty("lineJoin")&&(this.lineJoin=s.lineJoin)}},rt.prototype.strokeRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw h("jsPDF.context2d.strokeRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeRect");rs.call(this)||(this.beginPath(),this.rect(e,t,r,n),this.stroke())},rt.prototype.clearRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw h("jsPDF.context2d.clearRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,n))},rt.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new re(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},rt.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},rt.prototype.toDataURL=function(){throw Error("toDataUrl not implemented.")},rr=function(e){var t,r,n,s;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,s=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),r=parseInt(i[2]),n=parseInt(i[3]),s=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(i[1]),r=parseInt(i[2]),n=parseInt(i[3]),s=parseFloat(i[4]);else{if(s=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new g(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:s,style:e}},rn=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},rs=function(){return!!(this.ctx.isStrokeTransparent||0==this.globalAlpha)},rt.prototype.fillText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw h("jsPDF.context2d.fillText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!rn.call(this)){var s=rA(this.ctx.transform.rotation);ry.call(this,{text:e,x:t,y:r,scale:this.ctx.transform.scaleX,angle:s,align:this.textAlign,maxWidth:n})}},rt.prototype.strokeText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw h("jsPDF.context2d.strokeText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!rs.call(this)){n=isNaN(n)?void 0:n;var s=rA(this.ctx.transform.rotation);ry.call(this,{text:e,x:t,y:r,scale:this.ctx.transform.scaleX,renderingMode:"stroke",angle:s,align:this.textAlign,maxWidth:n})}},rt.prototype.measureText=function(e){if("string"!=typeof e)throw h("jsPDF.context2d.measureText: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,n=t.internal.getFontSize(),s=t.getStringUnitWidth(e)*n/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:s*=Math.round(96*r/72*1e4)/1e4})},rt.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw h("jsPDF.context2d.scale: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new t7(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},rt.prototype.rotate=function(e){if(isNaN(e))throw h("jsPDF.context2d.rotate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new t7(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},rt.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw h("jsPDF.context2d.translate: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new t7(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},rt.prototype.transform=function(e,t,r,n,s,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(s)||isNaN(i))throw h("jsPDF.context2d.transform: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new t7(e,t,r,n,s,i);this.ctx.transform=this.ctx.transform.multiply(o)},rt.prototype.setTransform=function(e,t,r,n,s,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,s=isNaN(s)?0:s,i=isNaN(i)?0:i,this.ctx.transform=new t7(e,t,r,n,s,i)},ri=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0},rt.prototype.drawImage=function(e,t,r,n,s,i,o,a,l){var u=this.pdf.getImageProperties(e),c=1,h=1,d=1,f=1;void 0!==n&&void 0!==a&&(d=a/n,f=l/s,c=u.width/n*a/n,h=u.height/s*l/s),void 0===i&&(i=t,o=r,t=0,r=0),void 0!==n&&void 0===a&&(a=n,l=s),void 0===n&&void 0===a&&(a=u.width,l=u.height);var p=this.ctx.transform.decompose(),m=rA(p.rotate.shx),g=new t7,v=(g=(g=(g=g.multiply(p.translate)).multiply(p.skew)).multiply(p.scale)).applyToRectangle(new t8(i-t*d,o-r*f,n*c,s*h));if(this.autoPaging){for(var y,b=ro.call(this,v),_=[],j=0;j<b.length;j+=1)-1===_.indexOf(b[j])&&_.push(b[j]);ru(_);for(var w=_[0],x=_[_.length-1],A=w;A<x+1;A++){this.pdf.setPage(A);var S=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],N=1===A?this.posY+this.margin[0]:this.margin[0],L=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],P=1===A?0:L+(A-2)*k;if(0!==this.ctx.clip_path.length){var C=this.path;y=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=rl(y,this.posX+this.margin[3],-P+N+this.ctx.prevPageLastElemOffset),rh.call(this,"fill",!0),this.path=C}var E=JSON.parse(JSON.stringify(v));E=rl([E],this.posX+this.margin[3],-P+N+this.ctx.prevPageLastElemOffset)[0];var O=(A>w||A<x)&&ri.call(this);O&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],S,k,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",E.x,E.y,E.w,E.h,null,null,m),O&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(e,"JPEG",v.x,v.y,v.w,v.h,null,null,m)},ro=function(e,t,r){var n=[];t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var s=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+s)/r)+1);break;case"arc":n.push(Math.floor((e.y+s-e.radius)/r)+1),n.push(Math.floor((e.y+s+e.radius)/r)+1);break;case"qct":var i=rS(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor((i.y+s)/r)+1),n.push(Math.floor((i.y+i.h+s)/r)+1);break;case"bct":var o=rN(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor((o.y+s)/r)+1),n.push(Math.floor((o.y+o.h+s)/r)+1);break;case"rect":n.push(Math.floor((e.y+s)/r)+1),n.push(Math.floor((e.y+e.h+s)/r)+1)}for(var a=0;a<n.length;a+=1)for(;this.pdf.internal.getNumberOfPages()<n[a];)ra.call(this);return n},ra=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,s=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=s,this.lineJoin=i},rl=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;default:e[n].x+=t,e[n].y+=r}return e},ru=function(e){return e.sort(function(e,t){return e-t})},rc=function(e,t){var r=this.fillStyle,n=this.strokeStyle,s=this.lineCap,i=this.lineWidth,o=Math.abs(i*this.ctx.transform.scaleX),a=this.lineJoin;if(this.autoPaging){for(var l,u,c=JSON.parse(JSON.stringify(this.path)),h=JSON.parse(JSON.stringify(this.path)),d=[],f=0;f<h.length;f++)if(void 0!==h[f].x)for(var p=ro.call(this,h[f]),m=0;m<p.length;m+=1)-1===d.indexOf(p[m])&&d.push(p[m]);for(var g=0;g<d.length;g++)for(;this.pdf.internal.getNumberOfPages()<d[g];)ra.call(this);ru(d);for(var v=d[0],y=d[d.length-1],b=v;b<y+1;b++){this.pdf.setPage(b),this.fillStyle=r,this.strokeStyle=n,this.lineCap=s,this.lineWidth=o,this.lineJoin=a;var _=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],j=1===b?this.posY+this.margin[0]:this.margin[0],w=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],x=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],A=1===b?0:w+(b-2)*x;if(0!==this.ctx.clip_path.length){var S=this.path;l=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=rl(l,this.posX+this.margin[3],-A+j+this.ctx.prevPageLastElemOffset),rh.call(this,e,!0),this.path=S}if(u=JSON.parse(JSON.stringify(c)),this.path=rl(u,this.posX+this.margin[3],-A+j+this.ctx.prevPageLastElemOffset),!1===t||0===b){var N=(b>v||b<y)&&ri.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_,x,null).clip().discardPath()),rh.call(this,e,t),N&&this.pdf.restoreGraphicsState()}this.lineWidth=i}this.path=c}else this.lineWidth=o,rh.call(this,e,t),this.lineWidth=i},rh=function(e,t){if(("stroke"!==e||t||!rs.call(this))&&("stroke"===e||t||!rn.call(this))){for(var r,n,s=[],i=this.path,o=0;o<i.length;o++){var a=i[o];switch(a.type){case"begin":s.push({begin:!0});break;case"close":s.push({close:!0});break;case"mt":s.push({start:a,deltas:[],abs:[]});break;case"lt":var l=s.length;if(i[o-1]&&!isNaN(i[o-1].x)&&(r=[a.x-i[o-1].x,a.y-i[o-1].y],l>0)){for(;l>=0;l--)if(!0!==s[l-1].close&&!0!==s[l-1].begin){s[l-1].deltas.push(r),s[l-1].abs.push(a);break}}break;case"bct":r=[a.x1-i[o-1].x,a.y1-i[o-1].y,a.x2-i[o-1].x,a.y2-i[o-1].y,a.x-i[o-1].x,a.y-i[o-1].y],s[s.length-1].deltas.push(r);break;case"qct":var u=i[o-1].x+2/3*(a.x1-i[o-1].x),c=i[o-1].y+2/3*(a.y1-i[o-1].y),h=a.x+2/3*(a.x1-a.x),d=a.y+2/3*(a.y1-a.y),f=a.x,p=a.y;r=[u-i[o-1].x,c-i[o-1].y,h-i[o-1].x,d-i[o-1].y,f-i[o-1].x,p-i[o-1].y],s[s.length-1].deltas.push(r);break;case"arc":s.push({deltas:[],abs:[],arc:!0}),Array.isArray(s[s.length-1].abs)&&s[s.length-1].abs.push(a)}}n=t?null:"stroke"===e?"stroke":"fill";for(var m=!1,g=0;g<s.length;g++)if(s[g].arc)for(var v=s[g].abs,y=0;y<v.length;y++){var b=v[y];"arc"===b.type?rp.call(this,b.x,b.y,b.radius,b.startAngle,b.endAngle,b.counterclockwise,void 0,t,!m):rb.call(this,b.x,b.y),m=!0}else if(!0===s[g].close)this.pdf.internal.out("h"),m=!1;else if(!0!==s[g].begin){var _=s[g].start.x,j=s[g].start.y;r_.call(this,s[g].deltas,_,j),m=!0}n&&rm.call(this,n),t&&rg.call(this)}},rd=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;default:return e}},rf=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)},rt.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},rt.prototype.createPattern=function(){return this.createLinearGradient()},rt.prototype.createRadialGradient=function(){return this.createLinearGradient()},rp=function(e,t,r,n,s,i,o,a,l){for(var u=rw.call(this,r,n,s,i),c=0;c<u.length;c++){var h=u[c];0===c&&(l?rv.call(this,h.x1+e,h.y1+t):rb.call(this,h.x1+e,h.y1+t)),rj.call(this,e,t,h.x2,h.y2,h.x3,h.y3,h.x4,h.y4)}a?rg.call(this):rm.call(this,o)},rm=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},rg=function(){this.pdf.clip(),this.pdf.discardPath()},rv=function(e,t){this.pdf.internal.out(t2(e)+" "+t5(t)+" m")},ry=function(e){switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var t,r,n,s,i=this.pdf.getTextDimensions(e.text),o=rd.call(this,e.y),a=rf.call(this,o)-i.h,l=this.ctx.transform.applyToPoint(new t6(e.x,o));if(this.autoPaging){var u=this.ctx.transform.decompose(),c=new t7;c=(c=(c=c.multiply(u.translate)).multiply(u.skew)).multiply(u.scale);for(var h=this.ctx.transform.applyToRectangle(new t8(e.x,o,i.w,i.h)),d=c.applyToRectangle(new t8(e.x,a,i.w,i.h)),f=ro.call(this,d),p=[],m=0;m<f.length;m+=1)-1===p.indexOf(f[m])&&p.push(f[m]);ru(p);for(var g=p[0],v=p[p.length-1],y=g;y<v+1;y++){this.pdf.setPage(y);var b=1===y?this.posY+this.margin[0]:this.margin[0],_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],j=this.pdf.internal.pageSize.height-this.margin[2],w=j-this.margin[0],x=this.pdf.internal.pageSize.width-this.margin[1],A=x-this.margin[3],S=1===y?0:_+(y-2)*w;if(0!==this.ctx.clip_path.length){var N=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=rl(r,this.posX+this.margin[3],-1*S+b),rh.call(this,"fill",!0),this.path=N}var L=rl([JSON.parse(JSON.stringify(d))],this.posX+this.margin[3],-S+b+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(n=this.pdf.internal.getFontSize(),this.pdf.setFontSize(n*e.scale),s=this.lineWidth,this.lineWidth=s*e.scale);var k="text"!==this.autoPaging;if(k||L.y+L.h<=j){if(k||L.y>=b&&L.x<=x){var P=k?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||x-L.x)[0],C=rl([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-S+b+this.ctx.prevPageLastElemOffset)[0],E=k&&(y>g||y<v)&&ri.call(this);E&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],A,w,null).clip().discardPath()),this.pdf.text(P,C.x,C.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),E&&this.pdf.restoreGraphicsState()}}else L.y<j&&(this.ctx.prevPageLastElemOffset+=j-L.y);e.scale>=.01&&(this.pdf.setFontSize(n),this.lineWidth=s)}}else e.scale>=.01&&(n=this.pdf.internal.getFontSize(),this.pdf.setFontSize(n*e.scale),s=this.lineWidth,this.lineWidth=s*e.scale),this.pdf.text(e.text,l.x+this.posX,l.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(n),this.lineWidth=s)},rb=function(e,t,r,n){r=r||0,n=n||0,this.pdf.internal.out(t2(e+r)+" "+t5(t+n)+" l")},r_=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},rj=function(e,t,r,n,s,i,o,a){this.pdf.internal.out([t1(t3(r+e)),t1(t4(n+t)),t1(t3(s+e)),t1(t4(i+t)),t1(t3(o+e)),t1(t4(a+t)),"c"].join(" "))},rw=function(e,t,r,n){for(var s=2*Math.PI,i=Math.PI/2;t>r;)t-=s;var o=Math.abs(r-t);o<s&&n&&(o=s-o);for(var a=[],l=n?-1:1,u=t;o>1e-5;){var c=u+l*Math.min(o,i);a.push(rx.call(this,e,u,c)),o-=Math.abs(c-u),u=c}return a},rx=function(e,t,r){var n=(r-t)/2,s=e*Math.cos(n),i=e*Math.sin(n),o=-i,a=s*s+o*o,l=a+s*s+o*i,u=4/3*(Math.sqrt(2*a*l)-l)/(s*i-o*s),c=s-u*o,h=o+u*s,d=-h,f=n+t,p=Math.cos(f),m=Math.sin(f);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:c*p-h*m,y2:c*m+h*p,x3:c*p-d*m,y3:c*m+d*p,x4:e*Math.cos(r),y4:e*Math.sin(r)}},rA=function(e){return 180*e/Math.PI},rS=function(e,t,r,n,s,i){var o=e+.5*(r-e),a=t+.5*(n-t),l=s+.5*(r-s),u=i+.5*(n-i),c=Math.min(e,s,o,l),h=Math.min(t,i,a,u);return new t8(c,h,Math.max(e,s,o,l)-c,Math.max(t,i,a,u)-h)},rN=function(e,t,r,n,s,i,o,a){var l,u,c,h,d,f,p,m,g,v,y,b,_,j,w=r-e,x=n-t,A=s-r,S=i-n,N=o-s,L=a-i;for(u=0;u<41;u++)g=(p=(c=e+(l=u/40)*w)+l*((d=r+l*A)-c))+l*(d+l*(s+l*N-d)-p),v=(m=(h=t+l*x)+l*((f=n+l*S)-h))+l*(f+l*(i+l*L-f)-m),0==u?(y=g,b=v,_=g,j=v):(y=Math.min(y,g),b=Math.min(b,v),_=Math.max(_,g),j=Math.max(j,v));return new t8(Math.round(y),Math.round(b),Math.round(_-y),Math.round(j-b))},rL=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==e&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=e)}},rk=z.API,rP=function(e){var t,r,n,s,i,o,a,l,u,c;for(/[^\x00-\xFF]/.test(e),r=[],n=0,s=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;s>n;n+=4)0!==(i=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(o=(i=((i=((i=((i=(i-(c=i%85))/85)-(u=i%85))/85)-(l=i%85))/85)-(a=i%85))/85)%85,r.push(o+33,a+33,l+33,u+33,c+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},rC=function(e){var t,r,n,s,i,o=String,a="length",l="charCodeAt",u="slice",c="replace";for(e[u](-2),e=e[u](0,-2)[c](/\s/g,"")[c]("z","!!!!!"),n=[],s=0,i=(e+=t="uuuuu"[u](e[a]%5||5))[a];i>s;s+=5)r=0x31c84b1*(e[l](s)-33)+614125*(e[l](s+1)-33)+7225*(e[l](s+2)-33)+85*(e[l](s+3)-33)+(e[l](s+4)-33),n.push(255&r>>24,255&r>>16,255&r>>8,255&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[a]),o.fromCharCode.apply(o,n)},rE=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},rO=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=(0,i.zlibSync)(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")},rk.processDataByFilters=function(e,t){var r=0,n=e||"",s=[];for("string"==typeof(t=t||[])&&(t=[t]),r=0;r<t.length;r+=1)switch(t[r]){case"ASCII85Decode":case"/ASCII85Decode":n=rC(n),s.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":n=rP(n),s.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":n=rE(n),s.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":n=n.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">",s.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":n=rO(n),s.push("/FlateDecode");break;default:throw Error('The filter: "'+t[r]+'" is not implemented')}return{data:n,reverseChain:s.reverse().join(" ")}},(rT=z.API).loadFile=function(e,t,r){var n=t,s=r;n=!1!==n,s="function"==typeof s?s:function(){};var i=void 0;try{i=function(e,t,r){var n=new XMLHttpRequest,s=0,i=function(e){var t=e.length,r=[],n=String.fromCharCode;for(s=0;s<t;s+=1)r.push(n(255&e.charCodeAt(s)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(i(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return i(n.responseText)}(e,n,s)}catch(e){}return i},rT.allowFsRead=void 0,rT.loadImageFile=rT.loadFile,function(e){function t(){return(l.html2canvas?Promise.resolve(l.html2canvas):Promise.resolve().then(n.t.bind(n,"html2canvas",23))).catch(function(e){return Promise.reject(Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function r(){return(l.DOMPurify?Promise.resolve(l.DOMPurify):Promise.resolve().then(n.bind(n,"./node_modules/dompurify/dist/purify.es.mjs"))).catch(function(e){return Promise.reject(Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var i=function(e){var t=(0,s.default)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},o=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},a=function e(t,r){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),s=t.firstChild;s;s=s.nextSibling)!0!==r&&1===s.nodeType&&"SCRIPT"===s.nodeName||n.appendChild(e(s,r));return 1===t.nodeType&&("CANVAS"===t.nodeName?(n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value),n.addEventListener("load",function(){n.scrollTop=t.scrollTop,n.scrollLeft=t.scrollLeft},!0)),n},u=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(u.prototype=Object.create(Promise.prototype)).constructor=u,u.convert=function(e,t){return e.__proto__=t||u.prototype,e},u.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},u.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then(function(t){return this.set({src:o("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},u.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},u.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},u.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:"number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=r,r)for(var s=0;s<r.length;++s){var i=r[s],o=i.src.find(function(e){return"truetype"===e.format});o&&t.addFont(o.url,i.ref.name,i.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t.context2d.save(!0),e(this.prop.container,n)}).then(function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},u.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},u.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},u.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},u.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},u.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},u.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in u.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},u.prototype.get=function(e,t){return this.then(function(){var r=e in u.template.prop?this.prop[e]:this.opt[e];return t?t(r):r})},u.prototype.setMargin=function(e){return this.then(function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},u.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||z.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},u.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},u.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return r.updateProgress(null,e),t}).then(e,t).then(function(e){return r.updateProgress(1),e})})},u.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:u.convert(Object.assign({},this),Promise.prototype),s=r.call(n,e,t);return u.convert(s,this.__proto__)},u.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},u.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},u.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return u.convert(t,this)},u.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},u.prototype.error=function(e){return this.then(function(){throw Error(e)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,z.getPageSize=function(e,t,r){if("object"===(0,s.default)(e)){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var i,o=(""+r).toLowerCase(),a={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var l,u=0,c=0;if(a.hasOwnProperty(o))u=a[o][1]/i,c=a[o][0]/i;else try{u=r[1],c=r[0]}catch(e){throw Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",c>u&&(l=c,c=u,u=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",u>c&&(l=c,c=u,u=l)}return{width:c,height:u,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(eM):null;var r=new u(t);return t.worker?r:r.from(e).doCallback()}}(z.API),z.API.addJS=function(e){return tT=e,this.internal.events.subscribe("postPutResources",function(){tE=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(tE+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),tO=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+tT+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==tE&&void 0!==tO&&this.internal.out("/Names <</JavaScript "+tE+" 0 R>>")}),this},(rI=z.API).events.push(["postPutResources",function(){var e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var t=this.outline.render().split(/\r\n/),r=0;r<t.length;r++){var n=t[r],s=e.exec(n);if(null!=s){var i=s[1];this.internal.newObjectDeferredBegin(i,!1)}this.internal.write(n)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,a=[];for(r=0;r<o;r++){var l=this.internal.newObject();a.push(l);var u=this.internal.getPageInfo(r+1);this.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var c=this.internal.newObject();for(this.internal.write("<< /Names [ "),r=0;r<a.length;r++)this.internal.write("(page_"+(r+1)+")"+a[r]+" 0 R");this.internal.write(" ] >>","endobj"),rM=this.internal.newObject(),this.internal.write("<< /Dests "+c+" 0 R"),this.internal.write(">>","endobj")}}]),rI.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+rM+" 0 R"))}]),rI.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var s=t.children[n];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var i=this.count=this.count_r({count:0},s);if(i>0&&this.line("/Count "+i),s.options&&s.options.pageNumber){var o=e.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var a=0;a<t.children.length;a++)this.renderItems(t.children[a])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}]),rR=z.API,rF=[192,193,194,195,196,197,198,199],rR.processJPEG=function(e,t,r,n,s,i){var o,a=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=s||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(o=function(e){for(var t,r=256*e.charCodeAt(4)+e.charCodeAt(5),n=e.length,s={width:0,height:0,numcomponents:1},i=4;i<n;i+=2){if(i+=r,-1!==rF.indexOf(e.charCodeAt(i+1))){t=256*e.charCodeAt(i+5)+e.charCodeAt(i+6),s={width:256*e.charCodeAt(i+7)+e.charCodeAt(i+8),height:t,numcomponents:e.charCodeAt(i+9)};break}r=256*e.charCodeAt(i+2)+e.charCodeAt(i+3)}return s}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}l={data:e,width:o.width,height:o.height,colorSpace:i,bitsPerComponent:8,filter:a,index:t,alias:r}}return l},z.API.processPNG=function(e,t,r,n){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var s,l,u,c,h,d,f=(0,a.decode)(e,{checkCrc:!0}),p=f.width,m=f.height,g=f.channels,v=f.palette,y=f.depth,b=(s=v&&1===g?function(e){for(var t=e.width,r=e.height,n=e.data,s=e.palette,i=e.depth,a=!1,l=[],u=[],c=void 0,h=!1,d=0,f=0;f<s.length;f++){var p=(0,o.default)(s[f],4),m=p[0],g=p[1],v=p[2],y=p[3];l.push(m,g,v),null!=y&&(0===y?(d++,u.length<1&&u.push(f)):y<255&&(h=!0))}if(h||d>1){a=!0,u=void 0;var b=t*r;c=new Uint8Array(b);for(var _=new DataView(n.buffer),j=0;j<b;j++){var w=tG(_,j,i),x=(0,o.default)(s[w],4)[3];c[j]=x}}else 0===d&&(u=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:a?8:void 0,colorBytes:n,alphaBytes:c,needSMask:a,palette:l,mask:u}}(f):2===g||4===g?function(e){for(var t=e.data,r=e.width,n=e.height,s=e.channels,i=e.depth,o=s-1,a=r*n,l=Math.ceil(a*o*i/8),u=Math.ceil(a*i/8),c=new Uint8Array(l),h=new Uint8Array(u),d=new DataView(t.buffer),f=new DataView(c.buffer),p=new DataView(h.buffer),m=!1,g=0;g<a;g++){for(var v=g*s,y=0;y<o;y++)tY(f,tG(d,v+y,i),g*o+y,i);var b=tG(d,v+o,i);b<(1<<i)-1&&(m=!0),tY(p,b,+g,i)}return{colorSpace:2===s?"DeviceGray":"DeviceRGB",colorsPerPixel:o,sMaskBitsPerComponent:m?i:void 0,colorBytes:c,alphaBytes:h,needSMask:m}}(f):(l=f.data,{colorSpace:u=1===f.channels?"DeviceGray":"DeviceRGB",colorsPerPixel:"DeviceGray"===u?1:3,colorBytes:l instanceof Uint16Array?function(e){for(var t=e.length,r=new Uint8Array(2*t),n=new DataView(r.buffer,r.byteOffset,r.byteLength),s=0;s<t;s++)n.setUint16(2*s,e[s],!1);return r}(l):l,needSMask:!1})).colorSpace,_=s.colorsPerPixel,j=s.sMaskBitsPerComponent,w=s.colorBytes,x=s.alphaBytes,A=s.needSMask,S=s.palette,N=s.mask,L=null;return n!==z.API.image_compression.NONE&&"function"==typeof i.zlibSync?(L=function(e){var t;switch(e){case z.API.image_compression.FAST:t=11;break;case z.API.image_compression.MEDIUM:t=13;break;case z.API.image_compression.SLOW:t=14;break;default:t=12}return t}(n),c=this.decode.FLATE_DECODE,h="/Predictor ".concat(L," /Colors ").concat(_," /BitsPerComponent ").concat(y," /Columns ").concat(p),e=tz(w,Math.ceil(p*_*y/8),_,y,n),A&&(d=tz(x,Math.ceil(p*j/8),1,j,n))):(c=void 0,h=void 0,e=w,A&&(d=x)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:r,data:e,index:t,filter:c,decodeParameters:h,transparency:N,palette:S,sMask:d,predictor:L,width:p,height:m,bitsPerComponent:y,sMaskBitsPerComponent:j,colorSpace:b}}},(rD=z.API).processGIF89A=function(e,t,r,n){var s=new t$(e),i=s.width,o=s.height,a=[];s.decodeAndBlitFrameRGBA(0,a);var l=new tK(100).encode({data:a,width:i,height:o},100);return rD.processJPEG.call(this,l,t,r,n)},rD.processGIF87A=rD.processGIF89A,tJ.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:s,green:n,blue:r,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},tJ.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){u("bit decode error:"+e)}},tJ.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,s=0;s<t;s++)for(var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+8*s*4,a=0;a<8&&8*s+a<this.width;a++){var l=this.palette[i>>7-a&1];this.data[o+4*a]=l.blue,this.data[o+4*a+1]=l.green,this.data[o+4*a+2]=l.red,this.data[o+4*a+3]=255}0!==r&&(this.pos+=4-r)}},tJ.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,s=0;s<e;s++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+2*s*4,a=i>>4,l=15&i,u=this.palette[a];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*s+1>=this.width)break;u=this.palette[l],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},tJ.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var s=this.datav.getUint8(this.pos++,!0),i=r*this.width*4+4*n;if(s<this.palette.length){var o=this.palette[s];this.data[i]=o.red,this.data[i+1]=o.green,this.data[i+2]=o.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==e&&(this.pos+=4-e)}},tJ.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,s=0;s<this.width;s++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(i&t)/t*255|0,a=(i>>5&t)/t*255|0,l=(i>>10&t)/t*255|0,u=i>>15?255:0,c=n*this.width*4+4*s;this.data[c]=l,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=u}this.pos+=e}},tJ.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var s=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&t)/t*255|0,l=(o>>5&r)/r*255|0,u=(o>>11)/t*255|0,c=s*this.width*4+4*i;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=a,this.data[c+3]=255}this.pos+=e}},tJ.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*r;this.data[o]=i,this.data[o+1]=s,this.data[o+2]=n,this.data[o+3]=255}this.pos+=this.width%4}},tJ.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*r;this.data[a]=i,this.data[a+1]=s,this.data[a+2]=n,this.data[a+3]=o}},tJ.prototype.getData=function(){return this.data},(rB=z.API).processBMP=function(e,t,r,n){var s=new tJ(e,!1),i=s.width,o=s.height,a={data:s.getData(),width:i,height:o},l=new tK(100).encode(a,100);return rB.processJPEG.call(this,l,t,r,n)},tQ.prototype.getData=function(){return this.data},(rz=z.API).processWEBP=function(e,t,r,n){var s=new tQ(e),i=s.width,o=s.height,a={data:s.getData(),width:i,height:o},l=new tK(100).encode(a,100);return rz.processJPEG.call(this,l,t,r,n)},z.API.processRGBA=function(e,t,r){for(var n=e.data,s=n.length,i=new Uint8Array(s/4*3),o=new Uint8Array(s/4),a=0,l=0,u=0;u<s;u+=4){var c=n[u],h=n[u+1],d=n[u+2],f=n[u+3];i[a++]=c,i[a++]=h,i[a++]=d,o[l++]=f}var p=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:p,index:t,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},z.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!==({af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"})[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},tM=(tI=z.API).getCharWidthsArray=function(e,t){var r,n,i=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),a=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:i.metadata.Unicode.widths,u=l.fof?l.fof:1,c=t.kerning?t.kerning:i.metadata.Unicode.kerning,h=c.fof?c.fof:1,d=!1!==t.doKerning,f=0,p=e.length,m=0,g=l[0]||u,v=[];for(r=0;r<p;r++)n=e.charCodeAt(r),"function"==typeof i.metadata.widthOfString?v.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+1e3/o*a||0)/1e3):(f=d&&"object"===(0,s.default)(c[n])&&!isNaN(parseInt(c[n][m],10))?c[n][m]/h:0,v.push((l[n]||g)/u+f)),m=n;return v},tR=tI.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),s=t.charSpace||this.internal.getCharSpace();return tI.processArabic&&(e=tI.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,s)/r:tM.apply(this,arguments).reduce(function(e,t){return e+t},0)},tF=function(e,t,r,n){for(var s=[],i=0,o=e.length,a=0;i!==o&&a+t[i]<r;)a+=t[i],i++;s.push(e.slice(0,i));var l=i;for(a=0;i!==o;)a+t[i]>n&&(s.push(e.slice(l,i)),a=0,l=i),a+=t[i],i++;return l!==i&&s.push(e.slice(l,i)),s},tD=function(e,t,r){r||(r={});var n,s,i,o,a,l,u,c=[],h=[c],d=r.textIndent||0,f=0,p=0,m=e.split(" "),g=tM.apply(this,[" ",r])[0];if(l=-1===r.lineIndent?m[0].length+2:r.lineIndent||0){var v=Array(l).join(" "),y=[];m.map(function(e){(e=e.split(/\s*\n/)).length>1?y=y.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):y.push(e[0])}),m=y,l=tR.apply(this,[v,r])}for(i=0,o=m.length;i<o;i++){var b=0;if(n=m[i],l&&"\n"==n[0]&&(n=n.substr(1),b=1),d+f+(p=(s=tM.apply(this,[n,r])).reduce(function(e,t){return e+t},0))>t||b){if(p>t){for(a=tF.apply(this,[n,s,t-(d+f),t]),c.push(a.shift()),c=[a.pop()];a.length;)h.push([a.shift()]);p=s.slice(n.length-(c[0]?c[0].length:0)).reduce(function(e,t){return e+t},0)}else c=[n];h.push(c),d=p+l,f=g}else c.push(n),d+=f+p,f=g}return u=l?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},h.map(u)},tI.splitTextToSize=function(e,t,r){var n,s=(r=r||{}).fontSize||this.internal.getFontSize(),i=(function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),r="Unicode";return t.metadata[r]?{widths:t.metadata[r].widths||{0:1},kerning:t.metadata[r].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=this.internal.scaleFactor*t/s;i.textIndent=r.textIndent?r.textIndent*this.internal.scaleFactor/s:0,i.lineIndent=r.lineIndent;var a,l,u=[];for(a=0,l=n.length;a<l;a++)u=u.concat(tD.apply(this,[n[a],o,i]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",r="klmnopqrstuvwxyz",n={},i={},o=0;o<16;o++)n[r[o]]=t[o],i[t[o]]=r[o];var a=function(e){return"0x"+parseInt(e,10).toString(16)},l=e.__fontmetrics__.compress=function(e){var t,r,n,o,u=["{"];for(var c in e){if(t=e[c],r=isNaN(parseInt(c,10))?"'"+c+"'":(r=a(c=parseInt(c,10)).slice(2)).slice(0,-1)+i[r.slice(-1)],"number"==typeof t)t<0?(n=a(t).slice(3),o="-"):(n=a(t).slice(2),o=""),n=o+n.slice(0,-1)+i[n.slice(-1)];else{if("object"!==(0,s.default)(t))throw Error("Don't know what to do with value type "+(0,s.default)(t)+".");n=l(t)}u.push(r+n)}return u.push("}"),u.join("")},u=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw Error("Invalid argument passed to uncompress.");for(var t,r,s,i,o={},a=1,l=o,u=[],c="",h="",d=e.length-1,f=1;f<d;f+=1)"'"==(i=e[f])?t?(s=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(u.push([l,s]),l={},s=void 0):"}"==i?((r=u.pop())[0][r[1]]=l,s=void 0,l=r[0]):"-"==i?a=-1:void 0===s?n.hasOwnProperty(i)?(c+=n[i],s=parseInt(c,16)*a,a=1,c=""):c+=i:n.hasOwnProperty(i)?(h+=n[i],l[s]=parseInt(h,16)*a,a=1,s=void 0,h=""):h+=i;return o},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},h={Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c},d={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,r=d.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=h[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(z.API),rU=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},z.API.events.push(["addFont",function(e){var t,r=void 0,n=e.font,s=e.instance;if(!n.isStandardFont){if(void 0===s)throw Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if("string"!=typeof(r=!1===s.existsFileInVFS(n.postScriptName)?s.loadFile(n.postScriptName):s.getFileFromVFS(n.postScriptName)))throw Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");t=r,t=/^\x00\x01\x00\x00/.test(t)?rU(t):rU(v(t)),n.metadata=z.API.TTFFont.open(t),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}}]),z.API.addSvgAsImage=function(e,t,r,s,i,o,a,u){if(isNaN(t)||isNaN(r))throw h("jsPDF.addSvgAsImage: Invalid coordinates",arguments),Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(s)||isNaN(i))throw h("jsPDF.addSvgAsImage: Invalid measurements",arguments),Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=s,c.height=i;var d=c.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,c.width,c.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return(l.canvg?Promise.resolve(l.canvg):Promise.resolve().then(n.bind(n,"./node_modules/canvg/lib/index.es.js"))).catch(function(e){return Promise.reject(Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e}).then(function(t){return t.fromString(d,e,f)},function(){return Promise.reject(Error("Could not load canvg."))}).then(function(e){return e.render(f)}).then(function(){p.addImage(c.toDataURL("image/jpeg",1),t,r,s,i,a,u)})},z.API.putTotalPages=function(e){var t,r=0;15>parseInt(this.internal.getFont().id.substr(1),10)?(t=RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var s=0;s<this.internal.pages[n].length;s++)this.internal.pages[n][s]=this.internal.pages[n][s].replace(t,r);return this},z.API.viewerPreferences=function(e,t){e=e||{},t=t||!1;var r,n,i,o,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(a),u=[],c=0,h=0,d=0;function f(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var p=l.length;for(d=0;d<p;d+=1)r[l[d]].value=r[l[d]].defaultValue,r[l[d]].explicitSet=!1}if("object"===(0,s.default)(e)){for(i in e)if(o=e[i],f(l,i)&&void 0!==o){if("boolean"===r[i].type&&"boolean"==typeof o)r[i].value=o;else if("name"===r[i].type&&f(r[i].valueSet,o))r[i].value=o;else if("integer"===r[i].type&&Number.isInteger(o))r[i].value=o;else if("array"===r[i].type){for(c=0;c<o.length;c+=1)if(n=!0,1===o[c].length&&"number"==typeof o[c][0])u.push(String(o[c]-1));else if(o[c].length>1){for(h=0;h<o[c].length;h+=1)"number"!=typeof o[c][h]&&(n=!1);!0===n&&u.push([o[c][0]-1,o[c][1]-1].join(" "))}r[i].value="["+u.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},rq=z.API,rV=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),o=r.length+n.length+s.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+s+i),this.internal.write("endstream"),this.internal.write("endobj")},rH=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")},rq.addMetadata=function(e,t){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:t||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",rH),this.internal.events.subscribe("postPutResources",rV)),this},rG=(rW=z.API).pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,s=["","0","00","000","0000"],i=[""],o=0,a=e.length;o<a&&(r=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(o),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"!=r);++o)r=r.toString(16),i.push(s[4-r.length],r);return i.join("")},rY=function(e){var t,r,n,s,i,o,a;for(i="/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><ffff>\nendcodespacerange",n=[],o=0,a=(r=Object.keys(e).sort(function(e,t){return e-t})).length;o<a;o++)t=r[o],n.length>=100&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(s=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+s+">"));return n.length&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},rW.events.push(["putFont",function(e){!function(e){var t=e.font,r=e.out,n=e.newObject,s=e.putStream;if(t.metadata instanceof z.API.TTFFont&&"Identity-H"===t.encoding){for(var i=t.metadata.Unicode.widths,o=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),a="",l=0;l<o.length;l++)a+=String.fromCharCode(o[l]);var u=n();s({data:a,addLength1:!0,objectId:u}),r("endobj");var c=n();s({data:rY(t.metadata.toUnicode),addLength1:!0,objectId:c}),r("endobj");var h=n();r("<<"),r("/Type /FontDescriptor"),r("/FontName /"+I(t.fontName)),r("/FontFile2 "+u+" 0 R"),r("/FontBBox "+z.API.PDFObject.convert(t.metadata.bbox)),r("/Flags "+t.metadata.flags),r("/StemV "+t.metadata.stemV),r("/ItalicAngle "+t.metadata.italicAngle),r("/Ascent "+t.metadata.ascender),r("/Descent "+t.metadata.decender),r("/CapHeight "+t.metadata.capHeight),r(">>"),r("endobj");var d=n();r("<<"),r("/Type /Font"),r("/BaseFont /"+I(t.fontName)),r("/FontDescriptor "+h+" 0 R"),r("/W "+z.API.PDFObject.convert(i)),r("/CIDToGIDMap /Identity"),r("/DW 1000"),r("/Subtype /CIDFontType2"),r("/CIDSystemInfo"),r("<<"),r("/Supplement 0"),r("/Registry (Adobe)"),r("/Ordering ("+t.encoding+")"),r(">>"),r(">>"),r("endobj"),t.objectNumber=n(),r("<<"),r("/Type /Font"),r("/Subtype /Type0"),r("/ToUnicode "+c+" 0 R"),r("/BaseFont /"+I(t.fontName)),r("/Encoding /"+t.encoding),r("/DescendantFonts ["+d+" 0 R]"),r(">>"),r("endobj"),t.isAlreadyPutted=!0}}(e)}]),rW.events.push(["putFont",function(e){!function(e){var t=e.font,r=e.out,n=e.newObject,s=e.putStream;if(t.metadata instanceof z.API.TTFFont&&"WinAnsiEncoding"===t.encoding){for(var i=t.metadata.rawData,o="",a=0;a<i.length;a++)o+=String.fromCharCode(i[a]);var l=n();s({data:o,addLength1:!0,objectId:l}),r("endobj");var u=n();s({data:rY(t.metadata.toUnicode),addLength1:!0,objectId:u}),r("endobj");var c=n();r("<<"),r("/Descent "+t.metadata.decender),r("/CapHeight "+t.metadata.capHeight),r("/StemV "+t.metadata.stemV),r("/Type /FontDescriptor"),r("/FontFile2 "+l+" 0 R"),r("/Flags 96"),r("/FontBBox "+z.API.PDFObject.convert(t.metadata.bbox)),r("/FontName /"+I(t.fontName)),r("/ItalicAngle "+t.metadata.italicAngle),r("/Ascent "+t.metadata.ascender),r(">>"),r("endobj"),t.objectNumber=n();for(var h=0;h<t.metadata.hmtx.widths.length;h++)t.metadata.hmtx.widths[h]=parseInt(t.metadata.hmtx.widths[h]*(1e3/t.metadata.head.unitsPerEm));r("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+I(t.fontName)+"/FontDescriptor "+c+" 0 R/Encoding/"+t.encoding+" /FirstChar 29 /LastChar 255 /Widths "+z.API.PDFObject.convert(t.metadata.hmtx.widths)+">>"),r("endobj"),t.isAlreadyPutted=!0}}(e)}]),rX=function(e){var t,r=e.text||"",n=e.x,s=e.y,i=e.options||{},o=e.mutex||{},a=o.pdfEscape,l=o.activeFontKey,u=o.fonts,c=l,h="",d=0,f="",p=u[c].encoding;if("Identity-H"!==u[c].encoding)return{text:r,x:n,y:s,options:i,mutex:o};for(f=r,c=l,Array.isArray(r)&&(f=r[0]),d=0;d<f.length;d+=1)u[c].metadata.hasOwnProperty("cmap")&&(t=u[c].metadata.cmap.unicode.codeMap[f[d].charCodeAt(0)]),t||256>f[d].charCodeAt(0)&&u[c].metadata.hasOwnProperty("Unicode")?h+=f[d]:h+="";var m="";return 14>parseInt(c.slice(1))||"WinAnsiEncoding"===p?m=a(h,c).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===p&&(m=rG(h,u[c])),o.isHex=!0,{text:m,x:n,y:s,options:i,mutex:o}},rW.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var s=0;for(s=0;s<t.length;s+=1)Array.isArray(t[s])&&3===t[s].length?r.push([rX(Object.assign({},n,{text:t[s][0]})).text,t[s][1],t[s][2]]):r.push(rX(Object.assign({},n,{text:t[s]})).text);e.text=r}else e.text=rX(Object.assign({},n,{text:t})).text}]),r$=z.API,rZ=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0},r$.existsFileInVFS=function(e){return rZ.call(this),void 0!==this.internal.vFS[e]},r$.addFileToVFS=function(e,t){return rZ.call(this),this.internal.vFS[e]=t,this},r$.getFileFromVFS=function(e){return rZ.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null},z.__bidiEngine__=z.prototype.__bidiEngine__=function(e){var t,r,n,s,i,o,a,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],c={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},d=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","â¹","âº","â¹","â
","â","â
","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],f=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),p=!1,m=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),r=t>>8,n=h[r];return void 0!==n?rK[256*n+(255&t)]:252===r||253===r?"AL":f.test(r)?"L":8===r?"R":"N"},v=function(e){for(var t,r=0;r<e.length&&"L"!==(t=g(e.charAt(r)));r++)if("R"===t)return!0;return!1},y=function(e,i,o,a){var l,u,c,h,d=i[a];switch(d){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":p=!1;break;case"N":case"AN":break;case"EN":p&&(d="AN");break;case"AL":p=!0,d="R";break;case"WS":case"BN":d="N";break;case"CS":a<1||a+1>=i.length||"EN"!==(l=o[a-1])&&"AN"!==l||"EN"!==(u=i[a+1])&&"AN"!==u?d="N":p&&(u="AN"),d=u===l?u:"N";break;case"ES":d="EN"===(l=a>0?o[a-1]:"B")&&a+1<i.length&&"EN"===i[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===o[a-1]){d="EN";break}if(p){d="N";break}for(c=a+1,h=i.length;c<h&&"ET"===i[c];)c++;d=c<h&&"EN"===i[c]?"EN":"N";break;case"NSM":if(n&&!s){for(h=i.length,c=a+1;c<h&&"NSM"===i[c];)c++;if(c<h){var f=e[a];if(l=i[c],(f>=1425&&f<=2303||64286===f)&&("R"===l||"AL"===l)){d="R";break}}}d=a<1||"B"===(l=i[a-1])?"N":o[a-1];break;case"B":p=!1,t=!0,d=m;break;case"S":r=!0,d="N"}return d},b=function(e,t,r){var n=e.split("");return r&&_(n,r,{hiLevel:m}),n.reverse(),t&&t.reverse(),n.join("")},_=function(e,n,s){var i,o,a,h,d,f=-1,v=e.length,b=0,_=[],j=m?u:l,w=[];for(p=!1,t=!1,r=!1,o=0;o<v;o++)w[o]=g(e[o]);for(a=0;a<v;a++){if(d=b,_[a]=y(e,w,_,a),i=240&(b=j[d][c[_[a]]]),b&=15,n[a]=h=j[b][5],i>0)if(16===i){for(o=f;o<a;o++)n[o]=1;f=-1}else f=-1;if(j[b][6])-1===f&&(f=a);else if(f>-1){for(o=f;o<a;o++)n[o]=h;f=-1}"B"===w[a]&&(n[a]=0),s.hiLevel|=h}r&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=m;for(var s=n-1;s>=0&&"WS"===e[s];s--)t[s]=m}}(w,n,v)},j=function(e,r,n,s,i){if(!(i.hiLevel<e)){if(1===e&&1===m&&!t)return r.reverse(),void(n&&n.reverse());for(var o,a,l,u,c=r.length,h=0;h<c;){if(s[h]>=e){for(l=h+1;l<c&&s[l]>=e;)l++;for(u=h,a=l-1;u<a;u++,a--)o=r[u],r[u]=r[a],r[a]=o,n&&(o=n[u],n[u]=n[a],n[a]=o);h=l}h++}}},w=function(e,t,r){var n=e.split(""),s={hiLevel:m};return r||(r=[]),_(n,r,s),function(e,t,r){if(0!==r.hiLevel&&a)for(var n,s=0;s<e.length;s++)1===t[s]&&(n=d.indexOf(e[s]))>=0&&(e[s]=d[n+1])}(n,r,s),j(2,n,t,r,s),j(1,n,t,r,s),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===s&&(s=v(e)),void 0===o&&(o=v(e))}(e,t),n||!i||o)if(n&&i&&s^o)m=+!!s,e=b(e,t,r);else if(!n&&i&&o)m=+!!s,e=b(e=w(e,t,r),t);else if(!n||s||i||o){if(n&&!i&&s^o)e=b(e,t),s?(m=0,e=w(e,t,r)):(m=1,e=b(e=w(e,t,r),t));else if(n&&s&&!i&&o)m=1,e=b(e=w(e,t,r),t);else if(!n&&!i&&s^o){var l=a;s?(m=1,e=w(e,t,r),m=0,a=!1,e=w(e,t,r),a=l):(m=0,e=b(e=w(e,t,r),t),m=1,a=!1,e=w(e,t,r),a=l,e=b(e,t))}}else m=0,e=w(e,t,r);else m=+!!s,e=w(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(n=e.isInputVisual,i=e.isOutputVisual,s=e.isInputRtl,o=e.isOutputRtl,a=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__},rK=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],rJ=new z.__bidiEngine__({isInputVisual:!0}),z.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var r=e.options||{};e.mutex,r.lang;var n=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,rJ.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var s=0;for(n=[],s=0;s<t.length;s+=1)"[object Array]"===Object.prototype.toString.call(t[s])?n.push([rJ.doBidiReorder(t[s][0]),t[s][1],t[s][2]]):n.push([rJ.doBidiReorder(t[s])]);e.text=n}else e.text=rJ.doBidiReorder(t);rJ.setOptions({isInputVisual:!0})}]),z.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new r0(e),this.contents.pos=4,"ttcf"===t.readString(4))throw Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new nu(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new r1(this.contents),this.head=new r3(this),this.name=new nt(this),this.cmap=new r6(this),this.toUnicode={},this.hhea=new r8(this),this.maxp=new nr(this),this.hmtx=new nn(this),this.post=new r9(this),this.os2=new r7(this),this.loca=new nl(this),this.glyf=new ni(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,r,n,s;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var t,r,n,s;for(s=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],s.push(Math.round(e*this.scaleFactor));return s}).call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(t=n>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(s=this.familyClass)||2===s||3===s||4===s||5===s||7===s,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,s,i,o;for(i=0,s=0,o=(e=""+e).length;0<=o?s<o:s>o;s=0<=o?++s:--s)n=e.charCodeAt(s),i+=this.widthOfGlyph(this.characterToGlyph(n))+1e3/t*r||0;return t/1e3*i},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var t0,t1,t2,t5,t3,t4,t6,t8,t7,t9,re,rt,rr,rn,rs,ri,ro,ra,rl,ru,rc,rh,rd,rf,rp,rm,rg,rv,ry,rb,r_,rj,rw,rx,rA,rS,rN,rL,rk,rP,rC,rE,rO,rT,rI,rM,rR,rF,rD,rB,rz,rU,rq,rV,rH,rW,rG,rY,rX,r$,rZ,rK,rJ,rQ,r0=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 0x1000000*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=0x80000000?e-0x100000000:e},e.prototype.writeInt32=function(e){return e<0&&(e+=0x100000000),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,s,i,o,a;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),s=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),128&e?-1*(0x100000000000000*(255^e)+0x1000000000000*(255^t)+0x10000000000*(255^r)+0x100000000*(255^n)+0x1000000*(255^s)+65536*(255^i)+256*(255^o)+(255^a)+1):0x100000000000000*e+0x1000000000000*t+0x10000000000*r+0x100000000*n+0x1000000*s+65536*i+256*o+a},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/0x100000000),r=0|e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,s;for(s=[],r=0,n=e.length;r<n;r++)t=e[r],s.push(this.writeByte(t));return s},e}(),r1=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,s,i,o,a,l,u,c,h,d,f,p;for(p in i=Math.floor((c=16*Math.floor(Math.log(d=Object.keys(t).length)/(a=Math.log(2))))/a),u=16*d-c,(n=new r0).writeInt(this.scalarType),n.writeShort(d),n.writeShort(c),n.writeShort(i),n.writeShort(u),s=16*d,l=n.pos+s,o=null,f=[],t)for(h=t[p],n.writeString(p),n.writeInt(e(h)),n.writeInt(l),n.writeInt(h.length),f=f.concat(h),"head"===p&&(o=l),l+=h.length;l%4;)f.push(0),l++;return n.write(f),r=0xb1b0afba-e(n.data),n.pos=o+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,s;for(e=ns.call(e);e.length%4;)e.push(0);for(n=new r0(e),r=0,t=0,s=e.length;t<s;t=t+=4)r+=n.readUInt32();return 0|r},t}(),r2={}.hasOwnProperty,r5=function(e,t){for(var r in t)r2.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};rQ=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var r3=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new r0).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),r4=function(){function e(e,t){var r,n,s,i,o,a,l,u,c,h,d,f,p,m,g,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=e.readByte();break;case 4:for(h=e.readUInt16()/2,e.pos+=6,s=function(){var t,r;for(r=[],a=t=0;0<=h?t<h:t>h;a=0<=h?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,f=function(){var t,r;for(r=[],a=t=0;0<=h?t<h:t>h;a=0<=h?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],a=t=0;0<=h?t<h:t>h;a=0<=h?++t:--t)r.push(e.readUInt16());return r}(),u=function(){var t,r;for(r=[],a=t=0;0<=h?t<h:t>h;a=0<=h?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,o=function(){var t,r;for(r=[],a=t=0;0<=n?t<n:t>n;a=0<=n?++t:--t)r.push(e.readUInt16());return r}(),a=m=0,v=s.length;m<v;a=++m)for(p=s[a],r=g=d=f[a];d<=p?g<=p:g>=p;r=d<=p?++g:--g)0===u[a]?i=r+l[a]:0!==(i=o[u[a]/2+(r-d)-(h-a)]||0)&&(i+=l[a]),this.codeMap[r]=65535&i}e.pos=c}return e.encode=function(e,t){var r,n,s,i,o,a,l,u,c,h,d,f,p,m,g,v,y,b,_,j,w,x,A,S,N,L,k,P,C,E,O,T,I,M,R,F,D,B,z,U,q,V,H,W,G,Y;switch(P=new r0,i=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(p=0,m=function(){var e=[];for(f=0;f<256;++f)e.push(0);return e}(),v={0:0},s={},C=0,I=i.length;C<I;C++)null==v[H=e[n=i[C]]]&&(v[H]=++p),s[n]={old:e[n],new:v[e[n]]},m[n]=v[e[n]];return P.writeUInt16(1),P.writeUInt16(0),P.writeUInt32(12),P.writeUInt16(0),P.writeUInt16(262),P.writeUInt16(0),P.write(m),{charMap:s,subtable:P.data,maxGlyphID:p+1};case"unicode":for(L=[],c=[],y=0,v={},r={},g=l=null,E=0,M=i.length;E<M;E++)null==v[_=e[n=i[E]]]&&(v[_]=++y),r[n]={old:_,new:v[_]},o=v[_]-n,null!=g&&o===l||(g&&c.push(g),L.push(n),l=o),g=n;for(g&&c.push(g),c.push(65535),L.push(65535),S=2*(A=L.length),h=Math.log((x=2*Math.pow(Math.log(A)/Math.LN2,2))/2)/Math.LN2,w=2*A-x,a=[],j=[],d=[],f=O=0,R=L.length;O<R;f=++O){if(N=L[f],u=c[f],65535===N){a.push(0),j.push(0);break}if(N-(k=r[N].new)>=32768)for(a.push(0),j.push(2*(d.length+A-f)),n=T=N;N<=u?T<=u:T>=u;n=N<=u?++T:--T)d.push(r[n].new);else a.push(k-N),j.push(0)}for(P.writeUInt16(3),P.writeUInt16(1),P.writeUInt32(12),P.writeUInt16(4),P.writeUInt16(16+8*A+2*d.length),P.writeUInt16(0),P.writeUInt16(S),P.writeUInt16(x),P.writeUInt16(h),P.writeUInt16(w),q=0,F=c.length;q<F;q++)n=c[q],P.writeUInt16(n);for(P.writeUInt16(0),V=0,D=L.length;V<D;V++)n=L[V],P.writeUInt16(n);for(W=0,B=a.length;W<B;W++)o=a[W],P.writeUInt16(o);for(G=0,z=j.length;G<z;G++)b=j[G],P.writeUInt16(b);for(Y=0,U=d.length;Y<U;Y++)p=d[Y],P.writeUInt16(p);return{charMap:r,subtable:P.data,maxGlyphID:y+1}}},e}(),r6=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new r4(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=r4.encode(e,t),(n=new r0).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(),r8=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),r7=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),r9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="post",e.prototype.parse=function(e){var t,r,n,s;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:for(r=e.readUInt16(),this.glyphNameIndex=[],s=0;0<=r?s<r:s>r;s=0<=r?++s:--s)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 262144:return this.map=(function(){var t,r,n;for(n=[],s=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt32());return n}).call(this)}},e}(),ne=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},nt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="name",e.prototype.parse=function(e){var t,r,n,s,i,o,a,l,u,c;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),r=[],s=0;0<=t?s<t:s>t;s=0<=t?++s:--s)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(a={},s=l=0,u=r.length;l<u;s=++l)e.pos=(n=r[s]).offset,i=new ne(e.readString(n.length),n),null==a[c=n.nameID]&&(a[c]=[]),a[n.nameID].push(i);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},e}(),nr=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),nn=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,r,n,s,i,o,a;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,s;for(s=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)s.push(e.readInt16());return s}(),this.widths=(function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)s=r[e],n.push(s.advance);return n}).call(this),r=this.widths[this.widths.length-1],a=[],t=i=0;0<=n?i<n:i>n;t=0<=n?++i:--i)a.push(this.widths.push(r));return a},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),ns=[].slice,ni=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,r,n,s,i,o,a,l,u,c;return e in this.cache?this.cache[e]:(s=this.file.loca,t=this.file.contents,r=s.indexOf(e),0===(n=s.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,i=(o=new r0(t.read(n))).readShort(),l=o.readShort(),c=o.readShort(),a=o.readShort(),u=o.readShort(),this.cache[e]=-1===i?new na(o,l,c,a,u):new no(o,i,l,c,a,u),this.cache[e]))},e.prototype.encode=function(e,t,r){var n,s,i,o,a;for(i=[],s=[],o=0,a=t.length;o<a;o++)n=e[t[o]],s.push(i.length),n&&(i=i.concat(n.encode(r)));return s.push(i.length),{table:i,offsets:s}},e}(),no=function(){function e(e,t,r,n,s,i){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=s,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),na=function(){function e(e,t,r,n,s){var i,o;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=s,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;o=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&o;)i.pos+=1&o?4:2,128&o?i.pos+=8:64&o?i.pos+=4:8&o&&(i.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new r0(ns.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),nl=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return r5(e,rQ),e.prototype.tag="loca",e.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?(function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}).call(this):(function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}).call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,s=0,i=0;i<r.length;++i)if(r[i]=n,s<t.length&&t[s]==i){++s,r[i]=n;var o=this.offsets[i],a=this.offsets[i+1]-o;a>0&&(n+=a)}for(var l=Array(4*r.length),u=0;u<r.length;++u)l[4*u+3]=255&r[u],l[4*u+2]=(65280&r[u])>>8,l[4*u+1]=(0xff0000&r[u])>>16,l[4*u]=(0xff000000&r[u])>>24;return l},e}(),nu=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,s;for(t in n=this.font.cmap.tables[0].codeMap,e={},s=this.subset)r=s[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,s,i,o,a;for(n={},i=0,o=e.length;i<o;i++)n[s=e[i]]=this.font.glyf.glyphFor(s);for(s in t=[],n)(null!=(r=n[s])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(s in a=this.glyphsFor(t))r=a[s],n[s]=r;return n},e.prototype.encode=function(e,t){var r,n,s,i,o,a,l,u,c,h,d,f,p,m,g;for(n in r=r6.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),d={0:0},g=r.charMap)d[(a=g[n]).old]=a.new;for(f in h=r.maxGlyphID,i)f in d||(d[f]=h++);return c=Object.keys(u=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(d)).sort(function(e,t){return e-t}),p=function(){var e,t,r;for(r=[],e=0,t=c.length;e<t;e++)o=c[e],r.push(u[o]);return r}(),s=this.font.glyf.encode(i,p,d),l=this.font.loca.encode(s.offsets,p),m={cmap:this.font.cmap.raw(),glyf:s.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},e}();z.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,s,i,o;if(Array.isArray(r))return"["+(function(){var e,s,i;for(i=[],e=0,s=r.length;e<s;e++)n=r[e],i.push(t.convert(n));return i})().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"===({}).toString.call(r)){for(s in i=["<<"],r)o=r[s],i.push("/"+s+" "+t.convert(o));return i.push(">>"),i.join("\n")}return""+r},t}()},
vendor: 45,710 bytes, line 1
1"./node_modules/pako/dist/pako.esm.mjs":function(e,t,r){"use strict";let n,s,i,o,a;function l(e){let t=e.length;for(;--t>=0;)e[t]=0}r.r(t),r.d(t,{Deflate:function(){return tB},Inflate:function(){return tV},constants:function(){return tY},default:function(){return tX},deflate:function(){return tz},deflateRaw:function(){return tU},gzip:function(){return tq},inflate:function(){return tH},inflateRaw:function(){return tW},ungzip:function(){return tG}});let u=573,c=new Uint8Array([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]),h=new Uint8Array([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]),d=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=Array(576);l(p);let m=Array(60);l(m);let g=Array(512);l(g);let v=Array(256);l(v);let y=Array(29);l(y);let b=Array(30);function _(e,t,r,n,s){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=s,this.has_stree=e&&e.length}function j(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}l(b);let w=e=>e<256?g[e]:g[256+(e>>>7)],x=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},A=(e,t,r)=>{e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,x(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)},S=(e,t,r)=>{A(e,r[2*t],r[2*t+1])},N=(e,t)=>{let r=0;do r|=1&e,e>>>=1,r<<=1;while(--t>0);return r>>>1},L=(e,t,r)=>{let n,s,i=Array(16),o=0;for(n=1;n<=15;n++)o=o+r[n-1]<<1,i[n]=o;for(s=0;s<=t;s++){let t=e[2*s+1];0!==t&&(e[2*s]=N(i[t]++,t))}},k=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},P=e=>{e.bi_valid>8?x(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},C=(e,t,r,n)=>{let s=2*t,i=2*r;return e[s]<e[i]||e[s]===e[i]&&n[t]<=n[r]},E=(e,t,r)=>{let n=e.heap[r],s=r<<1;for(;s<=e.heap_len&&(s<e.heap_len&&C(t,e.heap[s+1],e.heap[s],e.depth)&&s++,!C(t,n,e.heap[s],e.depth));)e.heap[r]=e.heap[s],r=s,s<<=1;e.heap[r]=n},O=(e,t,r)=>{let n,s,i,o,a=0;if(0!==e.sym_next)do n=(255&e.pending_buf[e.sym_buf+a++])+((255&e.pending_buf[e.sym_buf+a++])<<8),s=e.pending_buf[e.sym_buf+a++],0===n?S(e,s,t):(S(e,(i=v[s])+256+1,t),0!==(o=c[i])&&A(e,s-=y[i],o),S(e,i=w(--n),r),0!==(o=h[i])&&A(e,n-=b[i],o));while(a<e.sym_next);S(e,256,t)},T=(e,t)=>{let r,n,s,i=t.dyn_tree,o=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(r=0,e.heap_len=0,e.heap_max=u;r<l;r++)0!==i[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):i[2*r+1]=0;for(;e.heap_len<2;)i[2*(s=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[s]=0,e.opt_len--,a&&(e.static_len-=o[2*s+1]);for(t.max_code=c,r=e.heap_len>>1;r>=1;r--)E(e,i,r);s=l;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],E(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,i[2*s]=i[2*r]+i[2*n],e.depth[s]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,i[2*r+1]=i[2*n+1]=s,e.heap[1]=s++,E(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{let r,n,s,i,o,a,l=t.dyn_tree,c=t.max_code,h=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(i=0;i<=15;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<u;r++)(i=l[2*l[2*(n=e.heap[r])+1]+1]+1)>m&&(i=m,g++),l[2*n+1]=i,!(n>c)&&(e.bl_count[i]++,o=0,n>=p&&(o=f[n-p]),a=l[2*n],e.opt_len+=a*(i+o),d&&(e.static_len+=a*(h[2*n+1]+o)));if(0!==g){do{for(i=m-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[m]--,g-=2}while(g>0);for(i=m;0!==i;i--)for(n=e.bl_count[i];0!==n;)!((s=e.heap[--r])>c)&&(l[2*s+1]!==i&&(e.opt_len+=(i-l[2*s+1])*l[2*s],l[2*s+1]=i),n--)}})(e,t),L(i,c,e.bl_count)},I=(e,t,r)=>{let n,s,i=-1,o=t[1],a=0,l=7,u=4;for(0===o&&(l=138,u=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)s=o,o=t[(n+1)*2+1],++a<l&&s===o||(a<u?e.bl_tree[2*s]+=a:0!==s?(s!==i&&e.bl_tree[2*s]++,e.bl_tree[32]++):a<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=0,i=s,0===o?(l=138,u=3):s===o?(l=6,u=3):(l=7,u=4))},M=(e,t,r)=>{let n,s,i=-1,o=t[1],a=0,l=7,u=4;for(0===o&&(l=138,u=3),n=0;n<=r;n++)if(s=o,o=t[(n+1)*2+1],!(++a<l)||s!==o){if(a<u)do S(e,s,e.bl_tree);while(0!=--a);else 0!==s?(s!==i&&(S(e,s,e.bl_tree),a--),S(e,16,e.bl_tree),A(e,a-3,2)):a<=10?(S(e,17,e.bl_tree),A(e,a-3,3)):(S(e,18,e.bl_tree),A(e,a-11,7));a=0,i=s,0===o?(l=138,u=3):s===o?(l=6,u=3):(l=7,u=4)}},R=!1,F=(e,t,r,n)=>{A(e,0+ +!!n,3),P(e),x(e,r),x(e,~r),r&&e.pending_buf.set(e.window.subarray(t,t+r),e.pending),e.pending+=r};var D={_tr_init:e=>{R||((()=>{let e,t,r,o,a,l=Array(16);for(o=0,r=0;o<28;o++)for(e=0,y[o]=r;e<1<<c[o];e++)v[r++]=o;for(v[r-1]=o,a=0,o=0;o<16;o++)for(e=0,b[o]=a;e<1<<h[o];e++)g[a++]=o;for(a>>=7;o<30;o++)for(e=0,b[o]=a<<7;e<1<<h[o]-7;e++)g[256+a++]=o;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)p[2*e+1]=8,e++,l[8]++;for(;e<=255;)p[2*e+1]=9,e++,l[9]++;for(;e<=279;)p[2*e+1]=7,e++,l[7]++;for(;e<=287;)p[2*e+1]=8,e++,l[8]++;for(L(p,287,l),e=0;e<30;e++)m[2*e+1]=5,m[2*e]=N(e,5);n=new _(p,c,257,286,15),s=new _(m,h,0,30,15),i=new _([],d,0,19,7)})(),R=!0),e.l_desc=new j(e.dyn_ltree,n),e.d_desc=new j(e.dyn_dtree,s),e.bl_desc=new j(e.bl_tree,i),e.bi_buf=0,e.bi_valid=0,k(e)},_tr_stored_block:F,_tr_flush_block:(e,t,r,n)=>{let s,i,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,r=0xf3ffc07f;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),T(e,e.l_desc),T(e,e.d_desc),o=(e=>{let t;for(I(e,e.dyn_ltree,e.l_desc.max_code),I(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),s=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=s&&(s=i)):s=i=r+5,r+4<=s&&-1!==t?F(e,t,r,n):4===e.strategy||i===s?(A(e,2+ +!!n,3),O(e,p,m)):(A(e,4+ +!!n,3),((e,t,r,n)=>{let s;for(A(e,t-257,5),A(e,r-1,5),A(e,n-4,4),s=0;s<n;s++)A(e,e.bl_tree[2*f[s]+1],3);M(e,e.dyn_ltree,t-1),M(e,e.dyn_dtree,r-1)})(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),O(e,e.dyn_ltree,e.dyn_dtree)),k(e),n&&P(e)},_tr_tally:(e,t,r)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=r,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[(v[r]+256+1)*2]++,e.dyn_dtree[2*w(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{A(e,2,3),S(e,256,p),16===e.bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},B=(e,t,r,n)=>{let s=65535&e,i=e>>>16&65535,o=0;for(;0!==r;){o=r>2e3?2e3:r,r-=o;do i=i+(s=s+t[n++]|0)|0;while(--o);s%=65521,i%=65521}return s|i<<16};let z=new Uint32Array((()=>{let e,t=[];for(var r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?0xedb88320^e>>>1:e>>>1;t[r]=e}return t})());var U=(e,t,r,n)=>{let s=n+r;e^=-1;for(let r=n;r<s;r++)e=e>>>8^z[(e^t[r])&255];return -1^e},q={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"},V={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_MEM_ERROR:-4,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};let{_tr_init:H,_tr_stored_block:W,_tr_flush_block:G,_tr_tally:Y,_tr_align:X}=D,{Z_NO_FLUSH:$,Z_PARTIAL_FLUSH:Z,Z_FULL_FLUSH:K,Z_FINISH:J,Z_BLOCK:Q,Z_OK:ee,Z_STREAM_END:et,Z_STREAM_ERROR:er,Z_DATA_ERROR:en,Z_BUF_ERROR:es,Z_DEFAULT_COMPRESSION:ei,Z_FILTERED:eo,Z_HUFFMAN_ONLY:ea,Z_RLE:el,Z_FIXED:eu,Z_DEFAULT_STRATEGY:ec,Z_UNKNOWN:eh,Z_DEFLATED:ed}=V,ef=573,ep=(e,t)=>(e.msg=q[t],t),em=e=>2*e-9*(e>4),eg=e=>{let t=e.length;for(;--t>=0;)e[t]=0},ev=e=>{let t,r,n,s=e.w_size;n=t=e.hash_size;do r=e.head[--n],e.head[n]=r>=s?r-s:0;while(--t);n=t=s;do r=e.prev[--n],e.prev[n]=r>=s?r-s:0;while(--t)},ey=(e,t,r)=>(t<<e.hash_shift^r)&e.hash_mask,eb=e=>{let t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+r),e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))},e_=(e,t)=>{G(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,eb(e.strm)},ej=(e,t)=>{e.pending_buf[e.pending++]=t},ew=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},ex=(e,t,r,n)=>{let s=e.avail_in;return(s>n&&(s=n),0===s)?0:(e.avail_in-=s,t.set(e.input.subarray(e.next_in,e.next_in+s),r),1===e.state.wrap?e.adler=B(e.adler,t,s,r):2===e.state.wrap&&(e.adler=U(e.adler,t,s,r)),e.next_in+=s,e.total_in+=s,s)},eA=(e,t)=>{let r,n,s=e.max_chain_length,i=e.strstart,o=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,h=e.prev,d=e.strstart+258,f=u[i+o-1],p=u[i+o];e.prev_length>=e.good_match&&(s>>=2),a>e.lookahead&&(a=e.lookahead);do{if(u[(r=t)+o]!==p||u[r+o-1]!==f||u[r]!==u[i]||u[++r]!==u[i+1])continue;i+=2,r++;do;while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&i<d);if(n=258-(d-i),i=d-258,n>o){if(e.match_start=t,o=n,n>=a)break;f=u[i+o-1],p=u[i+o]}}while((t=h[t&c])>l&&0!=--s);return o<=e.lookahead?o:e.lookahead},eS=e=>{let t,r,n,s=e.w_size;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-262)&&(e.window.set(e.window.subarray(s,s+s-r),0),e.match_start-=s,e.strstart-=s,e.block_start-=s,e.insert>e.strstart&&(e.insert=e.strstart),ev(e),r+=s),0===e.strm.avail_in)break;if(t=ex(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=t,e.lookahead+e.insert>=3)for(n=e.strstart-e.insert,e.ins_h=e.window[n],e.ins_h=ey(e,e.ins_h,e.window[n+1]);e.insert&&(e.ins_h=ey(e,e.ins_h,e.window[n+3-1]),e.prev[n&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=n,n++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},eN=(e,t)=>{let r=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,n,s,i,o=0,a=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i||(i=e.strm.avail_out-i,n>(s=e.strstart-e.block_start)+e.strm.avail_in&&(n=s+e.strm.avail_in),n>i&&(n=i),n<r&&(0===n&&t!==J||t===$||n!==s+e.strm.avail_in)))break;o=+(t===J&&n===s+e.strm.avail_in),W(e,0,0,o),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,eb(e.strm),s&&(s>n&&(s=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+s),e.strm.next_out),e.strm.next_out+=s,e.strm.avail_out-=s,e.strm.total_out+=s,e.block_start+=s,n-=s),n&&(ex(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===o);return((a-=e.strm.avail_in)&&(a>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=a&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-a,e.strm.next_in),e.strstart),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o)?4:t!==$&&t!==J&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(ex(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,r=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>e.w_size?e.w_size:i,((s=e.strstart-e.block_start)>=r||(s||t===J)&&t!==$&&0===e.strm.avail_in&&s<=i)&&(n=s>i?i:s,o=+(t===J&&0===e.strm.avail_in&&n===s),W(e,e.block_start,n,o),e.block_start+=n,eb(e.strm)),o?3:1)},eL=(e,t)=>{let r,n;for(;;){if(e.lookahead<262){if(eS(e),e.lookahead<262&&t===$)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=ey(e,e.ins_h,e.window[e.strstart+3-1]),r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-262&&(e.match_length=eA(e,r)),e.match_length>=3)if(n=Y(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=ey(e,e.ins_h,e.window[e.strstart+3-1]),r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ey(e,e.ins_h,e.window[e.strstart+1]);else n=Y(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(e_(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,t===J)?(e_(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(e_(e,!1),0===e.strm.avail_out)?1:2},ek=(e,t)=>{let r,n,s;for(;;){if(e.lookahead<262){if(eS(e),e.lookahead<262&&t===$)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=ey(e,e.ins_h,e.window[e.strstart+3-1]),r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-262&&(e.match_length=eA(e,r),e.match_length<=5&&(e.strategy===eo||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-3,n=Y(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=ey(e,e.ins_h,e.window[e.strstart+3-1]),r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(e_(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Y(e,0,e.window[e.strstart-1]))&&e_(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(n=Y(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===J)?(e_(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(e_(e,!1),0===e.strm.avail_out)?1:2};function eP(e,t,r,n,s){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=s}let eC=[new eP(0,0,0,0,eN),new eP(4,4,8,4,eL),new eP(4,5,16,8,eL),new eP(4,6,32,32,eL),new eP(4,4,16,16,ek),new eP(8,16,32,32,ek),new eP(8,16,128,128,ek),new eP(8,32,128,256,ek),new eP(32,128,258,1024,ek),new eP(32,258,258,4096,ek)];function eE(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ed,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*ef),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),eg(this.dyn_ltree),eg(this.dyn_dtree),eg(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),eg(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),eg(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}let eO=e=>{if(!e)return 1;let t=e.state;return t&&t.strm===e&&(42===t.status||57===t.status||69===t.status||73===t.status||91===t.status||103===t.status||113===t.status||666===t.status)?0:1};var eT=(e,t)=>{if(eO(e)||t>Q||t<0)return e?ep(e,er):er;let r=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===r.status&&t!==J)return ep(e,0===e.avail_out?es:er);let n=r.last_flush;if(r.last_flush=t,0!==r.pending){if(eb(e),0===e.avail_out)return r.last_flush=-1,ee}else if(0===e.avail_in&&em(t)<=em(n)&&t!==J)return ep(e,es);if(666===r.status&&0!==e.avail_in)return ep(e,es);if(42===r.status&&0===r.wrap&&(r.status=113),42===r.status){let t=ed+(r.w_bits-8<<4)<<8;if(t|=(r.strategy>=ea||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(t|=32),ew(r,t+=31-t%31),0!==r.strstart&&(ew(r,e.adler>>>16),ew(r,65535&e.adler)),e.adler=1,r.status=113,eb(e),0!==r.pending)return r.last_flush=-1,ee}if(57===r.status){if(e.adler=0,ej(r,31),ej(r,139),ej(r,8),r.gzhead)ej(r,+!!r.gzhead.text+2*!!r.gzhead.hcrc+4*!!r.gzhead.extra+8*!!r.gzhead.name+16*!!r.gzhead.comment),ej(r,255&r.gzhead.time),ej(r,r.gzhead.time>>8&255),ej(r,r.gzhead.time>>16&255),ej(r,r.gzhead.time>>24&255),ej(r,9===r.level?2:4*(r.strategy>=ea||r.level<2)),ej(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(ej(r,255&r.gzhead.extra.length),ej(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=U(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69;else if(ej(r,0),ej(r,0),ej(r,0),ej(r,0),ej(r,0),ej(r,9===r.level?2:4*(r.strategy>=ea||r.level<2)),ej(r,3),r.status=113,eb(e),0!==r.pending)return r.last_flush=-1,ee}if(69===r.status){if(r.gzhead.extra){let t=r.pending,n=(65535&r.gzhead.extra.length)-r.gzindex;for(;r.pending+n>r.pending_buf_size;){let s=r.pending_buf_size-r.pending;if(r.pending_buf.set(r.gzhead.extra.subarray(r.gzindex,r.gzindex+s),r.pending),r.pending=r.pending_buf_size,r.gzhead.hcrc&&r.pending>t&&(e.adler=U(e.adler,r.pending_buf,r.pending-t,t)),r.gzindex+=s,eb(e),0!==r.pending)return r.last_flush=-1,ee;t=0,n-=s}let s=new Uint8Array(r.gzhead.extra);r.pending_buf.set(s.subarray(r.gzindex,r.gzindex+n),r.pending),r.pending+=n,r.gzhead.hcrc&&r.pending>t&&(e.adler=U(e.adler,r.pending_buf,r.pending-t,t)),r.gzindex=0}r.status=73}if(73===r.status){if(r.gzhead.name){let t,n=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>n&&(e.adler=U(e.adler,r.pending_buf,r.pending-n,n)),eb(e),0!==r.pending)return r.last_flush=-1,ee;n=0}t=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,ej(r,t)}while(0!==t);r.gzhead.hcrc&&r.pending>n&&(e.adler=U(e.adler,r.pending_buf,r.pending-n,n)),r.gzindex=0}r.status=91}if(91===r.status){if(r.gzhead.comment){let t,n=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>n&&(e.adler=U(e.adler,r.pending_buf,r.pending-n,n)),eb(e),0!==r.pending)return r.last_flush=-1,ee;n=0}t=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,ej(r,t)}while(0!==t);r.gzhead.hcrc&&r.pending>n&&(e.adler=U(e.adler,r.pending_buf,r.pending-n,n))}r.status=103}if(103===r.status){if(r.gzhead.hcrc){if(r.pending+2>r.pending_buf_size&&(eb(e),0!==r.pending))return r.last_flush=-1,ee;ej(r,255&e.adler),ej(r,e.adler>>8&255),e.adler=0}if(r.status=113,eb(e),0!==r.pending)return r.last_flush=-1,ee}if(0!==e.avail_in||0!==r.lookahead||t!==$&&666!==r.status){let n=0===r.level?eN(r,t):r.strategy===ea?((e,t)=>{let r;for(;;){if(0===e.lookahead&&(eS(e),0===e.lookahead)){if(t===$)return 1;break}if(e.match_length=0,r=Y(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(e_(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===J)?(e_(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(e_(e,!1),0===e.strm.avail_out)?1:2})(r,t):r.strategy===el?((e,t)=>{let r,n,s,i,o=e.window;for(;;){if(e.lookahead<=258){if(eS(e),e.lookahead<=258&&t===$)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[s=e.strstart-1])===o[++s]&&n===o[++s]&&n===o[++s]){i=e.strstart+258;do;while(n===o[++s]&&n===o[++s]&&n===o[++s]&&n===o[++s]&&n===o[++s]&&n===o[++s]&&n===o[++s]&&n===o[++s]&&s<i);e.match_length=258-(i-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Y(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Y(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(e_(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===J)?(e_(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(e_(e,!1),0===e.strm.avail_out)?1:2})(r,t):eC[r.level].func(r,t);if((3===n||4===n)&&(r.status=666),1===n||3===n)return 0===e.avail_out&&(r.last_flush=-1),ee;if(2===n&&(t===Z?X(r):t!==Q&&(W(r,0,0,!1),t===K&&(eg(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),eb(e),0===e.avail_out))return r.last_flush=-1,ee}return t!==J?ee:r.wrap<=0?et:(2===r.wrap?(ej(r,255&e.adler),ej(r,e.adler>>8&255),ej(r,e.adler>>16&255),ej(r,e.adler>>24&255),ej(r,255&e.total_in),ej(r,e.total_in>>8&255),ej(r,e.total_in>>16&255),ej(r,e.total_in>>24&255)):(ew(r,e.adler>>>16),ew(r,65535&e.adler)),eb(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?ee:et)},eI=e=>{if(eO(e))return er;let t=e.state.status;return e.state=null,113===t?ep(e,en):ee};let eM=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var eR=function(e){let t=Array.prototype.slice.call(arguments,1);for(;t.length;){let r=t.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(let t in r)eM(r,t)&&(e[t]=r[t])}}return e},eF=e=>{let t=0;for(let r=0,n=e.length;r<n;r++)t+=e[r].length;let r=new Uint8Array(t);for(let t=0,n=0,s=e.length;t<s;t++){let s=e[t];r.set(s,n),n+=s.length}return r};let eD=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){eD=!1}let eB=new Uint8Array(256);for(let e=0;e<256;e++)eB[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;eB[254]=eB[254]=1;var ez=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,r,n,s,i,o=e.length,a=0;for(s=0;s<o;s++)(64512&(r=e.charCodeAt(s)))==55296&&s+1<o&&(64512&(n=e.charCodeAt(s+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),s++),a+=r<128?1:r<2048?2:r<65536?3:4;for(i=0,t=new Uint8Array(a),s=0;i<a;s++)(64512&(r=e.charCodeAt(s)))==55296&&s+1<o&&(64512&(n=e.charCodeAt(s+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t},eU=(e,t)=>{let r,n,s=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let i=Array(2*s);for(n=0,r=0;r<s;){let t=e[r++];if(t<128){i[n++]=t;continue}let o=eB[t];if(o>4){i[n++]=65533,r+=o-1;continue}for(t&=2===o?31:3===o?15:7;o>1&&r<s;)t=t<<6|63&e[r++],o--;if(o>1){i[n++]=65533;continue}t<65536?i[n++]=t:(t-=65536,i[n++]=55296|t>>10&1023,i[n++]=56320|1023&t)}var o=n;if(o<65534&&i.subarray&&eD)return String.fromCharCode.apply(null,i.length===o?i:i.subarray(0,o));let a="";for(let e=0;e<o;e++)a+=String.fromCharCode(i[e]);return a},eq=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let r=t-1;for(;r>=0&&(192&e[r])==128;)r--;return r<0||0===r?t:r+eB[e[r]]>t?r:t},eV=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};let eH=Object.prototype.toString,{Z_NO_FLUSH:eW,Z_SYNC_FLUSH:eG,Z_FULL_FLUSH:eY,Z_FINISH:eX,Z_OK:e$,Z_STREAM_END:eZ,Z_DEFAULT_COMPRESSION:eK,Z_DEFAULT_STRATEGY:eJ,Z_DEFLATED:eQ}=V;function e0(e){let t,r;this.options=eR({level:eK,method:eQ,chunkSize:16384,windowBits:15,memLevel:8,strategy:eJ},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new eV,this.strm.avail_out=0;let s=((e,t,r,n,s,i)=>{if(!e)return er;let o=1;if(t===ei&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),s<1||s>9||r!==ed||n<8||n>15||t<0||t>9||i<0||i>eu||8===n&&1!==o)return ep(e,er);8===n&&(n=9);let a=new eE;return e.state=a,a.strm=e,a.status=42,a.wrap=o,a.gzhead=null,a.w_bits=n,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=s+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+3-1)/3),a.window=new Uint8Array(2*a.w_size),a.head=new Uint16Array(a.hash_size),a.prev=new Uint16Array(a.w_size),a.lit_bufsize=1<<s+6,a.pending_buf_size=4*a.lit_bufsize,a.pending_buf=new Uint8Array(a.pending_buf_size),a.sym_buf=a.lit_bufsize,a.sym_end=(a.lit_bufsize-1)*3,a.level=t,a.strategy=i,a.method=r,(e=>{var t;let r=(e=>{if(eO(e))return ep(e,er);e.total_in=e.total_out=0,e.data_type=eh;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=-2,H(t),ee})(e);return r===ee&&((t=e.state).window_size=2*t.w_size,eg(t.head),t.max_lazy_match=eC[t.level].max_lazy,t.good_match=eC[t.level].good_length,t.nice_match=eC[t.level].nice_length,t.max_chain_length=eC[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r})(e)})(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(s!==e$)throw Error(q[s]);if(n.header&&(t=this.strm,r=n.header,eO(t)||2!==t.state.wrap||(t.state.gzhead=r)),n.dictionary){let e;if(e="string"==typeof n.dictionary?ez(n.dictionary):"[object ArrayBuffer]"===eH.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,(s=((e,t)=>{let r=t.length;if(eO(e))return er;let n=e.state,s=n.wrap;if(2===s||1===s&&42!==n.status||n.lookahead)return er;if(1===s&&(e.adler=B(e.adler,t,r,0)),n.wrap=0,r>=n.w_size){0===s&&(eg(n.head),n.strstart=0,n.block_start=0,n.insert=0);let e=new Uint8Array(n.w_size);e.set(t.subarray(r-n.w_size,r),0),t=e,r=n.w_size}let i=e.avail_in,o=e.next_in,a=e.input;for(e.avail_in=r,e.next_in=0,e.input=t,eS(n);n.lookahead>=3;){let e=n.strstart,t=n.lookahead-2;do n.ins_h=ey(n,n.ins_h,n.window[e+3-1]),n.prev[e&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=e,e++;while(--t);n.strstart=e,n.lookahead=2,eS(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=o,e.input=a,e.avail_in=i,n.wrap=s,ee})(this.strm,e))!==e$)throw Error(q[s]);this._dict_set=!0}}function e1(e,t){let r=new e0(t);if(r.push(e,!0),r.err)throw r.msg||q[r.err];return r.result}e0.prototype.push=function(e,t){let r,n,s=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=t===~~t?t:!0===t?eX:eW,"string"==typeof e?s.input=ez(e):"[object ArrayBuffer]"===eH.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;;){if(0===s.avail_out&&(s.output=new Uint8Array(i),s.next_out=0,s.avail_out=i),(n===eG||n===eY)&&s.avail_out<=6){this.onData(s.output.subarray(0,s.next_out)),s.avail_out=0;continue}if((r=eT(s,n))===eZ)return s.next_out>0&&this.onData(s.output.subarray(0,s.next_out)),r=eI(this.strm),this.onEnd(r),this.ended=!0,r===e$;if(0===s.avail_out){this.onData(s.output);continue}if(n>0&&s.next_out>0){this.onData(s.output.subarray(0,s.next_out)),s.avail_out=0;continue}if(0===s.avail_in)break}return!0},e0.prototype.onData=function(e){this.chunks.push(e)},e0.prototype.onEnd=function(e){e===e$&&(this.result=eF(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var e2=function(e,t){let r,n,s,i,o,a,l,u,c,h,d,f,p,m,g,v,y,b,_,j,w,x,A,S,N=e.state;r=e.next_in,A=e.input,n=r+(e.avail_in-5),s=e.next_out,S=e.output,i=s-(t-e.avail_out),o=s+(e.avail_out-257),a=N.dmax,l=N.wsize,u=N.whave,c=N.wnext,h=N.window,d=N.hold,f=N.bits,p=N.lencode,m=N.distcode,g=(1<<N.lenbits)-1,v=(1<<N.distbits)-1;i:do for(f<15&&(d+=A[r++]<<f,f+=8,d+=A[r++]<<f,f+=8),y=p[d&g];;){if(d>>>=b=y>>>24,f-=b,0==(b=y>>>16&255))S[s++]=65535&y;else if(16&b)for(_=65535&y,(b&=15)&&(f<b&&(d+=A[r++]<<f,f+=8),_+=d&(1<<b)-1,d>>>=b,f-=b),f<15&&(d+=A[r++]<<f,f+=8,d+=A[r++]<<f,f+=8),y=m[d&v];;){if(d>>>=b=y>>>24,f-=b,16&(b=y>>>16&255)){if(j=65535&y,f<(b&=15)&&(d+=A[r++]<<f,(f+=8)<b&&(d+=A[r++]<<f,f+=8)),(j+=d&(1<<b)-1)>a){e.msg="invalid distance too far back",N.mode=16209;break i}if(d>>>=b,f-=b,j>(b=s-i)){if((b=j-b)>u&&N.sane){e.msg="invalid distance too far back",N.mode=16209;break i}if(w=0,x=h,0===c){if(w+=l-b,b<_){_-=b;do S[s++]=h[w++];while(--b);w=s-j,x=S}}else if(c<b){if(w+=l+c-b,(b-=c)<_){_-=b;do S[s++]=h[w++];while(--b);if(w=0,c<_){_-=b=c;do S[s++]=h[w++];while(--b);w=s-j,x=S}}}else if(w+=c-b,b<_){_-=b;do S[s++]=h[w++];while(--b);w=s-j,x=S}for(;_>2;)S[s++]=x[w++],S[s++]=x[w++],S[s++]=x[w++],_-=3;_&&(S[s++]=x[w++],_>1&&(S[s++]=x[w++]))}else{w=s-j;do S[s++]=S[w++],S[s++]=S[w++],S[s++]=S[w++],_-=3;while(_>2);_&&(S[s++]=S[w++],_>1&&(S[s++]=S[w++]))}}else if((64&b)==0){y=m[(65535&y)+(d&(1<<b)-1)];continue}else{e.msg="invalid distance code",N.mode=16209;break i}break}else if((64&b)==0){y=p[(65535&y)+(d&(1<<b)-1)];continue}else if(32&b){N.mode=16191;break i}else{e.msg="invalid literal/length code",N.mode=16209;break i}break}while(r<n&&s<o);r-=_=f>>3,f-=_<<3,d&=(1<<f)-1,e.next_in=r,e.next_out=s,e.avail_in=r<n?5+(n-r):5-(r-n),e.avail_out=s<o?257+(o-s):257-(s-o),N.hold=d,N.bits=f};let e5=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),e3=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),e4=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),e6=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var e8=(e,t,r,n,s,i,o,a)=>{let l,u,c,h,d,f,p,m,g,v=a.bits,y=0,b=0,_=0,j=0,w=0,x=0,A=0,S=0,N=0,L=0,k=null,P=new Uint16Array(16),C=new Uint16Array(16),E=null;for(y=0;y<=15;y++)P[y]=0;for(b=0;b<n;b++)P[t[r+b]]++;for(j=15,w=v;j>=1&&0===P[j];j--);if(w>j&&(w=j),0===j)return s[i++]=0x1400000,s[i++]=0x1400000,a.bits=1,0;for(_=1;_<j&&0===P[_];_++);for(w<_&&(w=_),S=1,y=1;y<=15;y++)if(S<<=1,(S-=P[y])<0)return -1;if(S>0&&(0===e||1!==j))return -1;for(y=1,C[1]=0;y<15;y++)C[y+1]=C[y]+P[y];for(b=0;b<n;b++)0!==t[r+b]&&(o[C[t[r+b]]++]=b);if(0===e?(k=E=o,f=20):1===e?(k=e5,E=e3,f=257):(k=e4,E=e6,f=0),L=0,b=0,y=_,d=i,x=w,A=0,c=-1,h=(N=1<<w)-1,1===e&&N>852||2===e&&N>592)return 1;for(;;){p=y-A,o[b]+1<f?(m=0,g=o[b]):o[b]>=f?(m=E[o[b]-f],g=k[o[b]-f]):(m=96,g=0),l=1<<y-A,_=u=1<<x;do s[d+(L>>A)+(u-=l)]=p<<24|m<<16|g;while(0!==u);for(l=1<<y-1;L&l;)l>>=1;if(0!==l?(L&=l-1,L+=l):L=0,b++,0==--P[y]){if(y===j)break;y=t[r+o[b]]}if(y>w&&(L&h)!==c){for(0===A&&(A=w),d+=_,S=1<<(x=y-A);x+A<j&&!((S-=P[x+A])<=0);)x++,S<<=1;if(N+=1<<x,1===e&&N>852||2===e&&N>592)return 1;s[c=L&h]=w<<24|x<<16|d-i}}return 0!==L&&(s[d+L]=y-A<<24|4194304),a.bits=w,0};let{Z_FINISH:e7,Z_BLOCK:e9,Z_TREES:te,Z_OK:tt,Z_STREAM_END:tr,Z_NEED_DICT:tn,Z_STREAM_ERROR:ts,Z_DATA_ERROR:ti,Z_MEM_ERROR:to,Z_BUF_ERROR:ta,Z_DEFLATED:tl}=V,tu=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function tc(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}let th=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.mode<16180||t.mode>16211)},td=e=>{if(th(e))return ts;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,(e=>{if(th(e))return ts;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,tt})(e)},tf=!0,tp=e=>{if(tf){o=new Int32Array(512),a=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(e8(1,e.lens,0,288,o,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;e8(2,e.lens,0,32,a,0,e.work,{bits:5}),tf=!1}e.lencode=o,e.lenbits=9,e.distcode=a,e.distbits=5},tm=(e,t,r,n)=>{let s,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),n>=i.wsize?(i.window.set(t.subarray(r-i.wsize,r),0),i.wnext=0,i.whave=i.wsize):((s=i.wsize-i.wnext)>n&&(s=n),i.window.set(t.subarray(r-n,r-n+s),i.wnext),(n-=s)?(i.window.set(t.subarray(r-n,r),0),i.wnext=n,i.whave=i.wsize):(i.wnext+=s,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=s))),0};var tg=(e,t)=>{let r,n,s,i,o,a,l,u,c,h,d,f,p,m,g,v,y,b,_,j,w,x,A,S,N=0,L=new Uint8Array(4),k=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(th(e)||!e.output||!e.input&&0!==e.avail_in)return ts;16191===(r=e.state).mode&&(r.mode=16192),o=e.next_out,s=e.output,l=e.avail_out,i=e.next_in,n=e.input,a=e.avail_in,u=r.hold,c=r.bits,h=a,d=l,x=tt;o:for(;;)switch(r.mode){case 16180:if(0===r.wrap){r.mode=16192;break}for(;c<16;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(2&r.wrap&&35615===u){0===r.wbits&&(r.wbits=15),r.check=0,L[0]=255&u,L[1]=u>>>8&255,r.check=U(r.check,L,2,0),u=0,c=0,r.mode=16181;break}if(r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=16209;break}if((15&u)!==tl){e.msg="unknown compression method",r.mode=16209;break}if(u>>>=4,c-=4,w=(15&u)+8,0===r.wbits&&(r.wbits=w),w>15||w>r.wbits){e.msg="invalid window size",r.mode=16209;break}r.dmax=1<<r.wbits,r.flags=0,e.adler=r.check=1,r.mode=512&u?16189:16191,u=0,c=0;break;case 16181:for(;c<16;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(r.flags=u,(255&r.flags)!==tl){e.msg="unknown compression method",r.mode=16209;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=16209;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&4&r.wrap&&(L[0]=255&u,L[1]=u>>>8&255,r.check=U(r.check,L,2,0)),u=0,c=0,r.mode=16182;case 16182:for(;c<32;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.head&&(r.head.time=u),512&r.flags&&4&r.wrap&&(L[0]=255&u,L[1]=u>>>8&255,L[2]=u>>>16&255,L[3]=u>>>24&255,r.check=U(r.check,L,4,0)),u=0,c=0,r.mode=16183;case 16183:for(;c<16;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&4&r.wrap&&(L[0]=255&u,L[1]=u>>>8&255,r.check=U(r.check,L,2,0)),u=0,c=0,r.mode=16184;case 16184:if(1024&r.flags){for(;c<16;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&4&r.wrap&&(L[0]=255&u,L[1]=u>>>8&255,r.check=U(r.check,L,2,0)),u=0,c=0}else r.head&&(r.head.extra=null);r.mode=16185;case 16185:if(1024&r.flags&&((f=r.length)>a&&(f=a),f&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Uint8Array(r.head.extra_len)),r.head.extra.set(n.subarray(i,i+f),w)),512&r.flags&&4&r.wrap&&(r.check=U(r.check,n,f,i)),a-=f,i+=f,r.length-=f),r.length))break o;r.length=0,r.mode=16186;case 16186:if(2048&r.flags){if(0===a)break o;f=0;do w=n[i+f++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w));while(w&&f<a);if(512&r.flags&&4&r.wrap&&(r.check=U(r.check,n,f,i)),a-=f,i+=f,w)break o}else r.head&&(r.head.name=null);r.length=0,r.mode=16187;case 16187:if(4096&r.flags){if(0===a)break o;f=0;do w=n[i+f++],r.head&&w&&r.length<65536&&(r.head.comment+=String.fromCharCode(w));while(w&&f<a);if(512&r.flags&&4&r.wrap&&(r.check=U(r.check,n,f,i)),a-=f,i+=f,w)break o}else r.head&&(r.head.comment=null);r.mode=16188;case 16188:if(512&r.flags){for(;c<16;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(4&r.wrap&&u!==(65535&r.check)){e.msg="header crc mismatch",r.mode=16209;break}u=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=16191;break;case 16189:for(;c<32;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}e.adler=r.check=tu(u),u=0,c=0,r.mode=16190;case 16190:if(0===r.havedict)return e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=a,r.hold=u,r.bits=c,tn;e.adler=r.check=1,r.mode=16191;case 16191:if(t===e9||t===te)break o;case 16192:if(r.last){u>>>=7&c,c-=7&c,r.mode=16206;break}for(;c<3;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}switch(r.last=1&u,c-=1,3&(u>>>=1)){case 0:r.mode=16193;break;case 1:if(tp(r),r.mode=16199,t===te){u>>>=2,c-=2;break o}break;case 2:r.mode=16196;break;case 3:e.msg="invalid block type",r.mode=16209}u>>>=2,c-=2;break;case 16193:for(u>>>=7&c,c-=7&c;c<32;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=16209;break}if(r.length=65535&u,u=0,c=0,r.mode=16194,t===te)break o;case 16194:r.mode=16195;case 16195:if(f=r.length){if(f>a&&(f=a),f>l&&(f=l),0===f)break o;s.set(n.subarray(i,i+f),o),a-=f,i+=f,l-=f,o+=f,r.length-=f;break}r.mode=16191;break;case 16196:for(;c<14;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(r.nlen=(31&u)+257,c-=5,r.ndist=(31&(u>>>=5))+1,c-=5,r.ncode=(15&(u>>>=5))+4,u>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=16209;break}r.have=0,r.mode=16197;case 16197:for(;r.have<r.ncode;){for(;c<3;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.lens[k[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[k[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},x=e8(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,x){e.msg="invalid code lengths set",r.mode=16209;break}r.have=0,r.mode=16198;case 16198:for(;r.have<r.nlen+r.ndist;){for(;g=(N=r.lencode[u&(1<<r.lenbits)-1])>>>24,v=N>>>16&255,y=65535&N,!(g<=c);){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(y<16)u>>>=g,c-=g,r.lens[r.have++]=y;else{if(16===y){for(S=g+2;c<S;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(u>>>=g,c-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=16209;break}w=r.lens[r.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===y){for(S=g+3;c<S;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}u>>>=g,c-=g,w=0,f=3+(7&u),u>>>=3,c-=3}else{for(S=g+7;c<S;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}u>>>=g,c-=g,w=0,f=11+(127&u),u>>>=7,c-=7}if(r.have+f>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=16209;break}for(;f--;)r.lens[r.have++]=w}}if(16209===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=16209;break}if(r.lenbits=9,A={bits:r.lenbits},x=e8(1,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,x){e.msg="invalid literal/lengths set",r.mode=16209;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},x=e8(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,x){e.msg="invalid distances set",r.mode=16209;break}if(r.mode=16199,t===te)break o;case 16199:r.mode=16200;case 16200:if(a>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=a,r.hold=u,r.bits=c,e2(e,d),o=e.next_out,s=e.output,l=e.avail_out,i=e.next_in,n=e.input,a=e.avail_in,u=r.hold,c=r.bits,16191===r.mode&&(r.back=-1);break}for(r.back=0;g=(N=r.lencode[u&(1<<r.lenbits)-1])>>>24,v=N>>>16&255,y=65535&N,!(g<=c);){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(v&&(240&v)==0){for(b=g,_=v,j=y;g=(N=r.lencode[j+((u&(1<<b+_)-1)>>b)])>>>24,v=N>>>16&255,y=65535&N,!(b+g<=c);){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}u>>>=b,c-=b,r.back+=b}if(u>>>=g,c-=g,r.back+=g,r.length=y,0===v){r.mode=16205;break}if(32&v){r.back=-1,r.mode=16191;break}if(64&v){e.msg="invalid literal/length code",r.mode=16209;break}r.extra=15&v,r.mode=16201;case 16201:if(r.extra){for(S=r.extra;c<S;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=16202;case 16202:for(;g=(N=r.distcode[u&(1<<r.distbits)-1])>>>24,v=N>>>16&255,y=65535&N,!(g<=c);){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if((240&v)==0){for(b=g,_=v,j=y;g=(N=r.distcode[j+((u&(1<<b+_)-1)>>b)])>>>24,v=N>>>16&255,y=65535&N,!(b+g<=c);){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}u>>>=b,c-=b,r.back+=b}if(u>>>=g,c-=g,r.back+=g,64&v){e.msg="invalid distance code",r.mode=16209;break}r.offset=y,r.extra=15&v,r.mode=16203;case 16203:if(r.extra){for(S=r.extra;c<S;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=16209;break}r.mode=16204;case 16204:if(0===l)break o;if(f=d-l,r.offset>f){if((f=r.offset-f)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=16209;break}f>r.wnext?(f-=r.wnext,p=r.wsize-f):p=r.wnext-f,f>r.length&&(f=r.length),m=r.window}else m=s,p=o-r.offset,f=r.length;f>l&&(f=l),l-=f,r.length-=f;do s[o++]=m[p++];while(--f);0===r.length&&(r.mode=16200);break;case 16205:if(0===l)break o;s[o++]=r.length,l--,r.mode=16200;break;case 16206:if(r.wrap){for(;c<32;){if(0===a)break o;a--,u|=n[i++]<<c,c+=8}if(d-=l,e.total_out+=d,r.total+=d,4&r.wrap&&d&&(e.adler=r.check=r.flags?U(r.check,s,d,o-d):B(r.check,s,d,o-d)),d=l,4&r.wrap&&(r.flags?u:tu(u))!==r.check){e.msg="incorrect data check",r.mode=16209;break}u=0,c=0}r.mode=16207;case 16207:if(r.wrap&&r.flags){for(;c<32;){if(0===a)break o;a--,u+=n[i++]<<c,c+=8}if(4&r.wrap&&u!==(0|r.total)){e.msg="incorrect length check",r.mode=16209;break}u=0,c=0}r.mode=16208;case 16208:x=tr;break o;case 16209:x=ti;break o;case 16210:return to;default:return ts}return e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=a,r.hold=u,r.bits=c,(r.wsize||d!==e.avail_out&&r.mode<16209&&(r.mode<16206||t!==e7))&&tm(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,r.total+=d,4&r.wrap&&d&&(e.adler=r.check=r.flags?U(r.check,s,d,e.next_out-d):B(r.check,s,d,e.next_out-d)),e.data_type=r.bits+64*!!r.last+128*(16191===r.mode)+256*(16199===r.mode||16194===r.mode),(0===h&&0===d||t===e7)&&x===tt&&(x=ta),x},tv=e=>{if(th(e))return ts;let t=e.state;return t.window&&(t.window=null),e.state=null,tt},ty=(e,t)=>{let r,n=t.length;return th(e)||0!==(r=e.state).wrap&&16190!==r.mode?ts:16190===r.mode&&B(1,t,n,0)!==r.check?ti:tm(e,t,n,n)?(r.mode=16210,to):(r.havedict=1,tt)},tb=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};let t_=Object.prototype.toString,{Z_NO_FLUSH:tj,Z_FINISH:tw,Z_OK:tx,Z_STREAM_END:tA,Z_NEED_DICT:tS,Z_STREAM_ERROR:tN,Z_DATA_ERROR:tL,Z_MEM_ERROR:tk}=V;function tP(e){this.options=eR({chunkSize:65536,windowBits:15,to:""},e||{});let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new eV,this.strm.avail_out=0;let r=((e,t)=>{if(!e)return ts;let r=new tc;e.state=r,r.strm=e,r.window=null,r.mode=16180;let n=((e,t)=>{let r;if(th(e))return ts;let n=e.state;return(t<0?(r=0,t=-t):(r=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15))?ts:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,td(e))})(e,t);return n!==tt&&(e.state=null),n})(this.strm,t.windowBits);if(r!==tx||(this.header=new tb,((e,t)=>{if(th(e))return;let r=e.state;return(2&r.wrap)==0||(r.head=t,t.done=!1)})(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=ez(t.dictionary):"[object ArrayBuffer]"===t_.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw)&&(r=ty(this.strm,t.dictionary))!==tx))throw Error(q[r])}function tC(e,t){let r=new tP(t);if(r.push(e),r.err)throw r.msg||q[r.err];return r.result}tP.prototype.push=function(e,t){let r,n,s,i=this.strm,o=this.options.chunkSize,a=this.options.dictionary;if(this.ended)return!1;for(n=t===~~t?t:!0===t?tw:tj,"[object ArrayBuffer]"===t_.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r=tg(i,n))===tS&&a&&((r=ty(i,a))===tx?r=tg(i,n):r===tL&&(r=tS));i.avail_in>0&&r===tA&&i.state.wrap>0&&0!==e[i.next_in];)td(i),r=tg(i,n);switch(r){case tN:case tL:case tS:case tk:return this.onEnd(r),this.ended=!0,!1}if(s=i.avail_out,i.next_out&&(0===i.avail_out||r===tA))if("string"===this.options.to){let e=eq(i.output,i.next_out),t=i.next_out-e,r=eU(i.output,e);i.next_out=t,i.avail_out=o-t,t&&i.output.set(i.output.subarray(e,e+t),0),this.onData(r)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(r!==tx||0!==s){if(r===tA)return r=tv(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===i.avail_in)break}}return!0},tP.prototype.onData=function(e){this.chunks.push(e)},tP.prototype.onEnd=function(e){e===tx&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=eF(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};let{Deflate:tE,deflate:tO,deflateRaw:tT,gzip:tI}={Deflate:e0,deflate:e1,deflateRaw:function(e,t){return(t=t||{}).raw=!0,e1(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,e1(e,t)},constants:V},{Inflate:tM,inflate:tR,inflateRaw:tF,ungzip:tD}={Inflate:tP,inflate:tC,inflateRaw:function(e,t){return(t=t||{}).raw=!0,tC(e,t)},ungzip:tC,constants:V};var tB=tE,tz=tO,tU=tT,tq=tI,tV=tM,tH=tR,tW=tF,tG=tD,tY=V,tX={Deflate:tB,deflate:tz,deflateRaw:tU,gzip:tq,Inflate:tV,inflate:tH,inflateRaw:tW,ungzip:tG,constants:tY}},
vendor: 504 bytes, line 1
1"./node_modules/performance-now/lib/performance-now.js":function(e){(function(){var t,r,n,i;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=s&&s.hrtime?(e.exports=function(){return(t()-i)/1e6},r=s.hrtime,i=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})()-1e9*s.uptime()):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return new Date().getTime()-n},n=new Date().getTime())}).call(this)},
vendor: 943 bytes, line 1
1"./node_modules/raf/index.js":function(e,t,n){for(var s=n("./node_modules/performance-now/lib/performance-now.js"),i="undefined"==typeof window?r.g:window,o=["moz","webkit"],a="AnimationFrame",l=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],c=0;!l&&c<o.length;c++)l=i[o[c]+"Request"+a],u=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!l||!u){var h=0,d=0,f=[],p=1e3/60;l=function(e){if(0===f.length){var t=s(),r=Math.max(0,p-(t-h));h=r+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(h)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return f.push({handle:++d,callback:e,cancelled:!1}),d},u=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return l.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=l,e.cancelAnimationFrame=u}},
vendor: 5,037 bytes, line 1
1"./node_modules/rgbcolor/index.js":function(e){e.exports=function(e){this.ok=!1,this.alpha=1,"#"==e.charAt(0)&&(e=e.substr(1,6));var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=t[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var s=r[n].re,i=r[n].process,o=s.exec(e);if(o){var a=i(o);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r},this.getHelpXML=function(){for(var e=[],n=0;n<r.length;n++)for(var s=r[n].example,i=0;i<s.length;i++)e[e.length]=s[i];for(var o in t)e[e.length]=o;var a=document.createElement("ul");a.setAttribute("id","rgbcolor-examples");for(var n=0;n<e.length;n++)try{var l=document.createElement("li"),u=new RGBColor(e[n]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var h=document.createTextNode(" "+e[n]+" -> "+u.toRGB()+" -> "+u.toHex());l.appendChild(c),l.appendChild(h),a.appendChild(l)}catch(e){}return a}}},
vendor: 6,751 bytes, line 1
1"./node_modules/stackblur-canvas/dist/stackblur-es.js":function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.r(t),r.d(t,{BlurStack:function(){return d},canvasRGB:function(){return c},canvasRGBA:function(){return l},image:function(){return o},imageDataRGB:function(){return h},imageDataRGBA:function(){return u}});var s=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],i=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,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,24,24,24,24,24,24,24,24,24,24];function o(e,t,r,n,s,i){if("string"==typeof e&&(e=document.getElementById(e)),e&&("HTMLImageElement"!==Object.prototype.toString.call(e).slice(8,-1)||"naturalWidth"in e)){var o=s?"offset":"natural",a=e[o+"Width"],u=e[o+"Height"];if("ImageBitmap"===Object.prototype.toString.call(e).slice(8,-1)&&(a=e.width,u=e.height),"string"==typeof t&&(t=document.getElementById(t)),t&&"getContext"in t){i||(t.style.width=a+"px",t.style.height=u+"px"),t.width=a,t.height=u;var h=t.getContext("2d");h.clearRect(0,0,a,u),h.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,a,u),isNaN(r)||r<1||(n?l(t,0,0,a,u,r):c(t,0,0,a,u,r))}}}function a(e,t,r,s,i){if("string"==typeof e&&(e=document.getElementById(e)),!e||"object"!==n(e)||!("getContext"in e))throw TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=e.getContext("2d");try{return o.getImageData(t,r,s,i)}catch(e){throw Error("unable to access image data: "+e)}}function l(e,t,r,n,s,i){if(!isNaN(i)&&!(i<1)){i|=0;var o=a(e,t,r,n,s);o=u(o,t,r,n,s,i),e.getContext("2d").putImageData(o,t,r)}}function u(e,t,r,n,o,a){for(var l,u=e.data,c=2*a+1,h=n-1,f=o-1,p=a+1,m=p*(p+1)/2,g=new d,v=g,y=1;y<c;y++)v=v.next=new d,y===p&&(l=v);v.next=g;for(var b=null,_=null,j=0,w=0,x=s[a],A=i[a],S=0;S<o;S++){v=g;for(var N=u[w],L=u[w+1],k=u[w+2],P=u[w+3],C=0;C<p;C++)v.r=N,v.g=L,v.b=k,v.a=P,v=v.next;for(var E=0,O=0,T=0,I=0,M=p*N,R=p*L,F=p*k,D=p*P,B=m*N,z=m*L,U=m*k,q=m*P,V=1;V<p;V++){var H=w+((h<V?h:V)<<2),W=u[H],G=u[H+1],Y=u[H+2],X=u[H+3],$=p-V;B+=(v.r=W)*$,z+=(v.g=G)*$,U+=(v.b=Y)*$,q+=(v.a=X)*$,E+=W,O+=G,T+=Y,I+=X,v=v.next}b=g,_=l;for(var Z=0;Z<n;Z++){var K=q*x>>>A;if(u[w+3]=K,0!==K){var J=255/K;u[w]=(B*x>>>A)*J,u[w+1]=(z*x>>>A)*J,u[w+2]=(U*x>>>A)*J}else u[w]=u[w+1]=u[w+2]=0;B-=M,z-=R,U-=F,q-=D,M-=b.r,R-=b.g,F-=b.b,D-=b.a;var Q=Z+a+1;Q=j+(Q<h?Q:h)<<2,E+=b.r=u[Q],O+=b.g=u[Q+1],T+=b.b=u[Q+2],I+=b.a=u[Q+3],B+=E,z+=O,U+=T,q+=I,b=b.next;var ee=_,et=ee.r,er=ee.g,en=ee.b,es=ee.a;M+=et,R+=er,F+=en,D+=es,E-=et,O-=er,T-=en,I-=es,_=_.next,w+=4}j+=n}for(var ei=0;ei<n;ei++){var eo=u[w=ei<<2],ea=u[w+1],el=u[w+2],eu=u[w+3],ec=p*eo,eh=p*ea,ed=p*el,ef=p*eu,ep=m*eo,em=m*ea,eg=m*el,ev=m*eu;v=g;for(var ey=0;ey<p;ey++)v.r=eo,v.g=ea,v.b=el,v.a=eu,v=v.next;for(var eb=n,e_=0,ej=0,ew=0,ex=0,eA=1;eA<=a;eA++){w=eb+ei<<2;var eS=p-eA;ep+=(v.r=eo=u[w])*eS,em+=(v.g=ea=u[w+1])*eS,eg+=(v.b=el=u[w+2])*eS,ev+=(v.a=eu=u[w+3])*eS,ex+=eo,e_+=ea,ej+=el,ew+=eu,v=v.next,eA<f&&(eb+=n)}w=ei,b=g,_=l;for(var eN=0;eN<o;eN++){var eL=w<<2;u[eL+3]=eu=ev*x>>>A,eu>0?(eu=255/eu,u[eL]=(ep*x>>>A)*eu,u[eL+1]=(em*x>>>A)*eu,u[eL+2]=(eg*x>>>A)*eu):u[eL]=u[eL+1]=u[eL+2]=0,ep-=ec,em-=eh,eg-=ed,ev-=ef,ec-=b.r,eh-=b.g,ed-=b.b,ef-=b.a,eL=ei+((eL=eN+p)<f?eL:f)*n<<2,ep+=ex+=b.r=u[eL],em+=e_+=b.g=u[eL+1],eg+=ej+=b.b=u[eL+2],ev+=ew+=b.a=u[eL+3],b=b.next,ec+=eo=_.r,eh+=ea=_.g,ed+=el=_.b,ef+=eu=_.a,ex-=eo,e_-=ea,ej-=el,ew-=eu,_=_.next,w+=n}}return e}function c(e,t,r,n,s,i){if(!isNaN(i)&&!(i<1)){i|=0;var o=a(e,t,r,n,s);o=h(o,t,r,n,s,i),e.getContext("2d").putImageData(o,t,r)}}function h(e,t,r,n,o,a){for(var l,u,c,h=e.data,f=2*a+1,p=n-1,m=o-1,g=a+1,v=g*(g+1)/2,y=new d,b=y,_=1;_<f;_++)b=b.next=new d,_===g&&(l=b);b.next=y;for(var j=null,w=null,x=s[a],A=i[a],S=0,N=0,L=0;L<o;L++){var k=h[N],P=h[N+1],C=h[N+2],E=g*k,O=g*P,T=g*C,I=v*k,M=v*P,R=v*C;b=y;for(var F=0;F<g;F++)b.r=k,b.g=P,b.b=C,b=b.next;for(var D=0,B=0,z=0,U=1;U<g;U++)u=N+((p<U?p:U)<<2),I+=(b.r=k=h[u])*(c=g-U),M+=(b.g=P=h[u+1])*c,R+=(b.b=C=h[u+2])*c,D+=k,B+=P,z+=C,b=b.next;j=y,w=l;for(var q=0;q<n;q++)h[N]=I*x>>>A,h[N+1]=M*x>>>A,h[N+2]=R*x>>>A,I-=E,M-=O,R-=T,E-=j.r,O-=j.g,T-=j.b,u=S+((u=q+a+1)<p?u:p)<<2,D+=j.r=h[u],B+=j.g=h[u+1],z+=j.b=h[u+2],I+=D,M+=B,R+=z,j=j.next,E+=k=w.r,O+=P=w.g,T+=C=w.b,D-=k,B-=P,z-=C,w=w.next,N+=4;S+=n}for(var V=0;V<n;V++){var H=h[N=V<<2],W=h[N+1],G=h[N+2],Y=g*H,X=g*W,$=g*G,Z=v*H,K=v*W,J=v*G;b=y;for(var Q=0;Q<g;Q++)b.r=H,b.g=W,b.b=G,b=b.next;for(var ee=0,et=0,er=0,en=1,es=n;en<=a;en++)N=es+V<<2,Z+=(b.r=H=h[N])*(c=g-en),K+=(b.g=W=h[N+1])*c,J+=(b.b=G=h[N+2])*c,ee+=H,et+=W,er+=G,b=b.next,en<m&&(es+=n);N=V,j=y,w=l;for(var ei=0;ei<o;ei++)h[u=N<<2]=Z*x>>>A,h[u+1]=K*x>>>A,h[u+2]=J*x>>>A,Z-=Y,K-=X,J-=$,Y-=j.r,X-=j.g,$-=j.b,u=V+((u=ei+g)<m?u:m)*n<<2,Z+=ee+=j.r=h[u],K+=et+=j.g=h[u+1],J+=er+=j.b=h[u+2],j=j.next,Y+=H=w.r,X+=W=w.g,$+=G=w.b,ee-=H,et-=W,er-=G,w=w.next,N+=n}return e}var d=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},
vendor: 18,230 bytes, line 1
1"./node_modules/svg-pathdata/lib/SVGPathData.module.js":function(e,t,r){"use strict";r.r(t),r.d(t,{COMMAND_ARG_COUNTS:function(){return j},SVGPathData:function(){return _},SVGPathDataParser:function(){return b},SVGPathDataTransformer:function(){return h},encodeSVGPath:function(){return i}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function i(e){var t="";Array.isArray(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=e[r];if(n.type===_.CLOSE_PATH)t+="z";else if(n.type===_.HORIZ_LINE_TO)t+=(n.relative?"h":"H")+n.x;else if(n.type===_.VERT_LINE_TO)t+=(n.relative?"v":"V")+n.y;else if(n.type===_.MOVE_TO)t+=(n.relative?"m":"M")+n.x+" "+n.y;else if(n.type===_.LINE_TO)t+=(n.relative?"l":"L")+n.x+" "+n.y;else if(n.type===_.CURVE_TO)t+=(n.relative?"c":"C")+n.x1+" "+n.y1+" "+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===_.SMOOTH_CURVE_TO)t+=(n.relative?"s":"S")+n.x2+" "+n.y2+" "+n.x+" "+n.y;else if(n.type===_.QUAD_TO)t+=(n.relative?"q":"Q")+n.x1+" "+n.y1+" "+n.x+" "+n.y;else if(n.type===_.SMOOTH_QUAD_TO)t+=(n.relative?"t":"T")+n.x+" "+n.y;else{if(n.type!==_.ARC)throw Error('Unexpected command type "'+n.type+'" at index '+r+".");t+=(n.relative?"a":"A")+n.rX+" "+n.rY+" "+n.xRot+" "+ +n.lArcFlag+" "+ +n.sweepFlag+" "+n.x+" "+n.y}}return t}function o(e,t){var r=e[0],n=e[1];return[r*Math.cos(t)-n*Math.sin(t),r*Math.sin(t)+n*Math.cos(t)]}function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0;r<e.length;r++)if("number"!=typeof e[r])throw Error("assertNumbers arguments["+r+"] is not a number. "+typeof e[r]+" == typeof "+e[r]);return!0}var l=Math.PI;function u(e,t,r){e.lArcFlag=+(0!==e.lArcFlag),e.sweepFlag=+(0!==e.sweepFlag);var n=e.rX,s=e.rY,i=e.x,a=e.y;n=Math.abs(e.rX),s=Math.abs(e.rY);var u=o([(t-i)/2,(r-a)/2],-e.xRot/180*l),c=u[0],h=u[1],d=Math.pow(c,2)/Math.pow(n,2)+Math.pow(h,2)/Math.pow(s,2);1<d&&(n*=Math.sqrt(d),s*=Math.sqrt(d)),e.rX=n,e.rY=s;var f=Math.pow(n,2)*Math.pow(h,2)+Math.pow(s,2)*Math.pow(c,2),p=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(n,2)*Math.pow(s,2)-f)/f)),m=n*h/s*p,g=-s*c/n*p,v=o([m,g],e.xRot/180*l);e.cX=v[0]+(t+i)/2,e.cY=v[1]+(r+a)/2,e.phi1=Math.atan2((h-g)/s,(c-m)/n),e.phi2=Math.atan2((-h-g)/s,(-c-m)/n),0===e.sweepFlag&&e.phi2>e.phi1&&(e.phi2-=2*l),1===e.sweepFlag&&e.phi2<e.phi1&&(e.phi2+=2*l),e.phi1*=180/l,e.phi2*=180/l}function c(e,t,r){a(e,t,r);var n=e*e+t*t-r*r;if(0>n)return[];if(0===n)return[[e*r/(e*e+t*t),t*r/(e*e+t*t)]];var s=Math.sqrt(n);return[[(e*r+t*s)/(e*e+t*t),(t*r-e*s)/(e*e+t*t)],[(e*r-t*s)/(e*e+t*t),(t*r+e*s)/(e*e+t*t)]]}var h,d=Math.PI/180;function f(e,t,r,n){return e+Math.cos(n/180*l)*t+Math.sin(n/180*l)*r}function p(e,t,r,n){var s=t-e,i=r-t,o=3*s+3*(n-r)-6*i,a=6*(i-s),l=3*s;return 1e-6>Math.abs(o)?[-l/a]:function(e,t,r){void 0===r&&(r=1e-6);var n=e*e/4-t;if(n<-r)return[];if(n<=r)return[-e/2];var s=Math.sqrt(n);return[-e/2-s,-e/2+s]}(a/o,l/o,1e-6)}function m(e,t,r,n,s){var i=1-s;return i*i*i*e+3*i*i*s*t+3*i*s*s*r+s*s*s*n}!function(e){function t(){return s(function(e,t,r){return e.relative&&(void 0!==e.x1&&(e.x1+=t),void 0!==e.y1&&(e.y1+=r),void 0!==e.x2&&(e.x2+=t),void 0!==e.y2&&(e.y2+=r),void 0!==e.x&&(e.x+=t),void 0!==e.y&&(e.y+=r),e.relative=!1),e})}function r(){var e=NaN,t=NaN,r=NaN,n=NaN;return s(function(s,i,o){return s.type&_.SMOOTH_CURVE_TO&&(s.type=_.CURVE_TO,e=isNaN(e)?i:e,t=isNaN(t)?o:t,s.x1=s.relative?i-e:2*i-e,s.y1=s.relative?o-t:2*o-t),s.type&_.CURVE_TO?(e=s.relative?i+s.x2:s.x2,t=s.relative?o+s.y2:s.y2):(e=NaN,t=NaN),s.type&_.SMOOTH_QUAD_TO&&(s.type=_.QUAD_TO,r=isNaN(r)?i:r,n=isNaN(n)?o:n,s.x1=s.relative?i-r:2*i-r,s.y1=s.relative?o-n:2*o-n),s.type&_.QUAD_TO?(r=s.relative?i+s.x1:s.x1,n=s.relative?o+s.y1:s.y1):(r=NaN,n=NaN),s})}function n(){var e=NaN,t=NaN;return s(function(r,n,s){if(r.type&_.SMOOTH_QUAD_TO&&(r.type=_.QUAD_TO,e=isNaN(e)?n:e,t=isNaN(t)?s:t,r.x1=r.relative?n-e:2*n-e,r.y1=r.relative?s-t:2*s-t),r.type&_.QUAD_TO){e=r.relative?n+r.x1:r.x1,t=r.relative?s+r.y1:r.y1;var i=r.x1,o=r.y1;r.type=_.CURVE_TO,r.x1=((r.relative?0:n)+2*i)/3,r.y1=((r.relative?0:s)+2*o)/3,r.x2=(r.x+2*i)/3,r.y2=(r.y+2*o)/3}else e=NaN,t=NaN;return r})}function s(e){var t=0,r=0,n=NaN,s=NaN;return function(i){if(isNaN(n)&&!(i.type&_.MOVE_TO))throw Error("path must start with moveto");var o=e(i,t,r,n,s);return i.type&_.CLOSE_PATH&&(t=n,r=s),void 0!==i.x&&(t=i.relative?t+i.x:i.x),void 0!==i.y&&(r=i.relative?r+i.y:i.y),i.type&_.MOVE_TO&&(n=t,s=r),o}}function i(e,t,r,n,i,o){return a(e,t,r,n,i,o),s(function(s,a,l,u){var c=s.x1,h=s.x2,d=s.relative&&!isNaN(u),f=void 0!==s.x?s.x:d?0:a,p=void 0!==s.y?s.y:d?0:l;s.type&_.HORIZ_LINE_TO&&0!==t&&(s.type=_.LINE_TO,s.y=s.relative?0:l),s.type&_.VERT_LINE_TO&&0!==r&&(s.type=_.LINE_TO,s.x=s.relative?0:a),void 0!==s.x&&(s.x=s.x*e+p*r+(d?0:i)),void 0!==s.y&&(s.y=f*t+s.y*n+(d?0:o)),void 0!==s.x1&&(s.x1=s.x1*e+s.y1*r+(d?0:i)),void 0!==s.y1&&(s.y1=c*t+s.y1*n+(d?0:o)),void 0!==s.x2&&(s.x2=s.x2*e+s.y2*r+(d?0:i)),void 0!==s.y2&&(s.y2=h*t+s.y2*n+(d?0:o));var m=e*n-t*r;if(void 0!==s.xRot&&(1!==e||0!==t||0!==r||1!==n))if(0===m)delete s.rX,delete s.rY,delete s.xRot,delete s.lArcFlag,delete s.sweepFlag,s.type=_.LINE_TO;else{var g,v,y=s.xRot*Math.PI/180,b=Math.sin(y),j=Math.cos(y),w=1/((g=s.rX)*g),x=1/((v=s.rY)*v),A=j*j*w+b*b*x,S=2*b*j*(w-x),N=b*b*w+j*j*x,L=A*n*n-S*t*n+N*t*t,k=S*(e*n+t*r)-2*(A*r*n+N*e*t),P=A*r*r-S*e*r+N*e*e,C=(Math.atan2(k,L-P)+Math.PI)%Math.PI/2,E=Math.sin(C),O=Math.cos(C);s.rX=Math.abs(m)/Math.sqrt(O*O*L+k*E*O+E*E*P),s.rY=Math.abs(m)/Math.sqrt(E*E*L-k*E*O+O*O*P),s.xRot=180*C/Math.PI}return void 0!==s.sweepFlag&&0>m&&(s.sweepFlag=+!s.sweepFlag),s})}e.ROUND=function(e){function t(t){return Math.round(t*e)/e}return void 0===e&&(e=1e13),a(e),function(e){return void 0!==e.x1&&(e.x1=t(e.x1)),void 0!==e.y1&&(e.y1=t(e.y1)),void 0!==e.x2&&(e.x2=t(e.x2)),void 0!==e.y2&&(e.y2=t(e.y2)),void 0!==e.x&&(e.x=t(e.x)),void 0!==e.y&&(e.y=t(e.y)),void 0!==e.rX&&(e.rX=t(e.rX)),void 0!==e.rY&&(e.rY=t(e.rY)),e}},e.TO_ABS=t,e.TO_REL=function(){return s(function(e,t,r){return e.relative||(void 0!==e.x1&&(e.x1-=t),void 0!==e.y1&&(e.y1-=r),void 0!==e.x2&&(e.x2-=t),void 0!==e.y2&&(e.y2-=r),void 0!==e.x&&(e.x-=t),void 0!==e.y&&(e.y-=r),e.relative=!0),e})},e.NORMALIZE_HVZ=function(e,t,r){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),s(function(n,s,i,o,a){if(isNaN(o)&&!(n.type&_.MOVE_TO))throw Error("path must start with moveto");return t&&n.type&_.HORIZ_LINE_TO&&(n.type=_.LINE_TO,n.y=n.relative?0:i),r&&n.type&_.VERT_LINE_TO&&(n.type=_.LINE_TO,n.x=n.relative?0:s),e&&n.type&_.CLOSE_PATH&&(n.type=_.LINE_TO,n.x=n.relative?o-s:o,n.y=n.relative?a-i:a),n.type&_.ARC&&(0===n.rX||0===n.rY)&&(n.type=_.LINE_TO,delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag),n})},e.NORMALIZE_ST=r,e.QT_TO_C=n,e.INFO=s,e.SANITIZE=function(e){void 0===e&&(e=0),a(e);var t=NaN,r=NaN,n=NaN,i=NaN;return s(function(s,o,a,l,u){var c=Math.abs,h=!1,d=0,f=0;if(s.type&_.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:o-t,f=isNaN(r)?0:a-r),s.type&(_.CURVE_TO|_.SMOOTH_CURVE_TO)?(t=s.relative?o+s.x2:s.x2,r=s.relative?a+s.y2:s.y2):(t=NaN,r=NaN),s.type&_.SMOOTH_QUAD_TO?(n=isNaN(n)?o:2*o-n,i=isNaN(i)?a:2*a-i):s.type&_.QUAD_TO?(n=s.relative?o+s.x1:s.x1,i=s.relative?a+s.y1:s.y2):(n=NaN,i=NaN),s.type&_.LINE_COMMANDS||s.type&_.ARC&&(0===s.rX||0===s.rY||!s.lArcFlag)||s.type&_.CURVE_TO||s.type&_.SMOOTH_CURVE_TO||s.type&_.QUAD_TO||s.type&_.SMOOTH_QUAD_TO){var p=void 0===s.x?0:s.relative?s.x:s.x-o,m=void 0===s.y?0:s.relative?s.y:s.y-a;d=isNaN(n)?void 0===s.x1?d:s.relative?s.x:s.x1-o:n-o,f=isNaN(i)?void 0===s.y1?f:s.relative?s.y:s.y1-a:i-a;var g=void 0===s.x2?0:s.relative?s.x:s.x2-o,v=void 0===s.y2?0:s.relative?s.y:s.y2-a;c(p)<=e&&c(m)<=e&&c(d)<=e&&c(f)<=e&&c(g)<=e&&c(v)<=e&&(h=!0)}return s.type&_.CLOSE_PATH&&c(o-l)<=e&&c(a-u)<=e&&(h=!0),h?[]:s})},e.MATRIX=i,e.ROTATE=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0),a(e,t,r);var n=Math.sin(e),s=Math.cos(e);return i(s,n,-n,s,t-t*s+r*n,r-t*n-r*s)},e.TRANSLATE=function(e,t){return void 0===t&&(t=0),a(e,t),i(1,0,0,1,e,t)},e.SCALE=function(e,t){return void 0===t&&(t=e),a(e,t),i(e,0,0,t,0,0)},e.SKEW_X=function(e){return a(e),i(1,0,Math.atan(e),1,0,0)},e.SKEW_Y=function(e){return a(e),i(1,Math.atan(e),0,1,0,0)},e.X_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),a(e),i(-1,0,0,1,e,0)},e.Y_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),a(e),i(1,0,0,-1,0,e)},e.A_TO_C=function(){return s(function(e,t,r){return _.ARC===e.type?function(e,t,r){var n,s,i,a;e.cX||u(e,t,r);for(var l=Math.min(e.phi1,e.phi2),c=Math.max(e.phi1,e.phi2)-l,h=Math.ceil(c/90),f=Array(h),p=t,m=r,g=0;g<h;g++){var v,y,b,j,w,x,A=(v=e.phi1,y=e.phi2,(1-(b=g/h))*v+b*y),S=(j=e.phi1,w=e.phi2,(1-(x=(g+1)/h))*j+x*w),N=4/3*Math.tan((S-A)*d/4),L=[Math.cos(A*d)-N*Math.sin(A*d),Math.sin(A*d)+N*Math.cos(A*d)],k=L[0],P=L[1],C=[Math.cos(S*d),Math.sin(S*d)],E=C[0],O=C[1],T=[E+N*Math.sin(S*d),O-N*Math.cos(S*d)],I=T[0],M=T[1];f[g]={relative:e.relative,type:_.CURVE_TO};var R=function(t,r){var n=o([t*e.rX,r*e.rY],e.xRot),s=n[0],i=n[1];return[e.cX+s,e.cY+i]};n=R(k,P),f[g].x1=n[0],f[g].y1=n[1],s=R(I,M),f[g].x2=s[0],f[g].y2=s[1],i=R(E,O),f[g].x=i[0],f[g].y=i[1],e.relative&&(f[g].x1-=p,f[g].y1-=m,f[g].x2-=p,f[g].y2-=m,f[g].x-=p,f[g].y-=m),p=(a=[f[g].x,f[g].y])[0],m=a[1]}return f}(e,e.relative?0:t,e.relative?0:r):e})},e.ANNOTATE_ARCS=function(){return s(function(e,t,r){return e.relative&&(t=0,r=0),_.ARC===e.type&&u(e,t,r),e})},e.CLONE=function(){return function(e){var t={};for(var r in e)t[r]=e[r];return t}},e.CALCULATE_BOUNDS=function(){var e=function(e){var t={};for(var r in e)t[r]=e[r];return t},i=t(),o=n(),a=r(),l=s(function(t,r,n){var s=a(o(i(e(t))));function h(e){e>l.maxX&&(l.maxX=e),e<l.minX&&(l.minX=e)}function d(e){e>l.maxY&&(l.maxY=e),e<l.minY&&(l.minY=e)}if(s.type&_.DRAWING_COMMANDS&&(h(r),d(n)),s.type&_.HORIZ_LINE_TO&&h(s.x),s.type&_.VERT_LINE_TO&&d(s.y),s.type&_.LINE_TO&&(h(s.x),d(s.y)),s.type&_.CURVE_TO){h(s.x),d(s.y);for(var g=0,v=p(r,s.x1,s.x2,s.x);g<v.length;g++)0<(j=v[g])&&1>j&&h(m(r,s.x1,s.x2,s.x,j));for(var y=0,b=p(n,s.y1,s.y2,s.y);y<b.length;y++)0<(j=b[y])&&1>j&&d(m(n,s.y1,s.y2,s.y,j))}if(s.type&_.ARC){h(s.x),d(s.y),u(s,r,n);for(var j,w=s.xRot/180*Math.PI,x=Math.cos(w)*s.rX,A=Math.sin(w)*s.rX,S=-Math.sin(w)*s.rY,N=Math.cos(w)*s.rY,L=s.phi1<s.phi2?[s.phi1,s.phi2]:-180>s.phi2?[s.phi2+360,s.phi1+360]:[s.phi2,s.phi1],k=L[0],P=L[1],C=function(e){var t=e[0],r=180*Math.atan2(e[1],t)/Math.PI;return r<k?r+360:r},E=0,O=c(S,-x,0).map(C);E<O.length;E++)(j=O[E])>k&&j<P&&h(f(s.cX,x,S,j));for(var T=0,I=c(N,-A,0).map(C);T<I.length;T++)(j=I[T])>k&&j<P&&d(f(s.cY,A,N,j))}return t});return l.minX=1/0,l.maxX=-1/0,l.minY=1/0,l.maxY=-1/0,l}}(h||(h={}));var g,v=function(){function e(){}return e.prototype.round=function(e){return this.transform(h.ROUND(e))},e.prototype.toAbs=function(){return this.transform(h.TO_ABS())},e.prototype.toRel=function(){return this.transform(h.TO_REL())},e.prototype.normalizeHVZ=function(e,t,r){return this.transform(h.NORMALIZE_HVZ(e,t,r))},e.prototype.normalizeST=function(){return this.transform(h.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(h.QT_TO_C())},e.prototype.aToC=function(){return this.transform(h.A_TO_C())},e.prototype.sanitize=function(e){return this.transform(h.SANITIZE(e))},e.prototype.translate=function(e,t){return this.transform(h.TRANSLATE(e,t))},e.prototype.scale=function(e,t){return this.transform(h.SCALE(e,t))},e.prototype.rotate=function(e,t,r){return this.transform(h.ROTATE(e,t,r))},e.prototype.matrix=function(e,t,r,n,s,i){return this.transform(h.MATRIX(e,t,r,n,s,i))},e.prototype.skewX=function(e){return this.transform(h.SKEW_X(e))},e.prototype.skewY=function(e){return this.transform(h.SKEW_Y(e))},e.prototype.xSymmetry=function(e){return this.transform(h.X_AXIS_SYMMETRY(e))},e.prototype.ySymmetry=function(e){return this.transform(h.Y_AXIS_SYMMETRY(e))},e.prototype.annotateArcs=function(){return this.transform(h.ANNOTATE_ARCS())},e}(),y=function(e){return 48<=e.charCodeAt(0)&&57>=e.charCodeAt(0)},b=function(e){function t(){var t=e.call(this)||this;return t.curNumber="",t.curCommandType=-1,t.curCommandRelative=!1,t.canParseCommandOrComma=!0,t.curNumberHasExp=!1,t.curNumberHasExpDigits=!1,t.curNumberHasDecimal=!1,t.curArgs=[],t}return s(t,e),t.prototype.finish=function(e){if(void 0===e&&(e=[]),this.parse(" ",e),0!==this.curArgs.length||!this.canParseCommandOrComma)throw SyntaxError("Unterminated command at the path end.");return e},t.prototype.parse=function(e,t){var r=this;void 0===t&&(t=[]);for(var n=function(e){t.push(e),r.curArgs.length=0,r.canParseCommandOrComma=!0},s=0;s<e.length;s++){var i=e[s],o=this.curCommandType===_.ARC&&(3===this.curArgs.length||4===this.curArgs.length)&&1===this.curNumber.length&&("0"===this.curNumber||"1"===this.curNumber),a=y(i)&&("0"===this.curNumber&&"0"===i||o);if(!y(i)||a)if("e"!==i&&"E"!==i)if("-"!==i&&"+"!==i||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==i||this.curNumberHasExp||this.curNumberHasDecimal||o){if(this.curNumber&&-1!==this.curCommandType){var l=Number(this.curNumber);if(isNaN(l))throw SyntaxError("Invalid number ending at "+s);if(this.curCommandType===_.ARC){if(0===this.curArgs.length||1===this.curArgs.length){if(0>l)throw SyntaxError('Expected positive number, got "'+l+'" at index "'+s+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+s+'"')}this.curArgs.push(l),this.curArgs.length===j[this.curCommandType]&&(_.HORIZ_LINE_TO===this.curCommandType?n({type:_.HORIZ_LINE_TO,relative:this.curCommandRelative,x:l}):_.VERT_LINE_TO===this.curCommandType?n({type:_.VERT_LINE_TO,relative:this.curCommandRelative,y:l}):this.curCommandType===_.MOVE_TO||this.curCommandType===_.LINE_TO||this.curCommandType===_.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),_.MOVE_TO===this.curCommandType&&(this.curCommandType=_.LINE_TO)):this.curCommandType===_.CURVE_TO?n({type:_.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===_.SMOOTH_CURVE_TO?n({type:_.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.QUAD_TO?n({type:_.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.ARC&&n({type:_.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(" "!==i&&" "!==i&&"\r"!==i&&"\n"!==i)if(","===i&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==i&&"-"!==i&&"."!==i)if(a)this.curNumber=i,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw SyntaxError("Unterminated command at index "+s+".");if(!this.canParseCommandOrComma)throw SyntaxError('Unexpected character "'+i+'" at index '+s+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==i&&"Z"!==i)if("h"===i||"H"===i)this.curCommandType=_.HORIZ_LINE_TO,this.curCommandRelative="h"===i;else if("v"===i||"V"===i)this.curCommandType=_.VERT_LINE_TO,this.curCommandRelative="v"===i;else if("m"===i||"M"===i)this.curCommandType=_.MOVE_TO,this.curCommandRelative="m"===i;else if("l"===i||"L"===i)this.curCommandType=_.LINE_TO,this.curCommandRelative="l"===i;else if("c"===i||"C"===i)this.curCommandType=_.CURVE_TO,this.curCommandRelative="c"===i;else if("s"===i||"S"===i)this.curCommandType=_.SMOOTH_CURVE_TO,this.curCommandRelative="s"===i;else if("q"===i||"Q"===i)this.curCommandType=_.QUAD_TO,this.curCommandRelative="q"===i;else if("t"===i||"T"===i)this.curCommandType=_.SMOOTH_QUAD_TO,this.curCommandRelative="t"===i;else{if("a"!==i&&"A"!==i)throw SyntaxError('Unexpected character "'+i+'" at index '+s+".");this.curCommandType=_.ARC,this.curCommandRelative="a"===i}else t.push({type:_.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=i,this.curNumberHasDecimal="."===i}else this.curNumber+=i,this.curNumberHasDecimal=!0;else this.curNumber+=i;else this.curNumber+=i,this.curNumberHasExp=!0;else this.curNumber+=i,this.curNumberHasExpDigits=this.curNumberHasExp}return t},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(t,r){void 0===r&&(r=[]);for(var n=0,s=Object.getPrototypeOf(this).parse.call(this,t);n<s.length;n++){var i=e(s[n]);Array.isArray(i)?r.push.apply(r,i):r.push(i)}return r}}})},t}(v),_=function(e){function t(r){var n=e.call(this)||this;return n.commands="string"==typeof r?t.parse(r):r,n}return s(t,e),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var e=h.CALCULATE_BOUNDS();return this.transform(e),e},t.prototype.transform=function(e){for(var t=[],r=0,n=this.commands;r<n.length;r++){var s=e(n[r]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return this.commands=t,this},t.encode=function(e){return i(e)},t.parse=function(e){var t=new b,r=[];return t.parse(e,r),t.finish(r),r},t.CLOSE_PATH=1,t.MOVE_TO=2,t.HORIZ_LINE_TO=4,t.VERT_LINE_TO=8,t.LINE_TO=16,t.CURVE_TO=32,t.SMOOTH_CURVE_TO=64,t.QUAD_TO=128,t.SMOOTH_QUAD_TO=256,t.ARC=512,t.LINE_COMMANDS=t.LINE_TO|t.HORIZ_LINE_TO|t.VERT_LINE_TO,t.DRAWING_COMMANDS=t.HORIZ_LINE_TO|t.VERT_LINE_TO|t.LINE_TO|t.CURVE_TO|t.SMOOTH_CURVE_TO|t.QUAD_TO|t.SMOOTH_QUAD_TO|t.ARC,t}(v),j=((g={})[_.MOVE_TO]=2,g[_.LINE_TO]=2,g[_.HORIZ_LINE_TO]=1,g[_.VERT_LINE_TO]=1,g[_.CLOSE_PATH]=0,g[_.QUAD_TO]=4,g[_.SMOOTH_QUAD_TO]=2,g[_.CURVE_TO]=6,g[_.SMOOTH_CURVE_TO]=4,g[_.ARC]=7,g)},
vendor: 1,461 bytes, line 1
1"./src/plugin/hyperlinks.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.string.link.js"),r("./node_modules/core-js/modules/esnext.iterator.constructor.js"),r("./node_modules/core-js/modules/esnext.iterator.for-each.js"),r("./node_modules/core-js/modules/web.dom-collections.for-each.js");var n=r("./src/worker.js"),s=r("./src/utils.js"),i=[],o={toContainer:n.default.prototype.toContainer,toPdf:n.default.prototype.toPdf};n.default.prototype.toContainer=function(){return o.toContainer.call(this).then(function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),r=(0,s.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);i=[],Array.prototype.forEach.call(t,function(e){for(var t=e.getClientRects(),n=0;n<t.length;n++){var o=(0,s.unitConvert)(t[n],this.prop.pageSize.k);o.left-=r.left,o.top-=r.top;var a=Math.floor(o.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+o.top%this.prop.pageSize.inner.height,u=this.opt.margin[1]+o.left;i.push({page:a,top:l,left:u,clientRect:o,link:e})}},this)}})},n.default.prototype.toPdf=function(){return o.toPdf.call(this).then(function(){if(this.opt.enableLinks){i.forEach(function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})},this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}})}},
1"./src/plugin/jspdf-plugin.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.symbol.js"),r("./node_modules/core-js/modules/es.symbol.description.js"),r("./node_modules/core-js/modules/es.symbol.iterator.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js");var n=r("./node_modules/jspdf/dist/jspdf.es.min.js");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.jsPDF.getPageSize=function(e,t,r){if("object"===s(e)){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var i=(""+r).toLowerCase(),o={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],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var a=1;break;case"mm":var a=72/25.4;break;case"cm":var a=72/2.54;break;case"in":var a=72;break;case"px":var a=.75;break;case"pc":case"em":var a=12;break;case"ex":var a=6;break;default:throw"Invalid unit: "+t}if(o.hasOwnProperty(i))var l=o[i][1]/a,u=o[i][0]/a;else try{var l=r[1],u=r[0]}catch(e){throw Error("Invalid format: "+r)}if("p"===e||"portrait"===e){if(e="p",u>l){var c=u;u=l,l=c}}else if("l"===e||"landscape"===e){if(e="l",l>u){var c=u;u=l,l=c}}else throw"Invalid orientation: "+e;return{width:u,height:l,unit:t,k:a}},t.default=n.jsPDF},
vendor: 2,253 bytes, line 1
1"./src/plugin/pagebreaks.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.array.concat.js"),r("./node_modules/core-js/modules/es.array.join.js"),r("./node_modules/core-js/modules/es.array.slice.js"),r("./node_modules/core-js/modules/es.object.keys.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/esnext.iterator.constructor.js"),r("./node_modules/core-js/modules/esnext.iterator.for-each.js"),r("./node_modules/core-js/modules/web.dom-collections.for-each.js");var n=r("./src/worker.js"),s=r("./src/utils.js"),i={toContainer:n.default.prototype.toContainer};n.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},n.default.prototype.toContainer=function(){return i.toContainer.call(this).then(function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,r=[].concat(this.opt.pagebreak.mode),n={avoidAll:-1!==r.indexOf("avoid-all"),css:-1!==r.indexOf("css"),legacy:-1!==r.indexOf("legacy")},i={},o=this;["before","after","avoid"].forEach(function(t){var r=n.avoidAll&&"avoid"===t;i[t]=r?[]:[].concat(o.opt.pagebreak[t]||[]),i[t].length>0&&(i[t]=Array.prototype.slice.call(e.querySelectorAll(i[t].join(", "))))});var a=e.querySelectorAll(".html2pdf__page-break");a=Array.prototype.slice.call(a);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,function(e){var r={before:!1,after:n.legacy&&-1!==a.indexOf(e),avoid:n.avoidAll};if(n.css){var o=window.getComputedStyle(e),l=["always","page","left","right"];r={before:r.before||-1!==l.indexOf(o.breakBefore||o.pageBreakBefore),after:r.after||-1!==l.indexOf(o.breakAfter||o.pageBreakAfter),avoid:r.avoid||-1!==["avoid","avoid-page"].indexOf(o.breakInside||o.pageBreakInside)}}Object.keys(r).forEach(function(t){r[t]=r[t]||-1!==i[t].indexOf(e)});var u=e.getBoundingClientRect();if(r.avoid&&!r.before){var c=Math.floor(u.top/t),h=Math.floor(u.bottom/t),d=Math.abs(u.bottom-u.top)/t;h!==c&&d<=1&&(r.before=!0)}if(r.before){var f=(0,s.createElement)("div",{style:{display:"block",height:t-u.top%t+"px"}});e.parentNode.insertBefore(f,e)}if(r.after){var f=(0,s.createElement)("div",{style:{display:"block",height:t-u.bottom%t+"px"}});e.parentNode.insertBefore(f,e.nextSibling)}})})}},
1"./src/snapdom/clone.js":function(e,t,r){"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.r(t),r.d(t,{deepCloneBasic:function(){return function e(t){if(!t)throw Error("Invalid node");var r=new Set,s=null;if(t.nodeType===Node.TEXT_NODE||t.nodeType!==Node.ELEMENT_NODE)return t.cloneNode(!0);if("IFRAME"===t.tagName){var i=document.createElement("div");return i.style.cssText="width:".concat(t.offsetWidth,"px;height:").concat(t.offsetHeight,"px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;"),i}if("CANVAS"===t.tagName){var o=t.toDataURL(),a=document.createElement("img");return a.src=o,a.width=t.width,a.height=t.height,a}try{u=t.cloneNode(!1),"IMG"===t.tagName&&function(e,t){try{var r=e.currentSrc||e.src||"";if(!r)return;t.setAttribute("src",r),t.removeAttribute("srcset"),t.removeAttribute("sizes"),t.loading="eager",t.decoding="sync"}catch(e){}}(t,u)}catch(e){throw console.error("[Snapdom] Failed to clone node:",t,e),e}if(t instanceof HTMLTextAreaElement){u.textContent=t.value,u.value=t.value;var l=t.getBoundingClientRect();return u.style.boxSizing="border-box",u.style.width="".concat(l.width,"px"),u.style.height="".concat(l.height,"px"),u}if(t instanceof HTMLInputElement&&(t.hasAttribute("value")&&(u.value=t.value,u.setAttribute("value",t.value)),void 0!==t.checked&&(u.checked=t.checked,t.checked&&u.setAttribute("checked",""),t.indeterminate&&(u.indeterminate=t.indeterminate))),t instanceof HTMLSelectElement&&(s=t.value),t.shadowRoot)if(Array.from(t.shadowRoot.querySelectorAll("slot")).length>0);else{var u,c,h=document.createDocumentFragment(),d=n(t.shadowRoot.childNodes);try{for(d.s();!(c=d.n()).done;){var f=c.value;if(f.nodeType!==Node.ELEMENT_NODE||"STYLE"!==f.tagName){var p=e(f);p&&h.appendChild(p)}}}catch(e){d.e(e)}finally{d.f()}u.appendChild(h)}if("SLOT"===t.tagName){var m,g,v=(null==(m=t.assignedNodes)?void 0:m.call(t,{flatten:!0}))||[],y=v.length>0?v:Array.from(t.childNodes),b=document.createDocumentFragment(),_=n(y);try{for(_.s();!(g=_.n()).done;){var j=g.value,w=e(j);w&&b.appendChild(w)}}catch(e){_.e(e)}finally{_.f()}return b}var x,A=n(t.childNodes);try{for(A.s();!(x=A.n()).done;){var S=x.value;if(!r.has(S)){var N=e(S);N&&u.appendChild(N)}}}catch(e){A.e(e)}finally{A.f()}if(null!==s&&u instanceof HTMLSelectElement){u.value=s;var L,k=n(u.options);try{for(k.s();!(L=k.n()).done;){var P=L.value;P.value===s?P.setAttribute("selected",""):P.removeAttribute("selected")}}catch(e){k.e(e)}finally{k.f()}}var C=t.scrollLeft,E=t.scrollTop;if((C||E)&&u instanceof HTMLElement){u.style.overflow="hidden",u.style.scrollbarWidth="none",u.style.msOverflowStyle="none";var O=document.createElement("div");for(O.style.transform="translate(".concat(-C,"px, ").concat(-E,"px)"),O.style.willChange="transform",O.style.display="inline-block",O.style.width="100%";u.firstChild;)O.appendChild(u.firstChild);u.appendChild(O)}return u}}}),r("./node_modules/core-js/modules/es.symbol.js"),r("./node_modules/core-js/modules/es.symbol.description.js"),r("./node_modules/core-js/modules/es.symbol.iterator.js"),r("./node_modules/core-js/modules/es.array.
1concat.js"),r("./node_modules/core-js/modules/es.array.from.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/es.array.slice.js"),r("./node_modules/core-js/modules/es.function.name.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.regexp.exec.js"),r("./node_modules/core-js/modules/es.regexp.test.js"),r("./node_modules/core-js/modules/es.regexp.to-string.js"),r("./node_modules/core-js/modules/es.set.js"),r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/esnext.set.add-all.js"),r("./node_modules/core-js/modules/esnext.set.delete-all.js"),r("./node_modules/core-js/modules/esnext.set.difference.js"),r("./node_modules/core-js/modules/esnext.set.every.js"),r("./node_modules/core-js/modules/esnext.set.filter.js"),r("./node_modules/core-js/modules/esnext.set.find.js"),r("./node_modules/core-js/modules/esnext.set.intersection.js"),r("./node_modules/core-js/modules/esnext.set.is-disjoint-from.js"),r("./node_modules/core-js/modules/esnext.set.is-subset-of.js"),r("./node_modules/core-js/modules/esnext.set.is-superset-of.js"),r("./node_modules/core-js/modules/esnext.set.join.js"),r("./node_modules/core-js/modules/esnext.set.map.js"),r("./node_modules/core-js/modules/esnext.set.reduce.js"),r("./node_modules/core-js/modules/esnext.set.some.js"),r("./node_modules/core-js/modules/esnext.set.symmetric-difference.js"),r("./node_modules/core-js/modules/esnext.set.union.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js")},
1"./src/utils.js":function(e,t,r){"use strict";r.r(t),r.d(t,{createElement:function(){return o},objType:function(){return i},toPx:function(){return l},unitConvert:function(){return a}}),r("./node_modules/core-js/modules/es.symbol.js"),r("./node_modules/core-js/modules/es.symbol.description.js"),r("./node_modules/core-js/modules/es.symbol.iterator.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/es.number.constructor.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js");var n=r("./node_modules/dompurify/dist/purify.es.mjs");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=function(e){var t=s(e);if("undefined"===t)return"undefined";if("string"===t||e instanceof String)return"string";if("number"===t||e instanceof Number)return"number";if("function"===t||e instanceof Function)return"function";if(e&&e.constructor===Array)return"array";else if(e&&1===e.nodeType)return"element";else if("object"===t)return"object";else return"unknown"},o=function(e,t){var r=document.createElement(e);for(var s in t.className&&(r.className=t.className),t.innerHTML&&(r.innerHTML=n.default.sanitize(t.innerHTML)),t.style)r.style[s]=t.style[s];return r},a=function(e,t){if("number"===i(e))return 72*e/96/t;var r={};for(var n in e)r[n]=72*e[n]/96/t;return r},l=function(e,t){return Math.floor(e*t/72*96)}},
vendor: 4,974 bytes, line 1
1"./src/worker.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.array.concat.js"),r("./node_modules/core-js/modules/es.array.map.js"),r("./node_modules/core-js/modules/es.function.name.js"),r("./node_modules/core-js/modules/es.json.stringify.js"),r("./node_modules/core-js/modules/es.object.assign.js"),r("./node_modules/core-js/modules/es.object.keys.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.promise.js"),r("./node_modules/core-js/modules/es.regexp.to-string.js"),r("./node_modules/core-js/modules/esnext.iterator.constructor.js"),r("./node_modules/core-js/modules/esnext.iterator.for-each.js"),r("./node_modules/core-js/modules/esnext.iterator.map.js"),r("./node_modules/core-js/modules/web.dom-collections.for-each.js"),r("./node_modules/core-js/modules/web.timers.js");var n=r("./node_modules/jspdf/dist/jspdf.es.min.js"),s=r("html2canvas"),i=r.n(s),o=r("./src/snapdom/clone.js"),a=r("./src/utils.js"),l=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};l.prototype=Object.create(Promise.prototype),l.prototype.constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},l.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch((0,a.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:(0,a.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var r=(0,o.deepCloneBasic)(this.prop.src);return this.prop.overlay=(0,a.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,a.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(r),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),new Promise(function(e){return setTimeout(e,10)})})},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,i()(this.prop.container,e)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},l.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e=this.prop.canvas,t=this.opt,r=e.height,s=Math.floor(e.width*this.prop.pageSize.inner.ratio),i=Math.ceil(r/s),o=this.prop.pageSize.inner.height,a=document.createElement("canvas"),l=a.getContext("2d");a.width=e.width,a.height=s,this.prop.pdf=this.prop.pdf||new n.jsPDF(t.jsPDF);for(var u=0;u<i;u++){u===i-1&&r%s!=0&&(a.height=r%s,o=a.height*this.prop.pageSize.inner.width/a.width);var c=a.width,h=a.height;l.fillStyle="white",l.fillRect(0,0,c,h),l.drawImage(e,0,u*s,c,h,0,0,c,h),u&&this.prop.pdf.addPage();var d=a.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(d,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,o)}})},l.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf(
vendor: 3,495 bytes, line 1
1)}]).then(function(){return this.prop.pdf.output(e,t)})},l.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},l.prototype.set=function(e){if("object"!==(0,a.objType)(e))return this;var t=Object.keys(e||{}).map(function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:if(t in l.template.prop)return function(){this.prop[t]=e[t]};return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},l.prototype.get=function(e,t){return this.then(function(){var r=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(r):r})},l.prototype.setMargin=function(e){return this.then(function(){switch((0,a.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},l.prototype.setPageSize=function(e){return this.then(function(){(e=e||n.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,a.toPx)(e.inner.width,e.k),height:(0,a.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},l.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},l.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return r.updateProgress(null,e),t}).then(e,t).then(function(e){return r.updateProgress(1),e})})},l.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:l.convert(Object.assign({},this),Promise.prototype),s=r.call(n,e,t);return l.convert(s,this.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then(function(){throw Error(e)})},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,t.default=l}
1,html2canvas:function(e){"use strict";e.exports=n}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;if(void 0===i[e]){var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var s=Object.create(null);a.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&r;("object"==typeof o||"function"==typeof o)&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach(function(e){i[e]=function(){return r[e]}});return i.default=function(){return r},a.d(s,i),s},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return!function(){"use strict";a.r(l);var e=a("./src/worker.js");a("./src/plugin/jspdf-plugin.js"),a("./src/plugin/pagebreaks.js"),a("./src/plugin/hyperlinks.js");var t=function e(t,r){var n=new e.Worker(r);return t?n.from(t).save():n};t.Worker=e.default,l.default=t}(),l=l.default}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.