You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/266.63f58311.async.js

19 lines
172 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{"++4Y":function(m,x,t){var c=t("eRwv");m.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"/TZh":function(m,x,t){var c=t("11yv"),f=c("match");m.exports=function(p){var g=/./;try{"/./"[p](g)}catch(y){try{return g[f]=!1,"/./"[p](g)}catch(j){}}return!1}},"/pbl":function(m,x,t){var c=t("eE3R");m.exports=/web0s(?!.*chrome)/i.test(c)},"0r2v":function(m,x,t){var c=t("aLaa");m.exports=c([].slice)},"11yv":function(m,x,t){var c=t("Ks5W"),f=t("aNr2"),p=t("YELS"),g=t("MURR"),y=t("plO+"),j=t("1Sr1"),T=f("wks"),A=c.Symbol,M=A&&A.for,U=j?A:A&&A.withoutSetter||g;m.exports=function(F){if(!p(T,F)||!(y||typeof T[F]=="string")){var N="Symbol."+F;y&&p(A,F)?T[F]=A[F]:j&&M?T[F]=M(N):T[F]=U(N)}return T[F]}},"1Sr1":function(m,x,t){var c=t("plO+");m.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"1mOU":function(m,x){var t=Function.prototype,c=t.apply,f=t.bind,p=t.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(f?p.bind(c):function(){return p.apply(c,arguments)})},"2lHc":function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("JTf3"),g=t("SwuV"),y=c.TypeError;m.exports=function(j,T){var A,M;if(T==="string"&&p(A=j.toString)&&!g(M=f(A,j)))return M;if(p(A=j.valueOf)&&!g(M=f(A,j)))return M;if(T!=="string"&&p(A=j.toString)&&!g(M=f(A,j)))return M;throw y("Can't convert object to primitive value")}},"3Xd8":function(m,x,t){var c=t("aLaa");m.exports=c({}.isPrototypeOf)},"3agc":function(m,x,t){"use strict";var c=t("qjFr").IteratorPrototype,f=t("XFuk"),p=t("4uGi"),g=t("ueY1"),y=t("AoAp"),j=function(){return this};m.exports=function(T,A,M,U){var F=A+" Iterator";return T.prototype=f(c,{next:p(+!U,M)}),g(T,F,!1,!0),y[F]=j,T}},"3fk+":function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("WxoH"),g=t("JTf3"),y=t("ba8b"),j=t("WMbf"),T=c.TypeError;m.exports=function(A,M){var U=A.exec;if(g(U)){var F=f(U,A,M);return F!==null&&p(F),F}if(y(A)==="RegExp")return f(j,A,M);throw T("RegExp#exec called on incompatible receiver")}},"3n0U":function(m,x,t){var c=t("11yv"),f=t("AoAp"),p=c("iterator"),g=Array.prototype;m.exports=function(y){return y!==void 0&&(f.Array===y||g[p]===y)}},"4Qxg":function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp;m.exports=c(function(){var g=p(".","s");return!(g.dotAll&&g.exec(`
`)&&g.flags==="s")})},"4YbN":function(m,x,t){var c=t("aLaa"),f=t("eRwv"),p=t("JTf3"),g=t("g8+u"),y=t("RYfq"),j=t("sNJV"),T=function(){},A=[],M=y("Reflect","construct"),U=/^\s*(?:class|function)\b/,F=c(U.exec),N=!U.exec(T),V=function($){if(!p($))return!1;try{return M(T,A,$),!0}catch(Z){return!1}},H=function($){if(!p($))return!1;switch(g($)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return N||!!F(U,j($))}catch(Z){return!0}};H.sham=!0,m.exports=!M||f(function(){var G;return V(V.call)||!V(Object)||!V(function(){G=!0})||G})?H:V},"4gdG":function(m,x,t){var c=t("Ks5W"),f=t("nATg"),p="__core-js_shared__",g=c[p]||f(p,{});m.exports=g},"4uGi":function(m,x){m.exports=function(t,c){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:c}}},"5JCY":function(m,x,t){var c=t("N6FT").PROPER,f=t("eRwv"),p=t("noWC"),g="\u200B\x85\u180E";m.exports=function(y){return f(function(){return!!p[y]()||g[y]()!==g||c&&p[y].name!==y})}},"5r2E":function(m,x,t){"use strict";var c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,p=f&&!c.call({1:2},1);x.f=p?function(y){var j=f(this,y);return!!j&&j.enumerable}:c},"721z":function(m,x,t){var c=t("Ks5W"),f=t("XaNE"),p=c.Object;m.exports=function(g){return p(f(g))}},"8HiI":function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("IL+x"),g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not a function")}},"8ODz":function(m,x,t){var c=t("++4Y"),f=t("FlRv"),p=t("4uGi");m.exports=c?function(g,y,j){return f.f(g,y,p(1,j))}:function(g,y,j){return g[y]=j,g}},"8Ys4":function(m,x,t){var c=t("Ks5W"),f=t("n6S8"),p=t("tMNq"),g=t("oauk"),y=c.Array,j=Math.max;m.exports=function(T,A,M){for(var U=p(T),F=f(A,U),N=f(M===void 0?U:M,U),V=y(j(N-F,0)),H=0;F<N;F++,H++)g(V,H,T[F]);return V.length=H,V}},"8xe4":function(m,x){m.exports=function(t){try{return{error:!1,value:t()}}catch(c){return{error:!0,value:c}}}},"9Bi7":function(m,x,t){"use strict";var c=t("RYfq"),f=t("FlRv"),p=t("11yv"),g=t("++4Y"),y=p("species");m.exports=function(j){var T=c(j),A=f.f;g&&T&&!T[y]&&A(T,y,{configurable:!0,get:function(){return this}})}},Ai06:function(m,x,t){var c=t("ZpKI"),f=t("Yzn+");m.exports=Object.keys||function(g){return c(g,f)}},AoAp:function(m,x){m.exports={}},BDtL:function(m,x,t){var c=t("Ks5W");m.exports=c.Promise},COGW:function(m,x,t){var c=t("SwuV"),f=t("ba8b"),p=t("11yv"),g=p("match");m.exports=function(y){var j;return c(y)&&((j=y[g])!==void 0?!!j:f(y)=="RegExp")}},DXPr:function(m,x,t){"use strict";t.r(x),function(c){t.d(x,"AElement",function(){return xn}),t.d(x,"AnimateColorElement",function(){return vn}),t.d(x,"AnimateElement",function(){return Tt}),t.d(x,"AnimateTransformElement",function(){return pn}),t.d(x,"BoundingBox",function(){return et}),t.d(x,"CB1",function(){return Fe}),t.d(x,"CB2",function(){return Ze}),t.d(x,"CB3",function(){return $e}),t.d(x,"CB4",function(){return Xe}),t.d(x,"Canvg",function(){return Vn}),t.d(x,"CircleElement",function(){return rn}),t.d(x,"ClipPathElement",function(){return Tn}),t.d(x,"DefsElement",function(){return cn}),t.d(x,"DescElement",function(){return wn}),t.d(x,"Document",function(){return Ct}),t.d(x,"Element",function(){return Ve}),t.d(x,"EllipseElement",function(){return an}),t.d(x,"FeColorMatrixElement",function(){return Ht}),t.d(x,"FeCompositeElement",function(){return In}),t.d(x,"FeDropShadowElement",function(){return An}),t.d(x,"FeGaussianBlurElement",function(){return Nn}),t.d(x,"FeMorphologyElement",function(){return Rn}),t.d(x,"FilterElement",function(){return Yt}),t.d(x,"Font",function(){return ot}),t.d(x,"FontElement",function(){return gn}),t.d(x,"FontFaceElement",function(){return mn}),t.d(x,"GElement",function(){return jt}),t.d(x,"GlyphElement",function(){return Bt}),t.d(x,"GradientElement",function(){return Gt}),t.d(x,"ImageElement",function(){return Sn}),t.d(x,"LineElement",function(){return on}),t.d(x,"LinearGradientElement",function(){return dn}),t.d(x,"MarkerElement",function(){return un}),t.d(x,"MaskElement",function(){return Kt}),t.d(x,"Matrix",function(){return Ut}),t.d(x,"MissingGlyphElement",function(){return yn}),t.d(x,"Mouse",function(){return Xt}),t.d(x,"PSEUDO_ZERO",function(){return he}),t.d(x,"Parser",function(){return Pt}),t.d(x,"PathElement",function(){return Ge}),t.d(x,"PathParser",function(){return Ce}),t.d(x,"PatternElement",function(){return ln}),t.d(x,"Point",function(){return We}),t.d(x,"PolygonElement",function(){return sn}),t.d(x,"PolylineElement",function(){return kt}),t.d(x,"Property",function(){return ge}),t.d(x,"QB1",function(){return dt}),t.d(x,"QB2",function(){return at}),t.d(x,"QB3",function(){return vt}),t.d(x,"RadialGradientElement",function(){return fn}),t.d(x,"RectElement",function(){return Wt}),t.d(x,"RenderedElement",function(){return ft}),t.d(x,"Rotate",function(){return qt}),t.d(x,"SVGElement",function(){return bt}),t.d(x,"SVGFontLoader",function(){return Mn}),t.d(x,"Scale",function(){return _t}),t.d(x,"Screen",function(){return Ot}),t.d(x,"Skew",function(){return Vt}),t.d(x,"SkewX",function(){return en}),t.d(x,"SkewY",function(){return tn}),t.d(x,"StopElement",function(){return hn}),t.d(x,"StyleElement",function(){return zt}),t.d(x,"SymbolElement",function(){return Cn}),t.d(x,"TRefElement",function(){return bn}),t.d(x,"TSpanElement",function(){return Ft}),t.d(x,"TextElement",function(){return yt}),t.d(x,"TextPathElement",function(){return On}),t.d(x,"TitleElement",function(){return Dn}),t.d(x,"Transform",function(){return St}),t.d(x,"Translate",function(){return Zt}),t.d(x,"UnknownElement",function(){return nn}),t.d(x,"UseElement",function(){return Pn}),t.d(x,"ViewPort",function(){return Et}),t.d(x,"compressSpaces",function(){return Be}),t.d(x,"getSelectorSpecificity",function(){return ue}),t.d(x,"normalizeAttributeName",function(){return st}),t.d(x,"normalizeColor",function(){return lt}),t.d(x,"parseExternalUrl",function(){return _e}),t.d(x,"presets",function(){return Ke}),t.d(x,"toNumbers",function(){return Re}),t.d(x,"trimLeft",function(){return we}),t.d(x,"trimRight",function(){return Le}),t.d(x,"vectorMagnitude",function(){return xe}),t.d(x,"vectorsAngle",function(){return Pe}),t.d(x,"vectorsRatio",function(){return Oe});var f=t("g9jQ"),p=t.n(f),g=t("Lltv"),y=t.n(g),j=t("mdxj"),T=t.n(j),A=t("iWRt"),M=t.n(A),U=t("vrKp"),F=t.n(U),N=t("yD9w"),V=t.n(N),H=t("GVkW"),G=t.n(H),$=t("MNKV"),Z=t.n($),W=t("KKe4"),_=t.n(W),D=t("x8x8"),te=t.n(D),O=t("NCkV"),S=t.n(O),P=t("KLN8"),K=t.n(P),q=t("wOD2"),ee=t.n(q),oe=t("qJvV"),E=t.n(oe),w=t("bvJU"),C=t("Cmcn"),R=t("PenQ"),z=t("2KFj"),I=t("XPR9"),B=t("3S9h"),X=t("kFHX"),k=t("4jIl"),Y=t("XKWP"),J=t("N7Kx"),ie=t("k16G"),se=t("c1Ei"),re=t.n(se),je=t("yXPU"),fe=t.n(je),ce=t("lSNA"),Ee=t.n(ce),me=t("xEkU"),Me=t.n(me),pe=t("WOGj"),Te=t.n(pe),Se=t("SDGZ"),Ae=t("Xp4B");function De(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=h.DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:u,createCanvas:function(e,o){return new OffscreenCanvas(e,o)},createImage:function(e){return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,fetch(e);case 2:return n=d.sent,d.next=5,n.blob();case 5:return i=d.sent,d.next=8,createImageBitmap(i);case 8:return s=d.sent,d.abrupt("return",s);case 10:case"end":return d.stop()}},o)}))()}};return(typeof DOMParser!="undefined"||typeof u=="undefined")&&Reflect.deleteProperty(r,"DOMParser"),r}function Ue(h){var u=h.DOMParser,r=h.canvas,a=h.fetch;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:u,fetch:a,createCanvas:r.createCanvas,createImage:r.loadImage}}var Ke=Object.freeze({__proto__:null,offscreen:De,node:Ue});function Be(h){return h.replace(/(?!\u3000)\s+/gm," ")}function we(h){return h.replace(/^[\n \t]+/,"")}function Le(h){return h.replace(/[\n \t]+$/,"")}function Re(h){var u=(h||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return u.map(parseFloat)}var Je=/^[A-Z-]+$/;function st(h){return Je.test(h)?h.toLowerCase():h}function _e(h){var u=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(h)||[];return u[2]||u[3]||u[4]}function lt(h){if(!h.startsWith("rgb"))return h;var u=3,r=h.replace(/\d+(\.\d+)?/g,function(a,e){return u--&&e?String(Math.round(parseFloat(a))):a});return r}var gt=/(\[[^\]]+\])/g,mt=/(#[^\s+>~.[:]+)/g,wt=/(\.[^\s+>~.[:]+)/g,Mt=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Lt=/(:[\w-]+\([^)]*\))/gi,ut=/(:[^\s+>~.[:]+)/g,ct=/([^\s+>~.[:]+)/g;function rt(h,u){var r=u.exec(h);return r?[h.replace(u," "),r.length]:[h,0]}function ue(h){var u=[0,0,0],r=h.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),a=0,e=rt(r,gt),o=Object(ie.a)(e,2);r=o[0],a=o[1],u[1]+=a;var n=rt(r,mt),i=Object(ie.a)(n,2);r=i[0],a=i[1],u[0]+=a;var s=rt(r,wt),l=Object(ie.a)(s,2);r=l[0],a=l[1],u[1]+=a;var d=rt(r,Mt),v=Object(ie.a)(d,2);r=v[0],a=v[1],u[2]+=a;var b=rt(r,Lt),L=Object(ie.a)(b,2);r=L[0],a=L[1],u[1]+=a;var Q=rt(r,ut),ne=Object(ie.a)(Q,2);r=ne[0],a=ne[1],u[1]+=a,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," ");var le=rt(r,ct),ae=Object(ie.a)(le,2);return r=ae[0],a=ae[1],u[2]+=a,u.join("")}var he=1e-8;function xe(h){return Math.sqrt(Math.pow(h[0],2)+Math.pow(h[1],2))}function Oe(h,u){return(h[0]*u[0]+h[1]*u[1])/(xe(h)*xe(u))}function Pe(h,u){return(h[0]*u[1]<h[1]*u[0]?-1:1)*Math.acos(Oe(h,u))}function Fe(h){return h*h*h}function Ze(h){return 3*h*h*(1-h)}function $e(h){return 3*h*(1-h)*(1-h)}function Xe(h){return(1-h)*(1-h)*(1-h)}function dt(h){return h*h}function at(h){return 2*h*(1-h)}function vt(h){return(1-h)*(1-h)}var ge=function(){function h(u,r,a){Object(Y.a)(this,h),this.document=u,this.name=r,this.value=a,this.isNormalizedColor=!1}return Object(J.a)(h,[{key:"split",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",a=this.document,e=this.name;return Be(this.getString()).trim().split(r).map(function(o){return new h(a,e,o)})}},{key:"hasValue",value:function(r){var a=this.value;return a!==null&&a!==""&&(r||a!==0)&&typeof a!="undefined"}},{key:"isString",value:function(r){var a=this.value,e=typeof a=="string";return!e||!r?e:r.test(a)}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var r=this.getString();switch(!0){case r.endsWith("px"):case/^[0-9]+$/.test(r):return!0;default:return!1}}},{key:"setValue",value:function(r){return this.value=r,this}},{key:"getValue",value:function(r){return typeof r=="undefined"||this.hasValue()?this.value:r}},{key:"getNumber",value:function(r){if(!this.hasValue())return typeof r=="undefined"?0:parseFloat(r);var a=this.value,e=parseFloat(a);return this.isString(/%$/)&&(e/=100),e}},{key:"getString",value:function(r){return typeof r=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(r)}},{key:"getColor",value:function(r){var a=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=lt(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var e=typeof r=="boolean"?[void 0,r]:[r],o=Object(ie.a)(e,2),n=o[0],i=o[1],s=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;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()*s.computeSize(n);default:{var l=this.getNumber();return a&&l<1?l*s.computeSize(n):l}}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}},{key:"getRadians",value:function(){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)}}},{key:"getDefinition",value:function(){var r=this.getString(),a=/#([^)'"]+)/.exec(r);return a&&(a=a[1]),a||(a=r),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(r,a){var e=this.getDefinition();if(!e)return null;if(typeof e.createGradient=="function")return e.createGradient(this.document.ctx,r,a);if(typeof e.createPattern=="function"){if(e.getHrefAttribute().hasValue()){var o=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),o.hasValue()&&e.getAttribute("patternTransform",!0).setValue(o.value)}return e.createPattern(this.document.ctx,r,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?h.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(r){for(var a=this.getColor(),e=a.length,o=0,n=0;n<e&&!(a[n]===","&&o++,o===3);n++);if(r.hasValue()&&this.isString()&&o!==3){var i=new Te.a(a);i.ok&&(i.alpha=r.getNumber(),a=i.toRGBA())}return new h(this.document,this.name,a)}}],[{key:"empty",value:function(r){return new h(r,"EMPTY","")}}]),h}();ge.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"};var Et=function(){function h(){Object(Y.a)(this,h),this.viewPorts=[]}return Object(J.a)(h,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(r,a){this.viewPorts.push({width:r,height:a})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var r=this.viewPorts;return r[r.length-1]}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}},{key:"computeSize",value:function(r){return typeof r=="number"?r:r==="x"?this.width:r==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}]),h}(),We=function(){function h(u,r){Object(Y.a)(this,h),this.x=u,this.y=r}return Object(J.a)(h,[{key:"angleTo",value:function(r){return Math.atan2(r.y-this.y,r.x-this.x)}},{key:"applyTransform",value:function(r){var a=this.x,e=this.y,o=a*r[0]+e*r[2]+r[4],n=a*r[1]+e*r[3]+r[5];this.x=o,this.y=n}}],[{key:"parse",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=Re(r),o=Object(ie.a)(e,2),n=o[0],i=n===void 0?a:n,s=o[1],l=s===void 0?a:s;return new h(i,l)}},{key:"parseScale",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,e=Re(r),o=Object(ie.a)(e,2),n=o[0],i=n===void 0?a:n,s=o[1],l=s===void 0?i:s;return new h(i,l)}},{key:"parsePath",value:function(r){for(var a=Re(r),e=a.length,o=[],n=0;n<e;n+=2)o.push(new h(a[n],a[n+1]));return o}}]),h}(),Xt=function(){function h(u){Object(Y.a)(this,h),this.screen=u,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return Object(J.a)(h,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(this.working)return;var r=this.screen,a=this.onClick,e=this.onMouseMove,o=r.ctx.canvas;o.onclick=a,o.onmousemove=e,this.working=!0}},{key:"stop",value:function(){if(!this.working)return;var r=this.screen.ctx.canvas;this.working=!1,r.onclick=null,r.onmousemove=null}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(!this.working)return;var r=this.screen,a=this.events,e=this.eventElements,o=r.ctx.canvas.style;o&&(o.cursor=""),a.forEach(function(n,i){for(var s=n.run,l=e[i];l;)s(l),l=l.parent}),this.events=[],this.eventElements=[]}},{key:"checkPath",value:function(r,a){if(!this.working||!a)return;var e=this.events,o=this.eventElements;e.forEach(function(n,i){var s=n.x,l=n.y;!o[i]&&a.isPointInPath&&a.isPointInPath(s,l)&&(o[i]=r)})}},{key:"checkBoundingBox",value:function(r,a){if(!this.working||!a)return;var e=this.events,o=this.eventElements;e.forEach(function(n,i){var s=n.x,l=n.y;!o[i]&&a.isPointInBox(s,l)&&(o[i]=r)})}},{key:"mapXY",value:function(r,a){for(var e=this.screen,o=e.window,n=e.ctx,i=new We(r,a),s=n.canvas;s;)i.x-=s.offsetLeft,i.y-=s.offsetTop,s=s.offsetParent;return o.scrollX&&(i.x+=o.scrollX),o.scrollY&&(i.y+=o.scrollY),i}},{key:"onClick",value:function(r){var a=this.mapXY(r.clientX,r.clientY),e=a.x,o=a.y;this.events.push({type:"onclick",x:e,y:o,run:function(i){i.onClick&&i.onClick()}})}},{key:"onMouseMove",value:function(r){var a=this.mapXY(r.clientX,r.clientY),e=a.x,o=a.y;this.events.push({type:"onmousemove",x:e,y:o,run:function(i){i.onMouseMove&&i.onMouseMove()}})}}]),h}(),Qt=typeof window!="undefined"?window:null,Jt=typeof fetch!="undefined"?fetch.bind(void 0):null,Ot=function(){function h(u){Object(Y.a)(this,h);var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.fetch,e=a===void 0?Jt:a,o=r.window,n=o===void 0?Qt:o;this.ctx=u,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Et,this.mouse=new Xt(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=e}return Object(J.a)(h,[{key:"wait",value:function(r){this.waits.push(r)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var r=this.waits.every(function(a){return a()});return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}},{key:"setDefaults",value:function(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}},{key:"setViewBox",value:function(r){var a=r.document,e=r.ctx,o=r.aspectRatio,n=r.width,i=r.desiredWidth,s=r.height,l=r.desiredHeight,d=r.minX,v=d===void 0?0:d,b=r.minY,L=b===void 0?0:b,Q=r.refX,ne=r.refY,le=r.clip,ae=le===void 0?!1:le,be=r.clipX,ve=be===void 0?0:be,de=r.clipY,ye=de===void 0?0:de,Ie=Be(o).replace(/^defer\s/,""),Ne=Ie.split(" "),ze=Object(ie.a)(Ne,2),tt=ze[0],nt=ze[1],Qe=tt||"xMidYMid",Ye=nt||"meet",qe=n/i,ht=s/l,He=Math.min(qe,ht),xt=Math.max(qe,ht),Nt=i,Dt=l;Ye==="meet"&&(Nt*=He,Dt*=He),Ye==="slice"&&(Nt*=xt,Dt*=xt);var Bn=new ge(a,"refX",Q),Fn=new ge(a,"refY",ne),Wn=Bn.hasValue()&&Fn.hasValue();if(Wn&&e.translate(-He*Bn.getPixels("x"),-He*Fn.getPixels("y")),ae){var kn=He*ve,Gn=He*ye;e.beginPath(),e.moveTo(kn,Gn),e.lineTo(n,Gn),e.lineTo(n,s),e.lineTo(kn,s),e.closePath(),e.clip()}if(!Wn){var zn=Ye==="meet"&&He===ht,Hn=Ye==="slice"&&xt===ht,Kn=Ye==="meet"&&He===qe,Yn=Ye==="slice"&&xt===qe;Qe.startsWith("xMid")&&(zn||Hn)&&e.translate(n/2-Nt/2,0),Qe.endsWith("YMid")&&(Kn||Yn)&&e.translate(0,s/2-Dt/2),Qe.startsWith("xMax")&&(zn||Hn)&&e.translate(n-Nt,0),Qe.endsWith("YMax")&&(Kn||Yn)&&e.translate(0,s-Dt)}switch(!0){case Qe==="none":e.scale(qe,ht);break;case Ye==="meet":e.scale(He,He);break;case Ye==="slice":e.scale(xt,xt);break}e.translate(-v,-L)}},{key:"start",value:function(r){var a=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=e.enableRedraw,n=o===void 0?!1:o,i=e.ignoreMouse,s=i===void 0?!1:i,l=e.ignoreAnimation,d=l===void 0?!1:l,v=e.ignoreDimensions,b=v===void 0?!1:v,L=e.ignoreClear,Q=L===void 0?!1:L,ne=e.forceRedraw,le=e.scaleWidth,ae=e.scaleHeight,be=e.offsetX,ve=e.offsetY,de=this.FRAMERATE,ye=this.mouse,Ie=1e3/de;if(this.frameDuration=Ie,this.readyPromise=new Promise(function(Qe){a.resolveReady=Qe}),this.isReady()&&this.render(r,b,Q,le,ae,be,ve),!n)return;var Ne=Date.now(),ze=Ne,tt=0,nt=function Qe(){Ne=Date.now(),tt=Ne-ze,tt>=Ie&&(ze=Ne-tt%Ie,a.shouldUpdate(d,ne)&&(a.render(r,b,Q,le,ae,be,ve),ye.runEvents())),a.intervalId=Me()(Qe)};s||ye.start(),this.intervalId=Me()(nt)}},{key:"stop",value:function(){this.intervalId&&(Me.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(r,a){if(!r){var e=this.frameDuration,o=this.animations.reduce(function(n,i){return i.update(e)||n},!1);if(o)return!0}return typeof a=="function"&&a()||!this.isReadyLock&&this.isReady()?!0:!!this.mouse.hasEvents()}},{key:"render",value:function(r,a,e,o,n,i,s){var l=this.CLIENT_WIDTH,d=this.CLIENT_HEIGHT,v=this.viewPort,b=this.ctx,L=this.isFirstRender,Q=b.canvas;v.clear(),Q.width&&Q.height?v.setCurrent(Q.width,Q.height):v.setCurrent(l,d);var ne=r.getStyle("width"),le=r.getStyle("height");!a&&(L||typeof o!="number"&&typeof n!="number")&&(ne.hasValue()&&(Q.width=ne.getPixels("x"),Q.style&&(Q.style.width="".concat(Q.width,"px"))),le.hasValue()&&(Q.height=le.getPixels("y"),Q.style&&(Q.style.height="".concat(Q.height,"px"))));var ae=Q.clientWidth||Q.width,be=Q.clientHeight||Q.height;if(a&&ne.hasValue()&&le.hasValue()&&(ae=ne.getPixels("x"),be=le.getPixels("y")),v.setCurrent(ae,be),typeof i=="number"&&r.getAttribute("x",!0).setValue(i),typeof s=="number"&&r.getAttribute("y",!0).setValue(s),typeof o=="number"||typeof n=="number"){var ve=Re(r.getAttribute("viewBox").getString()),de=0,ye=0;if(typeof o=="number"){var Ie=r.getStyle("width");Ie.hasValue()?de=Ie.getPixels("x")/o:isNaN(ve[2])||(de=ve[2]/o)}if(typeof n=="number"){var Ne=r.getStyle("height");Ne.hasValue()?ye=Ne.getPixels("y")/n:isNaN(ve[3])||(ye=ve[3]/n)}de||(de=ye),ye||(ye=de),r.getAttribute("width",!0).setValue(o),r.getAttribute("height",!0).setValue(n);var ze=r.getStyle("transform",!0,!0);ze.setValue("".concat(ze.getString()," scale(").concat(1/de,", ").concat(1/ye,")"))}e||b.clearRect(0,0,ae,be),r.render(b),L&&(this.isFirstRender=!1)}}]),h}();Ot.defaultWindow=Qt,Ot.defaultFetch=Jt;var $n=Ot.defaultFetch,Xn=typeof DOMParser!="undefined"?DOMParser:null,Pt=function(){function h(){Object(Y.a)(this,h);var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=u.fetch,a=r===void 0?$n:r,e=u.DOMParser,o=e===void 0?Xn:e;this.fetch=a,this.DOMParser=o}return Object(J.a)(h,[{key:"parse",value:function(r){var a=this;return fe()(re.a.mark(function e(){return re.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!r.startsWith("<")){n.next=2;break}return n.abrupt("return",a.parseFromString(r));case 2:return n.abrupt("return",a.load(r));case 3:case"end":return n.stop()}},e)}))()}},{key:"parseFromString",value:function(r){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(r,"image/svg+xml"))}catch(e){return this.checkDocument(a.parseFromString(r,"text/xml"))}}},{key:"checkDocument",value:function(r){var a=r.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return r}},{key:"load",value:function(r){var a=this;return fe()(re.a.mark(function e(){var o,n;return re.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,a.fetch(r);case 2:return o=s.sent,s.next=5,o.text();case 5:return n=s.sent,s.abrupt("return",a.parseFromString(n));case 7:case"end":return s.stop()}},e)}))()}}]),h}(),Zt=function(){function h(u,r){Object(Y.a)(this,h),this.type="translate",this.point=null,this.point=We.parse(r)}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.point,e=a.x,o=a.y;r.translate(e||0,o||0)}},{key:"unapply",value:function(r){var a=this.point,e=a.x,o=a.y;r.translate(-1*e||0,-1*o||0)}},{key:"applyToPoint",value:function(r){var a=this.point,e=a.x,o=a.y;r.applyTransform([1,0,0,1,e||0,o||0])}}]),h}(),qt=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=Re(r);this.angle=new ge(u,"angle",e[0]),this.originX=a[0],this.originY=a[1],this.cx=e[1]||0,this.cy=e[2]||0}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.cx,e=this.cy,o=this.originX,n=this.originY,i=this.angle,s=a+o.getPixels("x"),l=e+n.getPixels("y");r.translate(s,l),r.rotate(i.getRadians()),r.translate(-s,-l)}},{key:"unapply",value:function(r){var a=this.cx,e=this.cy,o=this.originX,n=this.originY,i=this.angle,s=a+o.getPixels("x"),l=e+n.getPixels("y");r.translate(s,l),r.rotate(-1*i.getRadians()),r.translate(-s,-l)}},{key:"applyToPoint",value:function(r){var a=this.cx,e=this.cy,o=this.angle,n=o.getRadians();r.applyTransform([1,0,0,1,a||0,e||0]),r.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),r.applyTransform([1,0,0,1,-a||0,-e||0])}}]),h}(),_t=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=We.parseScale(r);(e.x===0||e.y===0)&&(e.x=he,e.y=he),this.scale=e,this.originX=a[0],this.originY=a[1]}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.scale,e=a.x,o=a.y,n=this.originX,i=this.originY,s=n.getPixels("x"),l=i.getPixels("y");r.translate(s,l),r.scale(e,o||e),r.translate(-s,-l)}},{key:"unapply",value:function(r){var a=this.scale,e=a.x,o=a.y,n=this.originX,i=this.originY,s=n.getPixels("x"),l=i.getPixels("y");r.translate(s,l),r.scale(1/e,1/o||e),r.translate(-s,-l)}},{key:"applyToPoint",value:function(r){var a=this.scale,e=a.x,o=a.y;r.applyTransform([e||0,0,0,o||0,0,0])}}]),h}(),Ut=function(){function h(u,r,a){Object(Y.a)(this,h),this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Re(r),this.originX=a[0],this.originY=a[1]}return Object(J.a)(h,[{key:"apply",value:function(r){var a=this.originX,e=this.originY,o=this.matrix,n=a.getPixels("x"),i=e.getPixels("y");r.translate(n,i),r.transform(o[0],o[1],o[2],o[3],o[4],o[5]),r.translate(-n,-i)}},{key:"unapply",value:function(r){var a=this.originX,e=this.originY,o=this.matrix,n=o[0],i=o[2],s=o[4],l=o[1],d=o[3],v=o[5],b=0,L=0,Q=1,ne=1/(n*(d*Q-v*L)-i*(l*Q-v*b)+s*(l*L-d*b)),le=a.getPixels("x"),ae=e.getPixels("y");r.translate(le,ae),r.transform(ne*(d*Q-v*L),ne*(v*b-l*Q),ne*(s*L-i*Q),ne*(n*Q-s*b),ne*(i*v-s*d),ne*(s*l-n*v)),r.translate(-le,-ae)}},{key:"applyToPoint",value:function(r){r.applyTransform(this.matrix)}}]),h}(),Vt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skew",n.angle=null,n.angle=new ge(a,"angle",e),n}return r}(Ut),en=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skewX",n.matrix=[1,0,Math.tan(n.angle.getRadians()),1,0,0],n}return r}(Vt),tn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="skewY",n.matrix=[1,Math.tan(n.angle.getRadians()),0,1,0,0],n}return r}(Vt);function Qn(h){return Be(h).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Jn(h){var u=h.split("("),r=Object(ie.a)(u,2),a=r[0],e=r[1];return[a.trim(),e.trim().replace(")","")]}var St=function(){function h(u,r,a){var e=this;Object(Y.a)(this,h),this.document=u,this.transforms=[];var o=Qn(r);o.forEach(function(n){if(n==="none")return;var i=Jn(n),s=Object(ie.a)(i,2),l=s[0],d=s[1],v=h.transformTypes[l];typeof v!="undefined"&&e.transforms.push(new v(e.document,d,a))})}return Object(J.a)(h,[{key:"apply",value:function(r){for(var a=this.transforms,e=a.length,o=0;o<e;o++)a[o].apply(r)}},{key:"unapply",value:function(r){for(var a=this.transforms,e=a.length,o=e-1;o>=0;o--)a[o].unapply(r)}},{key:"applyToPoint",value:function(r){for(var a=this.transforms,e=a.length,o=0;o<e;o++)a[o].applyToPoint(r)}}],[{key:"fromElement",value:function(r,a){var e=a.getStyle("transform",!1,!0),o=a.getStyle("transform-origin",!1,!0).split(),n=Object(ie.a)(o,2),i=n[0],s=n[1],l=s===void 0?i:s,d=[i,l];return e.hasValue()?new h(r,e.getString(),d):null}}]),h}();St.transformTypes={translate:Zt,rotate:qt,scale:_t,matrix:Ut,skewX:en,skewY:tn};var Ve=function(){function h(u,r){var a=this;Object(Y.a)(this,h);var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=u,this.node=r,this.captureTextNodes=e,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!r||r.nodeType!==1)return;if(Array.from(r.attributes).forEach(function(s){var l=st(s.nodeName);a.attributes[l]=new ge(u,l,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var o=this.getAttribute("style").getString().split(";").map(function(s){return s.trim()});o.forEach(function(s){if(!s)return;var l=s.split(":").map(function(L){return L.trim()}),d=Object(ie.a)(l,2),v=d[0],b=d[1];a.styles[v]=new ge(u,v,b)})}var n=u.definitions,i=this.getAttribute("id");i.hasValue()&&(n[i.getString()]||(n[i.getString()]=this)),Array.from(r.childNodes).forEach(function(s){if(s.nodeType===1)a.addChild(s);else if(e&&(s.nodeType===3||s.nodeType===4)){var l=u.createTextNode(s);l.getText().length>0&&a.addChild(l)}})}return Object(J.a)(h,[{key:"getAttribute",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=this.attributes[r];if(!e&&a){var o=new ge(this.document,r,"");return this.attributes[r]=o,o}return e||ge.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return ge.empty(this.document)}},{key:"getStyle",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.styles[r];if(o)return o;var n=this.getAttribute(r);if(n!=null&&n.hasValue())return this.styles[r]=n,n;if(!e){var i=this.parent;if(i){var s=i.getStyle(r);if(s!=null&&s.hasValue())return s}}if(a){var l=new ge(this.document,r,"");return this.styles[r]=l,l}return o||ge.empty(this.document)}},{key:"render",value:function(r){if(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")return;if(r.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var e=this.getStyle("filter").getDefinition();e&&(this.applyEffects(r),e.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}},{key:"setContext",value:function(r){}},{key:"applyEffects",value:function(r){var a=St.fromElement(this.document,this);a&&a.apply(r);var e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){var o=e.getDefinition();o&&o.apply(r)}}},{key:"clearContext",value:function(r){}},{key:"renderChildren",value:function(r){this.children.forEach(function(a){a.render(r)})}},{key:"addChild",value:function(r){var a=r instanceof h?r:this.document.createElement(r);a.parent=this,h.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(r){var a=this.node;if(typeof a.matches=="function")return a.matches(r);var e=a.getAttribute("class");return!e||e===""?!1:e.split(" ").some(function(o){return".".concat(o)===r})}},{key:"addStylesFromStyleDefinition",value:function(){var r=this.document,a=r.styles,e=r.stylesSpecificity;for(var o in a)if(!o.startsWith("@")&&this.matchesSelector(o)){var n=a[o],i=e[o];if(n)for(var s in n){var l=this.stylesSpecificity[s];typeof l=="undefined"&&(l="000"),i>=l&&(this.styles[s]=n[s],this.stylesSpecificity[s]=i)}}}},{key:"removeStyles",value:function(r,a){var e=a.reduce(function(o,n){var i=r.getStyle(n);if(!i.hasValue())return o;var s=i.getString();return i.setValue(""),[].concat(Object(B.a)(o),[[n,s]])},[]);return e}},{key:"restoreStyles",value:function(r,a){a.forEach(function(e){var o=Object(ie.a)(e,2),n=o[0],i=o[1];r.getStyle(n,!0).setValue(i)})}}]),h}();Ve.ignoreChildTypes=["title"];var nn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){return Object(Y.a)(this,r),u.call(this,a,e,o)}return r}(Ve);function Zn(h){var u=h.trim();return/^('|")/.test(u)?u:'"'.concat(u,'"')}function qn(h){return typeof c=="undefined"?h:h.trim().split(",").map(Zn).join(",")}function _n(h){if(!h)return"";var u=h.trim().toLowerCase();switch(u){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return u;default:return/^oblique\s+(-|)\d+deg$/.test(u)?u:""}}function er(h){if(!h)return"";var u=h.trim().toLowerCase();switch(u){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return u;default:return/^[\d.]+$/.test(u)?u:""}}var ot=function(){function h(u,r,a,e,o,n){Object(Y.a)(this,h);var i=n?typeof n=="string"?h.parse(n):n:{};this.fontFamily=o||i.fontFamily,this.fontSize=e||i.fontSize,this.fontStyle=u||i.fontStyle,this.fontWeight=a||i.fontWeight,this.fontVariant=r||i.fontVariant}return Object(J.a)(h,[{key:"toString",value:function(){return[_n(this.fontStyle),this.fontVariant,er(this.fontWeight),this.fontSize,qn(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,e="",o="",n="",i="",s="",l=Be(r).trim().split(" "),d={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(function(v){switch(!0){case(!d.fontStyle&&h.styles.includes(v)):v!=="inherit"&&(e=v),d.fontStyle=!0;break;case(!d.fontVariant&&h.variants.includes(v)):v!=="inherit"&&(o=v),d.fontStyle=!0,d.fontVariant=!0;break;case(!d.fontWeight&&h.weights.includes(v)):v!=="inherit"&&(n=v),d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0;break;case!d.fontSize:if(v!=="inherit"){var b=v.split("/"),L=Object(ie.a)(b,1);i=L[0]}d.fontStyle=!0,d.fontVariant=!0,d.fontWeight=!0,d.fontSize=!0;break;default:v!=="inherit"&&(s+=v)}}),new h(e,o,n,i,s,a)}}]),h}();ot.styles="normal|italic|oblique|inherit",ot.variants="normal|small-caps|inherit",ot.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var et=function(){function h(){Object(Y.a)(this,h);var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=u,this.y1=r,this.x2=a,this.y2=e,this.addPoint(u,r),this.addPoint(a,e)}return Object(J.a)(h,[{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}},{key:"addPoint",value:function(r,a){typeof r!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=r,this.x2=r),r<this.x1&&(this.x1=r),r>this.x2&&(this.x2=r)),typeof a!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),a<this.y1&&(this.y1=a),a>this.y2&&(this.y2=a))}},{key:"addX",value:function(r){this.addPoint(r,null)}},{key:"addY",value:function(r){this.addPoint(null,r)}},{key:"addBoundingBox",value:function(r){if(!r)return;var a=r.x1,e=r.y1,o=r.x2,n=r.y2;this.addPoint(a,e),this.addPoint(o,n)}},{key:"sumCubic",value:function(r,a,e,o,n){return Math.pow(1-r,3)*a+3*Math.pow(1-r,2)*r*e+3*(1-r)*Math.pow(r,2)*o+Math.pow(r,3)*n}},{key:"bezierCurveAdd",value:function(r,a,e,o,n){var i=6*a-12*e+6*o,s=-3*a+9*e-9*o+3*n,l=3*e-3*a;if(s===0){if(i===0)return;var d=-l/i;0<d&&d<1&&(r?this.addX(this.sumCubic(d,a,e,o,n)):this.addY(this.sumCubic(d,a,e,o,n)));return}var v=Math.pow(i,2)-4*l*s;if(v<0)return;var b=(-i+Math.sqrt(v))/(2*s);0<b&&b<1&&(r?this.addX(this.sumCubic(b,a,e,o,n)):this.addY(this.sumCubic(b,a,e,o,n)));var L=(-i-Math.sqrt(v))/(2*s);0<L&&L<1&&(r?this.addX(this.sumCubic(L,a,e,o,n)):this.addY(this.sumCubic(L,a,e,o,n)))}},{key:"addBezierCurve",value:function(r,a,e,o,n,i,s,l){this.addPoint(r,a),this.addPoint(s,l),this.bezierCurveAdd(!0,r,e,n,s),this.bezierCurveAdd(!1,a,o,i,l)}},{key:"addQuadraticCurve",value:function(r,a,e,o,n,i){var s=r+2/3*(e-r),l=a+2/3*(o-a),d=s+1/3*(n-r),v=l+1/3*(i-a);this.addBezierCurve(r,a,s,d,l,v,n,i)}},{key:"isPointInBox",value:function(r,a){var e=this.x1,o=this.y1,n=this.x2,i=this.y2;return e<=r&&r<=n&&o<=a&&a<=i}}]),h}(),Ce=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a){var e;return Object(Y.a)(this,r),e=u.call(this,a.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),e.control=null,e.start=null,e.current=null,e.command=null,e.commands=e.commands,e.i=-1,e.previousCommand=null,e.points=[],e.angles=[],e}return Object(J.a)(r,[{key:"reset",value:function(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new We(0,0),this.control=new We(0,0),this.current=new We(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){var e=this.i,o=this.commands;return e>=o.length-1}},{key:"next",value:function(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}},{key:"getPoint",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",n=new We(this.command[e],this.command[o]);return this.makeAbsolute(n)}},{key:"getAsControlPoint",value:function(e,o){var n=this.getPoint(e,o);return this.control=n,n}},{key:"getAsCurrentPoint",value:function(e,o){var n=this.getPoint(e,o);return this.current=n,n}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.type;if(e!==Se.a.CURVE_TO&&e!==Se.a.SMOOTH_CURVE_TO&&e!==Se.a.QUAD_TO&&e!==Se.a.SMOOTH_QUAD_TO)return this.current;var o=this.current,n=o.x,i=o.y,s=this.control,l=s.x,d=s.y,v=new We(2*n-l,2*i-d);return v}},{key:"makeAbsolute",value:function(e){if(this.command.relative){var o=this.current,n=o.x,i=o.y;e.x+=n,e.y+=i}return e}},{key:"addMarker",value:function(e,o,n){var i=this.points,s=this.angles;n&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=i[i.length-1].angleTo(n)),this.addMarkerAngle(e,o?o.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,o){this.points.push(e),this.angles.push(o)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,o=e.length,n=0;n<o;n++)if(!e[n]){for(var i=n+1;i<o;i++)if(e[i]){e[n]=e[i];break}}return e}}]),r}(Se.a),ft=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.modifiedEmSizeStack=!1,a}return Object(J.a)(r,[{key:"calculateOpacity",value:function(){for(var e=1,o=this;o;){var n=o.getStyle("opacity",!1,!0);n.hasValue(!0)&&(e*=n.getNumber()),o=o.parent}return e}},{key:"setContext",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!o){var n=this.getStyle("fill"),i=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),l=this.getStyle("stroke-opacity");if(n.isUrlDefinition()){var d=n.getFillStyleDefinition(this,i);d&&(e.fillStyle=d)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var v=n.getColor();v!=="inherit"&&(e.fillStyle=v==="none"?"rgba(0,0,0,0)":v)}if(i.hasValue()){var b=new ge(this.document,"fill",e.fillStyle).addOpacity(i).getColor();e.fillStyle=b}if(s.isUrlDefinition()){var L=s.getFillStyleDefinition(this,l);L&&(e.strokeStyle=L)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());var Q=s.getString();Q!=="inherit"&&(e.strokeStyle=Q==="none"?"rgba(0,0,0,0)":Q)}if(l.hasValue()){var ne=new ge(this.document,"stroke",e.strokeStyle).addOpacity(l).getString();e.strokeStyle=ne}var le=this.getStyle("stroke-width");if(le.hasValue()){var ae=le.getPixels();e.lineWidth=ae||he}var be=this.getStyle("stroke-linecap"),ve=this.getStyle("stroke-linejoin"),de=this.getStyle("stroke-miterlimit"),ye=this.getStyle("stroke-dasharray"),Ie=this.getStyle("stroke-dashoffset");if(be.hasValue()&&(e.lineCap=be.getString()),ve.hasValue()&&(e.lineJoin=ve.getString()),de.hasValue()&&(e.miterLimit=de.getNumber()),ye.hasValue()&&ye.getString()!=="none"){var Ne=Re(ye.getString());typeof e.setLineDash!="undefined"?e.setLineDash(Ne):typeof e.webkitLineDash!="undefined"?e.webkitLineDash=Ne:typeof e.mozDash!="undefined"&&!(Ne.length===1&&Ne[0]===0)&&(e.mozDash=Ne);var ze=Ie.getPixels();typeof e.lineDashOffset!="undefined"?e.lineDashOffset=ze:typeof e.webkitLineDashOffset!="undefined"?e.webkitLineDashOffset=ze:typeof e.mozDashOffset!="undefined"&&(e.mozDashOffset=ze)}}if(this.modifiedEmSizeStack=!1,typeof e.font!="undefined"){var tt=this.getStyle("font"),nt=this.getStyle("font-style"),Qe=this.getStyle("font-variant"),Ye=this.getStyle("font-weight"),qe=this.getStyle("font-size"),ht=this.getStyle("font-family"),He=new ot(nt.getString(),Qe.getString(),Ye.getString(),qe.hasValue()?"".concat(qe.getPixels(!0),"px"):"",ht.getString(),ot.parse(tt.getString(),e.font));nt.setValue(He.fontStyle),Qe.setValue(He.fontVariant),Ye.setValue(He.fontWeight),qe.setValue(He.fontSize),ht.setValue(He.fontFamily),e.font=He.toString(),qe.isPixels()&&(this.document.emSize=qe.getPixels(),this.modifiedEmSizeStack=!0)}o||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"clearContext",this).call(this,e),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),r}(Ve),Ge=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="path",n.pathParser=null,n.pathParser=new Ce(n.getAttribute("d").getString()),n}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.pathParser,n=new et;for(o.reset(),e&&e.beginPath();!o.isEnd();)switch(o.next().type){case Ce.MOVE_TO:this.pathM(e,n);break;case Ce.LINE_TO:this.pathL(e,n);break;case Ce.HORIZ_LINE_TO:this.pathH(e,n);break;case Ce.VERT_LINE_TO:this.pathV(e,n);break;case Ce.CURVE_TO:this.pathC(e,n);break;case Ce.SMOOTH_CURVE_TO:this.pathS(e,n);break;case Ce.QUAD_TO:this.pathQ(e,n);break;case Ce.SMOOTH_QUAD_TO:this.pathT(e,n);break;case Ce.ARC:this.pathA(e,n);break;case Ce.CLOSE_PATH:this.pathZ(e,n);break}return n}},{key:"getBoundingBox",value:function(e){return this.path()}},{key:"getMarkers",value:function(){var e=this.pathParser,o=e.getMarkerPoints(),n=e.getMarkerAngles(),i=o.map(function(s,l){return[s,n[l]]});return i}},{key:"renderChildren",value:function(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var o=this.getStyle("fill-rule");e.fillStyle!==""&&(o.getString("inherit")!=="inherit"?e.fill(o.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var n=this.getMarkers();if(n){var i=n.length-1,s=this.getStyle("marker-start"),l=this.getStyle("marker-mid"),d=this.getStyle("marker-end");if(s.isUrlDefinition()){var v=s.getDefinition(),b=Object(ie.a)(n[0],2),L=b[0],Q=b[1];v.render(e,L,Q)}if(l.isUrlDefinition())for(var ne=l.getDefinition(),le=1;le<i;le++){var ae=Object(ie.a)(n[le],2),be=ae[0],ve=ae[1];ne.render(e,be,ve)}if(d.isUrlDefinition()){var de=d.getDefinition(),ye=Object(ie.a)(n[i],2),Ie=ye[0],Ne=ye[1];de.render(e,Ie,Ne)}}}},{key:"pathM",value:function(e,o){var n=this.pathParser,i=r.pathM(n),s=i.point,l=s.x,d=s.y;n.addMarker(s),o.addPoint(l,d),e&&e.moveTo(l,d)}},{key:"pathL",value:function(e,o){var n=this.pathParser,i=r.pathL(n),s=i.current,l=i.point,d=l.x,v=l.y;n.addMarker(l,s),o.addPoint(d,v),e&&e.lineTo(d,v)}},{key:"pathH",value:function(e,o){var n=this.pathParser,i=r.pathH(n),s=i.current,l=i.point,d=l.x,v=l.y;n.addMarker(l,s),o.addPoint(d,v),e&&e.lineTo(d,v)}},{key:"pathV",value:function(e,o){var n=this.pathParser,i=r.pathV(n),s=i.current,l=i.point,d=l.x,v=l.y;n.addMarker(l,s),o.addPoint(d,v),e&&e.lineTo(d,v)}},{key:"pathC",value:function(e,o){var n=this.pathParser,i=r.pathC(n),s=i.current,l=i.point,d=i.controlPoint,v=i.currentPoint;n.addMarker(v,d,l),o.addBezierCurve(s.x,s.y,l.x,l.y,d.x,d.y,v.x,v.y),e&&e.bezierCurveTo(l.x,l.y,d.x,d.y,v.x,v.y)}},{key:"pathS",value:function(e,o){var n=this.pathParser,i=r.pathS(n),s=i.current,l=i.point,d=i.controlPoint,v=i.currentPoint;n.addMarker(v,d,l),o.addBezierCurve(s.x,s.y,l.x,l.y,d.x,d.y,v.x,v.y),e&&e.bezierCurveTo(l.x,l.y,d.x,d.y,v.x,v.y)}},{key:"pathQ",value:function(e,o){var n=this.pathParser,i=r.pathQ(n),s=i.current,l=i.controlPoint,d=i.currentPoint;n.addMarker(d,l,l),o.addQuadraticCurve(s.x,s.y,l.x,l.y,d.x,d.y),e&&e.quadraticCurveTo(l.x,l.y,d.x,d.y)}},{key:"pathT",value:function(e,o){var n=this.pathParser,i=r.pathT(n),s=i.current,l=i.controlPoint,d=i.currentPoint;n.addMarker(d,l,l),o.addQuadraticCurve(s.x,s.y,l.x,l.y,d.x,d.y),e&&e.quadraticCurveTo(l.x,l.y,d.x,d.y)}},{key:"pathA",value:function(e,o){var n=this.pathParser,i=r.pathA(n),s=i.currentPoint,l=i.rX,d=i.rY,v=i.sweepFlag,b=i.xAxisRotation,L=i.centp,Q=i.a1,ne=i.ad,le=1-v?1:-1,ae=Q+le*(ne/2),be=new We(L.x+l*Math.cos(ae),L.y+d*Math.sin(ae));if(n.addMarkerAngle(be,ae-le*Math.PI/2),n.addMarkerAngle(s,ae-le*Math.PI),o.addPoint(s.x,s.y),e&&!isNaN(Q)&&!isNaN(ne)){var ve=l>d?l:d,de=l>d?1:l/d,ye=l>d?d/l:1;e.translate(L.x,L.y),e.rotate(b),e.scale(de,ye),e.arc(0,0,ve,Q,Q+ne,Boolean(1-v)),e.scale(1/de,1/ye),e.rotate(-b),e.translate(-L.x,-L.y)}}},{key:"pathZ",value:function(e,o){r.pathZ(this.pathParser),e&&(o.x1!==o.x2&&o.y1!==o.y2&&e.closePath())}}],[{key:"pathM",value:function(e){var o=e.getAsCurrentPoint();return e.start=e.current,{point:o}}},{key:"pathL",value:function(e){var o=e.current,n=e.getAsCurrentPoint();return{current:o,point:n}}},{key:"pathH",value:function(e){var o=e.current,n=e.command,i=new We((n.relative?o.x:0)+n.x,o.y);return e.current=i,{current:o,point:i}}},{key:"pathV",value:function(e){var o=e.current,n=e.command,i=new We(o.x,(n.relative?o.y:0)+n.y);return e.current=i,{current:o,point:i}}},{key:"pathC",value:function(e){var o=e.current,n=e.getPoint("x1","y1"),i=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:o,point:n,controlPoint:i,currentPoint:s}}},{key:"pathS",value:function(e){var o=e.current,n=e.getReflectedControlPoint(),i=e.getAsControlPoint("x2","y2"),s=e.getAsCurrentPoint();return{current:o,point:n,controlPoint:i,currentPoint:s}}},{key:"pathQ",value:function(e){var o=e.current,n=e.getAsControlPoint("x1","y1"),i=e.getAsCurrentPoint();return{current:o,controlPoint:n,currentPoint:i}}},{key:"pathT",value:function(e){var o=e.current,n=e.getReflectedControlPoint();e.control=n;var i=e.getAsCurrentPoint();return{current:o,controlPoint:n,currentPoint:i}}},{key:"pathA",value:function(e){var o=e.current,n=e.command,i=n.rX,s=n.rY,l=n.xRot,d=n.lArcFlag,v=n.sweepFlag,b=l*(Math.PI/180),L=e.getAsCurrentPoint(),Q=new We(Math.cos(b)*(o.x-L.x)/2+Math.sin(b)*(o.y-L.y)/2,-Math.sin(b)*(o.x-L.x)/2+Math.cos(b)*(o.y-L.y)/2),ne=Math.pow(Q.x,2)/Math.pow(i,2)+Math.pow(Q.y,2)/Math.pow(s,2);ne>1&&(i*=Math.sqrt(ne),s*=Math.sqrt(ne));var le=(d===v?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(s,2)-Math.pow(i,2)*Math.pow(Q.y,2)-Math.pow(s,2)*Math.pow(Q.x,2))/(Math.pow(i,2)*Math.pow(Q.y,2)+Math.pow(s,2)*Math.pow(Q.x,2)));isNaN(le)&&(le=0);var ae=new We(le*i*Q.y/s,le*-s*Q.x/i),be=new We((o.x+L.x)/2+Math.cos(b)*ae.x-Math.sin(b)*ae.y,(o.y+L.y)/2+Math.sin(b)*ae.x+Math.cos(b)*ae.y),ve=Pe([1,0],[(Q.x-ae.x)/i,(Q.y-ae.y)/s]),de=[(Q.x-ae.x)/i,(Q.y-ae.y)/s],ye=[(-Q.x-ae.x)/i,(-Q.y-ae.y)/s],Ie=Pe(de,ye);return Oe(de,ye)<=-1&&(Ie=Math.PI),Oe(de,ye)>=1&&(Ie=0),{currentPoint:L,rX:i,rY:s,sweepFlag:v,xAxisRotation:b,centp:be,a1:ve,ad:Ie}}},{key:"pathZ",value:function(e){e.current=e.start}}]),r}(ft),Bt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="glyph",n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber(),n.unicode=n.getAttribute("unicode").getString(),n.arabicForm=n.getAttribute("arabic-form").getString(),n}return r}(Ge),yt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,new.target===r?!0:o),n.type="text",n.x=0,n.y=0,n.measureCache=-1,n}return Object(J.a)(r,[{key:"setContext",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e,o);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();n&&(e.textBaseline=n)}},{key:"initializeCoordinates",value:function(e){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var o=this.getAttribute("dx"),n=this.getAttribute("dy");o.hasValue()&&(this.x+=o.getPixels("x")),n.hasValue()&&(this.y+=n.getPixels("y")),this.x+=this.getAnchorDelta(e,this,0)}},{key:"getBoundingBox",value:function(e){var o=this;if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(e);var n=null;return this.children.forEach(function(i,s){var l=o.getChildBoundingBox(e,o,o,s);n?n.addBoundingBox(l):n=l}),n}},{key:"getFontSize",value:function(){var e=this.document,o=this.parent,n=ot.parse(e.ctx.font).fontSize,i=o.getStyle("font-size").getNumber(n);return i}},{key:"getTElementBoundingBox",value:function(e){var o=this.getFontSize();return new et(this.x,this.y-o,this.x+this.measureText(e),this.y)}},{key:"getGlyph",value:function(e,o,n){var i=o[n],s=null;if(e.isArabic){var l=o.length,d=o[n-1],v=o[n+1],b="isolated";if((n===0||d===" ")&&n<l-2&&v!==" "&&(b="terminal"),n>0&&d!==" "&&n<l-2&&v!==" "&&(b="medial"),n>0&&d!==" "&&(n===l-1||v===" ")&&(b="initial"),typeof e.glyphs[i]!="undefined"){var L=e.glyphs[i];s=L instanceof Bt?L:L[b]}}else s=e.glyphs[i];return s||(s=e.missingGlyph),s}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(e){var o=e||this.node,n=Array.from(o.parentNode.childNodes),i=n.indexOf(o),s=n.length-1,l=Be(o.textContent||"");return i===0&&(l=we(l)),i===s&&(l=Le(l)),l}},{key:"renderChildren",value:function(e){var o=this;if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(e),this.children.forEach(function(i,s){o.renderChild(e,o,o,s)});var n=this.document.screen.mouse;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(e))}},{key:"renderTElementChildren",value:function(e){var o=this.document,n=this.parent,i=this.getText(),s=n.getStyle("font-family").getDefinition();if(s){for(var l=s.fontFace.unitsPerEm,d=ot.parse(o.ctx.font),v=n.getStyle("font-size").getNumber(d.fontSize),b=n.getStyle("font-style").getString(d.fontStyle),L=v/l,Q=s.isRTL?i.split("").reverse().join(""):i,ne=Re(n.getAttribute("dx").getString()),le=Q.length,ae=0;ae<le;ae++){var be=this.getGlyph(s,Q,ae);e.translate(this.x,this.y),e.scale(L,-L);var ve=e.lineWidth;e.lineWidth=e.lineWidth*l/v,b==="italic"&&e.transform(1,0,.4,1,0,0),be.render(e),b==="italic"&&e.transform(1,0,-.4,1,0,0),e.lineWidth=ve,e.scale(1/L,-1/L),e.translate(-this.x,-this.y),this.x+=v*(be.horizAdvX||s.horizAdvX)/l,typeof ne[ae]!="undefined"&&!isNaN(ne[ae])&&(this.x+=ne[ae])}return}var de=this.x,ye=this.y;e.fillStyle&&e.fillText(i,de,ye),e.strokeStyle&&e.strokeText(i,de,ye)}},{key:"getAnchorDelta",value:function(e,o,n){var i=this.getStyle("text-anchor").getString("start");if(i!=="start"){for(var s=o.children,l=s.length,d=null,v=0,b=n;b<l&&!(d=s[b],b>n&&d.getAttribute("x").hasValue()||d.getAttribute("text-anchor").hasValue());b++)v+=d.measureTextRecursive(e);return-1*(i==="end"?v:v/2)}return 0}},{key:"adjustChildCoordinates",value:function(e,o,n,i){var s=n.children[i];if(typeof s.measureText!="function")return s;e.save(),s.setContext(e,!0);var l=s.getAttribute("x"),d=s.getAttribute("y"),v=s.getAttribute("dx"),b=s.getAttribute("dy"),L=s.getAttribute("text-anchor").getString("start");if(i===0&&s.type!=="textNode"&&(l.hasValue()||l.setValue(o.getAttribute("x").getValue("0")),d.hasValue()||d.setValue(o.getAttribute("y").getValue("0")),v.hasValue()||v.setValue(o.getAttribute("dx").getValue("0")),b.hasValue()||b.setValue(o.getAttribute("dy").getValue("0"))),l.hasValue()){if(s.x=l.getPixels("x")+o.getAnchorDelta(e,n,i),L!=="start"){var Q=s.measureTextRecursive(e);s.x+=-1*(L==="end"?Q:Q/2)}v.hasValue()&&(s.x+=v.getPixels("x"))}else{if(L!=="start"){var ne=s.measureTextRecursive(e);o.x+=-1*(L==="end"?ne:ne/2)}v.hasValue()&&(o.x+=v.getPixels("x")),s.x=o.x}return o.x=s.x+s.measureText(e),d.hasValue()?(s.y=d.getPixels("y"),b.hasValue()&&(s.y+=b.getPixels("y"))):(b.hasValue()&&(o.y+=b.getPixels("y")),s.y=o.y),o.y=s.y,s.clearContext(e),e.restore(),s}},{key:"getChildBoundingBox",value:function(e,o,n,i){var s=this.adjustChildCoordinates(e,o,n,i);if(typeof s.getBoundingBox!="function")return null;var l=s.getBoundingBox(e);return l?(s.children.forEach(function(d,v){var b=o.getChildBoundingBox(e,o,s,v);l.addBoundingBox(b)}),l):null}},{key:"renderChild",value:function(e,o,n,i){var s=this.adjustChildCoordinates(e,o,n,i);s.render(e),s.children.forEach(function(l,d){o.renderChild(e,o,s,d)})}},{key:"measureTextRecursive",value:function(e){var o=this.children.reduce(function(n,i){return n+i.measureTextRecursive(e)},this.measureText(e));return o}},{key:"measureText",value:function(e){var o=this.measureCache;if(~o)return o;var n=this.getText(),i=this.measureTargetText(e,n);return this.measureCache=i,i}},{key:"measureTargetText",value:function(e,o){if(!o.length)return 0;var n=this.parent,i=n.getStyle("font-family").getDefinition();if(i){for(var s=this.getFontSize(),l=i.isRTL?o.split("").reverse().join(""):o,d=Re(n.getAttribute("dx").getString()),v=l.length,b=0,L=0;L<v;L++){var Q=this.getGlyph(i,l,L);b+=(Q.horizAdvX||i.horizAdvX)*s/i.fontFace.unitsPerEm,typeof d[L]!="undefined"&&!isNaN(d[L])&&(b+=d[L])}return b}if(!e.measureText)return o.length*10;e.save(),this.setContext(e,!0);var ne=e.measureText(o),le=ne.width;return this.clearContext(e),e.restore(),le}}]),r}(ft),Ft=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,new.target===r?!0:o),n.type="tspan",n.text=n.children.length>0?"":n.getTextFromNode(),n}return Object(J.a)(r,[{key:"getText",value:function(){return this.text}}]),r}(yt),tr=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="textNode",a}return r}(Ft),bt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="svg",a.root=!1,a}return Object(J.a)(r,[{key:"setContext",value:function(e){var o,n=this.document,i=n.screen,s=n.window,l=e.canvas;if(i.setDefaults(e),l.style&&typeof e.font!="undefined"&&s&&typeof s.getComputedStyle!="undefined"){e.font=s.getComputedStyle(l).getPropertyValue("font");var d=new ge(n,"fontSize",ot.parse(e.font).fontSize);d.hasValue()&&(n.rootEmSize=d.getPixels("y"),n.emSize=n.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var v=i.viewPort,b=v.width,L=v.height;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 Q=this.getAttribute("refX"),ne=this.getAttribute("refY"),le=this.getAttribute("viewBox"),ae=le.hasValue()?Re(le.getString()):null,be=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",ve=0,de=0,ye=0,Ie=0;ae&&(ve=ae[0],de=ae[1]),this.root||(b=this.getStyle("width").getPixels("x"),L=this.getStyle("height").getPixels("y"),this.type==="marker"&&(ye=ve,Ie=de,ve=0,de=0)),i.viewPort.setCurrent(b,L),this.node&&(!this.parent||((o=this.node.parentNode)===null||o===void 0?void 0:o.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),ae&&(b=ae[2],L=ae[3]),n.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:b,height:i.viewPort.height,desiredHeight:L,minX:ve,minY:de,refX:Q.getValue(),refY:ne.getValue(),clip:be,clipX:ye,clipY:Ie}),ae&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(b,L))}},{key:"clearContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"clearContext",this).call(this,e),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.getAttribute("width",!0),s=this.getAttribute("height",!0),l=this.getAttribute("viewBox"),d=this.getAttribute("style"),v=i.getNumber(0),b=s.getNumber(0);if(n)if(typeof n=="string")this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var L=this.getAttribute("preserveAspectRatio");L.hasValue()&&L.setValue(L.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(e),s.setValue(o),l.hasValue()||l.setValue("0 0 ".concat(v||e," ").concat(b||o)),d.hasValue()){var Q=this.getStyle("width"),ne=this.getStyle("height");Q.hasValue()&&Q.setValue("".concat(e,"px")),ne.hasValue()&&ne.setValue("".concat(o,"px"))}}}]),r}(ft),Wt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="rect",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),l=this.getAttribute("rx"),d=this.getAttribute("ry"),v=l.getPixels("x"),b=d.getPixels("y");if(l.hasValue()&&!d.hasValue()&&(b=v),d.hasValue()&&!l.hasValue()&&(v=b),v=Math.min(v,i/2),b=Math.min(b,s/2),e){var L=4*((Math.sqrt(2)-1)/3);e.beginPath(),s>0&&i>0&&(e.moveTo(o+v,n),e.lineTo(o+i-v,n),e.bezierCurveTo(o+i-v+L*v,n,o+i,n+b-L*b,o+i,n+b),e.lineTo(o+i,n+s-b),e.bezierCurveTo(o+i,n+s-b+L*b,o+i-v+L*v,n+s,o+i-v,n+s),e.lineTo(o+v,n+s),e.bezierCurveTo(o+v-L*v,n+s,o,n+s-b+L*b,o,n+s-b),e.lineTo(o,n+b),e.bezierCurveTo(o,n+b-L*b,o+v-L*v,n,o+v,n),e.closePath())}return new et(o,n,o+i,n+s)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),rn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="circle",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return e&&i>0&&(e.beginPath(),e.arc(o,n,i,0,Math.PI*2,!1),e.closePath()),new et(o-i,n-i,o+i,n+i)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),an=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="ellipse",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=4*((Math.sqrt(2)-1)/3),n=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),l=this.getAttribute("cy").getPixels("y");return e&&n>0&&i>0&&(e.beginPath(),e.moveTo(s+n,l),e.bezierCurveTo(s+n,l+o*i,s+o*n,l+i,s,l+i),e.bezierCurveTo(s-o*n,l+i,s-n,l+o*i,s-n,l),e.bezierCurveTo(s-n,l-o*i,s-o*n,l-i,s,l-i),e.bezierCurveTo(s+o*n,l-i,s+n,l-o*i,s+n,l),e.closePath()),new et(s-n,l-i,s+n,l+i)}},{key:"getMarkers",value:function(){return null}}]),r}(Ge),on=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="line",a}return Object(J.a)(r,[{key:"getPoints",value:function(){return[new We(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new We(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(e){var o=this.getPoints(),n=Object(ie.a)(o,2),i=n[0],s=i.x,l=i.y,d=n[1],v=d.x,b=d.y;return e&&(e.beginPath(),e.moveTo(s,l),e.lineTo(v,b)),new et(s,l,v,b)}},{key:"getMarkers",value:function(){var e=this.getPoints(),o=Object(ie.a)(e,2),n=o[0],i=o[1],s=n.angleTo(i);return[[n,s],[i,s]]}}]),r}(Ge),kt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="polyline",n.points=[],n.points=We.parsePath(n.getAttribute("points").getString()),n}return Object(J.a)(r,[{key:"path",value:function(e){var o=this.points,n=Object(ie.a)(o,1),i=n[0],s=i.x,l=i.y,d=new et(s,l);return e&&(e.beginPath(),e.moveTo(s,l)),o.forEach(function(v){var b=v.x,L=v.y;d.addPoint(b,L),e&&e.lineTo(b,L)}),d}},{key:"getMarkers",value:function(){var e=this.points,o=e.length-1,n=[];return e.forEach(function(i,s){if(s===o)return;n.push([i,i.angleTo(e[s+1])])}),n.length>0&&n.push([e[e.length-1],n[n.length-1][1]]),n}}]),r}(Ge),sn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="polygon",a}return Object(J.a)(r,[{key:"path",value:function(e){var o=Object(z.a)(Object(I.a)(r.prototype),"path",this).call(this,e),n=Object(ie.a)(this.points,1),i=n[0],s=i.x,l=i.y;return e&&(e.lineTo(s,l),e.closePath()),o}}]),r}(kt),ln=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="pattern",a}return Object(J.a)(r,[{key:"createPattern",value:function(e,o,n){var i=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),l=new bt(this.document,null);l.attributes.viewBox=new ge(this.document,"viewBox",this.getAttribute("viewBox").getValue()),l.attributes.width=new ge(this.document,"width","".concat(i,"px")),l.attributes.height=new ge(this.document,"height","".concat(s,"px")),l.attributes.transform=new ge(this.document,"transform",this.getAttribute("patternTransform").getValue()),l.children=this.children;var d=this.document.createCanvas(i,s),v=d.getContext("2d"),b=this.getAttribute("x"),L=this.getAttribute("y");b.hasValue()&&L.hasValue()&&v.translate(b.getPixels("x",!0),L.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var Q=-1;Q<=1;Q++)for(var ne=-1;ne<=1;ne++)v.save(),l.attributes.x=new ge(this.document,"x",Q*d.width),l.attributes.y=new ge(this.document,"y",ne*d.height),l.render(v),v.restore();var le=e.createPattern(d,"repeat");return le}}]),r}(Ve),un=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="marker",a}return Object(J.a)(r,[{key:"render",value:function(e,o,n){if(!o)return;var i=o.x,s=o.y,l=this.getAttribute("orient").getString("auto"),d=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(i,s),l==="auto"&&e.rotate(n),d==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var v=new bt(this.document,null);v.type=this.type,v.attributes.viewBox=new ge(this.document,"viewBox",this.getAttribute("viewBox").getValue()),v.attributes.refX=new ge(this.document,"refX",this.getAttribute("refX").getValue()),v.attributes.refY=new ge(this.document,"refY",this.getAttribute("refY").getValue()),v.attributes.width=new ge(this.document,"width",this.getAttribute("markerWidth").getValue()),v.attributes.height=new ge(this.document,"height",this.getAttribute("markerHeight").getValue()),v.attributes.overflow=new ge(this.document,"overflow",this.getAttribute("overflow").getValue()),v.attributes.fill=new ge(this.document,"fill",this.getAttribute("fill").getColor("black")),v.attributes.stroke=new ge(this.document,"stroke",this.getAttribute("stroke").getValue("none")),v.children=this.children,v.render(e),e.restore(),d==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),l==="auto"&&e.rotate(-n),e.translate(-i,-s)}}]),r}(Ve),cn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="defs",a}return Object(J.a)(r,[{key:"render",value:function(){}}]),r}(Ve),jt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="g",a}return Object(J.a)(r,[{key:"getBoundingBox",value:function(e){var o=new et;return this.children.forEach(function(n){o.addBoundingBox(n.getBoundingBox(e))}),o}}]),r}(ft),Gt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.attributesToInherit=["gradientUnits"],n.stops=[];var i=Object(R.a)(n),s=i.stops,l=i.children;return l.forEach(function(d){d.type==="stop"&&s.push(d)}),n}return Object(J.a)(r,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(e,o,n){var i=this,s=this;this.getHrefAttribute().hasValue()&&(s=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(s));var l=s,d=l.stops,v=this.getGradient(e,o);if(!v)return this.addParentOpacity(n,d[d.length-1].color);if(d.forEach(function(Ne){v.addColorStop(Ne.offset,i.addParentOpacity(n,Ne.color))}),this.getAttribute("gradientTransform").hasValue()){var b=this.document,L=b.screen,Q=L.MAX_VIRTUAL_PIXELS,ne=L.viewPort,le=Object(ie.a)(ne.viewPorts,1),ae=le[0],be=new Wt(b,null);be.attributes.x=new ge(b,"x",-Q/3),be.attributes.y=new ge(b,"y",-Q/3),be.attributes.width=new ge(b,"width",Q),be.attributes.height=new ge(b,"height",Q);var ve=new jt(b,null);ve.attributes.transform=new ge(b,"transform",this.getAttribute("gradientTransform").getValue()),ve.children=[be];var de=new bt(b,null);de.attributes.x=new ge(b,"x",0),de.attributes.y=new ge(b,"y",0),de.attributes.width=new ge(b,"width",ae.width),de.attributes.height=new ge(b,"height",ae.height),de.children=[ve];var ye=b.createCanvas(ae.width,ae.height),Ie=ye.getContext("2d");return Ie.fillStyle=v,de.render(Ie),Ie.createPattern(ye,"no-repeat")}return v}},{key:"inheritStopContainer",value:function(e){var o=this;this.attributesToInherit.forEach(function(n){!o.getAttribute(n).hasValue()&&e.getAttribute(n).hasValue()&&o.getAttribute(n,!0).setValue(e.getAttribute(n).getValue())})}},{key:"addParentOpacity",value:function(e,o){if(e.hasValue()){var n=new ge(this.document,"color",o);return n.addOpacity(e).getColor()}return o}}]),r}(Ve),dn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="linearGradient",n.attributesToInherit.push("x1","y1","x2","y2"),n}return Object(J.a)(r,[{key:"getGradient",value:function(e,o){var n=this.getGradientUnits()==="objectBoundingBox",i=n?o.getBoundingBox(e):null;if(n&&!i)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var s=n?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),l=n?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),d=n?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),v=n?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===d&&l===v?null:e.createLinearGradient(s,l,d,v)}}]),r}(Gt),fn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="radialGradient",n.attributesToInherit.push("cx","cy","r","fx","fy","fr"),n}return Object(J.a)(r,[{key:"getGradient",value:function(e,o){var n=this.getGradientUnits()==="objectBoundingBox",i=o.getBoundingBox(e);if(n&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var s=n?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),l=n?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),d=s,v=l;this.getAttribute("fx").hasValue()&&(d=n?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(v=n?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var b=n?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),L=this.getAttribute("fr").getPixels();return e.createRadialGradient(d,v,L,s,l,b)}}]),r}(Gt),hn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="stop";var i=Math.max(0,Math.min(1,n.getAttribute("offset").getNumber())),s=n.getStyle("stop-opacity"),l=n.getStyle("stop-color",!0);return l.getString()===""&&l.setValue("#000"),s.hasValue()&&(l=l.addOpacity(s)),n.offset=i,n.color=l.getColor(),n}return r}(Ve),Tt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="animate",n.duration=0,n.initialValue=null,n.initialUnits="",n.removed=!1,n.frozen=!1,a.screen.animations.push(Object(R.a)(n)),n.begin=n.getAttribute("begin").getMilliseconds(),n.maxDuration=n.begin+n.getAttribute("dur").getMilliseconds(),n.from=n.getAttribute("from"),n.to=n.getAttribute("to"),n.values=new ge(a,"values",null);var i=n.getAttribute("values");return i.hasValue()&&n.values.setValue(i.getString().split(";")),n}return Object(J.a)(r,[{key:"getProperty",value:function(){var e=this.getAttribute("attributeType").getString(),o=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(o,!0):this.parent.getAttribute(o,!0)}},{key:"calcValue",value:function(){var e=this.initialUnits,o=this.getProgress(),n=o.progress,i=o.from,s=o.to,l=i.getNumber()+(s.getNumber()-i.getNumber())*n;return e==="%"&&(l*=100),"".concat(l).concat(e)}},{key:"update",value:function(e){var o=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(i==="freeze"&&!this.frozen)this.frozen=!0,o.animationFrozen=!0,o.animationFrozenValue=n.getString();else if(i==="remove"&&!this.removed)return this.removed=!0,n.setValue(o.animationFrozen?o.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var s=!1;if(this.begin<this.duration){var l=this.calcValue(),d=this.getAttribute("type");if(d.hasValue()){var v=d.getString();l="".concat(v,"(").concat(l,")")}n.setValue(l),s=!0}return s}},{key:"getProgress",value:function(){var e=this.document,o=this.values,n={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(o.hasValue()){var i=n.progress*(o.getValue().length-1),s=Math.floor(i),l=Math.ceil(i);n.from=new ge(e,"from",parseFloat(o.getValue()[s])),n.to=new ge(e,"to",parseFloat(o.getValue()[l])),n.progress=(i-s)/(l-s)}else n.from=this.from,n.to=this.to;return n}}]),r}(Ve),vn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="animateColor",a}return Object(J.a)(r,[{key:"calcValue",value:function(){var e=this.getProgress(),o=e.progress,n=e.from,i=e.to,s=new Te.a(n.getColor()),l=new Te.a(i.getColor());if(s.ok&&l.ok){var d=s.r+(l.r-s.r)*o,v=s.g+(l.g-s.g)*o,b=s.b+(l.b-s.b)*o;return"rgb(".concat(Math.floor(d),", ").concat(Math.floor(v),", ").concat(Math.floor(b),")")}return this.getAttribute("from").getColor()}}]),r}(Tt),pn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="animateTransform",a}return Object(J.a)(r,[{key:"calcValue",value:function(){var e=this.getProgress(),o=e.progress,n=e.from,i=e.to,s=Re(n.getString()),l=Re(i.getString()),d=s.map(function(v,b){var L=l[b];return v+(L-v)*o}).join(" ");return d}}]),r}(Tt),gn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="font",n.glyphs={},n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber();var i=a.definitions,s=Object(R.a)(n),l=s.children,d=Object(C.a)(l),v;try{for(d.s();!(v=d.n()).done;){var b=v.value;switch(b.type){case"font-face":{n.fontFace=b;var L=b.getStyle("font-family");L.hasValue()&&(i[L.getString()]=Object(R.a)(n));break}case"missing-glyph":n.missingGlyph=b;break;case"glyph":{var Q=b;Q.arabicForm?(n.isRTL=!0,n.isArabic=!0,typeof n.glyphs[Q.unicode]=="undefined"&&(n.glyphs[Q.unicode]={}),n.glyphs[Q.unicode][Q.arabicForm]=Q):n.glyphs[Q.unicode]=Q;break}}}}catch(ne){d.e(ne)}finally{d.f()}return n}return Object(J.a)(r,[{key:"render",value:function(){}}]),r}(Ve),mn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="font-face",n.ascent=n.getAttribute("ascent").getNumber(),n.descent=n.getAttribute("descent").getNumber(),n.unitsPerEm=n.getAttribute("units-per-em").getNumber(),n}return r}(Ve),yn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="missing-glyph",a.horizAdvX=0,a}return r}(Ge),bn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="tref",a}return Object(J.a)(r,[{key:"getText",value:function(){var e=this.getHrefAttribute().getDefinition();if(e){var o=e.children[0];if(o)return o.getText()}return""}}]),r}(yt),xn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="a";var i=e.childNodes,s=i[0],l=i.length>0&&Array.from(i).every(function(d){return d.nodeType===3});return n.hasText=l,n.text=l?n.getTextFromNode(s):"",n}return Object(J.a)(r,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(e){if(this.hasText){Object(z.a)(Object(I.a)(r.prototype),"renderChildren",this).call(this,e);var o=this.document,n=this.x,i=this.y,s=o.screen.mouse,l=new ge(o,"fontSize",ot.parse(o.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new et(n,i-l.getPixels("y"),n+this.measureText(e),i))}else if(this.children.length>0){var d=new jt(this.document,null);d.children=this.children,d.parent=this,d.render(e)}}},{key:"onClick",value:function(){var e=this.document.window;e&&e.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}}]),r}(yt);function En(h,u){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);u&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),r.push.apply(r,a)}return r}function At(h){for(var u=1;u<arguments.length;u++){var r=arguments[u]!=null?arguments[u]:{};u%2?En(Object(r),!0).forEach(function(a){Ee()(h,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(r)):En(Object(r)).forEach(function(a){Object.defineProperty(h,a,Object.getOwnPropertyDescriptor(r,a))})}return h}var On=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="textPath",n.textWidth=0,n.textHeight=0,n.pathLength=-1,n.glyphInfo=null,n.letterSpacingCache=[],n.measuresCache=new Map([["",0]]);var i=n.getHrefAttribute().getDefinition();return n.text=n.getTextFromNode(),n.dataArray=n.parsePathData(i),n}return Object(J.a)(r,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(e){var o=this.dataArray;e&&e.beginPath(),o.forEach(function(n){var i=n.type,s=n.points;switch(i){case Ce.LINE_TO:e&&e.lineTo(s[0],s[1]);break;case Ce.MOVE_TO:e&&e.moveTo(s[0],s[1]);break;case Ce.CURVE_TO:e&&e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case Ce.QUAD_TO:e&&e.quadraticCurveTo(s[0],s[1],s[2],s[3]);break;case Ce.ARC:{var l=Object(ie.a)(s,8),d=l[0],v=l[1],b=l[2],L=l[3],Q=l[4],ne=l[5],le=l[6],ae=l[7],be=b>L?b:L,ve=b>L?1:b/L,de=b>L?L/b:1;e&&(e.translate(d,v),e.rotate(le),e.scale(ve,de),e.arc(0,0,be,Q,Q+ne,Boolean(1-ae)),e.scale(1/ve,1/de),e.rotate(-le),e.translate(-d,-v));break}case Ce.CLOSE_PATH:e&&e.closePath();break}})}},{key:"renderChildren",value:function(e){this.setTextData(e),e.save();var o=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),i=this.glyphInfo,s=e.fillStyle;o==="underline"&&e.beginPath(),i.forEach(function(l,d){var v=l.p0,b=l.p1,L=l.rotation,Q=l.text;e.save(),e.translate(v.x,v.y),e.rotate(L),e.fillStyle&&e.fillText(Q,0,0),e.strokeStyle&&e.strokeText(Q,0,0),e.restore(),o==="underline"&&(d===0&&e.moveTo(v.x,v.y+n/8),e.lineTo(b.x,b.y+n/5))}),o==="underline"&&(e.lineWidth=n/20,e.strokeStyle=s,e.stroke(),e.closePath()),e.restore()}},{key:"getLetterSpacingAt",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}},{key:"findSegmentToFitChar",value:function(e,o,n,i,s,l,d,v,b){var L=l,Q=this.measureText(e,v);v===" "&&o==="justify"&&n<i&&(Q+=(i-n)/s),b>-1&&(L+=this.getLetterSpacingAt(b));var ne=this.textHeight/20,le=this.getEquidistantPointOnPath(L,ne,0),ae=this.getEquidistantPointOnPath(L+Q,ne,0),be={p0:le,p1:ae},ve=le&&ae?Math.atan2(ae.y-le.y,ae.x-le.x):0;if(d){var de=Math.cos(Math.PI/2+ve)*d,ye=Math.cos(-ve)*d;be.p0=At(At({},le),{},{x:le.x+de,y:le.y+ye}),be.p1=At(At({},ae),{},{x:ae.x+de,y:ae.y+ye})}return L+=Q,{offset:L,segment:be,rotation:ve}}},{key:"measureText",value:function(e,o){var n=this.measuresCache,i=o||this.getText();if(n.has(i))return n.get(i);var s=this.measureTargetText(e,i);return n.set(i,s),s}},{key:"setTextData",value:function(e){var o=this;if(this.glyphInfo)return;var n=this.getText(),i=n.split(""),s=n.split(" ").length-1,l=this.parent.getAttribute("dx").split().map(function(ze){return ze.getPixels("x")}),d=this.parent.getAttribute("dy").getPixels("y"),v=this.parent.getStyle("text-anchor").getString("start"),b=this.getStyle("letter-spacing"),L=this.parent.getStyle("letter-spacing"),Q=0;!b.hasValue()||b.getValue()==="inherit"?Q=L.getPixels():b.hasValue()&&(b.getValue()!=="initial"&&b.getValue()!=="unset"&&(Q=b.getPixels()));var ne=[],le=n.length;this.letterSpacingCache=ne;for(var ae=0;ae<le;ae++)ne.push(typeof l[ae]!="undefined"?l[ae]:Q);var be=ne.reduce(function(ze,tt,nt){return nt===0?0:ze+tt||0},0),ve=this.measureText(e),de=Math.max(ve+be,0);this.textWidth=ve,this.textHeight=this.getFontSize(),this.glyphInfo=[];var ye=this.getPathLength(),Ie=this.getStyle("startOffset").getNumber(0)*ye,Ne=0;(v==="middle"||v==="center")&&(Ne=-de/2),(v==="end"||v==="right")&&(Ne=-de),Ne+=Ie,i.forEach(function(ze,tt){var nt=o.findSegmentToFitChar(e,v,de,ye,s,Ne,d,ze,tt),Qe=nt.offset,Ye=nt.segment,qe=nt.rotation;if(Ne=Qe,!Ye.p0||!Ye.p1)return;o.glyphInfo.push({text:i[tt],p0:Ye.p0,p1:Ye.p1,rotation:qe})})}},{key:"parsePathData",value:function(e){if(this.pathLength=-1,!e)return[];var o=[],n=e.pathParser;for(n.reset();!n.isEnd();){var i=n.current,s=i?i.x:0,l=i?i.y:0,d=n.next(),v=d.type,b=[];switch(d.type){case Ce.MOVE_TO:this.pathM(n,b);break;case Ce.LINE_TO:v=this.pathL(n,b);break;case Ce.HORIZ_LINE_TO:v=this.pathH(n,b);break;case Ce.VERT_LINE_TO:v=this.pathV(n,b);break;case Ce.CURVE_TO:this.pathC(n,b);break;case Ce.SMOOTH_CURVE_TO:v=this.pathS(n,b);break;case Ce.QUAD_TO:this.pathQ(n,b);break;case Ce.SMOOTH_QUAD_TO:v=this.pathT(n,b);break;case Ce.ARC:b=this.pathA(n);break;case Ce.CLOSE_PATH:Ge.pathZ(n);break}d.type!==Ce.CLOSE_PATH?o.push({type:v,points:b,start:{x:s,y:l},pathLength:this.calcLength(s,l,v,b)}):o.push({type:Ce.CLOSE_PATH,points:[],pathLength:0})}return o}},{key:"pathM",value:function(e,o){var n=Ge.pathM(e).point,i=n.x,s=n.y;o.push(i,s)}},{key:"pathL",value:function(e,o){var n=Ge.pathL(e).point,i=n.x,s=n.y;return o.push(i,s),Ce.LINE_TO}},{key:"pathH",value:function(e,o){var n=Ge.pathH(e).point,i=n.x,s=n.y;return o.push(i,s),Ce.LINE_TO}},{key:"pathV",value:function(e,o){var n=Ge.pathV(e).point,i=n.x,s=n.y;return o.push(i,s),Ce.LINE_TO}},{key:"pathC",value:function(e,o){var n=Ge.pathC(e),i=n.point,s=n.controlPoint,l=n.currentPoint;o.push(i.x,i.y,s.x,s.y,l.x,l.y)}},{key:"pathS",value:function(e,o){var n=Ge.pathS(e),i=n.point,s=n.controlPoint,l=n.currentPoint;return o.push(i.x,i.y,s.x,s.y,l.x,l.y),Ce.CURVE_TO}},{key:"pathQ",value:function(e,o){var n=Ge.pathQ(e),i=n.controlPoint,s=n.currentPoint;o.push(i.x,i.y,s.x,s.y)}},{key:"pathT",value:function(e,o){var n=Ge.pathT(e),i=n.controlPoint,s=n.currentPoint;return o.push(i.x,i.y,s.x,s.y),Ce.QUAD_TO}},{key:"pathA",value:function(e){var o=Ge.pathA(e),n=o.rX,i=o.rY,s=o.sweepFlag,l=o.xAxisRotation,d=o.centp,v=o.a1,b=o.ad;return s===0&&b>0&&(b-=2*Math.PI),s===1&&b<0&&(b+=2*Math.PI),[d.x,d.y,n,i,v,b,l,s]}},{key:"calcLength",value:function(e,o,n,i){var s=0,l=null,d=null,v=0;switch(n){case Ce.LINE_TO:return this.getLineLength(e,o,i[0],i[1]);case Ce.CURVE_TO:for(s=0,l=this.getPointOnCubicBezier(0,e,o,i[0],i[1],i[2],i[3],i[4],i[5]),v=.01;v<=1;v+=.01)d=this.getPointOnCubicBezier(v,e,o,i[0],i[1],i[2],i[3],i[4],i[5]),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;return s;case Ce.QUAD_TO:for(s=0,l=this.getPointOnQuadraticBezier(0,e,o,i[0],i[1],i[2],i[3]),v=.01;v<=1;v+=.01)d=this.getPointOnQuadraticBezier(v,e,o,i[0],i[1],i[2],i[3]),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;return s;case Ce.ARC:{s=0;var b=i[4],L=i[5],Q=i[4]+L,ne=Math.PI/180;if(Math.abs(b-Q)<ne&&(ne=Math.abs(b-Q)),l=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],b,0),L<0)for(v=b-ne;v>Q;v-=ne)d=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],v,0),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;else for(v=b+ne;v<Q;v+=ne)d=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],v,0),s+=this.getLineLength(l.x,l.y,d.x,d.y),l=d;return d=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],Q,0),s+=this.getLineLength(l.x,l.y,d.x,d.y),s}}return 0}},{key:"getPointOnLine",value:function(e,o,n,i,s){var l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:o,d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:n,v=(s-n)/(i-o+he),b=Math.sqrt(e*e/(1+v*v));i<o&&(b*=-1);var L=v*b,Q=null;if(i===o)Q={x:l,y:d+L};else if((d-n)/(l-o+he)===v)Q={x:l+b,y:d+L};else{var ne=0,le=0,ae=this.getLineLength(o,n,i,s);if(ae<he)return null;var be=(l-o)*(i-o)+(d-n)*(s-n);be/=ae*ae,ne=o+be*(i-o),le=n+be*(s-n);var ve=this.getLineLength(l,d,ne,le),de=Math.sqrt(e*e-ve*ve);b=Math.sqrt(de*de/(1+v*v)),i<o&&(b*=-1),L=v*b,Q={x:ne+b,y:le+L}}return Q}},{key:"getPointOnPath",value:function(e){var o=this.getPathLength(),n=0,i=null;if(e<-5e-5||e-5e-5>o)return null;var s=this.dataArray,l=Object(C.a)(s),d;try{for(l.s();!(d=l.n()).done;){var v=d.value;if(v&&(v.pathLength<5e-5||n+v.pathLength+5e-5<e)){n+=v.pathLength;continue}var b=e-n,L=0;switch(v.type){case Ce.LINE_TO:i=this.getPointOnLine(b,v.start.x,v.start.y,v.points[0],v.points[1],v.start.x,v.start.y);break;case Ce.ARC:{var Q=v.points[4],ne=v.points[5],le=v.points[4]+ne;if(L=Q+b/v.pathLength*ne,ne<0&&L<le||ne>=0&&L>le)break;i=this.getPointOnEllipticalArc(v.points[0],v.points[1],v.points[2],v.points[3],L,v.points[6]);break}case Ce.CURVE_TO:L=b/v.pathLength,L>1&&(L=1),i=this.getPointOnCubicBezier(L,v.start.x,v.start.y,v.points[0],v.points[1],v.points[2],v.points[3],v.points[4],v.points[5]);break;case Ce.QUAD_TO:L=b/v.pathLength,L>1&&(L=1),i=this.getPointOnQuadraticBezier(L,v.start.x,v.start.y,v.points[0],v.points[1],v.points[2],v.points[3]);break}if(i)return i;break}}catch(ae){l.e(ae)}finally{l.f()}return null}},{key:"getLineLength",value:function(e,o,n,i){return Math.sqrt((n-e)*(n-e)+(i-o)*(i-o))}},{key:"getPathLength",value:function(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce(function(e,o){return o.pathLength>0?e+o.pathLength:e},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(e,o,n,i,s,l,d,v,b){var L=v*Fe(e)+l*Ze(e)+i*$e(e)+o*Xe(e),Q=b*Fe(e)+d*Ze(e)+s*$e(e)+n*Xe(e);return{x:L,y:Q}}},{key:"getPointOnQuadraticBezier",value:function(e,o,n,i,s,l,d){var v=l*dt(e)+i*at(e)+o*vt(e),b=d*dt(e)+s*at(e)+n*vt(e);return{x:v,y:b}}},{key:"getPointOnEllipticalArc",value:function(e,o,n,i,s,l){var d=Math.cos(l),v=Math.sin(l),b={x:n*Math.cos(s),y:i*Math.sin(s)};return{x:e+(b.x*d-b.y*v),y:o+(b.x*v+b.y*d)}}},{key:"buildEquidistantCache",value:function(e,o){var n=this.getPathLength(),i=o||.25,s=e||n/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==i){this.equidistantCache={step:s,precision:i,points:[]};for(var l=0,d=0;d<=n;d+=i){var v=this.getPointOnPath(d),b=this.getPointOnPath(d+i);if(!v||!b)continue;l+=this.getLineLength(v.x,v.y,b.x,b.y),l>=s&&(this.equidistantCache.points.push({x:v.x,y:v.y,distance:d}),l-=s)}}}},{key:"getEquidistantPointOnPath",value:function(e,o,n){if(this.buildEquidistantCache(o,n),e<0||e-this.getPathLength()>5e-5)return null;var i=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}]),r}(yt),nr=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Sn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="image",n.loaded=!1;var i=n.getHrefAttribute().getString();if(!i)return Object(w.a)(n);var s=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);return a.images.push(Object(R.a)(n)),s?void n.loadSvg(i):void n.loadImage(i),n.isSvg=s,n}return Object(J.a)(r,[{key:"loadImage",value:function(e){var o=this;return fe()(re.a.mark(function n(){var i;return re.a.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,o.document.createImage(e);case 3:i=l.sent,o.image=i,l.next=10;break;case 7:l.prev=7,l.t0=l.catch(0),console.error('Error while loading image "'.concat(e,'":'),l.t0);case 10:o.loaded=!0;case 11:case"end":return l.stop()}},n,null,[[0,7]])}))()}},{key:"loadSvg",value:function(e){var o=this;return fe()(re.a.mark(function n(){var i,s,l,d;return re.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(i=nr.exec(e),!i){b.next=6;break}s=i[5],i[4]==="base64"?o.image=atob(s):o.image=decodeURIComponent(s),b.next=19;break;case 6:return b.prev=6,b.next=9,o.document.fetch(e);case 9:return l=b.sent,b.next=12,l.text();case 12:d=b.sent,o.image=d,b.next=19;break;case 16:b.prev=16,b.t0=b.catch(6),console.error('Error while loading image "'.concat(e,'":'),b.t0);case 19:o.loaded=!0;case 20:case"end":return b.stop()}},n,null,[[6,16]])}))()}},{key:"renderChildren",value:function(e){var o=this.document,n=this.image,i=this.loaded,s=this.getAttribute("x").getPixels("x"),l=this.getAttribute("y").getPixels("y"),d=this.getStyle("width").getPixels("x"),v=this.getStyle("height").getPixels("y");if(!i||!n||!d||!v)return;if(e.save(),e.translate(s,l),this.isSvg){var b=o.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:d,scaleHeight:v});b.document.documentElement.parent=this,void b.render()}else{var L=this.image;o.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:d,desiredWidth:L.width,height:v,desiredHeight:L.height}),this.loaded&&((typeof L.complete=="undefined"||L.complete)&&e.drawImage(L,0,0))}e.restore()}},{key:"getBoundingBox",value:function(){var e=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new et(e,o,e+n,o+i)}}]),r}(ft),Cn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="symbol",a}return Object(J.a)(r,[{key:"render",value:function(e){}}]),r}(ft),Mn=function(){function h(u){Object(Y.a)(this,h),this.document=u,this.loaded=!1,u.fonts.push(this)}return Object(J.a)(h,[{key:"load",value:function(r,a){var e=this;return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,n=e.document,d.next=4,n.canvg.parser.load(a);case 4:i=d.sent,s=i.getElementsByTagName("font"),Array.from(s).forEach(function(v){var b=n.createElement(v);n.definitions[r]=b}),d.next=12;break;case 9:d.prev=9,d.t0=d.catch(0),console.error('Error while loading font "'.concat(a,'":'),d.t0);case 12:e.loaded=!0;case 13:case"end":return d.stop()}},o,null,[[0,9]])}))()}}]),h}(),zt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="style";var i=Be(Array.from(e.childNodes).map(function(l){return l.textContent}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),s=i.split("}");return s.forEach(function(l){var d=l.trim();if(!d)return;var v=d.split("{"),b=v[0].split(","),L=v[1].split(";");b.forEach(function(Q){var ne=Q.trim();if(!ne)return;var le=a.styles[ne]||{};if(L.forEach(function(ve){var de=ve.indexOf(":"),ye=ve.substr(0,de).trim(),Ie=ve.substr(de+1,ve.length-de).trim();ye&&Ie&&(le[ye]=new ge(a,ye,Ie))}),a.styles[ne]=le,a.stylesSpecificity[ne]=ue(ne),ne==="@font-face"){var ae=le["font-family"].getString().replace(/"|'/g,""),be=le.src.getString().split(",");be.forEach(function(ve){if(ve.indexOf('format("svg")')>0){var de=_e(ve);de&&void new Mn(a).load(ae,de)}})}})}),n}return r}(Ve);zt.parseExternalUrl=_e;var Pn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="use",a}return Object(J.a)(r,[{key:"setContext",value:function(e){Object(z.a)(Object(I.a)(r.prototype),"setContext",this).call(this,e);var o=this.getAttribute("x"),n=this.getAttribute("y");o.hasValue()&&e.translate(o.getPixels("x"),0),n.hasValue()&&e.translate(0,n.getPixels("y"))}},{key:"path",value:function(e){var o=this.element;o&&o.path(e)}},{key:"renderChildren",value:function(e){var o=this.document,n=this.element;if(n){var i=n;if(n.type==="symbol"&&(i=new bt(o,null),i.attributes.viewBox=new ge(o,"viewBox",n.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new ge(o,"preserveAspectRatio",n.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new ge(o,"overflow",n.getAttribute("overflow").getString()),i.children=n.children,n.styles.opacity=new ge(o,"opacity",this.calculateOpacity())),i.type==="svg"){var s=this.getStyle("width",!1,!0),l=this.getStyle("height",!1,!0);s.hasValue()&&(i.attributes.width=new ge(o,"width",s.getString())),l.hasValue()&&(i.attributes.height=new ge(o,"height",l.getString()))}var d=i.parent;i.parent=this,i.render(e),i.parent=d}}},{key:"getBoundingBox",value:function(e){var o=this.element;return o?o.getBoundingBox(e):null}},{key:"elementTransform",value:function(){var e=this.document,o=this.element;return St.fromElement(e,o)}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),r}(ft);function Rt(h,u,r,a,e,o){return h[r*a*4+u*4+o]}function It(h,u,r,a,e,o,n){h[r*a*4+u*4+o]=n}function ke(h,u,r){var a=h[u];return a*r}function it(h,u,r,a){return u+Math.cos(h)*r+Math.sin(h)*a}var Ht=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="feColorMatrix";var i=Re(n.getAttribute("values").getString());switch(n.getAttribute("type").getString("matrix")){case"saturate":{var s=i[0];i=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var l=i[0]*Math.PI/180;i=[it(l,.213,.787,-.213),it(l,.715,-.715,-.715),it(l,.072,-.072,.928),0,0,it(l,.213,-.213,.143),it(l,.715,.285,.14),it(l,.072,-.072,-.283),0,0,it(l,.213,-.213,-.787),it(l,.715,-.715,.715),it(l,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":i=[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];break}return n.matrix=i,n.includeOpacity=n.getAttribute("includeOpacity").hasValue(),n}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){for(var l=this.includeOpacity,d=this.matrix,v=e.getImageData(0,0,i,s),b=0;b<s;b++)for(var L=0;L<i;L++){var Q=Rt(v.data,L,b,i,s,0),ne=Rt(v.data,L,b,i,s,1),le=Rt(v.data,L,b,i,s,2),ae=Rt(v.data,L,b,i,s,3),be=ke(d,0,Q)+ke(d,1,ne)+ke(d,2,le)+ke(d,3,ae)+ke(d,4,1),ve=ke(d,5,Q)+ke(d,6,ne)+ke(d,7,le)+ke(d,8,ae)+ke(d,9,1),de=ke(d,10,Q)+ke(d,11,ne)+ke(d,12,le)+ke(d,13,ae)+ke(d,14,1),ye=ke(d,15,Q)+ke(d,16,ne)+ke(d,17,le)+ke(d,18,ae)+ke(d,19,1);l&&(be=0,ve=0,de=0,ye*=ae/255),It(v.data,L,b,i,s,0,be),It(v.data,L,b,i,s,1,ve),It(v.data,L,b,i,s,2,de),It(v.data,L,b,i,s,3,ye)}e.clearRect(0,0,i,s),e.putImageData(v,0,0)}}]),r}(Ve),Kt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="mask",a}return Object(J.a)(r,[{key:"apply",value:function(e,o){var n=this.document,i=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),l=this.getStyle("width").getPixels("x"),d=this.getStyle("height").getPixels("y");if(!l&&!d){var v=new et;this.children.forEach(function(ae){v.addBoundingBox(ae.getBoundingBox(e))}),i=Math.floor(v.x1),s=Math.floor(v.y1),l=Math.floor(v.width),d=Math.floor(v.height)}var b=this.removeStyles(o,r.ignoreStyles),L=n.createCanvas(i+l,s+d),Q=L.getContext("2d");n.screen.setDefaults(Q),this.renderChildren(Q),new Ht(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(Q,0,0,i+l,s+d);var ne=n.createCanvas(i+l,s+d),le=ne.getContext("2d");n.screen.setDefaults(le),o.render(le),le.globalCompositeOperation="destination-in",le.fillStyle=Q.createPattern(L,"no-repeat"),le.fillRect(0,0,i+l,s+d),e.fillStyle=le.createPattern(ne,"no-repeat"),e.fillRect(0,0,i+l,s+d),this.restoreStyles(o,b)}},{key:"render",value:function(e){}}]),r}(Ve);Kt.ignoreStyles=["mask","transform","clip-path"];var jn=function(){},Tn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="clipPath",a}return Object(J.a)(r,[{key:"apply",value:function(e){var o=this.document,n=Reflect.getPrototypeOf(e),i=e.beginPath,s=e.closePath;n&&(n.beginPath=jn,n.closePath=jn),Reflect.apply(i,e,[]),this.children.forEach(function(l){if(typeof l.path=="undefined")return;var d=typeof l.elementTransform!="undefined"?l.elementTransform():null;d||(d=St.fromElement(o,l)),d&&d.apply(e),l.path(e),n&&(n.closePath=s),d&&d.unapply(e)}),Reflect.apply(s,e,[]),e.clip(),n&&(n.beginPath=i,n.closePath=s)}},{key:"render",value:function(e){}}]),r}(Ve),Yt=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="filter",a}return Object(J.a)(r,[{key:"apply",value:function(e,o){var n=this.document,i=this.children,s=o.getBoundingBox(e);if(!s)return;var l=0,d=0;i.forEach(function(de){var ye=de.extraFilterDistance||0;l=Math.max(l,ye),d=Math.max(d,ye)});var v=Math.floor(s.width),b=Math.floor(s.height),L=v+2*l,Q=b+2*d;if(L<1||Q<1)return;var ne=Math.floor(s.x),le=Math.floor(s.y),ae=this.removeStyles(o,r.ignoreStyles),be=n.createCanvas(L,Q),ve=be.getContext("2d");n.screen.setDefaults(ve),ve.translate(-ne+l,-le+d),o.render(ve),i.forEach(function(de){typeof de.apply=="function"&&de.apply(ve,0,0,L,Q)}),e.drawImage(be,0,0,L,Q,ne-l,le-d,L,Q),this.restoreStyles(o,ae)}},{key:"render",value:function(e){}}]),r}(Ve);Yt.ignoreStyles=["filter","transform","clip-path"];var An=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="feDropShadow",n.addStylesFromStyleDefinition(),n}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){}}]),r}(Ve),Rn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="feMorphology",a}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){}}]),r}(Ve),In=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="feComposite",a}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){}}]),r}(Ve),Nn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(a,e,o){var n;return Object(Y.a)(this,r),n=u.call(this,a,e,o),n.type="feGaussianBlur",n.blurRadius=Math.floor(n.getAttribute("stdDeviation").getNumber()),n.extraFilterDistance=n.blurRadius,n}return Object(J.a)(r,[{key:"apply",value:function(e,o,n,i,s){var l=this.document,d=this.blurRadius,v=l.window?l.window.document.body:null,b=e.canvas;b.id=l.getUniqueId(),v&&(b.style.display="none",v.appendChild(b)),Object(Ae.a)(b,o,n,i,s,d),v&&v.removeChild(b)}}]),r}(Ve),Dn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="title",a}return r}(Ve),wn=function(h){Object(X.a)(r,h);var u=Object(k.a)(r);function r(){var a;return Object(Y.a)(this,r),a=u.apply(this,arguments),a.type="desc",a}return r}(Ve),rr={svg:bt,rect:Wt,circle:rn,ellipse:an,line:on,polyline:kt,polygon:sn,path:Ge,pattern:ln,marker:un,defs:cn,linearGradient:dn,radialGradient:fn,stop:hn,animate:Tt,animateColor:vn,animateTransform:pn,font:gn,"font-face":mn,"missing-glyph":yn,glyph:Bt,text:yt,tspan:Ft,tref:bn,a:xn,textPath:On,image:Sn,g:jt,symbol:Cn,style:zt,use:Pn,mask:Kt,clipPath:Tn,filter:Yt,feDropShadow:An,feMorphology:Rn,feComposite:In,feColorMatrix:Ht,feGaussianBlur:Nn,title:Dn,desc:wn};function Ln(h,u){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);u&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),r.push.apply(r,a)}return r}function ar(h){for(var u=1;u<arguments.length;u++){var r=arguments[u]!=null?arguments[u]:{};u%2?Ln(Object(r),!0).forEach(function(a){Ee()(h,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(r)):Ln(Object(r)).forEach(function(a){Object.defineProperty(h,a,Object.getOwnPropertyDescriptor(r,a))})}return h}function or(h,u){var r=document.createElement("canvas");return r.width=h,r.height=u,r}function ir(h){return $t.apply(this,arguments)}function $t(){return $t=fe()(re.a.mark(function h(u){var r,a,e=arguments;return re.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=e.length>1&&e[1]!==void 0?e[1]:!1,a=document.createElement("img"),r&&(a.crossOrigin="Anonymous"),n.abrupt("return",new Promise(function(i,s){a.onload=function(){i(a)},a.onerror=function(l,d,v,b,L){s(L)},a.src=u}));case 4:case"end":return n.stop()}},h)})),$t.apply(this,arguments)}var Ct=function(){function h(u){Object(Y.a)(this,h);var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.rootEmSize,e=a===void 0?12:a,o=r.emSize,n=o===void 0?12:o,i=r.createCanvas,s=i===void 0?h.createCanvas:i,l=r.createImage,d=l===void 0?h.createImage:l,v=r.anonymousCrossOrigin;this.canvg=u,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=u.screen,this.rootEmSize=e,this.emSize=n,this.createCanvas=s,this.createImage=this.bindCreateImage(d,v),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return Object(J.a)(h,[{key:"bindCreateImage",value:function(r,a){return typeof a=="boolean"?function(e,o){return r(e,typeof o=="boolean"?o:a)}:r}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var r=this.emSizeStack;return r[r.length-1]},set:function(r){var a=this.emSizeStack;a.push(r)}},{key:"popEmSize",value:function(){var r=this.emSizeStack;r.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(r){return r.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(r){return r.loaded})}},{key:"createDocumentElement",value:function(r){var a=this.createElement(r.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}},{key:"createElement",value:function(r){var a=r.nodeName.replace(/^[^:]+:/,""),e=h.elementTypes[a];return typeof e!="undefined"?new e(this,r):new nn(this,r)}},{key:"createTextNode",value:function(r){return new tr(this,r)}},{key:"setViewBox",value:function(r){this.screen.setViewBox(ar({document:this},r))}}]),h}();Ct.createCanvas=or,Ct.createImage=ir,Ct.elementTypes=rr;function Un(h,u){var r=Object.keys(h);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(h);u&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(h,e).enumerable})),r.push.apply(r,a)}return r}function pt(h){for(var u=1;u<arguments.length;u++){var r=arguments[u]!=null?arguments[u]:{};u%2?Un(Object(r),!0).forEach(function(a){Ee()(h,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(r)):Un(Object(r)).forEach(function(a){Object.defineProperty(h,a,Object.getOwnPropertyDescriptor(r,a))})}return h}var Vn=function(){function h(u,r){Object(Y.a)(this,h);var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Pt(a),this.screen=new Ot(u,a),this.options=a;var e=new Ct(this,a),o=e.createDocumentElement(r);this.document=e,this.documentElement=o}return Object(J.a)(h,[{key:"fork",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.from(r,a,pt(pt({},this.options),e))}},{key:"forkString",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.fromString(r,a,pt(pt({},this.options),e))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:function(){var r=arguments,a=this;return fe()(re.a.mark(function e(){var o;return re.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return o=r.length>0&&r[0]!==void 0?r[0]:{},a.start(pt({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},o)),i.next=4,a.ready();case 4:a.stop();case 5:case"end":return i.stop()}},e)}))()}},{key:"start",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=this.documentElement,e=this.screen,o=this.options;e.start(a,pt(pt({enableRedraw:!0},o),r))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(r,a,e)}}],[{key:"from",value:function(r,a){var e=arguments;return fe()(re.a.mark(function o(){var n,i,s;return re.a.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return n=e.length>2&&e[2]!==void 0?e[2]:{},i=new Pt(n),d.next=4,i.parse(a);case 4:return s=d.sent,d.abrupt("return",new h(r,s,n));case 6:case"end":return d.stop()}},o)}))()}},{key:"fromString",value:function(r,a){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=new Pt(e),n=o.parseFromString(a);return new h(r,n,e)}}]),h}();x.default=Vn}.call(this,t("Q2Ig"))},Dk1u:function(m,x,t){var c=t("Ks5W"),f=t("4YbN"),p=t("IL+x"),g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not a constructor")}},ENhe:function(m,x){m.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}},FjAG:function(m,x,t){var c=t("Ks5W"),f=t("8HiI"),p=t("721z"),g=t("p5Ma"),y=t("tMNq"),j=c.TypeError,T=function(A){return function(M,U,F,N){f(U);var V=p(M),H=g(V),G=y(V),$=A?G-1:0,Z=A?-1:1;if(F<2)for(;;){if($ in H){N=H[$],$+=Z;break}if($+=Z,A?$<0:G<=$)throw j("Reduce of empty array with no initial value")}for(;A?$>=0:G>$;$+=Z)$ in H&&(N=U(N,H[$],$,V));return N}};m.exports={left:T(!1),right:T(!0)}},FkIU:function(m,x,t){var c=t("++4Y"),f=t("eRwv");m.exports=c&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},FlRv:function(m,x,t){var c=t("Ks5W"),f=t("++4Y"),p=t("pVCk"),g=t("FkIU"),y=t("WxoH"),j=t("GTqx"),T=c.TypeError,A=Object.defineProperty,M=Object.getOwnPropertyDescriptor,U="enumerable",F="configurable",N="writable";x.f=f?g?function(H,G,$){if(y(H),G=j(G),y($),typeof H=="function"&&G==="prototype"&&"value"in $&&N in $&&!$[N]){var Z=M(H,G);Z&&Z[N]&&(H[G]=$.value,$={configurable:F in $?$[F]:Z[F],enumerable:U in $?$[U]:Z[U],writable:!1})}return A(H,G,$)}:A:function(H,G,$){if(y(H),G=j(G),y($),p)try{return A(H,G,$)}catch(Z){}if("get"in $||"set"in $)throw T("Accessors not supported");return"value"in $&&(H[G]=$.value),H}},FqHY:function(m,x,t){var c=t("eE3R"),f=t("Ks5W");m.exports=/ipad|iphone|ipod/i.test(c)&&f.Pebble!==void 0},G5Kn:function(m,x,t){var c=t("11yv"),f=t("XFuk"),p=t("FlRv"),g=c("unscopables"),y=Array.prototype;y[g]==null&&p.f(y,g,{configurable:!0,value:f(null)}),m.exports=function(j){y[g][j]=!0}},GI0h:function(m,x,t){var c=t("me6S"),f=c("span").classList,p=f&&f.constructor&&f.constructor.prototype;m.exports=p===Object.prototype?void 0:p},GTqx:function(m,x,t){var c=t("ms20"),f=t("bT0D");m.exports=function(p){var g=c(p,"string");return f(g)?g:g+""}},GVkW:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("fKql").f,g=t("c3MK"),y=t("qzpy"),j=t("OU4x"),T=t("XaNE"),A=t("/TZh"),M=t("jybJ"),U=f("".endsWith),F=f("".slice),N=Math.min,V=A("endsWith"),H=!M&&!V&&!!function(){var G=p(String.prototype,"endsWith");return G&&!G.writable}();c({target:"String",proto:!0,forced:!H&&!V},{endsWith:function($){var Z=y(T(this));j($);var W=arguments.length>1?arguments[1]:void 0,_=Z.length,D=W===void 0?_:N(g(W),_),te=y($);return U?U(Z,te,D):F(Z,D-te.length,D)===te}})},GgKt:function(m,x,t){var c=t("eE3R");m.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(c)},Gywb:function(m,x,t){var c=t("eRwv");m.exports=!c(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},"HTC/":function(m,x,t){"use strict";var c=t("WxoH");m.exports=function(){var f=c(this),p="";return f.global&&(p+="g"),f.ignoreCase&&(p+="i"),f.multiline&&(p+="m"),f.dotAll&&(p+="s"),f.unicode&&(p+="u"),f.sticky&&(p+="y"),p}},IGIO:function(m,x,t){var c=t("ba8b"),f=t("Ks5W");m.exports=c(f.process)=="process"},"IL+x":function(m,x,t){var c=t("Ks5W"),f=c.String;m.exports=function(p){try{return f(p)}catch(g){return"Object"}}},JHvW:function(m,x,t){var c=t("aLaa"),f=t("WxoH"),p=t("NIpK");m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var g=!1,y={},j;try{j=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),j(y,[]),g=y instanceof Array}catch(T){}return function(A,M){return f(A),p(M),g?j(A,M):A.__proto__=M,A}}():void 0)},JTf3:function(m,x){m.exports=function(t){return typeof t=="function"}},KKe4:function(m,x,t){"use strict";var c=t("m7zg"),f=t("WONN"),p=t("WxoH"),g=t("c3MK"),y=t("qzpy"),j=t("XaNE"),T=t("oK8H"),A=t("M/+V"),M=t("3fk+");f("match",function(U,F,N){return[function(H){var G=j(this),$=H==null?void 0:T(H,U);return $?c($,H,G):new RegExp(H)[U](y(G))},function(V){var H=p(this),G=y(V),$=N(F,H,G);if($.done)return $.value;if(!H.global)return M(H,G);var Z=H.unicode;H.lastIndex=0;for(var W=[],_=0,D;(D=M(H,G))!==null;){var te=y(D[0]);W[_]=te,te===""&&(H.lastIndex=A(G,g(H.lastIndex),Z)),_++}return _===0?null:W}]})},KLN8:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("fKql").f,g=t("c3MK"),y=t("qzpy"),j=t("OU4x"),T=t("XaNE"),A=t("/TZh"),M=t("jybJ"),U=f("".startsWith),F=f("".slice),N=Math.min,V=A("startsWith"),H=!M&&!V&&!!function(){var G=p(String.prototype,"startsWith");return G&&!G.writable}();c({target:"String",proto:!0,forced:!H&&!V},{startsWith:function($){var Z=y(T(this));j($);var W=g(N(arguments.length>1?arguments[1]:void 0,Z.length)),_=y($);return U?U(Z,_,W):F(Z,W,W+_.length)===_}})},Ks5W:function(m,x,t){(function(c){var f=function(p){return p&&p.Math==Math&&p};m.exports=f(typeof globalThis=="object"&&globalThis)||f(typeof window=="object"&&window)||f(typeof self=="object"&&self)||f(typeof c=="object"&&c)||function(){return this}()||Function("return this")()}).call(this,t("yLpj"))},LOfi:function(m,x,t){var c=t("WrAw");m.exports=function(f,p,g){for(var y in p)c(f,y,p[y],g);return f}},Lltv:function(m,x,t){"use strict";var c=t("vkZI"),f=t("G5Kn"),p=t("AoAp"),g=t("UQ6y"),y=t("FlRv").f,j=t("jgt4"),T=t("jybJ"),A=t("++4Y"),M="Array Iterator",U=g.set,F=g.getterFor(M);m.exports=j(Array,"Array",function(V,H){U(this,{type:M,target:c(V),index:0,kind:H})},function(){var V=F(this),H=V.target,G=V.kind,$=V.index++;return!H||$>=H.length?(V.target=void 0,{value:void 0,done:!0}):G=="keys"?{value:$,done:!1}:G=="values"?{value:H[$],done:!1}:{value:[$,H[$]],done:!1}},"values");var N=p.Arguments=p.Array;if(f("keys"),f("values"),f("entries"),!T&&A&&N.name!=="values")try{y(N,"name",{value:"values"})}catch(V){}},"M/+V":function(m,x,t){"use strict";var c=t("ymN0").charAt;m.exports=function(f,p,g){return p+(g?c(f,p).length:1)}},MNKV:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("OU4x"),g=t("XaNE"),y=t("qzpy"),j=t("/TZh"),T=f("".indexOf);c({target:"String",proto:!0,forced:!j("includes")},{includes:function(M){return!!~T(y(g(this)),y(p(M)),arguments.length>1?arguments[1]:void 0)}})},MURR:function(m,x,t){var c=t("aLaa"),f=0,p=Math.random(),g=c(1 .toString);m.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+g(++f+p,36)}},N6FT:function(m,x,t){var c=t("++4Y"),f=t("YELS"),p=Function.prototype,g=c&&Object.getOwnPropertyDescriptor,y=f(p,"name"),j=y&&function(){}.name==="something",T=y&&(!c||c&&g(p,"name").configurable);m.exports={EXISTS:y,PROPER:j,CONFIGURABLE:T}},NCkV:function(m,x,t){"use strict";var c=t("1mOU"),f=t("m7zg"),p=t("aLaa"),g=t("WONN"),y=t("COGW"),j=t("WxoH"),T=t("XaNE"),A=t("NudO"),M=t("M/+V"),U=t("c3MK"),F=t("qzpy"),N=t("oK8H"),V=t("8Ys4"),H=t("3fk+"),G=t("WMbf"),$=t("RhGR"),Z=t("eRwv"),W=$.UNSUPPORTED_Y,_=4294967295,D=Math.min,te=[].push,O=p(/./.exec),S=p(te),P=p("".slice),K=!Z(function(){var q=/(?:)/,ee=q.exec;q.exec=function(){return ee.apply(this,arguments)};var oe="ab".split(q);return oe.length!==2||oe[0]!=="a"||oe[1]!=="b"});g("split",function(q,ee,oe){var E;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?E=function(w,C){var R=F(T(this)),z=C===void 0?_:C>>>0;if(z===0)return[];if(w===void 0)return[R];if(!y(w))return f(ee,R,w,z);for(var I=[],B=(w.ignoreCase?"i":"")+(w.multiline?"m":"")+(w.unicode?"u":"")+(w.sticky?"y":""),X=0,k=new RegExp(w.source,B+"g"),Y,J,ie;(Y=f(G,k,R))&&!(J=k.lastIndex,J>X&&(S(I,P(R,X,Y.index)),Y.length>1&&Y.index<R.length&&c(te,I,V(Y,1)),ie=Y[0].length,X=J,I.length>=z));)k.lastIndex===Y.index&&k.lastIndex++;return X===R.length?(ie||!O(k,""))&&S(I,""):S(I,P(R,X)),I.length>z?V(I,0,z):I}:"0".split(void 0,0).length?E=function(w,C){return w===void 0&&C===0?[]:f(ee,this,w,C)}:E=ee,[function(C,R){var z=T(this),I=C==null?void 0:N(C,q);return I?f(I,C,z,R):f(E,F(z),C,R)},function(w,C){var R=j(this),z=F(w),I=oe(E,R,z,C,E!==ee);if(I.done)return I.value;var B=A(R,RegExp),X=R.unicode,k=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(W?"g":"y"),Y=new B(W?"^(?:"+R.source+")":R,k),J=C===void 0?_:C>>>0;if(J===0)return[];if(z.length===0)return H(Y,z)===null?[z]:[];for(var ie=0,se=0,re=[];se<z.length;){Y.lastIndex=W?0:se;var je=H(Y,W?P(z,se):z),fe;if(je===null||(fe=D(U(Y.lastIndex+(W?se:0)),z.length))===ie)se=M(z,se,X);else{if(S(re,P(z,ie,se)),re.length===J)return re;for(var ce=1;ce<=je.length-1;ce++)if(S(re,je[ce]),re.length===J)return re;se=ie=fe}}return S(re,P(z,ie)),re}]},!K,W)},NIpK:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=c.String,g=c.TypeError;m.exports=function(y){if(typeof y=="object"||f(y))return y;throw g("Can't set "+p(y)+" as a prototype")}},"Ne/+":function(m,x,t){var c=t("aLaa"),f=t("721z"),p=Math.floor,g=c("".charAt),y=c("".replace),j=c("".slice),T=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,A=/\$([$&'`]|\d{1,2})/g;m.exports=function(M,U,F,N,V,H){var G=F+M.length,$=N.length,Z=A;return V!==void 0&&(V=f(V),Z=T),y(H,Z,function(W,_){var D;switch(g(_,0)){case"$":return"$";case"&":return M;case"`":return j(U,0,F);case"'":return j(U,G);case"<":D=V[j(_,1,-1)];break;default:var te=+_;if(te===0)return W;if(te>$){var O=p(te/10);return O===0?W:O<=$?N[O-1]===void 0?g(_,1):N[O-1]+g(_,1):W}D=N[te-1]}return D===void 0?"":D})}},NudO:function(m,x,t){var c=t("WxoH"),f=t("Dk1u"),p=t("11yv"),g=p("species");m.exports=function(y,j){var T=c(y).constructor,A;return T===void 0||(A=c(T)[g])==null?j:f(A)}},Nybj:function(m,x,t){var c=t("vkZI"),f=t("n6S8"),p=t("tMNq"),g=function(y){return function(j,T,A){var M=c(j),U=p(M),F=f(A,U),N;if(y&&T!=T){for(;U>F;)if(N=M[F++],N!=N)return!0}else for(;U>F;F++)if((y||F in M)&&M[F]===T)return y||F||0;return!y&&-1}};m.exports={includes:g(!0),indexOf:g(!1)}},OU4x:function(m,x,t){var c=t("Ks5W"),f=t("COGW"),p=c.TypeError;m.exports=function(g){if(f(g))throw p("The method doesn't accept regular expressions");return g}},Ppro:function(m,x,t){"use strict";var c=t("nCzB"),f=t("WMbf");c({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},QELg:function(m,x,t){"use strict";var c=t("eRwv");m.exports=function(f,p){var g=[][f];return!!g&&c(function(){g.call(null,p||function(){throw 1},1)})}},QrM1:function(m,x,t){var c=t("ZpKI"),f=t("Yzn+"),p=f.concat("length","prototype");x.f=Object.getOwnPropertyNames||function(y){return c(y,p)}},"RXj+":function(m,x,t){var c=t("aLaa"),f=t("XaNE"),p=t("qzpy"),g=t("noWC"),y=c("".replace),j="["+g+"]",T=RegExp("^"+j+j+"*"),A=RegExp(j+j+"*$"),M=function(U){return function(F){var N=p(f(F));return U&1&&(N=y(N,T,"")),U&2&&(N=y(N,A,"")),N}};m.exports={start:M(1),end:M(2),trim:M(3)}},RYfq:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=function(g){return f(g)?g:void 0};m.exports=function(g,y){return arguments.length<2?p(c[g]):c[g]&&c[g][y]}},RhGR:function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp,g=c(function(){var T=p("a","y");return T.lastIndex=2,T.exec("abcd")!=null}),y=g||c(function(){return!p("a","y").sticky}),j=g||c(function(){var T=p("^r","gy");return T.lastIndex=2,T.exec("str")!=null});m.exports={BROKEN_CARET:j,MISSED_STICKY:y,UNSUPPORTED_Y:g}},S3az:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("sNJV"),g=c.WeakMap;m.exports=f(g)&&/native code/.test(p(g))},SDGZ:function(m,x,t){"use strict";t.d(x,"a",function(){return D});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var c=function(S,P){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,q){K.__proto__=q}||function(K,q){for(var ee in q)Object.prototype.hasOwnProperty.call(q,ee)&&(K[ee]=q[ee])})(S,P)};function f(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function P(){this.constructor=O}c(O,S),O.prototype=S===null?Object.create(S):(P.prototype=S.prototype,new P)}function p(O){var S="";Array.isArray(O)||(O=[O]);for(var P=0;P<O.length;P++){var K=O[P];if(K.type===D.CLOSE_PATH)S+="z";else if(K.type===D.HORIZ_LINE_TO)S+=(K.relative?"h":"H")+K.x;else if(K.type===D.VERT_LINE_TO)S+=(K.relative?"v":"V")+K.y;else if(K.type===D.MOVE_TO)S+=(K.relative?"m":"M")+K.x+" "+K.y;else if(K.type===D.LINE_TO)S+=(K.relative?"l":"L")+K.x+" "+K.y;else if(K.type===D.CURVE_TO)S+=(K.relative?"c":"C")+K.x1+" "+K.y1+" "+K.x2+" "+K.y2+" "+K.x+" "+K.y;else if(K.type===D.SMOOTH_CURVE_TO)S+=(K.relative?"s":"S")+K.x2+" "+K.y2+" "+K.x+" "+K.y;else if(K.type===D.QUAD_TO)S+=(K.relative?"q":"Q")+K.x1+" "+K.y1+" "+K.x+" "+K.y;else if(K.type===D.SMOOTH_QUAD_TO)S+=(K.relative?"t":"T")+K.x+" "+K.y;else{if(K.type!==D.ARC)throw new Error('Unexpected command type "'+K.type+'" at index '+P+".");S+=(K.relative?"a":"A")+K.rX+" "+K.rY+" "+K.xRot+" "+ +K.lArcFlag+" "+ +K.sweepFlag+" "+K.x+" "+K.y}}return S}function g(O,S){var P=O[0],K=O[1];return[P*Math.cos(S)-K*Math.sin(S),P*Math.sin(S)+K*Math.cos(S)]}function y(){for(var O=[],S=0;S<arguments.length;S++)O[S]=arguments[S];for(var P=0;P<O.length;P++)if(typeof O[P]!="number")throw new Error("assertNumbers arguments["+P+"] is not a number. "+typeof O[P]+" == typeof "+O[P]);return!0}var j=Math.PI;function T(O,S,P){O.lArcFlag=O.lArcFlag===0?0:1,O.sweepFlag=O.sweepFlag===0?0:1;var K=O.rX,q=O.rY,ee=O.x,oe=O.y;K=Math.abs(O.rX),q=Math.abs(O.rY);var E=g([(S-ee)/2,(P-oe)/2],-O.xRot/180*j),w=E[0],C=E[1],R=Math.pow(w,2)/Math.pow(K,2)+Math.pow(C,2)/Math.pow(q,2);1<R&&(K*=Math.sqrt(R),q*=Math.sqrt(R)),O.rX=K,O.rY=q;var z=Math.pow(K,2)*Math.pow(C,2)+Math.pow(q,2)*Math.pow(w,2),I=(O.lArcFlag!==O.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(K,2)*Math.pow(q,2)-z)/z)),B=K*C/q*I,X=-q*w/K*I,k=g([B,X],O.xRot/180*j);O.cX=k[0]+(S+ee)/2,O.cY=k[1]+(P+oe)/2,O.phi1=Math.atan2((C-X)/q,(w-B)/K),O.phi2=Math.atan2((-C-X)/q,(-w-B)/K),O.sweepFlag===0&&O.phi2>O.phi1&&(O.phi2-=2*j),O.sweepFlag===1&&O.phi2<O.phi1&&(O.phi2+=2*j),O.phi1*=180/j,O.phi2*=180/j}function A(O,S,P){y(O,S,P);var K=O*O+S*S-P*P;if(0>K)return[];if(K===0)return[[O*P/(O*O+S*S),S*P/(O*O+S*S)]];var q=Math.sqrt(K);return[[(O*P+S*q)/(O*O+S*S),(S*P-O*q)/(O*O+S*S)],[(O*P-S*q)/(O*O+S*S),(S*P+O*q)/(O*O+S*S)]]}var M,U=Math.PI/180;function F(O,S,P){return(1-P)*O+P*S}function N(O,S,P,K){return O+Math.cos(K/180*j)*S+Math.sin(K/180*j)*P}function V(O,S,P,K){var q=1e-6,ee=S-O,oe=P-S,E=3*ee+3*(K-P)-6*oe,w=6*(oe-ee),C=3*ee;return Math.abs(E)<q?[-C/w]:function(R,z,I){I===void 0&&(I=1e-6);var B=R*R/4-z;if(B<-I)return[];if(B<=I)return[-R/2];var X=Math.sqrt(B);return[-R/2-X,-R/2+X]}(w/E,C/E,q)}function H(O,S,P,K,q){var ee=1-q;return O*(ee*ee*ee)+S*(3*ee*ee*q)+P*(3*ee*q*q)+K*(q*q*q)}!function(O){function S(){return q(function(E,w,C){return E.relative&&(E.x1!==void 0&&(E.x1+=w),E.y1!==void 0&&(E.y1+=C),E.x2!==void 0&&(E.x2+=w),E.y2!==void 0&&(E.y2+=C),E.x!==void 0&&(E.x+=w),E.y!==void 0&&(E.y+=C),E.relative=!1),E})}function P(){var E=NaN,w=NaN,C=NaN,R=NaN;return q(function(z,I,B){return z.type&D.SMOOTH_CURVE_TO&&(z.type=D.CURVE_TO,E=isNaN(E)?I:E,w=isNaN(w)?B:w,z.x1=z.relative?I-E:2*I-E,z.y1=z.relative?B-w:2*B-w),z.type&D.CURVE_TO?(E=z.relative?I+z.x2:z.x2,w=z.relative?B+z.y2:z.y2):(E=NaN,w=NaN),z.type&D.SMOOTH_QUAD_TO&&(z.type=D.QUAD_TO,C=isNaN(C)?I:C,R=isNaN(R)?B:R,z.x1=z.relative?I-C:2*I-C,z.y1=z.relative?B-R:2*B-R),z.type&D.QUAD_TO?(C=z.relative?I+z.x1:z.x1,R=z.relative?B+z.y1:z.y1):(C=NaN,R=NaN),z})}function K(){var E=NaN,w=NaN;return q(function(C,R,z){if(C.type&D.SMOOTH_QUAD_TO&&(C.type=D.QUAD_TO,E=isNaN(E)?R:E,w=isNaN(w)?z:w,C.x1=C.relative?R-E:2*R-E,C.y1=C.relative?z-w:2*z-w),C.type&D.QUAD_TO){E=C.relative?R+C.x1:C.x1,w=C.relative?z+C.y1:C.y1;var I=C.x1,B=C.y1;C.type=D.CURVE_TO,C.x1=((C.relative?0:R)+2*I)/3,C.y1=((C.relative?0:z)+2*B)/3,C.x2=(C.x+2*I)/3,C.y2=(C.y+2*B)/3}else E=NaN,w=NaN;return C})}function q(E){var w=0,C=0,R=NaN,z=NaN;return function(I){if(isNaN(R)&&!(I.type&D.MOVE_TO))throw new Error("path must start with moveto");var B=E(I,w,C,R,z);return I.type&D.CLOSE_PATH&&(w=R,C=z),I.x!==void 0&&(w=I.relative?w+I.x:I.x),I.y!==void 0&&(C=I.relative?C+I.y:I.y),I.type&D.MOVE_TO&&(R=w,z=C),B}}function ee(E,w,C,R,z,I){return y(E,w,C,R,z,I),q(function(B,X,k,Y){var J=B.x1,ie=B.x2,se=B.relative&&!isNaN(Y),re=B.x!==void 0?B.x:se?0:X,je=B.y!==void 0?B.y:se?0:k;function fe(Je){return Je*Je}B.type&D.HORIZ_LINE_TO&&w!==0&&(B.type=D.LINE_TO,B.y=B.relative?0:k),B.type&D.VERT_LINE_TO&&C!==0&&(B.type=D.LINE_TO,B.x=B.relative?0:X),B.x!==void 0&&(B.x=B.x*E+je*C+(se?0:z)),B.y!==void 0&&(B.y=re*w+B.y*R+(se?0:I)),B.x1!==void 0&&(B.x1=B.x1*E+B.y1*C+(se?0:z)),B.y1!==void 0&&(B.y1=J*w+B.y1*R+(se?0:I)),B.x2!==void 0&&(B.x2=B.x2*E+B.y2*C+(se?0:z)),B.y2!==void 0&&(B.y2=ie*w+B.y2*R+(se?0:I));var ce=E*R-w*C;if(B.xRot!==void 0&&(E!==1||w!==0||C!==0||R!==1))if(ce===0)delete B.rX,delete B.rY,delete B.xRot,delete B.lArcFlag,delete B.sweepFlag,B.type=D.LINE_TO;else{var Ee=B.xRot*Math.PI/180,me=Math.sin(Ee),Me=Math.cos(Ee),pe=1/fe(B.rX),Te=1/fe(B.rY),Se=fe(Me)*pe+fe(me)*Te,Ae=2*me*Me*(pe-Te),De=fe(me)*pe+fe(Me)*Te,Ue=Se*R*R-Ae*w*R+De*w*w,Ke=Ae*(E*R+w*C)-2*(Se*C*R+De*E*w),Be=Se*C*C-Ae*E*C+De*E*E,we=(Math.atan2(Ke,Ue-Be)+Math.PI)%Math.PI/2,Le=Math.sin(we),Re=Math.cos(we);B.rX=Math.abs(ce)/Math.sqrt(Ue*fe(Re)+Ke*Le*Re+Be*fe(Le)),B.rY=Math.abs(ce)/Math.sqrt(Ue*fe(Le)-Ke*Le*Re+Be*fe(Re)),B.xRot=180*we/Math.PI}return B.sweepFlag!==void 0&&0>ce&&(B.sweepFlag=+!B.sweepFlag),B})}function oe(){return function(E){var w={};for(var C in E)w[C]=E[C];return w}}O.ROUND=function(E){function w(C){return Math.round(C*E)/E}return E===void 0&&(E=1e13),y(E),function(C){return C.x1!==void 0&&(C.x1=w(C.x1)),C.y1!==void 0&&(C.y1=w(C.y1)),C.x2!==void 0&&(C.x2=w(C.x2)),C.y2!==void 0&&(C.y2=w(C.y2)),C.x!==void 0&&(C.x=w(C.x)),C.y!==void 0&&(C.y=w(C.y)),C.rX!==void 0&&(C.rX=w(C.rX)),C.rY!==void 0&&(C.rY=w(C.rY)),C}},O.TO_ABS=S,O.TO_REL=function(){return q(function(E,w,C){return E.relative||(E.x1!==void 0&&(E.x1-=w),E.y1!==void 0&&(E.y1-=C),E.x2!==void 0&&(E.x2-=w),E.y2!==void 0&&(E.y2-=C),E.x!==void 0&&(E.x-=w),E.y!==void 0&&(E.y-=C),E.relative=!0),E})},O.NORMALIZE_HVZ=function(E,w,C){return E===void 0&&(E=!0),w===void 0&&(w=!0),C===void 0&&(C=!0),q(function(R,z,I,B,X){if(isNaN(B)&&!(R.type&D.MOVE_TO))throw new Error("path must start with moveto");return w&&R.type&D.HORIZ_LINE_TO&&(R.type=D.LINE_TO,R.y=R.relative?0:I),C&&R.type&D.VERT_LINE_TO&&(R.type=D.LINE_TO,R.x=R.relative?0:z),E&&R.type&D.CLOSE_PATH&&(R.type=D.LINE_TO,R.x=R.relative?B-z:B,R.y=R.relative?X-I:X),R.type&D.ARC&&(R.rX===0||R.rY===0)&&(R.type=D.LINE_TO,delete R.rX,delete R.rY,delete R.xRot,delete R.lArcFlag,delete R.sweepFlag),R})},O.NORMALIZE_ST=P,O.QT_TO_C=K,O.INFO=q,O.SANITIZE=function(E){E===void 0&&(E=0),y(E);var w=NaN,C=NaN,R=NaN,z=NaN;return q(function(I,B,X,k,Y){var J=Math.abs,ie=!1,se=0,re=0;if(I.type&D.SMOOTH_CURVE_TO&&(se=isNaN(w)?0:B-w,re=isNaN(C)?0:X-C),I.type&(D.CURVE_TO|D.SMOOTH_CURVE_TO)?(w=I.relative?B+I.x2:I.x2,C=I.relative?X+I.y2:I.y2):(w=NaN,C=NaN),I.type&D.SMOOTH_QUAD_TO?(R=isNaN(R)?B:2*B-R,z=isNaN(z)?X:2*X-z):I.type&D.QUAD_TO?(R=I.relative?B+I.x1:I.x1,z=I.relative?X+I.y1:I.y2):(R=NaN,z=NaN),I.type&D.LINE_COMMANDS||I.type&D.ARC&&(I.rX===0||I.rY===0||!I.lArcFlag)||I.type&D.CURVE_TO||I.type&D.SMOOTH_CURVE_TO||I.type&D.QUAD_TO||I.type&D.SMOOTH_QUAD_TO){var je=I.x===void 0?0:I.relative?I.x:I.x-B,fe=I.y===void 0?0:I.relative?I.y:I.y-X;se=isNaN(R)?I.x1===void 0?se:I.relative?I.x:I.x1-B:R-B,re=isNaN(z)?I.y1===void 0?re:I.relative?I.y:I.y1-X:z-X;var ce=I.x2===void 0?0:I.relative?I.x:I.x2-B,Ee=I.y2===void 0?0:I.relative?I.y:I.y2-X;J(je)<=E&&J(fe)<=E&&J(se)<=E&&J(re)<=E&&J(ce)<=E&&J(Ee)<=E&&(ie=!0)}return I.type&D.CLOSE_PATH&&J(B-k)<=E&&J(X-Y)<=E&&(ie=!0),ie?[]:I})},O.MATRIX=ee,O.ROTATE=function(E,w,C){w===void 0&&(w=0),C===void 0&&(C=0),y(E,w,C);var R=Math.sin(E),z=Math.cos(E);return ee(z,R,-R,z,w-w*z+C*R,C-w*R-C*z)},O.TRANSLATE=function(E,w){return w===void 0&&(w=0),y(E,w),ee(1,0,0,1,E,w)},O.SCALE=function(E,w){return w===void 0&&(w=E),y(E,w),ee(E,0,0,w,0,0)},O.SKEW_X=function(E){return y(E),ee(1,0,Math.atan(E),1,0,0)},O.SKEW_Y=function(E){return y(E),ee(1,Math.atan(E),0,1,0,0)},O.X_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ee(-1,0,0,1,E,0)},O.Y_AXIS_SYMMETRY=function(E){return E===void 0&&(E=0),y(E),ee(1,0,0,-1,0,E)},O.A_TO_C=function(){return q(function(E,w,C){return D.ARC===E.type?function(R,z,I){var B,X,k,Y;R.cX||T(R,z,I);for(var J=Math.min(R.phi1,R.phi2),ie=Math.max(R.phi1,R.phi2)-J,se=Math.ceil(ie/90),re=new Array(se),je=z,fe=I,ce=0;ce<se;ce++){var Ee=F(R.phi1,R.phi2,ce/se),me=F(R.phi1,R.phi2,(ce+1)/se),Me=me-Ee,pe=4/3*Math.tan(Me*U/4),Te=[Math.cos(Ee*U)-pe*Math.sin(Ee*U),Math.sin(Ee*U)+pe*Math.cos(Ee*U)],Se=Te[0],Ae=Te[1],De=[Math.cos(me*U),Math.sin(me*U)],Ue=De[0],Ke=De[1],Be=[Ue+pe*Math.sin(me*U),Ke-pe*Math.cos(me*U)],we=Be[0],Le=Be[1];re[ce]={relative:R.relative,type:D.CURVE_TO};var Re=function(st,_e){var lt=g([st*R.rX,_e*R.rY],R.xRot),gt=lt[0],mt=lt[1];return[R.cX+gt,R.cY+mt]};B=Re(Se,Ae),re[ce].x1=B[0],re[ce].y1=B[1],X=Re(we,Le),re[ce].x2=X[0],re[ce].y2=X[1],k=Re(Ue,Ke),re[ce].x=k[0],re[ce].y=k[1],R.relative&&(re[ce].x1-=je,re[ce].y1-=fe,re[ce].x2-=je,re[ce].y2-=fe,re[ce].x-=je,re[ce].y-=fe),je=(Y=[re[ce].x,re[ce].y])[0],fe=Y[1]}return re}(E,E.relative?0:w,E.relative?0:C):E})},O.ANNOTATE_ARCS=function(){return q(function(E,w,C){return E.relative&&(w=0,C=0),D.ARC===E.type&&T(E,w,C),E})},O.CLONE=oe,O.CALCULATE_BOUNDS=function(){var E=function(B){var X={};for(var k in B)X[k]=B[k];return X},w=S(),C=K(),R=P(),z=q(function(I,B,X){var k=R(C(w(E(I))));function Y(Le){Le>z.maxX&&(z.maxX=Le),Le<z.minX&&(z.minX=Le)}function J(Le){Le>z.maxY&&(z.maxY=Le),Le<z.minY&&(z.minY=Le)}if(k.type&D.DRAWING_COMMANDS&&(Y(B),J(X)),k.type&D.HORIZ_LINE_TO&&Y(k.x),k.type&D.VERT_LINE_TO&&J(k.y),k.type&D.LINE_TO&&(Y(k.x),J(k.y)),k.type&D.CURVE_TO){Y(k.x),J(k.y);for(var ie=0,se=V(B,k.x1,k.x2,k.x);ie<se.length;ie++)0<(we=se[ie])&&1>we&&Y(H(B,k.x1,k.x2,k.x,we));for(var re=0,je=V(X,k.y1,k.y2,k.y);re<je.length;re++)0<(we=je[re])&&1>we&&J(H(X,k.y1,k.y2,k.y,we))}if(k.type&D.ARC){Y(k.x),J(k.y),T(k,B,X);for(var fe=k.xRot/180*Math.PI,ce=Math.cos(fe)*k.rX,Ee=Math.sin(fe)*k.rX,me=-Math.sin(fe)*k.rY,Me=Math.cos(fe)*k.rY,pe=k.phi1<k.phi2?[k.phi1,k.phi2]:-180>k.phi2?[k.phi2+360,k.phi1+360]:[k.phi2,k.phi1],Te=pe[0],Se=pe[1],Ae=function(Re){var Je=Re[0],st=Re[1],_e=180*Math.atan2(st,Je)/Math.PI;return _e<Te?_e+360:_e},De=0,Ue=A(me,-ce,0).map(Ae);De<Ue.length;De++)(we=Ue[De])>Te&&we<Se&&Y(N(k.cX,ce,me,we));for(var Ke=0,Be=A(Me,-Ee,0).map(Ae);Ke<Be.length;Ke++){var we;(we=Be[Ke])>Te&&we<Se&&J(N(k.cY,Ee,Me,we))}}return I});return z.minX=1/0,z.maxX=-1/0,z.minY=1/0,z.maxY=-1/0,z}}(M||(M={}));var G,$=function(){function O(){}return O.prototype.round=function(S){return this.transform(M.ROUND(S))},O.prototype.toAbs=function(){return this.transform(M.TO_ABS())},O.prototype.toRel=function(){return this.transform(M.TO_REL())},O.prototype.normalizeHVZ=function(S,P,K){return this.transform(M.NORMALIZE_HVZ(S,P,K))},O.prototype.normalizeST=function(){return this.transform(M.NORMALIZE_ST())},O.prototype.qtToC=function(){return this.transform(M.QT_TO_C())},O.prototype.aToC=function(){return this.transform(M.A_TO_C())},O.prototype.sanitize=function(S){return this.transform(M.SANITIZE(S))},O.prototype.translate=function(S,P){return this.transform(M.TRANSLATE(S,P))},O.prototype.scale=function(S,P){return this.transform(M.SCALE(S,P))},O.prototype.rotate=function(S,P,K){return this.transform(M.ROTATE(S,P,K))},O.prototype.matrix=function(S,P,K,q,ee,oe){return this.transform(M.MATRIX(S,P,K,q,ee,oe))},O.prototype.skewX=function(S){return this.transform(M.SKEW_X(S))},O.prototype.skewY=function(S){return this.transform(M.SKEW_Y(S))},O.prototype.xSymmetry=function(S){return this.transform(M.X_AXIS_SYMMETRY(S))},O.prototype.ySymmetry=function(S){return this.transform(M.Y_AXIS_SYMMETRY(S))},O.prototype.annotateArcs=function(){return this.transform(M.ANNOTATE_ARCS())},O}(),Z=function(S){return S===" "||S===" "||S==="\r"||S===`
`},W=function(S){return"0".charCodeAt(0)<=S.charCodeAt(0)&&S.charCodeAt(0)<="9".charCodeAt(0)},_=function(O){function S(){var P=O.call(this)||this;return P.curNumber="",P.curCommandType=-1,P.curCommandRelative=!1,P.canParseCommandOrComma=!0,P.curNumberHasExp=!1,P.curNumberHasExpDigits=!1,P.curNumberHasDecimal=!1,P.curArgs=[],P}return f(S,O),S.prototype.finish=function(P){if(P===void 0&&(P=[]),this.parse(" ",P),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return P},S.prototype.parse=function(P,K){var q=this;K===void 0&&(K=[]);for(var ee=function(I){K.push(I),q.curArgs.length=0,q.canParseCommandOrComma=!0},oe=0;oe<P.length;oe++){var E=P[oe],w=!(this.curCommandType!==D.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),C=W(E)&&(this.curNumber==="0"&&E==="0"||w);if(!W(E)||C)if(E!=="e"&&E!=="E")if(E!=="-"&&E!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(E!=="."||this.curNumberHasExp||this.curNumberHasDecimal||w){if(this.curNumber&&this.curCommandType!==-1){var R=Number(this.curNumber);if(isNaN(R))throw new SyntaxError("Invalid number ending at "+oe);if(this.curCommandType===D.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>R)throw new SyntaxError('Expected positive number, got "'+R+'" at index "'+oe+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+oe+'"')}this.curArgs.push(R),this.curArgs.length===te[this.curCommandType]&&(D.HORIZ_LINE_TO===this.curCommandType?ee({type:D.HORIZ_LINE_TO,relative:this.curCommandRelative,x:R}):D.VERT_LINE_TO===this.curCommandType?ee({type:D.VERT_LINE_TO,relative:this.curCommandRelative,y:R}):this.curCommandType===D.MOVE_TO||this.curCommandType===D.LINE_TO||this.curCommandType===D.SMOOTH_QUAD_TO?(ee({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),D.MOVE_TO===this.curCommandType&&(this.curCommandType=D.LINE_TO)):this.curCommandType===D.CURVE_TO?ee({type:D.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===D.SMOOTH_CURVE_TO?ee({type:D.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.QUAD_TO?ee({type:D.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===D.ARC&&ee({type:D.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(!Z(E))if(E===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(E!=="+"&&E!=="-"&&E!==".")if(C)this.curNumber=E,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+oe+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+E+'" at index '+oe+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,E!=="z"&&E!=="Z")if(E==="h"||E==="H")this.curCommandType=D.HORIZ_LINE_TO,this.curCommandRelative=E==="h";else if(E==="v"||E==="V")this.curCommandType=D.VERT_LINE_TO,this.curCommandRelative=E==="v";else if(E==="m"||E==="M")this.curCommandType=D.MOVE_TO,this.curCommandRelative=E==="m";else if(E==="l"||E==="L")this.curCommandType=D.LINE_TO,this.curCommandRelative=E==="l";else if(E==="c"||E==="C")this.curCommandType=D.CURVE_TO,this.curCommandRelative=E==="c";else if(E==="s"||E==="S")this.curCommandType=D.SMOOTH_CURVE_TO,this.curCommandRelative=E==="s";else if(E==="q"||E==="Q")this.curCommandType=D.QUAD_TO,this.curCommandRelative=E==="q";else if(E==="t"||E==="T")this.curCommandType=D.SMOOTH_QUAD_TO,this.curCommandRelative=E==="t";else{if(E!=="a"&&E!=="A")throw new SyntaxError('Unexpected character "'+E+'" at index '+oe+".");this.curCommandType=D.ARC,this.curCommandRelative=E==="a"}else K.push({type:D.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=E,this.curNumberHasDecimal=E==="."}else this.curNumber+=E,this.curNumberHasDecimal=!0;else this.curNumber+=E;else this.curNumber+=E,this.curNumberHasExp=!0;else this.curNumber+=E,this.curNumberHasExpDigits=this.curNumberHasExp}return K},S.prototype.transform=function(P){return Object.create(this,{parse:{value:function(q,ee){ee===void 0&&(ee=[]);for(var oe=0,E=Object.getPrototypeOf(this).parse.call(this,q);oe<E.length;oe++){var w=E[oe],C=P(w);Array.isArray(C)?ee.push.apply(ee,C):ee.push(C)}return ee}}})},S}($),D=function(O){function S(P){var K=O.call(this)||this;return K.commands=typeof P=="string"?S.parse(P):P,K}return f(S,O),S.prototype.encode=function(){return S.encode(this.commands)},S.prototype.getBounds=function(){var P=M.CALCULATE_BOUNDS();return this.transform(P),P},S.prototype.transform=function(P){for(var K=[],q=0,ee=this.commands;q<ee.length;q++){var oe=P(ee[q]);Array.isArray(oe)?K.push.apply(K,oe):K.push(oe)}return this.commands=K,this},S.encode=function(P){return p(P)},S.parse=function(P){var K=new _,q=[];return K.parse(P,q),K.finish(q),q},S.CLOSE_PATH=1,S.MOVE_TO=2,S.HORIZ_LINE_TO=4,S.VERT_LINE_TO=8,S.LINE_TO=16,S.CURVE_TO=32,S.SMOOTH_CURVE_TO=64,S.QUAD_TO=128,S.SMOOTH_QUAD_TO=256,S.ARC=512,S.LINE_COMMANDS=S.LINE_TO|S.HORIZ_LINE_TO|S.VERT_LINE_TO,S.DRAWING_COMMANDS=S.HORIZ_LINE_TO|S.VERT_LINE_TO|S.LINE_TO|S.CURVE_TO|S.SMOOTH_CURVE_TO|S.QUAD_TO|S.SMOOTH_QUAD_TO|S.ARC,S}($),te=((G={})[D.MOVE_TO]=2,G[D.LINE_TO]=2,G[D.HORIZ_LINE_TO]=1,G[D.VERT_LINE_TO]=1,G[D.CLOSE_PATH]=0,G[D.QUAD_TO]=4,G[D.SMOOTH_QUAD_TO]=2,G[D.CURVE_TO]=6,G[D.SMOOTH_CURVE_TO]=4,G[D.ARC]=7,G)},SN6V:function(m,x){var t=Math.ceil,c=Math.floor;m.exports=function(f){var p=+f;return p!==p||p===0?0:(p>0?c:t)(p)}},"ST+I":function(m,x,t){var c=t("aNr2"),f=t("MURR"),p=c("keys");m.exports=function(g){return p[g]||(p[g]=f(g))}},SkNP:function(m,x){m.exports={}},SwuV:function(m,x,t){var c=t("JTf3");m.exports=function(f){return typeof f=="object"?f!==null:c(f)}},TRzv:function(m,x,t){var c=t("WxoH"),f=t("SwuV"),p=t("zFjv");m.exports=function(g,y){if(c(g),f(y)&&y.constructor===g)return y;var j=p.f(g),T=j.resolve;return T(y),j.promise}},Ttl4:function(m,x,t){var c=t("YELS"),f=t("x1+7"),p=t("fKql"),g=t("FlRv");m.exports=function(y,j,T){for(var A=f(j),M=g.f,U=p.f,F=0;F<A.length;F++){var N=A[F];!c(y,N)&&!(T&&c(T,N))&&M(y,N,U(j,N))}}},UCFi:function(m,x){x.f=Object.getOwnPropertySymbols},UQ6y:function(m,x,t){var c=t("S3az"),f=t("Ks5W"),p=t("aLaa"),g=t("SwuV"),y=t("8ODz"),j=t("YELS"),T=t("4gdG"),A=t("ST+I"),M=t("SkNP"),U="Object already initialized",F=f.TypeError,N=f.WeakMap,V,H,G,$=function(S){return G(S)?H(S):V(S,{})},Z=function(S){return function(P){var K;if(!g(P)||(K=H(P)).type!==S)throw F("Incompatible receiver, "+S+" required");return K}};if(c||T.state){var W=T.state||(T.state=new N),_=p(W.get),D=p(W.has),te=p(W.set);V=function(S,P){if(D(W,S))throw new F(U);return P.facade=S,te(W,S,P),P},H=function(S){return _(W,S)||{}},G=function(S){return D(W,S)}}else{var O=A("state");M[O]=!0,V=function(S,P){if(j(S,O))throw new F(U);return P.facade=S,y(S,O,P),P},H=function(S){return j(S,O)?S[O]:{}},G=function(S){return j(S,O)}}m.exports={set:V,get:H,has:G,enforce:$,getterFor:Z}},"WLJ+":function(m,x,t){var c=t("Ks5W"),f=t("YELS"),p=t("JTf3"),g=t("721z"),y=t("ST+I"),j=t("Gywb"),T=y("IE_PROTO"),A=c.Object,M=A.prototype;m.exports=j?A.getPrototypeOf:function(U){var F=g(U);if(f(F,T))return F[T];var N=F.constructor;return p(N)&&F instanceof N?N.prototype:F instanceof A?M:null}},WMbf:function(m,x,t){"use strict";var c=t("m7zg"),f=t("aLaa"),p=t("qzpy"),g=t("HTC/"),y=t("RhGR"),j=t("aNr2"),T=t("XFuk"),A=t("UQ6y").get,M=t("4Qxg"),U=t("c55Z"),F=j("native-string-replace",String.prototype.replace),N=RegExp.prototype.exec,V=N,H=f("".charAt),G=f("".indexOf),$=f("".replace),Z=f("".slice),W=function(){var O=/a/,S=/b*/g;return c(N,O,"a"),c(N,S,"a"),O.lastIndex!==0||S.lastIndex!==0}(),_=y.BROKEN_CARET,D=/()??/.exec("")[1]!==void 0,te=W||D||_||M||U;te&&(V=function(S){var P=this,K=A(P),q=p(S),ee=K.raw,oe,E,w,C,R,z,I;if(ee)return ee.lastIndex=P.lastIndex,oe=c(V,ee,q),P.lastIndex=ee.lastIndex,oe;var B=K.groups,X=_&&P.sticky,k=c(g,P),Y=P.source,J=0,ie=q;if(X&&(k=$(k,"y",""),G(k,"g")===-1&&(k+="g"),ie=Z(q,P.lastIndex),P.lastIndex>0&&(!P.multiline||P.multiline&&H(q,P.lastIndex-1)!==`
`)&&(Y="(?: "+Y+")",ie=" "+ie,J++),E=new RegExp("^(?:"+Y+")",k)),D&&(E=new RegExp("^"+Y+"$(?!\\s)",k)),W&&(w=P.lastIndex),C=c(N,X?E:P,ie),X?C?(C.input=Z(C.input,J),C[0]=Z(C[0],J),C.index=P.lastIndex,P.lastIndex+=C[0].length):P.lastIndex=0:W&&C&&(P.lastIndex=P.global?C.index+C[0].length:w),D&&C&&C.length>1&&c(F,C[0],E,function(){for(R=1;R<arguments.length-2;R++)arguments[R]===void 0&&(C[R]=void 0)}),C&&B)for(C.groups=z=T(null),R=0;R<B.length;R++)I=B[R],z[I[0]]=C[I[1]];return C}),m.exports=V},WOGj:function(m,x){m.exports=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var c={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=c[t]||t;for(var f=[{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)]}}],p=0;p<f.length;p++){var g=f[p].re,y=f[p].process,j=g.exec(t);if(j){var T=y(j);this.r=T[0],this.g=T[1],this.b=T[2],T.length>3&&(this.alpha=T[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 A=this.r.toString(16),M=this.g.toString(16),U=this.b.toString(16);return A.length==1&&(A="0"+A),M.length==1&&(M="0"+M),U.length==1&&(U="0"+U),"#"+A+M+U},this.getHelpXML=function(){for(var A=new Array,M=0;M<f.length;M++)for(var U=f[M].example,F=0;F<U.length;F++)A[A.length]=U[F];for(var N in c)A[A.length]=N;var V=document.createElement("ul");V.setAttribute("id","rgbcolor-examples");for(var M=0;M<A.length;M++)try{var H=document.createElement("li"),G=new RGBColor(A[M]),$=document.createElement("div");$.style.cssText="margin: 3px; border: 1px solid black; background:"+G.toHex()+"; color:"+G.toHex(),$.appendChild(document.createTextNode("test"));var Z=document.createTextNode(" "+A[M]+" -> "+G.toRGB()+" -> "+G.toHex());H.appendChild($),H.appendChild(Z),V.appendChild(H)}catch(_){}return V}}},WONN:function(m,x,t){"use strict";t("Ppro");var c=t("aLaa"),f=t("WrAw"),p=t("WMbf"),g=t("eRwv"),y=t("11yv"),j=t("8ODz"),T=y("species"),A=RegExp.prototype;m.exports=function(M,U,F,N){var V=y(M),H=!g(function(){var W={};return W[V]=function(){return 7},""[M](W)!=7}),G=H&&!g(function(){var W=!1,_=/a/;return M==="split"&&(_={},_.constructor={},_.constructor[T]=function(){return _},_.flags="",_[V]=/./[V]),_.exec=function(){return W=!0,null},_[V](""),!W});if(!H||!G||F){var $=c(/./[V]),Z=U(V,""[M],function(W,_,D,te,O){var S=c(W),P=_.exec;return P===p||P===A.exec?H&&!O?{done:!0,value:$(_,D,te)}:{done:!0,value:S(D,_,te)}:{done:!1}});f(String.prototype,M,Z[0]),f(A,V,Z[1])}N&&j(A[V],"sham",!0)}},WrAw:function(m,x,t){var c=t("Ks5W"),f=t("JTf3"),p=t("YELS"),g=t("8ODz"),y=t("nATg"),j=t("sNJV"),T=t("UQ6y"),A=t("N6FT").CONFIGURABLE,M=T.get,U=T.enforce,F=String(String).split("String");(m.exports=function(N,V,H,G){var $=G?!!G.unsafe:!1,Z=G?!!G.enumerable:!1,W=G?!!G.noTargetGet:!1,_=G&&G.name!==void 0?G.name:V,D;if(f(H)&&(String(_).slice(0,7)==="Symbol("&&(_="["+String(_).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!p(H,"name")||A&&H.name!==_)&&g(H,"name",_),D=U(H),D.source||(D.source=F.join(typeof _=="string"?_:""))),N===c){Z?N[V]=H:y(V,H);return}else $?!W&&N[V]&&(Z=!0):delete N[V];Z?N[V]=H:g(N,V,H)})(Function.prototype,"toString",function(){return f(this)&&M(this).source||j(this)})},WxoH:function(m,x,t){var c=t("Ks5W"),f=t("SwuV"),p=c.String,g=c.TypeError;m.exports=function(y){if(f(y))return y;throw g(p(y)+" is not an object")}},"X/EZ":function(m,x,t){var c=t("11yv"),f=c("iterator"),p=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){p=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch(j){}m.exports=function(j,T){if(!T&&!p)return!1;var A=!1;try{var M={};M[f]=function(){return{next:function(){return{done:A=!0}}}},j(M)}catch(U){}return A}},XFuk:function(m,x,t){var c=t("WxoH"),f=t("oR5W"),p=t("Yzn+"),g=t("SkNP"),y=t("bUA4"),j=t("me6S"),T=t("ST+I"),A=">",M="<",U="prototype",F="script",N=T("IE_PROTO"),V=function(){},H=function(_){return M+F+A+_+M+"/"+F+A},G=function(_){_.write(H("")),_.close();var D=_.parentWindow.Object;return _=null,D},$=function(){var _=j("iframe"),D="java"+F+":",te;return _.style.display="none",y.appendChild(_),_.src=String(D),te=_.contentWindow.document,te.open(),te.write(H("document.F=Object")),te.close(),te.F},Z,W=function(){try{Z=new ActiveXObject("htmlfile")}catch(D){}W=typeof document!="undefined"?document.domain&&Z?G(Z):$():G(Z);for(var _=p.length;_--;)delete W[U][p[_]];return W()};g[N]=!0,m.exports=Object.create||function(D,te){var O;return D!==null?(V[U]=c(D),O=new V,V[U]=null,O[N]=D):O=W(),te===void 0?O:f.f(O,te)}},XTcp:function(m,x,t){var c=t("Ks5W"),f=t("1mOU"),p=t("mcoe"),g=t("JTf3"),y=t("YELS"),j=t("eRwv"),T=t("bUA4"),A=t("0r2v"),M=t("me6S"),U=t("GgKt"),F=t("IGIO"),N=c.setImmediate,V=c.clearImmediate,H=c.process,G=c.Dispatch,$=c.Function,Z=c.MessageChannel,W=c.String,_=0,D={},te="onreadystatechange",O,S,P,K;try{O=c.location}catch(w){}var q=function(w){if(y(D,w)){var C=D[w];delete D[w],C()}},ee=function(w){return function(){q(w)}},oe=function(w){q(w.data)},E=function(w){c.postMessage(W(w),O.protocol+"//"+O.host)};(!N||!V)&&(N=function(C){var R=A(arguments,1);return D[++_]=function(){f(g(C)?C:$(C),void 0,R)},S(_),_},V=function(C){delete D[C]},F?S=function(w){H.nextTick(ee(w))}:G&&G.now?S=function(w){G.now(ee(w))}:Z&&!U?(P=new Z,K=P.port2,P.port1.onmessage=oe,S=p(K.postMessage,K)):c.addEventListener&&g(c.postMessage)&&!c.importScripts&&O&&O.protocol!=="file:"&&!j(E)?(S=E,c.addEventListener("message",oe,!1)):te in M("script")?S=function(w){T.appendChild(M("script"))[te]=function(){T.removeChild(this),q(w)}}:S=function(w){setTimeout(ee(w),0)}),m.exports={set:N,clear:V}},XaNE:function(m,x,t){var c=t("Ks5W"),f=c.TypeError;m.exports=function(p){if(p==null)throw f("Can't call method on "+p);return p}},Xp4B:function(m,x,t){"use strict";t.d(x,"a",function(){return T});function c(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(H){return typeof H}:c=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},c(N)}function f(N,V){if(!(N instanceof V))throw new TypeError("Cannot call a class as a function")}var p=[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],g=[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 y(N,V,H,G){if(typeof N=="string"&&(N=document.getElementById(N)),!N||!("naturalWidth"in N))return;var $=N.naturalWidth,Z=N.naturalHeight;if(typeof V=="string"&&(V=document.getElementById(V)),!V||!("getContext"in V))return;V.style.width=$+"px",V.style.height=Z+"px",V.width=$,V.height=Z;var W=V.getContext("2d");if(W.clearRect(0,0,$,Z),W.drawImage(N,0,0),isNaN(H)||H<1)return;G?T(V,0,0,$,Z,H):M(V,0,0,$,Z,H)}function j(N,V,H,G,$){if(typeof N=="string"&&(N=document.getElementById(N)),!N||c(N)!=="object"||!("getContext"in N))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var Z=N.getContext("2d");try{return Z.getImageData(V,H,G,$)}catch(W){throw new Error("unable to access image data: "+W)}}function T(N,V,H,G,$,Z){if(isNaN(Z)||Z<1)return;Z|=0;var W=j(N,V,H,G,$);W=A(W,V,H,G,$,Z),N.getContext("2d").putImageData(W,V,H)}function A(N,V,H,G,$,Z){var W=N.data,_,D,te,O,S,P,K,q,ee,oe,E,w,C,R,z,I,B,X,k,Y,J,ie,se,re,je=2*Z+1,fe=G-1,ce=$-1,Ee=Z+1,me=Ee*(Ee+1)/2,Me=new F,pe=Me,Te;for(te=1;te<je;te++)pe=pe.next=new F,te===Ee&&(Te=pe);pe.next=Me;var Se=null,Ae=null;K=P=0;var De=p[Z],Ue=g[Z];for(D=0;D<$;D++){for(I=B=X=k=q=ee=oe=E=0,w=Ee*(Y=W[P]),C=Ee*(J=W[P+1]),R=Ee*(ie=W[P+2]),z=Ee*(se=W[P+3]),q+=me*Y,ee+=me*J,oe+=me*ie,E+=me*se,pe=Me,te=0;te<Ee;te++)pe.r=Y,pe.g=J,pe.b=ie,pe.a=se,pe=pe.next;for(te=1;te<Ee;te++)O=P+((fe<te?fe:te)<<2),q+=(pe.r=Y=W[O])*(re=Ee-te),ee+=(pe.g=J=W[O+1])*re,oe+=(pe.b=ie=W[O+2])*re,E+=(pe.a=se=W[O+3])*re,I+=Y,B+=J,X+=ie,k+=se,pe=pe.next;for(Se=Me,Ae=Te,_=0;_<G;_++)W[P+3]=se=E*De>>Ue,se!==0?(se=255/se,W[P]=(q*De>>Ue)*se,W[P+1]=(ee*De>>Ue)*se,W[P+2]=(oe*De>>Ue)*se):W[P]=W[P+1]=W[P+2]=0,q-=w,ee-=C,oe-=R,E-=z,w-=Se.r,C-=Se.g,R-=Se.b,z-=Se.a,O=K+((O=_+Z+1)<fe?O:fe)<<2,I+=Se.r=W[O],B+=Se.g=W[O+1],X+=Se.b=W[O+2],k+=Se.a=W[O+3],q+=I,ee+=B,oe+=X,E+=k,Se=Se.next,w+=Y=Ae.r,C+=J=Ae.g,R+=ie=Ae.b,z+=se=Ae.a,I-=Y,B-=J,X-=ie,k-=se,Ae=Ae.next,P+=4;K+=G}for(_=0;_<G;_++){for(B=X=k=I=ee=oe=E=q=0,P=_<<2,w=Ee*(Y=W[P]),C=Ee*(J=W[P+1]),R=Ee*(ie=W[P+2]),z=Ee*(se=W[P+3]),q+=me*Y,ee+=me*J,oe+=me*ie,E+=me*se,pe=Me,te=0;te<Ee;te++)pe.r=Y,pe.g=J,pe.b=ie,pe.a=se,pe=pe.next;for(S=G,te=1;te<=Z;te++)P=S+_<<2,q+=(pe.r=Y=W[P])*(re=Ee-te),ee+=(pe.g=J=W[P+1])*re,oe+=(pe.b=ie=W[P+2])*re,E+=(pe.a=se=W[P+3])*re,I+=Y,B+=J,X+=ie,k+=se,pe=pe.next,te<ce&&(S+=G);for(P=_,Se=Me,Ae=Te,D=0;D<$;D++)O=P<<2,W[O+3]=se=E*De>>Ue,se>0?(se=255/se,W[O]=(q*De>>Ue)*se,W[O+1]=(ee*De>>Ue)*se,W[O+2]=(oe*De>>Ue)*se):W[O]=W[O+1]=W[O+2]=0,q-=w,ee-=C,oe-=R,E-=z,w-=Se.r,C-=Se.g,R-=Se.b,z-=Se.a,O=_+((O=D+Ee)<ce?O:ce)*G<<2,q+=I+=Se.r=W[O],ee+=B+=Se.g=W[O+1],oe+=X+=Se.b=W[O+2],E+=k+=Se.a=W[O+3],Se=Se.next,w+=Y=Ae.r,C+=J=Ae.g,R+=ie=Ae.b,z+=se=Ae.a,I-=Y,B-=J,X-=ie,k-=se,Ae=Ae.next,P+=G}return N}function M(N,V,H,G,$,Z){if(isNaN(Z)||Z<1)return;Z|=0;var W=j(N,V,H,G,$);W=U(W,V,H,G,$,Z),N.getContext("2d").putImageData(W,V,H)}function U(N,V,H,G,$,Z){var W=N.data,_,D,te,O,S,P,K,q,ee,oe,E,w,C,R,z,I,B,X,k,Y,J=2*Z+1,ie=G-1,se=$-1,re=Z+1,je=re*(re+1)/2,fe=new F,ce=fe,Ee;for(te=1;te<J;te++)ce=ce.next=new F,te===re&&(Ee=ce);ce.next=fe;var me=null,Me=null;K=P=0;var pe=p[Z],Te=g[Z];for(D=0;D<$;D++){for(R=z=I=q=ee=oe=0,E=re*(B=W[P]),w=re*(X=W[P+1]),C=re*(k=W[P+2]),q+=je*B,ee+=je*X,oe+=je*k,ce=fe,te=0;te<re;te++)ce.r=B,ce.g=X,ce.b=k,ce=ce.next;for(te=1;te<re;te++)O=P+((ie<te?ie:te)<<2),q+=(ce.r=B=W[O])*(Y=re-te),ee+=(ce.g=X=W[O+1])*Y,oe+=(ce.b=k=W[O+2])*Y,R+=B,z+=X,I+=k,ce=ce.next;for(me=fe,Me=Ee,_=0;_<G;_++)W[P]=q*pe>>Te,W[P+1]=ee*pe>>Te,W[P+2]=oe*pe>>Te,q-=E,ee-=w,oe-=C,E-=me.r,w-=me.g,C-=me.b,O=K+((O=_+Z+1)<ie?O:ie)<<2,R+=me.r=W[O],z+=me.g=W[O+1],I+=me.b=W[O+2],q+=R,ee+=z,oe+=I,me=me.next,E+=B=Me.r,w+=X=Me.g,C+=k=Me.b,R-=B,z-=X,I-=k,Me=Me.next,P+=4;K+=G}for(_=0;_<G;_++){for(z=I=R=ee=oe=q=0,P=_<<2,E=re*(B=W[P]),w=re*(X=W[P+1]),C=re*(k=W[P+2]),q+=je*B,ee+=je*X,oe+=je*k,ce=fe,te=0;te<re;te++)ce.r=B,ce.g=X,ce.b=k,ce=ce.next;for(S=G,te=1;te<=Z;te++)P=S+_<<2,q+=(ce.r=B=W[P])*(Y=re-te),ee+=(ce.g=X=W[P+1])*Y,oe+=(ce.b=k=W[P+2])*Y,R+=B,z+=X,I+=k,ce=ce.next,te<se&&(S+=G);for(P=_,me=fe,Me=Ee,D=0;D<$;D++)O=P<<2,W[O]=q*pe>>Te,W[O+1]=ee*pe>>Te,W[O+2]=oe*pe>>Te,q-=E,ee-=w,oe-=C,E-=me.r,w-=me.g,C-=me.b,O=_+((O=D+re)<se?O:se)*G<<2,q+=R+=me.r=W[O],ee+=z+=me.g=W[O+1],oe+=I+=me.b=W[O+2],me=me.next,E+=B=Me.r,w+=X=Me.g,C+=k=Me.b,R-=B,z-=X,I-=k,Me=Me.next,P+=G}return N}var F=function N(){f(this,N),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},YELS:function(m,x,t){var c=t("aLaa"),f=t("721z"),p=c({}.hasOwnProperty);m.exports=Object.hasOwn||function(y,j){return p(f(y),j)}},"Yzn+":function(m,x){m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ZpKI:function(m,x,t){var c=t("aLaa"),f=t("YELS"),p=t("vkZI"),g=t("Nybj").indexOf,y=t("SkNP"),j=c([].push);m.exports=function(T,A){var M=p(T),U=0,F=[],N;for(N in M)!f(y,N)&&f(M,N)&&j(F,N);for(;A.length>U;)f(M,N=A[U++])&&(~g(F,N)||j(F,N));return F}},a9Cf:function(m,x,t){var c=t("11yv"),f=c("toStringTag"),p={};p[f]="z",m.exports=String(p)==="[object z]"},aLaa:function(m,x){var t=Function.prototype,c=t.bind,f=t.call,p=c&&c.bind(f,f);m.exports=c?function(g){return g&&p(g)}:function(g){return g&&function(){return f.apply(g,arguments)}}},aNIs:function(m,x,t){var c=t("Ks5W"),f=t("eE3R"),p=c.process,g=c.Deno,y=p&&p.versions||g&&g.version,j=y&&y.v8,T,A;j&&(T=j.split("."),A=T[0]>0&&T[0]<4?1:+(T[0]+T[1])),!A&&f&&(T=f.match(/Edge\/(\d+)/),(!T||T[1]>=74)&&(T=f.match(/Chrome\/(\d+)/),T&&(A=+T[1]))),m.exports=A},aNr2:function(m,x,t){var c=t("jybJ"),f=t("4gdG");(m.exports=function(p,g){return f[p]||(f[p]=g!==void 0?g:{})})("versions",[]).push({version:"3.20.2",mode:c?"pure":"global",copyright:"\xA9 2022 Denis Pushkarev (zloirock.ru)"})},bT0D:function(m,x,t){var c=t("Ks5W"),f=t("RYfq"),p=t("JTf3"),g=t("3Xd8"),y=t("1Sr1"),j=c.Object;m.exports=y?function(T){return typeof T=="symbol"}:function(T){var A=f("Symbol");return p(A)&&g(A.prototype,j(T))}},bUA4:function(m,x,t){var c=t("RYfq");m.exports=c("document","documentElement")},ba8b:function(m,x,t){var c=t("aLaa"),f=c({}.toString),p=c("".slice);m.exports=function(g){return p(f(g),8,-1)}},c3MK:function(m,x,t){var c=t("SN6V"),f=Math.min;m.exports=function(p){return p>0?f(c(p),9007199254740991):0}},c55Z:function(m,x,t){var c=t("eRwv"),f=t("Ks5W"),p=f.RegExp;m.exports=c(function(){var g=p("(?<a>b)","g");return g.exec("b").groups.a!=="b"||"b".replace(g,"$<a>c")!=="bc"})},eE3R:function(m,x,t){var c=t("RYfq");m.exports=c("navigator","userAgent")||""},eRwv:function(m,x){m.exports=function(t){try{return!!t()}catch(c){return!0}}},fKql:function(m,x,t){var c=t("++4Y"),f=t("m7zg"),p=t("5r2E"),g=t("4uGi"),y=t("vkZI"),j=t("GTqx"),T=t("YELS"),A=t("pVCk"),M=Object.getOwnPropertyDescriptor;x.f=c?M:function(F,N){if(F=y(F),N=j(N),A)try{return M(F,N)}catch(V){}if(T(F,N))return g(!f(p.f,F,N),F[N])}},"g8+u":function(m,x,t){var c=t("Ks5W"),f=t("a9Cf"),p=t("JTf3"),g=t("ba8b"),y=t("11yv"),j=y("toStringTag"),T=c.Object,A=g(function(){return arguments}())=="Arguments",M=function(U,F){try{return U[F]}catch(N){}};m.exports=f?g:function(U){var F,N,V;return U===void 0?"Undefined":U===null?"Null":typeof(N=M(F=T(U),j))=="string"?N:A?g(F):(V=g(F))=="Object"&&p(F.callee)?"Arguments":V}},g9jQ:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("Nybj").indexOf,g=t("QELg"),y=f([].indexOf),j=!!y&&1/y([1],1,-0)<0,T=g("indexOf");c({target:"Array",proto:!0,forced:j||!T},{indexOf:function(M){var U=arguments.length>1?arguments[1]:void 0;return j?y(this,M,U)||0:p(this,M,U)}})},gzPo:function(m,x,t){var c=t("Ks5W"),f=t("mcoe"),p=t("fKql").f,g=t("XTcp").set,y=t("GgKt"),j=t("FqHY"),T=t("/pbl"),A=t("IGIO"),M=c.MutationObserver||c.WebKitMutationObserver,U=c.document,F=c.process,N=c.Promise,V=p(c,"queueMicrotask"),H=V&&V.value,G,$,Z,W,_,D,te,O;H||(G=function(){var S,P;for(A&&(S=F.domain)&&S.exit();$;){P=$.fn,$=$.next;try{P()}catch(K){throw $?W():Z=void 0,K}}Z=void 0,S&&S.enter()},!y&&!A&&!T&&M&&U?(_=!0,D=U.createTextNode(""),new M(G).observe(D,{characterData:!0}),W=function(){D.data=_=!_}):!j&&N&&N.resolve?(te=N.resolve(void 0),te.constructor=N,O=f(te.then,te),W=function(){O(G)}):A?W=function(){F.nextTick(G)}:(g=f(g,c),W=function(){g(G)})),m.exports=H||function(S){var P={fn:S,next:void 0};Z&&(Z.next=P),$||($=P,W()),Z=P}},hIaP:function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("8HiI"),g=t("WxoH"),y=t("IL+x"),j=t("ltkU"),T=c.TypeError;m.exports=function(A,M){var U=arguments.length<2?j(A):M;if(p(U))return g(f(U,A));throw T(y(A)+" is not iterable")}},"iBj/":function(m,x,t){var c=t("m7zg"),f=t("WxoH"),p=t("oK8H");m.exports=function(g,y,j){var T,A;f(g);try{if(T=p(g,"return"),!T){if(y==="throw")throw j;return j}T=c(T,g)}catch(M){A=!0,T=M}if(y==="throw")throw j;if(A)throw T;return f(T),j}},iWRt:function(m,x,t){"use strict";var c=t("nCzB"),f=t("aLaa"),p=t("uZ/K"),g=f([].reverse),y=[1,2];c({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return p(this)&&(this.length=this.length),g(this)}})},jgt4:function(m,x,t){"use strict";var c=t("nCzB"),f=t("m7zg"),p=t("jybJ"),g=t("N6FT"),y=t("JTf3"),j=t("3agc"),T=t("WLJ+"),A=t("JHvW"),M=t("ueY1"),U=t("8ODz"),F=t("WrAw"),N=t("11yv"),V=t("AoAp"),H=t("qjFr"),G=g.PROPER,$=g.CONFIGURABLE,Z=H.IteratorPrototype,W=H.BUGGY_SAFARI_ITERATORS,_=N("iterator"),D="keys",te="values",O="entries",S=function(){return this};m.exports=function(P,K,q,ee,oe,E,w){j(q,K,ee);var C=function(se){if(se===oe&&X)return X;if(!W&&se in I)return I[se];switch(se){case D:return function(){return new q(this,se)};case te:return function(){return new q(this,se)};case O:return function(){return new q(this,se)}}return function(){return new q(this)}},R=K+" Iterator",z=!1,I=P.prototype,B=I[_]||I["@@iterator"]||oe&&I[oe],X=!W&&B||C(oe),k=K=="Array"&&I.entries||B,Y,J,ie;if(k&&(Y=T(k.call(new P)),Y!==Object.prototype&&Y.next&&(!p&&T(Y)!==Z&&(A?A(Y,Z):y(Y[_])||F(Y,_,S)),M(Y,R,!0,!0),p&&(V[R]=S))),G&&oe==te&&B&&B.name!==te&&(!p&&$?U(I,"name",te):(z=!0,X=function(){return f(B,this)})),oe)if(J={values:C(te),keys:E?X:C(D),entries:C(O)},w)for(ie in J)(W||z||!(ie in I))&&F(I,ie,J[ie]);else c({target:K,proto:!0,forced:W||z},J);return(!p||w)&&I[_]!==X&&F(I,_,X,{name:oe}),V[K]=X,J}},jybJ:function(m,x){m.exports=!1},lAFk:function(m,x,t){var c=t("Ks5W");m.exports=function(f,p){var g=c.console;g&&g.error&&(arguments.length==1?g.error(f):g.error(f,p))}},ltkU:function(m,x,t){var c=t("g8+u"),f=t("oK8H"),p=t("AoAp"),g=t("11yv"),y=g("iterator");m.exports=function(j){if(j!=null)return f(j,y)||f(j,"@@iterator")||p[c(j)]}},m7zg:function(m,x){var t=Function.prototype.call;m.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},"mGb/":function(m,x,t){var c=t("eRwv"),f=t("JTf3"),p=/#|\.prototype\./,g=function(M,U){var F=j[y(M)];return F==A?!0:F==T?!1:f(U)?c(U):!!U},y=g.normalize=function(M){return String(M).replace(p,".").toLowerCase()},j=g.data={},T=g.NATIVE="N",A=g.POLYFILL="P";m.exports=g},mcoe:function(m,x,t){var c=t("aLaa"),f=t("8HiI"),p=c(c.bind);m.exports=function(g,y){return f(g),y===void 0?g:p?p(g,y):function(){return g.apply(y,arguments)}}},mdxj:function(m,x,t){"use strict";var c=t("nCzB"),f=t("FjAG").left,p=t("QELg"),g=t("aNIs"),y=t("IGIO"),j=p("reduce"),T=!y&&g>79&&g<83;c({target:"Array",proto:!0,forced:!j||T},{reduce:function(M){var U=arguments.length;return f(this,M,U,U>1?arguments[1]:void 0)}})},me6S:function(m,x,t){var c=t("Ks5W"),f=t("SwuV"),p=c.document,g=f(p)&&f(p.createElement);m.exports=function(y){return g?p.createElement(y):{}}},ms20:function(m,x,t){var c=t("Ks5W"),f=t("m7zg"),p=t("SwuV"),g=t("bT0D"),y=t("oK8H"),j=t("2lHc"),T=t("11yv"),A=c.TypeError,M=T("toPrimitive");m.exports=function(U,F){if(!p(U)||g(U))return U;var N=y(U,M),V;if(N){if(F===void 0&&(F="default"),V=f(N,U,F),!p(V)||g(V))return V;throw A("Can't convert object to primitive value")}return F===void 0&&(F="number"),j(U,F)}},n6S8:function(m,x,t){var c=t("SN6V"),f=Math.max,p=Math.min;m.exports=function(g,y){var j=c(g);return j<0?f(j+y,0):p(j,y)}},nATg:function(m,x,t){var c=t("Ks5W"),f=Object.defineProperty;m.exports=function(p,g){try{f(c,p,{value:g,configurable:!0,writable:!0})}catch(y){c[p]=g}return g}},nCzB:function(m,x,t){var c=t("Ks5W"),f=t("fKql").f,p=t("8ODz"),g=t("WrAw"),y=t("nATg"),j=t("Ttl4"),T=t("mGb/");m.exports=function(A,M){var U=A.target,F=A.global,N=A.stat,V,H,G,$,Z,W;if(F?H=c:N?H=c[U]||y(U,{}):H=(c[U]||{}).prototype,H)for(G in M){if(Z=M[G],A.noTargetGet?(W=f(H,G),$=W&&W.value):$=H[G],V=T(F?G:U+(N?".":"#")+G,A.forced),!V&&$!==void 0){if(typeof Z==typeof $)continue;j(Z,$)}(A.sham||$&&$.sham)&&p(Z,"sham",!0),g(H,G,Z,A)}}},noWC:function(m,x){m.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},nvEG:function(m,x,t){var c=t("Ks5W"),f=t("mcoe"),p=t("m7zg"),g=t("WxoH"),y=t("IL+x"),j=t("3n0U"),T=t("tMNq"),A=t("3Xd8"),M=t("hIaP"),U=t("ltkU"),F=t("iBj/"),N=c.TypeError,V=function(G,$){this.stopped=G,this.result=$},H=V.prototype;m.exports=function(G,$,Z){var W=Z&&Z.that,_=!!(Z&&Z.AS_ENTRIES),D=!!(Z&&Z.IS_ITERATOR),te=!!(Z&&Z.INTERRUPTED),O=f($,W),S,P,K,q,ee,oe,E,w=function(R){return S&&F(S,"normal",R),new V(!0,R)},C=function(R){return _?(g(R),te?O(R[0],R[1],w):O(R[0],R[1])):te?O(R,w):O(R)};if(D)S=G;else{if(P=U(G),!P)throw N(y(G)+" is not iterable");if(j(P)){for(K=0,q=T(G);q>K;K++)if(ee=C(G[K]),ee&&A(H,ee))return ee;return new V(!1)}S=M(G,P)}for(oe=S.next;!(E=p(oe,S)).done;){try{ee=C(E.value)}catch(R){F(S,"throw",R)}if(typeof ee=="object"&&ee&&A(H,ee))return ee}return new V(!1)}},oK8H:function(m,x,t){var c=t("8HiI");m.exports=function(f,p){var g=f[p];return g==null?void 0:c(g)}},oR5W:function(m,x,t){var c=t("++4Y"),f=t("FkIU"),p=t("FlRv"),g=t("WxoH"),y=t("vkZI"),j=t("Ai06");x.f=c&&!f?Object.defineProperties:function(A,M){g(A);for(var U=y(M),F=j(M),N=F.length,V=0,H;N>V;)p.f(A,H=F[V++],U[H]);return A}},oauk:function(m,x,t){"use strict";var c=t("GTqx"),f=t("FlRv"),p=t("4uGi");m.exports=function(g,y,j){var T=c(y);T in g?f.f(g,T,p(0,j)):g[T]=j}},p5Ma:function(m,x,t){var c=t("Ks5W"),f=t("aLaa"),p=t("eRwv"),g=t("ba8b"),y=c.Object,j=f("".split);m.exports=p(function(){return!y("z").propertyIsEnumerable(0)})?function(T){return g(T)=="String"?j(T,""):y(T)}:y},pVCk:function(m,x,t){var c=t("++4Y"),f=t("eRwv"),p=t("me6S");m.exports=!c&&!f(function(){return Object.defineProperty(p("div"),"a",{get:function(){return 7}}).a!=7})},"plO+":function(m,x,t){var c=t("aNIs"),f=t("eRwv");m.exports=!!Object.getOwnPropertySymbols&&!f(function(){var p=Symbol();return!String(p)||!(Object(p)instanceof Symbol)||!Symbol.sham&&c&&c<41})},qJvV:function(m,x,t){var c=t("Ks5W"),f=t("ENhe"),p=t("GI0h"),g=t("Lltv"),y=t("8ODz"),j=t("11yv"),T=j("iterator"),A=j("toStringTag"),M=g.values,U=function(N,V){if(N){if(N[T]!==M)try{y(N,T,M)}catch(G){N[T]=M}if(N[A]||y(N,A,V),f[V]){for(var H in g)if(N[H]!==g[H])try{y(N,H,g[H])}catch(G){N[H]=g[H]}}}};for(var F in f)U(c[F]&&c[F].prototype,F);U(p,"DOMTokenList")},qjFr:function(m,x,t){"use strict";var c=t("eRwv"),f=t("JTf3"),p=t("XFuk"),g=t("WLJ+"),y=t("WrAw"),j=t("11yv"),T=t("jybJ"),A=j("iterator"),M=!1,U,F,N;[].keys&&(N=[].keys(),"next"in N?(F=g(g(N)),F!==Object.prototype&&(U=F)):M=!0);var V=U==null||c(function(){var H={};return U[A].call(H)!==H});V?U={}:T&&(U=p(U)),f(U[A])||y(U,A,function(){return this}),m.exports={IteratorPrototype:U,BUGGY_SAFARI_ITERATORS:M}},qzpy:function(m,x,t){var c=t("Ks5W"),f=t("g8+u"),p=c.String;m.exports=function(g){if(f(g)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return p(g)}},sNJV:function(m,x,t){var c=t("aLaa"),f=t("JTf3"),p=t("4gdG"),g=c(Function.toString);f(p.inspectSource)||(p.inspectSource=function(y){return g(y)}),m.exports=p.inspectSource},tMNq:function(m,x,t){var c=t("c3MK");m.exports=function(f){return c(f.length)}},"uZ/K":function(m,x,t){var c=t("ba8b");m.exports=Array.isArray||function(p){return c(p)=="Array"}},ueY1:function(m,x,t){var c=t("FlRv").f,f=t("YELS"),p=t("11yv"),g=p("toStringTag");m.exports=function(y,j,T){y&&!T&&(y=y.prototype),y&&!f(y,g)&&c(y,g,{configurable:!0,value:j})}},uoua:function(m,x,t){var c=t("Ks5W"),f=t("3Xd8"),p=c.TypeError;m.exports=function(g,y){if(f(y,g))return g;throw p("Incorrect invocation")}},vTDQ:function(m,x){m.exports=typeof window=="object"},vkZI:function(m,x,t){var c=t("p5Ma"),f=t("XaNE");m.exports=function(p){return c(f(p))}},vrKp:function(m,x,t){"use strict";var c=t("nCzB"),f=t("jybJ"),p=t("Ks5W"),g=t("RYfq"),y=t("m7zg"),j=t("BDtL"),T=t("WrAw"),A=t("LOfi"),M=t("JHvW"),U=t("ueY1"),F=t("9Bi7"),N=t("8HiI"),V=t("JTf3"),H=t("SwuV"),G=t("uoua"),$=t("sNJV"),Z=t("nvEG"),W=t("X/EZ"),_=t("NudO"),D=t("XTcp").set,te=t("gzPo"),O=t("TRzv"),S=t("lAFk"),P=t("zFjv"),K=t("8xe4"),q=t("zUnQ"),ee=t("UQ6y"),oe=t("mGb/"),E=t("11yv"),w=t("vTDQ"),C=t("IGIO"),R=t("aNIs"),z=E("species"),I="Promise",B=ee.getterFor(I),X=ee.set,k=ee.getterFor(I),Y=j&&j.prototype,J=j,ie=Y,se=p.TypeError,re=p.document,je=p.process,fe=P.f,ce=fe,Ee=!!(re&&re.createEvent&&p.dispatchEvent),me=V(p.PromiseRejectionEvent),Me="unhandledrejection",pe="rejectionhandled",Te=0,Se=1,Ae=2,De=1,Ue=2,Ke=!1,Be,we,Le,Re,Je=oe(I,function(){var ue=$(J),he=ue!==String(J);if(!he&&R===66)return!0;if(f&&!ie.finally)return!0;if(R>=51&&/native code/.test(ue))return!1;var xe=new J(function(Fe){Fe(1)}),Oe=function(Fe){Fe(function(){},function(){})},Pe=xe.constructor={};return Pe[z]=Oe,Ke=xe.then(function(){})instanceof Oe,Ke?!he&&w&&!me:!0}),st=Je||!W(function(ue){J.all(ue).catch(function(){})}),_e=function(ue){var he;return H(ue)&&V(he=ue.then)?he:!1},lt=function(ue,he){var xe=he.value,Oe=he.state==Se,Pe=Oe?ue.ok:ue.fail,Fe=ue.resolve,Ze=ue.reject,$e=ue.domain,Xe,dt,at;try{Pe?(Oe||(he.rejection===Ue&&Lt(he),he.rejection=De),Pe===!0?Xe=xe:($e&&$e.enter(),Xe=Pe(xe),$e&&($e.exit(),at=!0)),Xe===ue.promise?Ze(se("Promise-chain cycle")):(dt=_e(Xe))?y(dt,Xe,Fe,Ze):Fe(Xe)):Ze(xe)}catch(vt){$e&&!at&&$e.exit(),Ze(vt)}},gt=function(ue,he){if(ue.notified)return;ue.notified=!0,te(function(){for(var xe=ue.reactions,Oe;Oe=xe.get();)lt(Oe,ue);ue.notified=!1,he&&!ue.rejection&&wt(ue)})},mt=function(ue,he,xe){var Oe,Pe;Ee?(Oe=re.createEvent("Event"),Oe.promise=he,Oe.reason=xe,Oe.initEvent(ue,!1,!0),p.dispatchEvent(Oe)):Oe={promise:he,reason:xe},!me&&(Pe=p["on"+ue])?Pe(Oe):ue===Me&&S("Unhandled promise rejection",xe)},wt=function(ue){y(D,p,function(){var he=ue.facade,xe=ue.value,Oe=Mt(ue),Pe;if(Oe&&(Pe=K(function(){C?je.emit("unhandledRejection",xe,he):mt(Me,he,xe)}),ue.rejection=C||Mt(ue)?Ue:De,Pe.error))throw Pe.value})},Mt=function(ue){return ue.rejection!==De&&!ue.parent},Lt=function(ue){y(D,p,function(){var he=ue.facade;C?je.emit("rejectionHandled",he):mt(pe,he,ue.value)})},ut=function(ue,he,xe){return function(Oe){ue(he,Oe,xe)}},ct=function(ue,he,xe){if(ue.done)return;ue.done=!0,xe&&(ue=xe),ue.value=he,ue.state=Ae,gt(ue,!0)},rt=function(ue,he,xe){if(ue.done)return;ue.done=!0,xe&&(ue=xe);try{if(ue.facade===he)throw se("Promise can't be resolved itself");var Oe=_e(he);Oe?te(function(){var Pe={done:!1};try{y(Oe,he,ut(rt,Pe,ue),ut(ct,Pe,ue))}catch(Fe){ct(Pe,Fe,ue)}}):(ue.value=he,ue.state=Se,gt(ue,!1))}catch(Pe){ct({done:!1},Pe,ue)}};if(Je&&(J=function(he){G(this,ie),N(he),y(Be,this);var xe=B(this);try{he(ut(rt,xe),ut(ct,xe))}catch(Oe){ct(xe,Oe)}},ie=J.prototype,Be=function(he){X(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new q,rejection:!1,state:Te,value:void 0})},Be.prototype=A(ie,{then:function(he,xe){var Oe=k(this),Pe=fe(_(this,J));return Oe.parent=!0,Pe.ok=V(he)?he:!0,Pe.fail=V(xe)&&xe,Pe.domain=C?je.domain:void 0,Oe.state==Te?Oe.reactions.add(Pe):te(function(){lt(Pe,Oe)}),Pe.promise},catch:function(ue){return this.then(void 0,ue)}}),we=function(){var ue=new Be,he=B(ue);this.promise=ue,this.resolve=ut(rt,he),this.reject=ut(ct,he)},P.f=fe=function(ue){return ue===J||ue===Le?new we(ue):ce(ue)},!f&&V(j)&&Y!==Object.prototype)){Re=Y.then,Ke||(T(Y,"then",function(he,xe){var Oe=this;return new J(function(Pe,Fe){y(Re,Oe,Pe,Fe)}).then(he,xe)},{unsafe:!0}),T(Y,"catch",ie.catch,{unsafe:!0}));try{delete Y.constructor}catch(ue){}M&&M(Y,ie)}c({global:!0,wrap:!0,forced:Je},{Promise:J}),U(J,I,!1,!0),F(I),Le=g(I),c({target:I,stat:!0,forced:Je},{reject:function(he){var xe=fe(this);return y(xe.reject,void 0,he),xe.promise}}),c({target:I,stat:!0,forced:f||Je},{resolve:function(he){return O(f&&this===Le?J:this,he)}}),c({target:I,stat:!0,forced:st},{all:function(he){var xe=this,Oe=fe(xe),Pe=Oe.resolve,Fe=Oe.reject,Ze=K(function(){var $e=N(xe.resolve),Xe=[],dt=0,at=1;Z(he,function(vt){var ge=dt++,Et=!1;at++,y($e,xe,vt).then(function(We){if(Et)return;Et=!0,Xe[ge]=We,--at||Pe(Xe)},Fe)}),--at||Pe(Xe)});return Ze.error&&Fe(Ze.value),Oe.promise},race:function(he){var xe=this,Oe=fe(xe),Pe=Oe.reject,Fe=K(function(){var Ze=N(xe.resolve);Z(he,function($e){y(Ze,xe,$e).then(Oe.resolve,Pe)})});return Fe.error&&Pe(Fe.value),Oe.promise}})},wOD2:function(m,x,t){"use strict";var c=t("nCzB"),f=t("RXj+").trim,p=t("5JCY");c({target:"String",proto:!0,forced:p("trim")},{trim:function(){return f(this)}})},"x1+7":function(m,x,t){var c=t("RYfq"),f=t("aLaa"),p=t("QrM1"),g=t("UCFi"),y=t("WxoH"),j=f([].concat);m.exports=c("Reflect","ownKeys")||function(A){var M=p.f(y(A)),U=g.f;return U?j(M,U(A)):M}},x8x8:function(m,x,t){"use strict";var c=t("1mOU"),f=t("m7zg"),p=t("aLaa"),g=t("WONN"),y=t("eRwv"),j=t("WxoH"),T=t("JTf3"),A=t("SN6V"),M=t("c3MK"),U=t("qzpy"),F=t("XaNE"),N=t("M/+V"),V=t("oK8H"),H=t("Ne/+"),G=t("3fk+"),$=t("11yv"),Z=$("replace"),W=Math.max,_=Math.min,D=p([].concat),te=p([].push),O=p("".indexOf),S=p("".slice),P=function(oe){return oe===void 0?oe:String(oe)},K=function(){return"a".replace(/./,"$0")==="$0"}(),q=function(){return/./[Z]?/./[Z]("a","$0")==="":!1}(),ee=!y(function(){var oe=/./;return oe.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(oe,"$<a>")!=="7"});g("replace",function(oe,E,w){var C=q?"$":"$0";return[function(z,I){var B=F(this),X=z==null?void 0:V(z,Z);return X?f(X,z,B,I):f(E,U(B),z,I)},function(R,z){var I=j(this),B=U(R);if(typeof z=="string"&&O(z,C)===-1&&O(z,"$<")===-1){var X=w(E,I,B,z);if(X.done)return X.value}var k=T(z);k||(z=U(z));var Y=I.global;if(Y){var J=I.unicode;I.lastIndex=0}for(var ie=[];;){var se=G(I,B);if(se===null)break;if(te(ie,se),!Y)break;var re=U(se[0]);re===""&&(I.lastIndex=N(B,M(I.lastIndex),J))}for(var je="",fe=0,ce=0;ce<ie.length;ce++){se=ie[ce];for(var Ee=U(se[0]),me=W(_(A(se.index),B.length),0),Me=[],pe=1;pe<se.length;pe++)te(Me,P(se[pe]));var Te=se.groups;if(k){var Se=D([Ee],Me,me,B);Te!==void 0&&te(Se,Te);var Ae=U(c(z,void 0,Se))}else Ae=H(Ee,B,me,Me,Te,z);me>=fe&&(je+=S(B,fe,me)+Ae,fe=me+Ee.length)}return je+S(B,fe)}]},!ee||!K||q)},yD9w:function(m,x,t){"use strict";var c=t("aLaa"),f=t("N6FT").PROPER,p=t("WrAw"),g=t("WxoH"),y=t("3Xd8"),j=t("qzpy"),T=t("eRwv"),A=t("HTC/"),M="toString",U=RegExp.prototype,F=U[M],N=c(A),V=T(function(){return F.call({source:"a",flags:"b"})!="/a/b"}),H=f&&F.name!=M;(V||H)&&p(RegExp.prototype,M,function(){var $=g(this),Z=j($.source),W=$.flags,_=j(W===void 0&&y(U,$)&&!("flags"in U)?N($):W);return"/"+Z+"/"+_},{unsafe:!0})},yXPU:function(m,x){function t(f,p,g,y,j,T,A){try{var M=f[T](A),U=M.value}catch(F){g(F);return}M.done?p(U):Promise.resolve(U).then(y,j)}function c(f){return function(){var p=this,g=arguments;return new Promise(function(y,j){var T=f.apply(p,g);function A(U){t(T,y,j,A,M,"next",U)}function M(U){t(T,y,j,A,M,"throw",U)}A(void 0)})}}m.exports=c,m.exports.default=m.exports,m.exports.__esModule=!0},ymN0:function(m,x,t){var c=t("aLaa"),f=t("SN6V"),p=t("qzpy"),g=t("XaNE"),y=c("".charAt),j=c("".charCodeAt),T=c("".slice),A=function(M){return function(U,F){var N=p(g(U)),V=f(F),H=N.length,G,$;return V<0||V>=H?M?"":void 0:(G=j(N,V),G<55296||G>56319||V+1===H||($=j(N,V+1))<56320||$>57343?M?y(N,V):G:M?T(N,V,V+2):(G-55296<<10)+($-56320)+65536)}};m.exports={codeAt:A(!1),charAt:A(!0)}},zFjv:function(m,x,t){"use strict";var c=t("8HiI"),f=function(p){var g,y;this.promise=new p(function(j,T){if(g!==void 0||y!==void 0)throw TypeError("Bad Promise constructor");g=j,y=T}),this.resolve=c(g),this.reject=c(y)};m.exports.f=function(p){return new f(p)}},zUnQ:function(m,x){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(c){var f={item:c,next:null};this.head?this.tail.next=f:this.head=f,this.tail=f},get:function(){var c=this.head;if(c)return this.head=c.next,this.tail===c&&(this.tail=null),c.item}},m.exports=t}}]);