@aquera/data-visualizer-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ask-aquera/src/ask-aquera-config.d.ts +182 -0
- package/chunk-4PS3OAOS.js +1 -0
- package/chunk-5CTM6JVQ.js +1 -0
- package/chunk-6B33KNVC.js +13 -0
- package/chunk-6JUHOJCQ.js +5 -0
- package/chunk-6Q3P5YXE.js +2 -0
- package/chunk-7ROJSOMZ.js +1 -0
- package/chunk-ATIVRRY6.js +2 -0
- package/chunk-AYEY6YSX.js +1 -0
- package/chunk-BTDKTIE6.js +2 -0
- package/chunk-CFURBIBO.js +1 -0
- package/chunk-DPG6F2YZ.js +1 -0
- package/chunk-ECNT4X4C.js +8 -0
- package/chunk-F6ZDDRJ7.js +21 -0
- package/chunk-FK6H3RFT.js +1 -0
- package/chunk-FZDVALWH.js +1 -0
- package/chunk-GE5TYRBE.js +18 -0
- package/chunk-GHVB7A27.js +2 -0
- package/chunk-H2YEWK77.js +1 -0
- package/chunk-HIPUXYQH.js +18 -0
- package/chunk-IWMWQ3LG.js +12 -0
- package/chunk-JP5QY5S6.js +2 -0
- package/chunk-JXQ2DURN.js +40813 -0
- package/chunk-LSC4KQ4U.js +1 -0
- package/chunk-MMU63XDX.js +1 -0
- package/chunk-ORMWZQE4.js +1 -0
- package/chunk-P6Z3OD2O.js +26 -0
- package/chunk-QAUTHFGS.js +1 -0
- package/chunk-QDERNBJG.js +12 -0
- package/chunk-RB5CGMJ7.js +1 -0
- package/chunk-REQTBAAZ.js +1 -0
- package/chunk-RLJG3U7S.js +23 -0
- package/chunk-THFIOYOT.js +1 -0
- package/chunk-W25JWAKD.js +1 -0
- package/chunk-W7JUPIHD.js +1 -0
- package/chunk-XEG2ZCTG.js +1 -0
- package/chunk-XRJ2TFI3.js +1 -0
- package/chunk-Y42W4DYB.js +4 -0
- package/chunk-YOMAZ3ZR.js +1 -0
- package/chunk-ZAZ2JO4L.js +1 -0
- package/chunk-ZW5NV4UO.js +1 -0
- package/dashboards/src/dashboards-config.d.ts +138 -0
- package/index.d.ts +49 -0
- package/main.js +1 -0
- package/package.json +27 -0
- package/styles.css +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{a as br}from"./chunk-FK6H3RFT.js";import{e as d,g as Z}from"./chunk-ZW5NV4UO.js";var M=d((Mi,zs)=>{"use strict";var xr=function(i){return i&&i.Math===Math&&i};zs.exports=xr(typeof globalThis=="object"&&globalThis)||xr(typeof window=="object"&&window)||xr(typeof self=="object"&&self)||xr(typeof global=="object"&&global)||xr(typeof Mi=="object"&&Mi)||(function(){return this})()||Function("return this")()});var _=d((LO,$s)=>{"use strict";$s.exports=function(i){try{return!!i()}catch{return!0}}});var ue=d((kO,Gs)=>{"use strict";var Eg=_();Gs.exports=!Eg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Tr=d((BO,Hs)=>{"use strict";var wg=_();Hs.exports=!wg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=d((UO,Ys)=>{"use strict";var Cg=Tr(),ut=Function.prototype.call;Ys.exports=Cg?ut.bind(ut):function(){return ut.apply(ut,arguments)}});var Ks=d(Qs=>{"use strict";var Xs={}.propertyIsEnumerable,Ws=Object.getOwnPropertyDescriptor,qg=Ws&&!Xs.call({1:2},1);Qs.f=qg?function(e){var r=Ws(this,e);return!!r&&r.enumerable}:Xs});var lt=d((FO,Zs)=>{"use strict";Zs.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var D=d((zO,ro)=>{"use strict";var Js=Tr(),eo=Function.prototype,Vi=eo.call,Ag=Js&&eo.bind.bind(Vi,Vi);ro.exports=Js?Ag:function(i){return function(){return Vi.apply(i,arguments)}}});var Ae=d(($O,io)=>{"use strict";var to=D(),Pg=to({}.toString),Rg=to("".slice);io.exports=function(i){return Rg(Pg(i),8,-1)}});var Di=d((GO,ao)=>{"use strict";var Ng=D(),Ig=_(),Mg=Ae(),_i=Object,Vg=Ng("".split);ao.exports=Ig(function(){return!_i("z").propertyIsEnumerable(0)})?function(i){return Mg(i)==="String"?Vg(i,""):_i(i)}:_i});var Or=d((HO,no)=>{"use strict";no.exports=function(i){return i==null}});var le=d((YO,so)=>{"use strict";var _g=Or(),Dg=TypeError;so.exports=function(i){if(_g(i))throw new Dg("Can't call method on "+i);return i}});var Qe=d((XO,oo)=>{"use strict";var Lg=Di(),kg=le();oo.exports=function(i){return Lg(kg(i))}});var k=d((WO,uo)=>{"use strict";var Li=typeof document=="object"&&document.all;uo.exports=typeof Li>"u"&&Li!==void 0?function(i){return typeof i=="function"||i===Li}:function(i){return typeof i=="function"}});var te=d((QO,lo)=>{"use strict";var Bg=k();lo.exports=function(i){return typeof i=="object"?i!==null:Bg(i)}});var Pe=d((KO,ho)=>{"use strict";var ki=M(),Ug=k(),jg=function(i){return Ug(i)?i:void 0};ho.exports=function(i,e){return arguments.length<2?jg(ki[i]):ki[i]&&ki[i][e]}});var Sr=d((ZO,co)=>{"use strict";var Fg=D();co.exports=Fg({}.isPrototypeOf)});var Ke=d((JO,go)=>{"use strict";var zg=M(),fo=zg.navigator,vo=fo&&fo.userAgent;go.exports=vo?String(vo):""});var ct=d((eS,To)=>{"use strict";var xo=M(),Bi=Ke(),po=xo.process,yo=xo.Deno,mo=po&&po.versions||yo&&yo.version,bo=mo&&mo.v8,fe,ht;bo&&(fe=bo.split("."),ht=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ht&&Bi&&(fe=Bi.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=Bi.match(/Chrome\/(\d+)/),fe&&(ht=+fe[1])));To.exports=ht});var Ui=d((rS,So)=>{"use strict";var Oo=ct(),$g=_(),Gg=M(),Hg=Gg.String;So.exports=!!Object.getOwnPropertySymbols&&!$g(function(){var i=Symbol("symbol detection");return!Hg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Oo&&Oo<41})});var ji=d((tS,Eo)=>{"use strict";var Yg=Ui();Eo.exports=Yg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Fi=d((iS,wo)=>{"use strict";var Xg=Pe(),Wg=k(),Qg=Sr(),Kg=ji(),Zg=Object;wo.exports=Kg?function(i){return typeof i=="symbol"}:function(i){var e=Xg("Symbol");return Wg(e)&&Qg(e.prototype,Zg(i))}});var Er=d((aS,Co)=>{"use strict";var Jg=String;Co.exports=function(i){try{return Jg(i)}catch{return"Object"}}});var be=d((nS,qo)=>{"use strict";var ed=k(),rd=Er(),td=TypeError;qo.exports=function(i){if(ed(i))return i;throw new td(rd(i)+" is not a function")}});var ke=d((sS,Ao)=>{"use strict";var id=be(),ad=Or();Ao.exports=function(i,e){var r=i[e];return ad(r)?void 0:id(r)}});var Ro=d((oS,Po)=>{"use strict";var zi=H(),$i=k(),Gi=te(),nd=TypeError;Po.exports=function(i,e){var r,t;if(e==="string"&&$i(r=i.toString)&&!Gi(t=zi(r,i))||$i(r=i.valueOf)&&!Gi(t=zi(r,i))||e!=="string"&&$i(r=i.toString)&&!Gi(t=zi(r,i)))return t;throw new nd("Can't convert object to primitive value")}});var ve=d((uS,No)=>{"use strict";No.exports=!1});var ft=d((lS,Mo)=>{"use strict";var Io=M(),sd=Object.defineProperty;Mo.exports=function(i,e){try{sd(Io,i,{value:e,configurable:!0,writable:!0})}catch{Io[i]=e}return e}});var vt=d((hS,Do)=>{"use strict";var od=ve(),ud=M(),ld=ft(),Vo="__core-js_shared__",_o=Do.exports=ud[Vo]||ld(Vo,{});(_o.versions||(_o.versions=[])).push({version:"3.49.0",mode:od?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var gt=d((cS,ko)=>{"use strict";var Lo=vt();ko.exports=function(i,e){return Lo[i]||(Lo[i]=e||{})}});var wr=d((fS,Bo)=>{"use strict";var hd=le(),cd=Object;Bo.exports=function(i){return cd(hd(i))}});var he=d((vS,Uo)=>{"use strict";var fd=D(),vd=wr(),gd=fd({}.hasOwnProperty);Uo.exports=Object.hasOwn||function(e,r){return gd(vd(e),r)}});var Hi=d((gS,jo)=>{"use strict";var dd=D(),pd=0,yd=Math.random(),md=dd(1.1.toString);jo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+md(++pd+yd,36)}});var z=d((dS,zo)=>{"use strict";var bd=M(),xd=gt(),Fo=he(),Td=Hi(),Od=Ui(),Sd=ji(),Ze=bd.Symbol,Yi=xd("wks"),Ed=Sd?Ze.for||Ze:Ze&&Ze.withoutSetter||Td;zo.exports=function(i){return Fo(Yi,i)||(Yi[i]=Od&&Fo(Ze,i)?Ze[i]:Ed("Symbol."+i)),Yi[i]}});var Yo=d((pS,Ho)=>{"use strict";var wd=H(),$o=te(),Go=Fi(),Cd=ke(),qd=Ro(),Ad=z(),Pd=TypeError,Rd=Ad("toPrimitive");Ho.exports=function(i,e){if(!$o(i)||Go(i))return i;var r=Cd(i,Rd),t;if(r){if(e===void 0&&(e="default"),t=wd(r,i,e),!$o(t)||Go(t))return t;throw new Pd("Can't convert object to primitive value")}return e===void 0&&(e="number"),qd(i,e)}});var Xi=d((yS,Xo)=>{"use strict";var Nd=Yo(),Id=Fi();Xo.exports=function(i){var e=Nd(i,"string");return Id(e)?e:e+""}});var Cr=d((mS,Qo)=>{"use strict";var Md=M(),Wo=te(),Wi=Md.document,Vd=Wo(Wi)&&Wo(Wi.createElement);Qo.exports=function(i){return Vd?Wi.createElement(i):{}}});var Qi=d((bS,Ko)=>{"use strict";var _d=ue(),Dd=_(),Ld=Cr();Ko.exports=!_d&&!Dd(function(){return Object.defineProperty(Ld("div"),"a",{get:function(){return 7}}).a!==7})});var qr=d(Jo=>{"use strict";var kd=ue(),Bd=H(),Ud=Ks(),jd=lt(),Fd=Qe(),zd=Xi(),$d=he(),Gd=Qi(),Zo=Object.getOwnPropertyDescriptor;Jo.f=kd?Zo:function(e,r){if(e=Fd(e),r=zd(r),Gd)try{return Zo(e,r)}catch{}if($d(e,r))return jd(!Bd(Ud.f,e,r),e[r])}});var Ki=d((TS,eu)=>{"use strict";var Hd=ue(),Yd=_();eu.exports=Hd&&Yd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=d((OS,ru)=>{"use strict";var Xd=te(),Wd=String,Qd=TypeError;ru.exports=function(i){if(Xd(i))return i;throw new Qd(Wd(i)+" is not an object")}});var Te=d(iu=>{"use strict";var Kd=ue(),Zd=Qi(),Jd=Ki(),dt=J(),tu=Xi(),ep=TypeError,Zi=Object.defineProperty,rp=Object.getOwnPropertyDescriptor,Ji="enumerable",ea="configurable",ra="writable";iu.f=Kd?Jd?function(e,r,t){if(dt(e),r=tu(r),dt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&ra in t&&!t[ra]){var a=rp(e,r);a&&a[ra]&&(e[r]=t.value,t={configurable:ea in t?t[ea]:a[ea],enumerable:Ji in t?t[Ji]:a[Ji],writable:!1})}return Zi(e,r,t)}:Zi:function(e,r,t){if(dt(e),r=tu(r),dt(t),Zd)try{return Zi(e,r,t)}catch{}if("get"in t||"set"in t)throw new ep("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var Je=d((ES,au)=>{"use strict";var tp=ue(),ip=Te(),ap=lt();au.exports=tp?function(i,e,r){return ip.f(i,e,ap(1,r))}:function(i,e,r){return i[e]=r,i}});var Ar=d((wS,su)=>{"use strict";var ta=ue(),np=he(),nu=Function.prototype,sp=ta&&Object.getOwnPropertyDescriptor,ia=np(nu,"name"),op=ia&&function(){}.name==="something",up=ia&&(!ta||ta&&sp(nu,"name").configurable);su.exports={EXISTS:ia,PROPER:op,CONFIGURABLE:up}});var pt=d((CS,ou)=>{"use strict";var lp=D(),hp=k(),aa=vt(),cp=lp(Function.toString);hp(aa.inspectSource)||(aa.inspectSource=function(i){return cp(i)});ou.exports=aa.inspectSource});var hu=d((qS,lu)=>{"use strict";var fp=M(),vp=k(),uu=fp.WeakMap;lu.exports=vp(uu)&&/native code/.test(String(uu))});var yt=d((AS,fu)=>{"use strict";var gp=gt(),dp=Hi(),cu=gp("keys");fu.exports=function(i){return cu[i]||(cu[i]=dp(i))}});var mt=d((PS,vu)=>{"use strict";vu.exports={}});var Rr=d((RS,pu)=>{"use strict";var pp=hu(),du=M(),yp=te(),mp=Je(),na=he(),sa=vt(),bp=yt(),xp=mt(),gu="Object already initialized",oa=du.TypeError,Tp=du.WeakMap,bt,Pr,xt,Op=function(i){return xt(i)?Pr(i):bt(i,{})},Sp=function(i){return function(e){var r;if(!yp(e)||(r=Pr(e)).type!==i)throw new oa("Incompatible receiver, "+i+" required");return r}};pp||sa.state?(ge=sa.state||(sa.state=new Tp),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,bt=function(i,e){if(ge.has(i))throw new oa(gu);return e.facade=i,ge.set(i,e),e},Pr=function(i){return ge.get(i)||{}},xt=function(i){return ge.has(i)}):(Be=bp("state"),xp[Be]=!0,bt=function(i,e){if(na(i,Be))throw new oa(gu);return e.facade=i,mp(i,Be,e),e},Pr=function(i){return na(i,Be)?i[Be]:{}},xt=function(i){return na(i,Be)});var ge,Be;pu.exports={set:bt,get:Pr,has:xt,enforce:Op,getterFor:Sp}});var ha=d((NS,bu)=>{"use strict";var la=D(),Ep=_(),wp=k(),Tt=he(),ua=ue(),Cp=Ar().CONFIGURABLE,qp=pt(),mu=Rr(),Ap=mu.enforce,Pp=mu.get,yu=String,Ot=Object.defineProperty,Rp=la("".slice),Np=la("".replace),Ip=la([].join),Mp=ua&&!Ep(function(){return Ot(function(){},"length",{value:8}).length!==8}),Vp=String(String).split("String"),_p=bu.exports=function(i,e,r){Rp(yu(e),0,7)==="Symbol("&&(e="["+Np(yu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Tt(i,"name")||Cp&&i.name!==e)&&(ua?Ot(i,"name",{value:e,configurable:!0}):i.name=e),Mp&&r&&Tt(r,"arity")&&i.length!==r.arity&&Ot(i,"length",{value:r.arity});try{r&&Tt(r,"constructor")&&r.constructor?ua&&Ot(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Tt(t,"source")||(t.source=Ip(Vp,typeof e=="string"?e:"")),i};Function.prototype.toString=_p(function(){return wp(this)&&Pp(this).source||qp(this)},"toString")});var Re=d((IS,xu)=>{"use strict";var Dp=k(),Lp=Te(),kp=ha(),Bp=ft();xu.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Dp(r)&&kp(r,n,t),t.global)a?i[e]=r:Bp(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:Lp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Ou=d((MS,Tu)=>{"use strict";var Up=Math.ceil,jp=Math.floor;Tu.exports=Math.trunc||function(e){var r=+e;return(r>0?jp:Up)(r)}});var Nr=d((VS,Su)=>{"use strict";var Fp=Ou();Su.exports=function(i){var e=+i;return e!==e||e===0?0:Fp(e)}});var wu=d((_S,Eu)=>{"use strict";var zp=Nr(),$p=Math.max,Gp=Math.min;Eu.exports=function(i,e){var r=zp(i);return r<0?$p(r+e,0):Gp(r,e)}});var Ue=d((DS,Cu)=>{"use strict";var Hp=Nr(),Yp=Math.min;Cu.exports=function(i){var e=Hp(i);return e>0?Yp(e,9007199254740991):0}});var St=d((LS,qu)=>{"use strict";var Xp=Ue();qu.exports=function(i){return Xp(i.length)}});var ca=d((kS,Pu)=>{"use strict";var Wp=Qe(),Qp=wu(),Kp=St(),Au=function(i){return function(e,r,t){var a=Wp(e),n=Kp(a);if(n===0)return!i&&-1;var o=Qp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Pu.exports={includes:Au(!0),indexOf:Au(!1)}});var va=d((BS,Nu)=>{"use strict";var Zp=D(),fa=he(),Jp=Qe(),ey=ca().indexOf,ry=mt(),Ru=Zp([].push);Nu.exports=function(i,e){var r=Jp(i),t=0,a=[],n;for(n in r)!fa(ry,n)&&fa(r,n)&&Ru(a,n);for(;e.length>t;)fa(r,n=e[t++])&&(~ey(a,n)||Ru(a,n));return a}});var Et=d((US,Iu)=>{"use strict";Iu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Vu=d(Mu=>{"use strict";var ty=va(),iy=Et(),ay=iy.concat("length","prototype");Mu.f=Object.getOwnPropertyNames||function(e){return ty(e,ay)}});var Du=d(_u=>{"use strict";_u.f=Object.getOwnPropertySymbols});var ku=d((zS,Lu)=>{"use strict";var ny=Pe(),sy=D(),oy=Vu(),uy=Du(),ly=J(),hy=sy([].concat);Lu.exports=ny("Reflect","ownKeys")||function(e){var r=oy.f(ly(e)),t=uy.f;return t?hy(r,t(e)):r}});var ju=d(($S,Uu)=>{"use strict";var Bu=he(),cy=ku(),fy=qr(),vy=Te();Uu.exports=function(i,e,r){for(var t=cy(e),a=vy.f,n=fy.f,o=0;o<t.length;o++){var s=t[o];!Bu(i,s)&&!(r&&Bu(r,s))&&a(i,s,n(e,s))}}});var ga=d((GS,Fu)=>{"use strict";var gy=_(),dy=k(),py=/#|\.prototype\./,Ir=function(i,e){var r=my[yy(i)];return r===xy?!0:r===by?!1:dy(e)?gy(e):!!e},yy=Ir.normalize=function(i){return String(i).replace(py,".").toLowerCase()},my=Ir.data={},by=Ir.NATIVE="N",xy=Ir.POLYFILL="P";Fu.exports=Ir});var ee=d((HS,zu)=>{"use strict";var wt=M(),Ty=qr().f,Oy=Je(),Sy=Re(),Ey=ft(),wy=ju(),Cy=ga();zu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=wt:a?o=wt[r]||Ey(r,{}):o=wt[r]&&wt[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Ty(o,s),u=h&&h.value):u=o[s],n=Cy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;wy(l,u)}(i.sham||u&&u.sham)&&Oy(l,"sham",!0),Sy(o,s,l,i)}}});var da=d((YS,$u)=>{"use strict";var Mr=M(),qy=Ke(),Ay=Ae(),Ct=function(i){return qy.slice(0,i.length)===i};$u.exports=(function(){return Ct("Bun/")?"BUN":Ct("Cloudflare-Workers")?"CLOUDFLARE":Ct("Deno/")?"DENO":Ct("Node.js/")?"NODE":Mr.Bun&&typeof Bun.version=="string"?"BUN":Mr.Deno&&typeof Deno.version=="object"?"DENO":Ay(Mr.process)==="process"?"NODE":Mr.window&&Mr.document?"BROWSER":"REST"})()});var Vr=d((XS,Gu)=>{"use strict";var Py=da();Gu.exports=Py==="NODE"});var Yu=d((WS,Hu)=>{"use strict";var Ry=M();Hu.exports=Ry});var Wu=d((QS,Xu)=>{"use strict";var Ny=D(),Iy=be();Xu.exports=function(i,e,r){try{return Ny(Iy(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ku=d((KS,Qu)=>{"use strict";var My=te();Qu.exports=function(i){return My(i)||i===null}});var Ju=d((ZS,Zu)=>{"use strict";var Vy=Ku(),_y=String,Dy=TypeError;Zu.exports=function(i){if(Vy(i))return i;throw new Dy("Can't set "+_y(i)+" as a prototype")}});var pa=d((JS,el)=>{"use strict";var Ly=Wu(),ky=te(),By=le(),Uy=Ju();el.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,e={},r;try{r=Ly(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return By(a),Uy(n),ky(a)&&(i?r(a,n):a.__proto__=n),a}})():void 0)});var _r=d((eE,tl)=>{"use strict";var jy=Te().f,Fy=he(),zy=z(),rl=zy("toStringTag");tl.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!Fy(i,rl)&&jy(i,rl,{configurable:!0,value:e})}});var nl=d((rE,al)=>{"use strict";var il=ha(),$y=Te();al.exports=function(i,e,r){return r.get&&il(r.get,e,{getter:!0}),r.set&&il(r.set,e,{setter:!0}),$y.f(i,e,r)}});var ul=d((tE,ol)=>{"use strict";var Gy=Pe(),Hy=nl(),Yy=z(),Xy=ue(),sl=Yy("species");ol.exports=function(i){var e=Gy(i);Xy&&e&&!e[sl]&&Hy(e,sl,{configurable:!0,get:function(){return this}})}});var hl=d((iE,ll)=>{"use strict";var Wy=Sr(),Qy=TypeError;ll.exports=function(i,e){if(Wy(e,i))return i;throw new Qy("Incorrect invocation")}});var vl=d((aE,fl)=>{"use strict";var Ky=z(),Zy=Ky("toStringTag"),cl={};cl[Zy]="z";fl.exports=String(cl)==="[object z]"});var At=d((nE,gl)=>{"use strict";var Jy=vl(),e0=k(),qt=Ae(),r0=z(),t0=r0("toStringTag"),i0=Object,a0=qt((function(){return arguments})())==="Arguments",n0=function(i,e){try{return i[e]}catch{}};gl.exports=Jy?qt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=n0(e=i0(i),t0))=="string"?r:a0?qt(e):(t=qt(e))==="Object"&&e0(e.callee)?"Arguments":t}});var xl=d((sE,bl)=>{"use strict";var s0=D(),o0=_(),dl=k(),u0=At(),l0=Pe(),h0=pt(),pl=function(){},yl=l0("Reflect","construct"),ya=/^\s*(?:class|function)\b/,c0=s0(ya.exec),f0=!ya.test(pl),Dr=function(e){if(!dl(e))return!1;try{return yl(pl,[],e),!0}catch{return!1}},ml=function(e){if(!dl(e))return!1;switch(u0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f0||!!c0(ya,h0(e))}catch{return!0}};ml.sham=!0;bl.exports=!yl||o0(function(){var i;return Dr(Dr.call)||!Dr(Object)||!Dr(function(){i=!0})||i})?ml:Dr});var Ol=d((oE,Tl)=>{"use strict";var v0=xl(),g0=Er(),d0=TypeError;Tl.exports=function(i){if(v0(i))return i;throw new d0(g0(i)+" is not a constructor")}});var ma=d((uE,El)=>{"use strict";var Sl=J(),p0=Ol(),y0=Or(),m0=z(),b0=m0("species");El.exports=function(i,e){var r=Sl(i).constructor,t;return r===void 0||y0(t=Sl(r)[b0])?e:p0(t)}});var ba=d((lE,Al)=>{"use strict";var x0=Tr(),ql=Function.prototype,wl=ql.apply,Cl=ql.call;Al.exports=typeof Reflect=="object"&&Reflect.apply||(x0?Cl.bind(wl):function(){return Cl.apply(wl,arguments)})});var Lr=d((hE,Pl)=>{"use strict";var T0=Ae(),O0=D();Pl.exports=function(i){if(T0(i)==="Function")return O0(i)}});var Pt=d((cE,Nl)=>{"use strict";var Rl=Lr(),S0=be(),E0=Tr(),w0=Rl(Rl.bind);Nl.exports=function(i,e){return S0(i),e===void 0?i:E0?w0(i,e):function(){return i.apply(e,arguments)}}});var xa=d((fE,Il)=>{"use strict";var C0=Pe();Il.exports=C0("document","documentElement")});var Vl=d((vE,Ml)=>{"use strict";var q0=D();Ml.exports=q0([].slice)});var Dl=d((gE,_l)=>{"use strict";var A0=TypeError;_l.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ta=d((dE,kl)=>{"use strict";var Ll=Ke();kl.exports=/ipad|iphone|ipod/i.test(Ll)&&/applewebkit/i.test(Ll)});var Ra=d((pE,Yl)=>{"use strict";var ne=M(),P0=ba(),R0=Pt(),Bl=k(),N0=he(),Hl=_(),Ul=xa(),I0=Vl(),jl=Cr(),M0=Dl(),V0=Ta(),_0=Vr(),qa=ne.setImmediate,Aa=ne.clearImmediate,D0=ne.process,Oa=ne.Dispatch,L0=ne.Function,Fl=ne.MessageChannel,k0=ne.String,Sa=0,kr={},zl="onreadystatechange",Br,je,Ea,wa;Hl(function(){Br=ne.location});var Pa=function(i){if(N0(kr,i)){var e=kr[i];delete kr[i],e()}},Ca=function(i){return function(){Pa(i)}},$l=function(i){Pa(i.data)},Gl=function(i){ne.postMessage(k0(i),Br.protocol+"//"+Br.host)};(!qa||!Aa)&&(qa=function(e){M0(arguments.length,1);var r=Bl(e)?e:L0(e),t=I0(arguments,1);return kr[++Sa]=function(){P0(r,void 0,t)},je(Sa),Sa},Aa=function(e){delete kr[e]},_0?je=function(i){D0.nextTick(Ca(i))}:Oa&&Oa.now?je=function(i){Oa.now(Ca(i))}:Fl&&!V0?(Ea=new Fl,wa=Ea.port2,Ea.port1.onmessage=$l,je=R0(wa.postMessage,wa)):ne.addEventListener&&Bl(ne.postMessage)&&!ne.importScripts&&Br&&Br.protocol!=="file:"&&!Hl(Gl)?(je=Gl,ne.addEventListener("message",$l,!1)):zl in jl("script")?je=function(i){Ul.appendChild(jl("script"))[zl]=function(){Ul.removeChild(this),Pa(i)}}:je=function(i){setTimeout(Ca(i),0)});Yl.exports={set:qa,clear:Aa}});var Ql=d((yE,Wl)=>{"use strict";var Xl=M(),B0=ue(),U0=Object.getOwnPropertyDescriptor;Wl.exports=function(i){if(!B0)return Xl[i];var e=U0(Xl,i);return e&&e.value}});var Na=d((mE,Zl)=>{"use strict";var Kl=function(){this.head=null,this.tail=null};Kl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Zl.exports=Kl});var eh=d((bE,Jl)=>{"use strict";var j0=Ke();Jl.exports=/ipad|iphone|ipod/i.test(j0)&&typeof Pebble<"u"});var th=d((xE,rh)=>{"use strict";var F0=Ke();rh.exports=/web0s(?!.*chrome)/i.test(F0)});var lh=d((TE,uh)=>{"use strict";var rr=M(),z0=Ql(),ih=Pt(),Ia=Ra().set,$0=Na(),G0=Ta(),H0=eh(),Y0=th(),Ma=Vr(),ah=rr.MutationObserver||rr.WebKitMutationObserver,nh=rr.document,sh=rr.process,Rt=rr.Promise,Da=z0("queueMicrotask"),er,Va,_a,Nt,oh;Da||(Ur=new $0,jr=function(){var i,e;for(Ma&&(i=sh.domain)&&i.exit();e=Ur.get();)try{e()}catch(r){throw Ur.head&&er(),r}i&&i.enter()},!G0&&!Ma&&!Y0&&ah&&nh?(Va=!0,_a=nh.createTextNode(""),new ah(jr).observe(_a,{characterData:!0}),er=function(){_a.data=Va=!Va}):!H0&&Rt&&Rt.resolve?(Nt=Rt.resolve(void 0),Nt.constructor=Rt,oh=ih(Nt.then,Nt),er=function(){oh(jr)}):Ma?er=function(){sh.nextTick(jr)}:(Ia=ih(Ia,rr),er=function(){Ia(jr)}),Da=function(i){Ur.head||er(),Ur.add(i)});var Ur,jr;uh.exports=Da});var ch=d((OE,hh)=>{"use strict";hh.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var It=d((SE,fh)=>{"use strict";fh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var tr=d((EE,vh)=>{"use strict";var X0=M();vh.exports=X0.Promise});var ir=d((wE,yh)=>{"use strict";var W0=M(),Fr=tr(),Q0=k(),K0=ga(),Z0=pt(),J0=z(),gh=da(),em=ve(),La=ct(),dh=Fr&&Fr.prototype,rm=J0("species"),ka=!1,ph=Q0(W0.PromiseRejectionEvent),tm=K0("Promise",function(){var i=Z0(Fr),e=i!==String(Fr);if(!e&&La===66||em&&!(dh.catch&&dh.finally))return!0;if(!La||La<51||!/native code/.test(i)){var r=new Fr(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[rm]=t,ka=r.then(function(){})instanceof t,!ka)return!0}return!e&&(gh==="BROWSER"||gh==="DENO")&&!ph});yh.exports={CONSTRUCTOR:tm,REJECTION_EVENT:ph,SUBCLASSING:ka}});var ar=d((CE,bh)=>{"use strict";var mh=be(),im=TypeError,am=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new im("Bad Promise constructor");e=t,r=a}),this.resolve=mh(e),this.reject=mh(r)};bh.exports.f=function(i){return new am(i)}});var Bh=d(()=>{"use strict";var nm=ee(),sm=ve(),Dt=Vr(),Ne=M(),om=Yu(),ur=H(),xh=Re(),Th=pa(),um=_r(),lm=ul(),hm=be(),_t=k(),cm=te(),fm=hl(),vm=ma(),Ch=Ra().set,za=lh(),gm=ch(),dm=It(),pm=Na(),qh=Rr(),Lt=tr(),$a=ir(),Ah=ar(),kt="Promise",Ph=$a.CONSTRUCTOR,ym=$a.REJECTION_EVENT,mm=$a.SUBCLASSING,Ba=qh.getterFor(kt),bm=qh.set,nr=Lt&&Lt.prototype,Fe=Lt,Mt=nr,Rh=Ne.TypeError,Ua=Ne.document,Ga=Ne.process,ja=Ah.f,xm=ja,Tm=!!(Ua&&Ua.createEvent&&Ne.dispatchEvent),Nh="unhandledrejection",Om="rejectionhandled",Oh=0,Ih=1,Sm=2,Ha=1,Mh=2,Vt,Sh,Vh,Eh,_h=function(i){var e;return cm(i)&&_t(e=i.then)?e:!1},Dh=function(i,e){var r=e.value,t=e.state===Ih,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Mh&&wm(e),e.rejection=Ha),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Rh("Promise-chain cycle")):(l=_h(u))?ur(l,u,n,o):n(u)):o(r)}catch(c){s&&!h&&s.exit(),o(c)}},Lh=function(i,e){i.notified||(i.notified=!0,za(function(){for(var r=i.reactions,t;t=r.get();)Dh(t,i);i.notified=!1,e&&!i.rejection&&Em(i)}))},kh=function(i,e,r){var t,a;Tm?(t=Ua.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ne.dispatchEvent(t)):t={promise:e,reason:r},!ym&&(a=Ne["on"+i])?a(t):i===Nh&&gm("Unhandled promise rejection",r)},Em=function(i){ur(Ch,Ne,function(){var e=i.facade,r=i.value,t=wh(i),a;if(t&&(a=dm(function(){Dt?Ga.emit("unhandledRejection",r,e):kh(Nh,e,r)}),i.rejection=Dt||wh(i)?Mh:Ha,a.error))throw a.value})},wh=function(i){return i.rejection!==Ha&&!i.parent},wm=function(i){ur(Ch,Ne,function(){var e=i.facade;Dt?Ga.emit("rejectionHandled",e):kh(Om,e,i.value)})},sr=function(i,e,r){return function(t){i(e,t,r)}},or=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=Sm,Lh(i,!0))},Fa=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Rh("Promise can't be resolved itself");var t=_h(e);t?za(function(){var a={done:!1};try{ur(t,e,sr(Fa,a,i),sr(or,a,i))}catch(n){or(a,n,i)}}):(i.value=e,i.state=Ih,Lh(i,!1))}catch(a){or({done:!1},a,i)}}};if(Ph&&(Fe=function(e){fm(this,Mt),hm(e),ur(Vt,this);var r=Ba(this);try{e(sr(Fa,r),sr(or,r))}catch(t){or(r,t)}},Mt=Fe.prototype,Vt=function(e){bm(this,{type:kt,done:!1,notified:!1,parent:!1,reactions:new pm,rejection:!1,state:Oh,value:null})},Vt.prototype=xh(Mt,"then",function(e,r){var t=Ba(this),a=ja(vm(this,Fe));return t.parent=!0,a.ok=_t(e)?e:!0,a.fail=_t(r)&&r,a.domain=Dt?Ga.domain:void 0,t.state===Oh?t.reactions.add(a):za(function(){Dh(a,t)}),a.promise}),Sh=function(){var i=new Vt,e=Ba(i);this.promise=i,this.resolve=sr(Fa,e),this.reject=sr(or,e)},Ah.f=ja=function(i){return i===Fe||i===Vh?new Sh(i):xm(i)},!sm&&_t(Lt)&&nr!==Object.prototype)){Eh=nr.then,mm||xh(nr,"then",function(e,r){var t=this;return new Fe(function(a,n){ur(Eh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete nr.constructor}catch{}Th&&Th(nr,Mt)}nm({global:!0,constructor:!0,wrap:!0,forced:Ph},{Promise:Fe});Vh=om.Promise;um(Fe,kt,!1,!0);lm(kt)});var lr=d((PE,Uh)=>{"use strict";Uh.exports={}});var Fh=d((RE,jh)=>{"use strict";var Cm=z(),qm=lr(),Am=Cm("iterator"),Pm=Array.prototype;jh.exports=function(i){return i!==void 0&&(qm.Array===i||Pm[Am]===i)}});var Ya=d((NE,$h)=>{"use strict";var Rm=At(),zh=ke(),Nm=Or(),Im=lr(),Mm=z(),Vm=Mm("iterator");$h.exports=function(i){if(!Nm(i))return zh(i,Vm)||zh(i,"@@iterator")||Im[Rm(i)]}});var Hh=d((IE,Gh)=>{"use strict";var _m=H(),Dm=be(),Lm=J(),km=Er(),Bm=Ya(),Um=TypeError;Gh.exports=function(i,e){var r=arguments.length<2?Bm(i):e;if(Dm(r))return Lm(_m(r,i));throw new Um(km(i)+" is not iterable")}});var Wh=d((ME,Xh)=>{"use strict";var jm=H(),Yh=J(),Fm=ke();Xh.exports=function(i,e,r){var t,a;Yh(i);try{if(t=Fm(i,"return"),!t){if(e==="throw")throw r;return r}t=jm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Yh(t),r}});var Xa=d((VE,Jh)=>{"use strict";var zm=Pt(),$m=H(),Gm=J(),Hm=Er(),Ym=Fh(),Xm=St(),Qh=Sr(),Wm=Hh(),Qm=Ya(),Kh=Wh(),Km=TypeError,Bt=function(i,e){this.stopped=i,this.result=e},Zh=Bt.prototype;Jh.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=zm(e,t),l,h,c,v,f,g,p,y=function(x){var T=l;return l=void 0,T&&Kh(T,"normal"),new Bt(!0,x)},m=function(x){return a?(Gm(x),s?u(x[0],x[1],y):u(x[0],x[1])):s?u(x,y):u(x)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Qm(i),!h)throw new Km(Hm(i)+" is not iterable");if(Ym(h)){for(c=0,v=Xm(i);v>c;c++)if(f=m(i[c]),f&&Qh(Zh,f))return f;return new Bt(!1)}l=Wm(i,h)}for(g=n?i.next:l.next;!(p=$m(g,l)).done;){var O=p.value;try{f=m(O)}catch(x){if(l)Kh(l,"throw",x);else throw x}if(typeof f=="object"&&f&&Qh(Zh,f))return f}return new Bt(!1)}});var ac=d((_E,ic)=>{"use strict";var Zm=z(),rc=Zm("iterator"),tc=!1;try{ec=0,Wa={next:function(){return{done:!!ec++}},return:function(){tc=!0}},Wa[rc]=function(){return this},Array.from(Wa,function(){throw 2})}catch{}var ec,Wa;ic.exports=function(i,e){try{if(!e&&!tc)return!1}catch{return!1}var r=!1;try{var t={};t[rc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var Qa=d((DE,nc)=>{"use strict";var Jm=tr(),eb=ac(),rb=ir().CONSTRUCTOR;nc.exports=rb||!eb(function(i){Jm.all(i).then(void 0,function(){})})});var sc=d(()=>{"use strict";var tb=ee(),ib=H(),ab=be(),nb=ar(),sb=It(),ob=Xa(),ub=Qa();tb({target:"Promise",stat:!0,forced:ub},{all:function(e){var r=this,t=nb.f(r),a=t.resolve,n=t.reject,o=sb(function(){var s=ab(r.resolve),u=[],l=0,h=1;ob(e,function(c){var v=l++,f=!1;h++,ib(s,r,c).then(function(g){f||(f=!0,u[v]=g,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var uc=d(()=>{"use strict";var lb=ee(),hb=ve(),cb=ir().CONSTRUCTOR,Za=tr(),fb=Pe(),vb=k(),gb=Re(),oc=Za&&Za.prototype;lb({target:"Promise",proto:!0,forced:cb,real:!0},{catch:function(i){return this.then(void 0,i)}});!hb&&vb(Za)&&(Ka=fb("Promise").prototype.catch,oc.catch!==Ka&&gb(oc,"catch",Ka,{unsafe:!0}));var Ka});var lc=d(()=>{"use strict";var db=ee(),pb=H(),yb=be(),mb=ar(),bb=It(),xb=Xa(),Tb=Qa();db({target:"Promise",stat:!0,forced:Tb},{race:function(e){var r=this,t=mb.f(r),a=t.reject,n=bb(function(){var o=yb(r.resolve);xb(e,function(s){pb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var hc=d(()=>{"use strict";var Ob=ee(),Sb=ar(),Eb=ir().CONSTRUCTOR;Ob({target:"Promise",stat:!0,forced:Eb},{reject:function(e){var r=Sb.f(this),t=r.reject;return t(e),r.promise}})});var fc=d((GE,cc)=>{"use strict";var wb=J(),Cb=te(),qb=ar();cc.exports=function(i,e){if(wb(i),Cb(e)&&e.constructor===i)return e;var r=qb.f(i),t=r.resolve;return t(e),r.promise}});var dc=d(()=>{"use strict";var Ab=ee(),Pb=Pe(),vc=ve(),Rb=tr(),gc=ir().CONSTRUCTOR,Nb=fc(),Ib=Pb("Promise"),Mb=vc&&!gc;Ab({target:"Promise",stat:!0,forced:vc||gc},{resolve:function(e){return Nb(Mb&&this===Ib?Rb:this,e)}})});var pc=d(()=>{"use strict";Bh();sc();uc();lc();hc();dc()});var de=d((KE,mc)=>{"use strict";var Vb=At(),_b=String;mc.exports=function(i){if(Vb(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return _b(i)}});var Ja=d((ZE,bc)=>{"use strict";var Db=J();bc.exports=function(){var i=Db(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var an=d((JE,xc)=>{"use strict";var en=_(),Lb=M(),rn=Lb.RegExp,tn=en(function(){var i=rn("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),kb=tn||en(function(){return!rn("a","y").sticky}),Bb=tn||en(function(){var i=rn("^r","gy");return i.lastIndex=2,i.exec("str")!==null});xc.exports={BROKEN_CARET:Bb,MISSED_STICKY:kb,UNSUPPORTED_Y:tn}});var Oc=d((ew,Tc)=>{"use strict";var Ub=va(),jb=Et();Tc.exports=Object.keys||function(e){return Ub(e,jb)}});var Ec=d(Sc=>{"use strict";var Fb=ue(),zb=Ki(),$b=Te(),Gb=J(),Hb=Qe(),Yb=Oc();Sc.f=Fb&&!zb?Object.defineProperties:function(e,r){Gb(e);for(var t=Hb(r),a=Yb(r),n=a.length,o=0,s;n>o;)$b.f(e,s=a[o++],t[s]);return e}});var zr=d((tw,Nc)=>{"use strict";var Xb=J(),Wb=Ec(),wc=Et(),Qb=mt(),Kb=xa(),Zb=Cr(),Jb=yt(),Cc=">",qc="<",sn="prototype",on="script",Pc=Jb("IE_PROTO"),nn=function(){},Rc=function(i){return qc+on+Cc+i+qc+"/"+on+Cc},Ac=function(i){i.write(Rc("")),i.close();var e=i.parentWindow.Object;return i=null,e},ex=function(){var i=Zb("iframe"),e="java"+on+":",r;return i.style.display="none",Kb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Rc("document.F=Object")),r.close(),r.F},Ut,jt=function(){try{Ut=new ActiveXObject("htmlfile")}catch{}jt=typeof document<"u"?document.domain&&Ut?Ac(Ut):ex():Ac(Ut);for(var i=wc.length;i--;)delete jt[sn][wc[i]];return jt()};Qb[Pc]=!0;Nc.exports=Object.create||function(e,r){var t;return e!==null?(nn[sn]=Xb(e),t=new nn,nn[sn]=null,t[Pc]=e):t=jt(),r===void 0?t:Wb.f(t,r)}});var Mc=d((iw,Ic)=>{"use strict";var rx=_(),tx=M(),ix=tx.RegExp;Ic.exports=rx(function(){var i=ix(".","s");return!(i.dotAll&&i.test(`
|
|
2
|
+
`)&&i.flags==="s")})});var _c=d((aw,Vc)=>{"use strict";var ax=_(),nx=M(),sx=nx.RegExp;Vc.exports=ax(function(){var i=sx("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})});var $t=d((nw,Bc)=>{"use strict";var hr=H(),zt=D(),ox=de(),ux=Ja(),lx=an(),hx=gt(),cx=zr(),fx=Rr().get,vx=Mc(),gx=_c(),dx=hx("native-string-replace",String.prototype.replace),Ft=RegExp.prototype.exec,un=Ft,px=zt("".charAt),yx=zt("".indexOf),mx=zt("".replace),Dc=zt("".slice),ln=(function(){var i=/a/,e=/b*/g;return hr(Ft,i,"a"),hr(Ft,e,"a"),i.lastIndex!==0||e.lastIndex!==0})(),kc=lx.BROKEN_CARET,hn=/()??/.exec("")[1]!==void 0,bx=ln||hn||kc||vx||gx,Lc=function(i,e){for(var r=i.groups=cx(null),t=0;t<e.length;t++){var a=e[t];r[a[0]]=i[a[1]]}};bx&&(un=function(e){var r=this,t=fx(r),a=ox(e),n=t.raw,o,s,u;if(n)return n.lastIndex=r.lastIndex,o=hr(un,n,a),r.lastIndex=n.lastIndex,o&&t.groups&&Lc(o,t.groups),o;var l=t.groups,h=kc&&r.sticky,c=hr(ux,r),v=r.source,f=0,g=a;if(h){c=mx(c,"y",""),yx(c,"g")===-1&&(c+="g"),g=Dc(a,r.lastIndex);var p=r.lastIndex>0&&px(a,r.lastIndex-1);r.lastIndex>0&&(!r.multiline||r.multiline&&p!==`
|
|
3
|
+
`&&p!=="\r"&&p!=="\u2028"&&p!=="\u2029")&&(v="(?: (?:"+v+"))",g=" "+g,f++),s=new RegExp("^(?:"+v+")",c)}hn&&(s=new RegExp("^"+v+"$(?!\\s)",c)),ln&&(u=r.lastIndex);var y=hr(Ft,h?s:r,g);return h?y?(y.input=a,y[0]=Dc(y[0],f),y.index=r.lastIndex,r.lastIndex+=y[0].length):r.lastIndex=0:ln&&y&&(r.lastIndex=r.global?y.index+y[0].length:u),hn&&y&&y.length>1&&hr(dx,y[0],s,function(){for(var m=1;m<arguments.length-2;m++)arguments[m]===void 0&&(y[m]=void 0)}),y&&l&&Lc(y,l),y});Bc.exports=un});var jc=d(()=>{"use strict";var xx=ee(),Uc=$t();xx({target:"RegExp",proto:!0,forced:/./.exec!==Uc},{exec:Uc})});var Gt=d((uw,Hc)=>{"use strict";jc();var Fc=H(),zc=Re(),Tx=$t(),$c=_(),Gc=z(),Ox=Je(),Sx=Gc("species"),cn=RegExp.prototype;Hc.exports=function(i,e,r,t){var a=Gc(i),n=!$c(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!$c(function(){var l=!1,h=/a/;if(i==="split"){var c={};c[Sx]=function(){return h},h={constructor:c,flags:""},h[a]=/./[a]}return h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,c,v,f){var g=h.exec;return g===Tx||g===cn.exec?n&&!f?{done:!0,value:Fc(s,h,c,v)}:{done:!0,value:Fc(l,c,h,v)}:{done:!1}});zc(String.prototype,i,u[0]),zc(cn,a,u[1])}t&&Ox(cn[a],"sham",!0)}});var Qc=d((lw,Wc)=>{"use strict";var fn=D(),Ex=Nr(),wx=de(),Cx=le(),qx=fn("".charAt),Yc=fn("".charCodeAt),Ax=fn("".slice),Xc=function(i){return function(e,r){var t=wx(Cx(e)),a=Ex(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Yc(t,a),o<55296||o>56319||a+1===n||(s=Yc(t,a+1))<56320||s>57343?i?qx(t,a):o:i?Ax(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};Wc.exports={codeAt:Xc(!1),charAt:Xc(!0)}});var Ht=d((hw,Kc)=>{"use strict";var Px=Qc().charAt;Kc.exports=function(i,e,r){return e+(r&&Px(i,e).length||1)}});var ef=d((cw,Jc)=>{"use strict";var Rx=M(),Nx=_(),Zc=Rx.RegExp,Ix=!Nx(function(){var i=!0;try{Zc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Zc.prototype,"flags").get.call(e);return s!==t||r!==t});Jc.exports={correct:Ix}});var $r=d((fw,tf)=>{"use strict";var Mx=H(),Vx=he(),_x=Sr(),rf=ef(),Dx=Ja(),Lx=RegExp.prototype;tf.exports=rf.correct?function(i){return i.flags}:function(i){return!rf.correct&&_x(Lx,i)&&!Vx(i,"flags")?Mx(Dx,i):i.flags}});var Yt=d((vw,nf)=>{"use strict";var af=H(),kx=J(),Bx=k(),Ux=Ae(),jx=$t(),Fx=TypeError;nf.exports=function(i,e){var r=i.exec;if(Bx(r)){var t=af(r,i,e);return t!==null&&kx(t),t}if(Ux(i)==="RegExp")return af(jx,i,e);throw new Fx("RegExp#exec called on incompatible receiver")}});var of=d(()=>{"use strict";var zx=H(),$x=D(),Gx=Gt(),Hx=J(),Yx=te(),Xx=Ue(),Xt=de(),Wx=le(),Qx=ke(),Kx=Ht(),Zx=$r(),sf=Yt(),vn=$x("".indexOf);Gx("match",function(i,e,r){return[function(a){var n=Wx(this),o=Yx(a)?Qx(a,i):void 0;return o?zx(o,a,n):new RegExp(a)[i](Xt(n))},function(t){var a=Hx(this),n=Xt(t),o=r(e,a,n);if(o.done)return o.value;var s=Xt(Zx(a));if(!~vn(s,"g"))return sf(a,n);var u=!!~vn(s,"u")||!!~vn(s,"v");a.lastIndex=0;for(var l=[],h=0,c;(c=sf(a,n))!==null;){var v=Xt(c[0]);l[h]=v,v===""&&(a.lastIndex=Kx(n,Xx(a.lastIndex),u)),h++}return h===0?null:l}]})});var lf=d((pw,uf)=>{"use strict";var pn=D(),Jx=wr(),e1=Math.floor,gn=pn("".charAt),r1=pn("".replace),dn=pn("".slice),t1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,i1=/\$([$&'`]|\d{1,2})/g;uf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=i1;return a!==void 0&&(a=Jx(a),u=t1),r1(n,u,function(l,h){var c;switch(gn(h,0)){case"$":return"$";case"&":return i;case"`":return dn(e,0,r);case"'":return dn(e,o);case"<":c=a[dn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var f=e1(v/10);return f===0?l:f<=s?t[f-1]===void 0?gn(h,1):t[f-1]+gn(h,1):l}c=t[v-1]}return c===void 0?"":c})}});var vf=d(()=>{"use strict";var a1=ba(),hf=H(),Wt=D(),n1=Gt(),s1=_(),o1=J(),u1=k(),l1=te(),h1=Nr(),c1=Ue(),ze=de(),f1=le(),v1=Ht(),g1=ke(),d1=lf(),p1=$r(),y1=Yt(),m1=z(),mn=m1("replace"),b1=Math.max,x1=Math.min,T1=Wt([].concat),yn=Wt([].push),cr=Wt("".indexOf),cf=Wt("".slice),O1=function(i){return i===void 0?i:String(i)},S1=(function(){return"a".replace(/./,"$0")==="$0"})(),ff=(function(){return/./[mn]?/./[mn]("a","$0")==="":!1})(),E1=!s1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$<a>")!=="7"});n1("replace",function(i,e,r){var t=ff?"$":"$0";return[function(n,o){var s=f1(this),u=l1(n)?g1(n,mn):void 0;return u?hf(u,n,s,o):hf(e,ze(s),n,o)},function(a,n){var o=o1(this),s=ze(a),u=u1(n);u||(n=ze(n));var l=ze(p1(o));if(typeof n=="string"&&!~cr(n,t)&&!~cr(n,"$<")&&!~cr(l,"y")){var h=r(e,o,s,n);if(h.done)return h.value}var c=!!~cr(l,"g"),v;c&&(v=!!~cr(l,"u")||!!~cr(l,"v"),o.lastIndex=0);for(var f=[],g;g=y1(o,s),!(g===null||(yn(f,g),!c));){var p=ze(g[0]);p===""&&(o.lastIndex=v1(s,c1(o.lastIndex),v))}for(var y="",m=0,O=0;O<f.length;O++){g=f[O];for(var x=ze(g[0]),T=b1(x1(h1(g.index),s.length),0),E=[],C,S=1;S<g.length;S++)yn(E,O1(g[S]));var A=g.groups;if(u){var P=T1([x],E,T,s);A!==void 0&&yn(P,A),C=ze(a1(n,void 0,P))}else C=d1(x,s,T,E,A,n);T>=m&&(y+=cf(s,m,T)+C,m=T+x.length)}return y+cf(s,m)}]},!E1||!S1||ff)});var df=d((bw,gf)=>{"use strict";var w1=te(),C1=Ae(),q1=z(),A1=q1("match");gf.exports=function(i){var e;return w1(i)&&((e=i[A1])!==void 0?!!e:C1(i)==="RegExp")}});var Qt=d((xw,pf)=>{"use strict";var P1=df(),R1=TypeError;pf.exports=function(i){if(P1(i))throw new R1("The method doesn't accept regular expressions");return i}});var Kt=d((Tw,yf)=>{"use strict";var N1=z(),I1=N1("match");yf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[I1]=!1,"/./"[i](e)}catch{}}return!1}});var xf=d(()=>{"use strict";var M1=ee(),V1=Lr(),_1=qr().f,D1=Ue(),mf=de(),L1=Qt(),k1=le(),B1=Kt(),U1=ve(),j1=V1("".slice),F1=Math.min,bf=B1("startsWith"),z1=!U1&&!bf&&!!(function(){var i=_1(String.prototype,"startsWith");return i&&!i.writable})();M1({target:"String",proto:!0,forced:!z1&&!bf},{startsWith:function(e){var r=mf(k1(this));L1(e);var t=mf(e),a=D1(F1(arguments.length>1?arguments[1]:void 0,r.length));return j1(r,a,a+t.length)===t}})});var Of=d((Ew,Tf)=>{"use strict";var $1=z(),G1=zr(),H1=Te().f,bn=$1("unscopables"),xn=Array.prototype;xn[bn]===void 0&&H1(xn,bn,{configurable:!0,value:G1(null)});Tf.exports=function(i){xn[bn][i]=!0}});var Ef=d((ww,Sf)=>{"use strict";var Y1=_();Sf.exports=!Y1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var On=d((Cw,Cf)=>{"use strict";var X1=he(),W1=k(),Q1=wr(),K1=yt(),Z1=Ef(),wf=K1("IE_PROTO"),Tn=Object,J1=Tn.prototype;Cf.exports=Z1?Tn.getPrototypeOf:function(i){var e=Q1(i);if(X1(e,wf))return e[wf];var r=e.constructor;return W1(r)&&e instanceof r?r.prototype:e instanceof Tn?J1:null}});var Cn=d((qw,Pf)=>{"use strict";var e2=_(),r2=k(),t2=te(),i2=zr(),qf=On(),a2=Re(),n2=z(),s2=ve(),wn=n2("iterator"),Af=!1,Oe,Sn,En;[].keys&&(En=[].keys(),"next"in En?(Sn=qf(qf(En)),Sn!==Object.prototype&&(Oe=Sn)):Af=!0);var o2=!t2(Oe)||e2(function(){var i={};return Oe[wn].call(i)!==i});o2?Oe={}:s2&&(Oe=i2(Oe));r2(Oe[wn])||a2(Oe,wn,function(){return this});Pf.exports={IteratorPrototype:Oe,BUGGY_SAFARI_ITERATORS:Af}});var Nf=d((Aw,Rf)=>{"use strict";var u2=Cn().IteratorPrototype,l2=zr(),h2=lt(),c2=_r(),f2=lr(),v2=function(){return this};Rf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=l2(u2,{next:h2(+!t,r)}),c2(i,a,!1,!0),f2[a]=v2,i}});var Ff=d((Pw,jf)=>{"use strict";var g2=ee(),d2=H(),Zt=ve(),Bf=Ar(),p2=k(),y2=Nf(),If=On(),Mf=pa(),m2=_r(),b2=Je(),qn=Re(),x2=z(),Vf=lr(),Uf=Cn(),T2=Bf.PROPER,O2=Bf.CONFIGURABLE,_f=Uf.IteratorPrototype,Jt=Uf.BUGGY_SAFARI_ITERATORS,Gr=x2("iterator"),Df="keys",Hr="values",Lf="entries",kf=function(){return this};jf.exports=function(i,e,r,t,a,n,o){y2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!Jt&&m&&m in h)return h[m];switch(m){case Df:return function(){return new r(this,m)};case Hr:return function(){return new r(this,m)};case Lf:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,c=h[Gr]||h["@@iterator"]||a&&h[a],v=!Jt&&c||s(a),f=e==="Array"&&h.entries||c,g,p,y;if(f&&(g=If(f.call(new i)),g!==Object.prototype&&g.next&&(!Zt&&If(g)!==_f&&(Mf?Mf(g,_f):p2(g[Gr])||qn(g,Gr,kf)),m2(g,u,!0,!0),Zt&&(Vf[u]=kf))),T2&&a===Hr&&c&&c.name!==Hr&&(!Zt&&O2?b2(h,"name",Hr):(l=!0,v=function(){return d2(c,this)})),a)if(p={values:s(Hr),keys:n?v:s(Df),entries:s(Lf)},o)for(y in p)(Jt||l||!(y in h))&&qn(h,y,p[y]);else g2({target:e,proto:!0,forced:Jt||l},p);return(!Zt||o)&&h[Gr]!==v&&qn(h,Gr,v,{name:a}),Vf[e]=v,p}});var $f=d((Rw,zf)=>{"use strict";zf.exports=function(i,e){return{value:i,done:e}}});var Pn=d((Nw,Wf)=>{"use strict";var S2=Qe(),An=Of(),Gf=lr(),Yf=Rr(),E2=Te().f,w2=Ff(),ei=$f(),C2=ve(),q2=ue(),Xf="Array Iterator",A2=Yf.set,P2=Yf.getterFor(Xf);Wf.exports=w2(Array,"Array",function(i,e){A2(this,{type:Xf,target:S2(i),index:0,kind:e})},function(){var i=P2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,ei(void 0,!0);switch(i.kind){case"keys":return ei(r,!1);case"values":return ei(e[r],!1)}return ei([r,e[r]],!1)},"values");var Hf=Gf.Arguments=Gf.Array;An("keys");An("values");An("entries");if(!C2&&q2&&Hf.name!=="values")try{E2(Hf,"name",{value:"values"})}catch{}});var Kf=d((Iw,Qf)=>{"use strict";Qf.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}});var ev=d((Mw,Jf)=>{"use strict";var R2=Cr(),Rn=R2("span").classList,Zf=Rn&&Rn.constructor&&Rn.constructor.prototype;Jf.exports=Zf===Object.prototype?void 0:Zf});var nv=d(()=>{"use strict";var rv=M(),iv=Kf(),N2=ev(),Yr=Pn(),tv=Je(),I2=_r(),M2=z(),Nn=M2("iterator"),In=Yr.values,av=function(i,e){if(i){if(i[Nn]!==In)try{tv(i,Nn,In)}catch{i[Nn]=In}if(I2(i,e,!0),iv[e]){for(var r in Yr)if(i[r]!==Yr[r])try{tv(i,r,Yr[r])}catch{i[r]=Yr[r]}}}};for(ri in iv)av(rv[ri]&&rv[ri].prototype,ri);var ri;av(N2,"DOMTokenList")});var fv=d((zw,cv)=>{"use strict";var V2=be(),_2=wr(),D2=Di(),L2=St(),uv=TypeError,lv="Reduce of empty array with no initial value",hv=function(i){return function(e,r,t,a){var n=_2(e),o=D2(n),s=L2(n);if(V2(r),s===0&&t<2)throw new uv(lv);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new uv(lv)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};cv.exports={left:hv(!1),right:hv(!0)}});var Mn=d(($w,vv)=>{"use strict";var k2=_();vv.exports=function(i,e){var r=[][i];return!!r&&k2(function(){r.call(null,e||function(){return 1},1)})}});var dv=d(()=>{"use strict";var B2=ee(),U2=fv().left,j2=Mn(),gv=ct(),F2=Vr(),z2=!F2&&gv>79&&gv<83,$2=z2||!j2("reduce");B2({target:"Array",proto:!0,forced:$2},{reduce:function(e){var r=arguments.length;return U2(this,e,r,r>1?arguments[1]:void 0)}})});var mv=d(()=>{"use strict";var G2=ee(),H2=Lr(),Y2=qr().f,X2=Ue(),pv=de(),W2=Qt(),Q2=le(),K2=Kt(),Z2=ve(),J2=H2("".slice),eT=Math.min,yv=K2("endsWith"),rT=!Z2&&!yv&&!!(function(){var i=Y2(String.prototype,"endsWith");return i&&!i.writable})();G2({target:"String",proto:!0,forced:!rT&&!yv},{endsWith:function(e){var r=pv(Q2(this));W2(e);var t=pv(e),a=arguments.length>1?arguments[1]:void 0,n=r.length,o=a===void 0?n:eT(X2(a),n);return J2(r,o-t.length,o)===t}})});var Tv=d(()=>{"use strict";var Vn=H(),kn=D(),tT=Gt(),iT=J(),aT=te(),nT=le(),sT=ma(),oT=Ht(),uT=Ue(),_n=de(),lT=ke(),hT=$r(),bv=Yt(),cT=an(),fT=_(),fr=cT.UNSUPPORTED_Y,vT=4294967295,gT=Math.min,Dn=kn([].push),Ln=kn("".slice),ii=kn("".indexOf),dT=!fT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),xv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;tT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Vn(e,this,a,n)}:e;return[function(n,o){var s=nT(this),u=aT(n)?lT(n,i):void 0;return u?Vn(u,n,s,o):Vn(t,_n(s),n,o)},function(a,n){var o=iT(this),s=_n(a);if(!xv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=sT(o,RegExp),h=_n(hT(o)),c=!!~ii(h,"u")||!!~ii(h,"v");fr?~ii(h,"g")||(h+="g"):~ii(h,"y")||(h+="y");var v=new l(fr?"^(?:"+o.source+")":o,h),f=n===void 0?vT:n>>>0;if(f===0)return[];if(s.length===0)return bv(v,s)===null?[s]:[];for(var g=0,p=0,y=[];p<s.length;){v.lastIndex=fr?0:p;var m=bv(v,fr?Ln(s,p):s),O;if(m===null||(O=gT(uT(v.lastIndex+(fr?p:0)),s.length))===g)p=oT(s,p,c);else{if(Dn(y,Ln(s,g,p)),y.length===f)return y;for(var x=1;x<=m.length-1;x++)if(Dn(y,m[x]),y.length===f)return y;p=g=O}}return Dn(y,Ln(s,g)),y}]},xv||!dT,fr)});var Sv=d((Ov,Xr)=>{"use strict";(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Xr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Xr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Xr.exports=function(){return Date.now()-r},r=Date.now()):(Xr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(Ov)});var wv=d((Kw,si)=>{"use strict";var pT=Sv(),Se=typeof window>"u"?global:window,ai=["moz","webkit"],gr="AnimationFrame",dr=Se["request"+gr],Wr=Se["cancel"+gr]||Se["cancelRequest"+gr];for(vr=0;!dr&&vr<ai.length;vr++)dr=Se[ai[vr]+"Request"+gr],Wr=Se[ai[vr]+"Cancel"+gr]||Se[ai[vr]+"CancelRequest"+gr];var vr;(!dr||!Wr)&&(ni=0,Bn=0,Ie=[],Ev=1e3/60,dr=function(i){if(Ie.length===0){var e=pT(),r=Math.max(0,Ev-(e-ni));ni=r+e,setTimeout(function(){var t=Ie.slice(0);Ie.length=0;for(var a=0;a<t.length;a++)if(!t[a].cancelled)try{t[a].callback(ni)}catch(n){setTimeout(function(){throw n},0)}},Math.round(r))}return Ie.push({handle:++Bn,callback:i,cancelled:!1}),Bn},Wr=function(i){for(var e=0;e<Ie.length;e++)Ie[e].handle===i&&(Ie[e].cancelled=!0)});var ni,Bn,Ie,Ev;si.exports=function(i){return dr.call(Se,i)};si.exports.cancel=function(){Wr.apply(Se,arguments)};si.exports.polyfill=function(i){i||(i=Se),i.requestAnimationFrame=dr,i.cancelAnimationFrame=Wr}});var Un=d((Zw,Cv)=>{"use strict";Cv.exports=`
|
|
4
|
+
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Pv=d((Jw,Av)=>{"use strict";var yT=D(),mT=le(),bT=de(),Fn=Un(),qv=yT("".replace),xT=RegExp("^["+Fn+"]+"),TT=RegExp("(^|[^"+Fn+"])["+Fn+"]+$"),jn=function(i){return function(e){var r=bT(mT(e));return i&1&&(r=qv(r,xT,"")),i&2&&(r=qv(r,TT,"$1")),r}};Av.exports={start:jn(1),end:jn(2),trim:jn(3)}});var Mv=d((eC,Iv)=>{"use strict";var OT=Ar().PROPER,ST=_(),Rv=Un(),Nv="\u200B\x85\u180E";Iv.exports=function(i){return ST(function(){return!!Rv[i]()||Nv[i]()!==Nv||OT&&Rv[i].name!==i})}});var Vv=d(()=>{"use strict";var ET=ee(),wT=Pv().trim,CT=Mv();ET({target:"String",proto:!0,forced:CT("trim")},{trim:function(){return wT(this)}})});var Dv=d((iC,_v)=>{"use strict";_v.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",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"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[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(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var a=r[t].re,n=r[t].process,o=a.exec(i);if(o){var s=n(o);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[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 u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,c=0;c<h.length;c++)u[u.length]=h[c];for(var v in e)u[u.length]=v;var f=document.createElement("ul");f.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var g=document.createElement("li"),p=new RGBColor(u[l]),y=document.createElement("div");y.style.cssText="margin: 3px; border: 1px solid black; background:"+p.toHex()+"; color:"+p.toHex(),y.appendChild(document.createTextNode("test"));var m=document.createTextNode(" "+u[l]+" -> "+p.toRGB()+" -> "+p.toHex());g.appendChild(y),g.appendChild(m),f.appendChild(g)}catch{}return f}}});var kv=d(()=>{"use strict";var qT=ee(),AT=Lr(),PT=ca().indexOf,RT=Mn(),zn=AT([].indexOf),Lv=!!zn&&1/zn([1],1,-0)<0,NT=Lv||!RT("indexOf");qT({target:"Array",proto:!0,forced:NT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Lv?zn(this,e,r)||0:PT(this,e,r)}})});var Uv=d(()=>{"use strict";var IT=ee(),MT=D(),VT=Qt(),_T=le(),Bv=de(),DT=Kt(),LT=MT("".indexOf);IT({target:"String",proto:!0,forced:!DT("includes")},{includes:function(e){return!!~LT(Bv(_T(this)),Bv(VT(e)),arguments.length>1?arguments[1]:void 0)}})});var Fv=d((uC,jv)=>{"use strict";var kT=Ae();jv.exports=Array.isArray||function(e){return kT(e)==="Array"}});var $v=d(()=>{"use strict";var BT=ee(),UT=D(),jT=Fv(),FT=UT([].reverse),zv=[1,2];BT({target:"Array",proto:!0,forced:String(zv)===String(zv.reverse())},{reverse:function(){return jT(this)&&(this.length=this.length),FT(this)}})});var ig=d(()=>{"use strict";var YT=Ar().PROPER,XT=Re(),WT=J(),eg=de(),QT=_(),KT=$r(),Hn="toString",rg=RegExp.prototype,tg=rg[Hn],ZT=QT(function(){return tg.call({source:"a",flags:"b"})!=="/a/b"}),JT=YT&&tg.name!==Hn;(ZT||JT)&&XT(rg,Hn,function(){var e=WT(this),r=eg(e.source),t=eg(KT(e));return"/"+r+"/"+t},{unsafe:!0})});var dC=Z(pc(),1);function yc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function xe(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){yc(n,t,a,o,s,"next",u)}function s(u){yc(n,t,a,o,s,"throw",u)}o(void 0)})}}var yC=Z(of(),1),mC=Z(vf(),1),bC=Z(xf(),1),xC=Z(Pn(),1),TC=Z(nv(),1);function sv(i,e){if(br(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(br(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function ov(i){var e=sv(i,"string");return br(e)=="symbol"?e:e+""}function ti(i,e,r){return(e=ov(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var SC=Z(dv(),1),EC=Z(mv(),1),wC=Z(Tv(),1),ci=Z(wv(),1),CC=Z(Vv(),1),fi=Z(Dv(),1),qC=Z(kv(),1),AC=Z(Uv(),1),PC=Z($v(),1);var Kv=function(i,e){return(Kv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function Zv(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Kv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function zT(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;r<i.length;r++){var t=i[r];if(t.type===b.CLOSE_PATH)e+="z";else if(t.type===b.HORIZ_LINE_TO)e+=(t.relative?"h":"H")+t.x;else if(t.type===b.VERT_LINE_TO)e+=(t.relative?"v":"V")+t.y;else if(t.type===b.MOVE_TO)e+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===b.LINE_TO)e+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===b.CURVE_TO)e+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_CURVE_TO)e+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.QUAD_TO)e+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_QUAD_TO)e+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==b.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+r+".");e+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return e}function Gn(i,e){var r=i[0],t=i[1];return[r*Math.cos(e)-t*Math.sin(e),r*Math.sin(e)+t*Math.cos(e)]}function ye(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];for(var r=0;r<i.length;r++)if(typeof i[r]!="number")throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof i[r]+" == typeof "+i[r]);return!0}var Me=Math.PI;function $n(i,e,r){i.lArcFlag=i.lArcFlag===0?0:1,i.sweepFlag=i.sweepFlag===0?0:1;var t=i.rX,a=i.rY,n=i.x,o=i.y;t=Math.abs(i.rX),a=Math.abs(i.rY);var s=Gn([(e-n)/2,(r-o)/2],-i.xRot/180*Me),u=s[0],l=s[1],h=Math.pow(u,2)/Math.pow(t,2)+Math.pow(l,2)/Math.pow(a,2);1<h&&(t*=Math.sqrt(h),a*=Math.sqrt(h)),i.rX=t,i.rY=a;var c=Math.pow(t,2)*Math.pow(l,2)+Math.pow(a,2)*Math.pow(u,2),v=(i.lArcFlag!==i.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(a,2)-c)/c)),f=t*l/a*v,g=-a*u/t*v,p=Gn([f,g],i.xRot/180*Me);i.cX=p[0]+(e+n)/2,i.cY=p[1]+(r+o)/2,i.phi1=Math.atan2((l-g)/a,(u-f)/t),i.phi2=Math.atan2((-l-g)/a,(-u-f)/t),i.sweepFlag===0&&i.phi2>i.phi1&&(i.phi2-=2*Me),i.sweepFlag===1&&i.phi2<i.phi1&&(i.phi2+=2*Me),i.phi1*=180/Me,i.phi2*=180/Me}function Gv(i,e,r){ye(i,e,r);var t=i*i+e*e-r*r;if(0>t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,Ee=Math.PI/180;function Hv(i,e,r){return(1-r)*i+r*e}function Yv(i,e,r,t){return i+Math.cos(t/180*Me)*e+Math.sin(t/180*Me)*r}function Xv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)<a?[-l/u]:(function(h,c,v){v===void 0&&(v=1e-6);var f=h*h/4-c;if(f<-v)return[];if(f<=v)return[-h/2];var g=Math.sqrt(f);return[-h/2-g,-h/2+g]})(u/s,l/s,a)}function Wv(i,e,r,t,a){var n=1-a;return i*(n*n*n)+e*(3*n*n*a)+r*(3*n*a*a)+t*(a*a*a)}(function(i){function e(){return a(function(s,u,l){return s.relative&&(s.x1!==void 0&&(s.x1+=u),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=u),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=u),s.y!==void 0&&(s.y+=l),s.relative=!1),s})}function r(){var s=NaN,u=NaN,l=NaN,h=NaN;return a(function(c,v,f){return c.type&b.SMOOTH_CURVE_TO&&(c.type=b.CURVE_TO,s=isNaN(s)?v:s,u=isNaN(u)?f:u,c.x1=c.relative?v-s:2*v-s,c.y1=c.relative?f-u:2*f-u),c.type&b.CURVE_TO?(s=c.relative?v+c.x2:c.x2,u=c.relative?f+c.y2:c.y2):(s=NaN,u=NaN),c.type&b.SMOOTH_QUAD_TO&&(c.type=b.QUAD_TO,l=isNaN(l)?v:l,h=isNaN(h)?f:h,c.x1=c.relative?v-l:2*v-l,c.y1=c.relative?f-h:2*f-h),c.type&b.QUAD_TO?(l=c.relative?v+c.x1:c.x1,h=c.relative?f+c.y1:c.y1):(l=NaN,h=NaN),c})}function t(){var s=NaN,u=NaN;return a(function(l,h,c){if(l.type&b.SMOOTH_QUAD_TO&&(l.type=b.QUAD_TO,s=isNaN(s)?h:s,u=isNaN(u)?c:u,l.x1=l.relative?h-s:2*h-s,l.y1=l.relative?c-u:2*c-u),l.type&b.QUAD_TO){s=l.relative?h+l.x1:l.x1,u=l.relative?c+l.y1:l.y1;var v=l.x1,f=l.y1;l.type=b.CURVE_TO,l.x1=((l.relative?0:h)+2*v)/3,l.y1=((l.relative?0:c)+2*f)/3,l.x2=(l.x+2*v)/3,l.y2=(l.y+2*f)/3}else s=NaN,u=NaN;return l})}function a(s){var u=0,l=0,h=NaN,c=NaN;return function(v){if(isNaN(h)&&!(v.type&b.MOVE_TO))throw new Error("path must start with moveto");var f=s(v,u,l,h,c);return v.type&b.CLOSE_PATH&&(u=h,l=c),v.x!==void 0&&(u=v.relative?u+v.x:v.x),v.y!==void 0&&(l=v.relative?l+v.y:v.y),v.type&b.MOVE_TO&&(h=u,c=l),f}}function n(s,u,l,h,c,v){return ye(s,u,l,h,c,v),a(function(f,g,p,y){var m=f.x1,O=f.x2,x=f.relative&&!isNaN(y),T=f.x!==void 0?f.x:x?0:g,E=f.y!==void 0?f.y:x?0:p;function C(ce){return ce*ce}f.type&b.HORIZ_LINE_TO&&u!==0&&(f.type=b.LINE_TO,f.y=f.relative?0:p),f.type&b.VERT_LINE_TO&&l!==0&&(f.type=b.LINE_TO,f.x=f.relative?0:g),f.x!==void 0&&(f.x=f.x*s+E*l+(x?0:c)),f.y!==void 0&&(f.y=T*u+f.y*h+(x?0:v)),f.x1!==void 0&&(f.x1=f.x1*s+f.y1*l+(x?0:c)),f.y1!==void 0&&(f.y1=m*u+f.y1*h+(x?0:v)),f.x2!==void 0&&(f.x2=f.x2*s+f.y2*l+(x?0:c)),f.y2!==void 0&&(f.y2=O*u+f.y2*h+(x?0:v));var S=s*h-u*l;if(f.xRot!==void 0&&(s!==1||u!==0||l!==0||h!==1))if(S===0)delete f.rX,delete f.rY,delete f.xRot,delete f.lArcFlag,delete f.sweepFlag,f.type=b.LINE_TO;else{var A=f.xRot*Math.PI/180,P=Math.sin(A),V=Math.cos(A),L=1/C(f.rX),N=1/C(f.rY),X=C(V)*L+C(P)*N,W=2*P*V*(L-N),G=C(P)*L+C(V)*N,Q=X*h*h-W*u*h+G*u*u,Y=W*(s*h+u*l)-2*(X*l*h+G*s*u),K=X*l*l-W*s*l+G*s*s,I=(Math.atan2(Y,Q-K)+Math.PI)%Math.PI/2,R=Math.sin(I),re=Math.cos(I);f.rX=Math.abs(S)/Math.sqrt(Q*C(re)+Y*R*re+K*C(R)),f.rY=Math.abs(S)/Math.sqrt(Q*C(R)-Y*R*re+K*C(re)),f.xRot=180*I/Math.PI}return f.sweepFlag!==void 0&&0>S&&(f.sweepFlag=+!f.sweepFlag),f})}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a(function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a(function(h,c,v,f,g){if(isNaN(f)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:c),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?f-c:f,h.y=h.relative?g-v:g),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h})},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,c=NaN;return a(function(v,f,g,p,y){var m=Math.abs,O=!1,x=0,T=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:f-u,T=isNaN(l)?0:g-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?f+v.x2:v.x2,l=v.relative?g+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?f:2*f-h,c=isNaN(c)?g:2*g-c):v.type&b.QUAD_TO?(h=v.relative?f+v.x1:v.x1,c=v.relative?g+v.y1:v.y2):(h=NaN,c=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var E=v.x===void 0?0:v.relative?v.x:v.x-f,C=v.y===void 0?0:v.relative?v.y:v.y-g;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-f:h-f,T=isNaN(c)?v.y1===void 0?T:v.relative?v.y:v.y1-g:c-g;var S=v.x2===void 0?0:v.relative?v.x:v.x2-f,A=v.y2===void 0?0:v.relative?v.y:v.y2-g;m(E)<=s&&m(C)<=s&&m(x)<=s&&m(T)<=s&&m(S)<=s&&m(A)<=s&&(O=!0)}return v.type&b.CLOSE_PATH&&m(f-p)<=s&&m(g-y)<=s&&(O=!0),O?[]:v})},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),c=Math.cos(s);return n(c,h,-h,c,u-u*c+l*h,l-u*h-l*c)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a(function(s,u,l){return b.ARC===s.type?(function(h,c,v){var f,g,p,y;h.cX||$n(h,c,v);for(var m=Math.min(h.phi1,h.phi2),O=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(O/90),T=new Array(x),E=c,C=v,S=0;S<x;S++){var A=Hv(h.phi1,h.phi2,S/x),P=Hv(h.phi1,h.phi2,(S+1)/x),V=P-A,L=4/3*Math.tan(V*Ee/4),N=[Math.cos(A*Ee)-L*Math.sin(A*Ee),Math.sin(A*Ee)+L*Math.cos(A*Ee)],X=N[0],W=N[1],G=[Math.cos(P*Ee),Math.sin(P*Ee)],Q=G[0],Y=G[1],K=[Q+L*Math.sin(P*Ee),Y-L*Math.cos(P*Ee)],I=K[0],R=K[1];T[S]={relative:h.relative,type:b.CURVE_TO};var re=function(ce,me){var qe=Gn([ce*h.rX,me*h.rY],h.xRot),Xe=qe[0],Jr=qe[1];return[h.cX+Xe,h.cY+Jr]};f=re(X,W),T[S].x1=f[0],T[S].y1=f[1],g=re(I,R),T[S].x2=g[0],T[S].y2=g[1],p=re(Q,Y),T[S].x=p[0],T[S].y=p[1],h.relative&&(T[S].x1-=E,T[S].y1-=C,T[S].x2-=E,T[S].y2-=C,T[S].x-=E,T[S].y-=C),E=(y=[T[S].x,T[S].y])[0],C=y[1]}return T})(s,s.relative?0:u,s.relative?0:l):s})},i.ANNOTATE_ARCS=function(){return a(function(s,u,l){return s.relative&&(u=0,l=0),b.ARC===s.type&&$n(s,u,l),s})},i.CLONE=o,i.CALCULATE_BOUNDS=function(){var s=function(v){var f={};for(var g in v)f[g]=v[g];return f},u=e(),l=t(),h=r(),c=a(function(v,f,g){var p=h(l(u(s(v))));function y(R){R>c.maxX&&(c.maxX=R),R<c.minX&&(c.minX=R)}function m(R){R>c.maxY&&(c.maxY=R),R<c.minY&&(c.minY=R)}if(p.type&b.DRAWING_COMMANDS&&(y(f),m(g)),p.type&b.HORIZ_LINE_TO&&y(p.x),p.type&b.VERT_LINE_TO&&m(p.y),p.type&b.LINE_TO&&(y(p.x),m(p.y)),p.type&b.CURVE_TO){y(p.x),m(p.y);for(var O=0,x=Xv(f,p.x1,p.x2,p.x);O<x.length;O++)0<(I=x[O])&&1>I&&y(Wv(f,p.x1,p.x2,p.x,I));for(var T=0,E=Xv(g,p.y1,p.y2,p.y);T<E.length;T++)0<(I=E[T])&&1>I&&m(Wv(g,p.y1,p.y2,p.y,I))}if(p.type&b.ARC){y(p.x),m(p.y),$n(p,f,g);for(var C=p.xRot/180*Math.PI,S=Math.cos(C)*p.rX,A=Math.sin(C)*p.rX,P=-Math.sin(C)*p.rY,V=Math.cos(C)*p.rY,L=p.phi1<p.phi2?[p.phi1,p.phi2]:-180>p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],N=L[0],X=L[1],W=function(R){var re=R[0],ce=R[1],me=180*Math.atan2(ce,re)/Math.PI;return me<N?me+360:me},G=0,Q=Gv(P,-S,0).map(W);G<Q.length;G++)(I=Q[G])>N&&I<X&&y(Yv(p.cX,S,P,I));for(var Y=0,K=Gv(V,-A,0).map(W);Y<K.length;Y++){var I;(I=K[Y])>N&&I<X&&m(Yv(p.cY,A,V,I))}}return v});return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}})(U||(U={}));var pe,Jv=(function(){function i(){}return i.prototype.round=function(e){return this.transform(U.ROUND(e))},i.prototype.toAbs=function(){return this.transform(U.TO_ABS())},i.prototype.toRel=function(){return this.transform(U.TO_REL())},i.prototype.normalizeHVZ=function(e,r,t){return this.transform(U.NORMALIZE_HVZ(e,r,t))},i.prototype.normalizeST=function(){return this.transform(U.NORMALIZE_ST())},i.prototype.qtToC=function(){return this.transform(U.QT_TO_C())},i.prototype.aToC=function(){return this.transform(U.A_TO_C())},i.prototype.sanitize=function(e){return this.transform(U.SANITIZE(e))},i.prototype.translate=function(e,r){return this.transform(U.TRANSLATE(e,r))},i.prototype.scale=function(e,r){return this.transform(U.SCALE(e,r))},i.prototype.rotate=function(e,r,t){return this.transform(U.ROTATE(e,r,t))},i.prototype.matrix=function(e,r,t,a,n,o){return this.transform(U.MATRIX(e,r,t,a,n,o))},i.prototype.skewX=function(e){return this.transform(U.SKEW_X(e))},i.prototype.skewY=function(e){return this.transform(U.SKEW_Y(e))},i.prototype.xSymmetry=function(e){return this.transform(U.X_AXIS_SYMMETRY(e))},i.prototype.ySymmetry=function(e){return this.transform(U.Y_AXIS_SYMMETRY(e))},i.prototype.annotateArcs=function(){return this.transform(U.ANNOTATE_ARCS())},i})(),$T=function(i){return i===" "||i===" "||i==="\r"||i===`
|
|
5
|
+
`},Qv=function(i){return 48<=i.charCodeAt(0)&&i.charCodeAt(0)<=57},GT=(function(i){function e(){var r=i.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return Zv(e,i),e.prototype.finish=function(r){if(r===void 0&&(r=[]),this.parse(" ",r),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return r},e.prototype.parse=function(r,t){var a=this;t===void 0&&(t=[]);for(var n=function(c){t.push(c),a.curArgs.length=0,a.canParseCommandOrComma=!0},o=0;o<r.length;o++){var s=r[o],u=!(this.curCommandType!==b.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),l=Qv(s)&&(this.curNumber==="0"&&s==="0"||u);if(!Qv(s)||l)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||u){if(this.curNumber&&this.curCommandType!==-1){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+o);if(this.curCommandType===b.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}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 "'+o+'"')}this.curArgs.push(h),this.curArgs.length===HT[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?n({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):b.VERT_LINE_TO===this.curCommandType?n({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?n({type:b.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===b.SMOOTH_CURVE_TO?n({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?n({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&n({type:b.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(!$T(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=b.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=b.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=b.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=b.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=b.ARC,this.curCommandRelative=s==="a"}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},e.prototype.transform=function(r){return Object.create(this,{parse:{value:function(t,a){a===void 0&&(a=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n<o.length;n++){var s=o[n],u=r(s);Array.isArray(u)?a.push.apply(a,u):a.push(u)}return a}}})},e})(Jv),b=(function(i){function e(r){var t=i.call(this)||this;return t.commands=typeof r=="string"?e.parse(r):r,t}return Zv(e,i),e.prototype.encode=function(){return e.encode(this.commands)},e.prototype.getBounds=function(){var r=U.CALCULATE_BOUNDS();return this.transform(r),r},e.prototype.transform=function(r){for(var t=[],a=0,n=this.commands;a<n.length;a++){var o=r(n[a]);Array.isArray(o)?t.push.apply(t,o):t.push(o)}return this.commands=t,this},e.encode=function(r){return zT(r)},e.parse=function(r){var t=new GT,a=[];return t.parse(r,a),t.finish(a),a},e.CLOSE_PATH=1,e.MOVE_TO=2,e.HORIZ_LINE_TO=4,e.VERT_LINE_TO=8,e.LINE_TO=16,e.CURVE_TO=32,e.SMOOTH_CURVE_TO=64,e.QUAD_TO=128,e.SMOOTH_QUAD_TO=256,e.ARC=512,e.LINE_COMMANDS=e.LINE_TO|e.HORIZ_LINE_TO|e.VERT_LINE_TO,e.DRAWING_COMMANDS=e.HORIZ_LINE_TO|e.VERT_LINE_TO|e.LINE_TO|e.CURVE_TO|e.SMOOTH_CURVE_TO|e.QUAD_TO|e.SMOOTH_QUAD_TO|e.ARC,e})(Jv),HT=((pe={})[b.MOVE_TO]=2,pe[b.LINE_TO]=2,pe[b.HORIZ_LINE_TO]=1,pe[b.VERT_LINE_TO]=1,pe[b.CLOSE_PATH]=0,pe[b.QUAD_TO]=4,pe[b.SMOOTH_QUAD_TO]=2,pe[b.CURVE_TO]=6,pe[b.SMOOTH_CURVE_TO]=4,pe[b.ARC]=7,pe);var NC=Z(ig(),1);function oi(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?oi=function(e){return typeof e}:oi=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(i)}function eO(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}var rO=[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],tO=[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 iO(i,e,r,t,a){if(typeof i=="string"&&(i=document.getElementById(i)),!i||oi(i)!=="object"||!("getContext"in i))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var n=i.getContext("2d");try{return n.getImageData(e,r,t,a)}catch(o){throw new Error("unable to access image data: "+o)}}function ng(i,e,r,t,a,n){if(!(isNaN(n)||n<1)){n|=0;var o=iO(i,e,r,t,a);o=aO(o,e,r,t,a,n),i.getContext("2d").putImageData(o,e,r)}}function aO(i,e,r,t,a,n){for(var o=i.data,s=2*n+1,u=t-1,l=a-1,h=n+1,c=h*(h+1)/2,v=new ag,f=v,g,p=1;p<s;p++)f=f.next=new ag,p===h&&(g=f);f.next=v;for(var y=null,m=null,O=0,x=0,T=rO[n],E=tO[n],C=0;C<a;C++){f=v;for(var S=o[x],A=o[x+1],P=o[x+2],V=o[x+3],L=0;L<h;L++)f.r=S,f.g=A,f.b=P,f.a=V,f=f.next;for(var N=0,X=0,W=0,G=0,Q=h*S,Y=h*A,K=h*P,I=h*V,R=c*S,re=c*A,ce=c*P,me=c*V,qe=1;qe<h;qe++){var Xe=x+((u<qe?u:qe)<<2),Jr=o[Xe],Vs=o[Xe+1],_s=o[Xe+2],Ds=o[Xe+3],et=h-qe;R+=(f.r=Jr)*et,re+=(f.g=Vs)*et,ce+=(f.b=_s)*et,me+=(f.a=Ds)*et,N+=Jr,X+=Vs,W+=_s,G+=Ds,f=f.next}y=v,m=g;for(var Ti=0;Ti<t;Ti++){var Oi=me*T>>>E;if(o[x+3]=Oi,Oi!==0){var Si=255/Oi;o[x]=(R*T>>>E)*Si,o[x+1]=(re*T>>>E)*Si,o[x+2]=(ce*T>>>E)*Si}else o[x]=o[x+1]=o[x+2]=0;R-=Q,re-=Y,ce-=K,me-=I,Q-=y.r,Y-=y.g,K-=y.b,I-=y.a;var Ve=Ti+n+1;Ve=O+(Ve<u?Ve:u)<<2,N+=y.r=o[Ve],X+=y.g=o[Ve+1],W+=y.b=o[Ve+2],G+=y.a=o[Ve+3],R+=N,re+=X,ce+=W,me+=G,y=y.next;var rt=m,Ls=rt.r,ks=rt.g,Bs=rt.b,Us=rt.a;Q+=Ls,Y+=ks,K+=Bs,I+=Us,N-=Ls,X-=ks,W-=Bs,G-=Us,m=m.next,x+=4}O+=t}for(var We=0;We<t;We++){x=We<<2;var _e=o[x],De=o[x+1],Le=o[x+2],ie=o[x+3],Ei=h*_e,wi=h*De,Ci=h*Le,qi=h*ie,tt=c*_e,it=c*De,at=c*Le,nt=c*ie;f=v;for(var js=0;js<h;js++)f.r=_e,f.g=De,f.b=Le,f.a=ie,f=f.next;for(var Fs=t,Ai=0,Pi=0,Ri=0,Ni=0,st=1;st<=n;st++){x=Fs+We<<2;var ot=h-st;tt+=(f.r=_e=o[x])*ot,it+=(f.g=De=o[x+1])*ot,at+=(f.b=Le=o[x+2])*ot,nt+=(f.a=ie=o[x+3])*ot,Ni+=_e,Ai+=De,Pi+=Le,Ri+=ie,f=f.next,st<l&&(Fs+=t)}x=We,y=v,m=g;for(var Ii=0;Ii<a;Ii++){var ae=x<<2;o[ae+3]=ie=nt*T>>>E,ie>0?(ie=255/ie,o[ae]=(tt*T>>>E)*ie,o[ae+1]=(it*T>>>E)*ie,o[ae+2]=(at*T>>>E)*ie):o[ae]=o[ae+1]=o[ae+2]=0,tt-=Ei,it-=wi,at-=Ci,nt-=qi,Ei-=y.r,wi-=y.g,Ci-=y.b,qi-=y.a,ae=We+((ae=Ii+h)<l?ae:l)*t<<2,tt+=Ni+=y.r=o[ae],it+=Ai+=y.g=o[ae+1],at+=Pi+=y.b=o[ae+2],nt+=Ri+=y.a=o[ae+3],y=y.next,Ei+=_e=m.r,wi+=De=m.g,Ci+=Le=m.b,qi+=ie=m.a,Ni-=_e,Ai-=De,Pi-=Le,Ri-=ie,m=m.next,x+=t}}return i}var ag=function i(){eO(this,i),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function nO(){var{DOMParser:i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:i,createCanvas(r,t){return new OffscreenCanvas(r,t)},createImage(r){return xe(function*(){var t=yield fetch(r),a=yield t.blob(),n=yield createImageBitmap(a);return n})()}};return(typeof DOMParser<"u"||typeof i>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function sO(i){var{DOMParser:e,canvas:r,fetch:t}=i;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t,createCanvas:r.createCanvas,createImage:r.loadImage}}var MC=Object.freeze({__proto__:null,offscreen:nO,node:sO});function mr(i){return i.replace(/(?!\u3000)\s+/gm," ")}function oO(i){return i.replace(/^[\n \t]+/,"")}function uO(i){return i.replace(/[\n \t]+$/,"")}function se(i){var e=(i||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e.map(parseFloat)}var lO=/^[A-Z-]+$/;function hO(i){return lO.test(i)?i.toLowerCase():i}function sg(i){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(i)||[];return e[2]||e[3]||e[4]}function cO(i){if(!i.startsWith("rgb"))return i;var e=3,r=i.replace(/\d+(\.\d+)?/g,(t,a)=>e--&&a?String(Math.round(parseFloat(t))):t);return r}var fO=/(\[[^\]]+\])/g,vO=/(#[^\s+>~.[:]+)/g,gO=/(\.[^\s+>~.[:]+)/g,dO=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,pO=/(:[\w-]+\([^)]*\))/gi,yO=/(:[^\s+>~.[:]+)/g,mO=/([^\s+>~.[:]+)/g;function $e(i,e){var r=e.exec(i);return r?[i.replace(e," "),r.length]:[i,0]}function bO(i){var e=[0,0,0],r=i.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),t=0;return[r,t]=$e(r,fO),e[1]+=t,[r,t]=$e(r,vO),e[0]+=t,[r,t]=$e(r,gO),e[1]+=t,[r,t]=$e(r,dO),e[2]+=t,[r,t]=$e(r,pO),e[1]+=t,[r,t]=$e(r,yO),e[1]+=t,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,t]=$e(r,mO),e[2]+=t,e.join("")}var pr=1e-8;function og(i){return Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2))}function Yn(i,e){return(i[0]*e[0]+i[1]*e[1])/(og(i)*og(e))}function ug(i,e){return(i[0]*e[1]<i[1]*e[0]?-1:1)*Math.acos(Yn(i,e))}function lg(i){return i*i*i}function hg(i){return 3*i*i*(1-i)}function cg(i){return 3*i*(1-i)*(1-i)}function fg(i){return(1-i)*(1-i)*(1-i)}function vg(i){return i*i}function gg(i){return 2*i*(1-i)}function dg(i){return(1-i)*(1-i)}var w=(()=>{class i{constructor(r,t,a){this.document=r,this.name=t,this.value=a,this.isNormalizedColor=!1}static empty(r){return new i(r,"EMPTY","")}split(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:t,name:a}=this;return mr(this.getString()).trim().split(r).map(n=>new i(t,a,n))}hasValue(r){var{value:t}=this;return t!==null&&t!==""&&(r||t!==0)&&typeof t<"u"}isString(r){var{value:t}=this,a=typeof t=="string";return!a||!r?a:r.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){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}}setValue(r){return this.value=r,this}getValue(r){return typeof r>"u"||this.hasValue()?this.value:r}getNumber(r){if(!this.hasValue())return typeof r>"u"?0:parseFloat(r);var{value:t}=this,a=parseFloat(t);return this.isString(/%$/)&&(a/=100),a}getString(r){return typeof r>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(r)}getColor(r){var t=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=cO(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[a,n]=typeof r=="boolean"?[void 0,r]:[r],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 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(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:{var s=this.getNumber();return t&&s<1?s*o.computeSize(a):s}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var r=this.getString(),t=/#([^)'"]+)/.exec(r);return t&&(t=t[1]),t||(t=r),this.document.definitions[t]}getFillStyleDefinition(r,t){var a=this.getDefinition();if(!a)return null;if(typeof a.createGradient=="function")return a.createGradient(this.document.ctx,r,t);if(typeof a.createPattern=="function"){if(a.getHrefAttribute().hasValue()){var n=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),n.hasValue()&&a.getAttribute("patternTransform",!0).setValue(n.value)}return a.createPattern(this.document.ctx,r,t)}return null}getTextBaseline(){return this.hasValue()?i.textBaselineMapping[this.getString()]:null}addOpacity(r){for(var t=this.getColor(),a=t.length,n=0,o=0;o<a&&(t[o]===","&&n++,n!==3);o++);if(r.hasValue()&&this.isString()&&n!==3){var s=new fi.default(t);s.ok&&(s.alpha=r.getNumber(),t=s.toRGBA())}return new i(this.document,this.name,t)}}return i.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"},i})(),Xn=class{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,r){this.viewPorts.push({width:e,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:e}=this;return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return typeof e=="number"?e:e==="x"?this.width:e==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},$=class i{constructor(e,r){this.x=e,this.y=r}static parse(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[t=r,a=r]=se(e);return new i(t,a)}static parseScale(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=r,a=t]=se(e);return new i(t,a)}static parsePath(e){for(var r=se(e),t=r.length,a=[],n=0;n<t;n+=2)a.push(new i(r[n],r[n+1]));return a}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:r,y:t}=this,a=r*e[0]+t*e[2]+e[4],n=r*e[1]+t*e[3]+e[5];this.x=a,this.y=n}},Wn=class{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:e,onClick:r,onMouseMove:t}=this,a=e.ctx.canvas;a.onclick=r,a.onmousemove=t,this.working=!0}}stop(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:e,events:r,eventElements:t}=this,{style:a}=e.ctx.canvas;a&&(a.cursor=""),r.forEach((n,o)=>{for(var{run:s}=n,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInPath&&r.isPointInPath(s,u)&&(a[o]=e)})}}checkBoundingBox(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInBox(s,u)&&(a[o]=e)})}}mapXY(e,r){for(var{window:t,ctx:a}=this.screen,n=new $(e,r),o=a.canvas;o;)n.x-=o.offsetLeft,n.y-=o.offsetTop,o=o.offsetParent;return t.scrollX&&(n.x+=t.scrollX),t.scrollY&&(n.y+=t.scrollY),n}onClick(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:r,y:t,run(a){a.onClick&&a.onClick()}})}onMouseMove(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:r,y:t,run(a){a.onMouseMove&&a.onMouseMove()}})}},pg=typeof window<"u"?window:null,yg=typeof fetch<"u"?fetch.bind(void 0):null,Sg=(()=>{class i{constructor(r){var{fetch:t=yg,window:a=pg}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Xn,this.mouse=new Wn(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=t}wait(r){this.waits.push(r)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var r=this.waits.every(t=>t());return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}setDefaults(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}setViewBox(r){var{document:t,ctx:a,aspectRatio:n,width:o,desiredWidth:s,height:u,desiredHeight:l,minX:h=0,minY:c=0,refX:v,refY:f,clip:g=!1,clipX:p=0,clipY:y=0}=r,m=mr(n).replace(/^defer\s/,""),[O,x]=m.split(" "),T=O||"xMidYMid",E=x||"meet",C=o/s,S=u/l,A=Math.min(C,S),P=Math.max(C,S),V=s,L=l;E==="meet"&&(V*=A,L*=A),E==="slice"&&(V*=P,L*=P);var N=new w(t,"refX",v),X=new w(t,"refY",f),W=N.hasValue()&&X.hasValue();if(W&&a.translate(-A*N.getPixels("x"),-A*X.getPixels("y")),g){var G=A*p,Q=A*y;a.beginPath(),a.moveTo(G,Q),a.lineTo(o,Q),a.lineTo(o,u),a.lineTo(G,u),a.closePath(),a.clip()}if(!W){var Y=E==="meet"&&A===S,K=E==="slice"&&P===S,I=E==="meet"&&A===C,R=E==="slice"&&P===C;T.startsWith("xMid")&&(Y||K)&&a.translate(o/2-V/2,0),T.endsWith("YMid")&&(I||R)&&a.translate(0,u/2-L/2),T.startsWith("xMax")&&(Y||K)&&a.translate(o-V,0),T.endsWith("YMax")&&(I||R)&&a.translate(0,u-L)}switch(!0){case T==="none":a.scale(C,S);break;case E==="meet":a.scale(A,A);break;case E==="slice":a.scale(P,P);break}a.translate(-h,-c)}start(r){var{enableRedraw:t=!1,ignoreMouse:a=!1,ignoreAnimation:n=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:l,scaleHeight:h,offsetX:c,offsetY:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:f,mouse:g}=this,p=1e3/f;if(this.frameDuration=p,this.readyPromise=new Promise(T=>{this.resolveReady=T}),this.isReady()&&this.render(r,o,s,l,h,c,v),!!t){var y=Date.now(),m=y,O=0,x=()=>{y=Date.now(),O=y-m,O>=p&&(m=y-O%p,this.shouldUpdate(n,u)&&(this.render(r,o,s,l,h,c,v),g.runEvents())),this.intervalId=(0,ci.default)(x)};a||g.start(),this.intervalId=(0,ci.default)(x)}}stop(){this.intervalId&&(ci.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(r,t){if(!r){var{frameDuration:a}=this,n=this.animations.reduce((o,s)=>s.update(a)||o,!1);if(n)return!0}return!!(typeof t=="function"&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(r,t,a,n,o,s,u){var{CLIENT_WIDTH:l,CLIENT_HEIGHT:h,viewPort:c,ctx:v,isFirstRender:f}=this,g=v.canvas;c.clear(),g.width&&g.height?c.setCurrent(g.width,g.height):c.setCurrent(l,h);var p=r.getStyle("width"),y=r.getStyle("height");!t&&(f||typeof n!="number"&&typeof o!="number")&&(p.hasValue()&&(g.width=p.getPixels("x"),g.style&&(g.style.width="".concat(g.width,"px"))),y.hasValue()&&(g.height=y.getPixels("y"),g.style&&(g.style.height="".concat(g.height,"px"))));var m=g.clientWidth||g.width,O=g.clientHeight||g.height;if(t&&p.hasValue()&&y.hasValue()&&(m=p.getPixels("x"),O=y.getPixels("y")),c.setCurrent(m,O),typeof s=="number"&&r.getAttribute("x",!0).setValue(s),typeof u=="number"&&r.getAttribute("y",!0).setValue(u),typeof n=="number"||typeof o=="number"){var x=se(r.getAttribute("viewBox").getString()),T=0,E=0;if(typeof n=="number"){var C=r.getStyle("width");C.hasValue()?T=C.getPixels("x")/n:isNaN(x[2])||(T=x[2]/n)}if(typeof o=="number"){var S=r.getStyle("height");S.hasValue()?E=S.getPixels("y")/o:isNaN(x[3])||(E=x[3]/o)}T||(T=E),E||(E=T),r.getAttribute("width",!0).setValue(n),r.getAttribute("height",!0).setValue(o);var A=r.getStyle("transform",!0,!0);A.setValue("".concat(A.getString()," scale(").concat(1/T,", ").concat(1/E,")"))}a||v.clearRect(0,0,m,O),r.render(v),f&&(this.isFirstRender=!1)}}return i.defaultWindow=pg,i.defaultFetch=yg,i})(),{defaultFetch:xO}=Sg,TO=typeof DOMParser<"u"?DOMParser:null,Qr=class{constructor(){var{fetch:e=xO,DOMParser:r=TO}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=e,this.DOMParser=r}parse(e){var r=this;return xe(function*(){return e.startsWith("<")?r.parseFromString(e):r.load(e)})()}parseFromString(e){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(r.parseFromString(e,"text/xml"))}}checkDocument(e){var r=e.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return e}load(e){var r=this;return xe(function*(){var t=yield r.fetch(e),a=yield t.text();return r.parseFromString(a)})()}},Qn=class{constructor(e,r){this.type="translate",this.point=null,this.point=$.parse(r)}apply(e){var{x:r,y:t}=this.point;e.translate(r||0,t||0)}unapply(e){var{x:r,y:t}=this.point;e.translate(-1*r||0,-1*t||0)}applyToPoint(e){var{x:r,y:t}=this.point;e.applyTransform([1,0,0,1,r||0,t||0])}},Kn=class{constructor(e,r,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=se(r);this.angle=new w(e,"angle",a[0]),this.originX=t[0],this.originY=t[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(o.getRadians()),e.translate(-s,-u)}unapply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(-1*o.getRadians()),e.translate(-s,-u)}applyToPoint(e){var{cx:r,cy:t,angle:a}=this,n=a.getRadians();e.applyTransform([1,0,0,1,r||0,t||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-r||0,-t||0])}},Zn=class{constructor(e,r,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=$.parseScale(r);(a.x===0||a.y===0)&&(a.x=pr,a.y=pr),this.scale=a,this.originX=t[0],this.originY=t[1]}apply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(r,t||r),e.translate(-o,-s)}unapply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(1/r,1/t||r),e.translate(-o,-s)}applyToPoint(e){var{x:r,y:t}=this.scale;e.applyTransform([r||0,0,0,t||0,0,0])}},vi=class{constructor(e,r,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=se(r),this.originX=t[0],this.originY=t[1]}apply(e){var{originX:r,originY:t,matrix:a}=this,n=r.getPixels("x"),o=t.getPixels("y");e.translate(n,o),e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.translate(-n,-o)}unapply(e){var{originX:r,originY:t,matrix:a}=this,n=a[0],o=a[2],s=a[4],u=a[1],l=a[3],h=a[5],c=0,v=0,f=1,g=1/(n*(l*f-h*v)-o*(u*f-h*c)+s*(u*v-l*c)),p=r.getPixels("x"),y=t.getPixels("y");e.translate(p,y),e.transform(g*(l*f-h*v),g*(h*c-u*f),g*(s*v-o*f),g*(n*f-s*c),g*(o*h-s*l),g*(s*u-n*h)),e.translate(-p,-y)}applyToPoint(e){e.applyTransform(this.matrix)}},gi=class extends vi{constructor(e,r,t){super(e,r,t),this.type="skew",this.angle=null,this.angle=new w(e,"angle",r)}},Jn=class extends gi{constructor(e,r,t){super(e,r,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},es=class extends gi{constructor(e,r,t){super(e,r,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function OO(i){return mr(i).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function SO(i){var[e,r]=i.split("(");return[e.trim(),r.trim().replace(")","")]}var Ms=(()=>{class i{constructor(r,t,a){this.document=r,this.transforms=[];var n=OO(t);n.forEach(o=>{if(o!=="none"){var[s,u]=SO(o),l=i.transformTypes[s];typeof l<"u"&&this.transforms.push(new l(this.document,u,a))}})}static fromElement(r,t){var a=t.getStyle("transform",!1,!0),[n,o=n]=t.getStyle("transform-origin",!1,!0).split(),s=[n,o];return a.hasValue()?new i(r,a.getString(),s):null}apply(r){for(var{transforms:t}=this,a=t.length,n=0;n<a;n++)t[n].apply(r)}unapply(r){for(var{transforms:t}=this,a=t.length,n=a-1;n>=0;n--)t[n].unapply(r)}applyToPoint(r){for(var{transforms:t}=this,a=t.length,n=0;n<a;n++)t[n].applyToPoint(r)}}return i.transformTypes={translate:Qn,rotate:Kn,scale:Zn,matrix:vi,skewX:Jn,skewY:es},i})(),B=(()=>{class i{constructor(r,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=r,this.node=t,this.captureTextNodes=a,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!t||t.nodeType!==1)){if(Array.from(t.attributes).forEach(u=>{var l=hO(u.nodeName);this.attributes[l]=new w(r,l,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(u=>u.trim());n.forEach(u=>{if(u){var[l,h]=u.split(":").map(c=>c.trim());this.styles[l]=new w(r,l,h)}})}var{definitions:o}=r,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(t.childNodes).forEach(u=>{if(u.nodeType===1)this.addChild(u);else if(a&&(u.nodeType===3||u.nodeType===4)){var l=r.createTextNode(u);l.getText().length>0&&this.addChild(l)}})}}getAttribute(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.attributes[r];if(!a&&t){var n=new w(this.document,r,"");return this.attributes[r]=n,n}return a||w.empty(this.document)}getHrefAttribute(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return w.empty(this.document)}getStyle(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[r];if(n)return n;var o=this.getAttribute(r);if(o!=null&&o.hasValue())return this.styles[r]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(r);if(u!=null&&u.hasValue())return u}}if(t){var l=new w(this.document,r,"");return this.styles[r]=l,l}return n||w.empty(this.document)}render(r){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(r.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(r),t.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}}setContext(r){}applyEffects(r){var t=Ms.fromElement(this.document,this);t&&t.apply(r);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var n=a.getDefinition();n&&n.apply(r)}}clearContext(r){}renderChildren(r){this.children.forEach(t=>{t.render(r)})}addChild(r){var t=r instanceof i?r:this.document.createElement(r);t.parent=this,i.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(r){var t,{node:a}=this;if(typeof a.matches=="function")return a.matches(r);var n=(t=a.getAttribute)===null||t===void 0?void 0:t.call(a,"class");return!n||n===""?!1:n.split(" ").some(o=>".".concat(o)===r)}addStylesFromStyleDefinition(){var{styles:r,stylesSpecificity:t}=this.document;for(var a in r)if(!a.startsWith("@")&&this.matchesSelector(a)){var n=r[a],o=t[a];if(n)for(var s in n){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=n[s],this.stylesSpecificity[s]=o)}}}removeStyles(r,t){var a=t.reduce((n,o)=>{var s=r.getStyle(o);if(!s.hasValue())return n;var u=s.getString();return s.setValue(""),[...n,[o,u]]},[]);return a}restoreStyles(r,t){t.forEach(a=>{var[n,o]=a;r.getStyle(n,!0).setValue(o)})}isFirstChild(){var r;return((r=this.parent)===null||r===void 0?void 0:r.children.indexOf(this))===0}}return i.ignoreChildTypes=["title"],i})(),rs=class extends B{constructor(e,r,t){super(e,r,t)}};function EO(i){var e=i.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function wO(i){return typeof process>"u"?i:i.trim().split(",").map(EO).join(",")}function CO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function qO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var yr=(()=>{class i{constructor(r,t,a,n,o,s){var u=s?typeof s=="string"?i.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=n||u.fontSize,this.fontStyle=r||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=t||u.fontVariant}static parse(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a="",n="",o="",s="",u="",l=mr(r).trim().split(" "),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(c=>{switch(!0){case(!h.fontStyle&&i.styles.includes(c)):c!=="inherit"&&(a=c),h.fontStyle=!0;break;case(!h.fontVariant&&i.variants.includes(c)):c!=="inherit"&&(n=c),h.fontStyle=!0,h.fontVariant=!0;break;case(!h.fontWeight&&i.weights.includes(c)):c!=="inherit"&&(o=c),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:c!=="inherit"&&([s]=c.split("/")),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:c!=="inherit"&&(u+=c)}}),new i(a,n,o,s,u,t)}toString(){return[CO(this.fontStyle),this.fontVariant,qO(this.fontWeight),this.fontSize,wO(this.fontFamily)].join(" ").trim()}}return i.styles="normal|italic|oblique|inherit",i.variants="normal|small-caps|inherit",i.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",i})(),oe=class{constructor(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=e,this.y1=r,this.x2=t,this.y2=a,this.addPoint(e,r),this.addPoint(t,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,r){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof r<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:r,y1:t,x2:a,y2:n}=e;this.addPoint(r,t),this.addPoint(a,n)}}sumCubic(e,r,t,a,n){return Math.pow(1-e,3)*r+3*Math.pow(1-e,2)*e*t+3*(1-e)*Math.pow(e,2)*a+Math.pow(e,3)*n}bezierCurveAdd(e,r,t,a,n){var o=6*r-12*t+6*a,s=-3*r+9*t-9*a+3*n,u=3*t-3*r;if(s===0){if(o===0)return;var l=-u/o;0<l&&l<1&&(e?this.addX(this.sumCubic(l,r,t,a,n)):this.addY(this.sumCubic(l,r,t,a,n)));return}var h=Math.pow(o,2)-4*u*s;if(!(h<0)){var c=(-o+Math.sqrt(h))/(2*s);0<c&&c<1&&(e?this.addX(this.sumCubic(c,r,t,a,n)):this.addY(this.sumCubic(c,r,t,a,n)));var v=(-o-Math.sqrt(h))/(2*s);0<v&&v<1&&(e?this.addX(this.sumCubic(v,r,t,a,n)):this.addY(this.sumCubic(v,r,t,a,n)))}}addBezierCurve(e,r,t,a,n,o,s,u){this.addPoint(e,r),this.addPoint(s,u),this.bezierCurveAdd(!0,e,t,n,s),this.bezierCurveAdd(!1,r,a,o,u)}addQuadraticCurve(e,r,t,a,n,o){var s=e+.6666666666666666*(t-e),u=r+2/3*(a-r),l=s+1/3*(n-e),h=u+1/3*(o-r);this.addBezierCurve(e,r,s,l,u,h,n,o)}isPointInBox(e,r){var{x1:t,y1:a,x2:n,y2:o}=this;return t<=e&&e<=n&&a<=r&&r<=o}},q=class extends b{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new $(0,0),this.control=new $(0,0),this.current=new $(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:r}=this;return e>=r.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new $(this.command[e],this.command[r]);return this.makeAbsolute(t)}getAsControlPoint(e,r){var t=this.getPoint(e,r);return this.control=t,t}getAsCurrentPoint(e,r){var t=this.getPoint(e,r);return this.current=t,t}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==b.CURVE_TO&&e!==b.SMOOTH_CURVE_TO&&e!==b.QUAD_TO&&e!==b.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:t},control:{x:a,y:n}}=this,o=new $(2*r-a,2*t-n);return o}makeAbsolute(e){if(this.command.relative){var{x:r,y:t}=this.current;e.x+=r,e.y+=t}return e}addMarker(e,r,t){var{points:a,angles:n}=this;t&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=a[a.length-1].angleTo(t)),this.addMarkerAngle(e,r?r.angleTo(e):null)}addMarkerAngle(e,r){this.points.push(e),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,r=e.length,t=0;t<r;t++)if(!e[t]){for(var a=t+1;a<r;a++)if(e[a]){e[t]=e[a];break}}return e}},Ce=class extends B{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,r=this;r;){var t=r.getStyle("opacity",!1,!0);t.hasValue(!0)&&(e*=t.getNumber()),r=r.parent}return e}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var t=this.getStyle("fill"),a=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,a);s&&(e.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var u=t.getColor();u!=="inherit"&&(e.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(a.hasValue()){var l=new w(this.document,"fill",e.fillStyle).addOpacity(a).getColor();e.fillStyle=l}if(n.isUrlDefinition()){var h=n.getFillStyleDefinition(this,o);h&&(e.strokeStyle=h)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var c=n.getString();c!=="inherit"&&(e.strokeStyle=c==="none"?"rgba(0,0,0,0)":c)}if(o.hasValue()){var v=new w(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=v}var f=this.getStyle("stroke-width");if(f.hasValue()){var g=f.getPixels();e.lineWidth=g||pr}var p=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),O=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),y.hasValue()&&(e.lineJoin=y.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),O.hasValue()&&O.getString()!=="none"){var T=se(O.getString());typeof e.setLineDash<"u"?e.setLineDash(T):typeof e.webkitLineDash<"u"?e.webkitLineDash=T:typeof e.mozDash<"u"&&!(T.length===1&&T[0]===0)&&(e.mozDash=T);var E=x.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=E:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=E:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=E)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var C=this.getStyle("font"),S=this.getStyle("font-style"),A=this.getStyle("font-variant"),P=this.getStyle("font-weight"),V=this.getStyle("font-size"),L=this.getStyle("font-family"),N=new yr(S.getString(),A.getString(),P.getString(),V.hasValue()?"".concat(V.getPixels(!0),"px"):"",L.getString(),yr.parse(C.getString(),e.font));S.setValue(N.fontStyle),A.setValue(N.fontVariant),P.setValue(N.fontWeight),V.setValue(N.fontSize),L.setValue(N.fontFamily),e.font=N.toString(),V.isPixels()&&(this.document.emSize=V.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}},F=class i extends Ce{constructor(e,r,t){super(e,r,t),this.type="path",this.pathParser=null,this.pathParser=new q(this.getAttribute("d").getString())}path(e){var{pathParser:r}=this,t=new oe;for(r.reset(),e&&e.beginPath();!r.isEnd();)switch(r.next().type){case q.MOVE_TO:this.pathM(e,t);break;case q.LINE_TO:this.pathL(e,t);break;case q.HORIZ_LINE_TO:this.pathH(e,t);break;case q.VERT_LINE_TO:this.pathV(e,t);break;case q.CURVE_TO:this.pathC(e,t);break;case q.SMOOTH_CURVE_TO:this.pathS(e,t);break;case q.QUAD_TO:this.pathQ(e,t);break;case q.SMOOTH_QUAD_TO:this.pathT(e,t);break;case q.ARC:this.pathA(e,t);break;case q.CLOSE_PATH:this.pathZ(e,t);break}return t}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,r=e.getMarkerPoints(),t=e.getMarkerAngles(),a=r.map((n,o)=>[n,t[o]]);return a}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var r=this.getStyle("fill-rule");e.fillStyle!==""&&(r.getString("inherit")!=="inherit"?e.fill(r.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 t=this.getMarkers();if(t){var a=t.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=t[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var c=o.getDefinition(),v=1;v<a;v++){var[f,g]=t[v];c.render(e,f,g)}if(s.isUrlDefinition()){var p=s.getDefinition(),[y,m]=t[a];p.render(e,y,m)}}}static pathM(e){var r=e.getAsCurrentPoint();return e.start=e.current,{point:r}}pathM(e,r){var{pathParser:t}=this,{point:a}=i.pathM(t),{x:n,y:o}=a;t.addMarker(a),r.addPoint(n,o),e&&e.moveTo(n,o)}static pathL(e){var{current:r}=e,t=e.getAsCurrentPoint();return{current:r,point:t}}pathL(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathL(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathH(e){var{current:r,command:t}=e,a=new $((t.relative?r.x:0)+t.x,r.y);return e.current=a,{current:r,point:a}}pathH(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathH(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathV(e){var{current:r,command:t}=e,a=new $(r.x,(t.relative?r.y:0)+t.y);return e.current=a,{current:r,point:a}}pathV(e,r){var{pathParser:t}=this,{current:a,point:n}=i.pathV(t),{x:o,y:s}=n;t.addMarker(n,a),r.addPoint(o,s),e&&e.lineTo(o,s)}static pathC(e){var{current:r}=e,t=e.getPoint("x1","y1"),a=e.getAsControlPoint("x2","y2"),n=e.getAsCurrentPoint();return{current:r,point:t,controlPoint:a,currentPoint:n}}pathC(e,r){var{pathParser:t}=this,{current:a,point:n,controlPoint:o,currentPoint:s}=i.pathC(t);t.addMarker(s,o,n),r.addBezierCurve(a.x,a.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathS(e){var{current:r}=e,t=e.getReflectedControlPoint(),a=e.getAsControlPoint("x2","y2"),n=e.getAsCurrentPoint();return{current:r,point:t,controlPoint:a,currentPoint:n}}pathS(e,r){var{pathParser:t}=this,{current:a,point:n,controlPoint:o,currentPoint:s}=i.pathS(t);t.addMarker(s,o,n),r.addBezierCurve(a.x,a.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathQ(e){var{current:r}=e,t=e.getAsControlPoint("x1","y1"),a=e.getAsCurrentPoint();return{current:r,controlPoint:t,currentPoint:a}}pathQ(e,r){var{pathParser:t}=this,{current:a,controlPoint:n,currentPoint:o}=i.pathQ(t);t.addMarker(o,n,n),r.addQuadraticCurve(a.x,a.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathT(e){var{current:r}=e,t=e.getReflectedControlPoint();e.control=t;var a=e.getAsCurrentPoint();return{current:r,controlPoint:t,currentPoint:a}}pathT(e,r){var{pathParser:t}=this,{current:a,controlPoint:n,currentPoint:o}=i.pathT(t);t.addMarker(o,n,n),r.addQuadraticCurve(a.x,a.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathA(e){var{current:r,command:t}=e,{rX:a,rY:n,xRot:o,lArcFlag:s,sweepFlag:u}=t,l=o*(Math.PI/180),h=e.getAsCurrentPoint(),c=new $(Math.cos(l)*(r.x-h.x)/2+Math.sin(l)*(r.y-h.y)/2,-Math.sin(l)*(r.x-h.x)/2+Math.cos(l)*(r.y-h.y)/2),v=Math.pow(c.x,2)/Math.pow(a,2)+Math.pow(c.y,2)/Math.pow(n,2);v>1&&(a*=Math.sqrt(v),n*=Math.sqrt(v));var f=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(n,2)-Math.pow(a,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(a,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var g=new $(f*a*c.y/n,f*-n*c.x/a),p=new $((r.x+h.x)/2+Math.cos(l)*g.x-Math.sin(l)*g.y,(r.y+h.y)/2+Math.sin(l)*g.x+Math.cos(l)*g.y),y=ug([1,0],[(c.x-g.x)/a,(c.y-g.y)/n]),m=[(c.x-g.x)/a,(c.y-g.y)/n],O=[(-c.x-g.x)/a,(-c.y-g.y)/n],x=ug(m,O);return Yn(m,O)<=-1&&(x=Math.PI),Yn(m,O)>=1&&(x=0),{currentPoint:h,rX:a,rY:n,sweepFlag:u,xAxisRotation:l,centp:p,a1:y,ad:x}}pathA(e,r){var{pathParser:t}=this,{currentPoint:a,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:c}=i.pathA(t),v=1-s?1:-1,f=h+v*(c/2),g=new $(l.x+n*Math.cos(f),l.y+o*Math.sin(f));if(t.addMarkerAngle(g,f-v*Math.PI/2),t.addMarkerAngle(a,f-v*Math.PI),r.addPoint(a.x,a.y),e&&!isNaN(h)&&!isNaN(c)){var p=n>o?n:o,y=n>o?1:n/o,m=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,m),e.arc(0,0,p,h,h+c,!!(1-s)),e.scale(1/y,1/m),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,r){i.pathZ(this.pathParser),e&&r.x1!==r.x2&&r.y1!==r.y2&&e.closePath()}},di=class extends F{constructor(e,r,t){super(e,r,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},He=class i extends Ce{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,r);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((t,a)=>{var n=this.getChildBoundingBox(e,this,this,a);r?r.addBoundingBox(n):r=n}),r}getFontSize(){var{document:e,parent:r}=this,t=yr.parse(e.ctx.font).fontSize,a=r.getStyle("font-size").getNumber(t);return a}getTElementBoundingBox(e){var r=this.getFontSize();return new oe(this.x,this.y-r,this.x+this.measureText(e),this.y)}getGlyph(e,r,t){var a=r[t],n=null;if(e.isArabic){var o=r.length,s=r[t-1],u=r[t+1],l="isolated";if((t===0||s===" ")&&t<o-1&&u!==" "&&(l="terminal"),t>0&&s!==" "&&t<o-1&&u!==" "&&(l="medial"),t>0&&s!==" "&&(t===o-1||u===" ")&&(l="initial"),typeof e.glyphs[a]<"u"){var h=e.glyphs[a];n=h instanceof di?h:h[l]}}else n=e.glyphs[a];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var r=e||this.node,t=Array.from(r.parentNode.childNodes),a=t.indexOf(r),n=t.length-1,o=mr(r.textContent||"");return a===0&&(o=oO(o)),a===n&&(o=uO(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,a)=>{this.renderChild(e,this,this,a)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:r,parent:t}=this,a=this.getText(),n=t.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=yr.parse(r.ctx.font),u=t.getStyle("font-size").getNumber(s.fontSize),l=t.getStyle("font-style").getString(s.fontStyle),h=u/o,c=n.isRTL?a.split("").reverse().join(""):a,v=se(t.getAttribute("dx").getString()),f=c.length,g=0;g<f;g++){var p=this.getGlyph(n,c,g);e.translate(this.x,this.y),e.scale(h,-h);var y=e.lineWidth;e.lineWidth=e.lineWidth*o/u,l==="italic"&&e.transform(1,0,.4,1,0,0),p.render(e),l==="italic"&&e.transform(1,0,-.4,1,0,0),e.lineWidth=y,e.scale(1/h,-1/h),e.translate(-this.x,-this.y),this.x+=u*(p.horizAdvX||n.horizAdvX)/o,typeof v[g]<"u"&&!isNaN(v[g])&&(this.x+=v[g])}return}var{x:m,y:O}=this;e.fillStyle&&e.fillText(a,m,O),e.strokeStyle&&e.strokeText(a,m,O)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],r=e.getStyle("text-anchor").getString("start"),t=!1,a=0;r==="start"&&!t||r==="end"&&t?a=e.x-this.minX:r==="end"&&!t||r==="start"&&t?a=e.x-this.maxX:a=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n<this.leafTexts.length;n++)this.leafTexts[n].x+=a;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((r,t)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,r,t,a){var n=t.children[a];n.children.length>0?n.children.forEach((o,s)=>{r.adjustChildCoordinatesRecursiveCore(e,r,n,s)}):this.adjustChildCoordinates(e,r,t,a)}adjustChildCoordinates(e,r,t,a){var n=t.children[a];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),c=!!h&&h.isRTL;a===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return c&&(r.x-=v),o.hasValue()?(r.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(r.x+=u.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(r.y+=l.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+v),r.maxX=Math.max(r.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,r,t,a){var n=t.children[a];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=r.getChildBoundingBox(e,r,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,r,t,a){var n=t.children[a];n.render(e),n.children.forEach((o,s)=>{r.renderChild(e,r,n,s)})}measureText(e){var{measureCache:r}=this;if(~r)return r;var t=this.getText(),a=this.measureTargetText(e,t);return this.measureCache=a,a}measureTargetText(e,r){if(!r.length)return 0;var{parent:t}=this,a=t.getStyle("font-family").getDefinition();if(a){for(var n=this.getFontSize(),o=a.isRTL?r.split("").reverse().join(""):r,s=se(t.getAttribute("dx").getString()),u=o.length,l=0,h=0;h<u;h++){var c=this.getGlyph(a,o,h);l+=(c.horizAdvX||a.horizAdvX)*n/a.fontFace.unitsPerEm,typeof s[h]<"u"&&!isNaN(s[h])&&(l+=s[h])}return l}if(!e.measureText)return r.length*10;e.save(),this.setContext(e,!0);var{width:v}=e.measureText(r);return this.clearContext(e),e.restore(),v}getInheritedAttribute(e){for(var r=this;r instanceof i&&r.isFirstChild();){var t=r.parent.getAttribute(e);if(t.hasValue(!0))return t.getValue("0");r=r.parent}return null}},pi=class i extends He{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}},ts=class extends pi{constructor(){super(...arguments),this.type="textNode"}},Ye=class extends Ce{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var r,{document:t}=this,{screen:a,window:n}=t,o=e.canvas;if(a.setDefaults(e),o.style&&typeof e.font<"u"&&n&&typeof n.getComputedStyle<"u"){e.font=n.getComputedStyle(o).getPropertyValue("font");var s=new w(t,"fontSize",yr.parse(e.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:l}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),c=this.getAttribute("refY"),v=this.getAttribute("viewBox"),f=v.hasValue()?se(v.getString()):null,g=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,y=0,m=0,O=0;f&&(p=f[0],y=f[1]),this.root||(u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(m=p,O=y,p=0,y=0)),a.viewPort.setCurrent(u,l),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),f&&(u=f[2],l=f[3]),t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:l,minX:p,minY:y,refX:h.getValue(),refY:c.getValue(),clip:g,clipX:m,clipY:O}),f&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.getAttribute("width",!0),n=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),l=n.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(e),n.setValue(r),o.hasValue()||o.setValue("0 0 ".concat(u||e," ").concat(l||r)),s.hasValue()){var c=this.getStyle("width"),v=this.getStyle("height");c.hasValue()&&c.setValue("".concat(e,"px")),v.hasValue()&&v.setValue("".concat(r,"px"))}}},yi=class extends F{constructor(){super(...arguments),this.type="rect"}path(e){var r=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),l=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(l=u),s.hasValue()&&!o.hasValue()&&(u=l),u=Math.min(u,a/2),l=Math.min(l,n/2),e){var h=4*((Math.sqrt(2)-1)/3);e.beginPath(),n>0&&a>0&&(e.moveTo(r+u,t),e.lineTo(r+a-u,t),e.bezierCurveTo(r+a-u+h*u,t,r+a,t+l-h*l,r+a,t+l),e.lineTo(r+a,t+n-l),e.bezierCurveTo(r+a,t+n-l+h*l,r+a-u+h*u,t+n,r+a-u,t+n),e.lineTo(r+u,t+n),e.bezierCurveTo(r+u-h*u,t+n,r,t+n-l+h*l,r,t+n-l),e.lineTo(r,t+l),e.bezierCurveTo(r,t+l-h*l,r+u-h*u,t,r+u,t),e.closePath())}return new oe(r,t,r+a,t+n)}getMarkers(){return null}},is=class extends F{constructor(){super(...arguments),this.type="circle"}path(e){var r=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return e&&a>0&&(e.beginPath(),e.arc(r,t,a,0,Math.PI*2,!1),e.closePath()),new oe(r-a,t-a,r+a,t+a)}getMarkers(){return null}},as=class extends F{constructor(){super(...arguments),this.type="ellipse"}path(e){var r=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&t>0&&a>0&&(e.beginPath(),e.moveTo(n+t,o),e.bezierCurveTo(n+t,o+r*a,n+r*t,o+a,n,o+a),e.bezierCurveTo(n-r*t,o+a,n-t,o+r*a,n-t,o),e.bezierCurveTo(n-t,o-r*a,n-r*t,o-a,n,o-a),e.bezierCurveTo(n+r*t,o-a,n+t,o-r*a,n+t,o),e.closePath()),new oe(n-t,o-a,n+t,o+a)}getMarkers(){return null}},ns=class extends F{constructor(){super(...arguments),this.type="line"}getPoints(){return[new $(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new $(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:r,y:t},{x:a,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(r,t),e.lineTo(a,n)),new oe(r,t,a,n)}getMarkers(){var[e,r]=this.getPoints(),t=e.angleTo(r);return[[e,t],[r,t]]}},mi=class extends F{constructor(e,r,t){super(e,r,t),this.type="polyline",this.points=[],this.points=$.parsePath(this.getAttribute("points").getString())}path(e){var{points:r}=this,[{x:t,y:a}]=r,n=new oe(t,a);return e&&(e.beginPath(),e.moveTo(t,a)),r.forEach(o=>{var{x:s,y:u}=o;n.addPoint(s,u),e&&e.lineTo(s,u)}),n}getMarkers(){var{points:e}=this,r=e.length-1,t=[];return e.forEach((a,n)=>{n!==r&&t.push([a,a.angleTo(e[n+1])])}),t.length>0&&t.push([e[e.length-1],t[t.length-1][1]]),t}},ss=class extends mi{constructor(){super(...arguments),this.type="polygon"}path(e){var r=super.path(e),[{x:t,y:a}]=this.points;return e&&(e.lineTo(t,a),e.closePath()),r}},os=class extends B{constructor(){super(...arguments),this.type="pattern"}createPattern(e,r,t){var a=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),o=new Ye(this.document,null);o.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new w(this.document,"width","".concat(a,"px")),o.attributes.height=new w(this.document,"height","".concat(n,"px")),o.attributes.transform=new w(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,n),u=s.getContext("2d"),l=this.getAttribute("x"),h=this.getAttribute("y");l.hasValue()&&h.hasValue()&&u.translate(l.getPixels("x",!0),h.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var v=-1;v<=1;v++)u.save(),o.attributes.x=new w(this.document,"x",c*s.width),o.attributes.y=new w(this.document,"y",v*s.height),o.render(u),u.restore();var f=e.createPattern(s,"repeat");return f}},us=class extends B{constructor(){super(...arguments),this.type="marker"}render(e,r,t){if(r){var{x:a,y:n}=r,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(a,n),o==="auto"&&e.rotate(t),s==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var u=new Ye(this.document,null);u.type=this.type,u.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new w(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new w(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new w(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new w(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new w(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new w(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new w(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(e),e.restore(),s==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),o==="auto"&&e.rotate(-t),e.translate(-a,-n)}}},ls=class extends B{constructor(){super(...arguments),this.type="defs"}render(){}},Kr=class extends Ce{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var r=new oe;return this.children.forEach(t=>{r.addBoundingBox(t.getBoundingBox(e))}),r}},bi=class extends B{constructor(e,r,t){super(e,r,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:n}=this;n.forEach(o=>{o.type==="stop"&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,r,t){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:n}=a,o=this.getGradient(e,r);if(!o)return this.addParentOpacity(t,n[n.length-1].color);if(n.forEach(y=>{o.addColorStop(y.offset,this.addParentOpacity(t,y.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:l}=s.screen,[h]=l.viewPorts,c=new yi(s,null);c.attributes.x=new w(s,"x",-u/3),c.attributes.y=new w(s,"y",-u/3),c.attributes.width=new w(s,"width",u),c.attributes.height=new w(s,"height",u);var v=new Kr(s,null);v.attributes.transform=new w(s,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[c];var f=new Ye(s,null);f.attributes.x=new w(s,"x",0),f.attributes.y=new w(s,"y",0),f.attributes.width=new w(s,"width",h.width),f.attributes.height=new w(s,"height",h.height),f.children=[v];var g=s.createCanvas(h.width,h.height),p=g.getContext("2d");return p.fillStyle=o,f.render(p),p.createPattern(g,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}addParentOpacity(e,r){if(e.hasValue()){var t=new w(this.document,"color",r);return t.addOpacity(e).getColor()}return r}},hs=class extends bi{constructor(e,r,t){super(e,r,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=t?r.getBoundingBox(e):null;if(t&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=t?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=t?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=t?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&o===u?null:e.createLinearGradient(n,o,s,u)}},cs=class extends bi{constructor(e,r,t){super(e,r,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=r.getBoundingBox(e);if(t&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=t?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=t?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,u=o;this.getAttribute("fx").hasValue()&&(s=t?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=t?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=t?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return e.createRadialGradient(s,u,h,n,o,l)}},fs=class extends B{constructor(e,r,t){super(e,r,t),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),n.hasValue()&&(o=o.addOpacity(n)),this.offset=a,this.color=o.getColor()}},Zr=class extends B{constructor(e,r,t){super(e,r,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new w(e,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:e}=this,{progress:r,from:t,to:a}=this.getProgress(),n=t.getNumber()+(a.getNumber()-t.getNumber())*r;return e==="%"&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:r}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(a==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=t.getString();else if(a==="remove"&&!this.removed)return this.removed=!0,t.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var n=!1;if(this.begin<this.duration){var o=this.calcValue(),s=this.getAttribute("type");if(s.hasValue()){var u=s.getString();o="".concat(u,"(").concat(o,")")}t.setValue(o),n=!0}return n}getProgress(){var{document:e,values:r}=this,t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var a=t.progress*(r.getValue().length-1),n=Math.floor(a),o=Math.ceil(a);t.from=new w(e,"from",parseFloat(r.getValue()[n])),t.to=new w(e,"to",parseFloat(r.getValue()[o])),t.progress=(a-n)/(o-n)}else t.from=this.from,t.to=this.to;return t}},vs=class extends Zr{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:e,from:r,to:t}=this.getProgress(),a=new fi.default(r.getColor()),n=new fi.default(t.getColor());if(a.ok&&n.ok){var o=a.r+(n.r-a.r)*e,s=a.g+(n.g-a.g)*e,u=a.b+(n.b-a.b)*e;return"rgb(".concat(Math.floor(o),", ").concat(Math.floor(s),", ").concat(Math.floor(u),")")}return this.getAttribute("from").getColor()}},gs=class extends Zr{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:e,from:r,to:t}=this.getProgress(),a=se(r.getString()),n=se(t.getString()),o=a.map((s,u)=>{var l=n[u];return s+(l-s)*e}).join(" ");return o}},ds=class extends B{constructor(e,r,t){super(e,r,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=e,{children:n}=this;for(var o of n)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}},ps=class extends B{constructor(e,r,t){super(e,r,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},ys=class extends F{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},ms=class extends He{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var r=e.children[0];if(r)return r.getText()}return""}},bs=class extends He{constructor(e,r,t){super(e,r,t),this.type="a";var{childNodes:a}=r,n=a[0],o=a.length>0&&Array.from(a).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:r,x:t,y:a}=this,{mouse:n}=r.screen,o=new w(r,"fontSize",yr.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new oe(t,a-o.getPixels("y"),t+this.measureText(e),a))}else if(this.children.length>0){var s=new Kr(this.document,null);s.children=this.children,s.parent=this,s.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}};function mg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function ui(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mg(Object(r),!0).forEach(function(t){ti(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):mg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}var xs=class extends He{constructor(e,r,t){super(e,r,t),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var a=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(a)}getText(){return this.text}path(e){var{dataArray:r}=this;e&&e.beginPath(),r.forEach(t=>{var{type:a,points:n}=t;switch(a){case q.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case q.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case q.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case q.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case q.ARC:{var[o,s,u,l,h,c,v,f]=n,g=u>l?u:l,p=u>l?1:u/l,y=u>l?l/u:1;e&&(e.translate(o,s),e.rotate(v),e.scale(p,y),e.arc(0,0,g,h,h+c,!!(1-f)),e.scale(1/p,1/y),e.rotate(-v),e.translate(-o,-s));break}case q.CLOSE_PATH:e&&e.closePath();break}})}renderChildren(e){this.setTextData(e),e.save();var r=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:a}=this,n=e.fillStyle;r==="underline"&&e.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:l,rotation:h,text:c}=o;e.save(),e.translate(u.x,u.y),e.rotate(h),e.fillStyle&&e.fillText(c,0,0),e.strokeStyle&&e.strokeText(c,0,0),e.restore(),r==="underline"&&(s===0&&e.moveTo(u.x,u.y+t/8),e.lineTo(l.x,l.y+t/5))}),r==="underline"&&(e.lineWidth=t/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,r,t,a,n,o,s,u,l){var h=o,c=this.measureText(e,u);u===" "&&r==="justify"&&t<a&&(c+=(a-t)/n),l>-1&&(h+=this.getLetterSpacingAt(l));var v=this.textHeight/20,f=this.getEquidistantPointOnPath(h,v,0),g=this.getEquidistantPointOnPath(h+c,v,0),p={p0:f,p1:g},y=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(s){var m=Math.cos(Math.PI/2+y)*s,O=Math.cos(-y)*s;p.p0=ui(ui({},f),{},{x:f.x+m,y:f.y+O}),p.p1=ui(ui({},g),{},{x:g.x+m,y:g.y+O})}return h+=c,{offset:h,segment:p,rotation:y}}measureText(e,r){var{measuresCache:t}=this,a=r||this.getText();if(t.has(a))return t.get(a);var n=this.measureTargetText(e,a);return t.set(a,n),n}setTextData(e){if(!this.glyphInfo){var r=this.getText(),t=r.split(""),a=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(T=>T.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;!u.hasValue()||u.getValue()==="inherit"?h=l.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(h=u.getPixels());var c=[],v=r.length;this.letterSpacingCache=c;for(var f=0;f<v;f++)c.push(typeof n[f]<"u"?n[f]:h);var g=c.reduce((T,E,C)=>C===0?0:T+E||0,0),p=this.measureText(e),y=Math.max(p+g,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),O=this.getStyle("startOffset").getNumber(0)*m,x=0;(s==="middle"||s==="center")&&(x=-y/2),(s==="end"||s==="right")&&(x=-y),x+=O,t.forEach((T,E)=>{var{offset:C,segment:S,rotation:A}=this.findSegmentToFitChar(e,s,y,m,a,x,o,T,E);x=C,!(!S.p0||!S.p1)&&this.glyphInfo.push({text:t[E],p0:S.p0,p1:S.p1,rotation:A})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var r=[],{pathParser:t}=e;for(t.reset();!t.isEnd();){var{current:a}=t,n=a?a.x:0,o=a?a.y:0,s=t.next(),u=s.type,l=[];switch(s.type){case q.MOVE_TO:this.pathM(t,l);break;case q.LINE_TO:u=this.pathL(t,l);break;case q.HORIZ_LINE_TO:u=this.pathH(t,l);break;case q.VERT_LINE_TO:u=this.pathV(t,l);break;case q.CURVE_TO:this.pathC(t,l);break;case q.SMOOTH_CURVE_TO:u=this.pathS(t,l);break;case q.QUAD_TO:this.pathQ(t,l);break;case q.SMOOTH_QUAD_TO:u=this.pathT(t,l);break;case q.ARC:l=this.pathA(t);break;case q.CLOSE_PATH:F.pathZ(t);break}s.type!==q.CLOSE_PATH?r.push({type:u,points:l,start:{x:n,y:o},pathLength:this.calcLength(n,o,u,l)}):r.push({type:q.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(e,r){var{x:t,y:a}=F.pathM(e).point;r.push(t,a)}pathL(e,r){var{x:t,y:a}=F.pathL(e).point;return r.push(t,a),q.LINE_TO}pathH(e,r){var{x:t,y:a}=F.pathH(e).point;return r.push(t,a),q.LINE_TO}pathV(e,r){var{x:t,y:a}=F.pathV(e).point;return r.push(t,a),q.LINE_TO}pathC(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathC(e);r.push(t.x,t.y,a.x,a.y,n.x,n.y)}pathS(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathS(e);return r.push(t.x,t.y,a.x,a.y,n.x,n.y),q.CURVE_TO}pathQ(e,r){var{controlPoint:t,currentPoint:a}=F.pathQ(e);r.push(t.x,t.y,a.x,a.y)}pathT(e,r){var{controlPoint:t,currentPoint:a}=F.pathT(e);return r.push(t.x,t.y,a.x,a.y),q.QUAD_TO}pathA(e){var{rX:r,rY:t,sweepFlag:a,xAxisRotation:n,centp:o,a1:s,ad:u}=F.pathA(e);return a===0&&u>0&&(u-=2*Math.PI),a===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,r,t,s,u,n,a]}calcLength(e,r,t,a){var n=0,o=null,s=null,u=0;switch(t){case q.LINE_TO:return this.getLineLength(e,r,a[0],a[1]);case q.CURVE_TO:for(n=0,o=this.getPointOnCubicBezier(0,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.QUAD_TO:for(n=0,o=this.getPointOnQuadraticBezier(0,e,r,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,e,r,a[0],a[1],a[2],a[3]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.ARC:{n=0;var l=a[4],h=a[5],c=a[4]+h,v=Math.PI/180;if(Math.abs(l-c)<v&&(v=Math.abs(l-c)),o=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],l,0),h<0)for(u=l-v;u>c;u-=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=l+v;u<c;u+=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],c,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),n}}return 0}getPointOnLine(e,r,t,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:r,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,u=(n-t)/(a-r+pr),l=Math.sqrt(e*e/(1+u*u));a<r&&(l*=-1);var h=u*l,c=null;if(a===r)c={x:o,y:s+h};else if((s-t)/(o-r+pr)===u)c={x:o+l,y:s+h};else{var v=0,f=0,g=this.getLineLength(r,t,a,n);if(g<pr)return null;var p=(o-r)*(a-r)+(s-t)*(n-t);p/=g*g,v=r+p*(a-r),f=t+p*(n-t);var y=this.getLineLength(o,s,v,f),m=Math.sqrt(e*e-y*y);l=Math.sqrt(m*m/(1+u*u)),a<r&&(l*=-1),h=u*l,c={x:v+l,y:f+h}}return c}getPointOnPath(e){var r=this.getPathLength(),t=0,a=null;if(e<-5e-5||e-5e-5>r)return null;var{dataArray:n}=this;for(var o of n){if(o&&(o.pathLength<5e-5||t+o.pathLength+5e-5<e)){t+=o.pathLength;continue}var s=e-t,u=0;switch(o.type){case q.LINE_TO:a=this.getPointOnLine(s,o.start.x,o.start.y,o.points[0],o.points[1],o.start.x,o.start.y);break;case q.ARC:{var l=o.points[4],h=o.points[5],c=o.points[4]+h;if(u=l+s/o.pathLength*h,h<0&&u<c||h>=0&&u>c)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case q.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case q.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(a)return a;break}return null}getLineLength(e,r,t,a){return Math.sqrt((t-e)*(t-e)+(a-r)*(a-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((e,r)=>r.pathLength>0?e+r.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,r,t,a,n,o,s,u,l){var h=u*lg(e)+o*hg(e)+a*cg(e)+r*fg(e),c=l*lg(e)+s*hg(e)+n*cg(e)+t*fg(e);return{x:h,y:c}}getPointOnQuadraticBezier(e,r,t,a,n,o,s){var u=o*vg(e)+a*gg(e)+r*dg(e),l=s*vg(e)+n*gg(e)+t*dg(e);return{x:u,y:l}}getPointOnEllipticalArc(e,r,t,a,n,o){var s=Math.cos(o),u=Math.sin(o),l={x:t*Math.cos(n),y:a*Math.sin(n)};return{x:e+(l.x*s-l.y*u),y:r+(l.x*u+l.y*s)}}buildEquidistantCache(e,r){var t=this.getPathLength(),a=r||.25,n=e||t/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==a){this.equidistantCache={step:n,precision:a,points:[]};for(var o=0,s=0;s<=t;s+=a){var u=this.getPointOnPath(s),l=this.getPointOnPath(s+a);!u||!l||(o+=this.getLineLength(u.x,u.y,l.x,l.y),o>=n&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=n))}}}getEquidistantPointOnPath(e,r,t){if(this.buildEquidistantCache(r,t),e<0||e-this.getPathLength()>5e-5)return null;var a=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}},AO=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Ts=class extends Ce{constructor(e,r,t){super(e,r,t),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var n=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);e.images.push(this),n?this.loadSvg(a):this.loadImage(a),this.isSvg=n}}loadImage(e){var r=this;return xe(function*(){try{var t=yield r.document.createImage(e);r.image=t}catch(a){console.error('Error while loading image "'.concat(e,'":'),a)}r.loaded=!0})()}loadSvg(e){var r=this;return xe(function*(){var t=AO.exec(e);if(t){var a=t[5];t[4]==="base64"?r.image=atob(a):r.image=decodeURIComponent(a)}else try{var n=yield r.document.fetch(e),o=yield n.text();r.image=o}catch(s){console.error('Error while loading image "'.concat(e,'":'),s)}r.loaded=!0})()}renderChildren(e){var{document:r,image:t,loaded:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!a||!t||!s||!u)){if(e.save(),e.translate(n,o),this.isSvg){var l=r.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});l.document.documentElement.parent=this,l.render()}else{var h=this.image;r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:h.width,height:u,desiredHeight:h.height}),this.loaded&&(typeof h.complete>"u"||h.complete)&&e.drawImage(h,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new oe(e,r,e+t,r+a)}},Os=class extends Ce{constructor(){super(...arguments),this.type="symbol"}render(e){}},Ss=class{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,r){var t=this;return xe(function*(){try{var{document:a}=t,n=yield a.canvg.parser.load(r),o=n.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[e]=u})}catch(s){console.error('Error while loading font "'.concat(r,'":'),s)}t.loaded=!0})()}},PO=(()=>{class i extends B{constructor(r,t,a){super(r,t,a),this.type="style";var n=mr(Array.from(t.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=n.split("}");o.forEach(s=>{var u=s.trim();if(u){var l=u.split("{"),h=l[0].split(","),c=l[1].split(";");h.forEach(v=>{var f=v.trim();if(f){var g=r.styles[f]||{};if(c.forEach(m=>{var O=m.indexOf(":"),x=m.substr(0,O).trim(),T=m.substr(O+1,m.length-O).trim();x&&T&&(g[x]=new w(r,x,T))}),r.styles[f]=g,r.stylesSpecificity[f]=bO(f),f==="@font-face"){var p=g["font-family"].getString().replace(/"|'/g,""),y=g.src.getString().split(",");y.forEach(m=>{if(m.indexOf('format("svg")')>0){var O=sg(m);O&&new Ss(r).load(p,O)}})}}})}})}}return i.parseExternalUrl=sg,i})(),Es=class extends Ce{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var r=this.getAttribute("x"),t=this.getAttribute("y");r.hasValue()&&e.translate(r.getPixels("x"),0),t.hasValue()&&e.translate(0,t.getPixels("y"))}path(e){var{element:r}=this;r&&r.path(e)}renderChildren(e){var{document:r,element:t}=this;if(t){var a=t;if(t.type==="symbol"&&(a=new Ye(r,null),a.attributes.viewBox=new w(r,"viewBox",t.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new w(r,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new w(r,"overflow",t.getAttribute("overflow").getString()),a.children=t.children,t.styles.opacity=new w(r,"opacity",this.calculateOpacity())),a.type==="svg"){var n=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);n.hasValue()&&(a.attributes.width=new w(r,"width",n.getString())),o.hasValue()&&(a.attributes.height=new w(r,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(e),a.parent=s}}getBoundingBox(e){var{element:r}=this;return r?r.getBoundingBox(e):null}elementTransform(){var{document:e,element:r}=this;return Ms.fromElement(e,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function li(i,e,r,t,a,n){return i[r*t*4+e*4+n]}function hi(i,e,r,t,a,n,o){i[r*t*4+e*4+n]=o}function j(i,e,r){var t=i[e];return t*r}function we(i,e,r,t){return e+Math.cos(i)*r+Math.sin(i)*t}var xi=class extends B{constructor(e,r,t){super(e,r,t),this.type="feColorMatrix";var a=se(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var n=a[0];a=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=a[0]*Math.PI/180;a=[we(o,.213,.787,-.213),we(o,.715,-.715,-.715),we(o,.072,-.072,.928),0,0,we(o,.213,-.213,.143),we(o,.715,.285,.14),we(o,.072,-.072,-.283),0,0,we(o,.213,-.213,-.787),we(o,.715,-.715,.715),we(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,r,t,a,n){for(var{includeOpacity:o,matrix:s}=this,u=e.getImageData(0,0,a,n),l=0;l<n;l++)for(var h=0;h<a;h++){var c=li(u.data,h,l,a,n,0),v=li(u.data,h,l,a,n,1),f=li(u.data,h,l,a,n,2),g=li(u.data,h,l,a,n,3),p=j(s,0,c)+j(s,1,v)+j(s,2,f)+j(s,3,g)+j(s,4,1),y=j(s,5,c)+j(s,6,v)+j(s,7,f)+j(s,8,g)+j(s,9,1),m=j(s,10,c)+j(s,11,v)+j(s,12,f)+j(s,13,g)+j(s,14,1),O=j(s,15,c)+j(s,16,v)+j(s,17,f)+j(s,18,g)+j(s,19,1);o&&(p=0,y=0,m=0,O*=g/255),hi(u.data,h,l,a,n,0,p),hi(u.data,h,l,a,n,1,y),hi(u.data,h,l,a,n,2,m),hi(u.data,h,l,a,n,3,O)}e.clearRect(0,0,a,n),e.putImageData(u,0,0)}},RO=(()=>{class i extends B{constructor(){super(...arguments),this.type="mask"}apply(r,t){var{document:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var l=new oe;this.children.forEach(p=>{l.addBoundingBox(p.getBoundingBox(r))}),n=Math.floor(l.x1),o=Math.floor(l.y1),s=Math.floor(l.width),u=Math.floor(l.height)}var h=this.removeStyles(t,i.ignoreStyles),c=a.createCanvas(n+s,o+u),v=c.getContext("2d");a.screen.setDefaults(v),this.renderChildren(v),new xi(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(v,0,0,n+s,o+u);var f=a.createCanvas(n+s,o+u),g=f.getContext("2d");a.screen.setDefaults(g),t.render(g),g.globalCompositeOperation="destination-in",g.fillStyle=v.createPattern(c,"no-repeat"),g.fillRect(0,0,n+s,o+u),r.fillStyle=g.createPattern(f,"no-repeat"),r.fillRect(0,0,n+s,o+u),this.restoreStyles(t,h)}render(r){}}return i.ignoreStyles=["mask","transform","clip-path"],i})(),bg=()=>{},ws=class extends B{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:r}=this,t=Reflect.getPrototypeOf(e),{beginPath:a,closePath:n}=e;t&&(t.beginPath=bg,t.closePath=bg),Reflect.apply(a,e,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=Ms.fromElement(r,o)),s&&s.apply(e),o.path(e),t&&(t.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),t&&(t.beginPath=a,t.closePath=n)}render(e){}},NO=(()=>{class i extends B{constructor(){super(...arguments),this.type="filter"}apply(r,t){var{document:a,children:n}=this,o=t.getBoundingBox(r);if(o){var s=0,u=0;n.forEach(O=>{var x=O.extraFilterDistance||0;s=Math.max(s,x),u=Math.max(u,x)});var l=Math.floor(o.width),h=Math.floor(o.height),c=l+2*s,v=h+2*u;if(!(c<1||v<1)){var f=Math.floor(o.x),g=Math.floor(o.y),p=this.removeStyles(t,i.ignoreStyles),y=a.createCanvas(c,v),m=y.getContext("2d");a.screen.setDefaults(m),m.translate(-f+s,-g+u),t.render(m),n.forEach(O=>{typeof O.apply=="function"&&O.apply(m,0,0,c,v)}),r.drawImage(y,0,0,c,v,f-s,g-u,c,v),this.restoreStyles(t,p)}}}render(r){}}return i.ignoreStyles=["filter","transform","clip-path"],i})(),Cs=class extends B{constructor(e,r,t){super(e,r,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,r,t,a,n){}},qs=class extends B{constructor(){super(...arguments),this.type="feMorphology"}apply(e,r,t,a,n){}},As=class extends B{constructor(){super(...arguments),this.type="feComposite"}apply(e,r,t,a,n){}},Ps=class extends B{constructor(e,r,t){super(e,r,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,r,t,a,n){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),u&&(l.style.display="none",u.appendChild(l)),ng(l,r,t,a,n,s),u&&u.removeChild(l)}},Rs=class extends B{constructor(){super(...arguments),this.type="title"}},Ns=class extends B{constructor(){super(...arguments),this.type="desc"}},IO={svg:Ye,rect:yi,circle:is,ellipse:as,line:ns,polyline:mi,polygon:ss,path:F,pattern:os,marker:us,defs:ls,linearGradient:hs,radialGradient:cs,stop:fs,animate:Zr,animateColor:vs,animateTransform:gs,font:ds,"font-face":ps,"missing-glyph":ys,glyph:di,text:He,tspan:pi,tref:ms,a:bs,textPath:xs,image:Ts,g:Kr,symbol:Os,style:PO,use:Es,mask:RO,clipPath:ws,filter:NO,feDropShadow:Cs,feMorphology:qs,feComposite:As,feColorMatrix:xi,feGaussianBlur:Ps,title:Rs,desc:Ns};function xg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function MO(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xg(Object(r),!0).forEach(function(t){ti(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):xg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}function VO(i,e){var r=document.createElement("canvas");return r.width=i,r.height=e,r}function _O(i){return Is.apply(this,arguments)}function Is(){return Is=xe(function*(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=document.createElement("img");return e&&(r.crossOrigin="Anonymous"),new Promise((t,a)=>{r.onload=()=>{t(r)},r.onerror=(n,o,s,u,l)=>{a(l)},r.src=i})}),Is.apply(this,arguments)}var DO=(()=>{class i{constructor(r){var{rootEmSize:t=12,emSize:a=12,createCanvas:n=i.createCanvas,createImage:o=i.createImage,anonymousCrossOrigin:s}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=r,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=t,this.emSize=a,this.createCanvas=n,this.createImage=this.bindCreateImage(o,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(r,t){return typeof t=="boolean"?(a,n)=>r(a,typeof n=="boolean"?n:t):r}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:r}=this;return r[r.length-1]}set emSize(r){var{emSizeStack:t}=this;t.push(r)}popEmSize(){var{emSizeStack:r}=this;r.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(r=>r.loaded)}isFontsLoaded(){return this.fonts.every(r=>r.loaded)}createDocumentElement(r){var t=this.createElement(r.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(r){var t=r.nodeName.replace(/^[^:]+:/,""),a=i.elementTypes[t];return typeof a<"u"?new a(this,r):new rs(this,r)}createTextNode(r){return new ts(this,r)}setViewBox(r){this.screen.setViewBox(MO({document:this},r))}}return i.createCanvas=VO,i.createImage=_O,i.elementTypes=IO,i})();function Tg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function Ge(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Tg(Object(r),!0).forEach(function(t){ti(i,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):Tg(Object(r)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(r,t))})}return i}var Og=class i{constructor(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Qr(t),this.screen=new Sg(e,t),this.options=t;var a=new DO(this,t),n=a.createDocumentElement(r);this.document=a,this.documentElement=n}static from(e,r){var t=arguments;return xe(function*(){var a=t.length>2&&t[2]!==void 0?t[2]:{},n=new Qr(a),o=yield n.parse(r);return new i(e,o,a)})()}static fromString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=new Qr(t),n=a.parseFromString(r);return new i(e,n,t)}fork(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.from(e,r,Ge(Ge({},this.options),t))}forkString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.fromString(e,r,Ge(Ge({},this.options),t))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,r=this;return xe(function*(){var t=e.length>0&&e[0]!==void 0?e[0]:{};r.start(Ge({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),yield r.ready(),r.stop()})()}start(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:r,screen:t,options:a}=this;t.start(r,Ge(Ge({enableRedraw:!0},a),e))}stop(){this.screen.stop()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,r,t)}};export{bs as AElement,vs as AnimateColorElement,Zr as AnimateElement,gs as AnimateTransformElement,oe as BoundingBox,lg as CB1,hg as CB2,cg as CB3,fg as CB4,Og as Canvg,is as CircleElement,ws as ClipPathElement,ls as DefsElement,Ns as DescElement,DO as Document,B as Element,as as EllipseElement,xi as FeColorMatrixElement,As as FeCompositeElement,Cs as FeDropShadowElement,Ps as FeGaussianBlurElement,qs as FeMorphologyElement,NO as FilterElement,yr as Font,ds as FontElement,ps as FontFaceElement,Kr as GElement,di as GlyphElement,bi as GradientElement,Ts as ImageElement,ns as LineElement,hs as LinearGradientElement,us as MarkerElement,RO as MaskElement,vi as Matrix,ys as MissingGlyphElement,Wn as Mouse,pr as PSEUDO_ZERO,Qr as Parser,F as PathElement,q as PathParser,os as PatternElement,$ as Point,ss as PolygonElement,mi as PolylineElement,w as Property,vg as QB1,gg as QB2,dg as QB3,cs as RadialGradientElement,yi as RectElement,Ce as RenderedElement,Kn as Rotate,Ye as SVGElement,Ss as SVGFontLoader,Zn as Scale,Sg as Screen,gi as Skew,Jn as SkewX,es as SkewY,fs as StopElement,PO as StyleElement,Os as SymbolElement,ms as TRefElement,pi as TSpanElement,He as TextElement,xs as TextPathElement,Rs as TitleElement,Ms as Transform,Qn as Translate,rs as UnknownElement,Es as UseElement,Xn as ViewPort,mr as compressSpaces,Og as default,bO as getSelectorSpecificity,hO as normalizeAttributeName,cO as normalizeColor,sg as parseExternalUrl,MC as presets,se as toNumbers,oO as trimLeft,uO as trimRight,og as vectorMagnitude,ug as vectorsAngle,Yn as vectorsRatio};
|
|
6
|
+
/*! Bundled license information:
|
|
7
|
+
|
|
8
|
+
svg-pathdata/lib/SVGPathData.module.js:
|
|
9
|
+
(*! *****************************************************************************
|
|
10
|
+
Copyright (c) Microsoft Corporation.
|
|
11
|
+
|
|
12
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
13
|
+
purpose with or without fee is hereby granted.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
16
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
17
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
18
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
19
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
+
***************************************************************************** *)
|
|
23
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as F}from"./chunk-ZW5NV4UO.js";var K=F((x,O)=>{(function(g,c){typeof x=="object"&&typeof O=="object"?O.exports=c(g._Highcharts):typeof define=="function"&&define.amd?define("highcharts/modules/pattern-fill",["highcharts/highcharts"],function(w){return c(w)}):typeof x=="object"?x["highcharts/modules/pattern-fill"]=c(g._Highcharts):g.Highcharts=c(g.Highcharts)})("u"<typeof window?x:window,g=>(()=>{"use strict";let c,w;var _,u,L,j={944:t=>{t.exports=g}},C={};function s(t){var e=C[t];if(e!==void 0)return e.exports;var r=C[t]={exports:{}};return j[t](r,r.exports,s),r.exports}s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var I={};s.d(I,{default:()=>J});var P=s(944),m=s.n(P);let{animObject:B}=m(),{getOptions:D}=m(),{addEvent:d,defined:U,erase:V,extend:k,merge:R,pick:M,removeEvent:W,wrap:N}=m(),A=(function(){let t=[],e=D().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r++],width:10,height:10});return t})();function T(t,e){let r=JSON.stringify(t),i=r.length||0,o=0,a=0,h;if(e){h=Math.max(Math.floor(i/500),1);for(let n=0;n<i;n+=h)o+=r.charCodeAt(n);o&=o}for(;a<i;++a)o=(o<<5)-o+r.charCodeAt(a),o&=o;return o.toString(16).replace("-","1")}function Y(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&t.indexOf("highcharts-pattern-")===0).length){for(let t of this.series)if(t.visible)for(let e of t.points){let r=e.options&&e.options.color;r&&r.pattern&&(r.pattern._width="defer",r.pattern._height="defer")}this.redraw(!1)}}function X(){let t={},e=this.renderer,r=(e.defIds||[]).filter(i=>i.indexOf&&i.indexOf("highcharts-pattern-")===0);if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),o=>{let a=o.getAttribute("fill")||o.getAttribute("color")||o.getAttribute("stroke");a&&(t[a.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&(V(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}function z(){let t=this.options.color;t&&t.pattern&&(typeof t.pattern.path=="string"&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=R(this.series.options.color,t))}function G(t){let e=t.args[0],r=t.args[1],i=t.args[2],o=this.chartIndex||0,a=e.pattern,h="#333333";if(e.patternIndex!==void 0&&A&&(a=A[e.patternIndex]),!a)return!0;if(a.image||typeof a.path=="string"||a.path&&a.path.d){let n=i.parentNode&&i.parentNode.getAttribute("class");n=n&&n.indexOf("highcharts-legend")>-1,(a._width==="defer"||a._height==="defer")&&S.call({graphic:{element:i}},a),(n||!a.id)&&((a=R({},a)).id="highcharts-pattern-"+o+"-"+T(a)+T(a,!0)),this.addPattern(a,!this.forExport&&M(a.animation,this.globalAnimation,{duration:100})),h=`url(${this.url}#${a.id+(this.forExport?"-export":"")})`}else h=a.color||h;return i.setAttribute(r,h),e.toString=function(){return h},!1}function Z(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}function S(t){if(t.width&&t.height)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let i=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;U(i)&&i<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}function $(t,e){let r=M(e,!0),i=B(r),o=t.color||"#333333",a=t.height||(typeof t._height=="number"?t._height:0)||32,h=v=>this.rect(0,0,n,a).attr({fill:v}).add(l),n=t.width||(typeof t._width=="number"?t._width:0)||32,y,p=t.id,f;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(p)>-1)return;this.defIds.push(p);let E={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:n,height:a,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(E.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(E.patternTransform=t.patternTransform);let l=this.createElement("pattern").attr(E).add(this.defs);return l.id=p,t.path?(f=m().isObject(t.path)?t.path:{d:t.path},t.backgroundColor&&h(t.backgroundColor),y={d:f.d},this.styledMode||(y.stroke=f.stroke||o,y["stroke-width"]=M(f.strokeWidth,2),y.fill=f.fill||"none"),f.transform&&(y.transform=f.transform),this.createElement("path").attr(y).add(l),l.color=o):t.image&&(r?this.image(t.image,0,0,n,a,function(){this.animate({opacity:M(t.opacity,1)},i),W(this.element,"load")}).attr({opacity:0}).add(l):this.image(t.image,0,0,n,a).add(l)),t.image&&r||t.opacity===void 0||[].forEach.call(l.element.childNodes,v=>{v.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=l,l}function q(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function H(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(r){return!!r.graphic&&(r.graphic.element.hasAttribute("fill")||r.graphic.element.hasAttribute("color")||r.graphic.element.hasAttribute("stroke"))&&!r.options.color?.pattern?.image&&!!r.group?.scaleX&&!!r.group?.scaleY}).map(function(r){return{id:(r.graphic?.element.getAttribute("fill")||r.graphic?.element.getAttribute("color")||r.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:r.group?.scaleX||1,y:r.group?.scaleY||1}}).filter(function(r,i,o){return r.id!==""&&r.id.indexOf("highcharts-pattern-")!==-1&&!o.some(function(a,h){return a.id===r.id&&h<i})}).forEach(function(r){let i=r.id;e[i].scaleX=1/r.x,e[i].scaleY=1/r.y,e[i].updateTransform("patternTransform")})}let b=m();b.patterns=A,_=b.Chart,u=b.Series,L=b.SVGRenderer,(w=(c=u.prototype.pointClass).prototype).calculatePatternDimensions||(d(_,"endResize",Y),d(_,"redraw",X),k(w,{calculatePatternDimensions:S}),d(c,"afterInit",z),d(u,"render",Z),N(u.prototype,"getColor",q),d(u,"afterRender",H),d(u,"mapZoomComplete",H),k(L.prototype,{addPattern:$}),d(L,"complexColor",G));let J=m();return I.default})())});export default K();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-BTDKTIE6.js";import"./chunk-ZW5NV4UO.js";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-6B33KNVC.js";import"./chunk-JXQ2DURN.js";import"./chunk-JP5QY5S6.js";import"./chunk-F6ZDDRJ7.js";import"./chunk-FK6H3RFT.js";import"./chunk-BTDKTIE6.js";import"./chunk-5CTM6JVQ.js";import"./chunk-ZW5NV4UO.js";export{a as DVZ_ASK_TAG,b as defineDvzAsk};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as J}from"./chunk-ZW5NV4UO.js";var K=J((x,H)=>{(function(a,w){typeof x=="object"&&typeof H=="object"?H.exports=w(a._Highcharts,a._Highcharts.SeriesRegistry,a._Highcharts.SVGRenderer):typeof define=="function"&&define.amd?define("highcharts/modules/dumbbell",["highcharts/highcharts"],function(C){return w(C,C.SeriesRegistry,C.SVGRenderer)}):typeof x=="object"?x["highcharts/modules/dumbbell"]=w(a._Highcharts,a._Highcharts.SeriesRegistry,a._Highcharts.SVGRenderer):a.Highcharts=w(a.Highcharts,a.Highcharts.SeriesRegistry,a.Highcharts.SVGRenderer)})("u"<typeof window?x:window,(a,w,C)=>(()=>{"use strict";var O={512:e=>{e.exports=w},540:e=>{e.exports=C},944:e=>{e.exports=a}},G={};function h(e){var t=G[e];if(t!==void 0)return t.exports;var o=G[e]={exports:{}};return O[e](o,o.exports,h),o.exports}h.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return h.d(t,{a:t}),t},h.d=(e,t)=>{for(var o in t)h.o(t,o)&&!h.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A={};h.d(A,{default:()=>F});var V=h(944),S=h.n(V),I=h(512),X=h.n(I);let{area:{prototype:{pointClass:D,pointClass:{prototype:v}}}}=X().seriesTypes,{defined:L,isNumber:m}=S(),R=class extends D{setState(){let e=this.state,t=this.series,o=t.chart.polar;L(this.plotHigh)||(this.plotHigh=t.yAxis.toPixels(this.high,!0)),L(this.plotLow)||(this.plotLow=this.plotY=t.yAxis.toPixels(this.low,!0)),t.lowerStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,o&&m(this.plotHighX)&&(this.plotX=this.plotHighX),v.setState.apply(this,arguments),this.state=e,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],o&&m(this.plotLowX)&&(this.plotX=this.plotLowX),t.upperStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.lowerStateMarkerGraphic,t.lowerStateMarkerGraphic=void 0;let r=t.modifyMarkerSettings();v.setState.apply(this,arguments),t.restoreMarkerSettings(r)}haloPath(){let e=this.series.chart.polar,t=[];return this.plotY=this.plotLow,e&&m(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(t=v.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,e&&m(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(t=t.concat(v.haloPath.apply(this,arguments))),t}isValid(){return m(this.low)&&m(this.high)}},{extend:T,pick:W}=S();class _ extends R{setState(){let t=this.series,o=t.chart,r=t.options.lowColor,i=t.options.marker,n=t.options.lowMarker,l=this.options,s=l.lowColor,y=this.zone&&this.zone.color,d=W(s,n?.fillColor,r,l.color,y,this.color,t.color),g="attr",f,k;if(this.pointSetState.apply(this,arguments),!this.state){g="animate";let[c,u]=this.graphics||[];c&&!o.styledMode&&(c.attr({fill:d}),u&&(k={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,f=W(this.marker?this.marker.fillColor:void 0,i?i.fillColor:void 0,l.color,this.zone?this.zone.color:void 0,this.color),u.attr({fill:f}),T(this,k)))}this.connector?.[g](t.getConnectorAttribs(this))}destroy(){return this.graphic||(this.graphic=this.connector,this.connector=void 0),super.destroy()}}T(_.prototype,{pointSetState:R.prototype.setState});var Z=h(540),B=h.n(Z);let{noop:N}=S(),{arearange:M,column:b,columnrange:q}=X().seriesTypes,{extend:Y,merge:E,pick:p}=S();class z extends M{getConnectorAttribs(t){let o=this.chart,r=t.options,i=this.options,n=this.xAxis,l=this.yAxis,s=p(i.states&&i.states.hover&&i.states.hover.connectorWidthPlus,1),y=p(r.dashStyle,i.dashStyle),d=l.toPixels(i.threshold||0,!0),g=o.inverted?l.len-d:d,f=p(r.connectorWidth,i.connectorWidth),k=p(r.connectorColor,i.connectorColor,r.color,t.zone?t.zone.color:void 0,t.color),c=p(t.plotLow,t.plotY),u=p(t.plotHigh,g),j;if(typeof c!="number")return{};t.state&&(f+=s),c<0?c=0:c>=l.len&&(c=l.len),u<0?u=0:u>=l.len&&(u=l.len),(t.plotX<0||t.plotX>n.len)&&(f=0),t.graphics&&t.graphics[1]&&(j={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,k=p(r.connectorColor,i.connectorColor,r.color,t.zone?t.zone.color:void 0,t.color),Y(t,j));let P={d:B().prototype.crispLine([["M",t.plotX,c],["L",t.plotX,u]],f)};return!o.styledMode&&(P.stroke=k,P["stroke-width"]=f,y&&(P.dashstyle=y)),P}drawConnector(t){let o=p(this.options.animationLimit,250),r=t.connector&&this.chart.pointCount<o?"animate":"attr";t.connector||(t.connector=this.chart.renderer.path().addClass("highcharts-lollipop-stem").attr({zIndex:-1}).add(this.group)),t.connector[r](this.getConnectorAttribs(t))}getColumnMetrics(){let t=b.prototype.getColumnMetrics.apply(this,arguments);return t.offset+=t.width/2,t}translate(){let t=this.chart.inverted;for(let o of(this.setShapeArgs.apply(this),this.translatePoint.apply(this,arguments),this.points)){let{pointWidth:r,shapeArgs:i={},tooltipPos:n}=o;o.plotX=i.x||0,i.x=o.plotX-r/2,n&&(t?n[1]=this.xAxis.len-o.plotX:n[0]=o.plotX)}this.columnMetrics.offset-=this.columnMetrics.width/2}drawPoints(){let t=this.chart,o=this.points.length,r=this.lowColor=this.options.lowColor,i=this.options.lowMarker,n=0,l,s,y;for(this.seriesDrawPoints.apply(this,arguments);n<o;){let[d,g]=(s=this.points[n]).graphics||[];this.drawConnector(s),g&&(g.element.point=s,g.addClass("highcharts-lollipop-high")),s.connector&&(s.connector.element.point=s),d&&(y=s.zone&&s.zone.color,l=p(s.options.lowColor,i?.fillColor,r,s.options.color,y,s.color,this.color),t.styledMode||d.attr({fill:l}),d.addClass("highcharts-lollipop-low")),n++}}pointAttribs(t,o){let r=super.pointAttribs.apply(this,arguments);return o==="hover"&&delete r.fill,r}setShapeArgs(){b.prototype.translate.apply(this),q.prototype.afterColumnTranslate.apply(this)}}z.defaultOptions=E(M.defaultOptions,{trackByArea:!1,fillColor:"none",lineWidth:0,pointRange:1,connectorWidth:1,stickyTracking:!1,groupPadding:.2,crisp:!1,pointPadding:.1,legendSymbol:"rectangle",lowColor:"#333333",states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}}}),Y(z.prototype,{crispCol:b.prototype.crispCol,drawGraph:N,drawTracker:b.prototype.drawTracker,pointClass:_,seriesDrawPoints:M.prototype.drawPoints,trackerGroups:["group","markerGroup","dataLabelsGroup"],translatePoint:M.prototype.translate}),X().registerSeriesType("dumbbell",z);let F=S();return A.default})())});export default K();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as U}from"./chunk-ZW5NV4UO.js";var V=U((D,E)=>{(function(l,f){typeof D=="object"&&typeof E=="object"?E.exports=f(l._Highcharts,l._Highcharts.Series,l._Highcharts.SeriesRegistry):typeof define=="function"&&define.amd?define("highcharts/modules/histogram-bellcurve",["highcharts/highcharts"],function(m){return f(m,m.Series,m.SeriesRegistry)}):typeof D=="object"?D["highcharts/modules/histogram-bellcurve"]=f(l._Highcharts,l._Highcharts.Series,l._Highcharts.SeriesRegistry):l.Highcharts=f(l.Highcharts,l.Highcharts.Series,l.Highcharts.SeriesRegistry)})("u"<typeof window?D:window,(l,f,m)=>(()=>{"use strict";var x,_={512:i=>{i.exports=m},820:i=>{i.exports=f},944:i=>{i.exports=l}},R={};function h(i){var t=R[i];if(t!==void 0)return t.exports;var e=R[i]={exports:{}};return _[i](e,e.exports,h),e.exports}h.n=i=>{var t=i&&i.__esModule?()=>i.default:()=>i;return h.d(t,{a:t}),t},h.d=(i,t)=>{for(var e in t)h.o(t,e)&&!h.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:t[e]})},h.o=(i,t)=>Object.prototype.hasOwnProperty.call(i,t);var w={};h.d(w,{default:()=>K});var T=h(944),b=h.n(T),W=h(820),j=h.n(W);let{noop:k}=b(),{addEvent:M,defined:C}=b();(function(i){function t(){j().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function e(){let o=this.chart,a=this.options.baseSeries,c=C(a)&&(o.series[a]||o.get(a));this.baseSeries=c||null}function s(){this.eventRemovers.push(M(this.chart,"afterLinkSeries",()=>{this.setBaseSeries(),this.baseSeries&&!this.initialised&&(this.setDerivedData(),this.addBaseSeriesEvents(),this.initialised=!0)}))}function n(){this.eventRemovers.push(M(this.baseSeries,"updatedData",()=>{this.setDerivedData()}),M(this.baseSeries,"destroy",()=>{this.baseSeries=null,this.initialised=!1}))}function r(){this.eventRemovers.forEach(o=>{o()}),j().prototype.destroy.apply(this,arguments)}i.hasDerivedData=!0,i.setDerivedData=k,i.compose=function(o){let a=o.prototype;return a.addBaseSeriesEvents=n,a.addEvents=s,a.destroy=r,a.init=t,a.setBaseSeries=e,o},i.init=t,i.setBaseSeries=e,i.addEvents=s,i.addBaseSeriesEvents=n,i.destroy=r})(x||(x={}));let q=x;var L=h(512),S=h.n(L);let{column:B}=S().seriesTypes,{arrayMax:z,arrayMin:G,correctFloat:p,isNumber:H,merge:A}=b(),P={"square-root":function(i){return Math.ceil(Math.sqrt(i.length))},sturges:function(i){return Math.ceil(Math.log(i.length)*Math.LOG2E)},rice:function(i){return Math.ceil(2*Math.pow(i.length,1/3))}};class O extends B{binsNumber(t){let e=this.options.binsNumber,s=P[e]||typeof e=="function"&&e;return Math.ceil(s&&s(t)||(H(e)?e:P["square-root"](t)))}setData(t,e=!0,s,n){let r;t!==void 0&&t.length>0&&(r=this.derivedData(t.filter(H),this.binsNumber(t),this.options.binWidth)),super.setData.call(this,r,e,s,n)}derivedData(t,e,s){var n;let r,o=p(z(t)),a=p(G(t)),c=[],u={},g=[];for(s=this.binWidth=p(H(s)?s||1:(o-a)/e),this.options.pointRange=Math.max(s,0),r=a;r<o&&(this.userOptions.binWidth||p(o-r)>=s||0>=p(p(a+c.length*s)-r));r=p(r+s))c.push(r),u[r]=0;u[a]!==0&&(c.push(a),u[a]=0);let Q=(n=c.map(d=>parseFloat(d)),function(d){let y=1;for(;n[y]<=d;)y++;return n[--y]});for(let d of t)u[p(Q(d))]++;for(let d of Object.keys(u))g.push({x:Number(d),y:u[d],x2:p(Number(d)+s)});return g.sort((d,y)=>d.x-y.x),g[g.length-1].x2=o,g}setDerivedData(){let t=this.baseSeries?.getColumn("y");t?.length?this.setData(t,!1,void 0,!1):this.setData([])}}O.defaultOptions=A(B.defaultOptions,{binsNumber:"square-root",binWidth:void 0,pointPadding:0,groupPadding:0,grouping:!1,pointPlacement:"between",tooltip:{headerFormat:"",pointFormat:'<span style="font-size: 0.8em">{point.x} - {point.x2}</span><br/><span style="color:{point.color}">\u25CF</span> {series.name} <b>{point.y}</b><br/>'}}),q.compose(O),S().registerSeriesType("histogram",O);let{areaspline:F}=S().seriesTypes,{correctFloat:I,isNumber:N,merge:J}=b();class v extends F{static mean(t){let e=t.length,s=t.reduce(function(n,r){return n+r},0);return e>0&&s/e}static standardDeviation(t,e){let s=t.length;e=N(e)?e:v.mean(t);let n=t.reduce((r,o)=>{let a=o-e;return r+a*a},0);return s>1&&Math.sqrt(n/(s-1))}static normalDensity(t,e,s){let n=t-e;return Math.exp(-(n*n)/(2*s*s))/(s*Math.sqrt(2*Math.PI))}setData(t,e=!0,s,n){let r;t!==void 0&&t.length>0&&(t=t.filter(N),this.setMean(t),this.setStandardDeviation(t),r=this.derivedData(this.mean||0,this.standardDeviation||0)),super.setData.call(this,r,e,s,n)}derivedData(t,e){let s=this.options,n=s.intervals,r=s.pointsInInterval,o=n*r*2+1,a=e/r,c=[],u=t-n*e;for(let g=0;g<o;g++)c.push([u,v.normalDensity(u,t,e)]),u+=a;return c}setDerivedData(){this.baseSeries?.getColumn("y").length&&this.setData(this.baseSeries?.getColumn("y"),!1,void 0,!1)}setMean(t){this.mean=I(v.mean(t||[]))}setStandardDeviation(t){this.standardDeviation=I(v.standardDeviation(t||[],this.mean))}}v.defaultOptions=J(F.defaultOptions,{intervals:3,pointsInInterval:3,marker:{enabled:!1}}),q.compose(v),S().registerSeriesType("bellcurve",v);let K=b();return w.default})())});export default V();
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{e as he}from"./chunk-ZW5NV4UO.js";var ce=he((N,K)=>{(function(M,P){typeof N=="object"&&typeof K=="object"?K.exports=P(M._Highcharts,M._Highcharts.SeriesRegistry):typeof define=="function"&&define.amd?define("highcharts/modules/tiledwebmap",["highcharts/highcharts"],function(I){return P(I,I.SeriesRegistry)}):typeof N=="object"?N["highcharts/modules/tiledwebmap"]=P(M._Highcharts,M._Highcharts.SeriesRegistry):M.Highcharts=P(M.Highcharts,M.Highcharts.SeriesRegistry)})("u"<typeof window?N:window,(M,P)=>(()=>{"use strict";var I={512:p=>{p.exports=P},944:p=>{p.exports=M}},Y={};function u(p){var r=Y[p];if(r!==void 0)return r.exports;var t=Y[p]={exports:{}};return I[p](t,t.exports,u),t.exports}u.n=p=>{var r=p&&p.__esModule?()=>p.default:()=>p;return u.d(r,{a:r}),r},u.d=(p,r)=>{for(var t in r)u.o(r,t)&&!u.o(p,t)&&Object.defineProperty(p,t,{enumerable:!0,get:r[t]})},u.o=(p,r)=>Object.prototype.hasOwnProperty.call(p,r);var F={};u.d(F,{default:()=>ne});var ee=u(944),L=u.n(ee);let W={Esri:class{constructor(){this.defaultCredits="Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012",this.initialProjectionName="WebMercator",this.themes={WorldStreetMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},DeLorme:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}",minZoom:1,maxZoom:11,credits:"Tiles © Esri — Copyright: ©2012 DeLorme"},WorldTopoMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"},WorldImagery:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20,credits:"Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"},WorldTerrain:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: USGS, Esri, TANA, DeLorme, and NPS"},WorldShadedRelief:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:13,credits:"Tiles © Esri — Source: Esri"},WorldPhysical:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:8,credits:"Tiles © Esri — Source: US National Park Service"},NatGeoWorldMap:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"},WorldGrayCanvas:{url:"https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:16,credits:"Tiles © Esri — Esri, DeLorme, NAVTEQ"}}}},LimaLabs:class{constructor(){this.defaultCredits='Map data ©2023 <a href="https://maps.lima-labs.com/">LimaLabs</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.themes={Standard:{url:"https://cdn.lima-labs.com/{zoom}/{x}/{y}.png?api={apikey}",minZoom:0,maxZoom:20}}}},OpenStreetMap:class{constructor(){this.defaultCredits='Map data ©2023 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',this.initialProjectionName="WebMercator",this.subdomains=["a","b","c"],this.themes={Standard:{url:"https://tile.openstreetmap.org/{zoom}/{x}/{y}.png",minZoom:0,maxZoom:19},Hot:{url:"https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",minZoom:0,maxZoom:19},OpenTopoMap:{url:"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",minZoom:0,maxZoom:17,credits:`Map data: © <a href="https://www.openstreetmap.org/copyright">
|
|
2
|
+
OpenStreetMap</a> contributors, <a href="https://viewfinderpanoramas.org">SRTM</a>
|
|
3
|
+
| Map style: © <a href="https://opentopomap.org">OpenTopoMap</a>
|
|
4
|
+
(<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)`}}}},Stamen:class{constructor(){this.defaultCredits='© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>',this.initialProjectionName="WebMercator",this.subdomains=["a","b","c","d"],this.themes={Toner:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},TonerLite:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png",minZoom:0,maxZoom:20},Terrain:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},TerrainBackground:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain-background/{z}/{x}/{y}.png",minZoom:0,maxZoom:18},Watercolor:{url:"https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png",minZoom:1,maxZoom:16,credits:'© Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>'}}}},Thunderforest:class{constructor(){this.defaultCredits='Maps © <a href="https://www.thunderforest.com">Thunderforest</a>, Data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',this.initialProjectionName="WebMercator",this.requiresApiKey=!0,this.subdomains=["a","b","c"],this.themes={OpenCycleMap:{url:"https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Transport:{url:"https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},TransportDark:{url:"https://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},SpinalMap:{url:"https://{s}.tile.thunderforest.com/spinal-map/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Landscape:{url:"https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Outdoors:{url:"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Pioneer:{url:"https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},MobileAtlas:{url:"https://{s}.tile.thunderforest.com/mobile-atlas/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22},Neighbourhood:{url:"https://{s}.tile.thunderforest.com/neighbourhood/{z}/{x}/{y}.png?apikey={apikey}",minZoom:0,maxZoom:22}}}},USGS:class{constructor(){this.defaultCredits='Tiles courtesy of the <a href="https://usgs.gov/">U.S. GeologicalSurvey</a>',this.initialProjectionName="WebMercator",this.themes={USTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImagery:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20},USImageryTopo:{url:"https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}",minZoom:0,maxZoom:20}}}}};var te=u(512),X=u.n(te);let{composed:oe}=L(),{map:q}=X().seriesTypes,{addEvent:re,defined:g,error:Z,merge:ie,pick:E,pushUnique:se}=L();function ae(p){let{geoBounds:r,chart:t}=p,e=(t.options.series||[]).filter(c=>c.type==="tiledwebmap")[0];if(e&&e.provider&&e.provider.type&&!e.provider.url){let c=W[e.provider.type];if(g(c)){let{initialProjectionName:n}=new c;if(r){let{x1:i,y1:b,x2:k,y2:C}=r;this.recommendedMapView={projection:{name:n,parallels:[b,C],rotation:[-(i+k)/2]}}}else this.recommendedMapView={projection:{name:n},minZoom:0};return!1}Z("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}return!0}class $ extends q{constructor(){super(...arguments),this.redrawTiles=!1,this.isAnimating=!1}static compose(r){se(oe,"TiledWebMapSeries")&&re(r,"onRecommendMapView",ae)}lonLatToTile(r,t){let{lon:e,lat:c}=r;return{x:Math.floor((e+180)/360*Math.pow(2,t)),y:Math.floor((1-Math.log(Math.tan(c*Math.PI/180)+1/Math.cos(c*Math.PI/180))/Math.PI)/2*Math.pow(2,t))}}tileToLonLat(r,t,e){let c=r/Math.pow(2,e)*360-180,n=Math.PI-2*Math.PI*t/Math.pow(2,e);return{lon:c,lat:180/Math.PI*Math.atan(.5*(Math.exp(n)-Math.exp(-n)))}}drawPoints(){let r=this.chart,t=r.mapView;if(!t)return;let e=this.tiles=this.tiles||{},c=this.transformGroups=this.transformGroups||[],n=this,i=this.options.provider,{zoom:b}=t,k=E(t.projection.options.rotation&&t.projection.options.rotation[0],0),C=200*!r.renderer.forExport,R=s=>{for(let o of Object.keys(e))parseFloat(o)===(t.zoom<0?0:Math.floor(t.zoom))||n.minZoom&&(t.zoom<0?0:Math.floor(t.zoom))<n.minZoom&&parseFloat(o)===n.minZoom||n.maxZoom&&(t.zoom<0?0:Math.floor(t.zoom))>n.maxZoom&&parseFloat(o)===n.maxZoom?Object.keys(e[o].tiles).forEach((l,a)=>{e[o].tiles[l].animate({opacity:1},{duration:s},()=>{a===Object.keys(e[o].tiles).length-1&&(e[o].isActive=!0)})}):Object.keys(e[o].tiles).forEach((l,a)=>{e[o].tiles[l].animate({opacity:0},{duration:s,defer:s/2},()=>{e[o].tiles[l].destroy(),delete e[o].tiles[l],a===Object.keys(e[o].tiles).length-1&&(e[o].isActive=!1,e[o].loaded=!1)})})},m=b<0?0:Math.floor(b),z=Math.pow(2,m),D=.638436911716859*Math.pow(2,b)/(.638436911716859*Math.pow(2,m)),w=256*D;if(i&&(i.type||i.url)){if(i.type&&!i.url){let s=W[i.type];if(!g(s))return void Z("Highcharts warning: Tiles Provider '"+i.type+"' not defined in the ProviderRegistry.",!1);let o=new s,l=o.initialProjectionName,a,f="";if(i.theme&&g(o.themes[i.theme]))a=o.themes[i.theme];else{let T=Object.keys(o.themes)[0];a=o.themes[T],Z("Highcharts warning: The Tiles Provider's Theme '"+i.theme+"' is not defined in the Provider definition - falling back to '"+T+"'.",!1)}i.subdomain&&o.subdomains&&o.subdomains.indexOf(i.subdomain)!==-1?f=i.subdomain:g(o.subdomains)&&a.url.indexOf("{s}")!==-1&&(f=E(o.subdomains&&o.subdomains[0],""),Z("Highcharts warning: The Tiles Provider's Subdomain '"+i.subdomain+"' is not defined in the Provider definition - falling back to '"+f+"'.",!1)),o.requiresApiKey&&(i.apiKey?a.url=a.url.replace("{apikey}",i.apiKey):(Z("Highcharts warning: The Tiles Provider requires API Key to use tiles, use provider.apiKey to provide a token.",!1),a.url=a.url.replace("?apikey={apikey}",""))),i.url=a.url.replace("{s}",f),this.minZoom=a.minZoom,this.maxZoom=a.maxZoom;let S=E(r.userOptions.credits&&r.userOptions.credits.text,"Highcharts.com "+E(a.credits,o.defaultCredits));r.credits?r.credits.update({text:S}):r.addCredits({text:S,style:E(r.options.credits?.style,{})}),t.projection.options.name!==l&&Z("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1)}else t.projection.options.name||Z("Highcharts warning: The set projection is different than supported by Tiles Provider.",!1);if(g(this.minZoom)&&m<this.minZoom?(z=Math.pow(2,m=this.minZoom),w=256*(D=.638436911716859*Math.pow(2,b)/(.638436911716859*Math.pow(2,m)))):g(this.maxZoom)&&m>this.maxZoom&&(z=Math.pow(2,m=this.maxZoom),w=256*(D=.638436911716859*Math.pow(2,b)/(.638436911716859*Math.pow(2,m)))),t.projection&&t.projection.def){t.projection.hasCoordinates=!0,c[m]||(c[m]=r.renderer.g().add(this.group));let s=(d,y,h,A,le)=>{let B=d%z,V=y%z,pe=B<0?B+z:B,me=V<0?V+z:V;if(!e[`${h}`].tiles[`${d},${y}`]&&i.url){let Q,J=(Q=i.url,Q.replace("{x}",pe.toString()).replace("{y}",me.toString()).replace("{zoom}",h.toString()).replace("{z}",h.toString()));e[h].loaded=!1,e[`${h}`].tiles[`${d},${y}`]=r.renderer.image(J,d*w-A,y*w-le,w,w).attr({zIndex:2,opacity:0}).on("load",function(){i.onload&&i.onload.apply(this),(h===(t.zoom<0?0:Math.floor(t.zoom))||h===n.minZoom)&&(e[`${h}`].actualTilesCount++,e[`${h}`].howManyTiles===e[`${h}`].actualTilesCount&&(e[h].loaded=!0,n.isAnimating?n.redrawTiles=!0:(n.redrawTiles=!1,R(C)),e[`${h}`].actualTilesCount=0))}).add(c[h]),e[`${h}`].tiles[`${d},${y}`].posX=d,e[`${h}`].tiles[`${d},${y}`].posY=y,e[`${h}`].tiles[`${d},${y}`].originalURL=J}},o=t.pixelsToProjectedUnits({x:0,y:0}),l=t.projection.def.inverse([o.x,o.y]),a={lon:l[0]-k,lat:l[1]},f=t.pixelsToProjectedUnits({x:r.plotWidth,y:r.plotHeight}),S=t.projection.def.inverse([f.x,f.y]),T={lon:S[0]-k,lat:S[1]};(a.lat>t.projection.maxLatitude||T.lat<-1*t.projection.maxLatitude)&&(a.lat=t.projection.maxLatitude,T.lat=-1*t.projection.maxLatitude);let x=this.lonLatToTile(a,m),j=this.lonLatToTile(T,m),G=this.tileToLonLat(x.x,x.y,m),O=t.projection.def.forward([G.lon+k,G.lat]),v=t.projectedUnitsToPixels({x:O[0],y:O[1]}),U=x.x*w-v.x,_=x.y*w-v.y;e[`${m}`]||(e[`${m}`]={tiles:{},isActive:!1,howManyTiles:0,actualTilesCount:0,loaded:!1}),e[`${m}`].howManyTiles=(j.x-x.x+1)*(j.y-x.y+1),e[`${m}`].actualTilesCount=0;for(let d=x.x;d<=j.x;d++)for(let y=x.y;y<=j.y;y++)s(d,y,m,U,_)}for(let s of Object.keys(e))for(let o of Object.keys(e[s].tiles))if(t.projection&&t.projection.def){let l=256*(.638436911716859*Math.pow(2,b)/(.638436911716859*Math.pow(2,parseFloat(s)))),a=e[s].tiles[Object.keys(e[s].tiles)[0]],{posX:f,posY:S}=e[s].tiles[o];if(g(f)&&g(S)&&g(a.posX)&&g(a.posY)){let T=this.tileToLonLat(a.posX,a.posY,parseFloat(s)),x=t.projection.def.forward([T.lon+k,T.lat]),j=t.projectedUnitsToPixels({x:x[0],y:x[1]}),G=a.posX*l-j.x,O=a.posY*l-j.y;if(r.renderer.globalAnimation&&r.hasRendered){let v=Number(e[s].tiles[o].attr("x")),U=Number(e[s].tiles[o].attr("y")),_=Number(e[s].tiles[o].attr("width")),d=Number(e[s].tiles[o].attr("height")),y=(h,A)=>{e[s].tiles[o].attr({x:v+(f*l-G-v)*A.pos,y:U+(S*l-O-U)*A.pos,width:_+(Math.ceil(l)+1-_)*A.pos,height:d+(Math.ceil(l)+1-d)*A.pos})};n.isAnimating=!0,e[s].tiles[o].attr({animator:0}).animate({animator:1},{step:y},function(){n.isAnimating=!1,n.redrawTiles&&(n.redrawTiles=!1,R(C))})}else(n.redrawTiles||parseFloat(s)!==m||(e[s].isActive||parseFloat(s)===m)&&Object.keys(e[s].tiles).map(v=>e[s].tiles[v]).some(v=>v.opacity===0))&&(n.redrawTiles=!1,R(C)),e[s].tiles[o].attr({x:f*l-G,y:S*l-O,width:Math.ceil(l)+1,height:Math.ceil(l)+1})}}}else Z("Highcharts warning: Tiles Provider not defined in the Provider Registry.",!1)}update(r){let{transformGroups:t}=this,e=this.chart,c=e.mapView,{provider:n}=r;if(t&&(t.forEach(i=>{Object.keys(i).length!==0&&i.destroy()}),this.transformGroups=[]),c&&!g(e.userOptions.mapView?.projection)&&n?.type){let i=W[n.type];i&&c.update({projection:{name:new i().initialProjectionName}})}super.update.apply(this,arguments)}}$.defaultOptions=ie(q.defaultOptions,{states:{inactive:{enabled:!1}}}),X().registerSeriesType("tiledwebmap",$);let H=L();H.TilesProviderRegistry=H.TilesProviderRegistry||W,$.compose(H.MapView);let ne=L();return F.default})())});export default ce();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as q}from"./chunk-ZW5NV4UO.js";var D=q((m,b)=>{(function(u,y){typeof m=="object"&&typeof b=="object"?b.exports=y(u._Highcharts,u._Highcharts.SeriesRegistry):typeof define=="function"&&define.amd?define("highcharts/modules/variable-pie",["highcharts/highcharts"],function(x){return y(x,x.SeriesRegistry)}):typeof m=="object"?m["highcharts/modules/variable-pie"]=y(u._Highcharts,u._Highcharts.SeriesRegistry):u.Highcharts=y(u.Highcharts,u.Highcharts.SeriesRegistry)})("u"<typeof window?m:window,(u,y)=>(()=>{"use strict";var x={512:i=>{i.exports=y},944:i=>{i.exports=u}},A={};function h(i){var e=A[i];if(e!==void 0)return e.exports;var t=A[i]={exports:{}};return x[i](t,t.exports,h),t.exports}h.n=i=>{var e=i&&i.__esModule?()=>i.default:()=>i;return h.d(e,{a:e}),e},h.d=(i,e)=>{for(var t in e)h.o(e,t)&&!h.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:e[t]})},h.o=(i,e)=>Object.prototype.hasOwnProperty.call(i,e);var H={};h.d(H,{default:()=>W});var _=h(944),I=h.n(_),j=h(512),R=h.n(j);let{pie:O}=R().seriesTypes,{arrayMax:T,arrayMin:V,clamp:C,extend:k,fireEvent:B,merge:N,pick:v}=I();class S extends O{calculateExtremes(){let e,t,l=this.chart,c=l.plotWidth,a=l.plotHeight,s=this.options,o=2*(s.slicedOffset||0),n=this.getColumn("z"),f=Math.min(c,a)-o,d={},g=this.center||this.getCenter();for(let p of["minPointSize","maxPointSize"]){let r=s[p],z=/%$/.test(r);r=parseInt(r,10),d[p]=z?f*r/100:2*r}this.minPxSize=g[3]+d.minPointSize,this.maxPxSize=C(g[2],g[3]+d.minPointSize,d.maxPointSize),n.length&&(e=v(s.zMin,V(n.filter(this.zValEval))),t=v(s.zMax,T(n.filter(this.zValEval))),this.getRadii(e,t,this.minPxSize,this.maxPxSize))}getRadii(e,t,l,c){let a,s,o,n=this.getColumn("z"),f=[],d=this.options.sizeBy!=="radius",g=t-e;for(let p=0;p<n.length;p++)(s=this.zValEval(n[p])?n[p]:e)<=e?o=l/2:s>=t?o=c/2:(a=g>0?(s-e)/g:.5,d&&(a=Math.sqrt(a)),o=Math.ceil(l+a*(c-l))/2),f.push(o);this.radii=f}redraw(){this.center=null,super.redraw()}getDataLabelPosition(e,t){let{center:l,options:c}=this,a=e.angle||0,s=this.radii[e.index],o=l[0]+Math.cos(a)*s,n=l[1]+Math.sin(a)*s,f=Math.min((c.slicedOffset||0)+(c.borderWidth||0),t/5);return{distance:t,natural:{x:o+Math.cos(a)*t,y:n+Math.sin(a)*t},computed:{},alignment:e.half?"right":"left",connectorPosition:{breakAt:{x:o+Math.cos(a)*f,y:n+Math.sin(a)*f},touchingSliceAt:{x:o,y:n}}}}translate(e){this.generatePoints();let t=this.options,l=t.slicedOffset,c=t.startAngle||0,a=Math.PI/180*(c-90),s=Math.PI/180*(v(t.endAngle,c+360)-90),o=s-a,n=this.points,f=t.ignoreHiddenPoint,d=0,g,p,r,z,w,M,E;this.startAngleRad=a,this.endAngleRad=s,this.calculateExtremes(),e||(this.center=e=this.getCenter());for(let P=0;P<n.length;P++)M=n[P],E=this.radii[P],g=a+d*o,(!f||M.visible)&&(d+=M.percentage/100),p=a+d*o,M.shapeType="arc",M.shapeArgs={x:e[0],y:e[1],r:E,innerR:e[3]/2,start:Math.round(1e3*g)/1e3,end:Math.round(1e3*p)/1e3},(r=(p+g)/2)>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),M.slicedTranslation={translateX:Math.round(Math.cos(r)*l),translateY:Math.round(Math.sin(r)*l)},z=Math.cos(r)*e[2]/2,w=Math.sin(r)*e[2]/2,M.tooltipPos=[e[0]+.7*z,e[1]+.7*w],M.half=+(r<-Math.PI/2||r>Math.PI/2),M.angle=r;B(this,"afterTranslate")}zValEval(e){return!(typeof e!="number"||isNaN(e))||null}}S.defaultOptions=N(O.defaultOptions,{minPointSize:"10%",maxPointSize:"100%",zMin:void 0,zMax:void 0,sizeBy:"area",tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}<br/>Value: {point.y}<br/>Size: {point.z}<br/>'}}),k(S.prototype,{pointArrayMap:["y","z"],parallelArrays:["x","y","z"]}),R().registerSeriesType("variablepie",S);let W=I();return H.default})())});export default D();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as ke}from"./chunk-ZW5NV4UO.js";var Oe=ke((V,K)=>{(function(v,R){typeof V=="object"&&typeof K=="object"?K.exports=R(v._Highcharts,v._Highcharts.SeriesRegistry):typeof define=="function"&&define.amd?define("highcharts/modules/funnel",["highcharts/highcharts"],function(z){return R(z,z.SeriesRegistry)}):typeof V=="object"?V["highcharts/modules/funnel"]=R(v._Highcharts,v._Highcharts.SeriesRegistry):v.Highcharts=R(v.Highcharts,v.Highcharts.SeriesRegistry)})("u"<typeof window?V:window,(v,R)=>(()=>{"use strict";var z={512:i=>{i.exports=R},944:i=>{i.exports=v}},Q={};function x(i){var t=Q[i];if(t!==void 0)return t.exports;var n=Q[i]={exports:{}};return z[i](n,n.exports,x),n.exports}x.n=i=>{var t=i&&i.__esModule?()=>i.default:()=>i;return x.d(t,{a:t}),t},x.d=(i,t)=>{for(var n in t)x.o(t,n)&&!x.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:t[n]})},x.o=(i,t)=>Object.prototype.hasOwnProperty.call(i,t);var ee={};x.d(ee,{default:()=>He});var oe=x(944),A=x.n(oe);let{defaultOptions:De}=A(),{noop:Ie}=A(),{addEvent:Se,extend:je,isObject:ne,merge:re,relativeLength:Ye}=A(),le={radius:0,scope:"stack",where:void 0};function he(i,t){return ne(i)||(i={radius:i||0}),re(le,t,i)}var pe=x(512),U=x.n(pe);let{composed:ce,noop:te}=A(),{column:ge,pie:$}=U().seriesTypes,{addEvent:ue,correctFloat:ye,extend:xe,fireEvent:fe,isArray:be,merge:Le,pick:me,pushUnique:ve,relativeLength:ie,splat:Me}=A(),We=U().series.prototype.alignDataLabel;function T(i,t){return/%$/.test(i)?t*parseInt(i,10)/100:parseInt(i,10)}class X extends ${alignDataLabel(t,n,l,M,O){let C=t.series,w=C.options.reversed,p=t.dlBox||t.shapeArgs,{align:E,padding:g=0,verticalAlign:c}=l,D=((C.options||{}).dataLabels||{}).inside,b=C.center[1],H=t.plotY||0,I=n.height??n.getBBox().height,S=C.getWidthAt((w?2*b-H:H)-p.height/2+I),j=c==="middle"?(p.topWidth-p.bottomWidth)/4:(S-p.bottomWidth)/2,Y=p.y,P=p.x;c==="middle"?Y=p.y-p.height/2+I/2:c==="top"&&(Y=p.y-p.height+I+g),(c==="top"&&!w||c==="bottom"&&w||c==="middle")&&(E==="right"?P=p.x-g+j:E==="left"&&(P=p.x+g-j)),M={x:P,y:w?Y-p.height:Y,width:p.bottomWidth,height:p.height},l.verticalAlign="bottom",D&&(l.distance=void 0),D&&t.visible&&We.call(C,t,n,l,M,O),D&&(!t.visible&&t.dataLabel&&(t.dataLabel.placed=!1),t.contrastColor&&n.css({color:t.contrastColor}))}drawDataLabels(){(Me(this.options.dataLabels||{})[0].inside?ge:$).prototype.drawDataLabels.call(this)}getDataLabelPosition(t,n){let l=t.plotY||0,M=t.half?1:-1,O=this.getX(l,!!t.half,t);return{distance:n,natural:{x:0,y:l},computed:{},alignment:t.half?"right":"left",connectorPosition:{breakAt:{x:O+(n-5)*M,y:l},touchingSliceAt:{x:O+n*M,y:l}}}}translate(){let t=this,n=t.chart,l=t.options,M=l.reversed,O=l.ignoreHiddenPoint,C=he(l.borderRadius),w=n.plotWidth,p=n.plotHeight,E=l.center,g=T(E[0],w),c=T(E[1],p),D=T(l.width,w),b=T(l.height,p),H=T(l.neckWidth,w),I=T(l.neckHeight,p),S=c-b/2+b-I,j=t.points,Y=ie(C.radius,D),P=C.scope,Pe=+(l.dataLabels.position==="left"),q=s=>{let f=Math.tan(s/2),L=Math.cos(_),k=Math.sin(_),F=Y,e=F/f,y=Math.tan((Math.PI-s)/3.2104);return e>B&&(F=(e=B)*f),{dx:[e*L,(e-(y*=F))*L,e-y,e],dy:[e*k,(e-y)*k,e-y,e].map(se=>M?-se:se)}},J=0,de=0,N,u,Z,_,B,W,h,m,d,a,r,o;for(let s of(t.getWidthAt=function(f){let L=c-b/2;return f>S||b===I?H:H+(D-H)*(1-(f-L)/(b-I))},t.getX=function(f,L,k){return g+(L?-1:1)*(t.getWidthAt(M?2*c-f:f)/2+(k.dataLabel?.dataLabelPosition?.distance??ie(this.options.dataLabels?.distance||0,D)))},t.center=[g,c,b],t.centerX=g,j))s.y&&s.isValid()&&(!O||s.visible!==!1)&&(J+=s.y);for(let s of j){if(o=null,Z=J?s.y/J:0,a=(h=c-b/2+de*b)+Z*b,m=(W=g-(N=t.getWidthAt(h))/2)+N,r=(d=g-(N=t.getWidthAt(a))/2)+N,ye(h)>=S?(W=d=g-H/2,m=r=g+H/2):a>S&&(o=a,r=(d=g-(N=t.getWidthAt(S))/2)+N,a=S),M&&(h=2*c-h,a=2*c-a,o!==null&&(o=2*c-o)),Y&&(P==="point"||s.index===0||s.index===j.length-1||o!==null)){let f=Math.abs(a-h),L=m-r,k=r-d,F=Math.sqrt(L*L+f*f);_=Math.atan(L!==0?f/L:1/0),B=F/2,o!==null&&(B=Math.min(B,Math.abs(o-a)/2)),k>=1&&(B=Math.min(B,k/2));let e=q(_);if(u=P==="stack"&&s.index!==0?[["M",W,h],["L",m,h]]:[["M",W+e.dx[0],h+e.dy[0]],["C",W+e.dx[1],h+e.dy[1],W+e.dx[2],h,W+e.dx[3],h],["L",m-e.dx[3],h],["C",m-e.dx[2],h,m-e.dx[1],h+e.dy[1],m-e.dx[0],h+e.dy[0]]],o!==null){let y=q(Math.PI/2);e=q(Math.PI/2+_),u.push(["L",r+e.dx[0],a-e.dy[0]],["C",r+e.dx[1],a-e.dy[1],r,a+e.dy[2],r,a+e.dy[3]]),P==="stack"&&s.index!==j.length-1?u.push(["L",r,o],["L",d,o]):u.push(["L",r,o-y.dy[3]],["C",r,o-y.dy[2],r-y.dx[2],o,r-y.dx[3],o],["L",d+y.dx[3],o],["C",d+y.dx[2],o,d,o-y.dy[2],d,o-y.dy[3]]),u.push(["L",d,a+e.dy[3]],["C",d,a+e.dy[2],d-e.dx[1],a-e.dy[1],d-e.dx[0],a-e.dy[0]])}else k>=1?(e=q(Math.PI-_),P==="stack"&&s.index===0?u.push(["L",r,a],["L",d,a]):u.push(["L",r+e.dx[0],a-e.dy[0]],["C",r+e.dx[1],a-e.dy[1],r-e.dx[2],a,r-e.dx[3],a],["L",d+e.dx[3],a],["C",d+e.dx[2],a,d-e.dx[1],a-e.dy[1],d-e.dx[0],a-e.dy[0]])):(e=q(Math.PI-2*_),u.push(["L",d+e.dx[0],a-e.dy[0]],["C",d+e.dx[1],a-e.dy[1],d-e.dx[1],a-e.dy[1],d-e.dx[0],a-e.dy[0]]))}else u=[["M",W,h],["L",m,h],["L",r,a]],o!==null&&u.push(["L",r,o],["L",d,o]),u.push(["L",d,a]);u.push(["Z"]),s.shapeType="path",s.shapeArgs={d:u},s.percentage=100*Z,s.plotX=g,s.plotY=(h+(o||a))/2,s.tooltipPos=[g,s.plotY],s.dlBox={x:d,y:h,topWidth:m-W,bottomWidth:r-d,height:Math.abs(me(o,a)-h),width:NaN},s.slice=te,s.half=Pe,s.isValid()&&(!O||s.visible!==!1)&&(de+=Z)}fe(t,"afterTranslate")}sortByAngle(t){t.sort((n,l)=>n.plotY-l.plotY)}}function Ae(){for(let i of this.series){let t=i.options&&i.options.dataLabels;be(t)&&(t=t[0]),i.is("pie")&&i.placeDataLabels&&t&&!t.inside&&i.placeDataLabels()}}X.defaultOptions=Le($.defaultOptions,{animation:!1,borderRadius:0,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,size:!0,dataLabels:{connectorWidth:1,verticalAlign:"middle"},states:{select:{color:"#cccccc",borderColor:"#000000"}}}),xe(X.prototype,{animate:te}),(X||(X={})).compose=function(i){ve(ce,"FunnelSeries")&&ue(i,"afterHideAllOverlappingLabels",Ae)},U().registerSeriesType("funnel",X);let G=X,{merge:Ce}=A();class ae extends G{}ae.defaultOptions=Ce(G.defaultOptions,{neckHeight:"0%",neckWidth:"0%",reversed:!0}),U().registerSeriesType("pyramid",ae);let we=A();G.compose(we.Chart);let He=A();return ee.default})())});export default Oe();
|