vendor: 2,894 bytes, line 1
1(self.webpackChunkCCSApp=self.webpackChunkCCSApp||[]).push([[4687],{40644:function(d){(function(){var S,n,h,f,c,g;typeof performance<"u"&&null!==performance&&performance.now?d.exports=function(){return performance.now()}:typeof process<"u"&&null!==process&&process.hrtime?(d.exports=function(){return(S()-c)/1e6},n=process.hrtime,f=(S=function(){var y;return 1e9*(y=n())[0]+y[1]})(),g=1e9*process.uptime(),c=f-g):Date.now?(d.exports=function(){return Date.now()-h},h=Date.now()):(d.exports=function(){return(new Date).getTime()-h},h=(new Date).getTime())}).call(this)},54361:(d,S,n)=>{for(var h=n(40644),f=typeof window>"u"?global:window,c=["moz","webkit"],g="AnimationFrame",y=f["request"+g],O=f["cancel"+g]||f["cancelRequest"+g],m=0;!y&&m<c.length;m++)y=f[c[m]+"Request"+g],O=f[c[m]+"Cancel"+g]||f[c[m]+"CancelRequest"+g];if(!y||!O){var b=0,C=0,A=[];y=function(P){if(0===A.length){var w=h(),M=Math.max(0,16.666666666666668-(w-b));b=M+w,setTimeout(function(){var V=A.slice(0);A.length=0;for(var F=0;F<V.length;F++)if(!V[F].cancelled)try{V[F].callback(b)}catch(H){setTimeout(function(){throw H},0)}},Math.round(M))}return A.push({handle:++C,callback:P,cancelled:!1}),C},O=function(P){for(var w=0;w<A.length;w++)A[w].handle===P&&(A[w].cancelled=!0)}}d.exports=function(P){return y.call(f,P)},d.exports.cancel=function(){O.apply(f,arguments)},d.exports.polyfill=function(P){P||(P=f),P.requestAnimationFrame=y,P.cancelAnimationFrame=O}},96310:d=>{d.exports=function(S){this.ok=!1,this.alpha=1,"#"==S.charAt(0)&&(S=S.substr(1,6)),S=(S=S.replace(/ /g,"")).toLowerCase();var n={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:"90ee9
10",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"};S=n[S]||S;for(var h=[{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(m){return[parseInt(m[1]),parseInt(m[2]),parseInt(m[3]),parseFloat(m[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(m){return[parseInt(m[1]),parseInt(m[2]),parseInt(m[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(m){return[parseInt(m[1],16),parseInt(m[2],16),parseInt(m[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(m){return[parseInt(m[1]+m[1],16),parseInt(m[2]+m[2],16),parseInt(m[3]+m[3],16)]}}],f=0;f<h.length;f++){var g=h[f].process,y=h[f].re.exec(S);if(y){var O=g(y);this.r=O[0],this.g=O[1],this.b=O[2],O.length>3&&(this.alpha=O[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 m=this.r.toString(16),b=this.g.toString(16),C=this.b.toString(16);return 1==m.length&&(m="0"+m),1==b.length&&(b="0"+b),1==C.length&&(C="0"+C),"#"+m+b+C},this.getHelpXML=function(){for(var m=new Array,b=0;b<h.length;b++)for(var C=h[b].example,A=0;A<C.length;A++)m[m.length]=C[A];for(var R in n)m[m.length]=R;var P=document.createElement("ul");for(P.setAttribute("id","rgbcolor-examples"),b=0;b<m.length;b++)try{var w=document.createElement("li"),M=new RGBColor(m[b]),V=document.createElement("div");V.style.cssText="margin: 3px; border: 1px solid black; background:"+M.toHex()+"; color:"+M.toHex(),V.appendChild(document.createTextNode("test"));var F=document.createTextNode(" "+m[b]+" -> "+M.toRGB()+" -> "+M.toHex());w.appendChild(V),w.appendChild(F),P.appendChild(w)}catch{}return P}}},79306:(d,S,n)=>{"use strict";var h=n(94901),f=n(16823),c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not a function")}},35548:(d,S,n)=>{"use strict";var h=n(33517),f=n(16823),c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not a constructor")}},51125:(d,S,n)=>{"use strict";var h=n(13925),f=String,c=TypeError;d.exports=function(g){if(h(g))return g;throw new c("Can't set "+f(g)+" as a prototype")}},6469:(d,S,n)=>{"use strict";var h=n(78227),f=n(2360),c=n(24913).f,g=h("unscopables"),y=Array.prototype;void 0===y[g]&&c(y,g,{configurable:!0,value:f(null)}),d.exports=function(O){y[g][O]=!0}},57829:(d,S,n)=>{"use strict";var h=n(68183).charAt;d.exports=function(f,c,g){return c+(g?h(f,c).length:1)}},90679:(d,S,n)=>{"use strict";var h=n(1625),f=TypeError;d.exports=function(c,g){if(h(g,c))return c;throw new f("Incorrect invocation")}},28551:(d,S,n)=>{"use strict";var h=n(20034),f=String,c=TypeError;d.exports=function(g){if(h(g))return g;throw new c(f(g)+" is not an object")}},19617:(d,S,n)=>{"use strict";var h=n(25397),f=n(35610),c=n(26198),g=function(y){return function(O,m,b){var
vendor: 4,351 bytes, line 1
1C=h(O),A=c(C);if(0===A)return!y&&-1;var P,R=f(b,A);if(y&&m!=m){for(;A>R;)if((P=C[R++])!=P)return!0}else for(;A>R;R++)if((y||R in C)&&C[R]===m)return y||R||0;return!y&&-1}};d.exports={includes:g(!0),indexOf:g(!1)}},34598:(d,S,n)=>{"use strict";var h=n(79039);d.exports=function(f,c){var g=[][f];return!!g&&h(function(){g.call(null,c||function(){return 1},1)})}},80926:(d,S,n)=>{"use strict";var h=n(79306),f=n(48981),c=n(47055),g=n(26198),y=TypeError,O="Reduce of empty array with no initial value",m=function(b){return function(C,A,R,P){var w=f(C),M=c(w),V=g(w);if(h(A),0===V&&R<2)throw new y(O);var F=b?V-1:0,H=b?-1:1;if(R<2)for(;;){if(F in M){P=M[F],F+=H;break}if(F+=H,b?F<0:V<=F)throw new y(O)}for(;b?F>=0:V>F;F+=H)F in M&&(P=A(P,M[F],F,w));return P}};d.exports={left:m(!1),right:m(!0)}},67680:(d,S,n)=>{"use strict";var h=n(79504);d.exports=h([].slice)},84428:(d,S,n)=>{"use strict";var f=n(78227)("iterator"),c=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){c=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch{}d.exports=function(O,m){try{if(!m&&!c)return!1}catch{return!1}var b=!1;try{var C={};C[f]=function(){return{next:function(){return{done:b=!0}}}},O(C)}catch{}return b}},22195:(d,S,n)=>{"use strict";var h=n(79504),f=h({}.toString),c=h("".slice);d.exports=function(g){return c(f(g),8,-1)}},36955:(d,S,n)=>{"use strict";var h=n(92140),f=n(94901),c=n(22195),y=n(78227)("toStringTag"),O=Object,m="Arguments"===c(function(){return arguments}());d.exports=h?c:function(C){var A,R,P;return void 0===C?"Undefined":null===C?"Null":"string"==typeof(R=function(C,A){try{return C[A]}catch{}}(A=O(C),y))?R:m?c(A):"Object"===(P=c(A))&&f(A.callee)?"Arguments":P}},77740:(d,S,n)=>{"use strict";var h=n(39297),f=n(35031),c=n(77347),g=n(24913);d.exports=function(y,O,m){for(var b=f(O),C=g.f,A=c.f,R=0;R<b.length;R++){var P=b[R];!h(y,P)&&(!m||!h(m,P))&&C(y,P,A(O,P))}}},41436:(d,S,n)=>{"use strict";var f=n(78227)("match");d.exports=function(c){var g=/./;try{"/./"[c](g)}catch{try{return g[f]=!1,"/./"[c](g)}catch{}}return!1}},12211:(d,S,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},62529:d=>{"use strict";d.exports=function(S,n){return{value:S,done:n}}},66699:(d,S,n)=>{"use strict";var h=n(43724),f=n(24913),c=n(6980);d.exports=h?function(g,y,O){return f.f(g,y,c(1,O))}:function(g,y,O){return g[y]=O,g}},6980:d=>{"use strict";d.exports=function(S,n){return{enumerable:!(1&S),configurable:!(2&S),writable:!(4&S),value:n}}},62106:(d,S,n)=>{"use strict";var h=n(50283),f=n(24913);d.exports=function(c,g,y){return y.get&&h(y.get,g,{getter:!0}),y.set&&h(y.set,g,{setter:!0}),f.f(c,g,y)}},36840:(d,S,n)=>{"use strict";var h=n(94901),f=n(24913),c=n(50283),g=n(39433);d.exports=function(y,O,m,b){b||(b={});var C=b.enumerable,A=void 0!==b.name?b.name:O;if(h(m)&&c(m,A,b),b.global)C?y[O]=m:g(O,m);else{try{b.unsafe?y[O]&&(C=!0):delete y[O]}catch{}C?y[O]=m:f.f(y,O,{value:m,enumerable:!1,configurable:!b.nonConfigurable,writable:!b.nonWritable})}return y}},39433:(d,S,n)=>{"use strict";var h=n(44576),f=Object.defineProperty;d.exports=function(c,g){try{f(h,c,{value:g,configurable:!0,writable:!0})}catch{h[c]=g}return g}},43724:(d,S,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:(d,S,n)=>{"use strict";var h=n(44576),f=n(20034),c=h.document,g=f(c)&&f(c.createElement);d.exports=function(y){return g?c.createElement(y):{}}},45019:d=>{"use strict";d.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}},79296:(d,S,n)=>{"use strict";var f=n(4055)("span").classList,c=f&&f.constructor&&f.constructor.prototype;d.exports=c===Object.prototype?void 0:c},88727:d=>{"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"]},44265:(d,S,n)=>{"use strict";var h=n(82839);d.exports=/ipad|iphone|ipod/i.test(h)&&typeof Pebble<"u"},89544:(d,S,n)=>{"use strict";var h=n(82839);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(h)},16193:(d,S,n)=>{"use strict";var h=n(84215);d.exports="NODE"===h},7860:(d,S,n)=>{"use strict";var h=n(82839);d.exports=/web0s(?!.*chrome)/i.test(h)},82839:(d,S,n)=>{"use strict";var f=n(44576).navigator,c=f&&f.userAgent;d.exports=c?String(c):""},39519:(d,S,n)=>{"use strict";var m,b,h=n(44576),f=n(82839),c=h.process,g=h.Deno,y=c&&c.versions||g&&g.version,O=y&&y.v8;O&&(b=(m=O.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!b&&f&&(!(m=f.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=f.match(/Chrome\/(\d+)/))&&(b=+m[1]),d.exports=b},84215:(d,S,n)=>{"use strict";var h=n(44576),f=n(82839),c=n(22195),g=function(y){return f.slice(0,y.length)===y};d.exports=g("Bun/")?"BUN":g("Cloudflare-Workers")?"CLOUDFLARE":g("Deno/")?"DENO":g("Node.js/")?"NODE":h.Bun&&"string"==typeof Bun.version?"BUN":h.Deno&&"object"==typeof Deno.version?"DENO":"process"===c(h.process)?"NODE":h.window&&h.document?"BROWSER":"REST"},46518:(d,S,n)=>{"use strict";var h=n(44576),f=n(77347).f,c=n(66699),g=n(36840),y=n(39433),O=n(77740),m=n(92796);d.exports=function(b,C){var M,V,F,H,G,A=b.target,R=b.global,P=b.stat;if(M=R?h:P?h[A]||y(A,{}):h[A]&&h[A].prototype)for(V in C){if(H=C[V],F=b.dontCallGetSet?(G=f(M,V))&&G.value:M[V],!m(R?V:A+(P?".":"#")+V,b.forced)&&void 0!==F){if(typeof H==typeof F)continue;O(H,F)}(b.sham||F&&F.sham)&&c(H,"sham",!0),g(M,V,H,b)}}},79039:d=>{"use strict";d.exports=function(S){try{return!!S()}catch{return!0}}},89228:(d,S,n)=>{"use strict";n(27495);var h=n(69565),f=n(36840),c=n(57323),g=n(79039),y=n(78227),O=n(66699),m=y("species"),b=RegExp.prototype;d.exports=function(C,A,R,P){var w=y(C),M=!g(function(){var G={};return G[w]=function(){return 7},7!==""[C](G)}),V=M&&!g(function(){var G=!1,L=/a/;if("split"===C){var z={};z[m]=function(){return L},(L={constructor:z,flags:""})[w]=/./[w]}return L.exec=function(){return G=!0,null},L[w](""),!G});if(!M||!V||R){var F=/./[w],H=A(w,""[C],function(G,L,z,Y,Q){var q=L.exec;return q===c||q===b.exec?M&&!Q?{done:!0,value:h(F,L,z,Y)}:{done:!0,value:h(G,z,L,Y)}:{done:!1}});f(String.prototype,C,H[0]),f(b,w,H[1])}P&&O(b[w],"sham",!0)}},18745:(d,S,n)=>{"use strict";var h=n(40616),f=Function.prototype,c=f.apply,g=f.call;d.exports="object"==typeof Reflect&&Reflect.apply||(h?g.bind(c):function(){return g.apply(c,arguments)})},76080:(d,S,n)=>{"use strict";var h=n(27476),f=n(79306),c=n(40616),g=h(h.bind);d.exports=function(y,O){return f(y),void 0===O?y:c?g(y,O):function(){return y.apply(O,arguments)}}},40616:(d,S,n)=>{"use strict";var h=n(79039);d.exports=!h(function(){var f=function(){}.bind();return"function"!=typeof f||f.hasOwnProperty("prototype")})},69565:(d,S,n)=>{"use strict";var h=n(40616),f=Function.prototype.call;d.exports=h?f.bind(f):function(){return f.apply(f,arguments)}},10350:(d,S,n)=>{"use strict";var h=n(43724),f=n(39297),c=Function.prototype,g=h&&Object.getOwnPropertyDescriptor,y=f(c,"name"),O=y&&"something"===function(){}.name,m=y&&(!h||h&&g(c,"name").configurable);d.exports={EXISTS:y,PROPER:O,CONFIGURABLE:m}},46706:(d,S,n)=>{"use strict";var h=n(79504),f=n(79306);d.exports=function(c,g,y){try{return h(f(Object.getOwnPropertyDescriptor(c,g)[y]))}catch{}}},27476:(d,S,n)=>{"use strict";var h=n(22195),f=n(79504);d.exports=function(c){if("Function"===h(c))return f(c)}},79504:(d,S,n)=>{"use strict";var h=n(40616),f=Function.prototype,c=f.call,g=h&&f.bind.bind(c,c);d.exports=h?g:function(y){return function(){return c.apply(y,arguments)}}},97751:(d,S,n)=>{"use strict";var h=n(44576),f=n(94901);d.exports=function(g,y){return arguments.length<2?function(g){return f(g)?g:void 0}(h[g]):h[g]&&h[g][y]}},50851:(d,S,n)=>{"use strict";var h=n(36955),f=n(55966),c=n(64117),g=n(26269),O=n(78227)("iterator");d.exports=function(m){if(!c(m))return f(m,O)||f(m,"@@iterator")||g[h(m)]}},70081:(d,S,n)=>{"use strict";var h=n(69565),f=n(79306),c=n(28551),g=n(16823),y=n(50851),O=TypeError;d.exports=function(m,b){var C=arguments.length<2?y(m):b;if(f(C))return c(h(C,m));throw new O(g(m)+" is not iterable")}},55966:(d,S,n)=>{"use strict";var h=n(79306),f=n(64117);d.exports=function(c,g){var y=c[g];return f(y)?void 0:h(y)}},2478:(d,S,n)=>{"use strict";var h=n(79504),f=n(48981),c=Math.floor,g=h("".charAt),y=h("".replace),O=h("".slice),m=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;d.exports=function(C,A,R,P,w,M){var V=R+C.length,F=P.length,H=b;return void 0!==w&&(w=f(w),H=m),y(M,H,function(G,L){var z;switch(g(L,0)){case"$":return"$";case"&":return C;case"`":return O(A,0,R);case"'":return O(A,V);case"<":z=w[O(L,1,-1)];break;default:var Y=+L;if(0===Y)return G;if(Y>F){var Q=c(Y/10);return 0===Q?G:Q<=F?void 0===P[Q-1]?g(L,1):P[Q-1]+g(L,1):G}z=P[Y-1]}return void 0===z?"":z})}},44576:function(d){"use strict";var S=function(n){return n&&n.Math===Math&&n};d.exports=S("object"==typeof globalThis&&globalThis)||S("object"==typeof window&&window)||S("object"==typeof self&&self)||S("object"==typeof global&&global)||S("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:(d,S,n)=>{"use strict";var h=n(79504),f=n(48981),c=h({}.hasOwnProperty);d.exports=Object.hasOwn||function(y,O){return c(f(y),O)}},30421:d=>{"use strict";d.exports={}},90757:d=>{"use strict";d.exports=function(S,n){try{1===arguments.length?console.error(S):console.error(S,n)}catch{}}},20397:(d,S,n)=>{"use strict";var h=n(97751);d.exports=h("document","documentElement")},35917:(d,S,n)=>{"use strict";var h=n(43724),f=n(79039),c=n(4055);d.exports=!h&&!f(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},47055:(d,S,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(22195),g=Object,y=h("".split);d.exports=f(function(){return!g("z").propertyIsEnumerable(0)})?function(O){return"String"===c(O)?y(O,""):g(O)}:g},33706:(d,S,n)=>{"use strict";var h=n(79504),f=n(94901),c=n(77629),g=h(Function.toString);f(c.inspectSource)||(c.inspectSource=function(y){return g(y)}),d.exports=c.inspectSource},91181:(d,S,n)=>{"use strict";var P,w,M,h=n(58622),f=n(44576),c=n(20034),g=n(66699),y=n(39297),O=n(77629),m=n(66119),b=n(30421),C="Object already initialized",A=f.TypeError;if(h||O.state){var H=O.state||(O.state=new(0,f.WeakMap));H.get=H.get,H.has=H.has,H.set=H.set,P=function(L,z){if(H.has(L))throw new A(C);return z.facade=L,H.set(L,z),z},w=function(L){return H.get(L)||{}},M=function(L){return H.has(L)}}else{var G=m("state");b[G]=!0,P=function(L,z){if(y(L,G))throw new A(C);return z.facade=L,g(L,G,z),z},w=function(L){return y(L,G)?L[G]:{}},M=function(L){return y(L,G)}}d.exports={set:P,get:w,has:M,enforce:function(L){return M(L)?w(L):P(L,{})},getterFor:function(L){return function(z){var Y;if(!c(z)||(Y=w(z)).type!==L)throw new A("Incompatible receiver, "+L+" required");return Y}}}},44209:(d,S,n)=>{"use strict";var h=n(78227),f=n(26269),c=h("iterator"),g=Array.prototype;d.exports=function(y){return void 0!==y&&(f.Array===y||g[c]===y)}},34376:(d,S,n)=>{"use strict";var h=n(22195);d.exports=Array.isArray||function(c){return"Array"===h(c)}},94901:d=>{"use strict";var S="object"==typeof document&&document.all;d.exports=typeof S>"u"&&void 0!==S?function(n){return"function"==typeof n||n===S}:function(n){return"function"==typeof n}},33517:(d,S,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(94901),g=n(36955),y=n(97751),O=n(33706),m=function(){},b=y("Reflect","construct"),C=/^\s*(?:class|function)\b/,A=h(C.exec),R=!C.test(m),P=function(V){if(!c(V))return!1;try{return b(m,[],V),!0}catch{return!1}},w=function(V){if(!c(V))return!1;switch(g(V)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return R||!!A(C,O(V))}catch{return!0}};w.sham=!0,d.exports=!b||f(function(){var M;return P(P.call)||!P(Object)||!P(function(){M=!0})||M})?w:P},92796:(d,S,n)=>{"use strict";var h=n(79039),f=n(94901),c=/#|\.prototype\./,g=function(C,A){var R=O[y(C)];return R===b||R!==m&&(f(A)?h(A):!!A)},y=g.normalize=function(C){return String(C).replace(c,".").toLowerCase()},O=g.data={},m=g.NATIVE="N",b=g.POLYFILL="P";d.exports=g},64117:d=>{"use strict";d.exports=function(S){return null==S}},20034:(d,S,n)=>{"use strict";var h=n(94901);d.exports=function(f){return"object"==typeof f?null!==f:h(f)}},13925:(d,S,n)=>{"use strict";var h=n(20034);d.exports=function(f){return h(f)||null===f}},96395:d=>{"use strict";d.exports=!1},60788:(d,S,n)=>{"use strict";var h=n(20034),f=n(22195),g=n(78227)("match");d.exports=function(y){var O;return h(y)&&(void 0!==(O=y[g])?!!O:"RegExp"===f(y))}},10757:(d,S,n)=>{"use strict";var h=n(97751),f=n(94901),c=n(1625),g=n(7040),y=Object;d.exports=g?function(O){return"symbol"==typeof O}:function(O){var m=h("Symbol");return f(m)&&c(m.prototype,y(O))}},72652:(d,S,n)=>{"use strict";var h=n(76080),f=n(69565),c=n(28551),g=n(16823),y=n(44209),O=n(26198),m=n(1625),b=n(70081),C=n(50851),A=n(9539),R=TypeError,P=function(M,V){this.stopped=M,this.result=V},w=P.prototype;d.exports=function(M,V,F){var q,Z,ht,_,rt,ot,ut,G=!(!F||!F.AS_ENTRIES),L=!(!
vendor: 7,912 bytes, line 1
1F||!F.IS_RECORD),z=!(!F||!F.IS_ITERATOR),Y=!(!F||!F.INTERRUPTED),Q=h(V,F&&F.that),mt=function(J){return q&&A(q,"normal"),new P(!0,J)},K=function(J){return G?(c(J),Y?Q(J[0],J[1],mt):Q(J[0],J[1])):Y?Q(J,mt):Q(J)};if(L)q=M.iterator;else if(z)q=M;else{if(!(Z=C(M)))throw new R(g(M)+" is not iterable");if(y(Z)){for(ht=0,_=O(M);_>ht;ht++)if((rt=K(M[ht]))&&m(w,rt))return rt;return new P(!1)}q=b(M,Z)}for(ot=L?M.next:q.next;!(ut=f(ot,q)).done;){try{rt=K(ut.value)}catch(J){A(q,"throw",J)}if("object"==typeof rt&&rt&&m(w,rt))return rt}return new P(!1)}},9539:(d,S,n)=>{"use strict";var h=n(69565),f=n(28551),c=n(55966);d.exports=function(g,y,O){var m,b;f(g);try{if(!(m=c(g,"return"))){if("throw"===y)throw O;return O}m=h(m,g)}catch(C){b=!0,m=C}if("throw"===y)throw O;if(b)throw m;return f(m),O}},33994:(d,S,n)=>{"use strict";var h=n(57657).IteratorPrototype,f=n(2360),c=n(6980),g=n(10687),y=n(26269),O=function(){return this};d.exports=function(m,b,C,A){var R=b+" Iterator";return m.prototype=f(h,{next:c(+!A,C)}),g(m,R,!1,!0),y[R]=O,m}},51088:(d,S,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(96395),g=n(10350),y=n(94901),O=n(33994),m=n(42787),b=n(52967),C=n(10687),A=n(66699),R=n(36840),P=n(78227),w=n(26269),M=n(57657),V=g.PROPER,F=g.CONFIGURABLE,H=M.IteratorPrototype,G=M.BUGGY_SAFARI_ITERATORS,L=P("iterator"),z="keys",Y="values",Q="entries",q=function(){return this};d.exports=function(Z,ht,_,rt,ot,ut,mt){O(_,ht,rt);var ct,Ft,Ct,K=function(wt){if(wt===ot&&vt)return vt;if(!G&&wt&&wt in xt)return xt[wt];switch(wt){case z:case Y:case Q:return function(){return new _(this,wt)}}return function(){return new _(this)}},J=ht+" Iterator",Mt=!1,xt=Z.prototype,lt=xt[L]||xt["@@iterator"]||ot&&xt[ot],vt=!G&<||K(ot),I="Array"===ht&&xt.entries||lt;if(I&&(ct=m(I.call(new Z)))!==Object.prototype&&ct.next&&(!c&&m(ct)!==H&&(b?b(ct,H):y(ct[L])||R(ct,L,q)),C(ct,J,!0,!0),c&&(w[J]=q)),V&&ot===Y&<&<.name!==Y&&(!c&&F?A(xt,"name",Y):(Mt=!0,vt=function(){return f(lt,this)})),ot)if(Ft={values:K(Y),keys:ut?vt:K(z),entries:K(Q)},mt)for(Ct in Ft)(G||Mt||!(Ct in xt))&&R(xt,Ct,Ft[Ct]);else h({target:ht,proto:!0,forced:G||Mt},Ft);return(!c||mt)&&xt[L]!==vt&&R(xt,L,vt,{name:ot}),w[ht]=vt,Ft}},57657:(d,S,n)=>{"use strict";var R,P,w,h=n(79039),f=n(94901),c=n(20034),g=n(2360),y=n(42787),O=n(36840),m=n(78227),b=n(96395),C=m("iterator"),A=!1;[].keys&&("next"in(w=[].keys())?(P=y(y(w)))!==Object.prototype&&(R=P):A=!0),!c(R)||h(function(){var V={};return R[C].call(V)!==V})?R={}:b&&(R=g(R)),f(R[C])||O(R,C,function(){return this}),d.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:A}},26269:d=>{"use strict";d.exports={}},26198:(d,S,n)=>{"use strict";var h=n(18014);d.exports=function(f){return h(f.length)}},50283:(d,S,n)=>{"use strict";var h=n(79504),f=n(79039),c=n(94901),g=n(39297),y=n(43724),O=n(10350).CONFIGURABLE,m=n(33706),b=n(91181),C=b.enforce,A=b.get,R=String,P=Object.defineProperty,w=h("".slice),M=h("".replace),V=h([].join),F=y&&!f(function(){return 8!==P(function(){},"length",{value:8}).length}),H=String(String).split("String"),G=d.exports=function(L,z,Y){"Symbol("===w(R(z),0,7)&&(z="["+M(R(z),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),Y&&Y.getter&&(z="get "+z),Y&&Y.setter&&(z="set "+z),(!g(L,"name")||O&&L.name!==z)&&(y?P(L,"name",{value:z,configurable:!0}):L.name=z),F&&Y&&g(Y,"arity")&&L.length!==Y.arity&&P(L,"length",{value:Y.arity});try{Y&&g(Y,"constructor")&&Y.constructor?y&&P(L,"prototype",{writable:!1}):L.prototype&&(L.prototype=void 0)}catch{}var Q=C(L);return g(Q,"source")||(Q.source=V(H,"string"==typeof z?z:"")),L};Function.prototype.toString=G(function(){return c(this)&&A(this).source||m(this)},"toString")},80741:d=>{"use strict";var S=Math.ceil,n=Math.floor;d.exports=Math.trunc||function(f){var c=+f;return(c>0?n:S)(c)}},91955:(d,S,n)=>{"use strict";var V,F,H,G,L,h=n(44576),f=n(93389),c=n(76080),g=n(59225).set,y=n(18265),O=n(89544),m=n(44265),b=n(7860),C=n(16193),A=h.MutationObserver||h.WebKitMutationObserver,R=h.document,P=h.process,w=h.Promise,M=f("queueMicrotask");if(!M){var z=new y,Y=function(){var Q,q;for(C&&(Q=P.domain)&&Q.exit();q=z.get();)try{q()}catch(Z){throw z.head&&V(),Z}Q&&Q.enter()};O||C||b||!A||!R?!m&&w&&w.resolve?((G=w.resolve(void 0)).constructor=w,L=c(G.then,G),V=function(){L(Y)}):C?V=function(){P.nextTick(Y)}:(g=c(g,h),V=function(){g(Y)}):(F=!0,H=R.createTextNode(""),new A(Y).observe(H,{characterData:!0}),V=function(){H.data=F=!F}),M=function(Q){z.head||V(),z.add(Q)}}d.exports=M},36043:(d,S,n)=>{"use strict";var h=n(79306),f=TypeError,c=function(g){var y,O;this.promise=new g(function(m,b){if(void 0!==y||void 0!==O)throw new f("Bad Promise constructor");y=m,O=b}),this.resolve=h(y),this.reject=h(O)};d.exports.f=function(g){return new c(g)}},60511:(d,S,n)=>{"use strict";var h=n(60788),f=TypeError;d.exports=function(c){if(h(c))throw new f("The method doesn't accept regular expressions");return c}},2360:(d,S,n)=>{"use strict";var H,h=n(28551),f=n(96801),c=n(88727),g=n(30421),y=n(20397),O=n(4055),m=n(66119),A="prototype",R="script",P=m("IE_PROTO"),w=function(){},M=function(L){return"<"+R+">"+L+"</"+R+">"},V=function(L){L.write(M("")),L.close();var z=L.parentWindow.Object;return L=null,z},G=function(){try{H=new ActiveXObject("htmlfile")}catch{}G=typeof document<"u"?document.domain&&H?V(H):function(){var Y,L=O("iframe"),z="java"+R+":";return L.style.display="none",y.appendChild(L),L.src=String(z),(Y=L.contentWindow.document).open(),Y.write(M("document.F=Object")),Y.close(),Y.F}():V(H);for(var L=c.length;L--;)delete G[A][c[L]];return G()};g[P]=!0,d.exports=Object.create||function(z,Y){var Q;return null!==z?(w[A]=h(z),Q=new w,w[A]=null,Q[P]=z):Q=G(),void 0===Y?Q:f.f(Q,Y)}},96801:(d,S,n)=>{"use strict";var h=n(43724),f=n(48686),c=n(24913),g=n(28551),y=n(25397),O=n(71072);S.f=h&&!f?Object.defineProperties:function(b,C){g(b);for(var M,A=y(C),R=O(C),P=R.length,w=0;P>w;)c.f(b,M=R[w++],A[M]);return b}},24913:(d,S,n)=>{"use strict";var h=n(43724),f=n(35917),c=n(48686),g=n(28551),y=n(56969),O=TypeError,m=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C="enumerable",A="configurable",R="writable";S.f=h?c?function(w,M,V){if(g(w),M=y(M),g(V),"function"==typeof w&&"prototype"===M&&"value"in V&&R in V&&!V[R]){var F=b(w,M);F&&F[R]&&(w[M]=V.value,V={configurable:A in V?V[A]:F[A],enumerable:C in V?V[C]:F[C],writable:!1})}return m(w,M,V)}:m:function(w,M,V){if(g(w),M=y(M),g(V),f)try{return m(w,M,V)}catch{}if("get"in V||"set"in V)throw new O("Accessors not supported");return"value"in V&&(w[M]=V.value),w}},77347:(d,S,n)=>{"use strict";var h=n(43724),f=n(69565),c=n(48773),g=n(6980),y=n(25397),O=n(56969),m=n(39297),b=n(35917),C=Object.getOwnPropertyDescriptor;S.f=h?C:function(R,P){if(R=y(R),P=O(P),b)try{return C(R,P)}catch{}if(m(R,P))return g(!f(c.f,R,P),R[P])}},38480:(d,S,n)=>{"use strict";var h=n(61828),c=n(88727).concat("length","prototype");S.f=Object.getOwnPropertyNames||function(y){return h(y,c)}},33717:(d,S)=>{"use strict";S.f=Object.getOwnPropertySymbols},42787:(d,S,n)=>{"use strict";var h=n(39297),f=n(94901),c=n(48981),g=n(66119),y=n(12211),O=g("IE_PROTO"),m=Object,b=m.prototype;d.exports=y?m.getPrototypeOf:function(C){var A=c(C);if(h(A,O))return A[O];var R=A.constructor;return f(R)&&A instanceof R?R.prototype:A instanceof m?b:null}},1625:(d,S,n)=>{"use strict";var h=n(79504);d.exports=h({}.isPrototypeOf)},61828:(d,S,n)=>{"use strict";var h=n(79504),f=n(39297),c=n(25397),g=n(19617).indexOf,y=n(30421),O=h([].push);d.exports=function(m,b){var P,C=c(m),A=0,R=[];for(P in C)!f(y,P)&&f(C,P)&&O(R,P);for(;b.length>A;)f(C,P=b[A++])&&(~g(R,P)||O(R,P));return R}},71072:(d,S,n)=>{"use strict";var h=n(61828),f=n(88727);d.exports=Object.keys||function(g){return h(g,f)}},48773:(d,S)=>{"use strict";var n={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f=h&&!n.call({1:2},1);S.f=f?function(g){var y=h(this,g);return!!y&&y.enumerable}:n},52967:(d,S,n)=>{"use strict";var h=n(46706),f=n(20034),c=n(67750),g=n(51125);
vendor: 8,478 bytes, line 1
1d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m,y=!1,O={};try{(m=h(Object.prototype,"__proto__","set"))(O,[]),y=O instanceof Array}catch{}return function(C,A){return c(C),g(A),f(C)&&(y?m(C,A):C.__proto__=A),C}}():void 0)},84270:(d,S,n)=>{"use strict";var h=n(69565),f=n(94901),c=n(20034),g=TypeError;d.exports=function(y,O){var m,b;if("string"===O&&f(m=y.toString)&&!c(b=h(m,y))||f(m=y.valueOf)&&!c(b=h(m,y))||"string"!==O&&f(m=y.toString)&&!c(b=h(m,y)))return b;throw new g("Can't convert object to primitive value")}},35031:(d,S,n)=>{"use strict";var h=n(97751),f=n(79504),c=n(38480),g=n(33717),y=n(28551),O=f([].concat);d.exports=h("Reflect","ownKeys")||function(b){var C=c.f(y(b)),A=g.f;return A?O(C,A(b)):C}},19167:(d,S,n)=>{"use strict";var h=n(44576);d.exports=h},1103:d=>{"use strict";d.exports=function(S){try{return{error:!1,value:S()}}catch(n){return{error:!0,value:n}}}},10916:(d,S,n)=>{"use strict";var h=n(44576),f=n(80550),c=n(94901),g=n(92796),y=n(33706),O=n(78227),m=n(84215),b=n(96395),C=n(39519),A=f&&f.prototype,R=O("species"),P=!1,w=c(h.PromiseRejectionEvent),M=g("Promise",function(){var V=y(f),F=V!==String(f);if(!F&&66===C||b&&(!A.catch||!A.finally))return!0;if(!C||C<51||!/native code/.test(V)){var H=new f(function(z){z(1)}),G=function(z){z(function(){},function(){})};if((H.constructor={})[R]=G,!(P=H.then(function(){})instanceof G))return!0}return!(F||"BROWSER"!==m&&"DENO"!==m||w)});d.exports={CONSTRUCTOR:M,REJECTION_EVENT:w,SUBCLASSING:P}},80550:(d,S,n)=>{"use strict";var h=n(44576);d.exports=h.Promise},93438:(d,S,n)=>{"use strict";var h=n(28551),f=n(20034),c=n(36043);d.exports=function(g,y){if(h(g),f(y)&&y.constructor===g)return y;var O=c.f(g);return(0,O.resolve)(y),O.promise}},90537:(d,S,n)=>{"use strict";var h=n(80550),f=n(84428),c=n(10916).CONSTRUCTOR;d.exports=c||!f(function(g){h.all(g).then(void 0,function(){})})},18265:d=>{"use strict";var S=function(){this.head=null,this.tail=null};S.prototype={add:function(n){var h={item:n,next:null},f=this.tail;f?f.next=h:this.head=h,this.tail=h},get:function(){var n=this.head;if(n)return null===(this.head=n.next)&&(this.tail=null),n.item}},d.exports=S},56682:(d,S,n)=>{"use strict";var h=n(69565),f=n(28551),c=n(94901),g=n(22195),y=n(57323),O=TypeError;d.exports=function(m,b){var C=m.exec;if(c(C)){var A=h(C,m,b);return null!==A&&f(A),A}if("RegExp"===g(m))return h(y,m,b);throw new O("RegExp#exec called on incompatible receiver")}},57323:(d,S,n)=>{"use strict";var Q,q,h=n(69565),f=n(79504),c=n(655),g=n(67979),y=n(58429),O=n(25745),m=n(2360),b=n(91181).get,C=n(83635),A=n(63576),R=O("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,w=P,M=f("".charAt),V=f("".indexOf),F=f("".replace),H=f("".slice),G=(q=/b*/g,h(P,Q=/a/,"a"),h(P,q,"a"),0!==Q.lastIndex||0!==q.lastIndex),L=y.BROKEN_CARET,z=void 0!==/()??/.exec("")[1];(G||z||L||C||A)&&(w=function(q){var ot,ut,mt,K,J,Mt,xt,Z=this,ht=b(Z),_=c(q),rt=ht.raw;if(rt)return rt.lastIndex=Z.lastIndex,ot=h(w,rt,_),Z.lastIndex=rt.lastIndex,ot;var lt=ht.groups,vt=L&&Z.sticky,I=h(g,Z),ct=Z.source,Ft=0,Ct=_;if(vt&&(I=F(I,"y",""),-1===V(I,"g")&&(I+="g"),Ct=H(_,Z.lastIndex),Z.lastIndex>0&&(!Z.multiline||Z.multiline&&"\n"!==M(_,Z.lastIndex-1))&&(ct="(?: "+ct+")",Ct=" "+Ct,Ft++),ut=new RegExp("^(?:"+ct+")",I)),z&&(ut=new RegExp("^"+ct+"$(?!\\s)",I)),G&&(mt=Z.lastIndex),K=h(P,vt?ut:Z,Ct),vt?K?(K.input=H(K.input,Ft),K[0]=H(K[0],Ft),K.index=Z.lastIndex,Z.lastIndex+=K[0].length):Z.lastIndex=0:G&&K&&(Z.lastIndex=Z.global?K.index+K[0].length:mt),z&&K&&K.length>1&&h(R,K[0],ut,function(){for(J=1;J<arguments.length-2;J++)void 0===arguments[J]&&(K[J]=void 0)}),K&<)for(K.groups=Mt=m(null),J=0;J<lt.length;J++)Mt[(xt=lt[J])[0]]=K[xt[1]];return K}),d.exports=w},65213:(d,S,n)=>{"use strict";var h=n(44576),f=n(79039),c=h.RegExp,g=!f(function(){var y=!0;try{c(".","d")}catch{y=!1}var O={},m="",b=y?"dgimsy":"gimsy",C=function(w,M){Object.defineProperty(O,w,{get:function(){return m+=M,!0}})},A={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var R in y&&(A.hasIndices="d"),A)C(R,A[R]);return Object.getOwnPropertyDescriptor(c.prototype,"flags").get.call(O)!==b||m!==b});d.exports={correct:g}},67979:(d,S,n)=>{"use strict";var h=n(28551);d.exports=function(){var f=h(this),c="";return f.hasIndices&&(c+="d"),f.global&&(c+="g"),f.ignoreCase&&(c+="i"),f.multiline&&(c+="m"),f.dotAll&&(c+="s"),f.unicode&&(c+="u"),f.unicodeSets&&(c+="v"),f.sticky&&(c+="y"),c}},61034:(d,S,n)=>{"use strict";var h=n(69565),f=n(39297),c=n(1625),g=n(65213),y=n(67979),O=RegExp.prototype;d.exports=g.correct?function(m){return m.flags}:function(m){return g.correct||!c(O,m)||f(m,"flags")?m.flags:h(y,m)}},58429:(d,S,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp,g=h(function(){var m=c("a","y");return m.lastIndex=2,null!==m.exec("abcd")}),y=g||h(function(){return!c("a","y").sticky}),O=g||h(function(){var m=c("^r","gy");return m.lastIndex=2,null!==m.exec("str")});d.exports={BROKEN_CARET:O,MISSED_STICKY:y,UNSUPPORTED_Y:g}},83635:(d,S,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp;d.exports=h(function(){var g=c(".","s");return!(g.dotAll&&g.test("\n")&&"s"===g.flags)})},63576:(d,S,n)=>{"use strict";var h=n(79039),c=n(44576).RegExp;d.exports=h(function(){var g=c("(?<a>b)","g");return"b"!==g.exec("b").groups.a||"bc"!=="b".replace(g,"$<a>c")})},67750:(d,S,n)=>{"use strict";var h=n(64117),f=TypeError;d.exports=function(c){if(h(c))throw new f("Can't call method on "+c);return c}},93389:(d,S,n)=>{"use strict";var h=n(44576),f=n(43724),c=Object.getOwnPropertyDescriptor;d.exports=function(g){if(!f)return h[g];var y=c(h,g);return y&&y.value}},87633:(d,S,n)=>{"use strict";var h=n(97751),f=n(62106),c=n(78227),g=n(43724),y=c("species");d.exports=function(O){var m=h(O);g&&m&&!m[y]&&f(m,y,{configurable:!0,get:function(){return this}})}},10687:(d,S,n)=>{"use strict";var h=n(24913).f,f=n(39297),g=n(78227)("toStringTag");d.exports=function(y,O,m){y&&!m&&(y=y.prototype),y&&!f(y,g)&&h(y,g,{configurable:!0,value:O})}},66119:(d,S,n)=>{"use strict";var h=n(25745),f=n(33392),c=h("keys");d.exports=function(g){return c[g]||(c[g]=f(g))}},77629:(d,S,n)=>{"use strict";var h=n(96395),f=n(44576),c=n(39433),g="__core-js_shared__",y=d.exports=f[g]||c(g,{});(y.versions||(y.versions=[])).push({version:"3.48.0",mode:h?"pure":"global",copyright:"\xa9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:(d,S,n)=>{"use strict";var h=n(77629);d.exports=function(f,c){return h[f]||(h[f]=c||{})}},2293:(d,S,n)=>{"use strict";var h=n(28551),f=n(35548),c=n(64117),y=n(78227)("species");d.exports=function(O,m){var C,b=h(O).constructor;return void 0===b||c(C=h(b)[y])?m:f(C)}},68183:(d,S,n)=>{"use strict";var h=n(79504),f=n(91291),c=n(655),g=n(67750),y=h("".charAt),O=h("".charCodeAt),m=h("".slice),b=function(C){return function(A,R){var V,F,P=c(g(A)),w=f(R),M=P.length;return w<0||w>=M?C?"":void 0:(V=O(P,w))<55296||V>56319||w+1===M||(F=O(P,w+1))<56320||F>57343?C?y(P,w):V:C?m(P,w,w+2):F-56320+(V-55296<<10)+65536}};d.exports={codeAt:b(!1),charAt:b(!0)}},60706:(d,S,n)=>{"use strict";var h=n(10350).PROPER,f=n(79039),c=n(47452);d.exports=function(y){return f(function(){return!!c[y]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[y]()||h&&c[y].name!==y})}},43802:(d,S,n)=>{"use strict";var h=n(79504),f=n(67750),c=n(655),g=n(47452),y=h("".replace),O=RegExp("^["+g+"]+"),m=RegExp("(^|[^"+g+"])["+g+"]+$"),b=function(C){return function(A){var R=c(f(A));return 1&C&&(R=y(R,O,"")),2&C&&(R=y(R,m,"$1")),R}};d.exports={start:b(1),end:b(2),trim:b(3)}},4495:(d,S,n)=>{"use strict";var h=n(39519),f=n(79039),g=n(44576).String;d.exports=!!Object.getOwnPropertySymbols&&!f(function(){var y=Symbol("symbol detection");return!g(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&h&&h<41})},59225:(d,S,n)=>{"use strict";var q,Z,ht,_,h=n(44576),f=n(18745),c=n(76080),g=n(94901),y=n(39297),O=n(79039),m=n(20397),b=n(67680),C=n(4055),A=n(22812),R=n(89544),P=n(16193),w=h.setImmediate,M=h.clearImmediate,V=h.process,F=h.Dispatch,H=h.Function,G=h.MessageChannel,L=h.String,z=0,Y={},Q="onreadystatechange";O(function(){q=h.location});var rt=function(K){if(y(Y,K)){var J=Y[K];delete Y[K],J()}},ot=function(K){return function(){rt(K)}},ut=function(K){rt(K.data)},mt=function(K){h.postMessage(L(K),q.protocol+"//"+q.host)};(!w||!M)&&(w=function(J){A(arguments.length,1);
vendor: 6,981 bytes, line 1
1var Mt=g(J)?J:H(J),xt=b(arguments,1);return Y[++z]=function(){f(Mt,void 0,xt)},Z(z),z},M=function(J){delete Y[J]},P?Z=function(K){V.nextTick(ot(K))}:F&&F.now?Z=function(K){F.now(ot(K))}:G&&!R?(_=(ht=new G).port2,ht.port1.onmessage=ut,Z=c(_.postMessage,_)):h.addEventListener&&g(h.postMessage)&&!h.importScripts&&q&&"file:"!==q.protocol&&!O(mt)?(Z=mt,h.addEventListener("message",ut,!1)):Z=Q in C("script")?function(K){m.appendChild(C("script"))[Q]=function(){m.removeChild(this),rt(K)}}:function(K){setTimeout(ot(K),0)}),d.exports={set:w,clear:M}},35610:(d,S,n)=>{"use strict";var h=n(91291),f=Math.max,c=Math.min;d.exports=function(g,y){var O=h(g);return O<0?f(O+y,0):c(O,y)}},25397:(d,S,n)=>{"use strict";var h=n(47055),f=n(67750);d.exports=function(c){return h(f(c))}},91291:(d,S,n)=>{"use strict";var h=n(80741);d.exports=function(f){var c=+f;return c!=c||0===c?0:h(c)}},18014:(d,S,n)=>{"use strict";var h=n(91291),f=Math.min;d.exports=function(c){var g=h(c);return g>0?f(g,9007199254740991):0}},48981:(d,S,n)=>{"use strict";var h=n(67750),f=Object;d.exports=function(c){return f(h(c))}},72777:(d,S,n)=>{"use strict";var h=n(69565),f=n(20034),c=n(10757),g=n(55966),y=n(84270),O=n(78227),m=TypeError,b=O("toPrimitive");d.exports=function(C,A){if(!f(C)||c(C))return C;var P,R=g(C,b);if(R){if(void 0===A&&(A="default"),P=h(R,C,A),!f(P)||c(P))return P;throw new m("Can't convert object to primitive value")}return void 0===A&&(A="number"),y(C,A)}},56969:(d,S,n)=>{"use strict";var h=n(72777),f=n(10757);d.exports=function(c){var g=h(c,"string");return f(g)?g:g+""}},92140:(d,S,n)=>{"use strict";var c={};c[n(78227)("toStringTag")]="z",d.exports="[object z]"===String(c)},655:(d,S,n)=>{"use strict";var h=n(36955),f=String;d.exports=function(c){if("Symbol"===h(c))throw new TypeError("Cannot convert a Symbol value to a string");return f(c)}},16823:d=>{"use strict";var S=String;d.exports=function(n){try{return S(n)}catch{return"Object"}}},33392:(d,S,n)=>{"use strict";var h=n(79504),f=0,c=Math.random(),g=h(1.1.toString);d.exports=function(y){return"Symbol("+(void 0===y?"":y)+")_"+g(++f+c,36)}},7040:(d,S,n)=>{"use strict";var h=n(4495);d.exports=h&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:(d,S,n)=>{"use strict";var h=n(43724),f=n(79039);d.exports=h&&f(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812:d=>{"use strict";var S=TypeError;d.exports=function(n,h){if(n<h)throw new S("Not enough arguments");return n}},58622:(d,S,n)=>{"use strict";var h=n(44576),f=n(94901),c=h.WeakMap;d.exports=f(c)&&/native code/.test(String(c))},78227:(d,S,n)=>{"use strict";var h=n(44576),f=n(25745),c=n(39297),g=n(33392),y=n(4495),O=n(7040),m=h.Symbol,b=f("wks"),C=O?m.for||m:m&&m.withoutSetter||g;d.exports=function(A){return c(b,A)||(b[A]=y&&c(m,A)?m[A]:C("Symbol."+A)),b[A]}},47452:d=>{"use strict";d.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},25276:(d,S,n)=>{"use strict";var h=n(46518),f=n(27476),c=n(19617).indexOf,g=n(34598),y=f([].indexOf),O=!!y&&1/y([1],1,-0)<0;h({target:"Array",proto:!0,forced:O||!g("indexOf")},{indexOf:function(C){var A=arguments.length>1?arguments[1]:void 0;return O?y(this,C,A)||0:c(this,C,A)}})},23792:(d,S,n)=>{"use strict";var h=n(25397),f=n(6469),c=n(26269),g=n(91181),y=n(24913).f,O=n(51088),m=n(62529),b=n(96395),C=n(43724),A="Array Iterator",R=g.set,P=g.getterFor(A);d.exports=O(Array,"Array",function(M,V){R(this,{type:A,target:h(M),index:0,kind:V})},function(){var M=P(this),V=M.target,F=M.index++;if(!V||F>=V.length)return M.target=null,m(void 0,!0);switch(M.kind){case"keys":return m(F,!1);case"values":return m(V[F],!1)}return m([F,V[F]],!1)},"values");var w=c.Arguments=c.Array;if(f("keys"),f("values"),f("entries"),!b&&C&&"values"!==w.name)try{y(w,"name",{value:"values"})}catch{}},72712:(d,S,n)=>{"use strict";var h=n(46518),f=n(80926).left,c=n(34598),g=n(39519);h({target:"Array",proto:!0,forced:!n(16193)&&g>79&&g<83||!c("reduce")},{reduce:function(C){var A=arguments.length;return f(this,C,A,A>1?arguments[1]:void 0)}})},94490:(d,S,n)=>{"use strict";var h=n(46518),f=n(79504),c=n(34376),g=f([].reverse),y=[1,2];h({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),g(this)}})},16499:(d,S,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(79306),g=n(36043),y=n(1103),O=n(72652);h({target:"Promise",stat:!0,forced:n(90537)},{all:function(C){var A=this,R=g.f(A),P=R.resolve,w=R.reject,M=y(function(){var V=c(A.resolve),F=[],H=0,G=1;O(C,function(L){var z=H++,Y=!1;G++,f(V,A,L).then(function(Q){Y||(Y=!0,F[z]=Q,--G||P(F))},w)}),--G||P(F)});return M.error&&w(M.value),R.promise}})},82003:(d,S,n)=>{"use strict";var h=n(46518),f=n(96395),c=n(10916).CONSTRUCTOR,g=n(80550),y=n(97751),O=n(94901),m=n(36840),b=g&&g.prototype;if(h({target:"Promise",proto:!0,forced:c,real:!0},{catch:function(A){return this.then(void 0,A)}}),!f&&O(g)){var C=y("Promise").prototype.catch;b.catch!==C&&m(b,"catch",C,{unsafe:!0})}},10436:(d,S,n)=>{"use strict";var _t,he,fe,kt,h=n(46518),f=n(96395),c=n(16193),g=n(44576),y=n(19167),O=n(69565),m=n(36840),b=n(52967),C=n(10687),A=n(87633),R=n(79306),P=n(94901),w=n(20034),M=n(90679),V=n(2293),F=n(59225).set,H=n(91955),G=n(90757),L=n(1103),z=n(18265),Y=n(91181),Q=n(80550),q=n(10916),Z=n(36043),ht="Promise",_=q.CONSTRUCTOR,rt=q.REJECTION_EVENT,ot=q.SUBCLASSING,ut=Y.getterFor(ht),mt=Y.set,K=Q&&Q.prototype,J=Q,Mt=K,xt=g.TypeError,lt=g.document,vt=g.process,I=Z.f,ct=I,Ft=!!(lt&<.createEvent&&g.dispatchEvent),Ct="unhandledrejection",ve=function(X){var it;return!(!w(X)||!P(it=X.then))&&it},ce=function(X,it){var Ht,Ge,te,dt=it.value,pt=1===it.state,bt=pt?X.ok:X.fail,pe=X.resolve,Ve=X.reject,ye=X.domain;try{bt?(pt||(2===it.rejection&&Gt(it),it.rejection=1),!0===bt?Ht=dt:(ye&&ye.enter(),Ht=bt(dt),ye&&(ye.exit(),te=!0)),Ht===X.promise?Ve(new xt("Promise-chain cycle")):(Ge=ve(Ht))?O(Ge,Ht,pe,Ve):pe(Ht)):Ve(dt)}catch(ze){ye&&!te&&ye.exit(),Ve(ze)}},ge=function(X,it){X.notified||(X.notified=!0,H(function(){for(var pt,dt=X.reactions;pt=dt.get();)ce(pt,X);X.notified=!1,it&&!X.rejection&&be(X)}))},$t=function(X,it,dt){var pt,bt;Ft?((pt=lt.createEvent("Event")).promise=it,pt.reason=dt,pt.initEvent(X,!1,!0),g.dispatchEvent(pt)):pt={promise:it,reason:dt},!rt&&(bt=g["on"+X])?bt(pt):X===Ct&&G("Unhandled promise rejection",dt)},be=function(X){O(F,g,function(){var bt,it=X.facade,dt=X.value;if(je(X)&&(bt=L(function(){c?vt.emit("unhandledRejection",dt,it):$t(Ct,it,dt)}),X.rejection=c||je(X)?2:1,bt.error))throw bt.value})},je=function(X){return 1!==X.rejection&&!X.parent},Gt=function(X){O(F,g,function(){var it=X.facade;c?vt.emit("rejectionHandled",it):$t("rejectionhandled",it,X.value)})},de=function(X,it,dt){return function(pt){X(it,pt,dt)}},ie=function(X,it,dt){X.done||(X.done=!0,dt&&(X=dt),X.value=it,X.state=2,ge(X,!0))},Ce=function(X,it,dt){if(!X.done){X.done=!0,dt&&(X=dt);
vendor: 6,166 bytes, line 1
1try{if(X.facade===it)throw new xt("Promise can't be resolved itself");var pt=ve(it);pt?H(function(){var bt={done:!1};try{O(pt,it,de(Ce,bt,X),de(ie,bt,X))}catch(pe){ie(bt,pe,X)}}):(X.value=it,X.state=1,ge(X,!1))}catch(bt){ie({done:!1},bt,X)}}};if(_&&(J=function(it){M(this,Mt),R(it),O(_t,this);var dt=ut(this);try{it(de(Ce,dt),de(ie,dt))}catch(pt){ie(dt,pt)}},(_t=function(it){mt(this,{type:ht,done:!1,notified:!1,parent:!1,reactions:new z,rejection:!1,state:0,value:null})}).prototype=m(Mt=J.prototype,"then",function(it,dt){var pt=ut(this),bt=I(V(this,J));return pt.parent=!0,bt.ok=!P(it)||it,bt.fail=P(dt)&&dt,bt.domain=c?vt.domain:void 0,0===pt.state?pt.reactions.add(bt):H(function(){ce(bt,pt)}),bt.promise}),he=function(){var X=new _t,it=ut(X);this.promise=X,this.resolve=de(Ce,it),this.reject=de(ie,it)},Z.f=I=function(X){return X===J||X===fe?new he(X):ct(X)},!f&&P(Q)&&K!==Object.prototype)){kt=K.then,ot||m(K,"then",function(it,dt){var pt=this;return new J(function(bt,pe){O(kt,pt,bt,pe)}).then(it,dt)},{unsafe:!0});try{delete K.constructor}catch{}b&&b(K,Mt)}h({global:!0,constructor:!0,wrap:!0,forced:_},{Promise:J}),fe=y.Promise,C(J,ht,!1,!0),A(ht)},3362:(d,S,n)=>{"use strict";n(10436),n(16499),n(82003),n(7743),n(51481),n(40280)},7743:(d,S,n)=>{"use strict";var h=n(46518),f=n(69565),c=n(79306),g=n(36043),y=n(1103),O=n(72652);h({target:"Promise",stat:!0,forced:n(90537)},{race:function(C){var A=this,R=g.f(A),P=R.reject,w=y(function(){var M=c(A.resolve);O(C,function(V){f(M,A,V).then(R.resolve,P)})});return w.error&&P(w.value),R.promise}})},51481:(d,S,n)=>{"use strict";var h=n(46518),f=n(36043);h({target:"Promise",stat:!0,forced:n(10916).CONSTRUCTOR},{reject:function(y){var O=f.f(this);return(0,O.reject)(y),O.promise}})},40280:(d,S,n)=>{"use strict";var h=n(46518),f=n(97751),c=n(96395),g=n(80550),y=n(10916).CONSTRUCTOR,O=n(93438),m=f("Promise"),b=c&&!y;h({target:"Promise",stat:!0,forced:c||y},{resolve:function(A){return O(b&&this===m?g:this,A)}})},27495:(d,S,n)=>{"use strict";var h=n(46518),f=n(57323);h({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},38781:(d,S,n)=>{"use strict";var h=n(10350).PROPER,f=n(36840),c=n(28551),g=n(655),y=n(79039),O=n(61034),m="toString",b=RegExp.prototype,C=b[m];(y(function(){return"/a/b"!==C.call({source:"a",flags:"b"})})||h&&C.name!==m)&&f(b,m,function(){var w=c(this);return"/"+g(w.source)+"/"+g(O(w))},{unsafe:!0})},99449:(d,S,n)=>{"use strict";var M,h=n(46518),f=n(27476),c=n(77347).f,g=n(18014),y=n(655),O=n(60511),m=n(67750),b=n(41436),C=n(96395),A=f("".slice),R=Math.min,P=b("endsWith");h({target:"String",proto:!0,forced:!(!C&&!P&&(M=c(String.prototype,"endsWith"),M&&!M.writable)||P)},{endsWith:function(V){var F=y(m(this));O(V);var H=arguments.length>1?arguments[1]:void 0,G=F.length,L=void 0===H?G:R(g(H),G),z=y(V);return A(F,L-z.length,L)===z}})},21699:(d,S,n)=>{"use strict";var h=n(46518),f=n(79504),c=n(60511),g=n(67750),y=n(655),O=n(41436),m=f("".indexOf);h({target:"String",proto:!0,forced:!O("includes")},{includes:function(C){return!!~m(y(g(this)),y(c(C)),arguments.length>1?arguments[1]:void 0)}})},71761:(d,S,n)=>{"use strict";var h=n(69565),f=n(79504),c=n(89228),g=n(28551),y=n(20034),O=n(18014),m=n(655),b=n(67750),C=n(55966),A=n(57829),R=n(61034),P=n(56682),w=f("".indexOf);c("match",function(M,V,F){return[function(G){var L=b(this),z=y(G)?C(G,M):void 0;return z?h(z,G,L):new RegExp(G)[M](m(L))},function(H){var G=g(this),L=m(H),z=F(V,G,L);if(z.done)return z.value;var Y=m(R(G));if(-1===w(Y,"g"))return P(G,L);var Q=-1!==w(Y,"u");G.lastIndex=0;for(var ht,q=[],Z=0;null!==(ht=P(G,L));){var _=m(ht[0]);q[Z]=_,""===_&&(G.lastIndex=A(L,O(G.lastIndex),Q)),Z++}return 0===Z?null:q}]})},25440:(d,S,n)=>{"use strict";var h=n(18745),f=n(69565),c=n(79504),g=n(89228),y=n(79039),O=n(28551),m=n(94901),b=n(20034),C=n(91291),A=n(18014),R=n(655),P=n(67750),w=n(57829),M=n(55966),V=n(2478),F=n(61034),H=n(56682),L=n(78227)("replace"),z=Math.max,Y=Math.min,Q=c([].concat),q=c([].push),Z=c("".indexOf),ht=c("".slice),_=function(mt){return void 0===mt?mt:String(mt)},rt="$0"==="a".replace(/./,"$0"),ot=!!/./[L]&&""===/./[L]("a","$0");g("replace",function(mt,K,J){var Mt=ot?"$":"$0";return[function(lt,vt){var I=P(this),ct=b(lt)?M(lt,L):void 0;return ct?f(ct,lt,I,vt):f(K,R(I),lt,vt)},function(xt,lt){var vt=O(this),I=R(xt);if("string"==typeof lt&&-1===Z(lt,Mt)&&-1===Z(lt,"$<")){var ct=J(K,vt,I,lt);if(ct.done)return ct.value}var Ft=m(lt);Ft||(lt=R(lt));var qt,Ct=R(F(vt)),wt=-1!==Z(Ct,"g");wt&&(qt=-1!==Z(Ct,"u"),vt.lastIndex=0);for(var Kt,ae=[];null!==(Kt=H(vt,I))&&(q(ae,Kt),wt);)""===R(Kt[0])&&(vt.lastIndex=w(I,A(vt.lastIndex),qt));for(var le="",_t=0,he=0;he<ae.length;he++){for(var ce,fe=R((Kt=ae[he])[0]),kt=z(Y(C(Kt.index),I.length),0),ve=[],ge=1;ge<Kt.length;ge++)q(ve,_(Kt[ge]));var $t=Kt.groups;if(Ft){var be=Q([fe],ve,kt,I);void 0!==$t&&q(be,$t),ce=R(h(lt,void 0,be))}else ce=V(fe,I,kt,ve,$t,lt);kt>=_t&&(le+=ht(I,_t,kt)+ce,_t=kt+fe.length)}return le+ht(I,_t)}]},!!y(function(){var mt=/./;return mt.exec=function(){var K=[];return K.groups={a:"7"},K},"7"!=="".replace(mt,"$<a>")})||!rt||ot)},90744:(d,S,n)=>{"use strict";var h=n(69565),f=n(79504),c=n(89228),g=n(28551),y=n(20034),O=n(67750),m=n(2293),b=n(57829),C=n(18014),A=n(655),R=n(55966),P=n(56682),w=n(58429),M=n(79039),V=w.UNSUPPORTED_Y,H=Math.min,G=f([].push),L=f("".slice),z=!M(function(){var Q=/(?:)/,q=Q.exec;Q.exec=function(){return q.apply(this,arguments)};var Z="ab".split(Q);return 2!==Z.length||"a"!==Z[0]||"b"!==Z[1]}),Y="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;c("split",function(Q,q,Z){var ht="0".split(void 0,0).length?function(_,rt){return void 0===_&&0===rt?[]:h(q,this,_,rt)}:q;return[function(rt,ot){var ut=O(this),mt=y(rt)?R(rt,Q):void 0;return mt?h(mt,rt,ut,ot):h(ht,A(ut),rt,ot)},function(_,rt){var ot=g(this),ut=A(_);if(!Y){var mt=Z(ht,ot,ut,rt,ht!==q);if(mt.done)return mt.value}var K=m(ot,RegExp),J=ot.unicode,xt=new K(V?"^(?:"+ot.source+")":ot,(ot.ignoreCase?"i":"")+(ot.multiline?"m":"")+(ot.unicode?"u":"")+(V?"g":"y")),lt=void 0===rt?4294967295:rt>>>0;
vendor: 4,921 bytes, line 1
1if(0===lt)return[];if(0===ut.length)return null===P(xt,ut)?[ut]:[];for(var vt=0,I=0,ct=[];I<ut.length;){xt.lastIndex=V?0:I;var Ct,Ft=P(xt,V?L(ut,I):ut);if(null===Ft||(Ct=H(C(xt.lastIndex+(V?I:0)),ut.length))===vt)I=b(ut,I,J);else{if(G(ct,L(ut,vt,I)),ct.length===lt)return ct;for(var wt=1;wt<=Ft.length-1;wt++)if(G(ct,Ft[wt]),ct.length===lt)return ct;I=vt=Ct}}return G(ct,L(ut,vt)),ct}]},Y||!z,V)},11392:(d,S,n)=>{"use strict";var M,h=n(46518),f=n(27476),c=n(77347).f,g=n(18014),y=n(655),O=n(60511),m=n(67750),b=n(41436),C=n(96395),A=f("".slice),R=Math.min,P=b("startsWith");h({target:"String",proto:!0,forced:!(!C&&!P&&(M=c(String.prototype,"startsWith"),M&&!M.writable)||P)},{startsWith:function(V){var F=y(m(this));O(V);var H=g(R(arguments.length>1?arguments[1]:void 0,F.length)),G=y(V);return A(F,H,H+G.length)===G}})},42762:(d,S,n)=>{"use strict";var h=n(46518),f=n(43802).trim;h({target:"String",proto:!0,forced:n(60706)("trim")},{trim:function(){return f(this)}})},62953:(d,S,n)=>{"use strict";var h=n(44576),f=n(45019),c=n(79296),g=n(23792),y=n(66699),O=n(10687),b=n(78227)("iterator"),C=g.values,A=function(P,w){if(P){if(P[b]!==C)try{y(P,b,C)}catch{P[b]=C}if(O(P,w,!0),f[w])for(var M in g)if(P[M]!==g[M])try{y(P,M,g[M])}catch{P[M]=g[M]}}};for(var R in f)A(h[R]&&h[R].prototype,R);A(c,"DOMTokenList")},34687:(d,S,n)=>{"use strict";n.r(S),n.d(S,{AElement:()=>rn,AnimateColorElement:()=>Zr,AnimateElement:()=>Ke,AnimateTransformElement:()=>Jr,BoundingBox:()=>Zt,CB1:()=>ir,CB2:()=>sr,CB3:()=>or,CB4:()=>ur,Canvg:()=>Re,CircleElement:()=>Gr,ClipPathElement:()=>cn,DefsElement:()=>Wr,DescElement:()=>En,Document:()=>On,Element:()=>Rt,EllipseElement:()=>zr,FeColorMatrixElement:()=>xr,FeCompositeElement:()=>yn,FeDropShadowElement:()=>dn,FeGaussianBlurElement:()=>mn,FeMorphologyElement:()=>pn,FilterElement:()=>gn,Font:()=>Ae,FontElement:()=>qr,FontFaceElement:()=>_r,GElement:()=>Qe,GlyphElement:()=>dr,GradientElement:()=>mr,ImageElement:()=>sn,LineElement:()=>$r,LinearGradientElement:()=>Qr,MarkerElement:()=>Xr,MaskElement:()=>fn,Matrix:()=>cr,MissingGlyphElement:()=>tn,Mouse:()=>Mr,PSEUDO_ZERO:()=>te,Parser:()=>Xe,PathElement:()=>Et,PathParser:()=>nt,PatternElement:()=>Yr,Point:()=>Pt,PolygonElement:()=>Hr,PolylineElement:()=>yr,Property:()=>et,QB1:()=>lr,QB2:()=>hr,QB3:()=>fr,RadialGradientElement:()=>Kr,RectElement:()=>pr,RenderedElement:()=>me,Rotate:()=>Lr,SVGElement:()=>De,SVGFontLoader:()=>un,Scale:()=>Br,Screen:()=>vr,Skew:()=>gr,SkewX:()=>Fr,SkewY:()=>Ur,StopElement:()=>kr,StyleElement:()=>ln,SymbolElement:()=>on,TRefElement:()=>en,TSpanElement:()=>$e,TextElement:()=>se,TextPathElement:()=>an,TitleElement:()=>xn,Transform:()=>We,Translate:()=>Dr,UnknownElement:()=>jr,UseElement:()=>hn,ViewPort:()=>Ir,compressSpaces:()=>$t,default:()=>Re,getSelectorSpecificity:()=>Ge,normalizeAttributeName:()=>ie,normalizeColor:()=>X,parseExternalUrl:()=>Ce,presets:()=>ge,toNumbers:()=>Gt,trimLeft:()=>be,trimRight:()=>je,vectorMagnitude:()=>ze,vectorsAngle:()=>ar,vectorsRatio:()=>Ye}),n(3362);var f=n(10467),b=(n(71761),n(25440),n(11392),n(23792),n(62953),n(11660)),P=(n(72712),n(99449),n(90744),n(54361)),M=(n(42762),n(96310)),G=(n(25276),n(21699),n(94490),function(l,t){return(G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])})(l,t)});function L(l,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=l}G(l,t),l.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}function Y(l,t){var e=l[0],r=l[1];return[e*Math.cos(t)-r*Math.sin(t),e*Math.sin(t)+r*Math.cos(t)]}function Q(){for(var l=[],t=0;t<arguments.length;t++)l[t]=arguments[t];for(var e=0;e<l.length;e++)if("number"!=typeof l[e])throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof l[e]+" == typeof "+l[e]);return!0}var q=Math.PI;function Z(l,t,e){l.lArcFlag=0===l.lArcFlag?0:1,l.sweepFlag=0===l.sweepFlag?0:1;var r=l.rX,a=l.rY,i=l.x,o=l.y;r=Math.abs(l.rX),a=Math.abs(l.rY);var s=Y([(t-i)/2,(e-o)/2],-l.xRot/180*q),u=s[0],v=s[1],p=Math.pow(u,2)/Math.pow(r,2)+Math.pow(v,2)/Math.pow(a,2);1<p&&(r*=Math.sqrt(p),a*=Math.sqrt(p)),l.rX=r,l.rY=a;var E=Math.pow(r,2)*Math.pow(v,2)+Math.pow(a,2)*Math.pow(u,2),T=(l.lArcFlag!==l.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(a,2)-E)/E)),x=r*v/a*T,N=-a*u/r*T,D=Y([x,N],l.xRot/180*q);l.cX=D[0]+(t+i)/2,l.cY=D[1]+(e+o)/2,l.phi1=Math.atan2((v-N)/a,(u-x)/r),l.phi2=Math.atan2((-v-N)/a,(-u-x)/r),0===l.sweepFlag&&l.phi2>l.phi1&&(l.phi2-=2*q),1===l.sweepFlag&&l.phi2<l.phi1&&(l.phi2+=2*q),l.phi1*=180/q,l.phi2*=180/q}function ht(l,t,e){Q(l,t,e);var r=l*l+t*t-e*e;if(0>r)return[];if(0===r)return[[l*e/(l*l+t*t),t*e/(l*l+t*t)]];var a=Math.sqrt(r);return[[(l*e+t*a)/(l*l+t*t),(t*e-l*a)/(l*l+t*t)],[(l*e-t*a)/(l*l+t*t),(t*e+l*a)/(l*l+t*t)]]}
vendor: 4,170 bytes, line 1
1var _,rt=Math.PI/180;function ot(l,t,e){return(1-e)*l+e*t}function ut(l,t,e,r){return l+Math.cos(r/180*q)*t+Math.sin(r/180*q)*e}function mt(l,t,e,r){var a=1e-6,i=t-l,o=e-t,s=3*i+3*(r-e)-6*o,u=6*(o-i),v=3*i;return Math.abs(s)<a?[-v/u]:function(p,E,T){void 0===T&&(T=1e-6);var x=p*p/4-E;if(x<-T)return[];if(x<=T)return[-p/2];var N=Math.sqrt(x);return[-p/2-N,-p/2+N]}(u/s,v/s,a)}function K(l,t,e,r,a){var i=1-a;return l*(i*i*i)+t*(3*i*i*a)+e*(3*i*a*a)+r*(a*a*a)}!function(l){function t(){return a(function(s,u,v){return s.relative&&(void 0!==s.x1&&(s.x1+=u),void 0!==s.y1&&(s.y1+=v),void 0!==s.x2&&(s.x2+=u),void 0!==s.y2&&(s.y2+=v),void 0!==s.x&&(s.x+=u),void 0!==s.y&&(s.y+=v),s.relative=!1),s})}function e(){var s=NaN,u=NaN,v=NaN,p=NaN;return a(function(E,T,x){return E.type&I.SMOOTH_CURVE_TO&&(E.type=I.CURVE_TO,s=isNaN(s)?T:s,u=isNaN(u)?x:u,E.x1=E.relative?T-s:2*T-s,E.y1=E.relative?x-u:2*x-u),E.type&I.CURVE_TO?(s=E.relative?T+E.x2:E.x2,u=E.relative?x+E.y2:E.y2):(s=NaN,u=NaN),E.type&I.SMOOTH_QUAD_TO&&(E.type=I.QUAD_TO,v=isNaN(v)?T:v,p=isNaN(p)?x:p,E.x1=E.relative?T-v:2*T-v,E.y1=E.relative?x-p:2*x-p),E.type&I.QUAD_TO?(v=E.relative?T+E.x1:E.x1,p=E.relative?x+E.y1:E.y1):(v=NaN,p=NaN),E})}function r(){var s=NaN,u=NaN;return a(function(v,p,E){if(v.type&I.SMOOTH_QUAD_TO&&(v.type=I.QUAD_TO,s=isNaN(s)?p:s,u=isNaN(u)?E:u,v.x1=v.relative?p-s:2*p-s,v.y1=v.relative?E-u:2*E-u),v.type&I.QUAD_TO){s=v.relative?p+v.x1:v.x1,u=v.relative?E+v.y1:v.y1;var T=v.x1,x=v.y1;v.type=I.CURVE_TO,v.x1=((v.relative?0:p)+2*T)/3,v.y1=((v.relative?0:E)+2*x)/3,v.x2=(v.x+2*T)/3,v.y2=(v.y+2*x)/3}else s=NaN,u=NaN;return v})}function a(s){var u=0,v=0,p=NaN,E=NaN;return function(T){if(isNaN(p)&&!(T.type&I.MOVE_TO))throw new Error("path must start with moveto");var x=s(T,u,v,p,E);return T.type&I.CLOSE_PATH&&(u=p,v=E),void 0!==T.x&&(u=T.relative?u+T.x:T.x),void 0!==T.y&&(v=T.relative?v+T.y:T.y),T.type&I.MOVE_TO&&(p=u,E=v),x}}function i(s,u,v,p,E,T){return Q(s,u,v,p,E,T),a(function(x,N,D,B){var U=x.x1,k=x.x2,$=x.relative&&!isNaN(B),j=void 0!==x.x?x.x:$?0:N,tt=void 0!==x.y?x.y:$?0:D;function at(jt){return jt*jt}x.type&I.HORIZ_LINE_TO&&0!==u&&(x.type=I.LINE_TO,x.y=x.relative?0:D),x.type&I.VERT_LINE_TO&&0!==v&&(x.type=I.LINE_TO,x.x=x.relative?0:N),void 0!==x.x&&(x.x=x.x*s+tt*v+($?0:E)),void 0!==x.y&&(x.y=j*u+x.y*p+($?0:T)),void 0!==x.x1&&(x.x1=x.x1*s+x.y1*v+($?0:E)),void 0!==x.y1&&(x.y1=U*u+x.y1*p+($?0:T)),void 0!==x.x2&&(x.x2=x.x2*s+x.y2*v+($?0:E)),void 0!==x.y2&&(x.y2=k*u+x.y2*p+($?0:T));var W=s*p-u*v;if(void 0!==x.xRot&&(1!==s||0!==u||0!==v||1!==p))if(0===W)delete x.rX,delete x.rY,delete x.xRot,delete x.lArcFlag,delete x.sweepFlag,x.type=I.LINE_TO;else{var st=x.xRot*Math.PI/180,ft=Math.sin(st),yt=Math.cos(st),Tt=1/at(x.rX),St=1/at(x.rY),Dt=at(yt)*Tt+at(ft)*St,Lt=2*ft*yt*(Tt-St),At=at(ft)*Tt+at(yt)*St,It=Dt*p*p-Lt*u*p+At*u*u,Nt=Lt*(s*p+u*v)-2*(Dt*v*p+At*s*u),Ut=Dt*v*v-Lt*s*v+At*s*s,Ot=(Math.atan2(Nt,It-Ut)+Math.PI)%Math.PI/2,gt=Math.sin(Ot),Bt=Math.cos(Ot);x.rX=Math.abs(W)/Math.sqrt(It*at(Bt)+Nt*gt*Bt+Ut*at(gt)),x.rY=Math.abs(W)/Math.sqrt(It*at(gt)-Nt*gt*Bt+Ut*at(Bt)),x.xRot=180*Ot/Math.PI}return void 0!==x.sweepFlag&&0>W&&(x.sweepFlag=+!x.sweepFlag),x})}l.ROUND=function(s){function u(v){return Math.round(v*s)/s}return void 0===s&&(s=1e13),Q(s),function(v){return void 0!==v.x1&&(v.x1=u(v.x1)),void 0!==v.y1&&(v.y1=u(v.y1)),void 0!==v.x2&&(v.x2=u(v.x2)),void 0!==v.y2&&(v.y2=u(v.y2)),void 0!==v.x&&(v.x=u(v.x)),void 0!==v.y&&(v.y=u(v.y)),void 0!==v.rX&&(v.rX=u(v.rX)),void 0!==v.rY&&(v.rY=u(v.rY)),v}},l.TO_ABS=t,l.TO_REL=function(){return a(function(s,u,v){return s.relative||(void 0!==s.x1&&(s.x1-=u),void 0!==s.y1&&(s.y1-=v),void 0!==s.x2&&(s.x2-=u),void 0!==s.y2&&(s.y2-=v),void 0!==s.x&&(s.x-=u),void 0!==s.y&&(s.y-=v),s.relative=!0),s})},l.NORMALIZE_HVZ=function(s,u,v){return void 0===s&&(s=!0),void 0===u&&(u=!0),void 0===v&&(v=!0),a(function(p,E,T,x,N){if(isNaN(x)&&!(p.type&I.MOVE_TO))throw new Error("path must start with moveto");return u&&p.type&I.HORIZ_LINE_TO&&(p.type=I.LINE_TO,p.y=p.relative?0:T),v&&p.type&I.VERT_LINE_TO&&(p.type=I.LINE_TO,p.x=p.relative?0:E),s&&p.type&I.CLOSE_PATH&&(p.type=I.LINE_TO,p.x=p.relative?x-E:x,p.y=p.relative?N-T:N),p.t
vendor: 60,012 bytes, line 1
1ype&I.ARC&&(0===p.rX||0===p.rY)&&(p.type=I.LINE_TO,delete p.rX,delete p.rY,delete p.xRot,delete p.lArcFlag,delete p.sweepFlag),p})},l.NORMALIZE_ST=e,l.QT_TO_C=r,l.INFO=a,l.SANITIZE=function(s){void 0===s&&(s=0),Q(s);var u=NaN,v=NaN,p=NaN,E=NaN;return a(function(T,x,N,D,B){var U=Math.abs,k=!1,$=0,j=0;if(T.type&I.SMOOTH_CURVE_TO&&($=isNaN(u)?0:x-u,j=isNaN(v)?0:N-v),T.type&(I.CURVE_TO|I.SMOOTH_CURVE_TO)?(u=T.relative?x+T.x2:T.x2,v=T.relative?N+T.y2:T.y2):(u=NaN,v=NaN),T.type&I.SMOOTH_QUAD_TO?(p=isNaN(p)?x:2*x-p,E=isNaN(E)?N:2*N-E):T.type&I.QUAD_TO?(p=T.relative?x+T.x1:T.x1,E=T.relative?N+T.y1:T.y2):(p=NaN,E=NaN),T.type&I.LINE_COMMANDS||T.type&I.ARC&&(0===T.rX||0===T.rY||!T.lArcFlag)||T.type&I.CURVE_TO||T.type&I.SMOOTH_CURVE_TO||T.type&I.QUAD_TO||T.type&I.SMOOTH_QUAD_TO){var tt=void 0===T.x?0:T.relative?T.x:T.x-x,at=void 0===T.y?0:T.relative?T.y:T.y-N;$=isNaN(p)?void 0===T.x1?$:T.relative?T.x:T.x1-x:p-x,j=isNaN(E)?void 0===T.y1?j:T.relative?T.y:T.y1-N:E-N;var W=void 0===T.x2?0:T.relative?T.x:T.x2-x,st=void 0===T.y2?0:T.relative?T.y:T.y2-N;U(tt)<=s&&U(at)<=s&&U($)<=s&&U(j)<=s&&U(W)<=s&&U(st)<=s&&(k=!0)}return T.type&I.CLOSE_PATH&&U(x-D)<=s&&U(N-B)<=s&&(k=!0),k?[]:T})},l.MATRIX=i,l.ROTATE=function(s,u,v){void 0===u&&(u=0),void 0===v&&(v=0),Q(s,u,v);var p=Math.sin(s),E=Math.cos(s);return i(E,p,-p,E,u-u*E+v*p,v-u*p-v*E)},l.TRANSLATE=function(s,u){return void 0===u&&(u=0),Q(s,u),i(1,0,0,1,s,u)},l.SCALE=function(s,u){return void 0===u&&(u=s),Q(s,u),i(s,0,0,u,0,0)},l.SKEW_X=function(s){return Q(s),i(1,0,Math.atan(s),1,0,0)},l.SKEW_Y=function(s){return Q(s),i(1,Math.atan(s),0,1,0,0)},l.X_AXIS_SYMMETRY=function(s){return void 0===s&&(s=0),Q(s),i(-1,0,0,1,s,0)},l.Y_AXIS_SYMMETRY=function(s){return void 0===s&&(s=0),Q(s),i(1,0,0,-1,0,s)},l.A_TO_C=function(){return a(function(s,u,v){return I.ARC===s.type?function(p,E,T){var x,N,D,B;p.cX||Z(p,E,T);for(var U=Math.min(p.phi1,p.phi2),k=Math.max(p.phi1,p.phi2)-U,$=Math.ceil(k/90),j=new Array($),tt=E,at=T,W=0;W<$;W++){var st=ot(p.phi1,p.phi2,W/$),ft=ot(p.phi1,p.phi2,(W+1)/$),Tt=4/3*Math.tan((ft-st)*rt/4),St=[Math.cos(st*rt)-Tt*Math.sin(st*rt),Math.sin(st*rt)+Tt*Math.cos(st*rt)],Dt=St[0],Lt=St[1],At=[Math.cos(ft*rt),Math.sin(ft*rt)],It=At[0],Nt=At[1],Ut=[It+Tt*Math.sin(ft*rt),Nt-Tt*Math.cos(ft*rt)],Ot=Ut[0],gt=Ut[1];j[W]={relative:p.relative,type:I.CURVE_TO};var Bt=function(jt,Yt){var zt=Y([jt*p.rX,Yt*p.rY],p.xRot);return[p.cX+zt[0],p.cY+zt[1]]};x=Bt(Dt,Lt),j[W].x1=x[0],j[W].y1=x[1],N=Bt(Ot,gt),j[W].x2=N[0],j[W].y2=N[1],D=Bt(It,Nt),j[W].x=D[0],j[W].y=D[1],p.relative&&(j[W].x1-=tt,j[W].y1-=at,j[W].x2-=tt,j[W].y2-=at,j[W].x-=tt,j[W].y-=at),tt=(B=[j[W].x,j[W].y])[0],at=B[1]}return j}(s,s.relative?0:u,s.relative?0:v):s})},l.ANNOTATE_ARCS=function(){return a(function(s,u,v){return s.relative&&(u=0,v=0),I.ARC===s.type&&Z(s,u,v),s})},l.CLONE=function o(){return function(s){var u={};for(var v in s)u[v]=s[v];return u}},l.CALCULATE_BOUNDS=function(){var u=t(),v=r(),p=e(),E=a(function(T,x,N){var D=p(v(u(function(T){var x={};for(var N in T)x[N]=T[N];return x}(T))));function B(gt){gt>E.maxX&&(E.maxX=gt),gt<E.minX&&(E.minX=gt)}function U(gt){gt>E.maxY&&(E.maxY=gt),gt<E.minY&&(E.minY=gt)}if(D.type&I.DRAWING_COMMANDS&&(B(x),U(N)),D.type&I.HORIZ_LINE_TO&&B(D.x),D.type&I.VERT_LINE_TO&&U(D.y),D.type&I.LINE_TO&&(B(D.x),U(D.y)),D.type&I.CURVE_TO){B(D.x),U(D.y);for(var k=0,$=mt(x,D.x1,D.x2,D.x);k<$.length;k++)0<(Ot=$[k])&&1>Ot&&B(K(x,D.x1,D.x2,D.x,Ot));for(var j=0,tt=mt(N,D.y1,D.y2,D.y);j<tt.length;j++)0<(Ot=tt[j])&&1>Ot&&U(K(N,D.y1,D.y2,D.y,Ot))}if(D.type&I.ARC){B(D.x),U(D.y),Z(D,x,N);for(var at=D.xRot/180*Math.PI,W=Math.cos(at)*D.rX,st=Math.sin(at)*D.rX,ft=-Math.sin(at)*D.rY,yt=Math.cos(at)*D.rY,Tt=D.phi1<D.phi2?[D.phi1,D.phi2]:-180>D.phi2?[D.phi2+360,D.phi1+360]:[D.phi2,D.phi1],St=Tt[0],Dt=Tt[1],Lt=function(gt){var Yt=180*Math.atan2(gt[1],gt[0])/Math.PI;return Yt<St?Yt+360:Yt},At=0,It=ht(ft,-W,0).map(Lt);At<It.length;At++)(Ot=It[At])>St&&Ot<Dt&&B(ut(D.cX,W,ft,Ot));for(var Nt=0,Ut=ht(yt,-st,0).map(Lt);Nt<Ut.length;Nt++){var Ot;(Ot=Ut[Nt])>St&&Ot<Dt&&U(ut(D.cY,st,yt,Ot))}}return T});return E.minX=1/0,E.maxX=-1/0,E.minY=1/0,E.maxY=-1/0,E}}(_||(_={}));var J,Mt=function(){function l(){}return l.prototype.round=function(t){return this.transform(_.ROUND(t))},l.prototype.toAbs=function(){return this.transform(_.TO_ABS())},l.prototype.toRel=function(){return this.transform(_.TO_REL())},l.prototype.normalizeHVZ=function(t,e,r){return this.transform(_.NORMALIZE_HVZ(t,e,r))},l.prototype.normalizeST=function(){return this.transform(_.NORMALIZE_ST())},l.prototype.qtToC=function(){return this.transform(_.QT_TO_C())},l.prototype.aToC=function(){return this.transform(_.A_TO_C())},l.prototype.sanitize=function(t){return this.transform(_.SANITIZE(t))},l.prototype.translate=function(t,e){return this.transform(_.TRANSLATE(t,e))},l.prototype.scale=function(t,e){return this.transform(_.SCALE(t,e))},l.prototype.rotate=function(t,e,r){return this.transform(_.ROTATE(t,e,r))},l.prototype.matrix=function(t,e,r,a,i,o){return this.transform(_.MATRIX(t,e,r,a,i,o))},l.prototype.skewX=function(t){return this.transform(_.SKEW_X(t))},l.prototype.skewY=function(t){return this.transform(_.SKEW_Y(t))},l.prototype.xSymmetry=function(t){return this.transform(_.X_AXIS_SYMMETRY(t))},l.prototype.ySymmetry=function(t){return this.transform(_.Y_AXIS_SYMMETRY(t))},l.prototype.annotateArcs=function(){return this.transform(_.ANNOTATE_ARCS())},l}(),xt=function(l){return" "===l||"\t"===l||"\r"===l||"\n"===l},lt=function(l){return 48<=l.charCodeAt(0)&&l.charCodeAt(0)<=57},vt=function(l){function t(){var e=l.call(this)||this;return e.curNumber="",e.curCommandType=-1,e.curCommandRelative=!1,e.canParseCommandOrComma=!0,e.curNumberHasExp=!1,e.curNumberHasExpDigits=!1,e.curNumberHasDecimal=!1,e.curArgs=[],e}return L(t,l),t.prototype.finish=function(e){if(void 0===e&&(e=[]),this.parse(" ",e),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return e},t.prototype.parse=function(e,r){var a=this;void 0===r&&(r=[]);for(var i=function(E){r.push(E),a.curArgs.length=0,a.canParseCommandOrComma=!0},o=0;o<e.length;o++){var s=e[o],u=!(this.curCommandType!==I.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),v=lt(s)&&("0"===this.curNumber&&"0"===s||u);if(!lt(s)||v)if("e"!==s&&"E"!==s)if("-"!==s&&"+"!==s||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==s||this.curNumberHasExp||this.curNumberHasDecimal||u){if(this.curNumber&&-1!==this.curCommandType){var p=Number(this.curNumber);if(isNaN(p))throw new SyntaxError("Invalid number ending at "+o);if(this.curCommandType===I.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>p)throw new SyntaxError('Expected positive number, got "'+p+'" at index "'+o+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"');this.curArgs.push(p),this.curArgs.length===ct[this.curCommandType]&&(I.HORIZ_LINE_TO===this.curCommandType?i({type:I.HORIZ_LINE_TO,relative:this.curCommandRelative,x:p}):I.VERT_LINE_TO===this.curCommandType?i({type:I.VERT_LINE_TO,relative:this.curCommandRelative,y:p}):this.curCommandType===I.MOVE_TO||this.curCommandType===I.LINE_TO||this.curCommandType===I.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),I.MOVE_TO===this.curCommandType&&(this.curCommandType=I.LINE_TO)):this.curCommandType===I.CURVE_TO?i({type:I.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===I.SMOOTH_CURVE_TO?i({type:I.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===I.QUAD_TO?i({type:I.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===I.ARC&&i({type:I.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(!xt(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(v)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=I.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=I.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=I.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=I.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=I.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=I.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=I.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=I.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=I.ARC,this.curCommandRelative="a"===s}else r.push({type:I.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(r,a){void 0===a&&(a=[]);for(var i=0,o=Object.getPrototypeOf(this).parse.call(this,r);i<o.length;i++){var u=e(o[i]);Array.isArray(u)?a.push.apply(a,u):a.push(u)}return a}}})},t}(Mt),I=function(l){function t(e){var r=l.call(this)||this;return r.commands="string"==typeof e?t.parse(e):e,r}return L(t,l),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var e=_.CALCULATE_BOUNDS();return this.transform(e),e},t.prototype.transform=function(e){for(var r=[],a=0,i=this.commands;a<i.length;a++){var o=e(i[a]);Array.isArray(o)?r.push.apply(r,o):r.push(o)}return this.commands=r,this},t.encode=function(e){return function z(l){var t="";Array.isArray(l)||(l=[l]);for(var e=0;e<l.length;e++){var r=l[e];if(r.type===I.CLOSE_PATH)t+="z";else if(r.type===I.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===I.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===I.MOVE_TO)t+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===I.LINE_TO)t+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===I.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===I.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===I.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===I.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==I.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+e+".");t+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return t}(e)},t.parse=function(e){var r=new vt,a=[];return r.parse(e,a),r.finish(a),a},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}(Mt),ct=((J={})[I.MOVE_TO]=2,J[I.LINE_TO]=2,J[I.HORIZ_LINE_TO]=1,J[I.VERT_LINE_TO]=1,J[I.CLOSE_PATH]=0,J[I.QUAD_TO]=4,J[I.SMOOTH_QUAD_TO]=2,J[I.CURVE_TO]=6,J[I.SMOOTH_CURVE_TO]=4,J[I.ARC]=7,J);function Ct(l){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(l)}n(38781);var qt=[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],ae=[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 le(l,t,e,r,a,i){if(!(isNaN(i)||i<1)){i|=0;var o=function ue(l,t,e,r,a){if("string"==typeof l&&(l=document.getElementById(l)),!l||"object"!==Ct(l)||!("getContext"in l))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=l.getContext("2d");try{return i.getImageData(t,e,r,a)}catch(o){throw new Error("unable to access image data: "+o)}}(l,t,e,r,a);o=function _t(l,t,e,r,a,i){for(var N,o=l.data,s=2*i+1,u=r-1,v=a-1,p=i+1,E=p*(p+1)/2,T=new kt,x=T,D=1;D<s;D++)x=x.next=new kt,D===p&&(N=x);x.next=T;for(var B=null,U=null,k=0,$=0,j=qt[i],tt=ae[i],at=0;at<a;at++){x=T;for(var W=o[$],st=o[$+1],ft=o[$+2],yt=o[$+3],Tt=0;Tt<p;Tt++)x.r=W,x.g=st,x.b=ft,x.a=yt,x=x.next;for(var St=0,Dt=0,Lt=0,At=0,It=p*W,Nt=p*st,Ut=p*ft,Ot=p*yt,gt=E*W,Bt=E*st,jt=E*ft,Yt=E*yt,zt=1;zt<p;zt++){var Xt=$+((u<zt?u:zt)<<2),Jt=o[Xt],ee=o[Xt+1],Le=o[Xt+2],Be=o[Xt+3],xe=p-zt;gt+=(x.r=Jt)*xe,Bt+=(x.g=ee)*xe,jt+=(x.b=Le)*xe,Yt+=(x.a=Be)*xe,St+=Jt,Dt+=ee,Lt+=Le,At+=Be,x=x.next}B=T,U=N;for(var Ee=0;Ee<r;Ee++){var Te=Yt*j>>>tt;if(o[$+3]=Te,0!==Te){var Oe=255/Te;o[$]=(gt*j>>>tt)*Oe,o[$+1]=(Bt*j>>>tt)*Oe,o[$+2]=(jt*j>>>tt)*Oe}else o[$]=o[$+1]=o[$+2]=0;gt-=It,Bt-=Nt,jt-=Ut,Yt-=Ot,It-=B.r,Nt-=B.g,Ut-=B.b,Ot-=B.a;var re=Ee+i+1;gt+=St+=B.r=o[re=k+(re<u?re:u)<<2],Bt+=Dt+=B.g=o[re+1],jt+=Lt+=B.b=o[re+2],Yt+=At+=B.a=o[re+3],B=B.next;var Fe=U.r,Ue=U.g,Ne=U.b,He=U.a;It+=Fe,Nt+=Ue,Ut+=Ne,Ot+=He,St-=Fe,Dt-=Ue,Lt-=Ne,At-=He,U=U.next,$+=4}k+=r}for(var ne=0;ne<r;ne++){var Ie=o[$=ne<<2],Me=o[$+1],we=o[$+2],Wt=o[$+3],Tr=p*Ie,Or=p*Me,Sr=p*we,br=p*Wt,qe=E*Ie,_e=E*Me,tr=E*we,er=E*Wt;x=T;for(var bn=0;bn<p;bn++)x.r=Ie,x.g=Me,x.b=we,x.a=Wt,x=x.next;for(var Cn=r,Cr=0,Ar=0,Pr=0,Rr=0,rr=1;rr<=i;rr++){var nr=p-rr;qe+=(x.r=Ie=o[$=Cn+ne<<2])*nr,_e+=(x.g=Me=o[$+1])*nr,tr+=(x.b=we=o[$+2])*nr,er+=(x.a=Wt=o[$+3])*nr,Rr+=Ie,Cr+=Me,Ar+=we,Pr+=Wt,x=x.next,rr<v&&(Cn+=r)}$=ne,B=T,U=N;for(var Nr=0;Nr<a;Nr++){var Qt=$<<2;o[Qt+3]=Wt=er*j>>>tt,Wt>0?(o[Qt]=(qe*j>>>tt)*(Wt=255/Wt),o[Qt+1]=(_e*j>>>tt)*Wt,o[Qt+2]=(tr*j>>>tt)*Wt):o[Qt]=o[Qt+1]=o[Qt+2]=0,qe-=Tr,_e-=Or,tr-=Sr,er-=br,Tr-=B.r,Or-=B.g,Sr-=B.b,br-=B.a,Qt=ne+((Qt=Nr+p)<v?Qt:v)*r<<2,qe+=Rr+=B.r=o[Qt],_e+=Cr+=B.g=o[Qt+1],tr+=Ar+=B.b=o[Qt+2],er+=Pr+=B.a=o[Qt+3],B=B.next,Tr+=Ie=U.r,Or+=Me=U.g,Sr+=we=U.b,br+=Wt=U.a,Rr-=Ie,Cr-=Me,Ar-=we,Pr-=Wt,U=U.next,$+=r}}return l}(o,0,0,r,a,i),l.getContext("2d").putImageData(o,t,e)}}var kt=function l(){(function wt(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")})(this,l),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null},ge=Object.freeze({__proto__:null,offscreen:function ve(){var{DOMParser:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:l,createCanvas:(e,r)=>new OffscreenCanvas(e,r),createImage:e=>(0,f.A)(function*(){var r=yield fetch(e),a=yield r.blob();return yield createImageBitmap(a)})()};return(typeof DOMParser<"u"||typeof l>"u")&&Reflect.deleteProperty(t,"DOMParser"),t},node:function ce(l){var{DOMParser:t,canvas:e,fetch:r}=l;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:e.createCanvas,createImage:e.loadImage}}});function $t(l){return l.replace(/(?!\u3000)\s+/gm," ")}function be(l){return l.replace(/^[\n \t]+/,"")}function je(l){return l.replace(/[\n \t]+$/,"")}function Gt(l){return((l||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var de=/^[A-Z-]+$/;function ie(l){return de.test(l)?l.toLowerCase():l}function Ce(l){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(l)||[];return t[2]||t[3]||t[4]}function X(l){if(!l.startsWith("rgb"))return l;var t=3;return l.replace(/\d+(\.\d+)?/g,(r,a)=>t--&&a?String(Math.round(parseFloat(r))):r)}var it=/(\[[^\]]+\])/g,dt=/(#[^\s+>~.[:]+)/g,pt=/(\.[^\s+>~.[:]+)/g,bt=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,pe=/(:[\w-]+\([^)]*\))/gi,Ve=/(:[^\s+>~.[:]+)/g,ye=/([^\s+>~.[:]+)/g;function Ht(l,t){var e=t.exec(l);return e?[l.replace(t," "),e.length]:[l,0]}function Ge(l){var t=[0,0,0],e=l.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[e,r]=Ht(e,it),t[1]+=r,[e,r]=Ht(e,dt),t[0]+=r,[e,r]=Ht(e,pt),t[1]+=r,[e,r]=Ht(e,bt),t[2]+=r,[e,r]=Ht(e,pe),t[1]+=r,[e,r]=Ht(e,Ve),t[1]+=r,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,r]=Ht(e,ye),t[2]+=r,t.join("")}var te=1e-8;function ze(l){return Math.sqrt(Math.pow(l[0],2)+Math.pow(l[1],2))}function Ye(l,t){return(l[0]*t[0]+l[1]*t[1])/(ze(l)*ze(t))}function ar(l,t){return(l[0]*t[1]<l[1]*t[0]?-1:1)*Math.acos(Ye(l,t))}function ir(l){return l*l*l}function sr(l){return 3*l*l*(1-l)}function or(l){return 3*l*(1-l)*(1-l)}function ur(l){return(1-l)*(1-l)*(1-l)}function lr(l){return l*l}function hr(l){return 2*l*(1-l)}function fr(l){return(1-l)*(1-l)}let et=(()=>{class l{constructor(e,r,a){this.document=e,this.name=r,this.value=a,this.isNormalizedColor=!1}static empty(e){return new l(e,"EMPTY","")}split(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:a}=this;return $t(this.getString()).trim().split(e).map(i=>new l(r,a,i))}hasValue(e){var{value:r}=this;return null!==r&&""!==r&&(e||0!==r)&&typeof r<"u"}isString(e){var{value:r}=this,a="string"==typeof r;return a&&e?e.test(r):a}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 typeof e>"u"||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var{value:r}=this,a=parseFloat(r);return this.isString(/%$/)&&(a/=100),a}getString(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}getColor(e){var r=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=X(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[a,i]="boolean"==typeof e?[void 0,e]:[e],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.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(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:var s=this.getNumber();return r&&s<1?s*o.computeSize(a):s}}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(),r=/#([^)'"]+)/.exec(e);return r&&(r=r[1]),r||(r=e),this.document.definitions[r]}getFillStyleDefinition(e,r){var a=this.getDefinition();if(!a)return null;if("function"==typeof a.createGradient)return a.createGradient(this.document.ctx,e,r);if("function"==typeof a.createPattern){if(a.getHrefAttribute().hasValue()){var i=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),i.hasValue()&&a.getAttribute("patternTransform",!0).setValue(i.value)}return a.createPattern(this.document.ctx,e,r)}return null}getTextBaseline(){return this.hasValue()?l.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var r=this.getColor(),a=r.length,i=0,o=0;o<a&&(","===r[o]&&i++,3!==i);o++);if(e.hasValue()&&this.isString()&&3!==i){var s=new M(r);s.ok&&(s.alpha=e.getNumber(),r=s.toRGBA())}return new l(this.document,this.name,r)}}return l.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"},l})();class Ir{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,e){this.viewPorts.push({width:t,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Pt{constructor(t,e){this.x=t,this.y=e}static parse(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[r=e,a=e]=Gt(t);return new Pt(r,a)}static parseScale(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[r=e,a=r]=Gt(t);return new Pt(r,a)}static parsePath(t){for(var e=Gt(t),r=e.length,a=[],i=0;i<r;i+=2)a.push(new Pt(e[i],e[i+1]));return a}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:e,y:r}=this,i=e*t[1]+r*t[3]+t[5];this.x=e*t[0]+r*t[2]+t[4],this.y=i}}class Mr{constructor(t){this.screen=t,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:t,onClick:e,onMouseMove:r}=this,a=t.ctx.canvas;a.onclick=e,a.onmousemove=r,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:a}=t.ctx.canvas;a&&(a.cursor=""),e.forEach((i,o)=>{for(var{run:s}=i,u=r[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(this.working&&e){var{events:r,eventElements:a}=this;r.forEach((i,o)=>{var{x:s,y:u}=i;!a[o]&&e.isPointInPath&&e.isPointInPath(s,u)&&(a[o]=t)})}}checkBoundingBox(t,e){if(this.working&&e){var{events:r,eventElements:a}=this;r.forEach((i,o)=>{var{x:s,y:u}=i;!a[o]&&e.isPointInBox(s,u)&&(a[o]=t)})}}mapXY(t,e){for(var{window:r,ctx:a}=this.screen,i=new Pt(t,e),o=a.canvas;o;)i.x-=o.offsetLeft,i.y-=o.offsetTop,o=o.offsetParent;return r.scrollX&&(i.x+=r.scrollX),r.scrollY&&(i.y+=r.scrollY),i}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:e,y:r,run(a){a.onClick&&a.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(a){a.onMouseMove&&a.onMouseMove()}})}}var wr=typeof window<"u"?window:null,Vr=typeof fetch<"u"?fetch.bind(void 0):null;let vr=(()=>{class l{constructor(e){var{fetch:r=Vr,window:a=wr}=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 Ir,this.mouse=new Mr(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=r}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(r=>r());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:r,ctx:a,aspectRatio:i,width:o,desiredWidth:s,height:u,desiredHeight:v,minX:p=0,minY:E=0,refX:T,refY:x,clip:N=!1,clipX:D=0,clipY:B=0}=e,U=$t(i).replace(/^defer\s/,""),[k,$]=U.split(" "),j=k||"xMidYMid",tt=$||"meet",at=o/s,W=u/v,st=Math.min(at,W),ft=Math.max(at,W),yt=s,Tt=v;"meet"===tt&&(yt*=st,Tt*=st),"slice"===tt&&(yt*=ft,Tt*=ft);var St=new et(r,"refX",T),Dt=new et(r,"refY",x),Lt=St.hasValue()&&Dt.hasValue();if(Lt&&a.translate(-st*St.getPixels("x"),-st*Dt.getPixels("y")),N){var At=st*D,It=st*B;a.beginPath(),a.moveTo(At,It),a.lineTo(o,It),a.lineTo(o,u),a.lineTo(At,u),a.closePath(),a.clip()}if(!Lt){var Nt="meet"===tt&&st===W,Ut="slice"===tt&&ft===W,Ot="meet"===tt&&st===at,gt="slice"===tt&&ft===at;j.startsWith("xMid")&&(Nt||Ut)&&a.translate(o/2-yt/2,0),j.endsWith("YMid")&&(Ot||gt)&&a.translate(0,u/2-Tt/2),j.startsWith("xMax")&&(Nt||Ut)&&a.translate(o-yt,0),j.endsWith("YMax")&&(Ot||gt)&&a.translate(0,u-Tt)}switch(!0){case"none"===j:a.scale(at,W);break;case"meet"===tt:a.scale(st,st);break;case"slice"===tt:a.scale(ft,ft)}a.translate(-p,-E)}start(e){var{enableRedraw:r=!1,ignoreMouse:a=!1,ignoreAnimation:i=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:v,scaleHeight:p,offsetX:E,offsetY:T}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:x,mouse:N}=this,D=1e3/x;if(this.frameDuration=D,this.readyPromise=new Promise(j=>{this.resolveReady=j}),this.isReady()&&this.render(e,o,s,v,p,E,T),r){var B=Date.now(),U=B,k=0,$=()=>{B=Date.now(),(k=B-U)>=D&&(U=B-k%D,this.shouldUpdate(i,u)&&(this.render(e,o,s,v,p,E,T),N.runEvents())),this.intervalId=P($)};a||N.start(),this.intervalId=P($)}}stop(){this.intervalId&&(P.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,r){if(!e){var{frameDuration:a}=this;if(this.animations.reduce((o,s)=>s.update(a)||o,!1))return!0}return!!("function"==typeof r&&r()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(e,r,a,i,o,s,u){var{CLIENT_WIDTH:v,CLIENT_HEIGHT:p,viewPort:E,ctx:T,isFirstRender:x}=this,N=T.canvas;E.clear(),N.width&&N.height?E.setCurrent(N.width,N.height):E.setCurrent(v,p);var D=e.getStyle("width"),B=e.getStyle("height");!r&&(x||"number"!=typeof i&&"number"!=typeof o)&&(D.hasValue()&&(N.width=D.getPixels("x"),N.style&&(N.style.width="".concat(N.width,"px"))),B.hasValue()&&(N.height=B.getPixels("y"),N.style&&(N.style.height="".concat(N.height,"px"))));var U=N.clientWidth||N.width,k=N.clientHeight||N.height;if(r&&D.hasValue()&&B.hasValue()&&(U=D.getPixels("x"),k=B.getPixels("y")),E.setCurrent(U,k),"number"==typeof s&&e.getAttribute("x",!0).setValue(s),"number"==typeof u&&e.getAttribute("y",!0).setValue(u),"number"==typeof i||"number"==typeof o){var $=Gt(e.getAttribute("viewBox").getString()),j=0,tt=0;if("number"==typeof i){var at=e.getStyle("width");at.hasValue()?j=at.getPixels("x")/i:isNaN($[2])||(j=$[2]/i)}if("number"==typeof o){var W=e.getStyle("height");W.hasValue()?tt=W.getPixels("y")/o:isNaN($[3])||(tt=$[3]/o)}j||(j=tt),tt||(tt=j),e.getAttribute("width",!0).setValue(i),e.getAttribute("height",!0).setValue(o);var st=e.getStyle("transform",!0,!0);st.setValue("".concat(st.getString()," scale(").concat(1/j,", ").concat(1/tt,")"))}a||T.clearRect(0,0,U,k),e.render(T),x&&(this.isFirstRender=!1)}}return l.defaultWindow=wr,l.defaultFetch=Vr,l})();var{defaultFetch:An}=vr,Pn=typeof DOMParser<"u"?DOMParser:null;class Xe{constructor(){var{fetch:t=An,DOMParser:e=Pn}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,f.A)(function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch{return this.checkDocument(e.parseFromString(t,"text/xml"))}}checkDocument(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,f.A)(function*(){var r=yield e.fetch(t),a=yield r.text();return e.parseFromString(a)})()}}class Dr{constructor(t,e){this.type="translate",this.point=null,this.point=Pt.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class Lr{constructor(t,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=Gt(e);this.angle=new et(t,"angle",a[0]),this.originX=r[0],this.originY=r[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(t){var{cx:e,cy:r,originX:a,originY:i,angle:o}=this,s=e+a.getPixels("x"),u=r+i.getPixels("y");t.translate(s,u),t.rotate(o.getRadians()),t.translate(-s,-u)}unapply(t){var{cx:e,cy:r,originX:a,originY:i,angle:o}=this,s=e+a.getPixels("x"),u=r+i.getPixels("y");t.translate(s,u),t.rotate(-1*o.getRadians()),t.translate(-s,-u)}applyToPoint(t){var{cx:e,cy:r,angle:a}=this,i=a.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class Br{constructor(t,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=Pt.parseScale(e);(0===a.x||0===a.y)&&(a.x=te,a.y=te),this.scale=a,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:a,originY:i}=this,o=a.getPixels("x"),s=i.getPixels("y");t.translate(o,s),t.scale(e,r||e),t.translate(-o,-s)}unapply(t){var{scale:{x:e,y:r},originX:a,originY:i}=this,o=a.getPixels("x"),s=i.getPixels("y");t.translate(o,s),t.scale(1/e,1/r||e),t.translate(-o,-s)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class cr{constructor(t,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Gt(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:a}=this,i=e.getPixels("x"),o=r.getPixels("y");t.translate(i,o),t.transform(a[0],a[1],a[2],a[3],a[4],a[5]),t.translate(-i,-o)}unapply(t){var{originX:e,originY:r,matrix:a}=this,i=a[0],o=a[2],s=a[4],u=a[1],v=a[3],p=a[5],N=1/(i*(1*v-0*p)-o*(1*u-0*p)+s*(0*u-0*v)),D=e.getPixels("x"),B=r.getPixels("y");t.translate(D,B),t.transform(N*(1*v-0*p),N*(0*p-1*u),N*(0*s-1*o),N*(1*i-0*s),N*(o*p-s*v),N*(s*u-i*p)),t.translate(-D,-B)}applyToPoint(t){t.applyTransform(this.matrix)}}class gr extends cr{constructor(t,e,r){super(t,e,r),this.type="skew",this.angle=null,this.angle=new et(t,"angle",e)}}class Fr extends gr{constructor(t,e,r){super(t,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Ur extends gr{constructor(t,e,r){super(t,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}let We=(()=>{class l{constructor(e,r,a){this.document=e,this.transforms=[];var i=function Rn(l){return $t(l).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);i.forEach(o=>{if("none"!==o){var[s,u]=function Nn(l){var[t,e]=l.split("(");return[t.trim(),e.trim().replace(")","")]}(o),v=l.transformTypes[s];typeof v<"u"&&this.transforms.push(new v(this.document,u,a))}})}static fromElement(e,r){var a=r.getStyle("transform",!1,!0),[i,o=i]=r.getStyle("transform-origin",!1,!0).split(),s=[i,o];return a.hasValue()?new l(e,a.getString(),s):null}apply(e){for(var{transforms:r}=this,a=r.length,i=0;i<a;i++)r[i].apply(e)}unapply(e){for(var{transforms:r}=this,i=r.length-1;i>=0;i--)r[i].unapply(e)}applyToPoint(e){for(var{transforms:r}=this,a=r.length,i=0;i<a;i++)r[i].applyToPoint(e)}}return l.transformTypes={translate:Dr,rotate:Lr,scale:Br,matrix:cr,skewX:Fr,skewY:Ur},l})(),Rt=(()=>{class l{constructor(e,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=e,this.node=r,this.captureTextNodes=a,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=[],r&&1===r.nodeType){Array.from(r.attributes).forEach(u=>{var v=ie(u.nodeName);this.attributes[v]=new et(e,v,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(u=>u.trim()).forEach(u=>{if(u){var[v,p]=u.split(":").map(E=>E.trim());this.styles[v]=new et(e,v,p)}});var{definitions:o}=e,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(r.childNodes).forEach(u=>{if(1===u.nodeType)this.addChild(u);else if(a&&(3===u.nodeType||4===u.nodeType)){var v=e.createTextNode(u);v.getText().length>0&&this.addChild(v)}})}}getAttribute(e){var a=this.attributes[e];if(!a&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var i=new et(this.document,e,"");return this.attributes[e]=i,i}return a||et.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return et.empty(this.document)}getStyle(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[e];if(i)return i;var o=this.getAttribute(e);if(null!=o&&o.hasValue())return this.styles[e]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(e);if(null!=u&&u.hasValue())return u}}if(r){var v=new et(this.document,e,"");return this.styles[e]=v,v}return i||et.empty(this.document)}render(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(e),a.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var r=We.fromElement(this.document,this);r&&r.apply(e);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var i=a.getDefinition();i&&i.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(r=>{r.render(e)})}addChild(e){var r=e instanceof l?e:this.document.createElement(e);r.parent=this,l.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(e){var r,{node:a}=this;if("function"==typeof a.matches)return a.matches(e);var i=null===(r=a.getAttribute)||void 0===r?void 0:r.call(a,"class");return!(!i||""===i)&&i.split(" ").some(o=>".".concat(o)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:r}=this.document;for(var a in e)if(!a.startsWith("@")&&this.matchesSelector(a)){var i=e[a],o=r[a];if(i)for(var s in i){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=i[s],this.stylesSpecificity[s]=o)}}}removeStyles(e,r){return r.reduce((i,o)=>{var s=e.getStyle(o);if(!s.hasValue())return i;var u=s.getString();return s.setValue(""),[...i,[o,u]]},[])}restoreStyles(e,r){r.forEach(a=>{var[i,o]=a;e.getStyle(i,!0).setValue(o)})}isFirstChild(){var e;return 0===(null===(e=this.parent)||void 0===e?void 0:e.children.indexOf(this))}}return l.ignoreChildTypes=["title"],l})();class jr extends Rt{constructor(t,e,r){super(t,e,r)}}function In(l){var t=l.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function Mn(l){return typeof process>"u"?l:l.trim().split(",").map(In).join(",")}function wn(l){if(!l)return"";var t=l.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function Vn(l){if(!l)return"";var t=l.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}let Ae=(()=>{class l{constructor(e,r,a,i,o,s){var u=s?"string"==typeof s?l.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=i||u.fontSize,this.fontStyle=e||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=r||u.fontVariant}static parse(){var r=arguments.length>1?arguments[1]:void 0,a="",i="",o="",s="",u="",v=$t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),p={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return v.forEach(E=>{switch(!0){case!p.fontStyle&&l.styles.includes(E):"inherit"!==E&&(a=E),p.fontStyle=!0;break;case!p.fontVariant&&l.variants.includes(E):"inherit"!==E&&(i=E),p.fontStyle=!0,p.fontVariant=!0;break;case!p.fontWeight&&l.weights.includes(E):"inherit"!==E&&(o=E),p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0;break;case!p.fontSize:"inherit"!==E&&([s]=E.split("/")),p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0,p.fontSize=!0;break;default:"inherit"!==E&&(u+=E)}}),new l(a,i,o,s,u,r)}toString(){return[wn(this.fontStyle),this.fontVariant,Vn(this.fontWeight),this.fontSize,Mn(this.fontFamily)].join(" ").trim()}}return l.styles="normal|italic|oblique|inherit",l.variants="normal|small-caps|inherit",l.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",l})();class Zt{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=a,this.addPoint(t,e),this.addPoint(r,a)}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(t,e){typeof t<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),typeof e<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:a,y2:i}=t;this.addPoint(e,r),this.addPoint(a,i)}}sumCubic(t,e,r,a,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*a+Math.pow(t,3)*i}bezierCurveAdd(t,e,r,a,i){var o=6*e-12*r+6*a,s=-3*e+9*r-9*a+3*i,u=3*r-3*e;if(0!==s){var p=Math.pow(o,2)-4*u*s;if(!(p<0)){var E=(-o+Math.sqrt(p))/(2*s);0<E&&E<1&&(t?this.addX(this.sumCubic(E,e,r,a,i)):this.addY(this.sumCubic(E,e,r,a,i)));var T=(-o-Math.sqrt(p))/(2*s);0<T&&T<1&&(t?this.addX(this.sumCubic(T,e,r,a,i)):this.addY(this.sumCubic(T,e,r,a,i)))}}else{if(0===o)return;var v=-u/o;0<v&&v<1&&(t?this.addX(this.sumCubic(v,e,r,a,i)):this.addY(this.sumCubic(v,e,r,a,i)))}}addBezierCurve(t,e,r,a,i,o,s,u){this.addPoint(t,e),this.addPoint(s,u),this.bezierCurveAdd(!0,t,r,i,s),this.bezierCurveAdd(!1,e,a,o,u)}addQuadraticCurve(t,e,r,a,i,o){var s=t+.6666666666666666*(r-t),u=e+2/3*(a-e);this.addBezierCurve(t,e,s,s+1/3*(i-t),u,u+1/3*(o-e),i,o)}isPointInBox(t,e){var{x1:r,y1:a,x2:i,y2:o}=this;return r<=t&&t<=i&&a<=e&&e<=o}}class nt extends I{constructor(t){super(t.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 Pt(0,0),this.control=new Pt(0,0),this.current=new Pt(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:e}=this;return t>=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var r=new Pt(this.command[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x"],this.command[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==I.CURVE_TO&&t!==I.SMOOTH_CURVE_TO&&t!==I.QUAD_TO&&t!==I.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:a,y:i}}=this;return new Pt(2*e-a,2*r-i)}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:a,angles:i}=this;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=a[a.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r<e;r++)if(!t[r])for(var a=r+1;a<e;a++)if(t[a]){t[r]=t[a];break}return t}}class me extends Rt{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),e=e.parent}return t}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),a=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,a);s&&(t.fillStyle=s)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();"inherit"!==u&&(t.fillStyle="none"===u?"rgba(0,0,0,0)":u)}if(a.hasValue()){var v=new et(this.document,"fill",t.fillStyle).addOpacity(a).getColor();t.fillStyle=v}if(i.isUrlDefinition()){var p=i.getFillStyleDefinition(this,o);p&&(t.strokeStyle=p)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var E=i.getString();"inherit"!==E&&(t.strokeStyle="none"===E?"rgba(0,0,0,0)":E)}if(o.hasValue()){var T=new et(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=T}var x=this.getStyle("stroke-width");if(x.hasValue()){var N=x.getPixels();t.lineWidth=N||te}var D=this.getStyle("stroke-linecap"),B=this.getStyle("stroke-linejoin"),U=this.getStyle("stroke-miterlimit"),k=this.getStyle("stroke-dasharray"),$=this.getStyle("stroke-dashoffset");if(D.hasValue()&&(t.lineCap=D.getString()),B.hasValue()&&(t.lineJoin=B.getString()),U.hasValue()&&(t.miterLimit=U.getNumber()),k.hasValue()&&"none"!==k.getString()){var j=Gt(k.getString());typeof t.setLineDash<"u"?t.setLineDash(j):typeof t.webkitLineDash<"u"?t.webkitLineDash=j:typeof t.mozDash<"u"&&(1!==j.length||0!==j[0])&&(t.mozDash=j);var tt=$.getPixels();typeof t.lineDashOffset<"u"?t.lineDashOffset=tt:typeof t.webkitLineDashOffset<"u"?t.webkitLineDashOffset=tt:typeof t.mozDashOffset<"u"&&(t.mozDashOffset=tt)}}if(this.modifiedEmSizeStack=!1,typeof t.font<"u"){var at=this.getStyle("font"),W=this.getStyle("font-style"),st=this.getStyle("font-variant"),ft=this.getStyle("font-weight"),yt=this.getStyle("font-size"),Tt=this.getStyle("font-family"),St=new Ae(W.getString(),st.getString(),ft.getString(),yt.hasValue()?"".concat(yt.getPixels(!0),"px"):"",Tt.getString(),Ae.parse(at.getString(),t.font));W.setValue(St.fontStyle),st.setValue(St.fontVariant),ft.setValue(St.fontWeight),yt.setValue(St.fontSize),Tt.setValue(St.fontFamily),t.font=St.toString(),yt.isPixels()&&(this.document.emSize=yt.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Et extends me{constructor(t,e,r){super(t,e,r),this.type="path",this.pathParser=null,this.pathParser=new nt(this.getAttribute("d").getString())}path(t){var{pathParser:e}=this,r=new Zt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case nt.MOVE_TO:this.pathM(t,r);break;case nt.LINE_TO:this.pathL(t,r);break;case nt.HORIZ_LINE_TO:this.pathH(t,r);break;case nt.VERT_LINE_TO:this.pathV(t,r);break;case nt.CURVE_TO:this.pathC(t,r);break;case nt.SMOOTH_CURVE_TO:this.pathS(t,r);break;case nt.QUAD_TO:this.pathQ(t,r);break;case nt.SMOOTH_QUAD_TO:this.pathT(t,r);break;case nt.ARC:this.pathA(t,r);break;case nt.CLOSE_PATH:this.pathZ(t,r)}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map((i,o)=>[i,r[o]])}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?t.fill(e.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var a=r.length-1,i=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(i.isUrlDefinition()){var u=i.getDefinition(),[v,p]=r[0];u.render(t,v,p)}if(o.isUrlDefinition())for(var E=o.getDefinition(),T=1;T<a;T++){var[x,N]=r[T];E.render(t,x,N)}if(s.isUrlDefinition()){var D=s.getDefinition(),[B,U]=r[a];D.render(t,B,U)}}}static pathM(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}pathM(t,e){var{pathParser:r}=this,{point:a}=Et.pathM(r),{x:i,y:o}=a;r.addMarker(a),e.addPoint(i,o),t&&t.moveTo(i,o)}static pathL(t){var{current:e}=t;return{current:e,point:t.getAsCurrentPoint()}}pathL(t,e){var{pathParser:r}=this,{current:a,point:i}=Et.pathL(r),{x:o,y:s}=i;r.addMarker(i,a),e.addPoint(o,s),t&&t.lineTo(o,s)}static pathH(t){var{current:e,command:r}=t,a=new Pt((r.relative?e.x:0)+r.x,e.y);return t.current=a,{current:e,point:a}}pathH(t,e){var{pathParser:r}=this,{current:a,point:i}=Et.pathH(r),{x:o,y:s}=i;r.addMarker(i,a),e.addPoint(o,s),t&&t.lineTo(o,s)}static pathV(t){var{current:e,command:r}=t,a=new Pt(e.x,(r.relative?e.y:0)+r.y);return t.current=a,{current:e,point:a}}pathV(t,e){var{pathParser:r}=this,{current:a,point:i}=Et.pathV(r),{x:o,y:s}=i;r.addMarker(i,a),e.addPoint(o,s),t&&t.lineTo(o,s)}static pathC(t){var{current:e}=t;return{current:e,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathC(t,e){var{pathParser:r}=this,{current:a,point:i,controlPoint:o,currentPoint:s}=Et.pathC(r);r.addMarker(s,o,i),e.addBezierCurve(a.x,a.y,i.x,i.y,o.x,o.y,s.x,s.y),t&&t.bezierCurveTo(i.x,i.y,o.x,o.y,s.x,s.y)}static pathS(t){var{current:e}=t;return{current:e,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathS(t,e){var{pathParser:r}=this,{current:a,point:i,controlPoint:o,currentPoint:s}=Et.pathS(r);r.addMarker(s,o,i),e.addBezierCurve(a.x,a.y,i.x,i.y,o.x,o.y,s.x,s.y),t&&t.bezierCurveTo(i.x,i.y,o.x,o.y,s.x,s.y)}static pathQ(t){var{current:e}=t;return{current:e,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}pathQ(t,e){var{pathParser:r}=this,{current:a,controlPoint:i,currentPoint:o}=Et.pathQ(r);r.addMarker(o,i,i),e.addQuadraticCurve(a.x,a.y,i.x,i.y,o.x,o.y),t&&t.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathT(t){var{current:e}=t,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}pathT(t,e){var{pathParser:r}=this,{current:a,controlPoint:i,currentPoint:o}=Et.pathT(r);r.addMarker(o,i,i),e.addQuadraticCurve(a.x,a.y,i.x,i.y,o.x,o.y),t&&t.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathA(t){var{current:e,command:r}=t,{rX:a,rY:i,xRot:o,lArcFlag:s,sweepFlag:u}=r,v=o*(Math.PI/180),p=t.getAsCurrentPoint(),E=new Pt(Math.cos(v)*(e.x-p.x)/2+Math.sin(v)*(e.y-p.y)/2,-Math.sin(v)*(e.x-p.x)/2+Math.cos(v)*(e.y-p.y)/2),T=Math.pow(E.x,2)/Math.pow(a,2)+Math.pow(E.y,2)/Math.pow(i,2);T>1&&(a*=Math.sqrt(T),i*=Math.sqrt(T));var x=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(i,2)-Math.pow(a,2)*Math.pow(E.y,2)-Math.pow(i,2)*Math.pow(E.x,2))/(Math.pow(a,2)*Math.pow(E.y,2)+Math.pow(i,2)*Math.pow(E.x,2)));isNaN(x)&&(x=0);var N=new Pt(x*a*E.y/i,x*-i*E.x/a),D=new Pt((e.x+p.x)/2+Math.cos(v)*N.x-Math.sin(v)*N.y,(e.y+p.y)/2+Math.sin(v)*N.x+Math.cos(v)*N.y),B=ar([1,0],[(E.x-N.x)/a,(E.y-N.y)/i]),U=[(E.x-N.x)/a,(E.y-N.y)/i],k=[(-E.x-N.x)/a,(-E.y-N.y)/i],$=ar(U,k);return Ye(U,k)<=-1&&($=Math.PI),Ye(U,k)>=1&&($=0),{currentPoint:p,rX:a,rY:i,sweepFlag:u,xAxisRotation:v,centp:D,a1:B,ad:$}}pathA(t,e){var{pathParser:r}=this,{currentPoint:a,rX:i,rY:o,sweepFlag:s,xAxisRotation:u,centp:v,a1:p,ad:E}=Et.pathA(r),T=1-s?1:-1,x=p+T*(E/2),N=new Pt(v.x+i*Math.cos(x),v.y+o*Math.sin(x));if(r.addMarkerAngle(N,x-T*Math.PI/2),r.addMarkerAngle(a,x-T*Math.PI),e.addPoint(a.x,a.y),t&&!isNaN(p)&&!isNaN(E)){var D=i>o?i:o,B=i>o?1:i/o,U=i>o?o/i:1;t.translate(v.x,v.y),t.rotate(u),t.scale(B,U),t.arc(0,0,D,p,p+E,!!(1-s)),t.scale(1/B,1/U),t.rotate(-u),t.translate(-v.x,-v.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){Et.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class dr extends Et{constructor(t,e,r){super(t,e,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 se extends me{constructor(t,e,r){super(t,e,new.target===se||r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){super.setContext(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((r,a)=>{var i=this.getChildBoundingBox(t,this,this,a);e?e.addBoundingBox(i):e=i}),e}getFontSize(){var{document:t,parent:e}=this,r=Ae.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}getTElementBoundingBox(t){var e=this.getFontSize();return new Zt(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var a=e[r],i=null;if(t.isArabic){var o=e.length,s=e[r-1],u=e[r+1],v="isolated";if((0===r||" "===s)&&r<o-1&&" "!==u&&(v="terminal"),r>0&&" "!==s&&r<o-1&&" "!==u&&(v="medial"),r>0&&" "!==s&&(r===o-1||" "===u)&&(v="initial"),typeof t.glyphs[a]<"u"){var p=t.glyphs[a];i=p instanceof dr?p:p[v]}}else i=t.glyphs[a];return i||(i=t.missingGlyph),i}getText(){return""}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),a=r.indexOf(e),i=r.length-1,o=$t(e.textContent||"");return 0===a&&(o=be(o)),a===i&&(o=je(o)),o}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((r,a)=>{this.renderChild(t,this,this,a)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:e,parent:r}=this,a=this.getText(),i=r.getStyle("font-family").getDefinition();if(i)for(var{unitsPerEm:o}=i.fontFace,s=Ae.parse(e.ctx.font),u=r.getStyle("font-size").getNumber(s.fontSize),v=r.getStyle("font-style").getString(s.fontStyle),p=u/o,E=i.isRTL?a.split("").reverse().join(""):a,T=Gt(r.getAttribute("dx").getString()),x=E.length,N=0;N<x;N++){var D=this.getGlyph(i,E,N);t.translate(this.x,this.y),t.scale(p,-p);var B=t.lineWidth;t.lineWidth=t.lineWidth*o/u,"italic"===v&&t.transform(1,0,.4,1,0,0),D.render(t),"italic"===v&&t.transform(1,0,-.4,1,0,0),t.lineWidth=B,t.scale(1/p,-1/p),t.translate(-this.x,-this.y),this.x+=u*(D.horizAdvX||i.horizAdvX)/o,typeof T[N]<"u"&&!isNaN(T[N])&&(this.x+=T[N])}else{var{x:U,y:k}=this;t.fillStyle&&t.fillText(a,U,k),t.strokeStyle&&t.strokeText(a,U,k)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var a,t=this.leafTexts[this.textChunkStart],e=t.getStyle("text-anchor").getString("start");a="start"===e?t.x-this.minX:"end"===e?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=a;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach((e,r)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,a){var i=r.children[a];i.children.length>0?i.children.forEach((o,s)=>{e.adjustChildCoordinatesRecursiveCore(t,e,i,s)}):this.adjustChildCoordinates(t,e,r,a)}adjustChildCoordinates(t,e,r,a){var i=r.children[a];if("function"!=typeof i.measureText)return i;t.save(),i.setContext(t,!0);var o=i.getAttribute("x"),s=i.getAttribute("y"),u=i.getAttribute("dx"),v=i.getAttribute("dy"),p=i.getStyle("font-family").getDefinition(),E=!!p&&p.isRTL;0===a&&(o.hasValue()||o.setValue(i.getInheritedAttribute("x")),s.hasValue()||s.setValue(i.getInheritedAttribute("y")),u.hasValue()||u.setValue(i.getInheritedAttribute("dx")),v.hasValue()||v.setValue(i.getInheritedAttribute("dy")));var T=i.measureText(t);return E&&(e.x-=T),o.hasValue()?(e.applyAnchoring(),i.x=o.getPixels("x"),u.hasValue()&&(i.x+=u.getPixels("x"))):(u.hasValue()&&(e.x+=u.getPixels("x")),i.x=e.x),e.x=i.x,E||(e.x+=T),s.hasValue()?(i.y=s.getPixels("y"),v.hasValue()&&(i.y+=v.getPixels("y"))):(v.hasValue()&&(e.y+=v.getPixels("y")),i.y=e.y),e.y=i.y,e.leafTexts.push(i),e.minX=Math.min(e.minX,i.x,i.x+T),e.maxX=Math.max(e.maxX,i.x,i.x+T),i.clearContext(t),t.restore(),i}getChildBoundingBox(t,e,r,a){var i=r.children[a];if("function"!=typeof i.getBoundingBox)return null;var o=i.getBoundingBox(t);return o?(i.children.forEach((s,u)=>{var v=e.getChildBoundingBox(t,e,i,u);o.addBoundingBox(v)}),o):null}renderChild(t,e,r,a){var i=r.children[a];i.render(t),i.children.forEach((o,s)=>{e.renderChild(t,e,i,s)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),a=this.measureTargetText(t,r);return this.measureCache=a,a}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,a=r.getStyle("font-family").getDefinition();if(a){for(var i=this.getFontSize(),o=a.isRTL?e.split("").reverse().join(""):e,s=Gt(r.getAttribute("dx").getString()),u=o.length,v=0,p=0;p<u;p++)v+=(this.getGlyph(a,o,p).horizAdvX||a.horizAdvX)*i/a.fontFace.unitsPerEm,typeof s[p]<"u"&&!isNaN(s[p])&&(v+=s[p]);return v}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var{width:T}=t.measureText(e);return this.clearContext(t),t.restore(),T}getInheritedAttribute(t){for(var e=this;e instanceof se&&e.isFirstChild();){var r=e.parent.getAttribute(t);if(r.hasValue(!0))return r.getValue("0");e=e.parent}return null}}class $e extends se{constructor(t,e,r){super(t,e,new.target===$e||r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class Dn extends $e{constructor(){super(...arguments),this.type="textNode"}}class De extends me{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var e,{document:r}=this,{screen:a,window:i}=r,o=t.canvas;if(a.setDefaults(t),o.style&&typeof t.font<"u"&&i&&typeof i.getComputedStyle<"u"){t.font=i.getComputedStyle(o).getPropertyValue("font");var s=new et(r,"fontSize",Ae.parse(t.font).fontSize);s.hasValue()&&(r.rootEmSize=s.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:u,height:v}=a.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 p=this.getAttribute("refX"),E=this.getAttribute("refY"),T=this.getAttribute("viewBox"),x=T.hasValue()?Gt(T.getString()):null,N=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),D=0,B=0,U=0,k=0;x&&(D=x[0],B=x[1]),this.root||(u=this.getStyle("width").getPixels("x"),v=this.getStyle("height").getPixels("y"),"marker"===this.type&&(U=D,k=B,D=0,B=0)),a.viewPort.setCurrent(u,v),this.node&&(!this.parent||"foreignObject"===(null===(e=this.node.parentNode)||void 0===e?void 0:e.nodeName))&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),x&&(u=x[2],v=x[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:v,minX:D,minY:B,refX:p.getValue(),refY:E.getValue(),clip:N,clipX:U,clipY:k}),x&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,v))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.getAttribute("width",!0),i=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),v=i.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var p=this.getAttribute("preserveAspectRatio");p.hasValue()&&p.setValue(p.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(t),i.setValue(e),o.hasValue()||o.setValue("0 0 ".concat(u||t," ").concat(v||e)),s.hasValue()){var E=this.getStyle("width"),T=this.getStyle("height");E.hasValue()&&E.setValue("".concat(t,"px")),T.hasValue()&&T.setValue("".concat(e,"px"))}}}
vendor: 4,288 bytes, line 1
1class pr extends Et{constructor(){super(...arguments),this.type="rect"}path(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),v=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(v=u),s.hasValue()&&!o.hasValue()&&(u=v),u=Math.min(u,a/2),v=Math.min(v,i/2),t){var p=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&a>0&&(t.moveTo(e+u,r),t.lineTo(e+a-u,r),t.bezierCurveTo(e+a-u+p*u,r,e+a,r+v-p*v,e+a,r+v),t.lineTo(e+a,r+i-v),t.bezierCurveTo(e+a,r+i-v+p*v,e+a-u+p*u,r+i,e+a-u,r+i),t.lineTo(e+u,r+i),t.bezierCurveTo(e+u-p*u,r+i,e,r+i-v+p*v,e,r+i-v),t.lineTo(e,r+v),t.bezierCurveTo(e,r+v-p*v,e+u-p*u,r,e+u,r),t.closePath())}return new Zt(e,r,e+a,r+i)}getMarkers(){return null}}class Gr extends Et{constructor(){super(...arguments),this.type="circle"}path(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return t&&a>0&&(t.beginPath(),t.arc(e,r,a,0,2*Math.PI,!1),t.closePath()),new Zt(e-a,r-a,e+a,r+a)}getMarkers(){return null}}class zr extends Et{constructor(){super(...arguments),this.type="ellipse"}path(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&a>0&&(t.beginPath(),t.moveTo(i+r,o),t.bezierCurveTo(i+r,o+e*a,i+e*r,o+a,i,o+a),t.bezierCurveTo(i-e*r,o+a,i-r,o+e*a,i-r,o),t.bezierCurveTo(i-r,o-e*a,i-e*r,o-a,i,o-a),t.bezierCurveTo(i+e*r,o-a,i+r,o-e*a,i+r,o),t.closePath()),new Zt(i-r,o-a,i+r,o+a)}getMarkers(){return null}}class $r extends Et{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Pt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Pt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:e,y:r},{x:a,y:i}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(a,i)),new Zt(e,r,a,i)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class yr extends Et{constructor(t,e,r){super(t,e,r),this.type="polyline",this.points=[],this.points=Pt.parsePath(this.getAttribute("points").getString())}path(t){var{points:e}=this,[{x:r,y:a}]=e,i=new Zt(r,a);return t&&(t.beginPath(),t.moveTo(r,a)),e.forEach(o=>{var{x:s,y:u}=o;i.addPoint(s,u),t&&t.lineTo(s,u)}),i}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach((a,i)=>{i!==e&&r.push([a,a.angleTo(t[i+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Hr extends yr{constructor(){super(...arguments),this.type="polygon"}path(t){var e=super.path(t),[{x:r,y:a}]=this.points;return t&&(t.lineTo(r,a),t.closePath()),e}}class Yr extends Rt{constructor(){super(...arguments),this.type="pattern"}createPattern(t,e,r){var a=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new De(this.document,null);o.attributes.viewBox=new et(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new et(this.document,"width","".concat(a,"px")),o.attributes.height=new et(this.document,"height","".concat(i,"px")),o.attributes.transform=new et(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,i),u=s.getContext("2d"),v=this.getAttribute("x"),p=this.getAttribute("y");v.hasValue()&&p.hasValue()&&u.translate(v.getPixels("x",!0),p.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var E=-1;E<=1;E++)for(var T=-1;T<=1;T++)u.save(),o.attributes.x=new et(this.document,"x",E*s.width),o.attributes.y=new et(this.document,"y",T*s.height),o.render(u),u.restore();return t.createPattern(s,"repeat")}}class Xr extends Rt{constructor(){super(...arguments),this.type="marker"}render(t,e,r){if(e){var{x:a,y:i}=e,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(a,i),"auto"===o&&t.rotate(r),"strokeWidth"===s&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new De(this.document,null);
vendor: 32,961 bytes, line 1
1u.type=this.type,u.attributes.viewBox=new et(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new et(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new et(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new et(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new et(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new et(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new et(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new et(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(),"strokeWidth"===s&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===o&&t.rotate(-r),t.translate(-a,-i)}}}class Wr extends Rt{constructor(){super(...arguments),this.type="defs"}render(){}}class Qe extends me{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var e=new Zt;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(t))}),e}}class mr extends Rt{constructor(t,e,r){super(t,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:i}=this;i.forEach(o=>{"stop"===o.type&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,e,r){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:i}=a,o=this.getGradient(t,e);if(!o)return this.addParentOpacity(r,i[i.length-1].color);if(i.forEach(B=>{o.addColorStop(B.offset,this.addParentOpacity(r,B.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:v}=s.screen,[p]=v.viewPorts,E=new pr(s,null);E.attributes.x=new et(s,"x",-u/3),E.attributes.y=new et(s,"y",-u/3),E.attributes.width=new et(s,"width",u),E.attributes.height=new et(s,"height",u);var T=new Qe(s,null);T.attributes.transform=new et(s,"transform",this.getAttribute("gradientTransform").getValue()),T.children=[E];var x=new De(s,null);x.attributes.x=new et(s,"x",0),x.attributes.y=new et(s,"y",0),x.attributes.width=new et(s,"width",p.width),x.attributes.height=new et(s,"height",p.height),x.children=[T];var N=s.createCanvas(p.width,p.height),D=N.getContext("2d");return D.fillStyle=o,x.render(D),D.createPattern(N,"no-repeat")}return o}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){return t.hasValue()?new et(this.document,"color",e).addOpacity(t).getColor():e}}class Qr extends mr{constructor(t,e,r){super(t,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),a=r?e.getBoundingBox(t):null;if(r&&!a)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 i=r?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===s&&o===u?null:t.createLinearGradient(i,o,s,u)}}class Kr extends mr{constructor(t,e,r){super(t,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),a=e.getBoundingBox(t);if(r&&!a)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 i=r?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=i,u=o;this.getAttribute("fx").hasValue()&&(s=r?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var v=r?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),p=this.getAttribute("fr").getPixels();return t.createRadialGradient(s,u,p,i,o,v)}}class kr extends Rt{constructor(t,e,r){super(t,e,r),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),i=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);""===o.getString()&&o.setValue("#000"),i.hasValue()&&(o=o.addOpacity(i)),this.offset=a,this.color=o.getColor()}}class Ke extends Rt{constructor(t,e,r){super(t,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.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 et(t,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:a}=this.getProgress(),i=r.getNumber()+(a.getNumber()-r.getNumber())*e;return"%"===t&&(i*=100),"".concat(i).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==a||this.frozen){if("remove"===a&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var i=!1;if(this.begin<this.duration){var o=this.calcValue(),s=this.getAttribute("type");if(s.hasValue()){var u=s.getString();o="".concat(u,"(").concat(o,")")}r.setValue(o),i=!0}return i}getProgress(){var{document:t,values:e}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var a=r.progress*(e.getValue().length-1),i=Math.floor(a),o=Math.ceil(a);r.from=new et(t,"from",parseFloat(e.getValue()[i])),r.to=new et(t,"to",parseFloat(e.getValue()[o])),r.progress=(a-i)/(o-i)}else r.from=this.from,r.to=this.to;return r}}class Zr extends Ke{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),a=new M(e.getColor()),i=new M(r.getColor());if(a.ok&&i.ok){var s=a.g+(i.g-a.g)*t,u=a.b+(i.b-a.b)*t;return"rgb(".concat(Math.floor(a.r+(i.r-a.r)*t),", ").concat(Math.floor(s),", ").concat(Math.floor(u),")")}return this.getAttribute("from").getColor()}}class Jr extends Ke{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),a=Gt(e.getString()),i=Gt(r.getString());return a.map((s,u)=>s+(i[u]-s)*t).join(" ")}}class qr extends Rt{constructor(t,e,r){super(t,e,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=t,{children:i}=this;for(var o of i)switch(o.type){case"font-face":this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break;case"missing-glyph":this.missingGlyph=o;break;case"glyph":var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u}}render(){}}class _r extends Rt{constructor(t,e,r){super(t,e,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 tn extends Et{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class en extends se{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}class rn extends se{constructor(t,e,r){super(t,e,r),this.type="a";var{childNodes:a}=e,i=a[0],o=a.length>0&&Array.from(a).every(s=>3===s.nodeType);this.hasText=o,this.text=o?this.getTextFromNode(i):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:a}=this,{mouse:i}=e.screen,o=new et(e,"fontSize",Ae.parse(e.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new Zt(r,a-o.getPixels("y"),r+this.measureText(t),a))}else if(this.children.length>0){var s=new Qe(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function nn(l,t){var e=Object.keys(l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(l);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(l,a).enumerable})),e.push.apply(e,r)}return e}function ke(l){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(e),!0).forEach(function(r){(0,b.A)(l,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(e)):nn(Object(e)).forEach(function(r){Object.defineProperty(l,r,Object.getOwnPropertyDescriptor(e,r))})}return l}class an extends se{constructor(t,e,r){super(t,e,r),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var a=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(a)}getText(){return this.text}path(t){var{dataArray:e}=this;t&&t.beginPath(),e.forEach(r=>{var{type:a,points:i}=r;switch(a){case nt.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case nt.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case nt.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case nt.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case nt.ARC:var[o,s,u,v,p,E,T,x]=i,N=u>v?u:v,D=u>v?1:u/v,B=u>v?v/u:1;t&&(t.translate(o,s),t.rotate(T),t.scale(D,B),t.arc(0,0,N,p,p+E,!!(1-x)),t.scale(1/D,1/B),t.rotate(-T),t.translate(-o,-s));break;case nt.CLOSE_PATH:t&&t.closePath()}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:a}=this,i=t.fillStyle;"underline"===e&&t.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:v,rotation:p,text:E}=o;t.save(),t.translate(u.x,u.y),t.rotate(p),t.fillStyle&&t.fillText(E,0,0),t.strokeStyle&&t.strokeText(E,0,0),t.restore(),"underline"===e&&(0===s&&t.moveTo(u.x,u.y+r/8),t.lineTo(v.x,v.y+r/5))}),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=i,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(t,e,r,a,i,o,s,u,v){var p=o,E=this.measureText(t,u);" "===u&&"justify"===e&&r<a&&(E+=(a-r)/i),v>-1&&(p+=this.getLetterSpacingAt(v));var T=this.textHeight/20,x=this.getEquidistantPointOnPath(p,T,0),N=this.getEquidistantPointOnPath(p+E,T,0),D={p0:x,p1:N},B=x&&N?Math.atan2(N.y-x.y,N.x-x.x):0;if(s){var U=Math.cos(Math.PI/2+B)*s,k=Math.cos(-B)*s;D.p0=ke(ke({},x),{},{x:x.x+U,y:x.y+k}),D.p1=ke(ke({},N),{},{x:N.x+U,y:N.y+k})}return{offset:p+=E,segment:D,rotation:B}}measureText(t,e){var{measuresCache:r}=this,a=e||this.getText();if(r.has(a))return r.get(a);var i=this.measureTargetText(t,a);return r.set(a,i),i}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),a=e.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(j=>j.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),v=this.parent.getStyle("letter-spacing"),p=0;u.hasValue()&&"inherit"!==u.getValue()?u.hasValue()&&"initial"!==u.getValue()&&"unset"!==u.getValue()&&(p=u.getPixels()):p=v.getPixels();var E=[],T=e.length;this.letterSpacingCache=E;for(var x=0;x<T;x++)E.push(typeof i[x]<"u"?i[x]:p);var N=E.reduce((j,tt,at)=>0===at?0:j+tt||0,0),D=this.measureText(t),B=Math.max(D+N,0);this.textWidth=D,this.textHeight=this.getFontSize(),this.glyphInfo=[];var U=this.getPathLength(),k=this.getStyle("startOffset").getNumber(0)*U,$=0;("middle"===s||"center"===s)&&($=-B/2),("end"===s||"right"===s)&&($=-B),$+=k,r.forEach((j,tt)=>{var{offset:at,segment:W,rotation:st}=this.findSegmentToFitChar(t,s,B,U,a,$,o,j,tt);$=at,W.p0&&W.p1&&this.glyphInfo.push({text:r[tt],p0:W.p0,p1:W.p1,rotation:st})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:a}=r,i=a?a.x:0,o=a?a.y:0,s=r.next(),u=s.type,v=[];switch(s.type){case nt.MOVE_TO:this.pathM(r,v);break;case nt.LINE_TO:u=this.pathL(r,v);break;case nt.HORIZ_LINE_TO:u=this.pathH(r,v);break;case nt.VERT_LINE_TO:u=this.pathV(r,v);break;case nt.CURVE_TO:this.pathC(r,v);break;case nt.SMOOTH_CURVE_TO:u=this.pathS(r,v);break;case nt.QUAD_TO:this.pathQ(r,v);break;case nt.SMOOTH_QUAD_TO:u=this.pathT(r,v);break;case nt.ARC:v=this.pathA(r);break;case nt.CLOSE_PATH:Et.pathZ(r)}e.push(s.type!==nt.CLOSE_PATH?{type:u,points:v,start:{x:i,y:o},pathLength:this.calcLength(i,o,u,v)}:{type:nt.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:a}=Et.pathM(t).point;e.push(r,a)}pathL(t,e){var{x:r,y:a}=Et.pathL(t).point;return e.push(r,a),nt.LINE_TO}pathH(t,e){var{x:r,y:a}=Et.pathH(t).point;return e.push(r,a),nt.LINE_TO}pathV(t,e){var{x:r,y:a}=Et.pathV(t).point;return e.push(r,a),nt.LINE_TO}pathC(t,e){var{point:r,controlPoint:a,currentPoint:i}=Et.pathC(t);e.push(r.x,r.y,a.x,a.y,i.x,i.y)}pathS(t,e){var{point:r,controlPoint:a,currentPoint:i}=Et.pathS(t);return e.push(r.x,r.y,a.x,a.y,i.x,i.y),nt.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:a}=Et.pathQ(t);e.push(r.x,r.y,a.x,a.y)}pathT(t,e){var{controlPoint:r,currentPoint:a}=Et.pathT(t);return e.push(r.x,r.y,a.x,a.y),nt.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:a,xAxisRotation:i,centp:o,a1:s,ad:u}=Et.pathA(t);return 0===a&&u>0&&(u-=2*Math.PI),1===a&&u<0&&(u+=2*Math.PI),[o.x,o.y,e,r,s,u,i,a]}calcLength(t,e,r,a){var i=0,o=null,s=null,u=0;switch(r){case nt.LINE_TO:return this.getLineLength(t,e,a[0],a[1]);case nt.CURVE_TO:for(i=0,o=this.getPointOnCubicBezier(0,t,e,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,t,e,a[0],a[1],a[2],a[3],a[4],a[5]),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return i;case nt.QUAD_TO:for(i=0,o=this.getPointOnQuadraticBezier(0,t,e,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,t,e,a[0],a[1],a[2],a[3]),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return i;case nt.ARC:i=0;var v=a[4],p=a[5],E=a[4]+p,T=Math.PI/180;if(Math.abs(v-E)<T&&(T=Math.abs(v-E)),o=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],v,0),p<0)for(u=v-T;u>E;u-=T)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=v+T;u<E;u+=T)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),i+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],E,0),i+this.getLineLength(o.x,o.y,s.x,s.y)}return 0}getPointOnLine(t,e,r,a,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,u=(i-r)/(a-e+te),v=Math.sqrt(t*t/(1+u*u));a<e&&(v*=-1);var p=u*v,E=null;if(a===e)E={x:o,y:s+p};else if((s-r)/(o-e+te)===u)E={x:o+v,y:s+p};else{var T,x,N=this.getLineLength(e,r,a,i);if(N<te)return null;var D=(o-e)*(a-e)+(s-r)*(i-r),B=this.getLineLength(o,s,T=e+(D/=N*N)*(a-e),x=r+D*(i-r)),U=Math.sqrt(t*t-B*B);v=Math.sqrt(U*U/(1+u*u)),a<e&&(v*=-1),E={x:T+v,y:x+(p=u*v)}}return E}getPointOnPath(t){var e=this.getPathLength(),r=0,a=null;if(t<-5e-5||t-5e-5>e)return null;var{dataArray:i}=this;for(var o of i){if(!o||!(o.pathLength<5e-5||r+o.pathLength+5e-5<t)){var s=t-r,u=0;switch(o.type){case nt.LINE_TO:a=this.getPointOnLine(s,o.start.x,o.start.y,o.points[0],o.points[1],o.start.x,o.start.y);break;case nt.ARC:var p=o.points[5],E=o.points[4]+p;if(u=o.points[4]+s/o.pathLength*p,p<0&&u<E||p>=0&&u>E)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break;case nt.CURVE_TO:(u=s/o.pathLength)>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case nt.QUAD_TO:(u=s/o.pathLength)>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(a)return a;break}r+=o.pathLength}return null}getLineLength(t,e,r,a){return Math.sqrt((r-t)*(r-t)+(a-e)*(a-e))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,r,a,i,o,s,u,v){return{x:u*ir(t)+o*sr(t)+a*or(t)+e*ur(t),y:v*ir(t)+s*sr(t)+i*or(t)+r*ur(t)}}getPointOnQuadraticBezier(t,e,r,a,i,o,s){return{x:o*lr(t)+a*hr(t)+e*fr(t),y:s*lr(t)+i*hr(t)+r*fr(t)}}getPointOnEllipticalArc(t,e,r,a,i,o){var s=Math.cos(o),u=Math.sin(o),v_x=r*Math.cos(i),v_y=a*Math.sin(i);return{x:t+(v_x*s-v_y*u),y:e+(v_x*u+v_y*s)}}buildEquidistantCache(t,e){var r=this.getPathLength(),a=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==a){this.equidistantCache={step:i,precision:a,points:[]};for(var o=0,s=0;s<=r;s+=a){var u=this.getPointOnPath(s),v=this.getPointOnPath(s+a);!u||!v||(o+=this.getLineLength(u.x,u.y,v.x,v.y))>=i&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=i)}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var a=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}}var Ln=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class sn extends me{constructor(t,e,r){super(t,e,r),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var i=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);t.images.push(this),i?this.loadSvg(a):this.loadImage(a),this.isSvg=i}}loadImage(t){var e=this;return(0,f.A)(function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(a){console.error('Error while loading image "'.concat(t,'":'),a)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,f.A)(function*(){var r=Ln.exec(t);if(r){var a=r[5];e.image="base64"===r[4]?atob(a):decodeURIComponent(a)}else try{var i=yield e.document.fetch(t),o=yield i.text();e.image=o}catch(s){console.error('Error while loading image "'.concat(t,'":'),s)}e.loaded=!0})()}renderChildren(t){var{document:e,image:r,loaded:a}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(a&&r&&s&&u){if(t.save(),t.translate(i,o),this.isSvg){var v=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});v.document.documentElement.parent=this,v.render()}else{var p=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:p.width,height:u,desiredHeight:p.height}),this.loaded&&(typeof p.complete>"u"||p.complete)&&t.drawImage(p,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new Zt(t,e,t+r,e+a)}}class on extends me{constructor(){super(...arguments),this.type="symbol"}render(t){}}class un{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var r=this;return(0,f.A)(function*(){try{var{document:a}=r,o=(yield a.canvg.parser.load(e)).getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[t]=u})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}r.loaded=!0})()}}let ln=(()=>{class l extends Rt{constructor(e,r,a){super(e,r,a),this.type="style",$t(Array.from(r.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(s=>{var u=s.trim();if(u){var v=u.split("{"),p=v[0].split(","),E=v[1].split(";");p.forEach(T=>{var x=T.trim();if(x){var N=e.styles[x]||{};if(E.forEach(U=>{var k=U.indexOf(":"),$=U.substr(0,k).trim(),j=U.substr(k+1,U.length-k).trim();$&&j&&(N[$]=new et(e,$,j))}),e.styles[x]=N,e.stylesSpecificity[x]=Ge(x),"@font-face"===x){var D=N["font-family"].getString().replace(/"|'/g,"");N.src.getString().split(",").forEach(U=>{if(U.indexOf('format("svg")')>0){var k=Ce(U);k&&new un(e).load(D,k)}})}}})}})}}return l.parseExternalUrl=Ce,l})();class hn extends me{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var a=r;if("symbol"===r.type&&((a=new De(e,null)).attributes.viewBox=new et(e,"viewBox",r.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new et(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new et(e,"overflow",r.getAttribute("overflow").getString()),a.children=r.children,r.styles.opacity=new et(e,"opacity",this.calculateOpacity())),"svg"===a.type){var i=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);i.hasValue()&&(a.attributes.width=new et(e,"width",i.getString())),o.hasValue()&&(a.attributes.height=new et(e,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(t),a.parent=s}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return We.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Ze(l,t,e,r,a,i){return l[e*r*4+4*t+i]}function Je(l,t,e,r,a,i,o){l[e*r*4+4*t+i]=o}function Vt(l,t,e){return l[t]*e}function oe(l,t,e,r){return t+Math.cos(l)*e+Math.sin(l)*r}class xr extends Rt{constructor(t,e,r){super(t,e,r),this.type="feColorMatrix";var a=Gt(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var i=a[0];a=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var o=a[0]*Math.PI/180;a=[oe(o,.213,.787,-.213),oe(o,.715,-.715,-.715),oe(o,.072,-.072,.928),0,0,oe(o,.213,-.213,.143),oe(o,.715,.285,.14),oe(o,.072,-.072,-.283),0,0,oe(o,.213,-.213,-.787),oe(o,.715,-.715,.715),oe(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":a=[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=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,e,r,a,i){for(var{includeOpacity:o,matrix:s}=this,u=t.getImageData(0,0,a,i),v=0;v<i;v++)for(var p=0;p<a;p++){var E=Ze(u.data,p,v,a,0,0),T=Ze(u.data,p,v,a,0,1),x=Ze(u.data,p,v,a,0,2),N=Ze(u.data,p,v,a,0,3),D=Vt(s,0,E)+Vt(s,1,T)+Vt(s,2,x)+Vt(s,3,N)+Vt(s,4,1),B=Vt(s,5,E)+Vt(s,6,T)+Vt(s,7,x)+Vt(s,8,N)+Vt(s,9,1),U=Vt(s,10,E)+Vt(s,11,T)+Vt(s,12,x)+Vt(s,13,N)+Vt(s,14,1),k=Vt(s,15,E)+Vt(s,16,T)+Vt(s,17,x)+Vt(s,18,N)+Vt(s,19,1);o&&(D=0,B=0,U=0,k*=N/255),Je(u.data,p,v,a,0,0,D),Je(u.data,p,v,a,0,1,B),Je(u.data,p,v,a,0,2,U),Je(u.data,p,v,a,0,3,k)}t.clearRect(0,0,a,i),t.putImageData(u,0,0)}}let fn=(()=>{class l extends Rt{constructor(){super(...arguments),this.type="mask"}apply(e,r){var{document:a}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var v=new Zt;this.children.forEach(D=>{v.addBoundingBox(D.getBoundingBox(e))}),i=Math.floor(v.x1),o=Math.floor(v.y1),s=Math.floor(v.width),u=Math.floor(v.height)}var p=this.removeStyles(r,l.ignoreStyles),E=a.createCanvas(i+s,o+u),T=E.getContext("2d");a.screen.setDefaults(T),this.renderChildren(T),new xr(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(T,0,0,i+s,o+u);var x=a.createCanvas(i+s,o+u),N=x.getContext("2d");a.screen.setDefaults(N),r.render(N),N.globalCompositeOperation="destination-in",N.fillStyle=T.createPattern(E,"no-repeat"),N.fillRect(0,0,i+s,o+u),e.fillStyle=N.createPattern(x,"no-repeat"),e.fillRect(0,0,i+s,o+u),this.restoreStyles(r,p)}render(e){}}return l.ignoreStyles=["mask","transform","clip-path"],l})();var vn=()=>{};class cn extends Rt{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:a,closePath:i}=t;r&&(r.beginPath=vn,r.closePath=vn),Reflect.apply(a,t,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=We.fromElement(e,o)),s&&s.apply(t),o.path(t),r&&(r.closePath=i),s&&s.unapply(t)}}),Reflect.apply(i,t,[]),t.clip(),r&&(r.beginPath=a,r.closePath=i)}render(t){}}let gn=(()=>{class l extends Rt{constructor(){super(...arguments),this.type="filter"}apply(e,r){var{document:a,children:i}=this,o=r.getBoundingBox(e);if(o){var s=0,u=0;i.forEach(k=>{var $=k.extraFilterDistance||0;s=Math.max(s,$),u=Math.max(u,$)});var v=Math.floor(o.width),p=Math.floor(o.height),E=v+2*s,T=p+2*u;if(!(E<1||T<1)){var x=Math.floor(o.x),N=Math.floor(o.y),D=this.removeStyles(r,l.ignoreStyles),B=a.createCanvas(E,T),U=B.getContext("2d");a.screen.setDefaults(U),U.translate(-x+s,-N+u),r.render(U),i.forEach(k=>{"function"==typeof k.apply&&k.apply(U,0,0,E,T)}),e.drawImage(B,0,0,E,T,x-s,N-u,E,T),this.restoreStyles(r,D)}}}render(e){}}return l.ignoreStyles=["filter","transform","clip-path"],l})();class dn extends Rt{constructor(t,e,r){super(t,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,e,r,a,i){}}class pn extends Rt{constructor(){super(...arguments),this.type="feMorphology"}apply(t,e,r,a,i){}}class yn extends Rt{constructor(){super(...arguments),this.type="feComposite"}apply(t,e,r,a,i){}}class mn extends Rt{constructor(t,e,r){super(t,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,a,i){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,v=t.canvas;v.id=o.getUniqueId(),u&&(v.style.display="none",u.appendChild(v)),le(v,e,r,a,i,s),u&&u.removeChild(v)}}class xn extends Rt{constructor(){super(...arguments),this.type="title"}}class En extends Rt{constructor(){super(...arguments),this.type="desc"}}var Bn={svg:De,rect:pr,circle:Gr,ellipse:zr,line:$r,polyline:yr,polygon:Hr,path:Et,pattern:Yr,marker:Xr,defs:Wr,linearGradient:Qr,radialGradient:Kr,stop:kr,animate:Ke,animateColor:Zr,animateTransform:Jr,font:qr,"font-face":_r,"missing-glyph":tn,glyph:dr,text:se,tspan:$e,tref:en,a:rn,textPath:an,image:sn,g:Qe,symbol:on,style:ln,use:hn,mask:fn,clipPath:cn,filter:gn,feDropShadow:dn,feMorphology:pn,feComposite:yn,feColorMatrix:xr,feGaussianBlur:mn,title:xn,desc:En};function Tn(l,t){var e=Object.keys(l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(l);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(l,a).enumerable})),e.push.apply(e,r)}return e}function Un(l,t){var e=document.createElement("canvas");return e.width=l,e.height=t,e}function jn(l){return Er.apply(this,arguments)}function Er(){return Er=(0,f.A)(function*(l){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=document.createElement("img");return t&&(e.crossOrigin="Anonymous"),new Promise((r,a)=>{e.onload=()=>{r(e)},e.onerror=(i,o,s,u,v)=>{a(v)},e.src=l})}),Er.apply(this,arguments)}let On=(()=>{class l{constructor(e){var{rootEmSize:r=12,emSize:a=12,createCanvas:i=l.createCanvas,createImage:o=l.createImage,anonymousCrossOrigin:s}=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=r,this.emSize=a,this.createCanvas=i,this.createImage=this.bindCreateImage(o,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,r){return"boolean"==typeof r?(a,i)=>e(a,"boolean"==typeof i?i:r):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:r}=this;r.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 r=this.createElement(e.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(e){var r=e.nodeName.replace(/^[^:]+:/,""),a=l.elementTypes[r];return typeof a<"u"?new a(this,e):new jr(this,e)}createTextNode(e){return new Dn(this,e)}setViewBox(e){this.screen.setViewBox(function Fn(l){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(e),!0).forEach(function(r){(0,b.A)(l,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(e)):Tn(Object(e)).forEach(function(r){Object.defineProperty(l,r,Object.getOwnPropertyDescriptor(e,r))})}return l}({document:this},e))}}return l.createCanvas=Un,l.createImage=jn,l.elementTypes=Bn,l})();function Sn(l,t){var e=Object.keys(l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(l);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(l,a).enumerable})),e.push.apply(e,r)}return e}function Pe(l){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(e),!0).forEach(function(r){(0,b.A)(l,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(e)):Sn(Object(e)).forEach(function(r){Object.defineProperty(l,r,Object.getOwnPropertyDescriptor(e,r))})}return l}class Re{constructor(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new Xe(r),this.screen=new vr(t,r),this.options=r;var a=new On(this,r),i=a.createDocumentElement(e);this.document=a,this.documentElement=i}static from(t,e){var r=arguments;return(0,f.A)(function*(){var a=r.length>2&&void 0!==r[2]?r[2]:{},i=new Xe(a),o=yield i.parse(e);return new Re(t,o,a)})()}static fromString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new Xe(r).parseFromString(e);return new Re(t,i,r)}fork(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Re.from(t,e,Pe(Pe({},this.options),r))}forkString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Re.fromString(t,e,Pe(Pe({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,f.A)(function*(){e.start(Pe({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:e,screen:r,options:a}=this;r.start(e,Pe(Pe({enableRedraw:!0},a),t))}stop(){this.screen.stop()}resize(t){this.documentElement.resize(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}}}]);
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.