function_typeof(en){return(_typeof="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(en){returntypeofen}:function(en){returnen&&"function"==typeofSymbol&&en.constructor===Symbol&&en!==Symbol.prototype?"symbol":typeofen})(en)}functionasyncGeneratorStep(en,tn,nn,rn,an,sn,cn){try{varun=en[sn](cn),dn=un.value}catch(en){returnvoidnn(en)}un.done?tn(dn):Promise.resolve(dn).then(rn,an)}function_asyncToGenerator(en){returnfunction(){vartn=this,nn=arguments;returnnewPromise((function(rn,an){varsn=en.apply(tn,nn);function_next(en){asyncGeneratorStep(sn,rn,an,_next,_throw,"next",en)}function_throw(en){asyncGeneratorStep(sn,rn,an,_next,_throw,"throw",en)}_next(void0)}))}}function_classCallCheck(en,tn){if(!(eninstanceoftn))thrownewTypeError("Cannot call a class as a function")}function_defineProperties(en,tn){for(varnn=0;nn<tn.length;nn++){varrn=tn[nn];rn.enumerable=rn.enumerable||!1,rn.configurable=!0,"value"inrn&&(rn.writable=!0),Object.defineProperty(en,rn.key,rn)}}function_createClass(en,tn,nn){returntn&&_defineProperties(en.prototype,tn),nn&&_defineProperties(en,nn),en}function_defineProperty(en,tn,nn){returntninen?Object.defineProperty(en,tn,{value:nn,enumerable:!0,configurable:!0,writable:!0}):en[tn]=nn,en}functionownKeys(en,tn){varnn=Object.keys(en);if(Object.getOwnPropertySymbols){varrn=Object.getOwnPropertySymbols(en);tn&&(rn=rn.filter((function(tn){returnObject.getOwnPropertyDescriptor(en,tn).enumerable}))),nn.push.apply(nn,rn)}returnnn}function_objectSpread2(en){for(vartn=1;tn<arguments.length;tn++){varnn=null!=arguments[tn]?arguments[tn]:{};tn%2?ownKeys(Object(nn),!0).forEach((function(tn){_defineProperty(en,tn,nn[tn])})):Object.getOwnPropertyDescriptors?Object.defineProperties(en,Object.getOwnPropertyDescriptors(nn)):ownKeys(Object(nn)).forEach((function(tn){Object.defineProperty(en,tn,Object.getOwnPropertyDescriptor(nn,tn))}))}returnen}function_inherits(en,tn){if("function"!=typeoftn&&null!==tn)thrownewTypeError("Super expression must either be null or a function");en.prototype=Object.create(tn&&tn.prototype,{constructor:{value:en,writable:!0,configurable:!0}}),tn&&_setPrototypeOf(en,tn)}function_getPrototypeOf(en){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function_getPrototypeOf(en){returnen.__proto__||Object.getPrototypeOf(en)})(en)}function_setPrototypeOf(en,tn){return(_setPrototypeOf=Object.setPrototypeOf||function_setPrototypeOf(en,tn){returnen.__proto__=tn,en})(en,tn)}function_isNativeReflectConstruct(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(en){return!1}}function_construct(en,tn,nn){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function_construct(en,tn,nn){varrn=[null];rn.push.apply(rn,tn);varan=new(Function.bind.apply(en,rn));returnnn&&_setPrototypeOf(an,nn.prototype),an}).apply(null,arguments)}function_wrapNativeSuper(en){vartn="function"==typeofMap?newMap:void0;return(_wrapNativeSuper=function_wrapNativeSuper(en){if(null===en||!function_isNativeFunction(en){return-1!==Function.toString.call(en).indexOf("[native code]")}(en))returnen;if("function"!=typeofen)thrownewTypeError("Super expression must either be null or a function");if(void0!==tn){if(tn.has(en))returntn.get(en);tn.set(en,Wrapper)}functionWrapper(){return_construct(en,arguments,_getPrototypeOf(this).constructor)}returnWrapper.prototype=Object.create(en.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,en)})(en)}function_assertThisInitialized(en){if(void0===en)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnen}function_possibleConstructorReturn(en,tn){return!tn||"object"!=typeoftn&&"function"!=typeoftn?_assertThisInitialized(en):tn}function_createSuper(en){vartn=_isNativeReflectConstruct();returnfunction_createSuperInter
varqA,$A={HTML:"http://www.w3.org/1999/xhtml",MATH:"http://www.w3.org/1998/Math/MathML",SE:"http://svg-edit.googlecode.com",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"},WA=functiongetReverseNS(){varen={};returnObject.entries($A).forEach((function(tn){varnn=_slicedToArray(tn,2),rn=nn[0],an=nn[1];en[an]=rn.toLowerCase()})),en},XA=["x","x1","cx","rx","width"],YA=["y","y1","cy","ry","height"],JA=["r","radius"].concat(XA,YA),ZA={},em=functiongetTypeMap(){returnZA},tm=functionshortFloat(en){vartn=qA.getRoundDigits();returnisNaN(en)?Array.isArray(en)?shortFloat(en[0])+","+shortFloat(en[1]):Number.parseFloat(en).toFixed(tn)-0:Number(Number(en).toFixed(tn))},nm=functionconvertUnit(en,tn){returntn=tn||qA.getBaseUnit(),tm(en/ZA[tn])},rm=functionsetUnitAttr(en,tn,nn){en.setAttribute(tn,nn)},im=functionconvertToNum(en,tn){if(!isNaN(tn))returntn-0;if("%"===tn.substr(-1)){varnn=tn.substr(0,tn.length-1)/100,rn=qA.getWidth(),an=qA.getHeight();returnXA.includes(en)?nn*rn:YA.includes(en)?nn*an:nn*Math.sqrt(rn*rn+an*an)/Math.sqrt(2)}varsn=tn.substr(-2);returntn.substr(0,tn.length-2)*ZA[sn]},om=functionisValidUnit(en,tn,nn){if(JA.includes(en))return!isNaN(tn)||(tn=tn.toLowerCase(),Object.keys(ZA).some((function(en){returnnewRegExp("^-?[\\d\\.]+"+en+"$").test(tn)})));if("id"===en){varrn=!1;try{varan=qA.getElement(tn);rn=!an||an===nn}catch(en){}returnrn}return!0},am=document.createElement("template");am.innerHTML='\n<style>\n:not(:defined){\ndisplay:none;\n}\n\n/* Force the scroll bar to appear so we see it hide when overlay opens. */\nbody::-webkit-scrollbar{\nbackground:lightgray;\n}\nbody::-webkit-scrollbar-thumb{\nbackground:darkgray;\n}\n#svg_docprops#svg_docprops_container{\npadding:10px;\nbackground-color:#B0B0B0;\nborder:1pxoutset#777;\nopacity:1.0;\nfont-family:Verdana,Helvetica,sans-serif;\nfont-size:.8em;\nz-index:20001;\n}\n\n#svg_docprops.error{\nborder:1pxsolidred;\npadding:3px;\n}\n\n#svg_docprops#resolution{\nmax-width:14em;\n}\n\n#tool_docprops_back{\nmargin-left:1em;\noverflow:auto;\n}\n\n#svg_docprops_container#svg_docprops_docprops{\nfloat:left;\nwidth:221px;\nmargin:5px.7em;\noverflow:hidden;\n}\n\n#svg_docpropslegend{\nmax-width:195px;\n}\n\n#svg_docprops_docprops>legend{\nfont-weight:bold;\nfont-size:1.1em;\n}\n\n#svg_docprops_containerfieldset{\npadding:5px;\nmargin:5px;\nborder:1pxsolid#DDD;\n}\n\n#svg_docprops_containerlabel{\ndisplay:block;\nmargin:.5em;\n}\n</style>\n<elix-dialogid="svg_docprops"aria-label="Sampledialog"closed>\n<divid="svg_docprops_container">\n<divid="tool_docprops_back"class="toolbar_button">\n<buttonid="tool_docprops_save">OK</button>\n<buttonid="tool_docprops_cancel">Cancel</button>\n</div>\n<fieldsetid="svg_docprops_docprops">\n<legendid="svginfo_image_props">ImageProperties</legend>\n<label>\n<spanid="svginfo_title">Title:</span>\n<inputtype="text"id="canvas_title"/>\n</label>\n<fieldsetid="change_resolution">\n<legendid="svginfo_dim">CanvasDimensions</legend>\n<label>\n<spanid="svginfo_width">width:</span>\n<inputtype="text"id="canvas_width"size="6"/>\n</label>\n<label>\n<spanid="svginfo_height">height:</span>\n<inputtype="text"id="canvas_height"size="6"/>\n</label>\n<label>\n<selectid="resolution">\n<optionid="selectedPredefined"selected="selected">Selectpredefined:</option>\n<option>640x480</option>\n<option>800x600</option>\n<option>1024x768</option>\n<option>1280x960</option>\n<option>1600x1200</option>\
functionjQueryPluginSVG(en){vartn=en.fn.attr;returnen.fn.attr=function(en,nn){varrn=this.length;if(!rn)returntn.call(this,en,nn);for(varan=0;an<rn;++an){varsn=this[an];if("http://www.w3.org/2000/svg"!==sn.namespaceURI)returntn.call(this,en,nn);if(void0!==nn)sn.setAttribute(en,nn);elseif(Array.isArray(en)){for(varcn={},un=en.length;un--;){vardn=en[un],pn=sn.getAttribute(dn);(pn||"0"===pn)&&(pn=isNaN(pn)?pn:pn-0),cn[dn]=pn}returncn}if("object"!==_typeof(en)){varhn=sn.getAttribute(en);return(hn||"0"===hn)&&(hn=isNaN(hn)?hn:hn-0),hn}for(vargn=0,An=Object.entries(en);gn<An.length;gn++){varmn=_slicedToArray(An[gn],2),vn=mn[0],yn=mn[1];sn.setAttribute(vn,yn)}}returnthis},en}varZE=document.createElementNS($A.SVG,"svg");functiontransformToString(en){vartn=en.matrix,nn="";switch(en.type){case1:nn="matrix("+[tn.a,tn.b,tn.c,tn.d,tn.e,tn.f].join(",")+")";break;case2:nn="translate("+tn.e+","+tn.f+")";break;case3:nn=tn.a===tn.d?"scale(".concat(tn.a,")"):"scale(".concat(tn.a,",").concat(tn.d,")");break;case4:varrn=0,an=0;if(0!==en.angle){varsn=1-tn.a;an=(sn*tn.f+tn.b*tn.e)/(sn*sn+tn.b*tn.b),rn=(tn.e-tn.b*an)/sn}nn="rotate("+en.angle+" "+rn+","+an+")"}returnnn}vareP={},tP=function(){functionSVGTransformList(en){_classCallCheck(this,SVGTransformList),this._elem=en||null,this._xforms=[],this._update=function(){for(varen="",tn=0;tn<this.numberOfItems;++tn){en+=transformToString(this._list.getItem(tn))+" "}this._elem.setAttribute("transform",en)},this._list=this,this._init=function(){varen=this,tn=this._elem.getAttribute("transform");if(tn)for(varnn=/\s*((scale|matrix|rotate|translate)\s*\(.*?\))\s*,?\s*/,rn=!0;rn;)rn=tn.match(nn),tn=tn.replace(nn,""),rn&&rn[1]&&function(){vartn=rn[1].split(/\s*\(/),nn=tn[0],an=tn[1].match(/\s*(.*?)\s*\)/);an[1]=an[1].replace(/(\d)-/g,"$1 -");varsn=an[1].split(/[, ]+/),cn="abcdef".split(""),un=ZE.createSVGMatrix();Object.values(sn).forEach((function(en,tn){sn[tn]=Number.parseFloat(en),"matrix"===nn&&(un[cn[tn]]=sn[tn])}));vardn=ZE.createSVGTransform(),pn="set"+nn.charAt(0).toUpperCase()+nn.slice(1),hn="matrix"===nn?[un]:sn;"scale"===nn&&1===hn.length?hn.push(hn[0]):"translate"===nn&&1===hn.length?hn.push(0):"rotate"===nn&&1===hn.length&&hn.push(0,0),dn[pn].apply(dn,_toConsumableArray(hn)),en._list.appendItem(dn)}()},this._removeFromOtherLists=function(en){en&&Object.values(eP).some((function(tn){for(varnn=0,rn=tn._xforms.length;nn<rn;++nn)if(tn._xforms[nn]===en)returntn.removeItem(nn),!0;return!1}))},this.numberOfItems=0}return_createClass(SVGTransformList,[{key:"clear",value:functionclear(){this.numberOfItems=0,this._xforms=[]}},{key:"initialize",value:functioninitialize(en){this.numberOfItems=1,this._removeFromOtherLists(en),this._xforms=[en]}},{key:"getItem",value:functiongetItem(en){if(en<this.numberOfItems&&en>=0)returnthis._xforms[en];vartn=newError("DOMException with code=INDEX_SIZE_ERR");throwtn.code=1,tn}},{key:"insertItemBefore",value:functioninsertItemBefore(en,tn){varnn=null;if(tn>=0)if(tn<this.numberOfItems){this._removeFromOtherLists(en);varrn,an=newArray(this.numberOfItems+1);for(rn=0;rn<tn;++rn)an[rn]=this._xforms[rn];an[rn]=en;for(varsn=rn+1;rn<this.numberOfItems;++sn,++rn)an[sn]=this._xforms[rn];this.numberOfItems++,this._xforms=an,nn=en,this._list._update()}elsenn=this._list.appendItem(en);returnnn}},{key:"replaceItem",value:functionreplaceItem(en,tn){varnn=null;returntn<this.numberOfItems&&tn>=0&&(this._removeFromOtherLists(en),this._xforms[tn]=en,nn=en,this._list._update()),nn}},{key:"removeItem",value:functionremoveItem(en){if(en<this.numberOfItems&&en>=0){vartn,nn=this._xforms[en],rn=newArray(this.numberOfItems-1);for(tn=0;tn<en;++tn)rn[tn]=this._xforms[tn];for(varan=tn;an<this.numberOfItems-1;++an,++tn)rn[an]=this._xforms[tn+1];returnthis.numberOfItems--,this._xforms=rn,this._list._update(),nn}varsn=newError("DOMException with code=INDEX_SIZE_ERR");throwsn.code=1,sn}},{key:"appendItem",value:functionappendItem(en){returnthis._removeFromOtherLists(en),this._xforms.push(en),this.numberOfItems++,this._list._update(),en}}])
function(en){vartn=functione(){varen=void0;Object.defineProperty(this,"pdf",{get:functionget(){returnen},set:functionset(tn){en=tn}});vare=150;Object.defineProperty(this,"width",{get:functionget(){returne},set:functionset(en){e=isNaN(en)||!1===Number.isInteger(en)||en<0?150:en,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});vartn=300;Object.defineProperty(this,"height",{get:functionget(){returntn},set:functionset(en){tn=isNaN(en)||!1===Number.isInteger(en)||en<0?300:en,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=tn+1)}});varnn=[];Object.defineProperty(this,"childNodes",{get:functionget(){returnnn},set:functionset(en){nn=en}});varrn={};Object.defineProperty(this,"style",{get:functionget(){returnrn},set:functionset(en){rn=en}}),Object.defineProperty(this,"parentNode",{})};tn.prototype.getContext=function(en,tn){varnn;if("2d"!==(en=en||"2d"))returnnull;for(nnintn)this.pdf.context2d.hasOwnProperty(nn)&&(this.pdf.context2d[nn]=tn[nn]);returnthis.pdf.context2d._canvas=this,this.pdf.context2d},tn.prototype.toDataURL=function(){thrownewError("toDataURL is not implemented.")},en.events.push(["initialized",function(){this.canvas=newtn,this.canvas.pdf=this}])}(O$1.API),
function(en){vartn={left:0,top:0,bottom:0,right:0},nn=!1,rn=functionn(){void0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void0,this.internal.__cell__.margins=Object.assign({},tn),this.internal.__cell__.margins.width=this.getPageWidth(),an.call(this))},an=functioni(){this.internal.__cell__.lastCell=newsn,this.internal.__cell__.pages=1},sn=functiona(){varen=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:functionget(){returnen},set:functionset(tn){en=tn}});vartn=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:functionget(){returntn},set:functionset(en){tn=en}});varnn=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:functionget(){returnnn},set:functionset(en){nn=en}});varrn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:functionget(){returnrn},set:functionset(en){rn=en}});varan=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:functionget(){returnan},set:functionset(en){an=en}});vara=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:functionget(){returna},set:functionset(en){a=en}});varsn=arguments[6];returnObject.defineProperty(this,"align",{enumerable:!0,get:functionget(){returnsn},set:functionset(en){sn=en}}),this};sn.prototype.clone=function(){returnnewsn(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},sn.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},en.setHeaderFunction=function(en){returnrn.call(this),this.internal.__cell__.headerFunction="function"==typeofen?en:void0,this},en.getTextDimensions=function(en,tn){rn.call(this);varnn=(tn=tn||{}).fontSize||this.getFontSize(),an=tn.font||this.getFont(),sn=tn.scaleFactor||this.internal.scaleFactor,cn=0,un=0,dn=0;if(!Array.isArray(en)&&"string"!=typeofen){if("number"!=typeofen)thrownewError("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");en=String(en)}varpn=tn.maxWidth;pn>0?"string"==typeofen?en=this.splitTextToSize(en,pn):"[object Array]"===Object.prototype.toString.call(en)&&(en=en.reduce((function(en,tn){returnen.concat(scope.splitTextToSize(tn,pn))}),[])):en=Array.isArray(en)?en:[en];for(varhn=0;hn<en.length;hn++)cn<(dn=this.getStringUnitWidth(en[hn],{font:an})*nn)&&(cn=dn);return0!==cn&&(un=en.length),{w:cn/=sn,h:Math.max((un*nn*this.getLineHeightFactor()-nn*(this.getLineHeightFactor()-1))/sn,0)}},en.cellAddPage=function(){rn.call(this),this.addPage();varen=this.internal.__cell__.margins||tn;returnthis.internal.__cell__.lastCell=newsn(en.left,en.top,void0,void0),this.internal.__cell__.pages+=1,this};varcn=en.cell=function(){varen;en=arguments[0]instanceofsn?arguments[0]:newsn(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),rn.call(this);varan=this.internal.__cell__.lastCell,cn=this.internal.__cell__.padding,un=this.internal.__cell__.margins||tn,dn=this.internal.__cell__.tableHeaderRow,pn=this.internal.__cell__.printHeaders;returnvoid0!==an.lineNumber&&(an.lineNumber===en.lineNumber?(en.x=(an.x||0)+(an.width||0),en.y=an.y||0):an.y+an.height+en.height+un.bottom>this.getPageHeight()?(this.cellAddPage(),en.y=un.top,pn&&dn&&(this.printHeaderRow(en.lineNumber,!0),en.y+=dn[0].height)):en.y=an.y+an.height||en.y),void0!==en.text[0]&&(this.rect(en.x,en.y,en.width,en.height,!0===nn?"FD":void0),"right"===en.align?this.text(en.text,en.x+en.width-cn,en.y+cn,{align:"right",baseline:"top"}):"center"===en.align?this.text(en.text,en.x+en.width/2,en.y+cn,{align:"center",baseline:"top",maxWidth:en.width-cn-cn}):this.text(en.text,en.x+cn,en.y+cn,{align:"left",baseline:"top",maxWidth:en.width-cn-cn})),this.internal.__cell__.lastCell=en,this};en.table=function(en,nn,dn,pn,hn){if(rn.call(this),!dn)thrownewError("No data for PDF table.");vargn,An,mn,vn,yn=[],_n=[],wn=[],xn={},Cn={},Sn=[],kn=[],Bn=(hn=hn||{}).autoSize||!1,En=!1!==hn.printHeaders,Pn=hn.css&&void0!==h
function(en){vartn=functionr(en){vartn,r,nn,rn,an,sn,cn,un,dn,pn;for(/[^\x00-\xFF]/.test(en),r=[],nn=0,rn=(en+=tn="\0\0\0\0".slice(en.length%4||4)).length;rn>nn;nn+=4)0!==(an=(en.charCodeAt(nn)<<24)+(en.charCodeAt(nn+1)<<16)+(en.charCodeAt(nn+2)<<8)+en.charCodeAt(nn+3))?(sn=(an=((an=((an=((an=(an-(pn=an%85))/85)-(dn=an%85))/85)-(un=an%85))/85)-(cn=an%85))/85)%85,r.push(sn+33,cn+33,un+33,dn+33,pn+33)):r.push(122);returnfunction(en,tn){for(varnn=tn;nn>0;nn--)en.pop()}(r,tn.length),String.fromCharCode.apply(String,r)+"~>"},nn=functionn(en){vartn,nn,n,rn,an,sn=String,cn="length",un=255,dn="charCodeAt",pn="slice",hn="replace";for(en[pn](-2),en=en[pn](0,-2)[hn](/\s/g,"")[hn]("z","!!!!!"),n=[],rn=0,an=(en+=tn="uuuuu"[pn](en[cn]%5||5))[cn];an>rn;rn+=5)nn=52200625*(en[dn](rn)-33)+614125*(en[dn](rn+1)-33)+7225*(en[dn](rn+2)-33)+85*(en[dn](rn+3)-33)+(en[dn](rn+4)-33),n.push(un&nn>>24,un&nn>>16,un&nn>>8,un&nn);returnfunction(en,tn){for(varnn=tn;nn>0;nn--)en.pop()}(n,tn[cn]),sn.fromCharCode.apply(sn,n)},rn=functioni(en){vartn=newRegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(en=en.replace(/\s/g,"")).indexOf(">")&&(en=en.substr(0,en.indexOf(">"))),en.length%2&&(en+="0"),!1===tn.test(en))return"";for(varnn="",rn=0;rn<en.length;rn+=2)nn+=String.fromCharCode("0x"+(en[rn]+en[rn+1]));returnnn},an=functiona(en){for(vartn=newUint8Array(en.length),nn=en.length;nn--;)tn[nn]=en.charCodeAt(nn);return(tn=zlibSync(tn)).reduce((function(en,tn){returnen+String.fromCharCode(tn)}),"")};en.processDataByFilters=function(en,sn){varcn=0,un=en||"",dn=[];for("string"==typeof(sn=sn||[])&&(sn=[sn]),cn=0;cn<sn.length;cn+=1)switch(sn[cn]){case"ASCII85Decode":case"/ASCII85Decode":un=nn(un),dn.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":un=tn(un),dn.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":un=rn(un),dn.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":un=un.split("").map((function(en){return("0"+en.charCodeAt().toString(16)).slice(-2)})).join("")+">",dn.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":un=an(un),dn.push("/FlateDecode");break;default:thrownewError('The filter: "'+sn[cn]+'" is not implemented')}return{data:un,reverseChain:dn.reverse().join(" ")}}}(O$1.API),(
function(en){vartn=[192,193,194,195,196,197,198,199];en.processJPEG=function(en,nn,rn,an,sn,cn){varun,dn=this.decode.DCT_DECODE,pn=null;if("string"==typeofen||this.__addimage__.isArrayBuffer(en)||this.__addimage__.isArrayBufferView(en)){switch(en=sn||en,en=this.__addimage__.isArrayBuffer(en)?newUint8Array(en):en,(un=function(en){for(varnn,rn=256*en.charCodeAt(4)+en.charCodeAt(5),an=en.length,sn={width:0,height:0,numcomponents:1},cn=4;cn<an;cn+=2){if(cn+=rn,-1!==tn.indexOf(en.charCodeAt(cn+1))){nn=256*en.charCodeAt(cn+5)+en.charCodeAt(cn+6),sn={width:256*en.charCodeAt(cn+7)+en.charCodeAt(cn+8),height:nn,numcomponents:en.charCodeAt(cn+9)};break}rn=256*en.charCodeAt(cn+2)+en.charCodeAt(cn+3)}returnsn}(en=this.__addimage__.isArrayBufferView(en)?this.__addimage__.arrayBufferToBinaryString(en):en)).numcomponents){case1:cn=this.color_spaces.DEVICE_GRAY;break;case4:cn=this.color_spaces.DEVICE_CMYK;break;case3:cn=this.color_spaces.DEVICE_RGB}pn={data:en,width:un.width,height:un.height,colorSpace:cn,bitsPerComponent:8,filter:dn,index:nn,alias:rn}}returnpn}}(O$1.API);varJM,ZM,eR,tR,nR,rR=function(){varen,tn,nn;functiona(en){vartn,nn,rn,an,sn,cn,un,dn,pn,hn,gn,An,mn,vn;for(this.data=en,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},cn=null;;){switch(tn=this.readUInt32(),pn=function(){varen,tn;for(tn=[],en=0;en<4;++en)tn.push(String.fromCharCode(this.data[this.pos++]));returntn}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(tn);break;case"fcTL":cn&&this.animation.frames.push(cn),this.pos+=4,cn={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},sn=this.readUInt16(),an=this.readUInt16()||100,cn.delay=1e3*sn/an,cn.disposeOp=this.data[this.pos++],cn.blendOp=this.data[this.pos++],cn.data=[];break;case"IDAT":case"fdAT":for("fdAT"===pn&&(this.pos+=4,tn-=4),en=(null!=cn?cn.data:void0)||this.imgData,An=0;0<=tn?An<tn:An>tn;0<=tn?++An:--An)en.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case3:if(rn=this.palette.length/3,this.transparency.indexed=this.read(tn),this.transparency.indexed.length>rn)thrownewError("More transparent colors than palette size");if((hn=rn-this.transparency.indexed.length)>0)for(mn=0;0<=hn?mn<hn:mn>hn;0<=hn?++mn:--mn)this.transparency.indexed.push(255);break;case0:this.transparency.grayscale=this.read(tn)[0];break;case2:this.transparency.rgb=this.read(tn)}break;case"tEXt":un=(gn=this.read(tn)).indexOf(0),dn=String.fromCharCode.apply(String,gn.slice(0,un)),this.text[dn]=String.fromCharCode.apply(String,gn.slice(un+1));break;case"IEND":returncn&&this.animation.frames.push(cn),this.colors=function(){switch(this.colorType){case0:case3:case4:return1;case2:case6:return3}}.call(this),this.hasAlphaChannel=4===(vn=this.colorType)||6===vn,nn=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*nn,this.colorSpace=function(){switch(this.colors){case1:return"DeviceGray";case3:return"DeviceRGB"}}.call(this),void(this.imgData=newUint8Array(this.imgData));default:this.pos+=tn}if(this.pos+=4,this.pos>this.data.length)thrownewError("Incomplete or corrupt PNG file")}}a.prototype.read=function(en){vartn,nn;for(nn=[],tn=0;0<=en?tn<en:tn>en;0<=en?++tn:--tn)nn.push(this.data[this.pos++]);returnnn},a.prototype.readUInt32=function(){returnthis.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.readUInt16=function(){returnthis.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.decodePixels=function(en){vartn=this.pixelBitlength/8,nn=newUint8Array(this.width*this.height*tn),rn=0,an=this;if(null==en&&(en=this.im
function(en){en.__fontmetrics__=en.__fontmetrics__||{};for(vartn="klmnopqrstuvwxyz",nn={},rn={},an=0;an<tn.length;an++)nn[tn[an]]="0123456789abcdef"[an],rn["0123456789abcdef"[an]]=tn[an];varsn=functiona(en){return"0x"+parseInt(en,10).toString(16)},cn=en.__fontmetrics__.compress=function(en){vartn,nn,an,un,dn=["{"];for(varpninen){if(tn=en[pn],isNaN(parseInt(pn,10))?nn="'"+pn+"'":(pn=parseInt(pn,10),nn=(nn=sn(pn).slice(2)).slice(0,-1)+rn[nn.slice(-1)]),"number"==typeoftn)tn<0?(an=sn(tn).slice(3),un="-"):(an=sn(tn).slice(2),un=""),an=un+an.slice(0,-1)+rn[an.slice(-1)];else{if("object"!=_typeof(tn))thrownewError("Don't know what to do with value type "+_typeof(tn)+".");an=cn(tn)}dn.push(nn+an)}returndn.push("}"),dn.join("")},un=en.__fontmetrics__.uncompress=function(en){if("string"!=typeofen)thrownewError("Invalid argument passed to uncompress.");for(vartn,rn,an,sn,cn={},un=1,dn=cn,pn=[],hn="",gn="",An=en.length-1,mn=1;mn<An;mn+=1)"'"==(sn=en[mn])?tn?(an=tn.join(""),tn=void0):tn=[]:tn?tn.push(sn):"{"==sn?(pn.push([dn,an]),dn={},an=void0):"}"==sn?((rn=pn.pop())[0][rn[1]]=dn,an=void0,dn=rn[0]):"-"==sn?un=-1:void0===an?nn.hasOwnProperty(sn)?(hn+=nn[sn],an=parseInt(hn,16)*un,un=1,hn=""):hn+=sn:nn.hasOwnProperty(sn)?(gn+=nn[sn],dn[an]=parseInt(gn,16)*un,un=1,an=void0,gn=""):gn+=sn;returncn},dn={codePages:["WinAnsiEncoding"],WinAnsiEncoding:un("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},pn={Unicode:{Courier:dn,"Courier-Bold":dn,"Courier-BoldOblique":dn,"Courier-Oblique":dn,Helvetica:dn,"Helvetica-Bold":dn,"Helvetica-BoldOblique":dn,"Helvetica-Oblique":dn,"Times-Roman":dn,"Times-Bold":dn,"Times-BoldItalic":dn,"Times-Italic":dn}},hn={Unicode:{"Courier-Oblique":un("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":un("{'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":un("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r
function(en){vartn=functione(en){for(vare=en.length,tn=newUint8Array(e),nn=0;nn<e;nn++)tn[nn]=en.charCodeAt(nn);returntn};en.API.events.push(["addFont",function(nn){varrn=void0,an=nn.font,sn=nn.instance;if(!an.isStandardFont){if(void0===sn)thrownewError("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+an.postScriptName+"').");if("string"!=typeof(rn=!1===sn.existsFileInVFS(an.postScriptName)?sn.loadFile(an.postScriptName):sn.getFileFromVFS(an.postScriptName)))thrownewError("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+an.postScriptName+"').");!function(nn,rn){rn=/^\x00\x01\x00\x00/.test(rn)?tn(rn):tn($U(rn)),nn.metadata=en.API.TTFFont.open(rn),nn.metadata.Unicode=nn.metadata.Unicode||{encoding:{},kerning:{},widths:[]},nn.metadata.glyIdsUsed=[0]}(an,rn)}}])}(O$1),
varSR={}.hasOwnProperty,kR=/[ -,\.\/:-@\[-\^`\{-~]/,BR=/[ -,\.\/:-@\[\]\^`\{-~]/,ER=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,PR=functioncssesc(en,tn){"single"!=(tn=functionmerge(en,tn){if(!en)returntn;varnn={};for(varrnintn)nn[rn]=SR.call(en,rn)?en[rn]:tn[rn];returnnn}(tn,cssesc.options)).quotes&&"double"!=tn.quotes&&(tn.quotes="single");for(varnn="double"==tn.quotes?'"':"'",rn=tn.isIdentifier,an=en.charAt(0),sn="",cn=0,un=en.length;cn<un;){vardn=en.charAt(cn++),pn=dn.charCodeAt(),hn=void0;if(pn<32||pn>126){if(pn>=55296&&pn<=56319&&cn<un){vargn=en.charCodeAt(cn++);56320==(64512&gn)?pn=((1023&pn)<<10)+(1023&gn)+65536:cn--}hn="\\"+pn.toString(16).toUpperCase()+" "}elsehn=tn.escapeEverything?kR.test(dn)?"\\"+dn:"\\"+pn.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(dn)?"\\"+pn.toString(16).toUpperCase()+" ":"\\"==dn||!rn&&('"'==dn&&nn==dn||"'"==dn&&nn==dn)||rn&&BR.test(dn)?"\\"+dn:dn;sn+=hn}returnrn&&(/^-[-\d]/.test(sn)?sn="\\-"+sn.slice(1):/\d/.test(an)&&(sn="\\3"+an+" "+sn.slice(1))),sn=sn.replace(ER,(function(en,tn,nn){returntn&&tn.length%2?en:(tn||"")+nn})),!rn&&tn.wrap?nn+sn+nn:sn};PR.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},PR.version="3.0.0";varLR=PR,TR=/[a-z0-9_-]/i,NR=/[\s\t]/,IR=functionparse(en){for(vartn,nn,rn=!0,an=0,sn="",cn=0,un=[];;){if(nn=en[cn],0===an){if(!nn&&rn)break;if(!nn&&!rn)thrownewError("Parse error");if('"'===nn||"'"===nn)tn=nn,an=1,rn=!1;elseif(NR.test(nn));else{if(!TR.test(nn))thrownewError("Parse error");an=3,rn=!1,cn--}}elseif(1===an){if(!nn)thrownewError("Parse Error");"\\"===nn?an=2:nn===tn?(un.push(sn),sn="",an=4):sn+=nn}elseif(2===an){if(nn!==tn&&"\\"!==nn)thrownewError("Parse error");sn+=nn,an=1}elseif(3===an){if(!nn){un.push(sn);break}TR.test(nn)?sn+=nn:","===nn?(un.push(sn),sn="",an=0):NR.test(nn)?an=5:"\\"===nn&&(an=6)}elseif(6===an){if(/[0-9a-f]/i.test(nn))thrownewError("Parse error");sn+=nn,an=3}elseif(5===an){if(!nn){un.push(sn);break}if(TR.test(nn))sn+=" "+nn,an=3;elseif(","===nn)un.push(sn),sn="",an=0;elseif(!NR.test(nn))thrownewError("Parse error")}elseif(4===an){if(!nn)break;if(","===nn)an=0;elseif(!NR.test(nn))thrownewError("Parse error")}cn++}returnun},FR={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},OR=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];functionisDigit(en){returnen>=48&&en<=57}functionState(en){this.index=0,this.path=en,this.max=en.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}functionskipSpaces(en){for(;en.index<en.max&&(10===(tn=en.path.charCodeAt(en.index))||13===tn||8232===tn||8233===tn||32===tn||9===tn||11===tn||12===tn||160===tn||tn>=5760&&OR.indexOf(tn)>=0);)en.index++;vartn}functionscanFlag(en){vartn=en.path.charCodeAt(en.index);return48===tn?(en.param=0,voiden.index++):49===tn?(en.param=1,voiden.index++):void(en.err="SvgPath: arc flag can be 0 or 1 only (at pos "+en.index+")")}functionscanParam(en){vartn,nn=en.index,rn=nn,an=en.max,sn=!1,cn=!1,un=!1,dn=!1;if(rn>=an)en.err="SvgPath: missed param (at pos "+rn+")";elseif(43!==(tn=en.path.charCodeAt(rn))&&45!==tn||(tn=++rn<an?en.path.charCodeAt(rn):0),isDigit(tn)||46===tn){if(46!==tn){if(sn=48===tn,tn=++rn<an?en.path.charCodeAt(rn):0,sn&&rn<an&&tn&&isDigit(tn))returnvoid(en.err="SvgPath: numbers started with `0` such as `09` are illegal (at pos "+nn+")");for(;rn<an&&isDigit(en.path.charCodeAt(rn));)rn++,cn=!0;tn=rn<an?en.path.charCodeAt(rn):0}if(46===tn){for(dn=!0,rn++;isDigit(en.path.charCodeAt(rn));)rn++,un=!0;tn=rn<an?en.path.charCodeAt(rn):0}if(101===tn||69===tn){if(dn&&!cn&&!un)returnvoid(en.err="SvgPath: invalid float exponent (at pos "+rn+")");if(43!==(tn=++rn<an?en.path.charCodeAt(rn):0)&&45!==tn||rn++,!(rn<an&&isDigit(en.path.charCodeAt(rn))))returnvoid(en.err="SvgPath: invalid float exponent (at pos "+rn+")");for(;rn<an&&isDigit(en.path.charCodeAt(rn));)rn++}en.index=rn,en.param=parseFloat(en.path.slice(nn,rn))+0}elseen.err="SvgPath: param should start with 0..9 or `.` (at pos "+rn+")"}functionfinalizeSegment(en){var
varen=functionextendStatics(tn,nn){return(en=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(en,tn){en.__proto__=tn}||function(en,tn){for(varnnintn)tn.hasOwnProperty(nn)&&(en[nn]=tn[nn])})(tn,nn)};function__extends(tn,nn){function__(){this.constructor=tn}en(tn,nn),tn.prototype=null===nn?Object.create(nn):(__.prototype=nn.prototype,new__)}vartn=function__assign(){return(tn=Object.assign||function__assign(en){for(vartn,nn=1,rn=arguments.length;nn<rn;nn++)for(varanintn=arguments[nn])Object.prototype.hasOwnProperty.call(tn,an)&&(en[an]=tn[an]);returnen}).apply(this,arguments)};function__awaiter(en,tn,nn,rn){returnnew(nn||(nn=Promise))((function(an,sn){functionfulfilled(en){try{step(rn.next(en))}catch(en){sn(en)}}functionrejected(en){try{step(rn.throw(en))}catch(en){sn(en)}}functionstep(en){en.done?an(en.value):newnn((function(tn){tn(en.value)})).then(fulfilled,rejected)}step((rn=rn.apply(en,tn||[])).next())}))}function__generator(en,tn){varnn,rn,an,sn,cn={label:0,sent:functionsent(){if(1&an[0])throwan[1];returnan[1]},trys:[],ops:[]};returnsn={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeofSymbol&&(sn[Symbol.iterator]=function(){returnthis}),sn;functionverb(en){returnfunction(tn){returnstep([en,tn])}}functionstep(sn){if(nn)thrownewTypeError("Generator is already executing.");for(;cn;)try{if(nn=1,rn&&(an=2&sn[0]?rn.return:sn[0]?rn.throw||((an=rn.return)&&an.call(rn),0):rn.next)&&!(an=an.call(rn,sn[1])).done)returnan;switch(rn=0,an&&(sn=[2&sn[0],an.value]),sn[0]){case0:case1:an=sn;break;case4:returncn.label++,{value:sn[1],done:!1};case5:cn.label++,rn=sn[1],sn=[0];continue;case7:sn=cn.ops.pop(),cn.trys.pop();continue;default:if(!((an=(an=cn.trys).length>0&&an[an.length-1])||6!==sn[0]&&2!==sn[0])){cn=0;continue}if(3===sn[0]&&(!an||sn[1]>an[0]&&sn[1]<an[3])){cn.label=sn[1];break}if(6===sn[0]&&cn.label<an[1]){cn.label=an[1],an=sn;break}if(an&&cn.label<an[2]){cn.label=an[2],cn.ops.push(sn);break}an[2]&&cn.ops.pop(),cn.trys.pop();continue}sn=tn.call(en,cn)}catch(en){sn=[6,en],rn=0}finally{nn=an=0}if(5&sn[0])throwsn[1];return{value:sn[0]?sn[1]:void0,done:!0}}}for(varnn=function(){functionBounds(en,tn,nn,rn){this.left=en,this.top=tn,this.width=nn,this.height=rn}returnBounds.prototype.add=function(en,tn,nn,rn){returnnewBounds(this.left+en,this.top+tn,this.width+nn,this.height+rn)},Bounds.fromClientRect=function(en){returnnewBounds(en.left,en.top,en.width,en.height)},Bounds}(),rn=functionparseBounds(en){returnnn.fromClientRect(en.getBoundingClientRect())},an=functionparseDocumentSize(en){vartn=en.body,rn=en.documentElement;if(!tn||!rn)thrownewError("Unable to get document size");varan=Math.max(Math.max(tn.scrollWidth,rn.scrollWidth),Math.max(tn.offsetWidth,rn.offsetWidth),Math.max(tn.clientWidth,rn.clientWidth)),sn=Math.max(Math.max(tn.scrollHeight,rn.scrollHeight),Math.max(tn.offsetHeight,rn.offsetHeight),Math.max(tn.clientHeight,rn.clientHeight));returnnewnn(0,0,an,sn)},sn=functiontoCodePoints(en){for(vartn=[],nn=0,rn=en.length;nn<rn;){varan=en.charCodeAt(nn++);if(an>=55296&&an<=56319&&nn<rn){varsn=en.charCodeAt(nn++);56320==(64512&sn)?tn.push(((1023&an)<<10)+(1023&sn)+65536):(tn.push(an),nn--)}elsetn.push(an)}returntn},cn=functionfromCodePoint(){for(varen=[],tn=0;tn<arguments.length;tn++)en[tn]=arguments[tn];if(String.fromCodePoint)returnString.fromCodePoint.apply(String,en);varnn=en.length;if(!nn)return"";for(varrn=[],an=-1,sn="";++an<nn;){varcn=en[an];cn<=65535?rn.push(cn):(cn-=65536,rn.push(55296+(cn>>10),cn%1024+56320)),(an+1===nn||rn.length>16384)&&(sn+=String.fromCharCode.apply(String,rn),rn.length=0)}returnsn},un="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dn="undefined"==typeofUint8Array?[]:newUint8Array(256),pn=0;pn<un.length;pn++)dn[un.charCodeAt(pn)]=pn;varhn,gn=functiondecode(en){vartn,nn,rn,an,sn,cn=.75*en.length,un=en.length,pn=0;"="===en[en.length-1]&&(cn--,"="===en[en.length-2]&&cn--);varhn="undefined"!=typeofArrayBuffer&&"undefined"!=typeofUint8Array&&void0!==Uint8Array.prototype.sli